ports/157072: [new port] security/truecrypt

Ryan Steinmetz rpsfa at rit.edu
Sat Jun 4 18:40:46 UTC 2011


Updated shar to address issues in the original submission.
-------------- next part --------------
# 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 at 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



More information about the freebsd-ports-bugs mailing list