aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-09-28 06:33:21 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-09-28 06:33:21 +0800
commit0057577daa8dd70920e2652c20b9e3cf2bf51d46 (patch)
tree8a9afb8c8c8336c20b6842940aad666e59398390 /security
parent93b94fdb6f2dff1418da2db902685db0c3ab07fe (diff)
downloadfreebsd-ports-gnome-0057577daa8dd70920e2652c20b9e3cf2bf51d46.tar.gz
freebsd-ports-gnome-0057577daa8dd70920e2652c20b9e3cf2bf51d46.tar.zst
freebsd-ports-gnome-0057577daa8dd70920e2652c20b9e3cf2bf51d46.zip
- Switch to @sample
Diffstat (limited to 'security')
-rw-r--r--security/bruteblock/Makefile2
-rw-r--r--security/bruteblock/pkg-plist8
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