[med-svn] [Git][med-team/galileo][master] Switch from dh-sysuser to standard dh_installsysusers (Closes: #1069924)

Dylan Aïssi (@daissi) gitlab at salsa.debian.org
Mon May 20 20:17:36 BST 2024



Dylan Aïssi pushed to branch master at Debian Med / galileo


Commits:
b434c314 by Helmut Grohne at 2024-05-20T21:17:16+02:00
Switch from dh-sysuser to standard dh_installsysusers (Closes: #1069924)

- - - - -


4 changed files:

- debian/changelog
- debian/control
- + debian/galileo-daemon.sysusers
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+galileo (0.5.1-9.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Switch from dh-sysuser to standard dh_installsysusers (Closes: #1069924)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Sat, 27 Apr 2024 09:49:06 +0200
+
 galileo (0.5.1-9.1) unstable; urgency=medium
 
   * Non-maintainer upload.


=====================================
debian/control
=====================================
@@ -3,9 +3,9 @@ Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.
 Uploaders: Dylan Aïssi <daissi at debian.org>
 Section: science
 Priority: optional
-Build-Depends: debhelper-compat (= 13),
+Build-Depends: debhelper (>= 13.3),
+               debhelper-compat (= 13),
                dh-sequence-python3,
-               dh-sysuser,
                python3,
                python3-requests,
                python3-setuptools,


=====================================
debian/galileo-daemon.sysusers
=====================================
@@ -0,0 +1 @@
+u	galileo	-	"system user for galileo-daemon"	/nonexistent	/usr/sbin/nologin


=====================================
debian/rules
=====================================
@@ -5,10 +5,7 @@ export PYBUILD_NAME=galileo
 export PYBUILD_DESTDIR_python3=debian/galileo/
 
 %:
-	dh $@ --with sysuser --buildsystem=pybuild
-
-override_dh_sysuser:
-	dh_sysuser -pgalileo-daemon galileo
+	dh $@ --buildsystem=pybuild
 
 override_dh_installudev:
 	dh_installudev -pgalileo --priority=98
@@ -16,3 +13,5 @@ override_dh_installudev:
 
 override_dh_installinit:
 	dh_installinit --noscripts
+       # Can be dropped in compat >= 14:
+	dh_installsysusers



View it on GitLab: https://salsa.debian.org/med-team/galileo/-/commit/b434c31467b41a7df041962d61468a07291d02f9

-- 
This project does not include diff previews in email notifications.
View it on GitLab: https://salsa.debian.org/med-team/galileo/-/commit/b434c31467b41a7df041962d61468a07291d02f9
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20240520/dcf208f4/attachment-0001.htm>


More information about the debian-med-commit mailing list