Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Sep 2015 22:33:22 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r398065 - head/security/bruteblock
Message-ID:  <201509272233.t8RMXMJB018979@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Sep 27 22:33:21 2015
New Revision: 398065
URL: https://svnweb.freebsd.org/changeset/ports/398065

Log:
  - Switch to @sample

Modified:
  head/security/bruteblock/Makefile
  head/security/bruteblock/pkg-plist

Modified: head/security/bruteblock/Makefile
==============================================================================
--- head/security/bruteblock/Makefile	Sun Sep 27 22:16:17 2015	(r398064)
+++ head/security/bruteblock/Makefile	Sun Sep 27 22:33:21 2015	(r398065)
@@ -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}

Modified: head/security/bruteblock/pkg-plist
==============================================================================
--- head/security/bruteblock/pkg-plist	Sun Sep 27 22:16:17 2015	(r398064)
+++ head/security/bruteblock/pkg-plist	Sun Sep 27 22:33:21 2015	(r398065)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509272233.t8RMXMJB018979>