diff --git a/dns/dnrd/Makefile b/dns/dnrd/Makefile index 82f524fa4d77..2cd649f4ae8d 100644 --- a/dns/dnrd/Makefile +++ b/dns/dnrd/Makefile @@ -1,53 +1,53 @@ PORTNAME= dnrd PORTVERSION= 2.20.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= dns MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Proxy DNS daemon WWW= https://dnrd.sourceforge.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING DEPRECATED= Abandonware, last release in 2007 and last activity in 2010. Consider using Unbound, dns/dnsmasq or dns/blocky EXPIRATION_DATE=2024-05-31 USES= cpe gmake USE_RC_SUBR= ${PORTNAME} GNU_CONFIGURE= yes USERS= dnrd GROUPS= dnrd PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README PORTEXAMPLES= README-cache README-cygwin README-master TODO master.sample OPTIONS_DEFINE= TCP MASTER DEBUG RANDOM DOCS EXAMPLES OPTIONS_DEFAULT=MASTER TCP_DESC= TCP support MASTER_DESC= Master file support RANDOM_DESC= Random source port TCP_CONFIGURE_ENABLE= tcp MASTER_CONFIGURE_ENABLE= master DEBUG_CONFIGURE_ENABLE= enable-debug RANDOM_CONFIGURE_ENABLE= random-src do-install: @${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_PROGRAM} ${WRKSRC}/src/dnrd ${STAGEDIR}${PREFIX}/sbin/ ${INSTALL_MAN} ${WRKSRC}/doc/dnrd.8 ${STAGEDIR}${PREFIX}/share/man/man8/ ${INSTALL_DATA} ${WRKSRC}/doc/master.sample ${STAGEDIR}${ETCDIR}/ do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/ do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${EXAMPLESDIR}/ .include diff --git a/dns/dnrd/files/dnrd.in b/dns/dnrd/files/dnrd.in index 1299de5e941e..4ce3d12fde92 100644 --- a/dns/dnrd/files/dnrd.in +++ b/dns/dnrd/files/dnrd.in @@ -1,31 +1,33 @@ #!/bin/sh # PROVIDE: dnrd # REQUIRE: DAEMON NETWORKING SERVERS # # Add the following line to /etc/rc.conf to enable dnrd: # # dnrd_enable="YES" # override these variables in /etc/rc.conf dnrd_enable=${dnrd_enable-"NO"} . /etc/rc.subr name=dnrd rcvar=dnrd_enable command=%%PREFIX%%/sbin/${name} pidfile=/var/run/${name}.pid +: ${dnrd_svcj_options:="net_basic"} + load_rc_config ${name} case $1 in "stop") echo "Stopping dnrd." ${command} -k ;; *) run_rc_command "$1" ;; esac