diff --git a/dns/adsuck/Makefile b/dns/adsuck/Makefile index 41e3344fdd7f..17c545ca11a4 100644 --- a/dns/adsuck/Makefile +++ b/dns/adsuck/Makefile @@ -1,40 +1,40 @@ PORTNAME= adsuck PORTVERSION= 2.3 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= dns MASTER_SITES= http://opensource.conformal.com/snapshots/adsuck/ \ http://philpep.org/pub/ EXTRACT_SUFX= .tgz MAINTAINER= phil@philpep.org COMMENT= DNS relay for ad blocking WWW= http://opensource.conformal.com/wiki/Adsuck DEPRECATED= Obsolete, no longer relevant EXPIRATION_DATE=2024-05-31 LICENSE= ISCL LIB_DEPENDS+= libevent.so:devel/libevent \ libldns.so:dns/ldns USES= localbase USE_RC_SUBR= adsuck USERS= _adsuck GROUPS= _adsuck SUB_FILES+= pkg-message OPTIONS_DEFINE= EXAMPLES do-install: ${INSTALL_PROGRAM} ${WRKSRC}/adsuck ${STAGEDIR}${PREFIX}/sbin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8.gz ${STAGEDIR}${PREFIX}/share/man/man8 do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/files/* ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/dns/adsuck/files/adsuck.in b/dns/adsuck/files/adsuck.in index 11827e4fec06..9917f27d755e 100644 --- a/dns/adsuck/files/adsuck.in +++ b/dns/adsuck/files/adsuck.in @@ -1,25 +1,26 @@ #!/bin/sh # PROVIDE: adsuck # REQUIRE: DAEMON # KEYWORD: shutdown # # Add the following lines to /etc/rc.conf.local or /etc/rc.conf # to enable adsuck: # # adsuck_enable (bool): Set to NO by default. . /etc/rc.subr name="adsuck" rcvar=adsuck_enable command=%%PREFIX%%/sbin/${name} extra_commands="reload" load_rc_config $name : ${adsuck_enable="NO"} +: ${adsuck_svcj_options="net_basic"} : ${adsuck_flags="-c /var/adsuck -f resolv.conf -r regex Hosts.blc Hosts.pub Hosts.rsk Hosts.trc hosts.small hosts.yoyo"} run_rc_command "$1"