[pkg-netfilter-team] Bug#927722: Correct fix for this bug

Thomas Goirand zigo at debian.org
Thu Apr 25 11:49:59 BST 2019


Hi,

Please fine attached to this message the *CORRECT* debdiff to fix it.
I've uploaded it to DELAYED/7 (after dcuting the wrong package...). Let
me know if you think it's still wrong and I should still dcut it...

Cheers,

Thomas Goirand (zigo)
-------------- next part --------------
diff -Nru ipset-6.38/debian/changelog ipset-6.38/debian/changelog
--- ipset-6.38/debian/changelog	2018-09-01 19:28:18.000000000 +0200
+++ ipset-6.38/debian/changelog	2019-04-25 11:37:45.000000000 +0200
@@ -1,3 +1,11 @@
+ipset (6.38-1.1) unstable; urgency=medium
+
+  * Non maintainer upload.
+  * use dpkg-maintscript-helper rm_conffile to clean up old bash-completion 
+    file in /etc (Closes: #927722).
+
+ -- Cyril de Bourgues <cyril.debourgues at infomaniak.com>  Thu, 25 Apr 2019 11:37:45 +0200
+
 ipset (6.38-1) unstable; urgency=medium
 
   * [b80dcfb] New upstream version 6.38 (Closes: #898851)
diff -Nru ipset-6.38/debian/ipset.postinst ipset-6.38/debian/ipset.postinst
--- ipset-6.38/debian/ipset.postinst	2018-09-01 19:28:18.000000000 +0200
+++ ipset-6.38/debian/ipset.postinst	2019-04-25 11:37:45.000000000 +0200
@@ -3,9 +3,7 @@
 set -e
 
 # Cleanup obsoleted bash completion configuration file
-if [ -f /etc/bash_completion.d/ipset ]; then
-  rm -f /etc/bash_completion.d/ipset
-fi
+dpkg-maintscript-helper rm_conffile /etc/bash_completion.d/ipset 6.25.1-1~ ipset -- "$@"
 
 #DEBHELPER#
 
diff -Nru ipset-6.38/debian/ipset.postrm ipset-6.38/debian/ipset.postrm
--- ipset-6.38/debian/ipset.postrm	1970-01-01 01:00:00.000000000 +0100
+++ ipset-6.38/debian/ipset.postrm	2019-04-25 11:37:45.000000000 +0200
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+dpkg-maintscript-helper rm_conffile /etc/bash_completion.d/ipset 6.25.1-1~ ipset -- "$@"
+
+#DEBHELPER#
+
+exit 0
diff -Nru ipset-6.38/debian/ipset.preinst ipset-6.38/debian/ipset.preinst
--- ipset-6.38/debian/ipset.preinst	1970-01-01 01:00:00.000000000 +0100
+++ ipset-6.38/debian/ipset.preinst	2019-04-25 11:37:45.000000000 +0200
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+dpkg-maintscript-helper rm_conffile /etc/bash_completion.d/ipset 6.25.1-1~ ipset -- "$@"
+
+#DEBHELPER#
+
+exit 0


More information about the pkg-netfilter-team mailing list