Source: laminar
Version: 1.1-1
Severity: wishlist
Tags: patch

dh-sysusers exists since 7 years and has gained 8 users in that time -
laminar being one of them. Still it has a number of deficiencies such as
using useradd instead of the policy-recommended adduser or removing
users during package removal against project consensus and is not making
progress on addressing them. Meanwhile, a viable alternative with larger
adoption exists: sysusers.d. This mechanism is built into debhelper and
it no longer requires using systemd as multiple implementations now
exist. I therefore think it is time to call dh-sysusers a failed
experiment and move on. Do you agree with this reasoning? I'm attaching
a patch for your convenience.                                                   
                                                                                
                               

Helmut
diff -Nru laminar-1.1/debian/changelog laminar-1.1/debian/changelog
--- laminar-1.1/debian/changelog        2021-09-30 13:13:31.000000000 +0200
+++ laminar-1.1/debian/changelog        2024-05-20 12:13:19.000000000 +0200
@@ -1,3 +1,10 @@
+laminar (1.1-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Move from dh-sysuser to standard dh_installsysusers (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Mon, 20 May 2024 12:13:19 +0200
+
 laminar (1.1-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru laminar-1.1/debian/control laminar-1.1/debian/control
--- laminar-1.1/debian/control  2021-09-30 13:13:31.000000000 +0200
+++ laminar-1.1/debian/control  2024-05-20 12:08:05.000000000 +0200
@@ -5,13 +5,13 @@
 Build-Depends:
  capnproto (>= 0.7.0~),
  debhelper-compat (= 13),
+ dh-sequence-installsysusers,
  libboost-dev,
  zlib1g-dev,
  libcapnp-dev (>= 0.7.0~),
  rapidjson-dev,
  bash-completion,
  cmake,
- dh-sysuser,
  libjs-vue,
  libjs-chart.js,
  libjs-ansi-up,
diff -Nru laminar-1.1/debian/laminard.sysuser 
laminar-1.1/debian/laminard.sysuser
--- laminar-1.1/debian/laminard.sysuser 2021-09-30 13:13:31.000000000 +0200
+++ laminar-1.1/debian/laminard.sysuser 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-laminar defaults
diff -Nru laminar-1.1/debian/laminard.sysusers 
laminar-1.1/debian/laminard.sysusers
--- laminar-1.1/debian/laminard.sysusers        1970-01-01 01:00:00.000000000 
+0100
+++ laminar-1.1/debian/laminard.sysusers        2024-05-20 12:13:07.000000000 
+0200
@@ -0,0 +1 @@
+u laminar      -       -       /var/lib/laminar
diff -Nru laminar-1.1/debian/rules laminar-1.1/debian/rules
--- laminar-1.1/debian/rules    2021-09-30 13:13:31.000000000 +0200
+++ laminar-1.1/debian/rules    2024-05-20 12:07:46.000000000 +0200
@@ -10,4 +10,4 @@
        dh_auto_configure -- -DLAMINAR_VERSION=$(DEB_VERSION_UPSTREAM)
 
 %:
-       dh $@ --with sysuser,bash-completion --remove-d
+       dh $@ --with bash-completion --remove-d

Reply via email to