head	1.56;
access;
symbols
	RELEASE_8_3_0:1.55
	RELEASE_9_0_0:1.53
	RELEASE_7_4_0:1.49
	RELEASE_8_2_0:1.49
	RELEASE_6_EOL:1.48
	RELEASE_8_1_0:1.47
	RELEASE_7_3_0:1.44
	RELEASE_8_0_0:1.44
	RELEASE_7_2_0:1.44
	RELEASE_7_1_0:1.44
	RELEASE_6_4_0:1.44
	RELEASE_5_EOL:1.44
	RELEASE_7_0_0:1.43
	RELEASE_6_3_0:1.43
	PRE_XORG_7:1.41
	RELEASE_4_EOL:1.41
	RELEASE_6_2_0:1.41
	RELEASE_6_1_0:1.35
	RELEASE_5_5_0:1.35
	RELEASE_6_0_0:1.31
	RELEASE_5_4_0:1.31
	RELEASE_4_11_0:1.31
	RELEASE_5_3_0:1.31
	RELEASE_4_10_0:1.30
	RELEASE_5_2_1:1.28
	RELEASE_5_2_0:1.28
	RELEASE_4_9_0:1.28
	RELEASE_5_1_0:1.26
	RELEASE_4_8_0:1.25
	RELEASE_5_0_0:1.21
	RELEASE_4_7_0:1.17
	RELEASE_4_6_2:1.17
	RELEASE_4_6_1:1.17
	RELEASE_4_6_0:1.17
	RELEASE_5_0_DP1:1.15
	RELEASE_4_5_0:1.15
	RELEASE_4_4_0:1.15
	RELEASE_4_3_0:1.15
	RELEASE_4_2_0:1.13
	RELEASE_4_1_1:1.13
	RELEASE_4_1_0:1.13
	RELEASE_3_5_0:1.13
	RELEASE_4_0_0:1.10
	RELEASE_3_4_0:1.9
	RELEASE_3_3_0:1.9
	RELEASE_3_2_0:1.7
	RELEASE_3_1_0:1.7
	john_1_6:1.7
	RELEASE_2_2_8:1.6
	RELEASE_3_0_0:1.6
	john_1_4_2:1.4
	john_1_5:1.6
	RELEASE_2_2_7:1.4
	RELEASE_2_2_6:1.4
	RELEASE_2_2_5:1.3
	RELEASE_2_2_1:1.3
	RELEASE_2_2_2:1.3
	ucfjohn_1_4:1.1.1.1
	OBRIEN:1.1.1;
locks; strict;
comment	@# @;


1.56
date	2012.11.17.06.01.06;	author svnexp;	state Exp;
branches;
next	1.55;

1.55
date	2012.01.08.11.21.17;	author danfe;	state Exp;
branches;
next	1.54;

1.54
date	2011.12.17.17.27.12;	author danfe;	state Exp;
branches;
next	1.53;

1.53
date	2011.11.10.02.00.43;	author danfe;	state Exp;
branches;
next	1.52;

1.52
date	2011.10.11.14.44.06;	author danfe;	state Exp;
branches;
next	1.51;

1.51
date	2011.06.22.08.10.35;	author danfe;	state Exp;
branches;
next	1.50;

1.50
date	2011.02.13.14.12.21;	author danfe;	state Exp;
branches;
next	1.49;

1.49
date	2010.12.15.14.41.40;	author danfe;	state Exp;
branches;
next	1.48;

1.48
date	2010.11.06.13.33.56;	author danfe;	state Exp;
branches;
next	1.47;

1.47
date	2010.06.22.02.44.28;	author danfe;	state Exp;
branches;
next	1.46;

1.46
date	2010.06.04.02.23.30;	author linimon;	state Exp;
branches;
next	1.45;

1.45
date	2010.05.22.11.08.08;	author danfe;	state Exp;
branches;
next	1.44;

1.44
date	2008.01.21.06.11.11;	author danfe;	state Exp;
branches;
next	1.43;

1.43
date	2007.06.30.18.47.13;	author danfe;	state Exp;
branches;
next	1.42;

1.42
date	2007.06.29.19.33.24;	author linimon;	state Exp;
branches;
next	1.41;

1.41
date	2006.06.19.15.22.50;	author erwin;	state Exp;
branches;
next	1.40;

1.40
date	2006.05.13.14.59.11;	author mnag;	state Exp;
branches;
next	1.39;

1.39
date	2006.05.13.04.28.02;	author mnag;	state Exp;
branches;
next	1.38;

1.38
date	2006.05.09.06.18.39;	author vd;	state Exp;
branches;
next	1.37;

1.37
date	2006.05.04.08.26.22;	author vd;	state Exp;
branches;
next	1.36;

1.36
date	2006.04.04.12.34.07;	author ehaupt;	state Exp;
branches;
next	1.35;

1.35
date	2006.02.18.18.16.16;	author ehaupt;	state Exp;
branches;
next	1.34;

1.34
date	2006.02.10.18.09.28;	author ehaupt;	state Exp;
branches;
next	1.33;

1.33
date	2005.12.31.04.28.08;	author ehaupt;	state Exp;
branches;
next	1.32;

1.32
date	2005.10.05.23.13.02;	author barner;	state Exp;
branches;
next	1.31;

