From 12b2e28543ac17d6d46f803ef65a4f29c485141c Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 24 May 2021 12:37:38 +0200 Subject: [PATCH] debian: update comapt level to 12 and drop dh-systemd B-D Signed-off-by: Thomas Lamprecht --- debian/compat | 1 + debian/control | 5 ++-- ...-rules-drop-now-default-with-systemd.patch | 23 +++++++++++++++++++ debian/patches/series | 1 + 4 files changed, 27 insertions(+), 3 deletions(-) create mode 100644 debian/compat create mode 100644 debian/patches/pve/0011-d-rules-drop-now-default-with-systemd.patch diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..48082f7 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +12 diff --git a/debian/control b/debian/control index 5a95659..d42be15 100644 --- a/debian/control +++ b/debian/control @@ -2,14 +2,13 @@ Source: ifupdown2 Section: admin Priority: optional Maintainer: Proxmox Support Team -Build-Depends: debhelper (>=9), - dh-systemd, +Build-Depends: debhelper (>=12), dh-python, python3, python3-all, python3-setuptools, python3-docutils -Standards-Version: 3.9.8 +Standards-Version: 4.5.1 Homepage: https://github.com/cumulusnetworks/ifupdown2 X-Python-Version: >= 3.7 diff --git a/debian/patches/pve/0011-d-rules-drop-now-default-with-systemd.patch b/debian/patches/pve/0011-d-rules-drop-now-default-with-systemd.patch new file mode 100644 index 0000000..3b5c762 --- /dev/null +++ b/debian/patches/pve/0011-d-rules-drop-now-default-with-systemd.patch @@ -0,0 +1,23 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Thomas Lamprecht +Date: Mon, 24 May 2021 12:32:46 +0200 +Subject: [PATCH] d/rules: drop now default "with=systemd" + +Signed-off-by: Thomas Lamprecht +--- + debian/rules | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/debian/rules b/debian/rules +index ea6f434..dfd25f7 100755 +--- a/debian/rules ++++ b/debian/rules +@@ -5,7 +5,7 @@ export PYBUILD_NAME=ifupdown2 + export PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/ --install-scripts=/usr/share/ + + %: +- dh $@ --with=python3 --with systemd --buildsystem=pybuild ++ dh $@ --with=python3 --buildsystem=pybuild + + override_dh_installman: + ./ifupdown2/man/genmanpages.sh ./ifupdown2/man ./man diff --git a/debian/patches/series b/debian/patches/series index 1bea610..a5f0509 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -8,3 +8,4 @@ pve/0007-networking.service-fix-dependencies-and-ordering.patch pve/0008-openvswitch-ovs-ports-condone-regex-exclude-tap-veth.patch pve/0009-allow-vlan-tag-inside-vxlan-tunnel.patch pve/0010-postinst-rm-update-network-config-compatibility.patch +pve/0011-d-rules-drop-now-default-with-systemd.patch -- 2.39.5