mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-06 16:58:24 +00:00
avahi-ui: add 0.6.30
Reuse as much as possible from oe-core Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
29
meta-oe/recipes-connectivity/avahi/avahi-ui_0.6.30.bb
Normal file
29
meta-oe/recipes-connectivity/avahi/avahi-ui_0.6.30.bb
Normal file
@@ -0,0 +1,29 @@
|
||||
# reuse oe-core include:
|
||||
require recipes-connectivity/avahi/avahi.inc
|
||||
|
||||
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1 \
|
||||
file://avahi-common/address.h;endline=25;md5=b1d1d2cda1c07eb848ea7d6215712d9d \
|
||||
file://avahi-core/dns.h;endline=23;md5=6fe82590b81aa0ddea5095b548e2fdcb \
|
||||
file://avahi-daemon/main.c;endline=21;md5=9ee77368c5407af77caaef1b07285969 \
|
||||
file://avahi-client/client.h;endline=23;md5=f4ac741a25c4f434039ba3e18c8674cf"
|
||||
|
||||
SRC_URI[md5sum] = "e4db89a2a403ff4c47d66ac66fad1f43"
|
||||
SRC_URI[sha256sum] = "f9e4316c2339d0020726edd846d01bee0c39980906db0c247479e5807457ff1f"
|
||||
|
||||
|
||||
DEPENDS += "avahi gtk+"
|
||||
|
||||
EXTRA_OECONF += "--enable-gtk --disable-gtk3"
|
||||
|
||||
S = "${WORKDIR}/avahi-${PV}"
|
||||
|
||||
PACKAGES = "${PN} ${PN}-utils ${PN}-dbg ${PN}-dev"
|
||||
|
||||
FILES_${PN} = "${libdir}/libavahi-ui*.so.*"
|
||||
FILES_${PN}-dbg += "${libdir}/.debug/libavah-ui*"
|
||||
FILES_${PN}-dev += "${libdir}/libavahi-ui*"
|
||||
|
||||
FILES_${PN}-utils = "${bindir}/b* ${datadir}/applications/b*"
|
||||
|
||||
|
||||
10
meta-oe/recipes-connectivity/avahi/files/00avahi-autoipd
Normal file
10
meta-oe/recipes-connectivity/avahi/files/00avahi-autoipd
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
[ -z "$1" ] && echo "Error: should be called from udhcpc" && exit 1
|
||||
|
||||
case "$1" in
|
||||
|
||||
deconfig|renew|bound)
|
||||
/usr/sbin/avahi-autoipd -k $interface 2> /dev/null
|
||||
;;
|
||||
esac
|
||||
10
meta-oe/recipes-connectivity/avahi/files/99avahi-autoipd
Normal file
10
meta-oe/recipes-connectivity/avahi/files/99avahi-autoipd
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
[ -z "$1" ] && echo "Error: should be called from udhcpc" && exit 1
|
||||
|
||||
case "$1" in
|
||||
|
||||
leasefail)
|
||||
/usr/sbin/avahi-autoipd -wD $interface 2> /dev/null
|
||||
;;
|
||||
esac
|
||||
41
meta-oe/recipes-connectivity/avahi/files/initscript.patch
Normal file
41
meta-oe/recipes-connectivity/avahi/files/initscript.patch
Normal file
@@ -0,0 +1,41 @@
|
||||
Upstream-Status: Pending
|
||||
|
||||
diff --git a/initscript/debian/avahi-daemon.in b/initscript/debian/avahi-daemon.in
|
||||
index 30a2c2f..b5848a8 100755
|
||||
--- a/initscript/debian/avahi-daemon.in
|
||||
+++ b/initscript/debian/avahi-daemon.in
|
||||
@@ -1,2 +1,14 @@
|
||||
#!/bin/sh
|
||||
-
|
||||
+### BEGIN INIT INFO
|
||||
+# Provides: avahi
|
||||
+# Required-Start: $remote_fs dbus
|
||||
+# Required-Stop: $remote_fs dbus
|
||||
+# Should-Start: $syslog
|
||||
+# Should-Stop: $syslog
|
||||
+# Default-Start: 2 3 4 5
|
||||
+# Default-Stop: 0 1 6
|
||||
+# Short-Description: Avahi mDNS/DNS-SD Daemon
|
||||
+# Description: Zeroconf daemon for configuring your network
|
||||
+# automatically
|
||||
+### END INIT INFO
|
||||
+#
|
||||
diff --git a/initscript/debian/avahi-dnsconfd.in b/initscript/debian/avahi-dnsconfd.in
|
||||
index ac34804..f95c340 100755
|
||||
--- a/initscript/debian/avahi-dnsconfd.in
|
||||
+++ b/initscript/debian/avahi-dnsconfd.in
|
||||
@@ -1,1 +1,14 @@
|
||||
#!/bin/sh
|
||||
+### BEGIN INIT INFO
|
||||
+# Provides: avahi-dnsconfd
|
||||
+# Required-Start: $remote_fs avahi
|
||||
+# Required-Stop: $remote_fs avahi
|
||||
+# Should-Start: $syslog
|
||||
+# Should-Stop: $syslog
|
||||
+# Default-Start: 2 3 4 5
|
||||
+# Default-Stop: 0 1 6
|
||||
+# Short-Description: Avahi mDNS/DNS-SD DNS configuration
|
||||
+# Description: Zeroconf daemon for configuring your network
|
||||
+# automatically
|
||||
+### END INIT INFO
|
||||
+#
|
||||
Reference in New Issue
Block a user