1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

- Switch to @sample

This commit is contained in:
Dmitry Marakasov 2015-09-27 22:33:21 +00:00
parent 7499800534
commit 90d5e0a5d8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=398065
2 changed files with 3 additions and 7 deletions

View File

@ -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}

View File

@ -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