Index: head/security/bruteblock/Makefile =================================================================== --- head/security/bruteblock/Makefile (revision 383719) +++ head/security/bruteblock/Makefile (revision 383720) @@ -1,40 +1,40 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= bruteblock PORTVERSION= 0.0.5 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= security MASTER_SITES= http://samm.kiev.ua/bruteblock/ \ http://mirror.amdmi3.ru/distfiles/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Software for blocking bruteforce attacks with ipfw LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre PKGMESSAGE= ${WRKDIR}/pkg-message SUB_FILES= pkg-message USE_RC_SUBR= bruteblockd CONFDIR= ${PREFIX}/etc/${PORTNAME} PORTDOCS= FAQ README CHANGES OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bruteblock ${STAGEDIR}${PREFIX}/sbin/ ${INSTALL_PROGRAM} ${WRKSRC}/bruteblockd ${STAGEDIR}${PREFIX}/sbin/ ${MKDIR} ${STAGEDIR}${CONFDIR} .for file in ssh proftpd ${INSTALL_DATA} ${WRKSRC}/etc/${file}.conf ${STAGEDIR}${CONFDIR}/${file}.conf.dist .endfor ${INSTALL_MAN} ${WRKSRC}/doc/bruteblock.8 ${STAGEDIR}${MAN8PREFIX}/man/man8/ ${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${STAGEDIR}${DOCSDIR}/ .endfor .include Index: head/security/bruteblock/files/bruteblockd.in =================================================================== --- head/security/bruteblock/files/bruteblockd.in (revision 383719) +++ head/security/bruteblock/files/bruteblockd.in (revision 383720) @@ -1,30 +1,30 @@ #!/bin/sh # $FreeBSD$ # # PROVIDE: bruteblockd -# REQUIRE: NETWORKING syslogd +# REQUIRE: NETWORKING syslogd ldconfig # KEYWORD: nojail . /etc/rc.subr name="bruteblockd" rcvar=bruteblockd_enable load_rc_config $name : ${bruteblockd_enable="NO"} pidfile="/var/run/${name}.pid" command=%%PREFIX%%/sbin/${name} command_args="-p ${pidfile} -t ${bruteblockd_table}" start_precmd="bruteblockd_precmd" bruteblockd_precmd() { if [ -z "${bruteblockd_table}" ]; then err 1 "Please specify ipfw table number with bruteblockd_table parameter in /etc/rc.conf (see bruteblock(8))" fi } run_rc_command "$1"