summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1998-07-28 01:50:01 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1998-07-28 01:50:01 +0000
commit943b38fb386b18ff310fcd99899b588793bd9cf4 (patch)
tree30da98b415eacd05b631351022adbe3311dbc5b4 /security
parentAdd a '&' to all bootfiles so they can be used directly as (diff)
Upgrade to version 1.5.
Notes
Notes: svn path=/head/; revision=12177
Diffstat (limited to 'security')
-rw-r--r--security/john/Makefile66
-rw-r--r--security/john/distinfo3
-rw-r--r--security/john/pkg-descr1
-rw-r--r--security/john/pkg-plist12
4 files changed, 42 insertions, 40 deletions
diff --git a/security/john/Makefile b/security/john/Makefile
index 22bb2101ec68..9c2f7aff2324 100644
--- a/security/john/Makefile
+++ b/security/john/Makefile
@@ -4,60 +4,54 @@
# Date created: Sun Mar 09, 1997
# Whom: David O'Brien (obrien@FreeBSD.org)
#
-# $Id: Makefile,v 1.3 1997/03/10 17:39:35 obrien Exp $
+# $Id: Makefile,v 1.4 1997/11/26 01:40:34 obrien Exp $
#
-DISTNAME= ucfjohn3
-PKGNAME= john-1.4.2
+DISTNAME= john-1.5
CATEGORIES= security
-MASTER_SITES= http://www.false.com/security/john/
-EXTRACT_SUFX= .zip
+MASTER_SITES= http://www.false.com/security/john/ \
+ ftp://ftp.false.com/pub/security/john/
-PATCH_SITES= ${MASTER_SITES}
-PATCHFILES= patch142.diff
-
-MAINTAINER= obrien@NUXI.com
-
-BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
+MAINTAINER= obrien@FreeBSD.org
RESTRICTED= "contains crypto (crypt())"
-EXTRACT_CMD= unzip
-EXTRACT_ARGS= -oqL
-NO_WRKSUBDIR= yes
-ALL_TARGET= freebsd
-
-.if exists(/bin/tar)
-TAR_CMD?= /bin/tar
+WRKSRC= ${WRKDIR}/${DISTNAME}/src
+.if defined(HAVE_K6)
+ALL_TARGET= ${OSNAME}-${ARCHNAME}-k6
.else
-TAR_CMD?= /usr/bin/tar
+ALL_TARGET= ${OSNAME}-${ARCHNAME}-any
.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
+ ${MV} ${WRKDIR}/${DISTNAME}/run/john.ini ${WRKDIR}/${DISTNAME}/run/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:" \
+ ${WRKDIR}/${DISTNAME}/run/john.ini.in > ${WRKDIR}/${DISTNAME}/run/john.ini
do-install:
@${MKDIR} ${PREFIX}/share/john
- @${INSTALL_PROGRAM} ${WRKSRC}/john ${PREFIX}/bin
+ @${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME}/run/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
+ @${INSTALL_DATA} \
+ ${WRKDIR}/${DISTNAME}/run/all.chr \
+ ${WRKDIR}/${DISTNAME}/run/alpha.chr \
+ ${WRKDIR}/${DISTNAME}/run/digits.chr \
+ ${WRKDIR}/${DISTNAME}/run/password.lst \
+ ${WRKDIR}/${DISTNAME}/run/john.ini \
+ ${PREFIX}/share/john
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/john
- @${INSTALL_DATA} ${WRKSRC}/john.doc ${PREFIX}/share/doc/john
+ @${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/* ${PREFIX}/share/doc/john
.endif
.include <bsd.port.mk>
+
+OSNAME!= /usr/bin/uname -s | ${TR} [A-Z] [a-z]
+.if (${ARCH} == "i386")
+ARCHNAME= x86
+.else
+ARCHNAME= ${ARCH}
+.endif
diff --git a/security/john/distinfo b/security/john/distinfo
index 8e65bf102654..f0c9d7c77d3a 100644
--- a/security/john/distinfo
+++ b/security/john/distinfo
@@ -1,2 +1 @@
-MD5 (ucfjohn3.zip) = d55dce4c3b25cfec60df01e3ef12b545
-MD5 (patch142.diff) = 1c52f6f04f9435c846486d6ea69d6973
+MD5 (john-1.5.tar.gz) = 2f8a5032f5f0156953e471cc5b349b71
diff --git a/security/john/pkg-descr b/security/john/pkg-descr
index 45e81c27098f..7b686bde53c3 100644
--- a/security/john/pkg-descr
+++ b/security/john/pkg-descr
@@ -8,4 +8,3 @@ WinNT/Win95.
- incremental, tries all character combinations;
- external, allows you to define your own cracking mode.
- MD5 based password files support
-
diff --git a/security/john/pkg-plist b/security/john/pkg-plist
index 8f83b17ebc52..deef0c042091 100644
--- a/security/john/pkg-plist
+++ b/security/john/pkg-plist
@@ -6,4 +6,14 @@ share/john/alpha.chr
share/john/digits.chr
share/john/john.ini
share/john/password.lst
-share/doc/john/john.doc
+share/doc/john/CONFIG
+share/doc/john/CREDITS
+share/doc/john/EXAMPLES
+share/doc/john/EXTERNAL
+share/doc/john/FAQ
+share/doc/john/INSTALL
+share/doc/john/MODES
+share/doc/john/NEWS
+share/doc/john/OPTIONS
+share/doc/john/README
+share/doc/john/RULES