Source: pound Version: 4.15-1 Severity: wishlist Tags: patch Hi,
we'd like to remove dh-sysuser from Debian. There are numerous problems with it. A much more widely accepted alternative - sysusers.d - is available even on non-Linux architectures. Where dh-sysusers is limited to Debian and procedural, sysusers.d works on multiple distributions and is declarative. At this time, there are only two users of dh-sysusers left. One of them is pound. I am proposing to move to sysusers.d and attaching a patch for your convenience. Note that dh-sequence-installsysusers is provided by debhelper, so you do not add a different dependency here but merely enable the standard addon. Helmut
diff --minimal -Nru pound-4.15/debian/changelog pound-4.15/debian/changelog --- pound-4.15/debian/changelog 2024-11-17 16:59:18.000000000 +0100 +++ pound-4.15/debian/changelog 2025-01-13 08:13:34.000000000 +0100 @@ -1,3 +1,10 @@ +pound (4.15-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Stop using dh-sysuser. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Mon, 13 Jan 2025 08:13:34 +0100 + pound (4.15-1) unstable; urgency=medium * New upstream release diff --minimal -Nru pound-4.15/debian/control pound-4.15/debian/control --- pound-4.15/debian/control 2024-11-17 16:59:18.000000000 +0100 +++ pound-4.15/debian/control 2025-01-13 08:13:34.000000000 +0100 @@ -3,7 +3,7 @@ Priority: optional Maintainer: Carsten Leonhardt <l...@debian.org> Build-Depends: debhelper-compat (= 13), - dh-sysuser, + dh-sequence-installsysusers, libadns1-dev, libio-fdpass-perl, libio-socket-ssl-perl, diff --minimal -Nru pound-4.15/debian/rules pound-4.15/debian/rules --- pound-4.15/debian/rules 2024-11-17 16:59:18.000000000 +0100 +++ pound-4.15/debian/rules 2025-01-13 08:13:34.000000000 +0100 @@ -13,7 +13,7 @@ LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) %: - dh "$@" --with sysuser + dh "$@" override_dh_auto_configure: # test -d build-aux || mkdir build-aux diff --minimal -Nru pound-4.15/debian/sysuser pound-4.15/debian/sysuser --- pound-4.15/debian/sysuser 2024-11-17 16:59:18.000000000 +0100 +++ pound-4.15/debian/sysuser 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -_pound defaults diff --minimal -Nru pound-4.15/debian/sysusers pound-4.15/debian/sysusers --- pound-4.15/debian/sysusers 1970-01-01 01:00:00.000000000 +0100 +++ pound-4.15/debian/sysusers 2025-01-13 08:13:12.000000000 +0100 @@ -0,0 +1 @@ +u _pound - - /nonexistent /usr/sbin/nologin