diff options
author | kwm <kwm@FreeBSD.org> | 2012-01-16 02:12:56 +0800 |
---|---|---|
committer | kwm <kwm@FreeBSD.org> | 2012-01-16 02:12:56 +0800 |
commit | 02681bb357ea52b922bfb07bc34bd9b536dc2860 (patch) | |
tree | de0a888c9ed5984f22e14a7377c51d946d6ea745 /net/avahi-app | |
parent | 8451b6351bad721acfc2b9040885c61a7c70b874 (diff) | |
download | freebsd-ports-gnome-02681bb357ea52b922bfb07bc34bd9b536dc2860.tar.gz freebsd-ports-gnome-02681bb357ea52b922bfb07bc34bd9b536dc2860.tar.zst freebsd-ports-gnome-02681bb357ea52b922bfb07bc34bd9b536dc2860.zip |
Update rc script for the removal of set_rcvar in 10.0-Current.
Diffstat (limited to 'net/avahi-app')
-rw-r--r-- | net/avahi-app/files/patch-initscript_freebsd_avahi-daemon.sh.in | 15 | ||||
-rw-r--r-- | net/avahi-app/files/patch-initscript_freebsd_avahi-dnsconfd.sh.in | 15 |
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 60f5ce6b09d0..9ee6242e7f96 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=avahi_daemon_enable +-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 d823b670e23c..b12875709139 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=avahi_dnsconfd_enable +-rcvar=`set_rcvar` ++rcvar=avahi_dnsconfd_enable + + start_cmd=avahi_dnsconfd_start + stop_cmd=avahi_dnsconfd_stop |