Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jul 2015 21:54:51 +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: r391843 - head/security/portsentry
Message-ID:  <201507122154.t6CLspdP056258@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Jul 12 21:54:50 2015
New Revision: 391843
URL: https://svnweb.freebsd.org/changeset/ports/391843

Log:
  - Switch to @sample
  - Drop @dirrm* from plist
  
  Approved by:	portmgr blanket

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

Modified: head/security/portsentry/Makefile
==============================================================================
--- head/security/portsentry/Makefile	Sun Jul 12 21:54:04 2015	(r391842)
+++ head/security/portsentry/Makefile	Sun Jul 12 21:54:50 2015	(r391843)
@@ -3,6 +3,7 @@
 
 PORTNAME=	portsentry
 PORTVERSION=	1.2
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	SF/sentrytools/${PORTNAME}%201.x/${PORTNAME}-${PORTVERSION}
 
@@ -23,9 +24,9 @@ post-patch:
 
 do-install:
 	${INSTALL_DATA} ${WRKSRC}/portsentry.conf \
-		${STAGEDIR}${PREFIX}/etc/portsentry.conf.default
+		${STAGEDIR}${PREFIX}/etc/portsentry.conf.sample
 	${INSTALL_DATA} ${WRKSRC}/portsentry.ignore \
-		${STAGEDIR}${PREFIX}/etc/portsentry.ignore.default
+		${STAGEDIR}${PREFIX}/etc/portsentry.ignore.sample
 	${INSTALL_PROGRAM} ${WRKSRC}/portsentry \
 		${STAGEDIR}${PREFIX}/bin
 	${INSTALL_SCRIPT} ${WRKDIR}/portsentry.sh ${STAGEDIR}${PREFIX}/etc/rc.d/

Modified: head/security/portsentry/pkg-plist
==============================================================================
--- head/security/portsentry/pkg-plist	Sun Jul 12 21:54:04 2015	(r391842)
+++ head/security/portsentry/pkg-plist	Sun Jul 12 21:54:50 2015	(r391843)
@@ -1,12 +1,7 @@
 bin/portsentry
 etc/rc.d/portsentry.sh
-@unexec if cmp -s %D/etc/portsentry.conf %D/etc/portsentry.conf.default; then rm -f %D/etc/portsentry.conf; fi
-etc/portsentry.conf.default
-@exec if [ ! -f %D/etc/portsentry.conf ] ; then cp -p %B/portsentry.conf %D/etc/portsentry.conf ; fi
-@unexec if cmp -s %D/etc/portsentry.ignore %D/etc/portsentry.ignore.default; then rm -f %D/etc/portsentry.ignore; fi
-etc/portsentry.ignore.default
-@exec if [ ! -f %D/etc/portsentry.ignore ] ; then cp -p %B/portsentry.ignore %D/etc/portsentry.ignore ; fi
+@sample etc/portsentry.conf.sample
+@sample etc/portsentry.ignore.sample
 %%PORTDOCS%%%%DOCSDIR%%/README.install
 %%PORTDOCS%%%%DOCSDIR%%/README.methods
 %%PORTDOCS%%%%DOCSDIR%%/README.stealth
-%%PORTDOCS%%@dirrm %%DOCSDIR%%



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