diff --git a/security/bruteblock/Makefile b/security/bruteblock/Makefile index ee083b278f94..d96ed2b9e084 100644 --- a/security/bruteblock/Makefile +++ b/security/bruteblock/Makefile @@ -1,36 +1,40 @@ PORTNAME= bruteblock PORTVERSION= 0.0.5 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= security -MASTER_SITES= http://samm.kiev.ua/bruteblock/ \ - http://mirror.amdmi3.ru/distfiles/ +MASTER_SITES= https://samm.kiev.ua/bruteblock/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Software for blocking bruteforce attacks with ipfw +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/doc/LICENSE + LIB_DEPENDS= libpcre.so:devel/pcre 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} + @${MKDIR} ${STAGEDIR}${CONFDIR} .for file in ssh proftpd ${INSTALL_DATA} ${WRKSRC}/etc/${file}.conf ${STAGEDIR}${CONFDIR}/${file}.conf.sample .endfor - ${INSTALL_MAN} ${WRKSRC}/doc/bruteblock.8 ${STAGEDIR}${MAN8PREFIX}/share/man/man8/ - ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/doc/bruteblock.8 ${STAGEDIR}${MAN8PREFIX}/man/man8/ + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${STAGEDIR}${DOCSDIR}/ .endfor .include diff --git a/security/bruteblock/files/pkg-message.in b/security/bruteblock/files/pkg-message.in index cc956b191ed5..5111df352449 100644 --- a/security/bruteblock/files/pkg-message.in +++ b/security/bruteblock/files/pkg-message.in @@ -1,31 +1,33 @@ [ { type: install message: <