aboutsummaryrefslogtreecommitdiff
path: root/security/john/pkg-plist
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2005-12-31 04:28:08 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2005-12-31 04:28:08 +0000
commit92eaeee9b4825e756cad08a3219d67a291d5a1f4 (patch)
tree574f22f99f9e1e655e1f2fbbf02d5628ca59a3bf /security/john/pkg-plist
parent577db63a2d3faad282bd410e9334128427ce6987 (diff)
downloadports-92eaeee9b4825e756cad08a3219d67a291d5a1f4.tar.gz
ports-92eaeee9b4825e756cad08a3219d67a291d5a1f4.zip
- Update to 1.6.40
- Be more picky about whats PORTDOCS and what not - Moved john.conf from ${DATADIR} to ${PREFIX}/etc - Preserve existing/changed config file on install/deinstall - Remove files/patch-john.conf
Notes
Notes: svn path=/head/; revision=152468
Diffstat (limited to 'security/john/pkg-plist')
-rw-r--r--security/john/pkg-plist7
1 files changed, 5 insertions, 2 deletions
diff --git a/security/john/pkg-plist b/security/john/pkg-plist
index b7788922c357..874e09ed9a7b 100644
--- a/security/john/pkg-plist
+++ b/security/john/pkg-plist
@@ -1,10 +1,13 @@
bin/john
bin/unshadow
bin/xtract
+@unexec if cmp -s %D/etc/john.conf %D/etc/john.conf.default; then rm -f %D/etc/john.conf; fi
+etc/john.conf.default
+@exec [ -f %B/john.conf ] || cp %B/%f %B/john.conf
%%DATADIR%%/all.chr
+%%DATADIR%%/alnum.chr
%%DATADIR%%/alpha.chr
%%DATADIR%%/digits.chr
%%DATADIR%%/lanman.chr
-%%DATADIR%%/john.conf
%%DATADIR%%/password.lst
-@dirrm share/john
+@dirrm %%DATADIR%%