summaryrefslogtreecommitdiff
path: root/security/john/Makefile
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1997-03-09 21:34:26 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1997-03-09 21:34:26 +0000
commita1db8363e48d0b9e53539cbc2686f68850ebc03e (patch)
treea0eb6cc4548371f9d10935a5613ef2c97b33f63e /security/john/Makefile
parentAdd patch for MD5 encrypted passwords (diff)
John the Ripper is a UNIX password cracker, currently available for UNIX
(tested with Linux x86, FreeBSD x86, Solaris 2.x SPARC, OSF/1 Alpha), DOS, WinNT/Win95. John the Ripper supports the following cracking modes: - wordlist with or without rules; - "single crack", makes use of the login/GECOS information; - incremental, tries all character combinations; - external, allows you to define your own cracking mode. - MD5 based password files support
Notes
Notes: svn path=/head/; revision=5917
Diffstat (limited to 'security/john/Makefile')
-rw-r--r--security/john/Makefile58
1 files changed, 58 insertions, 0 deletions
diff --git a/security/john/Makefile b/security/john/Makefile
new file mode 100644
index 000000000000..548b054f3ada
--- /dev/null
+++ b/security/john/Makefile
@@ -0,0 +1,58 @@
+# ex:ts=8
+# Ports collection makefile for: ufcjohn
+# Version required: 1.4
+# Date created: Sun Mar 09, 1997
+# Whom: David O'Brien (obrien@FreeBSD.org)
+#
+# $Id: Makefile,v 1.2 1997/01/25 18:08:40 obrien Exp $
+#
+
+DISTNAME= ucfjohn3
+PKGNAME= john-1.4
+CATEGORIES= security
+MASTER_SITES= http://www.false.com/security/john/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= obrien@NUXI.com
+
+BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
+
+EXTRACT_CMD= unzip
+EXTRACT_ARGS= -oqL
+NO_WRKSUBDIR= yes
+ALL_TARGET= freebsd
+
+.if exists(/bin/tar)
+TAR_CMD?= /bin/tar
+.else
+TAR_CMD?= /usr/bin/tar
+.endif
+
+post-extract:
+ @(cd ${WRKSRC} ; ${TAR_CMD} -xzf sources.tgz)
+ @(cd ${WRKSRC} ; ${EXTRACT_CMD} ${EXTRACT_ARGS} common.zip)
+ @(cd ${WRKSRC} ; ${EXTRACT_CMD} ${EXTRACT_ARGS} doc.zip)
+
+do-configure:
+ /bin/mv ${WRKSRC}/john.ini ${WRKSRC}/john.ini.in
+ sed -e "s:all.chr:${PREFIX}/share/john/all.chr:" \
+ -e "s:alpha.chr:${PREFIX}/share/john/alpha.chr:" \
+ -e "s:digits.chr:${PREFIX}/share/john/digits.chr:" \
+ ${WRKSRC}/john.ini.in > ${WRKSRC}/john.ini
+
+do-install:
+ @${MKDIR} ${PREFIX}/share/john
+ @${INSTALL_PROGRAM} ${WRKSRC}/john ${PREFIX}/bin
+ @(cd ${PREFIX}/bin ; /bin/ln -sf john xtract)
+ @(cd ${PREFIX}/bin ; /bin/ln -sf john unshadow)
+ @${INSTALL_DATA} ${WRKSRC}/all.chr ${PREFIX}/share/john
+ @${INSTALL_DATA} ${WRKSRC}/alpha.chr ${PREFIX}/share/john
+ @${INSTALL_DATA} ${WRKSRC}/digits.chr ${PREFIX}/share/john
+ @${INSTALL_DATA} ${WRKSRC}/john.ini ${PREFIX}/share/john
+ @${INSTALL_DATA} ${WRKSRC}/password.lst ${PREFIX}/share/john
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/john
+ @${INSTALL_DATA} ${WRKSRC}/john.doc ${PREFIX}/share/doc/john
+.endif
+
+.include <bsd.port.mk>