From nobody@FreeBSD.org  Sun May 15 19:22:03 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 9DD841065673
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 15 May 2011 19:22:03 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 8B1338FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 15 May 2011 19:22:03 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p4FJM3mZ085326
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 15 May 2011 19:22:03 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p4FJM34k085325;
	Sun, 15 May 2011 19:22:03 GMT
	(envelope-from nobody)
Message-Id: <201105151922.p4FJM34k085325@red.freebsd.org>
Date: Sun, 15 May 2011 19:22:03 GMT
From: Ryan Steinmetz <rpsfa@rit.edu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [new port] security/truecrypt
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         157072
>Category:       ports
>Synopsis:       [new port] security/truecrypt
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    wxs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 15 19:30:11 UTC 2011
>Closed-Date:    Sat Jun 11 01:31:50 UTC 2011
>Last-Modified:  Sat Jun 11 01:40:10 UTC 2011
>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:

From: Ryan Steinmetz <rpsfa@rit.edu>
To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Cc:  
Subject: Re: ports/157072: [new port] security/truecrypt
Date: Sun, 15 May 2011 15:47:42 -0400

 pkg-message contains a typo: 'considere' should be 'considered'
 pkg-message should also note that instability issues seem to surface when working with files larger than a few megs.
 
 As a side note, it is hoped that the creation of this port will help developers improve some of the instability issues that truecrypt.org reports with FreeBSD's FUSE implementation by providing an application to work with.

From: Ryan Steinmetz <rpsfa@rit.edu>
To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Cc:  
Subject: Re: ports/157072: [new port] security/truecrypt
Date: Sun, 15 May 2011 16:09:05 -0400

 The limited testing that I've done has revealed that reading from a mounted volume works quite well.  The stability issues seem to surface whenever writing larger files.
Responsible-Changed-From-To: freebsd-ports-bugs->wxs 
Responsible-Changed-By: wxs 
Responsible-Changed-When: Mon May 16 00:29:45 UTC 2011 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=157072 

