[oe-commits] Stefan Schmidt : bug-avahi: Add avahi service file for bug20

git version control git at git.openembedded.org
Thu Jan 20 12:26:02 UTC 2011


Module: openembedded.git
Branch: master
Commit: b203a051cc48b63cfca2411b03e36199905e8e82
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=b203a051cc48b63cfca2411b03e36199905e8e82

Author: Stefan Schmidt <stefan at buglabs.net>
Date:   Thu Dec  2 14:11:42 2010 +0100

bug-avahi: Add avahi service file for bug20

---

 recipes/buglabs/bug-avahi.bb                |   13 +++++++++++++
 recipes/buglabs/bug-avahi/bugdevice.service |   16 ++++++++++++++++
 2 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/recipes/buglabs/bug-avahi.bb b/recipes/buglabs/bug-avahi.bb
new file mode 100644
index 0000000..896b584
--- /dev/null
+++ b/recipes/buglabs/bug-avahi.bb
@@ -0,0 +1,13 @@
+DESCRIPTION = "BUG Avahi Profile"
+LICENSE = "MIT"
+DEPENDS = "avahi"
+PR = "r1"
+
+SRC_URI = "file://bugdevice.service"
+
+S = "${WORKDIR}"
+
+do_install() {
+	install -d ${D}${sysconfdir}/avahi/services
+	install -m 0644 ${WORKDIR}/bugdevice.service ${D}${sysconfdir}/avahi/services/
+}
diff --git a/recipes/buglabs/bug-avahi/bugdevice.service b/recipes/buglabs/bug-avahi/bugdevice.service
new file mode 100644
index 0000000..60f8fba
--- /dev/null
+++ b/recipes/buglabs/bug-avahi/bugdevice.service
@@ -0,0 +1,16 @@
+<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
+<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
+<!-- this is the bugdevice service for avahi which
+     allows BUGs to be found via mDNS-->
+<service-group>
+
+  <name replace-wildcards="yes">%h</name>
+
+  <service protocol="ipv4">
+    <type>_bugdevice._tcp</type>
+    <port>80</port>
+  </service>
+
+</service-group>
+
+





More information about the Openembedded-commits mailing list