[debhelper-devel] [debhelper] 01/02: dh_installinit: Revert changes that added versioned dependency on sysv-rc to support upstart, which later grew to a versioned dependency on sysv-rc | file-rc, and which seems to want to continue growing to list other init systems, which there currently seem to be far too many of, for far too little benefit. The sysv-rc dependency is already met in stable. The file-rc dependency is not, so if someone cares about that, they need to find a properly designed solution, which this was not. Closes: #729248

Joey Hess joey at kitenet.net
Wed Nov 20 23:16:47 UTC 2013


This is an automated email from the git hooks/post-receive script.

joeyh pushed a commit to branch master
in repository debhelper.

commit badb3b4a560d8f0c7013ccac995386618b131fbe
Author: Joey Hess <joey at kitenet.net>
Date:   Sun Nov 10 15:23:27 2013 -0400

    dh_installinit: Revert changes that added versioned dependency on sysv-rc to support upstart, which later grew to a versioned dependency on sysv-rc | file-rc, and which seems to want to continue growing to list other init systems, which there currently seem to be far too many of, for far too little benefit. The sysv-rc dependency is already met in stable. The file-rc dependency is not, so if someone cares about that, they need to find a properly designed solution, which this was not.  [...]
---
 debian/changelog |   14 ++++++++++++++
 dh_installinit   |    6 ------
 2 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index c5ff76d..c0ac774 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,17 @@
+debhelper (9.20131106) UNRELEASED; urgency=low
+
+  * dh_installinit: Revert changes that added versioned dependency on
+    sysv-rc to support upstart, which later grew to a versioned dependency
+    on sysv-rc | file-rc, and which seems to want to continue growing
+    to list other init systems, which there currently seem to be far too
+    many of, for far too little benefit.
+    The sysv-rc dependency is already met in stable.
+    The file-rc dependency is not, so if someone cares about that, they
+    need to find a properly designed solution, which this was not.
+    Closes: #729248
+
+ -- Joey Hess <joeyh at debian.org>  Sun, 10 Nov 2013 15:17:25 -0400
+
 debhelper (9.20131105) unstable; urgency=low
 
   * Fix (horrible) make output parsing code to work with make 4.0.
diff --git a/dh_installinit b/dh_installinit
index d7c8f75..1926e9f 100755
--- a/dh_installinit
+++ b/dh_installinit
@@ -234,12 +234,6 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 	my $init=pkgfile($package,$scriptsrc) || pkgfile($package,"init") ||
 		pkgfile($package,"init.d");
 
-	if ($job ne '' || ($dh{ONLYSCRIPTS} && -e "$tmp/etc/init/$jobfile.conf")) {
-		# minimal version of invoke-rc.d that supports upstart jobs
-		# directly
-		addsubstvar($package, "misc:Depends", "sysv-rc (>= 2.88dsf-24) | file-rc (>= 0.8.16)");
-	}
-
 	if ($init ne '' && ! $dh{ONLYSCRIPTS}) {
 		if (! -d "$tmp/etc/init.d") {
 			doit("install","-d","$tmp/etc/init.d");

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git




More information about the debhelper-devel mailing list