[Initscripts-ng-commits] r825 - in /trunk/src/insserv/debian: changelog patches/00list patches/80_debian_lvl_constants.dpatch

kelmo-guest at users.alioth.debian.org kelmo-guest at users.alioth.debian.org
Tue Jul 29 11:39:50 UTC 2008


Author: kelmo-guest
Date: Tue Jul 29 11:39:50 2008
New Revision: 825

URL: http://svn.debian.org/wsvn/initscripts-ng/?sc=1&rev=825
Log:
Add 80_debian_lvl_constants.dpatch to correct assign bit values to
runlevel constants.

Added:
    trunk/src/insserv/debian/patches/80_debian_lvl_constants.dpatch
Modified:
    trunk/src/insserv/debian/changelog
    trunk/src/insserv/debian/patches/00list

Modified: trunk/src/insserv/debian/changelog
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/changelog?rev=825&op=diff
==============================================================================
--- trunk/src/insserv/debian/changelog (original)
+++ trunk/src/insserv/debian/changelog Tue Jul 29 11:39:50 2008
@@ -60,8 +60,10 @@
   * Add 91_xlstat_initddir_to_detect_illegal_symlink.dpatch to detect
     and avoid illegal symlinks to other script in /etc/init.d/.
     (Closes: #485045)
-
- -- Kel Modderman <kel at otaku42.de>  Tue, 29 Jul 2008 17:43:02 +1000
+  * Add 80_debian_lvl_constants.dpatch to correct assign bit values to
+    runlevel constants.
+
+ -- Kel Modderman <kel at otaku42.de>  Tue, 29 Jul 2008 21:39:19 +1000
 
 insserv (1.11.0-9) unstable; urgency=low
 

Modified: trunk/src/insserv/debian/patches/00list
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/patches/00list?rev=825&op=diff
==============================================================================
--- trunk/src/insserv/debian/patches/00list (original)
+++ trunk/src/insserv/debian/patches/00list Tue Jul 29 11:39:50 2008
@@ -1,5 +1,6 @@
 10_nosuse
 31_debian_conf
+80_debian_lvl_constants
 81_debian_default_start_stop_warnings
 90_fix_bashism_in_makefile
 91_xlstat_initddir_to_detect_illegal_symlink

Added: trunk/src/insserv/debian/patches/80_debian_lvl_constants.dpatch
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/patches/80_debian_lvl_constants.dpatch?rev=825&op=file
==============================================================================
--- trunk/src/insserv/debian/patches/80_debian_lvl_constants.dpatch (added)
+++ trunk/src/insserv/debian/patches/80_debian_lvl_constants.dpatch Tue Jul 29 11:39:50 2008
@@ -1,0 +1,24 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 80_debian_lvl_constants.dpatch by Kel Modderman <kel at otaku42.de>
+##
+## DP: Purpose: Correctly assign bit value to Debian runlevel constants in
+## DP:          consecutive sequence.
+## DP: Status:  Applied upstream.
+
+ at DPATCH@
+--- a/listing.h
++++ b/listing.h
+@@ -378,8 +378,13 @@
+ #define LVL_FOUR	0x0010
+ #define LVL_FIVE	0x0020
+ #define LVL_REBOOT	0x0040
++#ifdef SUSE
+ #define LVL_SINGLE	0x0080
+ #define LVL_BOOT	0x0100
++#else
++#define LVL_SINGLE	0x0000
++#define LVL_BOOT	0x0080
++#endif
+ 
+ /*
+  * LVL_BOOT is already done if one of the LVL_ALL will be entered.




More information about the Initscripts-ng-commits mailing list