head	1.31;
access;
symbols
	RELEASE_8_3_0:1.30
	RELEASE_9_0_0:1.30
	RELEASE_7_4_0:1.29
	RELEASE_8_2_0:1.29
	RELEASE_6_EOL:1.29
	RELEASE_8_1_0:1.29
	RELEASE_7_3_0:1.29
	RELEASE_8_0_0:1.29
	RELEASE_7_2_0:1.29
	RELEASE_7_1_0:1.28
	RELEASE_6_4_0:1.28
	RELEASE_5_EOL:1.28
	RELEASE_7_0_0:1.28
	RELEASE_6_3_0:1.28
	PRE_XORG_7:1.28
	RELEASE_4_EOL:1.28
	RELEASE_6_2_0:1.28
	RELEASE_6_1_0:1.28
	RELEASE_5_5_0:1.28
	RELEASE_6_0_0:1.27
	RELEASE_5_4_0:1.27
	RELEASE_4_11_0:1.27
	RELEASE_5_3_0:1.27
	RELEASE_4_10_0:1.26
	RELEASE_5_2_1:1.24
	RELEASE_5_2_0:1.24
	RELEASE_4_9_0:1.24
	RELEASE_5_1_0:1.23
	RELEASE_4_8_0:1.23
	RELEASE_5_0_0:1.22
	RELEASE_4_7_0:1.20
	RELEASE_4_6_2:1.20
	RELEASE_4_6_1:1.20
	RELEASE_4_6_0:1.20
	RELEASE_5_0_DP1:1.19
	RELEASE_4_5_0:1.18
	RELEASE_4_4_0:1.18
	RELEASE_4_3_0:1.18
	RELEASE_4_2_0:1.17
	RELEASE_4_1_1:1.17
	RELEASE_4_1_0:1.17
	RELEASE_3_5_0:1.17
	RELEASE_4_0_0:1.12
	RELEASE_3_4_0:1.11
	RELEASE_3_3_0:1.11
	RELEASE_3_2_0:1.7
	RELEASE_3_1_0:1.7
	RELEASE_2_2_8:1.7
	RELEASE_3_0_0:1.7
	RELEASE_2_2_7:1.6
	RELEASE_2_2_6:1.6
	RELEASE_2_2_5:1.5
	RELEASE_2_2_1:1.4
	RELEASE_2_2_2:1.4
	crack_5_0:1.1.1.1
	OBRIEN:1.1.1;
locks; strict;
comment	@# @;


1.31
date	2012.11.17.06.01.02;	author svnexp;	state Exp;
branches;
next	1.30;

1.30
date	2011.03.18.10.04.51;	author sbz;	state Exp;
branches;
next	1.29;

1.29
date	2009.02.27.20.45.19;	author tabthorpe;	state Exp;
branches;
next	1.28;

1.28
date	2005.09.28.08.07.39;	author linimon;	state Exp;
branches;
next	1.27;

1.27
date	2004.05.25.05.33.35;	author krion;	state Exp;
branches;
next	1.26;

1.26
date	2004.04.10.17.26.48;	author trevor;	state Exp;
branches;
next	1.25;

1.25
date	2004.04.07.13.26.20;	author clement;	state Exp;
branches;
next	1.24;

1.24
date	2003.08.16.16.02.39;	author petef;	state Exp;
branches;
next	1.23;

1.23
date	2003.02.20.18.59.03;	author knu;	state Exp;
branches;
next	1.22;

1.22
date	2002.11.10.16.47.48;	author lioux;	state Exp;
branches;
next	1.21;

1.21
date	2002.11.06.22.46.47;	author adamw;	state Exp;
branches;
next	1.20;

1.20
date	2002.05.08.19.18.21;	author obrien;	state Exp;
branches;
next	1.19;

1.19
date	2002.01.29.11.58.39;	author knu;	state Exp;
branches;
next	1.18;

1.18
date	2000.11.25.00.05.06;	author obrien;	state Exp;
branches;
next	1.17;

1.17
date	2000.04.21.08.18.14;	author mharo;	state Exp;
branches;
next	1.16;

1.16
date	2000.04.17.00.18.36;	author reg;	state Exp;
branches;
next	1.15;

1.15
date	2000.04.09.18.29.29;	author cpiazza;	state Exp;
branches;
next	1.14;

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

1.13
date	2000.03.20.02.36.13;	author obrien;	state Exp;
branches;
next	1.12;

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

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

