Portage is a package management system used by Gentoo Linux
# ChangeLog for app-crypt/truecrypt
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/truecrypt/ChangeLog,v 1.39 2008/07/09 23:00:46 dragonheart Exp $
09 Jul 2008; Daniel Black
-files/truecrypt-5.1a-gcc-4.3.patch, -files/truecrypt-6.0a-gcc-4.3.patch,
-truecrypt-5.1a.ebuild, truecrypt-6.0a.ebuild:
remove version 5.1a as it cannot be downloaded and is on fetch restriction -
thanks Arfrever. remove gcc patch on 6.0a as it compiles fine on gcc-4.3.1
*truecrypt-6.0a (09 Jul 2008)
09 Jul 2008; Daniel Black
+files/truecrypt-6.0a-gcc-4.3.patch, +truecrypt-6.0a.ebuild:
version bump as per bug #230862 thanks to Sebastian and m.nawaz
18 Apr 2008; Alon Bar-Lev
+files/truecrypt-5.1a-gcc-4.3.patch, truecrypt-5.1a.ebuild:
Fix gcc-4.3 issue, bug#218137, thanks to Holger Ackermann
*truecrypt-5.1a (21 Mar 2008)
21 Mar 2008; Alon Bar-Lev
-files/truecrypt-5.0-64bit.patch, -files/truecrypt-5.0-build.patch,
-files/truecrypt-5.0-nogui.patch, -files/truecrypt-5.1-nogui.patch,
+files/truecrypt-5.1a-external-wx.patch, -truecrypt-5.0a.ebuild,
-truecrypt-5.1.ebuild, +truecrypt-5.1a.ebuild:
Version bump, bug#213846
*truecrypt-5.1 (13 Mar 2008)
13 Mar 2008; Alon Bar-Lev
+files/truecrypt-5.1-64bit.patch, +files/truecrypt-5.1-nogui.patch,
+truecrypt-5.1.ebuild:
Version bump, bug#213074
22 Feb 2008; Alon Bar-Lev
files/truecrypt-5.0-nogui.patch:
Fix -X, bug#210485
15 Feb 2008; Alon Bar-Lev
+files/truecrypt-5.0-nogui.patch, truecrypt-5.0a.ebuild:
Add X USE flag, based on http://home.att.net/~Tom.Horsley/tah-tc-5.0.tar.gz,
bug#210175, thanks for Quosek for the reference
*truecrypt-5.0a (13 Feb 2008)
13 Feb 2008; Alon Bar-Lev
files/truecrypt-5.0-64bit.patch, files/truecrypt-5.0-bool.patch,
-truecrypt-5.0.ebuild, +truecrypt-5.0a.ebuild:
Version bump bug#210024, more 64bit fixups
10 Feb 2008; Alon Bar-Lev
+files/truecrypt-5.0-bool.patch, truecrypt-5.0.ebuild:
Workaround wxGTK with odbc USE flag, bug#209467
09 Feb 2008; Alon Bar-Lev
+files/truecrypt-5.0-64bit.patch, truecrypt-5.0.ebuild:
Fix 64bit issues, bug#209449, thanks to Aron for testing
*truecrypt-5.0 (08 Feb 2008)
08 Feb 2008; Alon Bar-Lev
+files/truecrypt-5.0-build.patch, +truecrypt-5.0.ebuild:
Version bump, bug#209091
25 Dec 2007; Alon Bar-Lev
files/truecrypt-4.3a-2.6.24.patch:
Modify 2.6.24 fix, bug#198394, thanks to elschner.net
15 Dec 2007; Alon Bar-Lev
+files/truecrypt-4.3a-2.6.24.patch, truecrypt-4.3a.ebuild:
Add 2.6.24 support, bug#198394, thanks to elschner.net
02 Nov 2007; Alon Bar-Lev
Remove requirement to unload modules, test not use the modules anyway,
bug#197839, thanks to Jakub and Guenther Brunthaler
02 Nov 2007; Alon Bar-Lev
Cleanup
02 Nov 2007; Steve Dibb
amd64 stable, bug 197557
01 Nov 2007; Christian Faulhammer
truecrypt-4.3a.ebuild:
stable x86, bug 197557
10 Oct 2007; Alon Bar-Lev
+files/truecrypt-4.3a-2.6.23.patch, truecrypt-4.3a.ebuild:
Fix for 2.6.23, bug#186901, thanks to virdiq
11 Aug 2007; Alon Bar-Lev
-files/truecrypt-4.2a-2.6.19.patch, -files/truecrypt-4.2a-2.6.20.patch,
-files/truecrypt-4.2a-makefile.patch,
-files/truecrypt-4.2a_kernel-2.6.18-rc1_fix.patch,
files/truecrypt-stop.sh, -truecrypt-4.2a-r1.ebuild,
-truecrypt-4.2a-r2.ebuild, -truecrypt-4.2a-r3.ebuild:
Cleanup
11 Aug 2007; Alon Bar-Lev
Don't fail if no volumes are mounted, bug#168691, thanks to Jakob Truelsen
*truecrypt-4.3a (07 Jun 2007)
07 Jun 2007; Alon Bar-Lev
Version bump, bug#181201, thanks to Yoann Pannier
28 Apr 2007; Raúl Porcel
x86 stable wrt #176159
27 Apr 2007; Steve Dibb
amd64 stable, bug 176159
27 Mar 2007; Alon Bar-Lev
truecrypt-4.3.ebuild:
Fixed rcscripts location
*truecrypt-4.3 (24 Mar 2007)
24 Mar 2007; Alon Bar-Lev
Version bump
*truecrypt-4.2a-r3 (01 Mar 2007)
01 Mar 2007; Alon Bar-Lev
+truecrypt-4.2a-r3.ebuild:
Added stop addon, bug#168691, thanks to Jakob Truelsen
*truecrypt-4.2a-r2 (06 Feb 2007)
06 Feb 2007; Alon Bar-Lev
+files/truecrypt-4.2a-2.6.20.patch, +truecrypt-4.2a-r2.ebuild:
Added 2.6.20 support, bug#165454, thanks to Patrick
05 Feb 2007; Steve Dibb
amd64 stable, bug 164077
29 Jan 2007; Christian Faulhammer
truecrypt-4.2a-r1.ebuild:
stable x86; bug #164077
27 Jan 2007; Alon Bar-Lev
-files/truecrypt-4.2-makefile.patch,
-files/truecrypt-4.2-nosectorformat.patch, -truecrypt-4.2-r1.ebuild,
-truecrypt-4.2a.ebuild:
Cleanup
24 Jan 2007; Marius Mauch
truecrypt-4.2a.ebuild, truecrypt-4.2a-r1.ebuild:
Replacing einfo with elog
*truecrypt-4.2a-r1 (06 Dec 2006)
06 Dec 2006; Alon Bar-Lev
+files/truecrypt-4.2a-2.6.19.patch, +truecrypt-4.2a-r1.ebuild:
linux-2.6.19 support, closes bug#157228 thanks to Timothy Redaelli
09 Oct 2006; Alon Bar-Lev
Fixed kernel location. Added no strip support, thanks to Tristan Heaven for
reporting this
22 Aug 2006; Thomas Cort
Added ~amd64 keyword wrt Bug #135866.
15 Jul 2006; Daniel Black
+files/truecrypt-4.2a_kernel-2.6.18-rc1_fix.patch, truecrypt-4.2a.ebuild:
added fix for 2.6.18 kernels as per bug #140387 thanks to Fredrik Smedberg
12 Jul 2006; Daniel Black
correct license name bug #140083 thanks to Alex Tarkovsky
*truecrypt-4.2a (11 Jul 2006)
11 Jul 2006; Daniel Black
+files/truecrypt-4.2a-makefile.patch, +truecrypt-4.2a.ebuild:
version bump
*truecrypt-4.2-r1 (06 Jun 2006)
06 Jun 2006; Daniel Black
files/truecrypt-4.2-nosectorformat.patch, +truecrypt-4.2-r1.ebuild,
-truecrypt-4.2.ebuild:
%uL should be %Lu in patch
06 Jun 2006; Daniel Black
+files/truecrypt-4.2-nosectorformat.patch, truecrypt-4.2.ebuild:
fix for 2.6.17 kernels that nolonger define SECTOR_FORMAT as per bug #135741
*truecrypt-4.2 (05 Jun 2006)
05 Jun 2006; Daniel Black
+files/truecrypt-4.2-makefile.patch, +metadata.xml, +truecrypt-4.2.ebuild:
initial ebuild as per bug #112197 largely based off ebuild by Greg Tassone
AUX truecrypt-4.3a-2.6.23.patch 707 RMD160 fa1221f99cddc9cd4e2c3768f4387d6b17320849 SHA1 2344a65fd9b8ccddcb65cb4c188bccf59bff5360 SHA256 199ab45e983203cfe0602175073c0b6fab2a1009e7699ea154613a3398bf3476
AUX truecrypt-4.3a-2.6.24.patch 1658 RMD160 c29522d767f96ae01e266fbfd8441ddd37049f71 SHA1 b138b60c5b036243c13d294cf61a2e905f1c4b83 SHA256 d12dd2252daf753f3d56dd504627de0f5f652a67781e930d717d1a86b46e4636
AUX truecrypt-5.0-bool.patch 1032 RMD160 7e3aa621c6b47f92d0837bf7d0c07297bb1490aa SHA1 3cbf86e4fdf47fe4e99c33ffca78b1c5af7499d2 SHA256 66c6d98f2946c1410e635969e1e95a907fdc0d9720eb14d8dd9d474661557da3
AUX truecrypt-5.1-64bit.patch 601 RMD160 479ea2a3c6809c9b9ea1febfa969fb25d02fd5ad SHA1 1448d11833aca850cebde2b0432c8f97df1fec1d SHA256 db767f5220077f6a97c8f3ba6e439cb27a45642a34004b1302401ad43fca1aee
AUX truecrypt-5.1a-external-wx.patch 1272 RMD160 c63b166cfd26eebf2b70df9f4152523bc4d10f3c SHA1 5e6a2585ca8923b2af71c327adf3b7c48d9adbc4 SHA256 1c00a403f2be391f2779a9ade2c8f211bc7b7fe6616584568db2f24785afd4ad
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.0a.tar.gz 1686350 RMD160 fafdbe596f1f9cab41917241b1da424635145a00 SHA1 5ebfe6a79620ced63e6eb33f2cbff6dfa5fd57e9 SHA256 dea0ac2f1f6964d7e88f6751fa9f0a89d0dbfb957e9a557e8dee48492d0b4fac
EBUILD truecrypt-4.3a.ebuild 3092 RMD160 40a13fd5bd619f87b21f199f11a70c2f64dc6b93 SHA1 4995db75c00642921d84270604b1c9b0d68e2401 SHA256 b815d54e344efcc6eed990d85957c074e2177e1de3568c57d3e637a90b63d820
EBUILD truecrypt-6.0a.ebuild 1800 RMD160 db85daf2959eff6014e835195b2c372ade5f6137 SHA1 13e1547308226f93ac359914a858a5a78deb09dc SHA256 1750068a7312d5acfeeff4672c7f5f3c185114185479cddfbe0efc57cb170c22
MISC ChangeLog 7209 RMD160 5069a5f1068553ae4b7e7e105ce30e1740c027d9 SHA1 1f73848e388f3d751b36e075eabda5f807b82662 SHA256 446e1386174ea7d444dfe755d14bf9435e338522b0e3796faf9c2c667feb7cb5
MISC metadata.xml 224 RMD160 74db96ad8aa1d285d83ae93a9f4a767335f55c15 SHA1 d86a171d981b45e7ed0c0b3b5059d2a63c811001 SHA256 9e9ce661a9fdb45a535ad875a247b700a70745359b27533ec29a6a46fa708e86
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/truecrypt/truecrypt-4.3a.ebuild,v 1.6 2007/12/15 18:33:50 alonbl Exp $
#
# NOTES:
# - Upstream overwrite CFLAGS, and does not wish us to mess with them.
# - Upstream insist on hiding the Makefile commands... Don't wish to patch it
# again.
# - Some issues with parallel make of user mode library.
# - Upstream is not responsive, even new kernel versions are not supported
# by upstream, but by other users.
#
inherit linux-mod toolchain-funcs multilib
DESCRIPTION="Free open-source disk encryption software"
HOMEPAGE="http://www.truecrypt.org/"
SRC_URI="http://www.truecrypt.org/downloads/truecrypt-${PV}-source-code.tar.gz"
LICENSE="truecrypt-collective-1.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND="sys-fs/device-mapper"
DEPEND="virtual/linux-sources
${RDEPEND}"
S="${WORKDIR}/${P}-source-code"
pkg_setup() {
linux-mod_pkg_setup
dmcrypt_check
kernel_is lt 2 6 5 && die 'requires at least 2.6.5 kernel version'
BUILD_PARAMS="KERNEL_SRC=${KERNEL_DIR} NO_WARNINGS=1"
BUILD_TARGETS="truecrypt"
MODULE_NAMES="truecrypt(block:${S}/Linux/Kernel)"
}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-2.6.23.patch"
epatch "${FILESDIR}/${P}-2.6.24.patch"
}
src_compile() {
linux-mod_src_compile || die "Truecrypt module compilation failed."
einfo "Building truecrypt utility"
cd "${S}/Linux/Cli"
MAKEOPTS="-j1" emake all NO_STRIP=1 NO_WARNINGS=1 CC="$(tc-getCC)" || die "Compile and/or linking of TrueCrypt Linux CLI application failed."
}
src_test() {
"${S}/Linux/Cli/truecrypt" --test
}
src_install() {
linux-mod_src_install
einfo "Installing truecrypt utility"
cd "${S}"
dobin Linux/Cli/truecrypt
doman Linux/Cli/Man/truecrypt.1
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() {
linux-mod_pkg_postinst
elog " For TrueCrypt 4.2 to work you have to load a "
elog " kernel module. This can be done in three ways: "
elog
elog " 1. Loading the module automatically by the running kernel. "
elog " For this 'Automatic kernel module loading' needs to be "
elog " enabled (CONFIG_KMOD=y). "
elog " 2. Loading the module manually before mounting the volume. "
elog " Try 'modprobe truecrypt' as root to load the module. "
elog " 3. Load the module during boot by listing it in "
elog " '/etc/modules.autoload.d/kernel-2.6' "
}
dmcrypt_check() {
ebegin "Checking for Device mapper support (BLK_DEV_DM)"
linux_chkconfig_present BLK_DEV_DM
eend $?
if [[ $? -ne 0 ]] ; then
ewarn "TrueCrypt requires Device mapper support!"
ewarn "Please enable Device mapper support in your kernel config, found at:"
ewarn "(for 2.6 kernels)"
ewarn
ewarn " Device Drivers"
ewarn " Multi-Device Support"
ewarn " <*> Device mapper support"
ewarn
ewarn "and recompile your kernel if you want this package to work."
epause 10
fi
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/truecrypt/truecrypt-6.0a.ebuild,v 1.2 2008/07/09 23:00:46 dragonheart Exp $
inherit eutils toolchain-funcs multilib wxwidgets
DESCRIPTION="Free open-source disk encryption software"
HOMEPAGE="http://www.truecrypt.org/"
#SRC_URI="TrueCrypt ${PV} Source.tar.gz"
SRC_URI="${P}.tar.gz"
LICENSE="truecrypt-collective-1.4"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="X"
RESTRICT="fetch"
RDEPEND="sys-fs/fuse
=x11-libs/wxGTK-2.8*"
DEPEND="${RDEPEND}"
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() {
WX_GTK_VER="2.8"
if use X; then
need-wxwidgets unicode
else
need-wxwidgets base-unicode
fi
}
src_unpack() {
unpack ${A}
cd "${S}"
# epatch "${FILESDIR}/${P}-gcc-4.3.patch"
epatch "${FILESDIR}/${PN}-5.1a-external-wx.patch"
epatch "${FILESDIR}/${PN}-5.1-64bit.patch"
epatch "${FILESDIR}/${PN}-5.0-bool.patch"
}
src_compile() {
local EXTRA
use amd64 && EXTRA="${EXTRA} USE64BIT=1"
use X || EXTRA="${EXTRA} NOGUI=1"
emake \
${EXTRA} \
NOSTRIP=1 \
VERBOSE=1 \
NOTEST=1 \
CC="$(tc-getCC)" \
AR="$(tc-getAR)" \
CXX="$(tc-getCXX)" \
RANLIB="$(tc-getRANLIB)" \
EXTRA_CFLAGS="${CFLAGS}" \
EXTRA_CXXFLAGS="${CXXFLAGS}" \
EXTRA_LDFLAGS="${LDFLAGS}" \
WX_CONFIG="${WX_CONFIG}" \
WX_CONFIG_EXTRA="" \
|| die
}
src_test() {
"${S}/Main/truecrypt" --text --test
}
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"
}