[Pkg-utopia-commits] r2489 - in /packages/unstable/dhcdbd/debian: changelog dhcdbd.init dhcdbd.postinst rules

biebl at users.alioth.debian.org biebl at users.alioth.debian.org
Fri Oct 24 22:29:18 UTC 2008


Author: biebl
Date: Fri Oct 24 22:29:18 2008
New Revision: 2489

URL: http://svn.debian.org/wsvn/pkg-utopia/?sc=1&rev=2489
Log:
* debian/dhcdbd.init, debian/rules
  - Do not stop dhcdbd in runlevel 0 and 6. (Closes: #422787)
* debian/dhcdbd.postinst
  - Remove old stop symlinks in rc0 and rc6 on upgrades.

Modified:
    packages/unstable/dhcdbd/debian/changelog
    packages/unstable/dhcdbd/debian/dhcdbd.init
    packages/unstable/dhcdbd/debian/dhcdbd.postinst
    packages/unstable/dhcdbd/debian/rules

Modified: packages/unstable/dhcdbd/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/dhcdbd/debian/changelog?rev=2489&op=diff
==============================================================================
--- packages/unstable/dhcdbd/debian/changelog (original)
+++ packages/unstable/dhcdbd/debian/changelog Fri Oct 24 22:29:18 2008
@@ -10,6 +10,10 @@
   * debian/patches/04-domain_search_option.patch
     - Add support for the "domain search" option as defined in RFC 3397.
       Thanks to Bas Zoetekouw for the patch. (Closes: #497930)
+  * debian/dhcdbd.init, debian/rules
+    - Do not stop dhcdbd in runlevel 0 and 6. (Closes: #422787)
+  * debian/dhcdbd.postinst
+    - Remove old stop symlinks in rc0 and rc6 on upgrades.
 
  -- Michael Biebl <biebl at debian.org>  Sat, 25 Oct 2008 00:11:05 +0200
 

Modified: packages/unstable/dhcdbd/debian/dhcdbd.init
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/dhcdbd/debian/dhcdbd.init?rev=2489&op=diff
==============================================================================
--- packages/unstable/dhcdbd/debian/dhcdbd.init (original)
+++ packages/unstable/dhcdbd/debian/dhcdbd.init Fri Oct 24 22:29:18 2008
@@ -6,7 +6,7 @@
 # Should-Start:      $syslog
 # Should-Stop:       $syslog
 # Default-Start:     2 3 4 5
-# Default-Stop:      0 1 6
+# Default-Stop:      1
 # Short-Description: DHCP D-Bus manager
 # Description:       dhcdbd provides a D-DBus interface to dhclient,
 #                    the DHCP client from ISC. 

Modified: packages/unstable/dhcdbd/debian/dhcdbd.postinst
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/dhcdbd/debian/dhcdbd.postinst?rev=2489&op=diff
==============================================================================
--- packages/unstable/dhcdbd/debian/dhcdbd.postinst (original)
+++ packages/unstable/dhcdbd/debian/dhcdbd.postinst Fri Oct 24 22:29:18 2008
@@ -34,6 +34,11 @@
         if dpkg --compare-versions "$2" lt "2.0-4"; then
 	    rm_conffile /etc/dbus-1/event.d/24dhcdbd
 	fi
+
+	# Remove old stop symlinks
+	if dpkg --compare-versions "$2" lt-nl "3.0-5"; then
+	    rm -f /etc/rc[06].d/K??dhcdbd
+	fi
 	
 	if [ -x "/etc/init.d/dbus" ]; then
 	    invoke-rc.d dbus force-reload || true

Modified: packages/unstable/dhcdbd/debian/rules
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/dhcdbd/debian/rules?rev=2489&op=diff
==============================================================================
--- packages/unstable/dhcdbd/debian/rules (original)
+++ packages/unstable/dhcdbd/debian/rules Fri Oct 24 22:29:18 2008
@@ -6,7 +6,7 @@
 
 DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(CURDIR)/debian/dhcdbd/
 DEB_MAKE_INVOKE = $(MAKE)
-DEB_DH_INSTALLINIT_ARGS := -- start 24 2 3 4 5 . stop 16 0 1 6 .
+DEB_DH_INSTALLINIT_ARGS := -- start 24 2 3 4 5 . stop 16 1 .
 
 binary-install/dhcdbd::
 	install -d $(CURDIR)/debian/dhcdbd/etc/dhcp3/dhclient-exit-hooks.d/




More information about the Pkg-utopia-commits mailing list