From 0bfe8ae43295cb51ec394060396a915e80bbfda5 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 19 Mar 2024 13:45:02 +0800 Subject: networkd-dispatcher: upgrade 2.1 -> 2.2.4 Changelog: ========== - Improve performance when getting interface status - update project URL - Add environment variables to manpage. - Don't start the daemon if there's nothing to do - _interface_scan: fix wrong index into iface map - _interface_scan: force handle_state for new interfaces - Add missing administrative state 'initialized' - use os.path.dirname instead of os.path.basename - make sure scripts are not writeable by non-root users - don't allow unknown operational/admin states (CVE-2022-29799, CVE-2022-29800) - Fix missing word in exception message - fix some new linting issues from pylint - manpage: fix missing slash in "configured.d" directory name - Normalize parsed IP address value - Drop support for Python 3.4 - Add testing for Python 3.10 - README.md: fix code formatting Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../networkd-dispatcher/networkd-dispatcher_2.1.bb | 31 ---------------------- .../networkd-dispatcher_2.2.4.bb | 31 ++++++++++++++++++++++ 2 files changed, 31 insertions(+), 31 deletions(-) delete mode 100644 meta-networking/recipes-daemons/networkd-dispatcher/networkd-dispatcher_2.1.bb create mode 100644 meta-networking/recipes-daemons/networkd-dispatcher/networkd-dispatcher_2.2.4.bb (limited to 'meta-networking') diff --git a/meta-networking/recipes-daemons/networkd-dispatcher/networkd-dispatcher_2.1.bb b/meta-networking/recipes-daemons/networkd-dispatcher/networkd-dispatcher_2.1.bb deleted file mode 100644 index 65bf91c7eb..0000000000 --- a/meta-networking/recipes-daemons/networkd-dispatcher/networkd-dispatcher_2.1.bb +++ /dev/null @@ -1,31 +0,0 @@ -SUMMARY = "Dispatcher service for systemd-networkd connection status changes" -DESCRIPTION = "This daemon is similar to NetworkManager-dispatcher, but is much \ -more limited in the types of events it supports due to the limited nature of \ -systemd-networkd(8)." - -LICENSE = "GPL-3.0-only" -LIC_FILES_CHKSUM = "file://LICENSE;md5=84dcc94da3adb52b53ae4fa38fe49e5d" - -inherit features_check systemd - -RDEPENDS:${PN} = "python3-pygobject python3-dbus" -REQUIRED_DISTRO_FEATURES = "systemd gobject-introspection-data" - -SRCREV = "30e278e50749a60a930ceaa0971207c6436b8a0c" -SRC_URI = "git://gitlab.com/craftyguy/networkd-dispatcher;protocol=https;nobranch=1" - -S = "${WORKDIR}/git" - -SYSTEMD_PACKAGES = "${PN}" -SYSTEMD_SERVICE:${PN} = "networkd-dispatcher.service" -SYSTEMD_AUTO_ENABLE = "disable" - -# Nothing to build, just a python script to install -do_configure[noexec] = "1" -do_compile[noexec] = "1" - -do_install() { - install -D -m 0755 ${S}/networkd-dispatcher ${D}${bindir}/networkd-dispatcher - install -D -m 0644 ${S}/networkd-dispatcher.service ${D}/${systemd_system_unitdir}/networkd-dispatcher.service - install -D -m 0644 ${S}/networkd-dispatcher.conf ${D}/${sysconfdir}/conf.d/networkd-dispatcher.conf -} diff --git a/meta-networking/recipes-daemons/networkd-dispatcher/networkd-dispatcher_2.2.4.bb b/meta-networking/recipes-daemons/networkd-dispatcher/networkd-dispatcher_2.2.4.bb new file mode 100644 index 0000000000..f0f7eb5df6 --- /dev/null +++ b/meta-networking/recipes-daemons/networkd-dispatcher/networkd-dispatcher_2.2.4.bb @@ -0,0 +1,31 @@ +SUMMARY = "Dispatcher service for systemd-networkd connection status changes" +DESCRIPTION = "This daemon is similar to NetworkManager-dispatcher, but is much \ +more limited in the types of events it supports due to the limited nature of \ +systemd-networkd(8)." + +LICENSE = "GPL-3.0-only" +LIC_FILES_CHKSUM = "file://LICENSE;md5=84dcc94da3adb52b53ae4fa38fe49e5d" + +inherit features_check systemd + +RDEPENDS:${PN} = "python3-pygobject python3-dbus" +REQUIRED_DISTRO_FEATURES = "systemd gobject-introspection-data" + +SRCREV = "dfd26d72793914eb3da910ef8c71de6d7c8942a2" +SRC_URI = "git://gitlab.com/craftyguy/networkd-dispatcher;protocol=https;nobranch=1" + +S = "${WORKDIR}/git" + +SYSTEMD_PACKAGES = "${PN}" +SYSTEMD_SERVICE:${PN} = "networkd-dispatcher.service" +SYSTEMD_AUTO_ENABLE = "disable" + +# Nothing to build, just a python script to install +do_configure[noexec] = "1" +do_compile[noexec] = "1" + +do_install() { + install -D -m 0755 ${S}/networkd-dispatcher ${D}${bindir}/networkd-dispatcher + install -D -m 0644 ${S}/networkd-dispatcher.service ${D}/${systemd_system_unitdir}/networkd-dispatcher.service + install -D -m 0644 ${S}/networkd-dispatcher.conf ${D}/${sysconfdir}/conf.d/networkd-dispatcher.conf +} -- cgit v1.2.3-54-g00ecf