- Switch to @sample
- Drop @dirrm* from plist Approved by: portmgr blanket
This commit is contained in:
parent
306503e104
commit
fba5c42d88
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=391843
2 changed files with 5 additions and 9 deletions
|
@ -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/
|
||||
|
|
|
@ -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%%
|
||||
|
|
Loading…
Reference in a new issue