summaryrefslogtreecommitdiffstats
path: root/openembedded/packages/avahi/avahi_0.5.2.bb
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2005-10-10 14:02:25 +0000
committerRoss Burton <ross@openedhand.com>2005-10-10 14:02:25 +0000
commitab4b8cbf3bf087c3492078e045fe9801a8201611 (patch)
treec7059bb3878c55ccc064df7d1e6dc6a684dea060 /openembedded/packages/avahi/avahi_0.5.2.bb
parentbfea2526434422e8bd1aff9189e41c49bd7127d9 (diff)
downloadpoky-ab4b8cbf3bf087c3492078e045fe9801a8201611.tar.gz
Upgrade avahi to 0.5.2
git-svn-id: https://svn.o-hand.com/repos/poky@131 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/avahi/avahi_0.5.2.bb')
-rw-r--r--openembedded/packages/avahi/avahi_0.5.2.bb53
1 files changed, 53 insertions, 0 deletions
diff --git a/openembedded/packages/avahi/avahi_0.5.2.bb b/openembedded/packages/avahi/avahi_0.5.2.bb
new file mode 100644
index 0000000000..6a1a393e19
--- /dev/null
+++ b/openembedded/packages/avahi/avahi_0.5.2.bb
@@ -0,0 +1,53 @@
1DESCRIPTION = "Avahi implements the DNS-SD over Multicast DNS"
2HOMEPAGE = "http://www.freedesktop.org/Software/Avahi"
3LICENCE= "GPL"
4DEPENDS = "expat libdaemon dbus-0.50"
5RRECOMMENDS = "libnss-mdns"
6SECTION = "net"
7PRIORITY = "optional"
8PR = "r0"
9
10SRC_URI = "http://www.freedesktop.org/~lennart/avahi-${PV}.tar.gz \
11 file://alignment-fix.patch;patch=1"
12
13PACKAGES = "avahi-daemon libavahi-common libavahi-core libavahi-client avahi-dnsconfd libavahi-glib avahi-dev avahi-doc"
14
15FILES_libavahi-common = "${libdir}/libavahi-common.so.*"
16FILES_libavahi-core= "${libdir}/libavahi-core.so.*"
17FILES_avahi-daemon = "${sbindir}/avahi-daemon \
18 ${sysconfdir}/avahi/avahi-daemon.conf \
19 ${sysconfdir}/avahi/services \
20 ${sysconfdir}/dbus-1 \
21 ${sysconfdir}/init.d/avahi-daemon \
22 ${datadir}/avahi/introspection/*.introspect \
23 ${datadir}/avahi/avahi-service.dtd \
24 ${datadir}/avahi/service-types"
25FILES_libavahi-client = "${libdir}/libavahi-client.so.*"
26FILES_avahi-dnsconfd = "${sbindir}/avahi-dnsconfd \
27 ${sysconfdir}/avahi/avahi-dnsconfd.action \
28 ${sysconfdir}/init.d/avahi-dnsconfd"
29FILES_libavahi-glib = "${libdir}/libavahi-glib.so.*"
30
31CONFFILES_avahi-daemon = "${sysconfdir}/avahi/avahi-daemon.conf"
32
33EXTRA_OECONF = "--with-distro=debian --disable-mono --disable-mono-docs --disable-gtk --disable-qt3 --disable-qt4 --disable-python"
34inherit autotools
35inherit update-rc.d
36
37INITSCRIPT_PACKAGES = "avahi-daemon avahi-dnsconfd"
38INITSCRIPT_NAME_avahi-daemon = "avahi-daemon"
39INITSCRIPT_PARAMS_avahi-daemon = "defaults 21 19"
40INITSCRIPT_NAME_avahi-dnsconfd = "avahi-dnsconfd"
41INITSCRIPT_PARAMS_avahi-dnsconfd = "defaults 22 19"
42
43pkg_postinst_avahi-daemon () {
44 grep avahi /etc/group || addgroup avahi
45 grep avahi /etc/passwd || adduser --disabled-password --system --home /var/run/avahi-daemon --no-create-home avahi --ingroup avahi -g Avahi
46 /etc/init.d/dbus-1 force-reload
47}
48
49pkg_postrm_avahi-daemon () {
50 deluser avahi || true
51 delgroup avahi || true
52}
53