From: Ryan Steinmetz <rpsfa@rit.edu>
To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Cc:  
Subject: Re: ports/157072: [new port] security/truecrypt
Date: Sat, 4 Jun 2011 14:40:44 -0400

 --KsGdsel6WgEHnImy
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 Updated shar to address issues in the original submission.
 
 --KsGdsel6WgEHnImy
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="truecrypt.shar.txt"
 
 # 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
 #	./LEGAL.diff
 #
 echo c - .
 mkdir -p . > /dev/null 2>&1
 echo c - ./truecrypt
 mkdir -p ./truecrypt > /dev/null 2>&1
 echo x - ./truecrypt/pkg-descr
 sed 's/^X//' >./truecrypt/pkg-descr << 'ccc24902ba011e69caa6d76376a4f6e2'
 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/
 ccc24902ba011e69caa6d76376a4f6e2
 echo x - ./truecrypt/Makefile
 sed 's/^X//' >./truecrypt/Makefile << '4f5c6ce1361a196726ae0a23e7e4cbf5'
 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/${WX_VER}/:wxwidgets \
 X		ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/:rsa
 XDISTFILES=	${TC_SRCFILE}:tc \
 X		wxWidgets-${WX_VER}.tar.gz:wxwidgets \
 X		pkcs11.h:rsa \
 X		pkcs11f.h:rsa \
 X		pkcs11t.h:rsa
 XEXTRACT_ONLY=	${TC_SRCFILE} wxWidgets-${WX_VER}.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 \
 X		nasm:${PORTSDIR}/devel/nasm
 XLIB_DEPENDS=	fuse.2:${PORTSDIR}/sysutils/fusefs-libs
 XRUN_DEPENDS=	${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod
 X
 XWRKSRC=		${WRKDIR}/truecrypt-${PORTVERSION}-source
 X
 XUSE_GMAKE=	yes
 XUSE_ICONV=	yes
 XRESTRICTED=	Downloading requires acceptance of license agreement
 XNO_CDROM=	Distribution requires acceptance of license agreement
 XNO_PACKAGE=	Distribution requires acceptance of license agreement
 X
 XTC_SRCFILE=	TrueCrypt_${PORTVERSION}_Source.tar.gz
 XWX_VER=		2.8.12
 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
 X.if (!exists(${DISTDIR}/${TC_SRCFILE}))
 XDISTFILE_INSTRUCTIONS=\n\
 XDue to licensing restrictions, certain files must be fetched manually.\n\n\
 XPlease visit http://www.truecrypt.org/downloads2 with a web browser and accept the\
 XLicense Agreement.\n\
 XSelect the Mac OS X / Linux (.tar.gz) version\n\n\
 XPlace the downloaded file into ${DISTDIR} and rename it to ${TC_SRCFILE}\n\n\
 XThen, please restart the build.\n\n
 X.endif
 X
 Xpre-fetch:
 X.if defined(DISTFILE_INSTRUCTIONS)
 X	@${PRINTF} "${DISTFILE_INSTRUCTIONS}"
 X	@exit 1
 X.endif
 X
 Xdo-build:
 X	@${MKDIR} ${WRKDIR}/rsa
 X	@${CP} ${DISTDIR}/pkcs11.h ${WRKDIR}/rsa
 X	@${CP} ${DISTDIR}/pkcs11t.h ${WRKDIR}/rsa
 X	@${CP} ${DISTDIR}/pkcs11f.h ${WRKDIR}/rsa
 X	cd ${WRKSRC} && ${GMAKE} NOGUI=1 PKCS11_INC=${WRKDIR}/rsa WX_ROOT=${WRKDIR}/wxWidgets-${WX_VER} wxbuild
 X	cd ${WRKSRC} && ${GMAKE} NOGUI=1 WXSTATIC=1 PKCS11_INC=${WRKDIR}/rsa
 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>
 4f5c6ce1361a196726ae0a23e7e4cbf5
 echo x - ./truecrypt/distinfo
 sed 's/^X//' >./truecrypt/distinfo << 'c07908ddd5f466eb5d397fa740685591'
 XSHA256 (TrueCrypt_7.0a_Source.tar.gz) = 6c845153ee868429e2a531407383e9349754d1579cf66fc838632c44baaba021
 XSIZE (TrueCrypt_7.0a_Source.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
 c07908ddd5f466eb5d397fa740685591
 echo x - ./truecrypt/pkg-message
 sed 's/^X//' >./truecrypt/pkg-message << 'ddcb45df92e7a1c9ea55d20c413bca2d'
 X===========================================================
 X*** WARNING ***
 X
 XTrueCrypt is not offically supported under FreeBSD, however
 Xit does seem to function fine under certain conditions.
 X
 XUntil TrueCrypt is officially supported under FreeBSD, this 
 Xport should be considered experimental.  TrueCrypt's website
 Xcites that system instability is possible.
 X
 XPlease ensure that the fusefs kmod is loaded prior to use.
 X
 XWWW: http://www.truecrypt.org/misc/freebsd
 X===========================================================
 ddcb45df92e7a1c9ea55d20c413bca2d
 echo x - ./LEGAL.diff
 sed 's/^X//' >./LEGAL.diff << 'c6f6be8f87072343c318d0564ed7c007'
 X--- /usr/ports/LEGAL	2011-06-01 17:55:08.000000000 -0400
 X+++ /usr/ports/LEGAL	2011-06-04 08:46:47.000000000 -0400
 X@@ -23,6 +23,9 @@
 X 
 X Dist			Port			Why
 X ------------------------------------------------------------------------------
 X+TrueCrypt*		security/truecrypt	May not be redistributed.
 X+						Crypto; export-controlled.
 X+						Must accept license to download.
 X ventrilo_srv-*		audio/ventrilo-server	May not be redistributed.
 X 						Crypto; export-controlled.
 X 						For personal use only.
 c6f6be8f87072343c318d0564ed7c007
 exit
 
 
 --KsGdsel6WgEHnImy--

From: Ryan Steinmetz <rpsfa@rit.edu>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: ports/157072: [new port] security/truecrypt
Date: Sat, 4 Jun 2011 14:49:39 -0400

 --ftEhullJWpWg/VHq
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 Updated shar to address issues in the original submission.
 
 --ftEhullJWpWg/VHq
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="truecrypt.shar.txt"
 
 # 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
 #	./LEGAL.diff
 #
 echo c - .
 mkdir -p . > /dev/null 2>&1
 echo c - ./truecrypt
 mkdir -p ./truecrypt > /dev/null 2>&1
 echo x - ./truecrypt/pkg-descr
 sed 's/^X//' >./truecrypt/pkg-descr << 'ccc24902ba011e69caa6d76376a4f6e2'
 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/
 ccc24902ba011e69caa6d76376a4f6e2
 echo x - ./truecrypt/Makefile
 sed 's/^X//' >./truecrypt/Makefile << '4f5c6ce1361a196726ae0a23e7e4cbf5'
 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/${WX_VER}/:wxwidgets \
 X		ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/:rsa
 XDISTFILES=	${TC_SRCFILE}:tc \
 X		wxWidgets-${WX_VER}.tar.gz:wxwidgets \
 X		pkcs11.h:rsa \
 X		pkcs11f.h:rsa \
 X		pkcs11t.h:rsa
 XEXTRACT_ONLY=	${TC_SRCFILE} wxWidgets-${WX_VER}.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 \
 X		nasm:${PORTSDIR}/devel/nasm
 XLIB_DEPENDS=	fuse.2:${PORTSDIR}/sysutils/fusefs-libs
 XRUN_DEPENDS=	${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod
 X
 XWRKSRC=		${WRKDIR}/truecrypt-${PORTVERSION}-source
 X
 XUSE_GMAKE=	yes
 XUSE_ICONV=	yes
 XRESTRICTED=	Downloading requires acceptance of license agreement
 XNO_CDROM=	Distribution requires acceptance of license agreement
 XNO_PACKAGE=	Distribution requires acceptance of license agreement
 X
 XTC_SRCFILE=	TrueCrypt_${PORTVERSION}_Source.tar.gz
 XWX_VER=		2.8.12
 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
 X.if (!exists(${DISTDIR}/${TC_SRCFILE}))
 XDISTFILE_INSTRUCTIONS=\n\
 XDue to licensing restrictions, certain files must be fetched manually.\n\n\
 XPlease visit http://www.truecrypt.org/downloads2 with a web browser and accept the\
 XLicense Agreement.\n\
 XSelect the Mac OS X / Linux (.tar.gz) version\n\n\
 XPlace the downloaded file into ${DISTDIR} and rename it to ${TC_SRCFILE}\n\n\
 XThen, please restart the build.\n\n
 X.endif
 X
 Xpre-fetch:
 X.if defined(DISTFILE_INSTRUCTIONS)
 X	@${PRINTF} "${DISTFILE_INSTRUCTIONS}"
 X	@exit 1
 X.endif
 X
 Xdo-build:
 X	@${MKDIR} ${WRKDIR}/rsa
 X	@${CP} ${DISTDIR}/pkcs11.h ${WRKDIR}/rsa
 X	@${CP} ${DISTDIR}/pkcs11t.h ${WRKDIR}/rsa
 X	@${CP} ${DISTDIR}/pkcs11f.h ${WRKDIR}/rsa
 X	cd ${WRKSRC} && ${GMAKE} NOGUI=1 PKCS11_INC=${WRKDIR}/rsa WX_ROOT=${WRKDIR}/wxWidgets-${WX_VER} wxbuild
 X	cd ${WRKSRC} && ${GMAKE} NOGUI=1 WXSTATIC=1 PKCS11_INC=${WRKDIR}/rsa
 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>
 4f5c6ce1361a196726ae0a23e7e4cbf5
 echo x - ./truecrypt/distinfo
 sed 's/^X//' >./truecrypt/distinfo << 'c07908ddd5f466eb5d397fa740685591'
 XSHA256 (TrueCrypt_7.0a_Source.tar.gz) = 6c845153ee868429e2a531407383e9349754d1579cf66fc838632c44baaba021
 XSIZE (TrueCrypt_7.0a_Source.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
 c07908ddd5f466eb5d397fa740685591
 echo x - ./truecrypt/pkg-message
 sed 's/^X//' >./truecrypt/pkg-message << 'ddcb45df92e7a1c9ea55d20c413bca2d'
 X===========================================================
 X*** WARNING ***
 X
 XTrueCrypt is not offically supported under FreeBSD, however
 Xit does seem to function fine under certain conditions.
 X
 XUntil TrueCrypt is officially supported under FreeBSD, this 
 Xport should be considered experimental.  TrueCrypt's website
 Xcites that system instability is possible.
 X
 XPlease ensure that the fusefs kmod is loaded prior to use.
 X
 XWWW: http://www.truecrypt.org/misc/freebsd
 X===========================================================
 ddcb45df92e7a1c9ea55d20c413bca2d
 echo x - ./LEGAL.diff
 sed 's/^X//' >./LEGAL.diff << 'c6f6be8f87072343c318d0564ed7c007'
 X--- /usr/ports/LEGAL	2011-06-01 17:55:08.000000000 -0400
 X+++ /usr/ports/LEGAL	2011-06-04 08:46:47.000000000 -0400
 X@@ -23,6 +23,9 @@
 X 
 X Dist			Port			Why
 X ------------------------------------------------------------------------------
 X+TrueCrypt*		security/truecrypt	May not be redistributed.
 X+						Crypto; export-controlled.
 X+						Must accept license to download.
 X ventrilo_srv-*		audio/ventrilo-server	May not be redistributed.
 X 						Crypto; export-controlled.
 X 						For personal use only.
 c6f6be8f87072343c318d0564ed7c007
 exit
 
 
 --ftEhullJWpWg/VHq--
State-Changed-From-To: open->closed 
State-Changed-By: wxs 
State-Changed-When: Sat Jun 11 01:31:47 UTC 2011 
State-Changed-Why:  
New port added. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=157072 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/157072: commit references a PR
Date: Sat, 11 Jun 2011 01:32:51 +0000 (UTC)

 wxs         2011-06-11 01:32:37 UTC
 
   FreeBSD ports repository
 
   Modified files:
     .                    LEGAL 
     security             Makefile 
   Added files:
     security/truecrypt   Makefile distinfo pkg-descr pkg-message 
   Log:
   Free open-source disk encryption software
   
   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.
   * 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.
   * Provides plausible deniability, in case an adversary forces you
     to reveal the password:
     Hidden volume (steganography) and hidden operating system.
   
   WWW: http://www.truecrypt.org/
   
   NOTE: This port is experimental and provides no GUI for managing
   truecrypt volumes.
   
   PR:             ports/157072
   Submitted by:   Ryan Steinmetz <rpsfa@rit.edu>
   
   Revision  Changes    Path
   1.658     +4 -1      ports/LEGAL
   1.1175    +1 -0      ports/security/Makefile
   1.1       +84 -0     ports/security/truecrypt/Makefile (new)
   1.1       +10 -0     ports/security/truecrypt/distinfo (new)
   1.1       +15 -0     ports/security/truecrypt/pkg-descr (new)
   1.1       +14 -0     ports/security/truecrypt/pkg-message (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