1.31
date	2004.08.11.22.10.50;	author pav;	state Exp;
branches;
next	1.30;

1.30
date	2004.04.18.17.21.06;	author pav;	state Exp;
branches;
next	1.29;

1.29
date	2004.04.13.21.57.22;	author erwin;	state Exp;
branches;
next	1.28;

1.28
date	2003.07.29.20.26.20;	author krion;	state Exp;
branches;
next	1.27;

1.27
date	2003.06.24.01.06.03;	author leeym;	state Exp;
branches;
next	1.26;

1.26
date	2003.04.09.08.12.47;	author kevlo;	state Exp;
branches;
next	1.25;

1.25
date	2003.02.21.13.26.45;	author knu;	state Exp;
branches;
next	1.24;

1.24
date	2003.01.16.02.31.41;	author edwin;	state Exp;
branches;
next	1.23;

1.23
date	2003.01.06.21.33.36;	author arved;	state Exp;
branches;
next	1.22;

1.22
date	2003.01.04.22.34.19;	author anders;	state Exp;
branches;
next	1.21;

1.21
date	2002.11.07.18.08.49;	author ijliao;	state Exp;
branches;
next	1.20;

1.20
date	2002.11.02.04.33.43;	author perky;	state Exp;
branches;
next	1.19;

1.19
date	2002.10.08.12.10.37;	author perky;	state Exp;
branches;
next	1.18;

1.18
date	2002.10.05.21.48.44;	author kris;	state Exp;
branches;
next	1.17;

1.17
date	2002.05.10.04.36.53;	author trevor;	state Exp;
branches;
next	1.16;

1.16
date	2002.05.08.21.32.36;	author obrien;	state Exp;
branches;
next	1.15;

1.15
date	2001.02.10.23.29.41;	author obrien;	state Exp;
branches;
next	1.14;

1.14
date	2000.11.25.00.05.09;	author obrien;	state Exp;
branches;
next	1.13;

1.13
date	2000.04.09.18.29.46;	author cpiazza;	state Exp;
branches;
next	1.12;

1.12
date	2000.03.22.00.27.01;	author obrien;	state Exp;
branches;
next	1.11;

1.11
date	2000.03.20.02.36.36;	author obrien;	state Exp;
branches;
next	1.10;

1.10
date	2000.02.13.03.23.34;	author obrien;	state Exp;
branches;
next	1.9;

1.9
date	99.08.31.01.51.09;	author peter;	state Exp;
branches;
next	1.8;

1.8
date	99.08.28.01.57.52;	author mharo;	state Exp;
branches;
next	1.7;

1.7
date	98.12.07.08.59.21;	author obrien;	state Exp;
branches;
next	1.6;

1.6
date	98.07.28.01.56.02;	author obrien;	state Exp;
branches;
next	1.5;

1.5
date	98.07.28.01.49.59;	author obrien;	state Exp;
branches;
next	1.4;

1.4
date	97.11.26.01.40.34;	author obrien;	state Exp;
branches;
next	1.3;

1.3
date	97.03.10.17.39.35;	author obrien;	state Exp;
branches;
next	1.2;

1.2
date	97.03.09.21.41.56;	author obrien;	state Exp;
branches;
next	1.1;

1.1
date	97.03.09.21.34.25;	author obrien;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	97.03.09.21.34.25;	author obrien;	state Exp;
branches;
next	;


desc
@@


1.56
log
@Switch exporter over
@
text
@# New ports collection makefile for:	John the Ripper
# Date created:				Sun Mar 09, 1997
# Whom:					David O'Brien <obrien@@FreeBSD.org>
#
# $FreeBSD: head/security/john/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	john
DISTVERSION=	1.7.9-jumbo-5
CATEGORIES=	security
MASTER_SITES=	http://www.openwall.com/john/g/ \
		http://mirrors.kernel.org/openwall/projects/john/${DISTVERSION:C/-.*//}/ \
		http://distro.ibiblio.org/pub/linux/distributions/openwall/projects/john/${DISTVERSION:C/-.*//}/ \
		http://gd.tuwien.ac.at/opsys/linux/openwall/projects/john/${DISTVERSION:C/-.*//}/

MAINTAINER=	danfe@@FreeBSD.org
COMMENT=	Featureful Unix password cracker

LICENSE=	GPLv2

USE_BZIP2=	yes
USE_GMAKE=	yes
BUILD_WRKSRC=	${WRKDIR}/${DISTNAME}/src

# We prefer -jumbo (community-enhanced) versions instead of vanilla releases
# due to the sad fact that `-jumbo-???' suffixed versions *precede* official
# ones per pkg_version(1) -t check.  So, when Alexander rolls out new "plain"
# release, just hold the horses and wait for corresponding -jumbo one, which
# usually does not take too long to appear.
#
PORTSCOUT=	limit:.*-jumbo

OSNAME=		${OPSYS:L}
CFLAGS+=	-DJOHN_SYSTEMWIDE=1 \
		-DJOHN_SYSTEMWIDE_HOME=\\"${DATADIR}\\" \
		-DCFG_FULL_NAME=\\"${PREFIX}/etc/${PORTNAME}.conf\\"

