Date: Wed, 7 Feb 2018 19:06:39 +0000 (UTC) From: Kurt Jaeger <pi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r461170 - in head/net/avahi-app: . files Message-ID: <201802071906.w17J6dCn065530@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pi Date: Wed Feb 7 19:06:39 2018 New Revision: 461170 URL: https://svnweb.freebsd.org/changeset/ports/461170 Log: net/avahi-app: fix rc scripts for a working 'service avahi-daemon status' PR: 206325 Submitted by: Yuichiro NAITO <naito.yuichiro@gmail.com> Reviewed by: w.schwarzenfeld@utanet.at Modified: head/net/avahi-app/Makefile head/net/avahi-app/files/patch-initscript_freebsd_avahi-daemon.sh.in head/net/avahi-app/files/patch-initscript_freebsd_avahi-dnsconfd.sh.in Modified: head/net/avahi-app/Makefile ============================================================================== --- head/net/avahi-app/Makefile Wed Feb 7 18:42:17 2018 (r461169) +++ head/net/avahi-app/Makefile Wed Feb 7 19:06:39 2018 (r461170) @@ -3,7 +3,7 @@ PORTNAME= avahi PORTVERSION= 0.6.31 -PORTREVISION?= 5 +PORTREVISION?= 6 CATEGORIES?= net dns MASTER_SITES= http://www.avahi.org/download/ PKGNAMESUFFIX?= -app Modified: head/net/avahi-app/files/patch-initscript_freebsd_avahi-daemon.sh.in ============================================================================== --- head/net/avahi-app/files/patch-initscript_freebsd_avahi-daemon.sh.in Wed Feb 7 18:42:17 2018 (r461169) +++ head/net/avahi-app/files/patch-initscript_freebsd_avahi-daemon.sh.in Wed Feb 7 19:06:39 2018 (r461170) @@ -1,6 +1,6 @@ ---- initscript/freebsd/avahi-daemon.sh.in.orig 2010-08-26 00:51:39 UTC -+++ initscript/freebsd/avahi-daemon.sh.in -@@ -9,13 +9,15 @@ +--- initscript/freebsd/avahi-daemon.sh.in.orig 2010-08-26 09:51:39.036153000 +0900 ++++ initscript/freebsd/avahi-daemon.sh.in 2016-01-17 11:59:38.578756000 +0900 +@@ -9,18 +9,22 @@ # Avahi's mDNSResponder, a Zeroconf (Bonjour) service advertisement daemon. # @@ -18,3 +18,10 @@ start_cmd=avahi_daemon_start stop_cmd=avahi_daemon_stop + + avahi_daemon_bin=@sbindir@/avahi-daemon ++command=${avahi_daemon_bin} ++pidfile="/var/run/avahi-daemon/pid" + + avahi_daemon_start() { + checkyesno avahi_daemon_enable && echo "Starting avahi-daemon." && \ Modified: head/net/avahi-app/files/patch-initscript_freebsd_avahi-dnsconfd.sh.in ============================================================================== --- head/net/avahi-app/files/patch-initscript_freebsd_avahi-dnsconfd.sh.in Wed Feb 7 18:42:17 2018 (r461169) +++ head/net/avahi-app/files/patch-initscript_freebsd_avahi-dnsconfd.sh.in Wed Feb 7 19:06:39 2018 (r461170) @@ -1,6 +1,6 @@ ---- initscript/freebsd/avahi-dnsconfd.sh.in.orig 2010-08-26 00:51:39 UTC -+++ initscript/freebsd/avahi-dnsconfd.sh.in -@@ -12,13 +12,15 @@ +--- initscript/freebsd/avahi-dnsconfd.sh.in.orig 2010-08-26 09:51:39.037153000 +0900 ++++ initscript/freebsd/avahi-dnsconfd.sh.in 2016-01-17 11:59:50.394307000 +0900 +@@ -12,18 +12,22 @@ # DNS servers in a DHCP-like fashion with mDNS. # @@ -18,3 +18,10 @@ start_cmd=avahi_dnsconfd_start stop_cmd=avahi_dnsconfd_stop + + avahi_dnsconfd_bin=@sbindir@/avahi-dnsconfd ++command=${avahi_dnsconfd_bin} ++pidfile="/var/run/avahi-dnsconfd.pid" + + avahi_dnsconfd_start() { + checkyesno avahi_dnsconfd_enable && echo "Starting avahi-dnsconfd." && \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802071906.w17J6dCn065530>