Hello!

The attached diff was just uploaded as an NMU to delayed/5
given the lack of response on this bug report.

HTH

Regards,
Andreas Henriksson
diff -Nru pidentd-3.0.19.ds1/debian/changelog pidentd-3.0.19.ds1/debian/changelog
--- pidentd-3.0.19.ds1/debian/changelog	2011-12-08 03:03:44.000000000 +0100
+++ pidentd-3.0.19.ds1/debian/changelog	2016-06-08 22:51:36.000000000 +0200
@@ -1,3 +1,19 @@
+pidentd (3.0.19.ds1-7.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add debian/pidentd.tmpfile and debian/pidentd.links (Closes: #796689)
+    - create runtimedirectory using tmpfiles.d instead of via init-script.
+  * Source LSB init-functions in pidentd init script
+    - this allows systemd LSB hook to redirect direct init script
+      invocations to use systemctl instead. Caught by lintian.
+  * Drop explicit bzip2 compression in debian/rules and use default
+    - these days default (xz for source format > 1.0) is better
+      and this avoids lintian error about bzip2 being deprecated.
+  * Include dpkg buildflags.mk to export hardening flags
+    - fixes missing hardening options in built binaries as caught by lintian.
+
+ -- Andreas Henriksson <andr...@fatal.se>  Wed, 08 Jun 2016 22:39:15 +0200
+
 pidentd (3.0.19.ds1-7) unstable; urgency=low
 
   * Fix update-rc.d error
diff -Nru pidentd-3.0.19.ds1/debian/pidentd.init pidentd-3.0.19.ds1/debian/pidentd.init
--- pidentd-3.0.19.ds1/debian/pidentd.init	2011-12-02 23:05:10.000000000 +0100
+++ pidentd-3.0.19.ds1/debian/pidentd.init	2016-06-08 22:42:57.000000000 +0200
@@ -11,6 +11,8 @@
 
 [ -x /usr/sbin/identd ] || exit 0
 
+. /lib/lsb/init-functions
+
 case "$1" in
 	start|restart|reload|force-reload)
 		mkdir -p /var/run/identd
diff -Nru pidentd-3.0.19.ds1/debian/pidentd.links pidentd-3.0.19.ds1/debian/pidentd.links
--- pidentd-3.0.19.ds1/debian/pidentd.links	1970-01-01 01:00:00.000000000 +0100
+++ pidentd-3.0.19.ds1/debian/pidentd.links	2016-06-08 22:39:12.000000000 +0200
@@ -0,0 +1 @@
+/dev/null /lib/systemd/system/pidentd.service
diff -Nru pidentd-3.0.19.ds1/debian/pidentd.tmpfile pidentd-3.0.19.ds1/debian/pidentd.tmpfile
--- pidentd-3.0.19.ds1/debian/pidentd.tmpfile	1970-01-01 01:00:00.000000000 +0100
+++ pidentd-3.0.19.ds1/debian/pidentd.tmpfile	2016-06-08 22:39:12.000000000 +0200
@@ -0,0 +1 @@
+d /var/run/identd 0755 identd nogroup - -
diff -Nru pidentd-3.0.19.ds1/debian/rules pidentd-3.0.19.ds1/debian/rules
--- pidentd-3.0.19.ds1/debian/rules	2011-12-08 03:01:29.000000000 +0100
+++ pidentd-3.0.19.ds1/debian/rules	2016-06-08 22:50:52.000000000 +0200
@@ -10,6 +10,10 @@
 # This has to be exported to make some magic below work.
 export DH_OPTIONS
 
+# export hardening flags
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+
 package := pidentd
 
 configure: configure-stamp
@@ -103,7 +107,7 @@
 	dh_shlibdeps
 	dh_gencontrol
 	dh_md5sums
-	dh_builddeb -- -Zbzip2 -z9
+	dh_builddeb
 
 # Build architecture-independent files here.
 binary-indep: install

Reply via email to