summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2020-08-08 12:42:22 +0000
committerleot <leot@pkgsrc.org>2020-08-08 12:42:22 +0000
commit2b4877c87d42ba5b1c9873d367f6071877f23d32 (patch)
treedc85fa88f6b236e7bce368ff48d529055b13204e /security
parent3b59f4d6d3a6f7c28fb2fd1efeaf245f7dd2ceb8 (diff)
downloadpkgsrc-2b4877c87d42ba5b1c9873d367f6071877f23d32.tar.gz
john: install documentation
PKGREVISION++
Diffstat (limited to 'security')
-rw-r--r--security/john/Makefile11
-rw-r--r--security/john/PLIST9
2 files changed, 17 insertions, 3 deletions
diff --git a/security/john/Makefile b/security/john/Makefile
index f9659ee8d36..b05b54625a1 100644
--- a/security/john/Makefile
+++ b/security/john/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.29 2020/08/08 02:09:01 leot Exp $
+# $NetBSD: Makefile,v 1.30 2020/08/08 12:42:22 leot Exp $
#
DISTNAME= john-1.9.0
+PKGREVISION= 1
CATEGORIES= security textproc
MASTER_SITES= http://www.openwall.com/john/k/
EXTRACT_SUFX= .tar.xz
@@ -14,6 +15,8 @@ LICENSE= gnu-gpl-v2
BUILD_DIRS= src
TEST_TARGET= check
+USE_TOOLS+= gmake
+
.include "../../mk/compiler.mk"
.include "../../mk/bsd.prefs.mk"
@@ -71,7 +74,7 @@ BUILD_TARGET= generic
MAKE_FLAGS+= OPT_NORMAL=
MAKE_FLAGS+= OPT_INLINE=
-INSTALLATION_DIRS= bin share/john
+INSTALLATION_DIRS= bin share/john share/doc/john
SUBST_CLASSES+= fix-paths
SUBST_STAGE.fix-paths= pre-configure
@@ -94,5 +97,9 @@ do-install:
lowernum.chr lowerspace.chr upper.chr uppernum.chr password.lst
${INSTALL_DATA} ${WRKSRC}/run/${i} ${DESTDIR}${PREFIX}/share/john
.endfor
+ # documentation
+.for i in CONFIG EXAMPLES FAQ MODES OPTIONS README RULES
+ ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${DESTDIR}${PREFIX}/share/doc/john
+.endfor
.include "../../mk/bsd.pkg.mk"
diff --git a/security/john/PLIST b/security/john/PLIST
index 3e5f86c1c4c..d59747641d7 100644
--- a/security/john/PLIST
+++ b/security/john/PLIST
@@ -1,9 +1,16 @@
-@comment $NetBSD: PLIST,v 1.5 2020/08/08 02:09:01 leot Exp $
+@comment $NetBSD: PLIST,v 1.6 2020/08/08 12:42:22 leot Exp $
bin/john
bin/mailer
bin/unafs
bin/unique
bin/unshadow
+share/doc/john/CONFIG
+share/doc/john/EXAMPLES
+share/doc/john/FAQ
+share/doc/john/MODES
+share/doc/john/OPTIONS
+share/doc/john/README
+share/doc/john/RULES
share/john/alnum.chr
share/john/alpha.chr
share/john/ascii.chr