diff options
-rw-r--r-- | security/bruteblock/Makefile | 1 | ||||
-rw-r--r-- | security/bruteblock/pkg-plist | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/security/bruteblock/Makefile b/security/bruteblock/Makefile index 6c57f75b9795..fce5c6819303 100644 --- a/security/bruteblock/Makefile +++ b/security/bruteblock/Makefile @@ -7,6 +7,7 @@ PORTNAME= bruteblock PORTVERSION= 0.0.5 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://samm.kiev.ua/bruteblock/ \ http://www.amdmi3.ru/distfiles/ diff --git a/security/bruteblock/pkg-plist b/security/bruteblock/pkg-plist index e0470a9fb25d..76fc8519ab9f 100644 --- a/security/bruteblock/pkg-plist +++ b/security/bruteblock/pkg-plist @@ -2,8 +2,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 +@exec if [ ! -f %B/proftpd.conf ]; then cp -p %D/%F %B/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 +@exec if [ ! -f %B/ssh.conf ]; then cp -p %D/%F %B/ssh.conf; fi @dirrmtry etc/bruteblock |