1.10
date	99.08.31.01.50.59;	author peter;	state Exp;
branches;
next	1.9;

1.9
date	99.08.28.02.42.08;	author mharo;	state Exp;
branches;
next	1.8;

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

1.7
date	98.10.10.03.42.59;	author steve;	state Exp;
branches;
next	1.6;

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

1.5
date	97.06.09.15.13.41;	author fenner;	state Exp;
branches;
next	1.4;

1.4
date	97.02.06.07.14.48;	author asami;	state Exp;
branches;
next	1.3;

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

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

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

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


desc
@@


1.31
log
@Switch exporter over
@
text
@# ex:ts=8
# Ports collection makefile for:  Crack
# Date created:			  12 Jan 1997
# Whom:				  David O'Brien <obrien@@FreeBSD.org>
#				  & Yukihiro Nakai <nakai@@mlab.t.u-tokyo.ac.jp>
#
# $FreeBSD: head/security/crack/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	crack
PORTVERSION=	5.0
CATEGORIES=	security
MASTER_SITES=	ftp://ftp.cerias.purdue.edu/pub/tools/unix/pwdutils/crack/ \
		${MASTER_SITE_PACKETSTORM}
MASTER_SITE_SUBDIR=	Crackers/crack
DISTNAME=	${PORTNAME}${PORTVERSION}

MAINTAINER=	sbz@@FreeBSD.org
COMMENT=	The "Sensible" Unix Password Cracker

WRKSRC=		${WRKDIR}/c50a

pre-configure:
.if !defined(WITH_DES)
	@@${MV} -f ${WRKSRC}/src/libdes ${WRKSRC}/src/libdes.notused
	@@${MV} -f ${WRKSRC}/src/util/elcid.c ${WRKSRC}/src/util/elcid.c.orig
	@@${CP} -p ${WRKSRC}/src/util/elcid.c,bsd ${WRKSRC}/src/util/elcid.c
.endif
	@@${ECHO_CMD} "XLIB+= -lcrypt" >> ${WRKSRC}/src/util/Makefile

pre-build:
	@@(if [ ! -f /usr/share/dict/words ];then \
	    ${ECHO_MSG} "You may want to install the dict distribution into /usr/share/dict" ; \
	    ${ECHO_MSG} "to increase the size of the cracking dictionary." ; \
	fi)

do-build:
	cd ${WRKSRC} ; ./Crack -makeonly
	cd ${WRKSRC} ; ./Crack -makedict
.if !defined(WITH_DES)
	@@#(cd ${WRKSRC} ; ./Crack -fgnd -fmt bsd ${FILESDIR}/pw-md5.test)
.endif

