diff --git a/dns/utdns/Makefile b/dns/utdns/Makefile index 8e1e1e12fb1d..b91e6a435cf0 100644 --- a/dns/utdns/Makefile +++ b/dns/utdns/Makefile @@ -1,24 +1,26 @@ PORTNAME= utdns -PORTVERSION= 1.1 DISTVERSIONPREFIX= v +DISTVERSION= 1.1 +PORTREVISION= 1 CATEGORIES= dns MAINTAINER= ehaupt@FreeBSD.org COMMENT= Proxy UDP/DNS to TCP/DNS WWW= https://www.cypherpunk.at/2013/04/dnsudp-to-tcp-translator/ LICENSE= GPLv3 USES= autoreconf USE_GITHUB= yes -GNU_CONFIGURE= yes +GH_ACCOUNT= rahra USE_RC_SUBR= ${PORTNAME} -SUB_LIST= PORTNAME=${PORTNAME} -GH_ACCOUNT= rahra +GNU_CONFIGURE= yes CFLAGS+= -DSOCK_NONBLOCK=1 +SUB_LIST= PORTNAME=${PORTNAME} + PLIST_FILES= bin/utdns .include diff --git a/dns/utdns/files/utdns.in b/dns/utdns/files/utdns.in index 444e0376ce63..795be4549ed8 100644 --- a/dns/utdns/files/utdns.in +++ b/dns/utdns/files/utdns.in @@ -1,27 +1,28 @@ #!/bin/sh # PROVIDE: %%PORTNAME%% # REQUIRE: LOGIN # KEYWORD: shutdown # # Add the following lines to /etc/rc.conf.local or /etc/rc.conf # to enable this service: # # %%PORTNAME%%_enable (bool): Set to NO by default. # Set it to YES to enable it. # %%PORTNAME%%_flags: Additional flags (see utdns --help) . /etc/rc.subr name="%%PORTNAME%%" rcvar="${name}_enable" load_rc_config ${name} : ${utdns_enable:="NO"} +: ${utdns_svcj_options:="net_basic"} : ${utdns_flags:=" -b -4 -p 53 0.0.0.0"} command="%%PREFIX%%/bin/${name}" command_args='> /dev/null 2>&1' run_rc_command "$1"