1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Don't clobber portsentry.ignore on upgrade

PR:		ports/72689
Requested by:	Alex de Kruijff <freebsd@akruijff.dds.nl>
This commit is contained in:
Pav Lucistnik 2004-10-15 16:26:46 +00:00
parent b78a87f702
commit 0f1724b9b9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=119512
2 changed files with 4 additions and 2 deletions

View File

@ -23,7 +23,7 @@ post-patch:
do-install:
${INSTALL_DATA} ${WRKSRC}/portsentry.conf ${PREFIX}/etc/portsentry.conf.default
${INSTALL_DATA} ${WRKSRC}/portsentry.ignore ${PREFIX}/etc
${INSTALL_DATA} ${WRKSRC}/portsentry.ignore ${PREFIX}/etc/portsentry.ignore.default
${INSTALL_PROGRAM} ${WRKSRC}/portsentry ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}

View File

@ -2,7 +2,9 @@ bin/portsentry
@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
etc/portsentry.ignore
@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
share/doc/portsentry/README.install
share/doc/portsentry/README.methods
share/doc/portsentry/README.stealth