This is the patch I used in my NMU.

diff -u psad-2.1.1/debian/changelog psad-2.1.1/debian/changelog
--- psad-2.1.1/debian/changelog
+++ psad-2.1.1/debian/changelog
@@ -1,3 +1,11 @@
+psad (2.1.1-1.1) unstable; urgency=low
+
+  * Non-maintainer upload to solve release goal.
+  * Add LSB dependency header to init.d scripts (Closes: #465412).
+  * Fix bashism in postinst script (Closes: #472237).
+
+ -- Petter Reinholdtsen <[EMAIL PROTECTED]>  Sat, 29 Mar 2008 21:05:52 +0100
+
 psad (2.1.1-1) unstable; urgency=low

   * New upstream release
diff -u psad-2.1.1/debian/postinst psad-2.1.1/debian/postinst
--- psad-2.1.1/debian/postinst
+++ psad-2.1.1/debian/postinst
@@ -31,7 +31,7 @@
     configure)
     # make the fifofile for psad
     if [ ! -p ${RUNDIR}/psadfifo ]; then
-    mknod -m 600 ${RUNDIR}/psadfifo p &> /dev/null || exit 8
+    mknod -m 600 ${RUNDIR}/psadfifo p > /dev/null 2>&1 || exit 8
     fi

 # check if there is an entry in /etc/psad/psad.conf for syslog already
diff -u psad-2.1.1/debian/psad.init psad-2.1.1/debian/psad.init
--- psad-2.1.1/debian/psad.init
+++ psad-2.1.1/debian/psad.init
@@ -1,8 +1,15 @@
 #! /bin/sh
+### BEGIN INIT INFO
+# Provides:          psad
+# Required-Start:    $remote_fs $syslog
+# Required-Stop:     $remote_fs $syslog
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: The Port Scan Attack Detector (psad)
+### END INIT INFO
 #
 # Startup script for psad
 #
-# description: The Port Scan Attack Detector (psad)
 # processname: psad
 # pidfile: /var/run/psad/psad.pid
 # config: /etc/psad/psad.conf



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to