From 76f079e5ebdb34acaaa2462a8d915ee06d3c8425 Mon Sep 17 00:00:00 2001 From: Jonathan McDowell Date: Sat, 26 Nov 2022 17:48:45 +0000 Subject: [PATCH] Bump debhelper compat level to 13 This gives us the appropriate RUNSTATEDIR setting of /run, and is still compatible with backports to Bullseye. Also use the new debhelper-compat build-dep rather than debian/compat. --- debian/compat | 1 - debian/control | 2 +- debian/rules | 6 +++--- 3 files changed, 4 insertions(+), 5 deletions(-) delete mode 100644 debian/compat diff --git a/debian/compat b/debian/compat deleted file mode 100644 index f599e28..0000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -10 diff --git a/debian/control b/debian/control index b2c67a7..9491a64 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: net Priority: optional Maintainer: Jonathan McDowell Build-Depends: cmake, - debhelper (>= 10), + debhelper-compat (= 13), libcurl4-gnutls-dev | libcurl-dev, libdb-dev, libsystemd-dev (>= 214) [linux-any] | libsystemd-daemon-dev [linux-any], diff --git a/debian/rules b/debian/rules index 4cfee2b..44eedb4 100755 --- a/debian/rules +++ b/debian/rules @@ -9,6 +9,6 @@ CFLAGS += -std=gnu99 override_dh_installinit: dh_installinit --no-start -override_dh_systemd_enable: - dh_systemd_enable --no-enable debian/onak.service - dh_systemd_enable --no-enable debian/onak.socket +override_dh_installsystemd: + dh_installsystemd --no-enable --no-start onak.service + dh_installsystemd --no-enable --no-start onak.socket -- 2.39.2