Package: radvd
Version: 1:1.3-1.1
Severity: wishlist

Here is the patch I used for my NMU.  I decided to not change the stop
runlevels to reduce the amount of changes needed.  It should probably
be done at a later time.

diff -u radvd-1.3/debian/changelog radvd-1.3/debian/changelog
--- radvd-1.3/debian/changelog
+++ radvd-1.3/debian/changelog
@@ -1,3 +1,16 @@
+radvd (1:1.3-1.1) unstable; urgency=low
+
+  * Non-maintainer upload to fix release goal.
+  * Source build fine in pbuilder now (Closes: #518878)
+  * Correct runlevels and dependencies in init.d script, and add
+    postinst code to recover systems bit by this bug (Closes: #541874).
+  * Fix typo in init.d script (Closes: #519560).
+  * Update to use debhelper 7.
+  * Remove the privsep.c symlink in the clean target to make sure
+    the source is rebuildable.
+
+ -- Petter Reinholdtsen <[email protected]>  Mon, 28 Sep 2009 20:54:12 +0200
+
 radvd (1:1.3-1) unstable; urgency=low
 
   * New upstream release
diff -u radvd-1.3/debian/radvd.postinst radvd-1.3/debian/radvd.postinst
--- radvd-1.3/debian/radvd.postinst
+++ radvd-1.3/debian/radvd.postinst
@@ -15,2 +15,8 @@
 
+# Recover from incorrect init.d script headers in version 1:1.3-1 and earlier
+if [ "$1" = "configure" ] && dpkg --compare-versions "$2" le "1:1.3-1" \
+   && [ -f /etc/rcS.d/S[0-9][0-9]radvd ] ; then
+  update-rc.d -f radvd remove
+fi
+
 #DEBHELPER#
diff -u radvd-1.3/debian/rules radvd-1.3/debian/rules
--- radvd-1.3/debian/rules
+++ radvd-1.3/debian/rules
@@ -14,6 +14,7 @@
 
 clean::
        rm -f gram.c gram.h scanner.c
+       rm -f privsep.c
 
 common-install-prehook-arch::
        install -m 644 debian/simple-radvd.conf 
`pwd`/debian/radvd/usr/share/doc/radvd/examples/
diff -u radvd-1.3/debian/control radvd-1.3/debian/control
--- radvd-1.3/debian/control
+++ radvd-1.3/debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Ghe Rivero <[email protected]>
 Standards-Version: 3.8.2
-Build-Depends: autotools-dev, debhelper (>= 4.1.0), cdbs, flex, bison
+Build-Depends: autotools-dev, debhelper (>= 7), cdbs, flex, bison
 
 Package: radvd
 Architecture: any
diff -u radvd-1.3/debian/radvd.init radvd-1.3/debian/radvd.init
--- radvd-1.3/debian/radvd.init
+++ radvd-1.3/debian/radvd.init
@@ -2,9 +2,9 @@
 
 ### BEGIN INIT INFO
 # Provides:          radvd
-# Required-Start:    $syslog $local_fs $network
-# Required-Stop:     $syslog $local_fs $network
-# Default-Start:     S 2 3 4 5
+# Required-Start:    $syslog $remote_fs $network
+# Required-Stop:     $syslog $remote_fs $network
+# Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Short-Description: Router Advertising Daemon
 ### END INIT INFO
@@ -88,7 +88,7 @@
        #       $PIDFILE --exec $DAEMON -- $OPTIONS
        #echo "$NAME."
        invoke-rc.d $NAME stop
-       nvoke-rc.d $NAME start
+       invoke-rc.d $NAME start
        ;;
   *)
        N=/etc/init.d/$NAME
diff -u radvd-1.3/debian/compat radvd-1.3/debian/compat
--- radvd-1.3/debian/compat
+++ radvd-1.3/debian/compat
@@ -1 +1 @@
-4
+7



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

Reply via email to