diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-06-22 23:56:05 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-06-22 23:56:05 +0000 |
commit | 6749d3653031c282d896f3eabc746f3829f618c1 (patch) | |
tree | 0347d559624a25b791b5b6913403dea7e277c70e /app-crypt | |
parent | Add truecrypt-2.7 license. (diff) | |
download | historical-6749d3653031c282d896f3eabc746f3829f618c1.tar.gz historical-6749d3653031c282d896f3eabc746f3829f618c1.tar.bz2 historical-6749d3653031c282d896f3eabc746f3829f618c1.zip |
Version bump.
Package-Manager: portage-13671-svn/cvs/Linux x86_64
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/truecrypt/ChangeLog | 8 | ||||
-rw-r--r-- | app-crypt/truecrypt/Manifest | 4 | ||||
-rw-r--r-- | app-crypt/truecrypt/truecrypt-6.2a.ebuild | 105 |
3 files changed, 115 insertions, 2 deletions
diff --git a/app-crypt/truecrypt/ChangeLog b/app-crypt/truecrypt/ChangeLog index 8edbd3b01e2e..a96699b83629 100644 --- a/app-crypt/truecrypt/ChangeLog +++ b/app-crypt/truecrypt/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-crypt/truecrypt # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/truecrypt/ChangeLog,v 1.46 2009/05/21 17:39:53 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/truecrypt/ChangeLog,v 1.47 2009/06/22 23:56:05 arfrever Exp $ + +*truecrypt-6.2a (22 Jun 2009) + + 22 Jun 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +truecrypt-6.2a.ebuild: + Version bump. 21 May 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> truecrypt-6.2.ebuild: diff --git a/app-crypt/truecrypt/Manifest b/app-crypt/truecrypt/Manifest index 22dce371d815..f31a0a9bb73d 100644 --- a/app-crypt/truecrypt/Manifest +++ b/app-crypt/truecrypt/Manifest @@ -4,7 +4,9 @@ AUX truecrypt-4.3a-2.6.29.patch 416 RMD160 dc7721e5ac0ebd5a075c4f6c0d8cf80524cd5 AUX truecrypt-stop.sh 308 RMD160 4b2e6f47520f701324c03b5a43118cc38ee409a3 SHA1 7139ba403e482a4746e1d545115b74760b1438ea SHA256 243a9d1041b291e12ce2065959838f0cfe01484bffac7915991ebeb90d2ccd2c DIST truecrypt-4.3a-source-code.tar.gz 1110554 RMD160 1a24ae6132b43876161a090751c19afed7c5c996 SHA1 30c91901171c3c8290d4d0de856774cdf7ee4ed6 SHA256 d5515cfeb1bb328ad6f13ef347cd9422b4bb15bf849aabc4cd4f2f69a3e0c74a DIST truecrypt-6.2.tar.gz 1793484 RMD160 91763eb3451387a2c6d0a204c7f465b026405c7d SHA1 a97ea8a68f10d38218d925a96f53de280d548abb SHA256 fef81746948b8e395a866509df337ec4a68475c3df755e527c2788f3111824fe +DIST truecrypt-6.2a.tar.gz 1800129 RMD160 1c73874485503e02c6293d4e82753722b3584117 SHA1 0aef417dc3caf449be6117258eac1644fccec9e3 SHA256 a6281d4ebda00c2384a460f67015b8899716e140c30d441694acad31ece4e5a8 EBUILD truecrypt-4.3a.ebuild 3561 RMD160 53c02158d6cdda3f9dcd4dc27be87394b6548d67 SHA1 9674e9119abb3135e8068652c995aea509f4bc69 SHA256 3a918bc9f4ae780c9b161b2442134a1cc05c793f812aa45d2dee0489300fd28a EBUILD truecrypt-6.2.ebuild 2578 RMD160 9c2a5be9b20af09d2c9ed5afc0cab65c574cfd7f SHA1 1b1aa202b0c9844ac10412135b972b66cc61824a SHA256 6116f3869a818648ba0943398e86c4d0fc321dce81a4b6833abcd2f546477bfe -MISC ChangeLog 8689 RMD160 2af0a5c9b94a5c82cc9ee5703b0fad2931b3c397 SHA1 c65ce1897e54484713db6c7044f1f258a3d0de64 SHA256 270d803236ff4a5ac45365d9ebd81711e017261b7e23e503c5ed45c627d99910 +EBUILD truecrypt-6.2a.ebuild 2579 RMD160 c1813e17ff9180c28f5f1e010c860819901d054c SHA1 8d26c6d7ace27e51fdf55ad32eb286bf7cfd8cb9 SHA256 6b64918fdc59914ac0cc96311b969cbfb7aebde9e396da771f884ea490d47d55 +MISC ChangeLog 8836 RMD160 b6f85b1adfc354e69b1015af224659b2339f2b1d SHA1 5066de07ad918d75343afe3d2cf9d6479bd8565f SHA256 40bc511a8d836e156fabbbca787efc589e520c910f237ab1deae1c9a3075a07c MISC metadata.xml 224 RMD160 74db96ad8aa1d285d83ae93a9f4a767335f55c15 SHA1 d86a171d981b45e7ed0c0b3b5059d2a63c811001 SHA256 9e9ce661a9fdb45a535ad875a247b700a70745359b27533ec29a6a46fa708e86 diff --git a/app-crypt/truecrypt/truecrypt-6.2a.ebuild b/app-crypt/truecrypt/truecrypt-6.2a.ebuild new file mode 100644 index 000000000000..b22e9cfd117d --- /dev/null +++ b/app-crypt/truecrypt/truecrypt-6.2a.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/truecrypt/truecrypt-6.2a.ebuild,v 1.1 2009/06/22 23:56:05 arfrever Exp $ + +EAPI="2" + +inherit flag-o-matic linux-info multilib toolchain-funcs wxwidgets + +DESCRIPTION="Free open-source disk encryption software" +HOMEPAGE="http://www.truecrypt.org/" +SRC_URI="${P}.tar.gz" + +LICENSE="truecrypt-2.7" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="X" +RESTRICT="bindist fetch mirror" + +RDEPEND="|| ( >=sys-fs/lvm2-2.02.45 sys-fs/device-mapper ) + sys-fs/fuse + x11-libs/wxGTK:2.8[X?]" +DEPEND="${RDEPEND} + || ( dev-libs/pkcs11-helper dev-libs/opensc )" + +S="${WORKDIR}/${P}-source" + +pkg_nofetch() { + einfo "Please download tar.gz source from:" + einfo "http://www.truecrypt.org/downloads2.php" + einfo "Then put the file in ${DISTDIR}/${SRC_URI}" +} + +pkg_setup() { + local CONFIG_CHECK="BLK_DEV_DM DM_CRYPT FUSE_FS CRYPTO" + linux-info_pkg_setup + + local WX_GTK_VER="2.8" + if use X; then + need-wxwidgets unicode + else + need-wxwidgets base-unicode + fi +} + +src_prepare() { + if has_version x11-libs/wxGTK[X]; then + # Fix linking when NOGUI=1 + sed -e "s/WX_CONFIG_LIBS := base/&,core/" -i Main/Main.make || die "sed Main/Main.make failed" + fi +} + +src_compile() { + local EXTRA pkcs11_include_directory + + use X || EXTRA+=" NOGUI=1" + + if has_version dev-libs/pkcs11-helper; then + pkcs11_include_directory="/usr/include/pkcs11-helper-1.0" + else + pkcs11_include_directory="/usr/include/opensc" + fi + append-flags -DCKR_NEW_PIN_MODE=0x000001B0 -DCKR_NEXT_OTP=0x000001B1 + + emake \ + ${EXTRA} \ + NOSTRIP=1 \ + NOTEST=1 \ + VERBOSE=1 \ + CC="$(tc-getCC)" \ + CXX="$(tc-getCXX)" \ + AR="$(tc-getAR)" \ + RANLIB="$(tc-getRANLIB)" \ + TC_EXTRA_CFLAGS="${CFLAGS}" \ + TC_EXTRA_CXXFLAGS="${CXXFLAGS}" \ + TC_EXTRA_LFLAGS="${LDFLAGS}" \ + WX_CONFIG="${WX_CONFIG}" \ + PKCS11_INC="${pkcs11_include_directory}" \ + || die "emake failed" +} + +src_test() { + "${S}/Main/truecrypt" --text --test || die "tests failed" +} + +src_install() { + dobin Main/truecrypt + dodoc Readme.txt "Release/Setup Files/TrueCrypt User Guide.pdf" + insinto "/$(get_libdir)/rcscripts/addons" + newins "${FILESDIR}/${PN}-stop.sh" "${PN}-stop.sh" +} + +pkg_postinst() { + warn_license +} +pkg_preinst() { + warn_license +} + +warn_license() { + ewarn "TrueCrypt has very restrictive license." + ewarn "Please read the ${LICENSE} license in ${PORTDIR}/licenses" + ewarn "directory before using TrueCrypt. Please be explicitly aware of" + ewarn "the limitations on redistribution of binaries or modified source." + ebeep 5 +} |