PORTDOCS=	CHANGES CONFIG EXAMPLES EXTERNAL FAQ MODES OPTIONS README \
		RULES CONTACT CREDITS

OPTIONS=	OPENMP	"Compile with OpenMP support"	off

.include <bsd.port.pre.mk>

.if ${ARCH} == "i386"
. if ${MACHINE_CPU:Msse2}
ALL_TARGET=	${OSNAME}-x86-sse2
. elif ${MACHINE_CPU:Mmmx}
ALL_TARGET=	${OSNAME}-x86-mmx
. else
ALL_TARGET=	${OSNAME}-x86-any
. endif
.elif ${ARCH} == "amd64"
ALL_TARGET=	${OSNAME}-x86-64
.elif ${ARCH} == "alpha"
ALL_TARGET=	${OSNAME}-alpha
.else
ALL_TARGET=	generic
.endif

.if ${ARCH} == "sparc64"
BROKEN=		Does not compile on sparc64
.endif

post-patch:
	@@${REINPLACE_CMD} -e 's|= gcc|= ${CC}|' \
		-e '/^CFLAGS =/s|-O2|${CFLAGS}|' ${WRKSRC}/src/Makefile
.if defined(WITH_OPENMP)
	@@${REINPLACE_CMD} -E \
		'/(fopenmp|-m${MACHINE_CPU:Msse2})$$/s,#(OMPFLAGS =),\1,' \
			${WRKSRC}/src/Makefile
