head	1.2;
access;
symbols;
locks; strict;
comment	@# @;


1.2
date	2012.11.17.06.01.21;	author svnexp;	state Exp;
branches;
next	1.1;

1.1
date	2012.05.23.19.58.16;	author zi;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Switch exporter over
@
text
@# New ports collection makefile for:	truecrack
# Date created:			 	23 May 2012
# Whom:					Ryan Steinmetz <zi@@FreeBSD.org>
#
# $FreeBSD: head/security/truecrack/Makefile 300897 2012-07-14 14:29:18Z beat $

PORTNAME=	truecrack
PORTVERSION=	0.1
CATEGORIES=	security
MASTER_SITES=	https://truecrack.googlecode.com/files/ \
		http://mirrors.rit.edu/zi/
DISTNAME=	${PORTNAME}

MAINTAINER=	zi@@FreeBSD.org
COMMENT=	A password cracker for TrueCrypt volumes

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/license.txt

USE_GMAKE=	yes
CFLAGS+=	-DTC_BSD
PLIST_FILES=	bin/truecrack

.if !defined(NOPORTDATA)
DICTIONARIES=	dictionary_100k.txt dictionary_10k.txt dictionary.txt
PORTDATA=	${DICTIONARIES}
.endif

post-patch:
	@@${REINPLACE_CMD} -e 's/CFLAGS =/CFLAGS +=/g' ${WRKSRC}/Makefile
	@@${REINPLACE_CMD} -e 's/return ;/return 0;/g' ${WRKSRC}/Main/Utils.c

do-install:
	@@${INSTALL_PROGRAM} ${WRKSRC}/truecrack ${PREFIX}/bin
.if !defined(NOPORTDATA)
.for dict in ${DICTIONARIES}
	@@${MKDIR} ${DATADIR}
	@@${INSTALL_DATA} ${WRKSRC}/${dict} ${DATADIR}
.endfor
.endif

.include <bsd.port.mk>
@


1.1
log
@New port: security/truecrack

TrueCrack is a brute-force password cracker for TrueCrypt (Copyright) volume
files. It works on Linux and it is optimized with Nvidia Cuda technology.
It works with cripted volumes with the following algorithms:

- PBKDF2 (defined in PKCS5 v2.0) based on RIPEMD160 Key derivation function.
- XTS block cipher mode of operation used for hard disk encryption based on
  AES.

TrueCrack can work in two different modes of use:

- Dictionary attack: read the passwords from a file of words (one password
  for line).
- Charset attack: generate the passwords from a charset of symbols defined
  by the user (for example: all possible strings of n characters from the
  charset "abc" ).

WWW: https://code.google.com/p/truecrack/
@
text
@d5 1
a5 1
# $FreeBSD$
@

