diff --git a/dns/pdnsd/Makefile b/dns/pdnsd/Makefile index be1a39fe9874..6366a69cc561 100644 --- a/dns/pdnsd/Makefile +++ b/dns/pdnsd/Makefile @@ -1,43 +1,43 @@ PORTNAME= pdnsd PORTVERSION= 1.2.9a -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= dns MASTER_SITES= http://members.home.nl/p.a.rombouts/pdnsd/releases/ \ http://distfiles.pirateparty.in/ashish/ DISTNAME= ${PORTNAME}-${PORTVERSION}-par MAINTAINER= ashish@FreeBSD.org COMMENT= Caching (permanently, writes to disk on exit) DNS proxy-server WWW= http://members.home.nl/p.a.rombouts/pdnsd/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share USES= cpe gmake USE_RC_SUBR= pdnsd CONFIGURE_ARGS= --with-cachedir=${PDNSDB} \ --disable-src-addr-disc OPTIONS_DEFINE= IPV6 DOCS WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PDNSDB= /var/db/pdnsd DOCSRCDIR= ${WRKSRC}/doc DOC_FILES= html/dl.html html/doc.html html/faq.html html/index.html DOC_FILES+= txt/faq.txt txt/intro.txt txt/manual.txt CFLAGS+= -pthread IPV6_CONFIGURE_ENABLE= ipv6 post-install: @${RM} ${STAGEDIR}${PDNSDB}/pdnsd.cache post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @${INSTALL_DATA} ${DOC_FILES:S@^@${DOCSRCDIR}/@} ${STAGEDIR}${DOCSDIR} .include diff --git a/dns/pdnsd/files/pdnsd.in b/dns/pdnsd/files/pdnsd.in index 0d497057301b..d7a0dbab6b66 100644 --- a/dns/pdnsd/files/pdnsd.in +++ b/dns/pdnsd/files/pdnsd.in @@ -1,16 +1,18 @@ #!/bin/sh # PROVIDE: pdnsd # REQUIRE: netif # BEFORE: LOGIN . /etc/rc.subr name="pdnsd" rcvar=pdnsd_enable command="%%PREFIX%%/sbin/pdnsd" command_args="-d" required_files="%%PREFIX%%/etc/pdnsd.conf" +: ${pdnsd_svcj_options:="net_basic"} + load_rc_config $name run_rc_command "$1"