Your message dated Mon, 17 Jun 2024 19:49:10 +0000
with message-id <[email protected]>
and subject line Bug#1071526: fixed in djbdns 1:1.05-15.1
has caused the Debian Bug report #1071526,
regarding djbdns: move from dh-sysuser to standard dh_installsysusers
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1071526: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1071526
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: djbdns
Version: 1:1.05-15
Severity: wishlist
Tags: patch

dh-sysusers exists since 7 years and has gained 9 users in that time -
djbdns 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.

Since djbdns currently FTBFS #1066632, I also had to fix that and my
patch also fixes that.

Helmut
diff -Nru djbdns-1.05/debian/axfrdns.sysuser djbdns-1.05/debian/axfrdns.sysuser
--- djbdns-1.05/debian/axfrdns.sysuser  2021-11-15 01:21:04.000000000 +0100
+++ djbdns-1.05/debian/axfrdns.sysuser  1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-axfrdns defaults
diff -Nru djbdns-1.05/debian/axfrdns.sysusers 
djbdns-1.05/debian/axfrdns.sysusers
--- djbdns-1.05/debian/axfrdns.sysusers 1970-01-01 01:00:00.000000000 +0100
+++ djbdns-1.05/debian/axfrdns.sysusers 2024-05-20 12:16:48.000000000 +0200
@@ -0,0 +1 @@
+u axfrdns      -       -       /nonexistent
diff -Nru djbdns-1.05/debian/changelog djbdns-1.05/debian/changelog
--- djbdns-1.05/debian/changelog        2021-11-15 01:21:04.000000000 +0100
+++ djbdns-1.05/debian/changelog        2024-05-20 12:16:48.000000000 +0200
@@ -1,3 +1,11 @@
+djbdns (1:1.05-15.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Move from dh-sysuser to standard dh_installsysusers (Closes: #-1)
+  * Fix FTBFS. (Closes: #1066632)
+
+ -- Helmut Grohne <[email protected]>  Mon, 20 May 2024 12:16:48 +0200
+
 djbdns (1:1.05-15) unstable; urgency=medium
 
   * Fix the setgid directory FTBFS on kFreeBSD: let the test tool
diff -Nru djbdns-1.05/debian/control djbdns-1.05/debian/control
--- djbdns-1.05/debian/control  2021-11-15 01:21:04.000000000 +0100
+++ djbdns-1.05/debian/control  2024-05-20 12:14:59.000000000 +0200
@@ -6,7 +6,7 @@
  po-debconf,
  debhelper-compat (= 13),
  dh-runit (>= 2.8.13),
- dh-sysuser,
+ dh-sequence-installsysusers,
  ionit,
  python3 <!nocheck>,
  timelimit <!nocheck>,
diff -Nru djbdns-1.05/debian/dnscache.sysuser 
djbdns-1.05/debian/dnscache.sysuser
--- djbdns-1.05/debian/dnscache.sysuser 2021-11-15 01:21:04.000000000 +0100
+++ djbdns-1.05/debian/dnscache.sysuser 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-dnscache defaults
diff -Nru djbdns-1.05/debian/dnscache.sysusers 
djbdns-1.05/debian/dnscache.sysusers
--- djbdns-1.05/debian/dnscache.sysusers        1970-01-01 01:00:00.000000000 
+0100
+++ djbdns-1.05/debian/dnscache.sysusers        2024-05-20 12:16:48.000000000 
+0200
@@ -0,0 +1 @@
+u dnscache     -       -       /nonexistent
diff -Nru djbdns-1.05/debian/patches/ftbfs-implicit-declaration.patch 
djbdns-1.05/debian/patches/ftbfs-implicit-declaration.patch
--- djbdns-1.05/debian/patches/ftbfs-implicit-declaration.patch 1970-01-01 
01:00:00.000000000 +0100
+++ djbdns-1.05/debian/patches/ftbfs-implicit-declaration.patch 2024-05-20 
12:16:48.000000000 +0200
@@ -0,0 +1,82 @@
+Bug-Debian: https://bugs.debian.org/1066632
+--- djbdns-1.05.orig/seek_set.c
++++ djbdns-1.05/seek_set.c
+@@ -1,4 +1,5 @@
+ #include <sys/types.h>
++#include <unistd.h>
+ #include "seek.h"
+ 
+ #define SET 0 /* sigh */
+--- djbdns-1.05.orig/chkshsgr.c
++++ djbdns-1.05/chkshsgr.c
+@@ -1,3 +1,5 @@
++#include <grp.h>
++#include <unistd.h>
+ #include "exit.h"
+ 
+ int main()
+--- djbdns-1.05.orig/hier.c
++++ djbdns-1.05/hier.c
+@@ -1,5 +1,9 @@
+ #include "auto_home.h"
+ 
++void h(const char *home, int uid, int gid, int mode);
++void d(char *home, char *subdir, int uid, int gid, int mode);
++void c(const char *home, const char *subdir, char *file, int uid, int gid, 
int mode);
++
+ void hier()
+ {
+ /*
+--- djbdns-1.05.orig/install.c
++++ djbdns-1.05/install.c
+@@ -14,7 +14,7 @@
+ int fdsourcedir = -1;
+ 
+ void h(home,uid,gid,mode)
+-char *home;
++const char *home;
+ int uid;
+ int gid;
+ int mode;
+@@ -52,8 +52,8 @@
+ buffer ssout;
+ 
+ void c(home,subdir,file,uid,gid,mode)
+-char *home;
+-char *subdir;
++const char *home;
++const char *subdir;
+ char *file;
+ int uid;
+ int gid;
+--- djbdns-1.05.orig/utime.c
++++ djbdns-1.05/utime.c
+@@ -1,5 +1,6 @@
+ #include <sys/types.h>
+ #include <sys/time.h>
++#include <utime.h>
+ #include "scan.h"
+ #include "exit.h"
+ 
+--- djbdns-1.05.orig/dnsq.c
++++ djbdns-1.05/dnsq.c
+@@ -1,3 +1,4 @@
++#include <unistd.h>
+ #include "uint16.h"
+ #include "strerr.h"
+ #include "buffer.h"
+--- djbdns-1.05.orig/dnsqr.c
++++ djbdns-1.05/dnsqr.c
+@@ -1,3 +1,4 @@
++#include <unistd.h>
+ #include "uint16.h"
+ #include "strerr.h"
+ #include "buffer.h"
+--- djbdns-1.05.orig/prot.c
++++ djbdns-1.05/prot.c
+@@ -1,3 +1,5 @@
++#include <grp.h>
++#include <unistd.h>
+ #include "hasshsgr.h"
+ #include "prot.h"
+ 
diff -Nru djbdns-1.05/debian/patches/series djbdns-1.05/debian/patches/series
--- djbdns-1.05/debian/patches/series   2021-11-15 01:21:04.000000000 +0100
+++ djbdns-1.05/debian/patches/series   2024-05-20 12:16:48.000000000 +0200
@@ -9,3 +9,4 @@
 0009-usr-sbin.patch
 0010-dnsroots.global.patch
 0011-datalimit.patch
+ftbfs-implicit-declaration.patch
diff -Nru djbdns-1.05/debian/rbldns.sysuser djbdns-1.05/debian/rbldns.sysuser
--- djbdns-1.05/debian/rbldns.sysuser   2021-11-15 01:21:04.000000000 +0100
+++ djbdns-1.05/debian/rbldns.sysuser   1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-rbldns defaults
diff -Nru djbdns-1.05/debian/rbldns.sysusers djbdns-1.05/debian/rbldns.sysusers
--- djbdns-1.05/debian/rbldns.sysusers  1970-01-01 01:00:00.000000000 +0100
+++ djbdns-1.05/debian/rbldns.sysusers  2024-05-20 12:16:48.000000000 +0200
@@ -0,0 +1 @@
+u rbldns       -       -       /nonexistent
diff -Nru djbdns-1.05/debian/rules djbdns-1.05/debian/rules
--- djbdns-1.05/debian/rules    2021-11-15 01:21:04.000000000 +0100
+++ djbdns-1.05/debian/rules    2024-05-20 12:15:33.000000000 +0200
@@ -3,7 +3,7 @@
 export DEB_CPPFLAGS_MAINT_APPEND = -include /usr/include/errno.h
 
 %:
-       dh $@ --with runit,sysuser
+       dh $@ --with runit
 
 # On pickdns
 # ~~~~~~~~~~
diff -Nru djbdns-1.05/debian/tinydns.sysuser djbdns-1.05/debian/tinydns.sysuser
--- djbdns-1.05/debian/tinydns.sysuser  2021-11-15 01:21:04.000000000 +0100
+++ djbdns-1.05/debian/tinydns.sysuser  1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-tinydns defaults
diff -Nru djbdns-1.05/debian/tinydns.sysusers 
djbdns-1.05/debian/tinydns.sysusers
--- djbdns-1.05/debian/tinydns.sysusers 1970-01-01 01:00:00.000000000 +0100
+++ djbdns-1.05/debian/tinydns.sysusers 2024-05-20 12:16:48.000000000 +0200
@@ -0,0 +1 @@
+u tinydns      -       -       /nonexistent
diff -Nru djbdns-1.05/debian/walldns.sysuser djbdns-1.05/debian/walldns.sysuser
--- djbdns-1.05/debian/walldns.sysuser  2021-11-15 01:21:04.000000000 +0100
+++ djbdns-1.05/debian/walldns.sysuser  1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-walldns defaults
diff -Nru djbdns-1.05/debian/walldns.sysusers 
djbdns-1.05/debian/walldns.sysusers
--- djbdns-1.05/debian/walldns.sysusers 1970-01-01 01:00:00.000000000 +0100
+++ djbdns-1.05/debian/walldns.sysusers 2024-05-20 12:16:48.000000000 +0200
@@ -0,0 +1 @@
+u walldns      -       -       /nonexistent

--- End Message ---
--- Begin Message ---
Source: djbdns
Source-Version: 1:1.05-15.1
Done: Chris Hofstaedtler <[email protected]>

We believe that the bug you reported is fixed in the latest version of
djbdns, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chris Hofstaedtler <[email protected]> (supplier of updated djbdns package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 12 Jun 2024 21:17:37 +0200
Source: djbdns
Architecture: source
Version: 1:1.05-15.1
Distribution: unstable
Urgency: medium
Maintainer: Peter Pentchev <[email protected]>
Changed-By: Chris Hofstaedtler <[email protected]>
Closes: 1066632 1071526
Changes:
 djbdns (1:1.05-15.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
 .
   [ Helmut Grohne ]
   * Move from dh-sysuser to standard dh_installsysusers (Closes: #1071526)
   * Fix FTBFS. (Closes: #1066632)
Checksums-Sha1:
 8a7ab3921a6b8fe1f74fa20418d0eece7f919fb9 2303 djbdns_1.05-15.1.dsc
 fc6b09e19eb0a02aaddff028a434b6432aeca18e 62552 djbdns_1.05-15.1.debian.tar.xz
 8d012a514c28465e8f7e09a4e830bd9b586e6059 9969 djbdns_1.05-15.1_arm64.buildinfo
Checksums-Sha256:
 77217c2fbf2c77921901a8229382381c517c8847bb7f8d427e02e527d2d26001 2303 
djbdns_1.05-15.1.dsc
 a133fb0bcfc1ac0eeefd93b589609d89c6d431e261e48488246f1df9aeb5b297 62552 
djbdns_1.05-15.1.debian.tar.xz
 3d99ba614d732e5f28c1e76bc33a4b8dda63294fb7b2dc9ea85071bc998bc304 9969 
djbdns_1.05-15.1_arm64.buildinfo
Files:
 e86f18aa06bf405a57ef9ddaf7f8aa83 2303 net optional djbdns_1.05-15.1.dsc
 728ebc21f254dbda31060cf5789ded60 62552 net optional 
djbdns_1.05-15.1.debian.tar.xz
 d37695ad21e2c7ac8e4ea476e6bcd5ac 9969 net optional 
djbdns_1.05-15.1_arm64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEfRrP+tnggGycTNOSXBPW25MFLgMFAmZp9PEACgkQXBPW25MF
LgP5VBAAjiIvSAAsAS5yhjoCUY5DACCJSk9bi8w2IVteQU1qDEnIP9ER+YTvO0of
idCG8O7puq6ymn/xwar3T9s/Rl2y0kVQhkEzhcXj8M+9zoxvqCOUMytkSTcu+c2F
RLv1FdBHYfzF7HGz8sfYqkiv8+OKgZK9efL3SPJapbq1ndHgfD4yxtZbWnZQs3Fk
mdCihmoQh1J17EKjR8zUr7sjEwXlaQdsAM3M2ZSpJDtvSHJ9yRnKnBQyLvxiKK0f
mEfWG637T5/XFts2UypU5v6N4B7ZDoPRG5PtlyQOWUQ8ZSNxJFlrQy1/MnkmZsdj
X5A6d8JnvDTdCc6axCJ/ONJ7WcQOamN6env1HMTpOdRdfLj1rAknqMDFBDPvi9jx
effXHy6ZhOHaIAtEA/A5HSj3dowDoj7T7si+L3VkvzpAQHZF0U5qx9GMQQa5icrk
gyP/tk12M5W/pQBbYfIhf378lUhwUoAWPoiucX+G22WxvUXblmVJFxJFkx8Q8p9K
yDI1Jn+khN3dH/YUo9k0aMGZTJUyFsNSeSVmzBNYcc0btAln2XGCVSkYDsYJaXpD
nTBqzs7gWpZor1lGUUOaGNpT5qwwEA/uN44IUSip6SsMWUzvWNRAJwciYKzxS/8k
Oe0LiV4Z8cs5PWeLci2Sf9XnboW+P9bqSaOvNGXaRJBrAgPLKCw=
=APB0
-----END PGP SIGNATURE-----

Attachment: pgphVSwva0CUR.pgp
Description: PGP signature


--- End Message ---

Reply via email to