1SUMMARY = "Dispatcher service for systemd-networkd connection status changes" 2DESCRIPTION = "This daemon is similar to NetworkManager-dispatcher, but is much \ 3more limited in the types of events it supports due to the limited nature of \ 4systemd-networkd(8)." 5AUTHOR = "Clayton Craft and others" 6 7LICENSE = "GPL-3.0-only" 8LIC_FILES_CHKSUM = "file://LICENSE;md5=84dcc94da3adb52b53ae4fa38fe49e5d" 9 10inherit features_check systemd 11 12RDEPENDS:${PN} = "python3-pygobject python3-dbus" 13REQUIRED_DISTRO_FEATURES = "systemd" 14 15SRCREV = "30e278e50749a60a930ceaa0971207c6436b8a0c" 16SRC_URI = "git://gitlab.com/craftyguy/networkd-dispatcher;protocol=https;nobranch=1" 17 18S = "${WORKDIR}/git" 19 20SYSTEMD_PACKAGES = "${PN}" 21SYSTEMD_SERVICE:${PN} = "networkd-dispatcher.service" 22SYSTEMD_AUTO_ENABLE = "disable" 23 24# Nothing to build, just a python script to install 25do_configure[noexec] = "1" 26do_compile[noexec] = "1" 27 28do_install() { 29 install -D -m 0755 ${S}/networkd-dispatcher ${D}${bindir}/networkd-dispatcher 30 install -D -m 0644 ${S}/networkd-dispatcher.service ${D}/${systemd_system_unitdir}/networkd-dispatcher.service 31 install -D -m 0644 ${S}/networkd-dispatcher.conf ${D}/${sysconfdir}/conf.d/networkd-dispatcher.conf 32} 33