diff options
Diffstat (limited to 'security')
-rw-r--r-- | security/bruteblock/Makefile | 2 | ||||
-rw-r--r-- | security/bruteblock/pkg-plist | 8 |
2 files changed, 3 insertions, 7 deletions
diff --git a/security/bruteblock/Makefile b/security/bruteblock/Makefile index ab7b2c04aa88..2a2168b5e59d 100644 --- a/security/bruteblock/Makefile +++ b/security/bruteblock/Makefile @@ -29,7 +29,7 @@ do-install: ${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 + ${INSTALL_DATA} ${WRKSRC}/etc/${file}.conf ${STAGEDIR}${CONFDIR}/${file}.conf.sample .endfor ${INSTALL_MAN} ${WRKSRC}/doc/bruteblock.8 ${STAGEDIR}${MAN8PREFIX}/man/man8/ ${MKDIR} ${STAGEDIR}${DOCSDIR} diff --git a/security/bruteblock/pkg-plist b/security/bruteblock/pkg-plist index fb4fdf3a9ec5..ef8db0444e65 100644 --- a/security/bruteblock/pkg-plist +++ b/security/bruteblock/pkg-plist @@ -1,9 +1,5 @@ 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 %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 %B/ssh.conf ]; then cp -p %D/%F %B/ssh.conf; fi +@sample etc/bruteblock/proftpd.conf.sample +@sample etc/bruteblock/ssh.conf.sample man/man8/bruteblock.8.gz |