Dear maintainer,

I've uploaded an NMU for popa3d (versioned as 1.0.3-1.1).
The diffis attached to this message.

cu
Adrian
diff -Nru popa3d-1.0.3/debian/changelog popa3d-1.0.3/debian/changelog
--- popa3d-1.0.3/debian/changelog	2015-12-11 18:00:15.000000000 +0200
+++ popa3d-1.0.3/debian/changelog	2023-02-08 10:12:40.000000000 +0200
@@ -1,3 +1,11 @@
+popa3d (1.0.3-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Apply patch from Andreas Henriksson to use the policy-mandated
+    helpers in the postinst. (Closes: #1020707)
+
+ -- Adrian Bunk <b...@debian.org>  Wed, 08 Feb 2023 10:12:40 +0200
+
 popa3d (1.0.3-1) unstable; urgency=medium
 
   * Update debian/control to Standards-Version: 3.9.6
diff -Nru popa3d-1.0.3/debian/postinst popa3d-1.0.3/debian/postinst
--- popa3d-1.0.3/debian/postinst	2015-12-11 17:40:50.000000000 +0200
+++ popa3d-1.0.3/debian/postinst	2023-02-08 10:12:33.000000000 +0200
@@ -17,7 +17,9 @@
 	update-inetd --pattern "popa3d" --remove pop3
     else
 	RUN_STANDALONE="no"
-	pidof popa3d && /etc/init.d/popa3d stop
+	if invoke-rc.d --quiet popa3d status > /dev/null 2>&1 ; then
+		invoke-rc.d popa3d stop
+	fi
         # Add service to /etc/inetd.conf
         update-inetd --group MAIL --add 'pop3\t\tstream\ttcp\tnowait\troot\t/usr/sbin/tcpd\t/usr/sbin/popa3d'
     fi

Reply via email to