Package: ifupdown
Version: 0.7.3+nmu1

--- Please enter the report below this line. ---
Patch attached.

--- System information. ---
Architecture: amd64
Kernel: Linux 3.6-5.towo-siduction-amd64

Debian Release: wheezy/sid
990 unstable alfgaida.de
500 unstable repo.percona.com
500 unstable packages.siduction.org
500 unstable http.debian.net
500 unstable alfgaida.de
500 testing http.debian.net
500 stable www.scootersoftware.com
500 stable http.debian.net
100 unstable packages.siduction.org
1 experimental http.debian.net

--- Package information. ---
Depends (Version) | Installed
===============================-+-================
iproute (>= 20071016-1) | 20120521-3
libc6 (>= 2.7) | 2.13-36
lsb-base | 4.1+Debian7
initscripts (>= 2.88dsf-25) | 2.88dsf-32


Package's Recommends field is empty.

Suggests (Version) | Installed
==============================-+-===========
isc-dhcp-client | 4.2.4-3
OR dhcp-client |
ppp | 2.4.5-5.1+b1
rdnssd |
net-tools | 1.60-24.2
diff -ur ifupdown-0.7.3/debian/changelog ifupdown-0.7.3+nmu1/debian/changelog
--- ifupdown-0.7.3/debian/changelog	2012-10-16 10:42:05.000000000 +0200
+++ ifupdown-0.7.3+nmu1/debian/changelog	2012-11-01 15:42:28.993033884 +0100
@@ -1,3 +1,10 @@
+ifupdown (0.7.3+nmu1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * upstart-scripts should use init_is_upstart  
+
+ -- Alf Gaida <aga...@siduction.org>  Thu, 01 Nov 2012 15:41:35 +0100
+
 ifupdown (0.7.3) unstable; urgency=low
 
   * Fix the calculation of broadcast addresses of obsolete scheme;
diff -ur ifupdown-0.7.3/debian/ifupdown.upstart.if-down ifupdown-0.7.3+nmu1/debian/ifupdown.upstart.if-down
--- ifupdown-0.7.3/debian/ifupdown.upstart.if-down	2012-10-16 10:38:55.000000000 +0200
+++ ifupdown-0.7.3+nmu1/debian/ifupdown.upstart.if-down	2012-11-01 15:39:33.674720765 +0100
@@ -2,6 +2,14 @@
 
 set -e
 
+if [ -e /lib/lsb/init-functions ]; then
+    . /lib/lsb/init-functions
+fi
+
+if ! init_is_upstart; then
+    return 0
+fi
+
 initctl emit -n net-device-down \
 	"IFACE=$IFACE" \
 	"LOGICAL=$LOGICAL" \
diff -ur ifupdown-0.7.3/debian/ifupdown.upstart.if-up ifupdown-0.7.3+nmu1/debian/ifupdown.upstart.if-up
--- ifupdown-0.7.3/debian/ifupdown.upstart.if-up	2012-10-16 10:38:55.000000000 +0200
+++ ifupdown-0.7.3+nmu1/debian/ifupdown.upstart.if-up	2012-11-01 15:40:44.876612080 +0100
@@ -4,6 +4,14 @@
 
 set -e
 
+if [ -e /lib/lsb/init-functions ]; then
+    . /lib/lsb/init-functions
+fi
+
+if ! init_is_upstart; then
+    return 0
+fi
+
 # Let's ignore meta entries (ifup -a)
 if [ "$ADDRFAM" = "meta" ]; then
     return 0

Reply via email to