do-install:
	@@${MKDIR} ${PREFIX}/crack
	@@${RM} -f ${WRKSRC}/Run/*
	@@cd ${WRKSRC} ; ${TAR} cf - . | (cd ${PREFIX}/crack; ${TAR} xfBp -)

.include <bsd.port.mk>
@


1.30
log
@Update my MAINTAINER address to sbz at FreeBSD.org.

Approved by:	jadawin@@ (mentor)
@
text
@d7 1
a7 1
# $FreeBSD$
@


1.29
log
@- Pass maintainership to submitter

Submitted by:	Sofian Brabez via private email
@
text
@d18 1
a18 1
MAINTAINER=	sbrabez@@gmail.com
@


1.28
log
@Remove obsolete mastersite.

Source:		distfile survey
@
text
@d18 1
a18 1
MAINTAINER=	ports@@FreeBSD.org
@


1.27
log
@- Fix MASTER_SITES

PR:		ports/67154
Submitted by:	Roman Neuhauser <neuhauser@@chello.cz>
@
text
@a13 1
		ftp://the.ausmac.net/wd2a/security/host-security/ \
@


1.26
log
@Tidy up whitespace.
@
text
@d14 1
a14 1
		ftp://ftp.cert.dfn.de/pub/tools/password/Crack/ \
@


1.25
log
@- tar -> ${TAR} (since we have now a bsdtar ;)
@
text
@d15 1
a15 1
		${MASTER_SITE_PACKETSTORM}	
d17 1
a17 1
DISTNAME=	${PORTNAME}${PORTVERSION}	
@


1.24
log
@Add MASTER_SITE_PACKETSTORM as an additional mirror.

PR:		52109
Submitted by:	Jim Geovedi <jim@@corebsd.or.id>
Approved by:	various maintainers, timeouts
@
text
@d48 1
a48 1
	@@cd ${WRKSRC} ; tar cf - . | (cd ${PREFIX}/crack; tar xfBp -)
@


1.23
log
@De-pkg-comment.
@
text
@d14 3
a16 1
		ftp://ftp.cert.dfn.de/pub/tools/password/Crack/
@


1.22
log
@o Rollback PORTCOMMENT modifications while this feature's implementation
  is better studied
o Turn PORTCOMMENT variable in Makefile back into pkg-comment files

Approved by:	kris (portmgr hat),
		portmgr, re (silence)
@
text
@d18 1
@


1.21
log
@Use PORTCOMMENT in the Makefile, and whack the pkg-comment.

Approved by:	pat
@
text
@a18 2
PORTCOMMENT=	The "Sensible" Unix Password Cracker

@


1.20
log
@Update master sites

Submitted by:	Cyrille Lefevre <cyrille.lefevre@@laposte.net>
PR:		37850
@
text
@d19 2
@


1.19
log
@Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;
the ECHO macro is set to "echo" by default, but it is set to "true" if
make(1) is invoked with the -s option while ECHO_CMD is always set to
the echo command.
@
text
@d13 2
a14 4
MASTER_SITES=	ftp://ftp.win.tue.nl/pub/security/  \
		ftp://ftp.ox.ac.uk/pub/comp/security/software/crackers/  \
		ftp://ftp.auscert.org.au/pub/coast/mirrors/cert.org/tools/crack/ \
		ftp://ftp.riken.go.jp/pub/net/cert_security_tools/crack/
d17 1
a17 1
MAINTAINER=	obrien@@FreeBSD.org
@


1.18
log
@Remove the restriction on these due to containing DES code.
@
text
@d7 1
a7 1
# $FreeBSD: ports/security/crack/Makefile,v 1.17 2000/04/21 08:18:14 mharo Exp $
d29 1
a29 1
	@@${ECHO} "XLIB+= -lcrypt" >> ${WRKSRC}/src/util/Makefile
@


1.17
log
@Correct whitespace introduced during PORTNAME conversion and portlint
@
text
@d7 1
a7 1
# $FreeBSD: ports/security/crack/Makefile,v 1.16 2000/04/17 00:18:36 reg Exp $
a20 1
RESTRICTED=	"contains crypto (libdes)"
@


1.16
log
@Standardize all user defined options to the booleans WITH_FOO and
WITHOUT_FOO.  Begin the process of reserving these prefixes for user defined
options.

No comment by:	ports
@
text
@d7 1
a7 1
# $FreeBSD: ports/security/crack/Makefile,v 1.15 2000/04/09 18:29:29 cpiazza Exp $
d11 1
a11 1
PORTVERSION= 	5.0
@


1.15
log
@Update with the new PORTNAME/PORTVERSION variables
@
text
@d7 1
a7 1
# $FreeBSD: ports/security/crack/Makefile,v 1.14 2000/03/22 00:26:45 obrien Exp $
d25 1
a25 1
.if !defined(USE_DES)
d41 1
a41 1
.if !defined(USE_DES)
@


1.14
log
@Restore useless version required comments.
@
text
@a2 1
# Version required: 0.0
d7 1
a7 1
# $FreeBSD: ports/security/crack/Makefile,v 1.13 2000/03/20 02:36:13 obrien Exp $
d10 2
a11 2
DISTNAME=	crack5.0
PKGNAME=	crack-5.0
d17 1
@


1.13
log
@Remove the "version required" line.
@
text
@d3 1
d8 1
a8 1
# $FreeBSD: ports/security/crack/Makefile,v 1.12 2000/02/13 03:23:11 obrien Exp $
@


1.12
log
@Style nits in the ports I maintain.
@
text
@a2 1
# Version required:		  5.0
d7 1
a7 1
# $FreeBSD: ports/security/crack/Makefile,v 1.11 1999/09/04 19:24:50 obrien Exp $
@


1.11
log
@portlint
@
text
@d3 4
a6 4
# Version required:	5.0
# Date created:         12 Jan 1997
# Whom:			David O'Brien <obrien@@FreeBSD.org>
# Whom:                 Yukihiro Nakai <nakai@@mlab.t.u-tokyo.ac.jp>
d8 1
a8 1
# $FreeBSD: ports/security/crack/Makefile,v 1.10 1999/08/31 01:50:59 peter Exp $
d19 1
a19 1
MAINTAINER=     obrien@@FreeBSD.org
d34 2
a35 2
		${ECHO_MSG} "You may want to install the dict distribution into /usr/share/dict" ; \
		${ECHO_MSG} "to increase the size of the cracking dictionary." ; \
d39 2
a40 2
	(cd ${WRKSRC} ; ./Crack -makeonly)
	(cd ${WRKSRC} ; ./Crack -makedict)
d48 1
a48 1
	@@(cd ${WRKSRC} ; tar cf - . | (cd ${PREFIX}/crack; tar xfBp -))
@


1.10
log
@$Id$ -> $FreeBSD$
@
text
@d8 1
a8 1
# $FreeBSD$
a48 1

@


1.9
log
@expr -> ${EXPR}
mv   -> ${MV}
rm   -> ${RM}
tr   -> ${TR}
@
text
@d8 1
a8 1
# $Id: Makefile,v 1.8 1999/08/27 22:30:08 mharo Exp $
@


1.8
log
@echo -> ${ECHO} or ${ECHO_MSG}  and in some cases, move echo stuff
to pkg/MESSAGE and use ${CAT} ${PKGMESSAGE}
@
text
@d8 1
a8 1
# $Id: Makefile,v 1.7 1998/10/10 03:42:59 steve Exp $
d26 2
a27 2
	@@/bin/mv -f ${WRKSRC}/src/libdes ${WRKSRC}/src/libdes.notused
	@@/bin/mv -f ${WRKSRC}/src/util/elcid.c ${WRKSRC}/src/util/elcid.c.orig
@


1.7
log
@'-lcrypt' is needed in the USE_DES case too.

PR:		8080
@
text
@d8 1
a8 1
# $Id: Makefile,v 1.6 1997/11/26 01:42:55 obrien Exp $
d30 1
a30 1
	@@echo "XLIB+= -lcrypt" >> ${WRKSRC}/src/util/Makefile
d34 2
a35 2
		echo "You may want to install the dict distribution into /usr/share/dict" ; \
		echo "to increase the size of the cracking dictionary." ; \
@


1.6
log
@Don't fetch Crack from a US site.
@
text
@d8 1
a8 1
# $Id: Makefile,v 1.5 1997/06/09 15:13:41 fenner Exp $
d29 1
a30 1
.endif
@


1.5
log
@Replace a couple of non-working master_sites with working ones.

Found by:	distfile checker
@
text
@d8 1
a8 1
# $Id: Makefile,v 1.4 1997/02/06 07:14:48 asami Exp $
a14 1
		ftp://ftp.lerc.nasa.gov/security/  \
@


1.4
log
@Add $Id$.
@
text
@d8 1
a8 1
# $Id$
d17 2
a18 2
		ftp://ftp.info.au/security/eindhoven/  \
		ftp://ftp.iis.u-tokyo.ac.jp/pub/security/
@


1.3
log
@Minor style nitpick.
@
text
@d7 3
@


1.2
log
@Change Makefile more to my likeing.
@
text
@d24 1
a24 1
	@@/bin/mv -f ${WRKSRC}/src/libdes ${WRKSRC}/src/libdes.orig
@


1.1
log
@Initial revision
@
text
@d24 4
a27 4
	/bin/mv -f ${WRKSRC}/src/libdes ${WRKSRC}/src/libdes.orig
	/bin/mv -f ${WRKSRC}/src/util/elcid.c ${WRKSRC}/src/util/elcid.c.orig
	${CP} -p ${WRKSRC}/src/util/elcid.c,bsd ${WRKSRC}/src/util/elcid.c
	echo "XLIB+= -lcrypt" >> ${WRKSRC}/src/util/Makefile
d40 1
a40 1
	#(cd ${WRKSRC} ; ./Crack -fgnd -fmt bsd ${FILESDIR}/pw-md5.test)
d44 3
a46 3
	${MKDIR} ${PREFIX}/crack
	${RM} -f ${WRKSRC}/Run/*
	(cd ${WRKSRC} ; tar cf - . | (cd ${PREFIX}/crack; tar xfBp -))
@


1.1.1.1
log
@This is Alec Muffett's password guessing program.
This version (5.0) supports the 4.4BSD password format, and also FreeBSD's
MD5 style passwords.
@
text
@@
