[Initscripts-ng-commits] r143 - in /trunk/src/insserv/debian: changelog patches/00list patches/33_debian_localok.dpatch

pere at users.alioth.debian.org pere at users.alioth.debian.org
Thu Sep 7 21:53:23 UTC 2006


Author: pere
Date: Thu Sep  7 21:53:23 2006
New Revision: 143

URL: http://svn.debian.org/wsvn/initscripts-ng/?sc=1&rev=143
Log:
   * New upstream release.

Added:
    trunk/src/insserv/debian/patches/33_debian_localok.dpatch   (with props)
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=143&op=diff
==============================================================================
--- trunk/src/insserv/debian/changelog (original)
+++ trunk/src/insserv/debian/changelog Thu Sep  7 21:53:23 2006
@@ -8,6 +8,7 @@
   * New patch 37_consistent_path to make more consistent lot output.
   * Adjust build rules to use the compiler options specified in the rules
     file.
+  * New patch 33_debian_localok, to accept script names like 'rc.local'.
 
  -- Petter Reinholdtsen <pere at debian.org>  Thu,  7 Sep 2006 12:47:39 +0200
 

Modified: trunk/src/insserv/debian/patches/00list
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/patches/00list?rev=143&op=diff
==============================================================================
--- trunk/src/insserv/debian/patches/00list (original)
+++ trunk/src/insserv/debian/patches/00list Thu Sep  7 21:53:23 2006
@@ -3,6 +3,7 @@
 #30_non_suse
 31_debian_conf
 32_debian_nolsb
+33_debian_localok
 #34_debian
 35_fixunused
 36_memleak

Added: trunk/src/insserv/debian/patches/33_debian_localok.dpatch
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/patches/33_debian_localok.dpatch?rev=143&op=file
==============================================================================
--- trunk/src/insserv/debian/patches/33_debian_localok.dpatch (added)
+++ trunk/src/insserv/debian/patches/33_debian_localok.dpatch Thu Sep  7 21:53:23 2006
@@ -1,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 33_debian_localok.dpatch
+## by Petter Reinholdtsen <pere at hungry.com>
+
+Accept script names like 'rc.local', introduced in initscripts version
+2.86.ds1-15.
+
+ at DPATCH@
+--- insserv-1.08.0.orig/insserv.c
++++ insserv-1.08.0/insserv.c
+@@ -1362,8 +1367,7 @@
+     const char* end;
+     if ((end = strrchr(d->d_name, '.'))) {
+ 	end++;
+-	if (!strcmp(end,  "local")	||
+-	    !strncmp(end, "rpm", 3)	|| /* .rpmorig, .rpmnew, .rmpsave, ... */
++	if (!strncmp(end, "rpm", 3)	|| /* .rpmorig, .rpmnew, .rmpsave, ... */
+ 	    !strncmp(end, "ba", 2)	|| /* .bak, .backup, ... */
+ 	    !strcmp(end,  "old")	||
+ 	    !strcmp(end,  "new")	||

Propchange: trunk/src/insserv/debian/patches/33_debian_localok.dpatch
------------------------------------------------------------------------------
    svn:executable = *




More information about the Initscripts-ng-commits mailing list