diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-07-12 21:54:50 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-07-12 21:54:50 +0000 |
commit | fba5c42d88b6a43ee62877258e219dc1ef0b0699 (patch) | |
tree | 17069c60f905e831c37c3aec7d7451b36fa1dbc6 /security/portsentry | |
parent | 306503e1041e62a79ef3105aff743ac638718ef5 (diff) | |
download | ports-fba5c42d88b6a43ee62877258e219dc1ef0b0699.tar.gz ports-fba5c42d88b6a43ee62877258e219dc1ef0b0699.zip |
Notes
Diffstat (limited to 'security/portsentry')
-rw-r--r-- | security/portsentry/Makefile | 5 | ||||
-rw-r--r-- | security/portsentry/pkg-plist | 9 |
2 files changed, 5 insertions, 9 deletions
diff --git a/security/portsentry/Makefile b/security/portsentry/Makefile index ca7b71755948..c02ec369cc31 100644 --- a/security/portsentry/Makefile +++ b/security/portsentry/Makefile @@ -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/ diff --git a/security/portsentry/pkg-plist b/security/portsentry/pkg-plist index 22c66bd1f419..98d8f62e0344 100644 --- a/security/portsentry/pkg-plist +++ b/security/portsentry/pkg-plist @@ -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%% |