diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/avahi/files | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/avahi/files')
-rwxr-xr-x | recipes/avahi/files/00avahi-autoipd | 10 | ||||
-rwxr-xr-x | recipes/avahi/files/99avahi-autoipd | 10 | ||||
-rw-r--r-- | recipes/avahi/files/avr32-ipv6-fix.patch | 42 | ||||
-rw-r--r-- | recipes/avahi/files/configure-check-pymod.patch | 27 | ||||
-rw-r--r-- | recipes/avahi/files/dbus-pre-1.1.1-support.patch | 17 |
5 files changed, 106 insertions, 0 deletions
diff --git a/recipes/avahi/files/00avahi-autoipd b/recipes/avahi/files/00avahi-autoipd new file mode 100755 index 0000000000..a0ab814603 --- /dev/null +++ b/recipes/avahi/files/00avahi-autoipd @@ -0,0 +1,10 @@ +#!/bin/sh + +[ -z "$1" ] && echo "Error: should be called from udhcpc" && exit 1 + +case "$1" in + + deconfig|renew|bound) + /usr/sbin/avahi-autoipd -k $interface 2> /dev/null + ;; +esac diff --git a/recipes/avahi/files/99avahi-autoipd b/recipes/avahi/files/99avahi-autoipd new file mode 100755 index 0000000000..234cdaa3eb --- /dev/null +++ b/recipes/avahi/files/99avahi-autoipd @@ -0,0 +1,10 @@ +#!/bin/sh + +[ -z "$1" ] && echo "Error: should be called from udhcpc" && exit 1 + +case "$1" in + + leasefail) + /usr/sbin/avahi-autoipd -wD $interface 2> /dev/null + ;; +esac diff --git a/recipes/avahi/files/avr32-ipv6-fix.patch b/recipes/avahi/files/avr32-ipv6-fix.patch new file mode 100644 index 0000000000..f0710a1002 --- /dev/null +++ b/recipes/avahi/files/avr32-ipv6-fix.patch @@ -0,0 +1,42 @@ +--- /tmp/socket.c 2007-09-14 14:03:01.395330465 +0200 ++++ avahi-0.6.21/avahi-core/socket.c 2007-09-14 14:08:42.081140297 +0200 +@@ -66,6 +66,39 @@ + #endif + #endif + ++#define IPV6_ADDRFORM 1 ++#define IPV6_2292PKTINFO 2 ++#define IPV6_2292HOPOPTS 3 ++#define IPV6_2292DSTOPTS 4 ++#define IPV6_2292RTHDR 5 ++#define IPV6_2292PKTOPTIONS 6 ++#define IPV6_CHECKSUM 7 ++#define IPV6_2292HOPLIMIT 8 ++#define IPV6_NEXTHOP 9 ++#define IPV6_AUTHHDR 10 /* obsolete */ ++#define IPV6_FLOWINFO 11 ++ ++#define IPV6_UNICAST_HOPS 16 ++#define IPV6_MULTICAST_IF 17 ++#define IPV6_MULTICAST_HOPS 18 ++#define IPV6_MULTICAST_LOOP 19 ++#define IPV6_ADD_MEMBERSHIP 20 ++#define IPV6_DROP_MEMBERSHIP 21 ++#define IPV6_ROUTER_ALERT 22 ++#define IPV6_MTU_DISCOVER 23 ++#define IPV6_MTU 24 ++#define IPV6_RECVERR 25 ++#define IPV6_V6ONLY 26 ++#define IPV6_JOIN_ANYCAST 27 ++#define IPV6_LEAVE_ANYCAST 28 ++ ++/* IPV6_MTU_DISCOVER values */ ++#define IPV6_PMTUDISC_DONT 0 ++#define IPV6_PMTUDISC_WANT 1 ++#define IPV6_PMTUDISC_DO 2 ++#define IPV6_PMTUDISC_PROBE 3 ++ ++ + static void mdns_mcast_group_ipv4(struct sockaddr_in *ret_sa) { + assert(ret_sa); + diff --git a/recipes/avahi/files/configure-check-pymod.patch b/recipes/avahi/files/configure-check-pymod.patch new file mode 100644 index 0000000000..e2df5d6fc0 --- /dev/null +++ b/recipes/avahi/files/configure-check-pymod.patch @@ -0,0 +1,27 @@ +Index: avahi-0.6.21/configure.ac +=================================================================== +--- avahi-0.6.21.orig/configure.ac 2007-08-16 21:36:12.000000000 +0200 ++++ avahi-0.6.21/configure.ac 2007-08-16 21:45:14.000000000 +0200 +@@ -700,10 +700,6 @@ + esac], + [HAVE_PYGTK=yes]) + +- if test "x$HAVE_PYGTK" = "xyes" ; then +- AM_CHECK_PYMOD(gtk,,,[AC_MSG_ERROR(Could not find Python module gtk)]) +- fi +- + + if test "x$HAVE_DBUS" = "xyes" ; then + AC_ARG_ENABLE(python-dbus, +@@ -715,11 +711,6 @@ + esac], + [HAVE_PYTHON_DBUS=yes]) + +- if test "x$HAVE_PYTHON_DBUS" = "xyes"; then +- AM_CHECK_PYMOD(dbus,,,[AC_MSG_ERROR(Could not find Python module dbus)]) +- fi +- +- AM_CHECK_PYMOD(socket,,,[AC_MSG_ERROR(Could not find Python module socket)]) + if test "x$HAVE_GDBM" = "xyes"; then + AM_CHECK_PYMOD(gdbm,,,[AC_MSG_ERROR(Could not find Python module gdbm)]) + fi diff --git a/recipes/avahi/files/dbus-pre-1.1.1-support.patch b/recipes/avahi/files/dbus-pre-1.1.1-support.patch new file mode 100644 index 0000000000..a92fb82710 --- /dev/null +++ b/recipes/avahi/files/dbus-pre-1.1.1-support.patch @@ -0,0 +1,17 @@ +http://avahi.org/changeset/1518 + +Index: trunk/avahi-common/dbus-watch-glue.c +=================================================================== +--- trunk/avahi-common/dbus-watch-glue.c (revision 1507) ++++ trunk/avahi-common/dbus-watch-glue.c (revision 1518) +@@ -135,5 +135,9 @@ + if (!(avahi_watch = poll_api->watch_new( + poll_api, ++#if (DBUS_VERSION_MAJOR == 1 && DBUS_VERSION_MINOR == 1 && DBUS_VERSION_MICRO >= 1) || (DBUS_VERSION_MAJOR == 1 && DBUS_VERSION_MAJOR > 1) || (DBUS_VERSION_MAJOR > 1) + dbus_watch_get_unix_fd(dbus_watch), ++#else ++ dbus_watch_get_fd(dbus_watch), ++#endif + translate_dbus_to_avahi(dbus_watch_get_flags(dbus_watch)), + watch_callback, + |