diff options
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/zeroconf/zeroconf-0.6.1/busybox.patch | 13 | ||||
-rw-r--r-- | recipes/zeroconf/zeroconf-0.6.1/debian-zeroconf.patch | 28 | ||||
-rw-r--r-- | recipes/zeroconf/zeroconf_0.6.1.bb | 25 |
3 files changed, 0 insertions, 66 deletions
diff --git a/recipes/zeroconf/zeroconf-0.6.1/busybox.patch b/recipes/zeroconf/zeroconf-0.6.1/busybox.patch deleted file mode 100644 index 1c695612ad..0000000000 --- a/recipes/zeroconf/zeroconf-0.6.1/busybox.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- zeroconf-0.6.1/zeroconf.sh.orig 2005-08-27 21:25:07 +0200 -+++ zeroconf-0.6.1/zeroconf.sh 2005-08-27 21:26:21 +0200 -@@ -30,7 +30,9 @@ - - remove_linklocal_addrs() - { -- ip addr show $IFACE | grep "inet.*169.254" | cut -d" " -f6 | xargs --replace -n 1 ip addr del {} dev $IFACE -+ for IP in `ip addr show $IFACE | grep "inet.*169.254" | cut -d" " -f6`; do -+ ip addr delete $IP dev $IFACE -+ done - } - - case $PHASE in diff --git a/recipes/zeroconf/zeroconf-0.6.1/debian-zeroconf.patch b/recipes/zeroconf/zeroconf-0.6.1/debian-zeroconf.patch deleted file mode 100644 index 6c4008bc56..0000000000 --- a/recipes/zeroconf/zeroconf-0.6.1/debian-zeroconf.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- zeroconf-0.6.1.orig/debian-zeroconf -+++ zeroconf-0.6.1/debian-zeroconf -@@ -19,6 +19,8 @@ - [ -f /etc/default/zeroconf ] && - . /etc/default/zeroconf - -+[ -n "$DISABLE" ] && exit 0 -+ - for BLACK in $IFBLACKLIST; do - case $IFACE in - $BLACK) -@@ -31,7 +33,6 @@ - if [ -n "$FALLBACK" ]; then - /bin/ip addr show $IFACE scope global | grep -q "inet" - IP=$? -- [ $IP -eq 0 ] && exit 0 - if [ $IP -eq 0 ]; then - /bin/ip route add 169.254.0.0/16 dev $IFACE - exit 0 -@@ -39,6 +40,6 @@ - fi - - # otherwise, we are good to go --/usr/local/sbin/zeroconf -i $IFACE -+/usr/sbin/zeroconf -i $IFACE - - exit 0 - diff --git a/recipes/zeroconf/zeroconf_0.6.1.bb b/recipes/zeroconf/zeroconf_0.6.1.bb deleted file mode 100644 index 093cf3067e..0000000000 --- a/recipes/zeroconf/zeroconf_0.6.1.bb +++ /dev/null @@ -1,25 +0,0 @@ -DESCRIPTION = "IPv4 link-local address allocator" -HOMEPAGE = "http://www.progsoc.org/~wildfire/zeroconf/" -LICENSE = "GPL" -SECTION = "net" -PRIORITY = "optional" - -PR = "r0" - -SRC_URI = "http://www.progsoc.org/~wildfire/zeroconf/download/${PN}-${PV}.tar.gz \ - file://debian-zeroconf.patch \ - file://busybox.patch \ - file://zeroconf-default" - -do_install () { - install -d ${D}${sbindir} - install -d ${D}${sysconfdir}/network/if-up.d - install -d ${D}${sysconfdir}/default - install -c -m 755 ${S}/zeroconf ${D}${sbindir}/zeroconf - install -c -m 755 ${S}/zeroconf.sh ${D}${sysconfdir}/zeroconf - install -c -m 755 ${S}/debian-zeroconf ${D}${sysconfdir}/network/if-up.d/zeroconf - install -c ${WORKDIR}/zeroconf-default ${D}${sysconfdir}/default/zeroconf -} - -SRC_URI[md5sum] = "31ac40fdaf24b3e666ed83c1320dd7a5" -SRC_URI[sha256sum] = "3e93416ad44202c2952a1342dad12f2ad0e61dd3f1c59110d9ad8cb1d4c639e5" |