diff options
author | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2010-08-10 20:48:50 +0200 |
---|---|---|
committer | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2010-08-10 20:49:24 +0200 |
commit | 6c51e308c76296bb4cfee4b64897d2f29ddb989c (patch) | |
tree | 7a75b899ba35e4c9680e35702f5d38b945d0a0f2 /recipes/zeroconf/files | |
parent | b1fbc3fd45c4ec04d6364bd61e758d821421fb11 (diff) |
zeroconf: renamed files to zeroconf-0.9
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/zeroconf/files')
-rw-r--r-- | recipes/zeroconf/files/debian-zeroconf | 51 | ||||
-rw-r--r-- | recipes/zeroconf/files/zeroconf-default | 17 | ||||
-rw-r--r-- | recipes/zeroconf/files/zeroconf-ldflags.patch | 12 | ||||
-rw-r--r-- | recipes/zeroconf/files/zeroconf-limits.h.patch | 21 |
4 files changed, 0 insertions, 101 deletions
diff --git a/recipes/zeroconf/files/debian-zeroconf b/recipes/zeroconf/files/debian-zeroconf deleted file mode 100644 index c3705d2788..0000000000 --- a/recipes/zeroconf/files/debian-zeroconf +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/sh - -if [ ! -x /usr/sbin/zeroconf ]; then - exit 0 -fi - -# IPv4 link-local addresses (zeroconf) are -# only applicable on the 'inet' address family -[ "X$ADDRFAM" != "Xinet" ] && exit 0 - -# However there are some methods where it doesn't -# make any sense to configure an IPv4LL address - -# not on loopback -[ "X$METHOD" = "Xloopback" ] && exit 0 - -# not on ppp or wvdial either -[ "X$METHOD" = "Xppp" ] && exit 0 -[ "X$METHOD" = "Xwvdial" ] && exit 0 - -# The administrator may have blacklisted interfaces -# or only want zeroconf in a fallback situation -[ -f /etc/default/zeroconf ] && - . /etc/default/zeroconf - -[ -n "$DISABLE" ] && exit 0 - -for BLACK in $IFBLACKLIST; do - case $IFACE in - $BLACK) - exit 0 - ;; - esac -done - -# should we only allocate an address if we do not already have one? -if [ -n "$FALLBACK" ]; then - /bin/ip addr show $IFACE scope global | grep -q "inet" - IP=$? - if [ $IP -eq 0 ]; then - /bin/ip route add 169.254.0.0/16 dev $IFACE - exit 0 - fi -fi - -# otherwise, run if we aren't already going -if [ ! -r /var/run/zeroconf.$IFACE.pid ]; then - /usr/sbin/zeroconf -i $IFACE -fi - -exit 0 diff --git a/recipes/zeroconf/files/zeroconf-default b/recipes/zeroconf/files/zeroconf-default deleted file mode 100644 index cc07b275f1..0000000000 --- a/recipes/zeroconf/files/zeroconf-default +++ /dev/null @@ -1,17 +0,0 @@ -# Default for zeroconf - -# disable zeroconf -# If you want to disable zeroconf completely, uncomment the following line -# this may be useful if you are debugging zeroconf or starting it manually -#DISABLE=yes - -# black-listed interfaces -# Interfaces which you never wish to have zeroconf run on should -# be listed here. e.g. "eth2 wlan1" in a space seperated string -IFBLACKLIST="" - -# fallback only -# If you would only like a link-local address if you were unable to -# obtain an address via DHCP then uncomment the following line -#FALLBACK=yes - diff --git a/recipes/zeroconf/files/zeroconf-ldflags.patch b/recipes/zeroconf/files/zeroconf-ldflags.patch deleted file mode 100644 index ba6056953e..0000000000 --- a/recipes/zeroconf/files/zeroconf-ldflags.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -urN zeroconf-0.9.orig/Makefile zeroconf-0.9/Makefile ---- zeroconf-0.9.orig/Makefile 2006-04-29 10:41:15.000000000 +0000 -+++ zeroconf-0.9/Makefile 2009-04-02 09:27:38.000000000 +0000 -@@ -18,7 +18,7 @@ - - zeroconf: zeroconf.o delay.o - $(Q)echo "Creating $@" -- $(Q)$(CC) $(CFLAGS) -o $@ $^ $(LIBS) -+ $(Q)$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) - - - # Automatic dependency generation diff --git a/recipes/zeroconf/files/zeroconf-limits.h.patch b/recipes/zeroconf/files/zeroconf-limits.h.patch deleted file mode 100644 index 46ba208fa5..0000000000 --- a/recipes/zeroconf/files/zeroconf-limits.h.patch +++ /dev/null @@ -1,21 +0,0 @@ -In newer glibc after this commit. - -http://sourceware.org/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/bits/socket.h.diff?r1=1.60&r2=1.61&cvsroot=glibc - - -do not include limits.h indirectly through sockets.h so we would need to include limits.h explicitely. - --Khem - -Index: zeroconf-0.9/zeroconf.c -=================================================================== ---- zeroconf-0.9.orig/zeroconf.c 2008-05-27 16:56:05.000000000 -0700 -+++ zeroconf-0.9/zeroconf.c 2008-05-27 16:56:20.000000000 -0700 -@@ -33,6 +33,7 @@ - #include <net/if_arp.h> - #include <sys/time.h> - #include <signal.h> -+#include <limits.h> - - #include "delay.h" - |