Merge bk://openembedded@openembedded.bkbits.net/packages
authorMichael Lauer <mickey@vanille-media.de>
Fri, 30 Apr 2004 09:28:52 +0000 (09:28 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Fri, 30 Apr 2004 09:28:52 +0000 (09:28 +0000)
into r2d2.tm.informatik.uni-frankfurt.de:/home/projekte/packages

2004/04/30 11:28:40+02:00 uni-frankfurt.de!mickey
fix ifupdown. patch courtesy Sébastien Bernard

BKrev: 40921c54z9H0lPXIfPi4n7JxtMbtRQ

ifupdown/ifupdown-0.6.4/udhcpc.patch
ifupdown/ifupdown_0.6.4.oe

index e69de29..39a6b33 100644 (file)
@@ -0,0 +1,26 @@
+--- ifupdown/inet.defn.orig    2004-04-29 20:16:07.000000000 +0200
++++ ifupdown/inet.defn 2004-04-29 20:16:13.000000000 +0200
+@@ -81,8 +81,7 @@
+         elsif (execable("/sbin/dhclient"))
+     pump -i %iface% [[-h %hostname%]] [[-l %leasehours%]] \
+         elsif (execable("/sbin/pump") && mylinuxver() >= mylinux(2,1,100))
+-    udhcpc -n -p /var/run/udhcpc.%iface%.pid -i %iface% [[-H %hostname%]] \
+-           [[-c %clientid%]] \
++    udhcpc -b -p /var/run/udhcpc.%iface%.pid -i %iface% -H `cat /etc/hostname` \
+         elsif (execable("/sbin/udhcpc") && mylinuxver() >= mylinux(2,2,0))
+     dhcpcd [[-h %hostname%]] [[-i %vendor%]] [[-I %clientid%]] \
+            [[-l %leasetime%]] %iface% \
+@@ -91,11 +90,11 @@
+   down
+     dhclient3 -r -pf /var/run/dhclient.%iface%.pid -lf /var/run/dhclient.%iface%.leases %iface% \
+         if (execable("/sbin/dhclient3"))
+-    cat /var/run/dhclient.%iface%.pid | xargs -i kill -TERM {} \
++    kill -TERM `cat /var/run/dhclient.%iface%.pid` \
+         elsif (execable("/sbin/dhclient"))
+     pump -i %iface% -r \
+         elsif (execable("/sbin/pump") && mylinuxver() >= mylinux(2,1,100))
+-    cat /var/run/udhcpc.%iface%.pid | xargs -i kill -TERM {} \
++    kill -TERM `cat /var/run/udhcpc.%iface%.pid` \
+         elsif (execable("/sbin/udhcpc"))
+     dhcpcd -k %iface% \
+         elsif (execable("/sbin/dhcpcd"))
\ No newline at end of file
index 2f8eeca..0253e5f 100644 (file)
@@ -5,11 +5,10 @@ configure (or, respectively, deconfigure) network interfaces, based on \
 the file /etc/network/interfaces."
 
 SRC_URI = "${DEBIAN_MIRROR}/main/i/ifupdown/ifupdown_${PV}.orig.tar.gz \
-          ${DEBIAN_MIRROR}/main/i/ifupdown/ifupdown_${PV}-4.6.diff.gz;patch=1 \
+          ${DEBIAN_MIRROR}/main/i/ifupdown/ifupdown_${PV}-4.8.diff.gz;patch=1 \
           file://${FILESDIR}/busybox.patch;patch=1 \
           file://${FILESDIR}/udhcpc.patch;patch=1 \
           file://${FILESDIR}/zeroconf.patch;patch=1 \
-          file://${FILESDIR}/head-tail.patch;patch=1 \
           file://${FILESDIR}/gcc34-fix.patch;patch=1"
 
 EXTRA_OEMAKE = ""