Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 May 2011 19:22:03 GMT
From:      Ryan Steinmetz <rpsfa@rit.edu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/157072: [new port] security/truecrypt
Message-ID:  <201105151922.p4FJM34k085325@red.freebsd.org>
Resent-Message-ID: <201105151930.p4FJUBmJ073896@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         157072
>Category:       ports
>Synopsis:       [new port] security/truecrypt
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 15 19:30:11 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Ryan Steinmetz
>Release:        8.2-RELEASE
>Organization:
Rochester Institute of Technology
>Environment:
>Description:
New port: security/truecrypt

Currently, only the CLI version is offered via the port.

Free open-source disk encryption software for Windows 7/Vista/XP, Mac OS X, and Linux
Main Features:
    * Creates a virtual encrypted disk within a file and mounts it as a real disk.
    * Encrypts an entire partition or storage device such as USB flash drive or hard drive.
    * Encrypts a partition or drive where Windows is installed (pre-boot authentication).
    * Encryption is automatic, real-time (on-the-fly) and transparent.
    * Parallelization and pipelining allow data to be read and written as fast as if the drive was not encrypted.
    * Encryption can be hardware-accelerated on modern processors.
    * Provides plausible deniability, in case an adversary forces you to reveal the password:
      Hidden volume (steganography) and hidden operating system.
      More information about the features of TrueCrypt may be found in the documentation.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	truecrypt/
#	truecrypt/pkg-descr
#	truecrypt/Makefile
#	truecrypt/distinfo
#	truecrypt/pkg-message
#
echo c - truecrypt/
mkdir -p truecrypt/ > /dev/null 2>&1
echo x - truecrypt/pkg-descr
sed 's/^X//' >truecrypt/pkg-descr << '906a325c48c7f88dc11352fea46000c1'
XFree open-source disk encryption software
X
XMain Features:
X* Creates a virtual encrypted disk within a file and mounts it as 
X  a real disk.
X* Encrypts an entire partition or storage device such as USB flash 
X  drive or hard drive.
X* Encryption is automatic, real-time (on-the-fly) and transparent.
X* Parallelization and pipelining allow data to be read and written
X  as fast as if the drive was not encrypted.
X* Provides plausible deniability, in case an adversary forces you 
X  to reveal the password:
X  Hidden volume (steganography) and hidden operating system. 
X
XWWW: http://www.truecrypt.org/
906a325c48c7f88dc11352fea46000c1
echo x - truecrypt/Makefile
sed 's/^X//' >truecrypt/Makefile << '62919eaa08b8a2012b521c3d5ca6d4ab'
X# New ports collection makefile for:	truecrypt
X# Date created: 	9 May 2011
X# Whom:			Ryan Steinmetz
X#
X# $FreeBSD$
X
XPORTNAME=	truecrypt
XPORTVERSION=	7.0a
XCATEGORIES=	security
XMASTER_SITES=	SF/wxwindows/2.8.12/:wxwidgets \
X		http://people.rit.edu/rpsfa/:tc \
X		ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/:rsa
XDISTFILES=	TrueCrypt%20${PORTVERSION}%20Source.tar.gz:tc \
X		wxWidgets-2.8.12.tar.gz:wxwidgets \
X		pkcs11.h:rsa \
X		pkcs11f.h:rsa \
X		pkcs11t.h:rsa
XEXTRACT_ONLY=	TrueCrypt%20${PORTVERSION}%20Source.tar.gz wxWidgets-2.8.12.tar.gz
X
XMAINTAINER=	rpsfa@rit.edu
XCOMMENT=	Free open-source disk encryption software
X
XBUILD_DEPENDS=	${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod
XRUN_DEPENDS=	${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod
X
XWRKSRC=		${WRKDIR}/truecrypt-${PORTVERSION}-source
X
XUSE_GMAKE=	yes
XUSE_ICONV=	yes
X
XLICENSE_FILE=	${WRKSRC}/License.txt
X
XPLIST_FILES=	bin/truecrypt
X.if !defined(NOPORTDOCS)
XPLIST_FILES+=	%%DOCSDIR%%/TrueCrypt\ User\ Guide.pdf
XPLIST_FILES+=	%%DOCSDIR%%/License.txt
XPLIST_DIRS=	%%DOCSDIR%%
X.endif
X
X.include <bsd.port.pre.mk>
X
Xdo-build:
X	cd ${WRKSRC} && ${GMAKE} NOGUI=1 PKCS11_INC=${DISTDIR} WX_ROOT=${WRKDIR}/wxWidgets-2.8.12 wxbuild
X	cd ${WRKSRC} && ${GMAKE} NOGUI=1 WXSTATIC=1 PKCS11_INC=${DISTDIR}
X
Xdo-install:
X	@${INSTALL_PROGRAM} ${WRKSRC}/Main/truecrypt ${PREFIX}/bin
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	@${INSTALL_DATA} ${WRKSRC}/License.txt ${DOCSDIR}
X	@${INSTALL_DATA} ${WRKSRC}/Release/Setup\ Files/TrueCrypt\ User\ Guide.pdf ${DOCSDIR}
X.endif
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
62919eaa08b8a2012b521c3d5ca6d4ab
echo x - truecrypt/distinfo
sed 's/^X//' >truecrypt/distinfo << '2576118368da26e025e770db9fce42f6'
XSHA256 (TrueCrypt%207.0a%20Source.tar.gz) = 6c845153ee868429e2a531407383e9349754d1579cf66fc838632c44baaba021
XSIZE (TrueCrypt%207.0a%20Source.tar.gz) = 1996312
XSHA256 (wxWidgets-2.8.12.tar.gz) = 197c94f7d46269a7fc261a3c8c943f03a9807acf65381944489a538fd8b5dd21
XSIZE (wxWidgets-2.8.12.tar.gz) = 18924737
XSHA256 (pkcs11.h) = 1563d877b6f8868b8eb8687358162bfb7f868104ed694beb35ae1c5cf1a58b9b
XSIZE (pkcs11.h) = 9578
XSHA256 (pkcs11f.h) = 5ae6a4f32ca737e02def3bf314c9842fb89be82bf00b6f4022a97d8d565522b8
XSIZE (pkcs11f.h) = 29258
XSHA256 (pkcs11t.h) = 8ce68616304684f92a7e267bcc8f486441e92a5cbdfcfd97e69ac9a0b436fb7b
XSIZE (pkcs11t.h) = 70934
2576118368da26e025e770db9fce42f6
echo x - truecrypt/pkg-message
sed 's/^X//' >truecrypt/pkg-message << '1dfe65137c66791cd2a24ad971273615'
X===========================================================
X*** WARNING ***
X
XTrueCrypt is not offially supported under FreeBSD, however
Xinitial testing has shown that it appears to work.
X
XUntil TrueCrypt is officially supported under FreeBSD, this 
Xport should be considere experimental.  TrueCrypt's website
Xcites that instability is possible.
X
XPlease ensure that the fusefs kmod is loaded prior to use.
X
XWWW: http://www.truecrypt.org/misc/freebsd
X===========================================================
1dfe65137c66791cd2a24ad971273615
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105151922.p4FJM34k085325>