[oe-commits] Andreas Oberritter : avahi: install custom avahi-daemon.conf

GIT User account git at amethyst.openembedded.net
Thu Oct 23 11:08:46 UTC 2008


Module: openembedded.git
Branch: org.openembedded.dreambox
Commit: 4574a255a1c3f8817f5d154cad5fec9f597a17f8
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=4574a255a1c3f8817f5d154cad5fec9f597a17f8

Author: Andreas Oberritter <obi at opendreambox.org>
Date:   Thu Oct 23 03:20:44 2008 +0200

avahi: install custom avahi-daemon.conf

---

 packages/avahi/avahi.inc               |    7 +++++--
 packages/avahi/files/avahi-daemon.conf |   18 ++++++++++++++++++
 2 files changed, 23 insertions(+), 2 deletions(-)

diff --git a/packages/avahi/avahi.inc b/packages/avahi/avahi.inc
index 7fb543c..56eaa78 100644
--- a/packages/avahi/avahi.inc
+++ b/packages/avahi/avahi.inc
@@ -4,7 +4,7 @@ HOMEPAGE = "http://avahi.org"
 SECTION = "network"
 PRIORITY = "optional"
 LICENSE = "GPL"
-PR = "r5"
+PR = "r6"
 
 DEPENDS = "expat libdaemon dbus glib-2.0"
 
@@ -14,7 +14,8 @@ RDEPENDS_avahi-daemon = "sysvinit-pidof update-rc.d"
 RDEPENDS_avahi-autoipd = "update-rc.d"
 
 SRC_URI = "http://avahi.org/download/avahi-${PV}.tar.gz \
-	   file://00avahi-autoipd file://99avahi-autoipd"
+	   file://00avahi-autoipd file://99avahi-autoipd \
+	   file://avahi-daemon.conf"
 
 inherit autotools pkgconfig update-rc.d
 # handle update-rc.d RDEPENDS manually, we don't need it on
@@ -104,6 +105,8 @@ do_install() {
 	install -d ${D}${sysconfdir}/udhcpc.d
 	install ${WORKDIR}/00avahi-autoipd ${D}${sysconfdir}/udhcpc.d
 	install ${WORKDIR}/99avahi-autoipd ${D}${sysconfdir}/udhcpc.d
+	install -d ${D}${sysconfdir}/avahi
+	install ${WORKDIR}/avahi-daemon.conf ${D}${sysconfdir}/avahi/avahi-daemon.conf
 }
 
 do_stage() {
diff --git a/packages/avahi/files/avahi-daemon.conf b/packages/avahi/files/avahi-daemon.conf
new file mode 100644
index 0000000..5c1c273
--- /dev/null
+++ b/packages/avahi/files/avahi-daemon.conf
@@ -0,0 +1,18 @@
+[server]
+use-ipv4=yes
+use-ipv6=no
+
+[wide-area]
+enable-wide-area=yes
+
+[publish]
+
+[reflector]
+
+[rlimits]
+rlimit-core=0
+rlimit-data=4194304
+rlimit-fsize=0
+rlimit-nofile=30
+rlimit-stack=4194304
+rlimit-nproc=3





More information about the Openembedded-commits mailing list