.endif
	@@${REINPLACE_CMD} -i '' -e 's|/usr/bin|${LOCALBASE}/bin|' \
		${WRKSRC}/run/*.rb
	@@${REINPLACE_CMD} -e '/_XOPEN_SOURCE/d' ${WRKSRC}/src/recovery.c

pre-build:
	@@${ECHO_CMD}
	@@${ECHO_CMD} "Building John the Ripper for ${ALL_TARGET}" \
		${WITH_OPENMP:C/.*/with/}${WITHOUT_OPENMP:C/.*/without/} \
		"OpenMP support"
	@@${ECHO_CMD}

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/run/john ${PREFIX}/bin
	${LN} -sf john ${PREFIX}/bin/xtract
	${LN} -sf john ${PREFIX}/bin/unshadow
	@@${MKDIR} ${DATADIR}
	cd ${WRKSRC}/run && ${INSTALL_DATA} *.??? [^j]*.conf ${DATADIR}
	cd ${WRKSRC}/run && ${INSTALL_SCRIPT} *.?? mailer ${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/run/john.conf \
		${PREFIX}/etc/john.conf.default
.if !exists(${PREFIX}/etc/john.conf)
	${INSTALL_DATA} ${WRKSRC}/run/john.conf ${PREFIX}/etc
.endif
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${DOCSDIR}
.endif

.include <bsd.port.post.mk>
@


1.55
log
@- Update to version 1.7.9-jumbo-5
- Add an OPTION to build with OpenMP support (disabled by default)
- Adjust `pre-build' target message to mention OpenMP support (with/without)
- Fix overly aggressive CFLAGS patching via REINPLACE_CMD
- Remove unneeded global modifiers from sed(1) expressions and kill one
  superfluous empty line while I am here
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.54
log
@Limit PORTSCOUT version check to -jumbo releases and explain why.
@
text
@d9 1
a9 1
DISTVERSION=	1.7.8-jumbo-8
d41 2
d66 5
a70 2
	@@${REINPLACE_CMD} -e 's|= gcc|= ${CC}|g' \
		-e 's|CFLAGS =.*|CFLAGS = -c ${CFLAGS}|g' \
d72 1
d79 3
a81 1
	@@${ECHO_CMD} "Building for ${ALL_TARGET}"
a95 1

@


1.53
log
@Update to shiny new version 1.7.8-jumbo-8, most notably featuring optional
OpenMP to parallelize MD5-based crypt(3) and Apache $apr1$ when using SSE2,
as announced here: http://www.openwall.com/lists/john-users/2011/11/09/1

Submitted by:	Royce Williams
@
text
@d25 8
@


1.52
log
@- Update to version 1.7.8-jumbo-7.  Unfortunately, GNU make is required now,
  as the build fails with BSD make
- Install mailer script and auxiliary configuration files for the sake of
  completeness
@
text
@d9 1
a9 1
DISTVERSION=	1.7.8-jumbo-7
@


1.51
log
@Update to 1.7.7-jumbo-6 (community-enhanced version).
@
text
@d9 1
a9 1
DISTVERSION=	1.7.7-jumbo-6
d22 1
d73 2
a74 2
	${INSTALL_DATA} ${WRKSRC}/run/*.??? ${DATADIR}
	${INSTALL_SCRIPT} ${WRKSRC}/run/*.?? ${DATADIR}
@


1.50
log
@- Update jumbo patch to version 11
- Add LICENSE (GPLv2)
@
text
@d9 1
a9 2
PORTVERSION=	1.7.6
PORTREVISION=	3
d12 3
a14 7
		http://mirrors.kernel.org/openwall/projects/john/${PORTVERSION}/ \
		http://distro.ibiblio.org/pub/linux/distributions/openwall/projects/john/${PORTVERSION}/ \
		http://gd.tuwien.ac.at/opsys/linux/openwall/projects/john/${PORTVERSION}/

PATCH_SITES=	${MASTER_SITES:H:H:S/$/\/contrib\//}
PATCHFILES=	john-${PORTVERSION}-jumbo-11.diff.gz
PATCH_DIST_STRIP=	-p1
d60 1
@


1.49
log
@Update jumbo patch to version 9.
@
text
@d10 1
a10 1
PORTREVISION=	2
d18 1
a18 1
PATCHFILES=	john-${PORTVERSION}-jumbo-9.diff.gz
d24 2
d81 1
a81 2
	${INSTALL_DATA} ${WRKSRC}/run/john.conf \
		${PREFIX}/etc/john.conf
@


1.48
log
@- Update jumbo patch to version 7
- Drop MD5 hashes from distinfo

Reported by:	sat
@
text
@d10 1
a10 1
PORTREVISION=	1
d18 1
a18 1
PATCHFILES=	john-${PORTVERSION}-jumbo-7.diff.gz
@


1.47
log
@- Update to version 1.7.6
- Use ${ECHO_CMD} instead of ${ECHO} directly

Feature safe:	yes
@
text
@d10 1
d18 1
a18 1
PATCHFILES=	john-${PORTVERSION}-jumbo-3.diff.gz
@


1.46
log
@Does not compile on sparc64.

Hat:		portmgr
@
text
@d9 1
a9 1
PORTVERSION=	1.7.5
d64 3
a66 3
	@@${ECHO}
	@@${ECHO} "Building for ${ALL_TARGET}"
	@@${ECHO}
@


1.45
log
@- Update to version 1.7.5 and the latest contributed patchset [*]
- Prefer HTTP mirrors as they are generally more accessible than FTP ones
- Install support scripts in addition to datafiles
- Simplify PORTDOCS handling, utilize BUILD_WRKSRC, and clean up things

PR:		ports/146114 [*]
Submitted by:	lme
@
text
@d52 4
@


1.44
log
@Add the contrib patchset which adds support for many more message digest
algorithms to john.  New algorithms are: NT, PO, raw-MD5, IPB2, raw-sha1,
salt-sha1, md5a, KRB5, bfegg, nsldap, ssha, oracle, MYSQL, mysql-sha1,
mscash, lotus5, DOMINOSEC, NETLM, NETNTLM, mssql, mssql05.

PR:		ports/119824
Submitted by:	Daniel Roethlisberger
@
text
@d1 1
a1 1
# Ports collection makefile for:	John the Ripper
d9 1
a9 2
PORTVERSION=	1.7.2
PORTREVISION=	1
d11 8
a18 11
MASTER_SITES=	http://www.openwall.com/john/f/ \
		ftp://ftp.ru.openwall.com/pub/projects/john/${PORTVERSION}/ \
		ftp://ftp.se.openwall.com/pub/projects/john/${PORTVERSION}/ \
		http://distro.ibiblio.org/pub/linux/distributions/openwall/projects/john/${PORTVERSION}/

PATCH_SITES=	ftp://ftp.openwall.com/pub/projects/john/contrib/ \
		http://www.mirrorgeek.com/openwall/projects/john/contrib/ \
		ftp://ftp.cert.dfn.de/pub/tools/net/Openwall/projects/john/contrib/ \
		http://ftp.sunet.se/pub/security/tools/net/Openwall/projects/john/contrib/
PATCHFILES=	john-${PORTVERSION}-all-9.diff.gz
PATCH_DIST_STRIP=	-p2
a22 5
DATAFILES=	all.chr alnum.chr alpha.chr digits.chr lanman.chr password.lst
PORTDOCS=	CHANGES CONFIG EXAMPLES EXTERNAL FAQ MODES OPTIONS README \
		RULES CONTACT CREDITS

WRKSRC=		${WRKDIR}/${DISTNAME}/src
d24 1
d31 3
d55 3
a57 1
		${WRKSRC}/Makefile
d65 3
a67 4
	${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME}/run/john ${PREFIX}/bin
.for l in xtract unshadow
	${LN} -sf ${PREFIX}/bin/john ${PREFIX}/bin/${l}
.endfor
d69 3
a71 4
.for f in ${DATAFILES}
	${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/run/${f} ${DATADIR}
.endfor
	${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/run/john.conf \
d74 1
a74 1
	${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/run/john.conf \
d80 1
a80 3
.for f in ${PORTDOCS}
	${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/${f} ${DOCSDIR}
.endfor
@


1.43
log
@- Take maintainership
- Automatically detect for SSE2/MMX features, remove OPTIONS
- Refine Makefile header
- Reformat pkg-descr, catch up with vendor text
@
text
@d10 1
d17 7
@


1.42
log
@Reset rainer.alves@@gmail.com by request due to current lack of time to
work on FreeBSD.
@
text
@d1 3
a3 3
# Ports collection makefile for:  john
# Date created:			  Sun Mar 09, 1997
# Whom:				  David O'Brien (obrien@@FreeBSD.org)
d16 1
a16 1
MAINTAINER=	ports@@FreeBSD.org
a30 12
# workaround for OSVERSION/ARCH detection before bsd.port.pre.mk
# (required for OPTIONS usage)
ARCH!=		/usr/bin/uname -p
OSVERSION!=	/sbin/sysctl -n kern.osreldate

.if ${ARCH} == "i386"
. if ${OSVERSION} > 500000
OPTIONS=	SSE2 "Enable SSE2 optimizations" off
. endif
OPTIONS+=	MMX "Enable MMX optimizations" off
.endif

d34 1
a34 1
. if defined(WITH_SSE2)
d36 1
a36 1
. elif defined(WITH_MMX)
@


1.41
log
@Update to 1.7.2

PR:		99132
Submitted by:	Rainer Alves <rainer.alves@@gmail.com> (maintainer)
@
text
@d16 1
a16 1
MAINTAINER=	rainer.alves@@gmail.com
@


1.40
log
@- Fix amd64 build

PR:		97197
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.7.1
d12 3
a14 1
		ftp://ftp.ru.openwall.com/pub/projects/john/${PORTVERSION}/
a63 1
		-e 's|openbsd-x86-64|${OSNAME}-x86-64|g' \
@


1.39
log
@- Update to 1.7.1
- Add SSE2 OPTIONS

PR:		97162
Submitted by:	maintainer
@
text
@d34 1
a34 1
.if ${ARCH} == "i386" || ${ARCH} == "amd64"
a35 1
# dumps core with sse2 + gcc 2.95
a37 2
.endif
.if ${ARCH} == "i386"
d43 1
a43 3
ALL_TARGET=	generic

.if defined(WITH_MMX)
d46 2
d49 1
a49 1
ALL_TARGET=	${OSNAME}-x86-mmx
d51 2
a52 2
.elif defined(WITH_SSE2)
ALL_TARGET=	${OSNAME}-x86-sse2
d56 1
a56 1
ALL_TARGET=	${OSNAME}-x86-any
d62 1
d66 1
d68 1
@


1.38
log
@* Fix MMX detection logic
* Define custom paths using CFLAGS instead of patching the source [1]

PR:		ports/96991
Submitted by:	Rainer Alves <rainer.alves@@gmail.com> (maintainer)
Requested by:	solar@@openwall.com (author) [1]
@
text
@d9 1
a9 2
PORTVERSION=	1.7.0.2
PORTREVISION=	1
a23 2
.include <bsd.port.pre.mk>

d29 17
d47 4
a50 3
.if ${ARCH} == "i386"
. if defined(WITHOUT_MMX)
ALL_TARGET=	${OSNAME}-x86-any
d54 2
d58 2
a59 7
.endif

pre-everything::
.if !defined(WITHOUT_MMX) && ${ARCH} == "i386"
	@@${ECHO_MSG}
	@@${ECHO_MSG} "You can disable MMX optimizations by defining WITHOUT_MMX"
	@@${ECHO_MSG}
d63 1
a63 1
	${REINPLACE_CMD} -e 's|= gcc|= ${CC}|g' \
d75 1
a75 1
	${MKDIR} ${DATADIR}
d87 1
a87 1
	${MKDIR} ${DOCSDIR}
@


1.37
log
@* Update from 1.7 to 1.7.0.2
* Fix the second master site
* Give maintainership to submitter

PR:		ports/96722
Submitted by:	Rainer Alves <rainer.alves@@gmail.com>
@
text
@d10 1
d28 3
d34 3
a36 1
. if ${MACHINE_CPU:Mmmx}
a37 2
. else
ALL_TARGET=	${OSNAME}-x86-any
d43 7
d51 3
a53 5
	${REINPLACE_CMD} -e 's|$$JOHN|${DATADIR}|g' \
		${WRKDIR}/${DISTNAME}/run/john.conf
	${REINPLACE_CMD} -e \
		's|%%PREFIX%%|${PREFIX}|g; s|%%DATADIR%%|${DATADIR}|g'\
			${WRKSRC}/params.h
@


1.36
log
@Drop maintainer-ship
@
text
@d9 1
a9 2
PORTVERSION=	1.7
PORTREVISION=	1
d11 2
a12 2
MASTER_SITES=	http://www.openwall.com/john/d/ \
		ftp://ftp.ru.openwall.com/pub/projects/john/
d14 1
a14 1
MAINTAINER=	ports@@FreeBSD.org
d22 1
d26 1
a26 1
OSNAME=		${OPSYS:S/F/f/:S/N/n/:S/O/o/:S/B/b/:S/S/s/:S/D/d/}
d40 1
a40 1
	@@${REINPLACE_CMD} -e 's|$$JOHN|${DATADIR}|g' \
d42 1
a42 1
	@@${REINPLACE_CMD} -e \
@


1.35
log
@- Update pkg-descr
- Add CONTACT and CREDITS to $DOCSDIR
- Remove deprecated USE_REINPLACE
- Remove unnecessary patch operation
- Bump PORTREVISION
@
text
@d15 1
a15 1
MAINTAINER=	ehaupt@@FreeBSD.org
@


1.34
log
@Update to 1.7

PR:		93139
Submitted by:	marck
@
text
@d10 1
a17 2
USE_REINPLACE=	yes

d19 2
a20 1
PORTDOCS=	CHANGES CONFIG EXAMPLES EXTERNAL FAQ MODES OPTIONS README RULES
@


1.33
log
@- 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
@
text
@d9 1
a9 1
PORTVERSION=	1.6.40
d11 1
a11 1
MASTER_SITES=	http://www.openwall.com/john/a/ \
@


1.32
log
@- Update to 1.6.39
- Use DATADIR
- Pass maintainership to submitter

Submitted by:	Emanuel Haupt <ehaupt@@FreeBSD.org>
Approved by:	Dominic Marks <dom@@goodforbusiness.co.uk> (old maintainer)
@
text
@a0 1
# ex:ts=8
d9 1
a9 1
PORTVERSION=	1.6.39
a12 2
DISTFILES=	${PORTNAME}-${PORTVERSION}.tar.gz \
		${PORTNAME}-1.6.tar.gz
d18 5
a22 1
PORTDOCS=	*
d31 1
a31 1
ALL_TARGET=	${OSNAME}-x86-mmx-elf
d33 1
a33 1
ALL_TARGET=	${OSNAME}-x86-any-elf
d39 6
a44 2
WRKSRC=		${WRKDIR}/${DISTNAME}/src
OLDSRC=		${WRKDIR}/${PORTNAME}-1.6/run
d49 15
a63 4
do-configure:
	@@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' \
		${WRKDIR}/${DISTNAME}/src/params.h \
		${WRKDIR}/${DISTNAME}/run/john.conf
a64 13
do-install:
	@@${MKDIR} ${DATADIR}
	@@${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME}/run/john ${PREFIX}/bin
	@@cd ${PREFIX}/bin ; ${LN} -sf john xtract
	@@cd ${PREFIX}/bin ; ${LN} -sf john unshadow
	@@${INSTALL_DATA} \
		${OLDSRC}/all.chr \
		${OLDSRC}/alpha.chr \
		${OLDSRC}/digits.chr \
		${OLDSRC}/lanman.chr \
		${WRKDIR}/${DISTNAME}/run/password.lst \
		${WRKDIR}/${DISTNAME}/run/john.conf \
			${DATADIR}
d66 4
a69 3
	@@${MKDIR} ${DOCSDIR}
	@@${INSTALL_DATA} ${OLDSRC}/../doc/* ${DOCSDIR}
	@@${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/* ${DOCSDIR}
@


1.31
log
@- Install additional documentation
- Portlint

PR:		ports/69627
Submitted by:	Radim Kolar <hsn@@netmag.cz>
Approved by:	maintainer timeout (14 days)
@
text
@d10 1
a10 2
PORTVERSION=	1.6.37
PORTREVISION=	1
d17 1
a17 1
MAINTAINER=	dom@@helenmarks.co.uk
@


1.30
log
@- Update to 1.6.37

PR:		ports/65623
Submitted by:	Dominic Marks <dom@@helenmarks.co.uk> (maintainer)
@
text
@d11 1
d22 1
d29 1
a29 1
.if ${MACHINE_ARCH} == "i386"
d35 1
a35 1
.elif ${MACHINE_ARCH} == "alpha"
d65 1
@


1.29
log
@Update maintainer email address

PR:		65504
Submitted by:	maintainer
@
text
@d10 1
a10 1
PORTVERSION=	1.6.34
d12 1
a12 1
MASTER_SITES=	http://www.openwall.com/john/dl/ \
@


1.28
log
@Update to 1.6.34

PR:		55023
Submitted by:	maintainer
Approved by:	fjoe (mentor) (implicit)
@
text
@d17 1
a17 1
MAINTAINER=	dominic.marks@@btinternet.com
@


1.27
log
@update maintainer's email address.

PR:		53658
Submitted by:	Dominic Marks <dom@@cus.org.uk>
@
text
@d10 1
a10 1
PORTVERSION=	1.6.33
d12 1
a12 2
MASTER_SITES=	http://www.openwall.com/john/ \
		ftp://ftp.ca.openwall.com/pub/projects/john/ \
@


1.26
log
@Update to 1.6.33

PR: 50740
Submitted by: Dominic Marks <dom@@cus.org.uk>
@
text
@d18 1
a18 1
MAINTAINER=	d.marks@@student.umist.ac.uk
@


1.25
log
@De-pkg-comment.
@
text
@d10 1
a10 1
PORTVERSION=	1.6.32
@


1.24
log
@security/john 1.6 -> 1.6.32

PR:		ports/47124
Submitted by:	Dominic Marks <dom@@cus.org.uk>
@
text
@d19 1
@


1.23
log
@Fix build on !i386

PR:	46801
Submitted by:	Dominic Marks <dom@@cus.org.uk>
@
text
@d10 1
a10 1
PORTVERSION=	1.6
d12 7
a18 5
MASTER_SITES=	ftp://ftp.ca.openwall.com/pub/projects/john/ \
		http://www.openwall.com/john/ \
		ftp://ftp.ru.openwall.com/pub/projects/john/ \
		ftp://ftp.false.com/pub/security/projects/ \
		http://www.false.com/security/john/
a20 1
MAINTAINER=	d.marks@@student.umist.ac.uk
d26 1
d28 2
a29 5
ARCHNAME=	x86
. if ${MACHINE_CPU:Mk6}
ALL_TARGET=	${OSNAME}-${ARCHNAME}-k6-elf
. elif ${MACHINE_CPU:Mmmx}
ALL_TARGET=	${OSNAME}-${ARCHNAME}-mmx-elf
d31 1
a31 1
ALL_TARGET=	${OSNAME}-${ARCHNAME}-any-elf
d34 1
a34 4
ARCHNAME=	alpha
ALL_TARGET=	${OSNAME}-${ARCHNAME}-any-elf
.else
ALL_TARGET=	generic
d38 1
d40 1
a40 1
pre-fetch:
d44 3
a46 6
	@@${REINPLACE_CMD} \
		-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,' \
		-e 's,~/lanman.chr,${PREFIX}/share/john/lanman.chr,' \
	${WRKDIR}/${DISTNAME}/run/john.ini
d54 4
a57 4
		${WRKDIR}/${DISTNAME}/run/all.chr \
		${WRKDIR}/${DISTNAME}/run/alpha.chr \
		${WRKDIR}/${DISTNAME}/run/digits.chr \
		${WRKDIR}/${DISTNAME}/run/lanman.chr \
d59 2
a60 2
		${WRKDIR}/${DISTNAME}/run/john.ini \
		${DATADIR}
a64 1
	@@${CAT} ${PKGMESSAGE}
@


1.22
log
@Install lanman.chr.

PR:		45803
Submitted by:	Ulrich Spoerlein <q@@uni.de>
@
text
@d18 1
d34 3
d38 1
a38 1
ARCHNAME=	${MACHINE_ARCH}
d47 6
a52 6
	@@${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:" \
		-e "s:~/lanman.chr:${PREFIX}/share/john/lanman.chr:" \
		${WRKDIR}/${DISTNAME}/run/john.ini.in > ${WRKDIR}/${DISTNAME}/run/john.ini
@


1.21
log
@1. fix messages
2. use DATADIR and DOCSDIR
3. show messages when install

PR:		31013 (1)
Submitted by:	Joseph Mallett <jmallett@@xMach.org>, maintainer (1)
@
text
@d47 1
d59 1
@


1.20
log
@Fix typoes on MAINTAINER address.

Submitted by:	Dominic Marks <D.Marks@@student.umist.ac.uk>
@
text
@d50 1
a50 1
	@@${MKDIR} ${PREFIX}/share/john
d60 1
a60 1
		${PREFIX}/share/john
d62 2
a63 2
	@@${MKDIR} ${PREFIX}/share/doc/john
	@@${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/* ${PREFIX}/share/doc/john
d65 1
@


1.19
log
@Update maintainer address

PR:		43820
Submitted by:	Dominic Marks <d.marks@@students.umist.ac.uk>
@
text
@d18 1
a18 1
MAINTAINER=	d.marks@@students.umist.ac.uk
@


1.18
log
@Switch over to using <bsd.cpu.mk> feature tests to enable asm
optimization.

Approved by:	maintainer timeout
@
text
@d18 1
a18 1
MAINTAINER=	dominic_marks@@btinternet.com
@


1.17
log
@Assign maintainership to Dominic Marks.

PR:		37907
Submitted by:	Dominic Marks
@
text
@d24 1
a24 1
.if (${ARCH} == "i386")
d26 7
d34 1
a34 17
ARCHNAME=	${ARCH}
.endif

#	could do something w/
#	if sysctl -n hw.model | grep AMD >/dev/null ; then echo AMD ; fi
.if defined(HAVE_K6)
ALL_TARGET=	${OSNAME}-${ARCHNAME}-k6-BINFMT
.elif defined(HAVE_MMX)
ALL_TARGET=	${OSNAME}-${ARCHNAME}-mmx-BINFMT
.else
ALL_TARGET=	${OSNAME}-${ARCHNAME}-any-BINFMT
.endif

.if ${PORTOBJFORMAT} == "elf"
ALL_TARGET:=	${ALL_TARGET:S/BINFMT$/${PORTOBJFORMAT}/}
.else
ALL_TARGET:=	${ALL_TARGET:S/BINFMT$/a.out/}
@


1.16
log
@To ports@@freebsd.org.
@
text
@d18 1
a18 1
MAINTAINER=	ports@@FreeBSD.org
@


1.15
log
@Update master sites.

Submitted by:	George Reid <greid@@ukug.uk.freebsd.org>
@
text
@d6 1
a6 1
# $FreeBSD: ports/security/john/Makefile,v 1.14 2000/11/25 00:05:09 obrien Exp $
d18 1
a18 1
MAINTAINER=	obrien@@FreeBSD.org
@


1.14
log
@Remove the restriction on these due to containing DES code.
@
text
@d6 1
a6 1
# $FreeBSD: ports/security/john/Makefile,v 1.13 2000/04/09 18:29:46 cpiazza Exp $
d12 5
a16 2
MASTER_SITES=	http://www.false.com/security/john/ \
		ftp://ftp.false.com/pub/security/john/
@


1.13
log
@Update with the new PORTNAME/PORTVERSION variables
@
text
@d6 1
a6 1
# $FreeBSD: ports/security/john/Makefile,v 1.12 2000/03/22 00:27:01 obrien Exp $
a15 2

RESTRICTED=	"contains crypto (crypt())"
@


1.12
log
@Restore useless version required comments.
@
text
@d2 1
a2 2
# Ports collection makefile for:  ufcjohn
# Version required: 0.0
d6 1
a6 1
# $FreeBSD: ports/security/john/Makefile,v 1.11 2000/03/20 02:36:36 obrien Exp $
d9 2
a10 1
DISTNAME=	john-1.6
@


1.11
log
@Remove the "version required" line.
@
text
@d3 1
d7 1
a7 1
# $FreeBSD: ports/security/john/Makefile,v 1.10 2000/02/13 03:23:34 obrien Exp $
@


1.10
log
@Style nits in the ports I maintain.
@
text
@a2 1
# Version required:		  1.4
d6 1
a6 1
# $FreeBSD: ports/security/john/Makefile,v 1.9 1999/08/31 01:51:09 peter Exp $
@


1.9
log
@$Id$ -> $FreeBSD$
@
text
@d3 1
a3 1
# Version required:     	  1.4
d7 1
a7 1
# $FreeBSD$
d15 1
a15 1
MAINTAINER=     obrien@@FreeBSD.org
d53 3
a55 3
	    -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
d60 2
a61 2
	@@(cd ${PREFIX}/bin ; ${LN} -sf john xtract)
	@@(cd ${PREFIX}/bin ; ${LN} -sf john unshadow)
@


1.8
log
@ln -> ${LN}
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.7 1998/12/07 08:59:21 obrien Exp $
@


1.7
log
@Upgrade to version 1.6.

Adds a new target for Intel MMX chips.  (AMD K-6 already had their own target)
Define "HAVE_MMX" to turn on optimizations for Intel MMX chipes.
Define "HAVE_K6" to turn on opts for AMD K6 chips.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.6 1998/07/28 01:56:02 obrien Exp $
d60 2
a61 2
	@@(cd ${PREFIX}/bin ; /bin/ln -sf john xtract)
	@@(cd ${PREFIX}/bin ; /bin/ln -sf john unshadow)
@


1.6
log
@Author has a patch.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.5 1998/07/28 01:49:59 obrien Exp $
d10 1
a10 1
DISTNAME=	john-1.5
d17 5
a21 2
PATCH_SITES=	${MASTER_SITES}
PATCHFILES=	john-1.5-bugfix.diff
d23 5
a27 1
RESTRICTED=	"contains crypto (crypt())"
d29 2
a30 1
WRKSRC=		${WRKDIR}/${DISTNAME}/src
d32 9
a40 1
ALL_TARGET=	${OSNAME}-${ARCHNAME}-k6
d42 1
a42 1
ALL_TARGET=	${OSNAME}-${ARCHNAME}-any
d45 5
d74 1
a74 8
.include <bsd.port.mk>

OSNAME!=	/usr/bin/uname -s | ${TR} [A-Z] [a-z]
.if (${ARCH} == "i386")
ARCHNAME=	x86
.else
ARCHNAME=	${ARCH}
.endif
@


1.5
log
@Upgrade to version 1.5.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.4 1997/11/26 01:40:34 obrien Exp $
d17 3
d30 2
a31 2
	${MV} ${WRKDIR}/${DISTNAME}/run/john.ini ${WRKDIR}/${DISTNAME}/run/john.ini.in
	${SED} -e "s:~/all.chr:${PREFIX}/share/john/all.chr:" \
@


1.4
log
@Author published a patch.
Bump package version to 1.4.2.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.3 1997/03/10 17:39:35 obrien Exp $
d10 1
a10 2
DISTNAME=	ucfjohn3
PKGNAME=	john-1.4.2
d12 2
a13 2
MASTER_SITES=	http://www.false.com/security/john/
EXTRACT_SUFX=	.zip
d15 1
a15 6
PATCH_SITES=	${MASTER_SITES}
PATCHFILES=	patch142.diff

MAINTAINER=     obrien@@NUXI.com

BUILD_DEPENDS=  unzip:${PORTSDIR}/archivers/unzip
d19 3
a21 7
EXTRACT_CMD=    unzip
EXTRACT_ARGS=   -oqL
NO_WRKSUBDIR=   yes
ALL_TARGET=	freebsd

.if exists(/bin/tar)
TAR_CMD?=	/bin/tar
d23 1
a23 1
TAR_CMD?=	/usr/bin/tar
a25 5
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)

d27 5
a31 5
	/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
d35 1
a35 1
	@@${INSTALL_PROGRAM} ${WRKSRC}/john ${PREFIX}/bin
d38 7
a44 5
	@@${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
d47 1
a47 1
	@@${INSTALL_DATA} ${WRKSRC}/john.doc ${PREFIX}/share/doc/john
d51 7
@


1.3
log
@Style problem.

Noticed by:	Satoshi
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.2 1997/03/09 21:41:56 obrien Exp $
d11 1
a11 1
PKGNAME=	john-1.4
d15 3
@


1.2
log
@Restricted:  contains crypto -- crypt()
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.1.1.1 1997/03/09 21:34:25 obrien Exp $
d18 2
a20 2

BUILD_DEPENDS=  unzip:${PORTSDIR}/archivers/unzip
@


1.1
log
@Initial revision
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.2 1997/01/25 18:08:40 obrien Exp $
d17 2
@


1.1.1.1
log
@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
@
text
@@
