diff options
author | Ross Burton <ross@openedhand.com> | 2008-07-03 15:24:12 +0000 |
---|---|---|
committer | Ross Burton <ross@openedhand.com> | 2008-07-03 15:24:12 +0000 |
commit | 1f36523f919340a06f60752c18835c6483fd2026 (patch) | |
tree | 21855e0b64d2c67605576f112c2ce6a5ef83cad9 /meta | |
parent | 26628bf01017e7b29d2eb1374d220b8f79748d00 (diff) | |
download | poky-1f36523f919340a06f60752c18835c6483fd2026.tar.gz |
avahi: add init script depends
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4803 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/avahi/avahi.inc | 3 | ||||
-rw-r--r-- | meta/packages/avahi/avahi_0.6.20.bb | 2 | ||||
-rw-r--r-- | meta/packages/avahi/files/initscript.patch | 39 |
3 files changed, 42 insertions, 2 deletions
diff --git a/meta/packages/avahi/avahi.inc b/meta/packages/avahi/avahi.inc index 4300bcc3f3..cb2e4e7d83 100644 --- a/meta/packages/avahi/avahi.inc +++ b/meta/packages/avahi/avahi.inc | |||
@@ -9,7 +9,8 @@ DEPENDS = "expat libdaemon dbus glib-2.0 gtk+ libglade" | |||
9 | RRECOMMENDS = "libnss-mdns" | 9 | RRECOMMENDS = "libnss-mdns" |
10 | RRECOMMENDS_avahi-daemon = "libnss-mdns" | 10 | RRECOMMENDS_avahi-daemon = "libnss-mdns" |
11 | 11 | ||
12 | SRC_URI = "http://avahi.org/download/avahi-${PV}.tar.gz" | 12 | SRC_URI = "http://avahi.org/download/avahi-${PV}.tar.gz \ |
13 | file://initscript.patch;patch=1" | ||
13 | 14 | ||
14 | inherit autotools pkgconfig update-rc.d | 15 | inherit autotools pkgconfig update-rc.d |
15 | 16 | ||
diff --git a/meta/packages/avahi/avahi_0.6.20.bb b/meta/packages/avahi/avahi_0.6.20.bb index be22c985b0..8e36321ea7 100644 --- a/meta/packages/avahi/avahi_0.6.20.bb +++ b/meta/packages/avahi/avahi_0.6.20.bb | |||
@@ -1,7 +1,7 @@ | |||
1 | require avahi.inc | 1 | require avahi.inc |
2 | 2 | ||
3 | RDEPENDS_avahi-daemon = "sysvinit-pidof" | 3 | RDEPENDS_avahi-daemon = "sysvinit-pidof" |
4 | PR = "r4" | 4 | PR = "r5" |
5 | 5 | ||
6 | FILES_avahi-autoipd = "${sbindir}/avahi-autoipd \ | 6 | FILES_avahi-autoipd = "${sbindir}/avahi-autoipd \ |
7 | ${sysconfdir}/avahi/avahi-autoipd.action \ | 7 | ${sysconfdir}/avahi/avahi-autoipd.action \ |
diff --git a/meta/packages/avahi/files/initscript.patch b/meta/packages/avahi/files/initscript.patch new file mode 100644 index 0000000000..f76a965b85 --- /dev/null +++ b/meta/packages/avahi/files/initscript.patch | |||
@@ -0,0 +1,39 @@ | |||
1 | diff --git a/initscript/debian/avahi-daemon.in b/initscript/debian/avahi-daemon.in | ||
2 | index 30a2c2f..b5848a8 100755 | ||
3 | --- a/initscript/debian/avahi-daemon.in | ||
4 | +++ b/initscript/debian/avahi-daemon.in | ||
5 | @@ -1,2 +1,14 @@ | ||
6 | #!/bin/sh | ||
7 | - | ||
8 | +### BEGIN INIT INFO | ||
9 | +# Provides: avahi | ||
10 | +# Required-Start: $remote_fs dbus | ||
11 | +# Required-Stop: $remote_fs dbus | ||
12 | +# Should-Start: $syslog | ||
13 | +# Should-Stop: $syslog | ||
14 | +# Default-Start: 2 3 4 5 | ||
15 | +# Default-Stop: 0 1 6 | ||
16 | +# Short-Description: Avahi mDNS/DNS-SD Daemon | ||
17 | +# Description: Zeroconf daemon for configuring your network | ||
18 | +# automatically | ||
19 | +### END INIT INFO | ||
20 | +# | ||
21 | diff --git a/initscript/debian/avahi-dnsconfd.in b/initscript/debian/avahi-dnsconfd.in | ||
22 | index ac34804..f95c340 100755 | ||
23 | --- a/initscript/debian/avahi-dnsconfd.in | ||
24 | +++ b/initscript/debian/avahi-dnsconfd.in | ||
25 | @@ -1,1 +1,14 @@ | ||
26 | #!/bin/sh | ||
27 | +### BEGIN INIT INFO | ||
28 | +# Provides: avahi-dnsconfd | ||
29 | +# Required-Start: $remote_fs avahi | ||
30 | +# Required-Stop: $remote_fs avahi | ||
31 | +# Should-Start: $syslog | ||
32 | +# Should-Stop: $syslog | ||
33 | +# Default-Start: 2 3 4 5 | ||
34 | +# Default-Stop: 0 1 6 | ||
35 | +# Short-Description: Avahi mDNS/DNS-SD DNS configuration | ||
36 | +# Description: Zeroconf daemon for configuring your network | ||
37 | +# automatically | ||
38 | +### END INIT INFO | ||
39 | +# | ||