diff options
author | Will Andrews <will@FreeBSD.org> | 2000-12-21 19:42:04 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2000-12-21 19:42:04 +0000 |
commit | e816a00130063164591437dc11890b81262dd0d1 (patch) | |
tree | de1bcbde18f9575817d2dd289a70dddf7b9b97ed /security/portsentry | |
parent | Explictly link against libgcc_r, to work around bugs in 4.2-RELEASE onwards (diff) |
Detect of portsentry.conf hasn't changed and delete on uninstall if true.
PR: 23659
Submitted by: David W. Chapman, Jr. <dwcjr@inethouston.net>
Approved by: Dan Langille <dan@langille.org> (MAINTAINER)
Notes
Notes:
svn path=/head/; revision=36206
Diffstat (limited to 'security/portsentry')
-rw-r--r-- | security/portsentry/pkg-plist | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/security/portsentry/pkg-plist b/security/portsentry/pkg-plist index bdea2fd1c390..5ecc8a262caf 100644 --- a/security/portsentry/pkg-plist +++ b/security/portsentry/pkg-plist @@ -1,4 +1,5 @@ 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 %D/%F %B/portsentry.conf; fi etc/portsentry.ignore |