diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2007-06-07 16:50:20 +0000 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2007-06-07 16:50:20 +0000 |
commit | 776724b4fe241be0b08db143d4534fbadab00b36 (patch) | |
tree | ebdafd9c87e0e030e59169500ada783681d7e0c0 /app-crypt/truecrypt | |
parent | Initial ebuild (diff) | |
download | historical-776724b4fe241be0b08db143d4534fbadab00b36.tar.gz historical-776724b4fe241be0b08db143d4534fbadab00b36.tar.bz2 historical-776724b4fe241be0b08db143d4534fbadab00b36.zip |
Version bump, bug#181201, thanks to Yoann Pannier
Package-Manager: portage-2.1.2.9
Diffstat (limited to 'app-crypt/truecrypt')
-rw-r--r-- | app-crypt/truecrypt/ChangeLog | 7 | ||||
-rw-r--r-- | app-crypt/truecrypt/Manifest | 16 | ||||
-rw-r--r-- | app-crypt/truecrypt/files/digest-truecrypt-4.3a | 3 | ||||
-rw-r--r-- | app-crypt/truecrypt/truecrypt-4.3a.ebuild | 105 |
4 files changed, 126 insertions, 5 deletions
diff --git a/app-crypt/truecrypt/ChangeLog b/app-crypt/truecrypt/ChangeLog index d2ddb68c2a8d..7c6a3f96b54f 100644 --- a/app-crypt/truecrypt/ChangeLog +++ b/app-crypt/truecrypt/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-crypt/truecrypt # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/truecrypt/ChangeLog,v 1.19 2007/04/28 16:10:05 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/truecrypt/ChangeLog,v 1.20 2007/06/07 16:50:20 alonbl Exp $ + +*truecrypt-4.3a (07 Jun 2007) + + 07 Jun 2007; Alon Bar-Lev <alonbl@gentoo.org> +truecrypt-4.3a.ebuild: + Version bump, bug#181201, thanks to Yoann Pannier 28 Apr 2007; Raúl Porcel <armin76@gentoo.org> truecrypt-4.3.ebuild: x86 stable wrt #176159 diff --git a/app-crypt/truecrypt/Manifest b/app-crypt/truecrypt/Manifest index 121d214d7960..622ec2164b2a 100644 --- a/app-crypt/truecrypt/Manifest +++ b/app-crypt/truecrypt/Manifest @@ -20,6 +20,7 @@ RMD160 43fde724b425caa95eecbdb5f7f5a5172ff9c840 files/truecrypt-stop.sh 263 SHA256 b092da91d0329667291396b73b6cb5e57d5a86dbb0de409916fffd5693f75549 files/truecrypt-stop.sh 263 DIST truecrypt-4.2a-source-code.tar.gz 1088418 RMD160 8d5b142f9cc7de5693b527f8d708d9e1ebd1e2b3 SHA1 915a8771f9a76d06f5071ca07f5fe902a7f26575 SHA256 ba1892584bf52b5a12eef185563705774566a70537d139aef8770477dfe9636f DIST truecrypt-4.3-source-code.tar.gz 1085969 RMD160 2ebca8a7dc9674e6af9bff1b7583b354672feb1b SHA1 42754b3c192edb94880c97ca5453558738bf2cb1 SHA256 859ce53e5db517896dbffe4b17d2f0ca0e3bcecf44755ecf69a24e3a1562e409 +DIST truecrypt-4.3a-source-code.tar.gz 1110554 RMD160 1a24ae6132b43876161a090751c19afed7c5c996 SHA1 30c91901171c3c8290d4d0de856774cdf7ee4ed6 SHA256 d5515cfeb1bb328ad6f13ef347cd9422b4bb15bf849aabc4cd4f2f69a3e0c74a EBUILD truecrypt-4.2a-r1.ebuild 2950 RMD160 8b5d11d86b4526833e3b747183f37e3c0da31ce7 SHA1 7e2a1daee47a6b89bc952a7c17223eeaa684971b SHA256 56a5436df3b69627a16884dfd7652831962e0f1e7bce36da413785a3bce19f42 MD5 cee640a73d6d00bf0ec1a6fc9a0ae3d6 truecrypt-4.2a-r1.ebuild 2950 RMD160 8b5d11d86b4526833e3b747183f37e3c0da31ce7 truecrypt-4.2a-r1.ebuild 2950 @@ -36,10 +37,14 @@ EBUILD truecrypt-4.3.ebuild 3159 RMD160 535896a15edd2cb2b07fc3adf094a74554f4e3b0 MD5 058cd16af66fe9cf3f99568c288a077a truecrypt-4.3.ebuild 3159 RMD160 535896a15edd2cb2b07fc3adf094a74554f4e3b0 truecrypt-4.3.ebuild 3159 SHA256 fa34010a87a5a21ea073ca6b44e02ab28a1198d0ac6b5dafa7e8dd6c4fa8bb3e truecrypt-4.3.ebuild 3159 -MISC ChangeLog 3257 RMD160 600049f50e984e5539f1dc9ee987742944bf9df3 SHA1 d34f9e979e48fa4cb520e105b8d1218b3ce8bdc4 SHA256 a07e5d8353c9d2ee23a5f2a650d7045595fc04eb1c355cd2854d04d623f6065d -MD5 ea59da5cb05a7ed58807de7e6e9eea54 ChangeLog 3257 -RMD160 600049f50e984e5539f1dc9ee987742944bf9df3 ChangeLog 3257 -SHA256 a07e5d8353c9d2ee23a5f2a650d7045595fc04eb1c355cd2854d04d623f6065d ChangeLog 3257 +EBUILD truecrypt-4.3a.ebuild 3161 RMD160 3ab8ea09be167214832e6183d09053b99248aa43 SHA1 cf9173fbb88e6a801c751bca7097f50901f268be SHA256 cb9052134302d5ade97468254745c44cdf7ea1b7d3916bcd7533628c6570378c +MD5 9eac02ba228085dab67235d9ff5ef91e truecrypt-4.3a.ebuild 3161 +RMD160 3ab8ea09be167214832e6183d09053b99248aa43 truecrypt-4.3a.ebuild 3161 +SHA256 cb9052134302d5ade97468254745c44cdf7ea1b7d3916bcd7533628c6570378c truecrypt-4.3a.ebuild 3161 +MISC ChangeLog 3412 RMD160 0b532ad0f04e75e15618d97e4440ce62b662eaf6 SHA1 6038572806ece2267187363554ed5e8639d16aa2 SHA256 343eab1186755a59a7d7854b37a00011cd80e1a1275a16c543f1571eb7546e22 +MD5 8daba608d385622fc053b1f97ff15cb3 ChangeLog 3412 +RMD160 0b532ad0f04e75e15618d97e4440ce62b662eaf6 ChangeLog 3412 +SHA256 343eab1186755a59a7d7854b37a00011cd80e1a1275a16c543f1571eb7546e22 ChangeLog 3412 MISC metadata.xml 224 RMD160 74db96ad8aa1d285d83ae93a9f4a767335f55c15 SHA1 d86a171d981b45e7ed0c0b3b5059d2a63c811001 SHA256 9e9ce661a9fdb45a535ad875a247b700a70745359b27533ec29a6a46fa708e86 MD5 566cf4f89e44670d0aba4a745913d748 metadata.xml 224 RMD160 74db96ad8aa1d285d83ae93a9f4a767335f55c15 metadata.xml 224 @@ -56,3 +61,6 @@ SHA256 cd3851eb2af9bac302c5f4c005182d63300cf2031178fef1a1aef525b23209f8 files/di MD5 c442817c8d5e10d0029d93d1b7196127 files/digest-truecrypt-4.3 280 RMD160 8a4e0a5f9900f43b1604296f91067e6b94fb6b49 files/digest-truecrypt-4.3 280 SHA256 f81a38fe3bba9b1887bfdf8b426fe7e23891758be7f36981de95859905deac28 files/digest-truecrypt-4.3 280 +MD5 813f17ea64c1829e46b7a813e710416c files/digest-truecrypt-4.3a 283 +RMD160 b21a2c0f42ddedaef436b2620dbfc3408132ceb2 files/digest-truecrypt-4.3a 283 +SHA256 1c004881bb6b1d97cca319829224e032d931df577f4c1e91d7516cee8bd8f287 files/digest-truecrypt-4.3a 283 diff --git a/app-crypt/truecrypt/files/digest-truecrypt-4.3a b/app-crypt/truecrypt/files/digest-truecrypt-4.3a new file mode 100644 index 000000000000..f36489dc1c50 --- /dev/null +++ b/app-crypt/truecrypt/files/digest-truecrypt-4.3a @@ -0,0 +1,3 @@ +MD5 8f2536eae16e6044a22b2a82c7003357 truecrypt-4.3a-source-code.tar.gz 1110554 +RMD160 1a24ae6132b43876161a090751c19afed7c5c996 truecrypt-4.3a-source-code.tar.gz 1110554 +SHA256 d5515cfeb1bb328ad6f13ef347cd9422b4bb15bf849aabc4cd4f2f69a3e0c74a truecrypt-4.3a-source-code.tar.gz 1110554 diff --git a/app-crypt/truecrypt/truecrypt-4.3a.ebuild b/app-crypt/truecrypt/truecrypt-4.3a.ebuild new file mode 100644 index 000000000000..551c17e4c99a --- /dev/null +++ b/app-crypt/truecrypt/truecrypt-4.3a.ebuild @@ -0,0 +1,105 @@ +# 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.1 2007/06/07 16:50:20 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_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 +} + +pkg_preinst() { + # unload truecrypt modules if already loaded + /sbin/rmmod truecrypt >&- 2>&- + grep -q "^truecrypt" /proc/modules && die "Please dismount all mounted TrueCrypt volumes" +} + +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 +} |