diff --git a/security/portsentry/Makefile b/security/portsentry/Makefile index ea1020193ba4..86f0cfc1e5f5 100644 --- a/security/portsentry/Makefile +++ b/security/portsentry/Makefile @@ -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} diff --git a/security/portsentry/pkg-plist b/security/portsentry/pkg-plist index 126875101524..85776fa59cbe 100644 --- a/security/portsentry/pkg-plist +++ b/security/portsentry/pkg-plist @@ -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