From: Jonathan McDowell Date: Sat, 26 Nov 2022 17:48:45 +0000 (+0000) Subject: Bump debhelper compat level to 13 X-Git-Tag: onak-0.6.2~3 X-Git-Url: https://the.earth.li/gitweb/?p=onak.git;a=commitdiff_plain;h=76f079e5ebdb34acaaa2462a8d915ee06d3c8425;hp=79d3367860d989851c6842fce70601420439ab5c 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. --- 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