Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Nov 2016 20:21:05 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r425803 - in head/dns/openmdns: . files
Message-ID:  <201611092021.uA9KL5FB052927@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611092021.uA9KL5FB052927>