svn commit: r425803 - in head/dns/openmdns: . files

Jan Beich jbeich at FreeBSD.org
Wed Nov 9 20:21:06 UTC 2016


Author: jbeich
Date: Wed Nov  9 20:21:05 2016
New Revision: 425803
URL: https://svnweb.freebsd.org/changeset/ports/425803

Log:
  dns/openmdns: fix interface selection in rc.d
  
  - Don't append default interface when /etc/rc.conf has mdnsd_flags
  - Switch to lo0 as a more predictable (but less useful) default interface
  
  PR:		214366
  Submitted by:	Dave Cottlehuber <dch at skunkwerks.at>

Modified:
  head/dns/openmdns/Makefile   (contents, props changed)
  head/dns/openmdns/files/mdnsd.in

Modified: head/dns/openmdns/Makefile
==============================================================================
--- head/dns/openmdns/Makefile	Wed Nov  9 19:13:25 2016	(r425802)
+++ head/dns/openmdns/Makefile	Wed Nov  9 20:21:05 2016	(r425803)
@@ -3,6 +3,7 @@
 PORTNAME=	openmdns
 DISTVERSION=	0.6-11
 DISTVERSIONSUFFIX=	-g2008828
+PORTREVISION=	1
 CATEGORIES=	dns
 
 MAINTAINER=	jbeich at FreeBSD.org

Modified: head/dns/openmdns/files/mdnsd.in
==============================================================================
--- head/dns/openmdns/files/mdnsd.in	Wed Nov  9 19:13:25 2016	(r425802)
+++ head/dns/openmdns/files/mdnsd.in	Wed Nov  9 20:21:05 2016	(r425803)
@@ -13,10 +13,10 @@ name="mdnsd"
 desc="%%COMMENT%%"
 rcvar="${name}_enable"
 command="%%PREFIX%%/sbin/${name}"
-command_args="em0"
 extra_commands="reload"
 
 : ${mdnsd_enable:="NO"}
+: ${mdnsd_flags:="lo0"}
 
 load_rc_config $name
 run_rc_command "$1"


More information about the svn-ports-head mailing list