1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

- Update to 0.0.5

PR:		ports/102310 (based on)
Submitted by:	Alex Samorukov <samm@os2.kiev.ua>
Approved by:	Dmitry Marakasov <amdmi3@mail.ru> (maintainer)
This commit is contained in:
Rong-En Fan 2006-08-23 10:47:15 +00:00
parent 39fdff0a64
commit 3802aec851
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=171255
3 changed files with 16 additions and 5 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= bruteblock
PORTVERSION= 0.0.4
PORTVERSION= 0.0.5
CATEGORIES= security
MASTER_SITES= http://samm.kiev.ua/bruteblock/
@ -23,6 +23,8 @@ MAN8= bruteblock.8
CONFDIR= ${PREFIX}/etc/${PORTNAME}
PORTDOCS= FAQ README CHANGES
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 503000
@ -33,13 +35,19 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bruteblock ${PREFIX}/sbin/
${INSTALL_PROGRAM} ${WRKSRC}/bruteblockd ${PREFIX}/sbin/
${MKDIR} ${PREFIX}/etc/bruteblock
.for file in ssh # more configs are planned to be added
.for file in ssh proftpd
${INSTALL_DATA} ${WRKSRC}/etc/${file}.conf ${CONFDIR}/${file}.conf.dist
if [ ! -f ${CONFDIR}/${file}.conf ]; then \
${INSTALL_DATA} ${CONFDIR}/${file}.conf.dist ${CONFDIR}/${file}.conf; \
fi
.endfor
${INSTALL_MAN} ${WRKSRC}/doc/bruteblock.8 ${PREFIX}/man/man8/
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/doc/FAQ ${DOCSDIR}/
@${INSTALL_DATA} ${WRKSRC}/doc/README ${DOCSDIR}/
@${INSTALL_DATA} ${WRKSRC}/doc/CHANGES ${DOCSDIR}/
.endif
post-install:
.if !defined(BATCH)

View File

@ -1,3 +1,3 @@
MD5 (bruteblock-0.0.4.tar.gz) = 01f2a300dd4abb28fc377de5848aa80e
SHA256 (bruteblock-0.0.4.tar.gz) = f13df7f866842c4f32b7d6b13df0fac3250a41f646602581452af623c790159b
SIZE (bruteblock-0.0.4.tar.gz) = 24170
MD5 (bruteblock-0.0.5.tar.gz) = 764ee1dac21a32cd3f1778164c206bac
SHA256 (bruteblock-0.0.5.tar.gz) = 7c7ef533b27be1d72e43a7fa6828896124a4f22808f2a0ecca2e587e1563e253
SIZE (bruteblock-0.0.5.tar.gz) = 24971

View File

@ -1,5 +1,8 @@
sbin/bruteblock
sbin/bruteblockd
@unexec if cmp -s %D/etc/bruteblock/proftpd.conf.dist %D/etc/bruteblock/proftpd.conf; then rm -f %D/etc/bruteblock/proftpd.conf; fi
etc/bruteblock/proftpd.conf.dist
@exec if [ ! -f %D/etc/bruteblock/proftpd.conf ]; then cp -p %D/%F %B/bruteblock/proftpd.conf; fi
@unexec if cmp -s %D/etc/bruteblock/ssh.conf.dist %D/etc/bruteblock/ssh.conf; then rm -f %D/etc/bruteblock/ssh.conf; fi
etc/bruteblock/ssh.conf.dist
@exec if [ ! -f %D/etc/bruteblock/ssh.conf ]; then cp -p %D/%F %B/bruteblock/ssh.conf; fi