aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-08-23 18:47:15 +0800
committerrafan <rafan@FreeBSD.org>2006-08-23 18:47:15 +0800
commitcde399867a27101fe962a81880a84a0273e448f2 (patch)
tree91f9fce3a55aaff3e94a0953970b4ba188253881 /security
parentb518827ac2d3a6641d8178280a5d444d59d7af07 (diff)
downloadfreebsd-ports-gnome-cde399867a27101fe962a81880a84a0273e448f2.tar.gz
freebsd-ports-gnome-cde399867a27101fe962a81880a84a0273e448f2.tar.zst
freebsd-ports-gnome-cde399867a27101fe962a81880a84a0273e448f2.zip
- 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)
Diffstat (limited to 'security')
-rw-r--r--security/bruteblock/Makefile12
-rw-r--r--security/bruteblock/distinfo6
-rw-r--r--security/bruteblock/pkg-plist3
3 files changed, 16 insertions, 5 deletions
diff --git a/security/bruteblock/Makefile b/security/bruteblock/Makefile
index 4caa2634e74f..3a31f33dfd9d 100644
--- a/security/bruteblock/Makefile
+++ b/security/bruteblock/Makefile
@@ -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)
diff --git a/security/bruteblock/distinfo b/security/bruteblock/distinfo
index cbf9a686bff1..6515b3db8e75 100644
--- a/security/bruteblock/distinfo
+++ b/security/bruteblock/distinfo
@@ -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
diff --git a/security/bruteblock/pkg-plist b/security/bruteblock/pkg-plist
index 9a292b14bb6e..e0470a9fb25d 100644
--- a/security/bruteblock/pkg-plist
+++ b/security/bruteblock/pkg-plist
@@ -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