]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
Revert "debian: on Debian, don't ship upstart script"
authorVincent Bernat <bernat@luffy.cx>
Tue, 16 Apr 2013 07:26:41 +0000 (09:26 +0200)
committerVincent Bernat <bernat@luffy.cx>
Tue, 16 Apr 2013 07:26:41 +0000 (09:26 +0200)
This reverts commit d5e9611c1cc903410f42a8272898b31404559c6f.

We can't request dh-autoreconf and have a buggy dh_installinit at the
same time. Let's remove this code about upstart. This only needs to be
fixed in backports.

debian/rules

index acf532cd4573b7dc32442bfa18212d90bb15ce4d..941649e30ddce7a6947dc22699094cbd8a4a243e 100755 (executable)
@@ -5,16 +5,3 @@ include /usr/share/cdbs/1/rules/autoreconf.mk
 include /usr/share/cdbs/1/class/autotools.mk
 
 DEB_CONFIGURE_EXTRA_FLAGS = --with-snmp --with-xml
-
-ifeq ($(shell ( [ ! -x /usr/bin/dpkg-vendor ] || dpkg-vendor --is Debian ) && echo yes),yes)
-# Don't install upstart script on Debian. Older versions of
-# dh_installinit don't ship the SysV script if an upstart
-# script is provided and force a dependency on upstart.
-# See: http://bugs.debian.org/577040
-pre-build::
-       [ ! -f debian/lldpd.upstart ] || \
-               mv debian/lldpd.upstart debian/lldpd.upstart.disabled
-clean::
-       [ ! -f debian/lldpd.upstart.disabled ] || \
-               mv debian/lldpd.upstart.disabled debian/lldpd.upstart
-endif