summaryrefslogtreecommitdiff
path: root/packages/ifupdown
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/ifupdown
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/ifupdown')
-rw-r--r--packages/ifupdown/.mtn2git_empty0
-rw-r--r--packages/ifupdown/ifupdown-0.6.4/.mtn2git_empty0
-rw-r--r--packages/ifupdown/ifupdown-0.6.4/busybox.patch20
-rw-r--r--packages/ifupdown/ifupdown-0.6.4/gcc34-fix.patch16
-rw-r--r--packages/ifupdown/ifupdown-0.6.4/head-tail.patch14
-rw-r--r--packages/ifupdown/ifupdown-0.6.4/init13
-rw-r--r--packages/ifupdown/ifupdown-0.6.4/interfaces2
-rw-r--r--packages/ifupdown/ifupdown-0.6.4/udhcpc.patch26
-rw-r--r--packages/ifupdown/ifupdown-0.6.4/zeroconf.patch21
9 files changed, 112 insertions, 0 deletions
diff --git a/packages/ifupdown/.mtn2git_empty b/packages/ifupdown/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/ifupdown/.mtn2git_empty
diff --git a/packages/ifupdown/ifupdown-0.6.4/.mtn2git_empty b/packages/ifupdown/ifupdown-0.6.4/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/ifupdown/ifupdown-0.6.4/.mtn2git_empty
diff --git a/packages/ifupdown/ifupdown-0.6.4/busybox.patch b/packages/ifupdown/ifupdown-0.6.4/busybox.patch
index e69de29bb2..5619ab7c0a 100644
--- a/packages/ifupdown/ifupdown-0.6.4/busybox.patch
+++ b/packages/ifupdown/ifupdown-0.6.4/busybox.patch
@@ -0,0 +1,20 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- ifupdown-0.6.4/inet.defn~busybox
++++ ifupdown-0.6.4/inet.defn
+@@ -116,8 +116,8 @@
+ options
+ provider name -- Use /name/ as the provider (from /etc/ppp/peers).
+ up
+- /sbin/start-stop-daemon --start -x /usr/bin/wvdial \
+- -p /var/run/wvdial.%iface% -b -m -- [[ %provider% ]]
++ /sbin/start-stop-daemon -S -x /usr/bin/wvdial \
++ -p /var/run/wvdial.%iface% -- [[ %provider% ]]
+ down
+- /sbin/start-stop-daemon --stop -x /usr/bin/wvdial \
+- -p /var/run/wvdial.%iface% -s 2
++ /sbin/start-stop-daemon -X -x /usr/bin/wvdial \
++ -p /var/run/wvdial.%iface%
diff --git a/packages/ifupdown/ifupdown-0.6.4/gcc34-fix.patch b/packages/ifupdown/ifupdown-0.6.4/gcc34-fix.patch
index e69de29bb2..f90e312694 100644
--- a/packages/ifupdown/ifupdown-0.6.4/gcc34-fix.patch
+++ b/packages/ifupdown/ifupdown-0.6.4/gcc34-fix.patch
@@ -0,0 +1,16 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- ifupdown-0.6.4/execute.c~gcc34-fix 2004-04-28 00:16:45.000000000 +0200
++++ ifupdown-0.6.4/execute.c 2004-04-28 00:17:11.000000000 +0200
+@@ -167,7 +167,7 @@
+ case 0: /* child */
+ execle("/bin/sh", "/bin/sh", "-c", str, NULL, environ);
+ exit(127);
+- default: /* parent */
++ default:; /* parent */
+ }
+ waitpid(child, &status, 0);
+ if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) \ No newline at end of file
diff --git a/packages/ifupdown/ifupdown-0.6.4/head-tail.patch b/packages/ifupdown/ifupdown-0.6.4/head-tail.patch
index e69de29bb2..a86a25d2fb 100644
--- a/packages/ifupdown/ifupdown-0.6.4/head-tail.patch
+++ b/packages/ifupdown/ifupdown-0.6.4/head-tail.patch
@@ -0,0 +1,14 @@
+--- ifupdown-0.6.4/Makefile~ 2000-11-18 07:12:01.000000000 +0000
++++ ifupdown-0.6.4/Makefile 2004-04-24 11:06:58.000000000 +0100
+@@ -46,9 +46,9 @@
+ LINE=$$(grep -n '^##ADDRESSFAM##$$' $< | sed 's/:.*//g'); \
+ WC=`wc -l < $<`; \
+ ( \
+- head -$$(($$LINE - 1)) $<; \
++ head -n $$(($$LINE - 1)) $<; \
+ cat $(MAN); \
+- tail -$$(($$WC - $$LINE)) $<; \
++ tail -n $$(($$WC - $$LINE)) $<; \
+ ) > $@
+
+ ifdown.8: ifup.8
diff --git a/packages/ifupdown/ifupdown-0.6.4/init b/packages/ifupdown/ifupdown-0.6.4/init
index e69de29bb2..d258d51ff4 100644
--- a/packages/ifupdown/ifupdown-0.6.4/init
+++ b/packages/ifupdown/ifupdown-0.6.4/init
@@ -0,0 +1,13 @@
+#!/bin/sh -e
+
+case "$1" in
+ start|restart)
+ if [ -e /etc/network/ifstate ]; then
+ echo -n "Cleaning: /etc/network/ifstate"
+ echo -n >/etc/network/ifstate
+ echo "."
+ fi
+ ;;
+ stop|reload|force-reload)
+ ;;
+esac
diff --git a/packages/ifupdown/ifupdown-0.6.4/interfaces b/packages/ifupdown/ifupdown-0.6.4/interfaces
index e69de29bb2..f1bd92ed2b 100644
--- a/packages/ifupdown/ifupdown-0.6.4/interfaces
+++ b/packages/ifupdown/ifupdown-0.6.4/interfaces
@@ -0,0 +1,2 @@
+auto lo
+iface lo inet loopback
diff --git a/packages/ifupdown/ifupdown-0.6.4/udhcpc.patch b/packages/ifupdown/ifupdown-0.6.4/udhcpc.patch
index e69de29bb2..39a6b3349d 100644
--- a/packages/ifupdown/ifupdown-0.6.4/udhcpc.patch
+++ b/packages/ifupdown/ifupdown-0.6.4/udhcpc.patch
@@ -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
diff --git a/packages/ifupdown/ifupdown-0.6.4/zeroconf.patch b/packages/ifupdown/ifupdown-0.6.4/zeroconf.patch
index e69de29bb2..33745db6ff 100644
--- a/packages/ifupdown/ifupdown-0.6.4/zeroconf.patch
+++ b/packages/ifupdown/ifupdown-0.6.4/zeroconf.patch
@@ -0,0 +1,21 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- ifupdown-0.6.4/inet.defn~zeroconf
++++ ifupdown-0.6.4/inet.defn
+@@ -120,3 +120,13 @@
+ down
+ /sbin/start-stop-daemon -X -x /usr/bin/wvdial \
+ -p /var/run/wvdial.%iface%
++
++method zeroconf
++ description
++ This method uses zeroconf to configure an interface. See the man page
++ for zcip for details.
++ up
++ /sbin/start-stop-daemon -S -x /usr/sbin/zcip -p /var/run/zcip.%iface% \
++ -- -s -i %iface%
++ down
++ /sbin/start-stop-daemon -X -x /usr/sbin/zcip -p /var/run/zcip.%iface%