summaryrefslogtreecommitdiffstats
path: root/net/avahi-app
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2012-01-16 02:18:36 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2012-01-16 02:18:36 +0800
commit0c3e77ebfdcdfed3f0f62c35601c09df55dca94f (patch)
tree46610773ca376a4c32e4afa8e99f42bd0f4e371d /net/avahi-app
parent47225dac08ec59cdb6b9373c1f81f513b93f8b83 (diff)
downloadmarcuscom-ports-0c3e77ebfdcdfed3f0f62c35601c09df55dca94f.tar
marcuscom-ports-0c3e77ebfdcdfed3f0f62c35601c09df55dca94f.tar.gz
marcuscom-ports-0c3e77ebfdcdfed3f0f62c35601c09df55dca94f.tar.bz2
marcuscom-ports-0c3e77ebfdcdfed3f0f62c35601c09df55dca94f.tar.lz
marcuscom-ports-0c3e77ebfdcdfed3f0f62c35601c09df55dca94f.tar.xz
marcuscom-ports-0c3e77ebfdcdfed3f0f62c35601c09df55dca94f.tar.zst
marcuscom-ports-0c3e77ebfdcdfed3f0f62c35601c09df55dca94f.zip
Chase FreeBSD ports, removal of set_rcvar() on 10.0-Current.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@16637 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net/avahi-app')
-rw-r--r--net/avahi-app/files/patch-initscript_freebsd_avahi-daemon.sh.in15
-rw-r--r--net/avahi-app/files/patch-initscript_freebsd_avahi-dnsconfd.sh.in15
2 files changed, 18 insertions, 12 deletions
diff --git a/net/avahi-app/files/patch-initscript_freebsd_avahi-daemon.sh.in b/net/avahi-app/files/patch-initscript_freebsd_avahi-daemon.sh.in
index b50a9e875..9ee6242e7 100644
--- a/net/avahi-app/files/patch-initscript_freebsd_avahi-daemon.sh.in
+++ b/net/avahi-app/files/patch-initscript_freebsd_avahi-daemon.sh.in
@@ -1,17 +1,20 @@
---- initscript/freebsd/avahi-daemon.sh.in.orig Sun Nov 5 12:35:16 2006
-+++ initscript/freebsd/avahi-daemon.sh.in Sun Nov 5 12:36:51 2006
-@@ -9,10 +9,12 @@
+--- initscript/freebsd/avahi-daemon.sh.in.orig 2010-06-25 02:54:22.000000000 +0200
++++ initscript/freebsd/avahi-daemon.sh.in 2012-01-15 19:03:55.000000000 +0100
+@@ -9,13 +9,15 @@
# Avahi's mDNSResponder, a Zeroconf (Bonjour) service advertisement daemon.
#
-avahi_daemon_enable=${avahi_daemon_enable-"NO"}
avahi_daemon_flags=${avahi_daemon_flags-"-D"}
--. /etc/rc.subr
-+. /etc/rc.subr
+ . /etc/rc.subr
+. %%GNOME_SUBR%%
+
+avahi_daemon_enable=${avahi_daemon_enable-${gnome_enable}}
name=avahi_daemon
- rcvar=`set_rcvar`
+-rcvar=`set_rcvar`
++rcvar=avahi_daemon_enable
+
+ start_cmd=avahi_daemon_start
+ stop_cmd=avahi_daemon_stop
diff --git a/net/avahi-app/files/patch-initscript_freebsd_avahi-dnsconfd.sh.in b/net/avahi-app/files/patch-initscript_freebsd_avahi-dnsconfd.sh.in
index 71c4343a1..b12875709 100644
--- a/net/avahi-app/files/patch-initscript_freebsd_avahi-dnsconfd.sh.in
+++ b/net/avahi-app/files/patch-initscript_freebsd_avahi-dnsconfd.sh.in
@@ -1,17 +1,20 @@
---- initscript/freebsd/avahi-dnsconfd.sh.in.orig Sun Nov 5 12:35:20 2006
-+++ initscript/freebsd/avahi-dnsconfd.sh.in Sun Nov 5 12:36:24 2006
-@@ -12,10 +12,12 @@
+--- initscript/freebsd/avahi-dnsconfd.sh.in.orig 2010-06-25 02:54:22.000000000 +0200
++++ initscript/freebsd/avahi-dnsconfd.sh.in 2012-01-15 19:04:25.000000000 +0100
+@@ -12,13 +12,15 @@
# DNS servers in a DHCP-like fashion with mDNS.
#
-avahi_dnsconfd_enable=${avahi_dnsconfd_enable-"NO"}
avahi_dnsconfd_flags=${avahi_dnsconfd_flags-"-D"}
--. /etc/rc.subr
-+. /etc/rc.subr
+ . /etc/rc.subr
+. %%GNOME_SUBR%%
+
+avahi_dnsconfd_enable=${avahi_dnsconfd_enable-${gnome_enable}}
name=avahi_dnsconfd
- rcvar=`set_rcvar`
+-rcvar=`set_rcvar`
++rcvar=avahi_dnsconfd_enable
+
+ start_cmd=avahi_dnsconfd_start
+ stop_cmd=avahi_dnsconfd_stop