diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-06-10 12:29:43 +0200 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-06-10 15:46:20 +0200 |
commit | af1fcab7f09dd4d280d4259c9b9614a0cdca99c1 (patch) | |
tree | 84b3e5fedb00a957ca2e968863850a6cc134b6b1 | |
parent | b038ad87179391284e0829b6f92b463ba961f1e1 (diff) | |
download | meta-openembedded-af1fcab7f09dd4d280d4259c9b9614a0cdca99c1.tar.gz |
avahi-ui: add 0.6.30
Reuse as much as possible from oe-core
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
4 files changed, 90 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/avahi/avahi-ui_0.6.30.bb b/meta-oe/recipes-connectivity/avahi/avahi-ui_0.6.30.bb new file mode 100644 index 000000000..9e12c8e43 --- /dev/null +++ b/meta-oe/recipes-connectivity/avahi/avahi-ui_0.6.30.bb | |||
@@ -0,0 +1,29 @@ | |||
1 | # reuse oe-core include: | ||
2 | require recipes-connectivity/avahi/avahi.inc | ||
3 | |||
4 | |||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1 \ | ||
6 | file://avahi-common/address.h;endline=25;md5=b1d1d2cda1c07eb848ea7d6215712d9d \ | ||
7 | file://avahi-core/dns.h;endline=23;md5=6fe82590b81aa0ddea5095b548e2fdcb \ | ||
8 | file://avahi-daemon/main.c;endline=21;md5=9ee77368c5407af77caaef1b07285969 \ | ||
9 | file://avahi-client/client.h;endline=23;md5=f4ac741a25c4f434039ba3e18c8674cf" | ||
10 | |||
11 | SRC_URI[md5sum] = "e4db89a2a403ff4c47d66ac66fad1f43" | ||
12 | SRC_URI[sha256sum] = "f9e4316c2339d0020726edd846d01bee0c39980906db0c247479e5807457ff1f" | ||
13 | |||
14 | |||
15 | DEPENDS += "avahi gtk+" | ||
16 | |||
17 | EXTRA_OECONF += "--enable-gtk --disable-gtk3" | ||
18 | |||
19 | S = "${WORKDIR}/avahi-${PV}" | ||
20 | |||
21 | PACKAGES = "${PN} ${PN}-utils ${PN}-dbg ${PN}-dev" | ||
22 | |||
23 | FILES_${PN} = "${libdir}/libavahi-ui*.so.*" | ||
24 | FILES_${PN}-dbg += "${libdir}/.debug/libavah-ui*" | ||
25 | FILES_${PN}-dev += "${libdir}/libavahi-ui*" | ||
26 | |||
27 | FILES_${PN}-utils = "${bindir}/b* ${datadir}/applications/b*" | ||
28 | |||
29 | |||
diff --git a/meta-oe/recipes-connectivity/avahi/files/00avahi-autoipd b/meta-oe/recipes-connectivity/avahi/files/00avahi-autoipd new file mode 100644 index 000000000..a0ab81460 --- /dev/null +++ b/meta-oe/recipes-connectivity/avahi/files/00avahi-autoipd | |||
@@ -0,0 +1,10 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | [ -z "$1" ] && echo "Error: should be called from udhcpc" && exit 1 | ||
4 | |||
5 | case "$1" in | ||
6 | |||
7 | deconfig|renew|bound) | ||
8 | /usr/sbin/avahi-autoipd -k $interface 2> /dev/null | ||
9 | ;; | ||
10 | esac | ||
diff --git a/meta-oe/recipes-connectivity/avahi/files/99avahi-autoipd b/meta-oe/recipes-connectivity/avahi/files/99avahi-autoipd new file mode 100644 index 000000000..234cdaa3e --- /dev/null +++ b/meta-oe/recipes-connectivity/avahi/files/99avahi-autoipd | |||
@@ -0,0 +1,10 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | [ -z "$1" ] && echo "Error: should be called from udhcpc" && exit 1 | ||
4 | |||
5 | case "$1" in | ||
6 | |||
7 | leasefail) | ||
8 | /usr/sbin/avahi-autoipd -wD $interface 2> /dev/null | ||
9 | ;; | ||
10 | esac | ||
diff --git a/meta-oe/recipes-connectivity/avahi/files/initscript.patch b/meta-oe/recipes-connectivity/avahi/files/initscript.patch new file mode 100644 index 000000000..193889eb5 --- /dev/null +++ b/meta-oe/recipes-connectivity/avahi/files/initscript.patch | |||
@@ -0,0 +1,41 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | diff --git a/initscript/debian/avahi-daemon.in b/initscript/debian/avahi-daemon.in | ||
4 | index 30a2c2f..b5848a8 100755 | ||
5 | --- a/initscript/debian/avahi-daemon.in | ||
6 | +++ b/initscript/debian/avahi-daemon.in | ||
7 | @@ -1,2 +1,14 @@ | ||
8 | #!/bin/sh | ||
9 | - | ||
10 | +### BEGIN INIT INFO | ||
11 | +# Provides: avahi | ||
12 | +# Required-Start: $remote_fs dbus | ||
13 | +# Required-Stop: $remote_fs dbus | ||
14 | +# Should-Start: $syslog | ||
15 | +# Should-Stop: $syslog | ||
16 | +# Default-Start: 2 3 4 5 | ||
17 | +# Default-Stop: 0 1 6 | ||
18 | +# Short-Description: Avahi mDNS/DNS-SD Daemon | ||
19 | +# Description: Zeroconf daemon for configuring your network | ||
20 | +# automatically | ||
21 | +### END INIT INFO | ||
22 | +# | ||
23 | diff --git a/initscript/debian/avahi-dnsconfd.in b/initscript/debian/avahi-dnsconfd.in | ||
24 | index ac34804..f95c340 100755 | ||
25 | --- a/initscript/debian/avahi-dnsconfd.in | ||
26 | +++ b/initscript/debian/avahi-dnsconfd.in | ||
27 | @@ -1,1 +1,14 @@ | ||
28 | #!/bin/sh | ||
29 | +### BEGIN INIT INFO | ||
30 | +# Provides: avahi-dnsconfd | ||
31 | +# Required-Start: $remote_fs avahi | ||
32 | +# Required-Stop: $remote_fs avahi | ||
33 | +# Should-Start: $syslog | ||
34 | +# Should-Stop: $syslog | ||
35 | +# Default-Start: 2 3 4 5 | ||
36 | +# Default-Stop: 0 1 6 | ||
37 | +# Short-Description: Avahi mDNS/DNS-SD DNS configuration | ||
38 | +# Description: Zeroconf daemon for configuring your network | ||
39 | +# automatically | ||
40 | +### END INIT INFO | ||
41 | +# | ||