diff --git a/dns/dnsproxy/Makefile b/dns/dnsproxy/Makefile index f7d67792f6a4..255b314f4705 100644 --- a/dns/dnsproxy/Makefile +++ b/dns/dnsproxy/Makefile @@ -1,32 +1,32 @@ PORTNAME= dnsproxy PORTVERSION= 1.17 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= dns MASTER_SITES= http://www.wolfermann.org/ MAINTAINER= krion@FreeBSD.org COMMENT= Proxy for DNS queries WWW= https://www.wolfermann.org/dnsproxy.html LICENSE= MIT LIB_DEPENDS= libevent.so:devel/libevent GNU_CONFIGURE= yes USES= groff USE_RC_SUBR= dnsproxy PLIST_FILES= etc/${PORTNAME}/dnsproxy.conf.sample \ share/man/man1/dnsproxy.1.gz \ sbin/dnsproxy SUB_FILES= pkg-message do-install: ${INSTALL_PROGRAM} ${WRKSRC}/dnsproxy ${STAGEDIR}${PREFIX}/sbin ${INSTALL_MAN} ${WRKSRC}/dnsproxy.1 ${STAGEDIR}${PREFIX}/share/man/man1 @${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKSRC}/dnsproxy.conf ${STAGEDIR}${ETCDIR}/dnsproxy.conf.sample .include diff --git a/dns/dnsproxy/files/dnsproxy.in b/dns/dnsproxy/files/dnsproxy.in index 1b455d6eabfb..1ac6ce1e33ab 100644 --- a/dns/dnsproxy/files/dnsproxy.in +++ b/dns/dnsproxy/files/dnsproxy.in @@ -1,29 +1,30 @@ #!/bin/sh # PROVIDE: dnsproxy # REQUIRE: NETWORKING SERVERS # BEFORE: DAEMON # KEYWORD: shutdown # # Define these dnsproxy_* variables in one of these files: # /etc/rc.conf # /etc/rc.conf.local # # dnsproxy_enable="YES" # Run the dnsproxy(1) daemon (YES/NO). # dnsproxy_flags="" # Extra flags for dnsproxy(1) (if enabled). # # DO NOT CHANGE THESE DEFAULT VALUES HERE # dnsproxy_enable=${dnsproxy_enable:-"NO"} +: ${dnsproxy_svcj_options:="net_basic"} command_args=${dnsproxy_flags:-"-c %%ETCDIR%%/dnsproxy.conf -d"} . /etc/rc.subr name="dnsproxy" rcvar=dnsproxy_enable command="%%PREFIX%%/sbin/dnsproxy" load_rc_config $name run_rc_command "$1"