summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2007-11-02 06:20:47 +0000
committerAlon Bar-Lev <alonbl@gentoo.org>2007-11-02 06:20:47 +0000
commit9a9e7f23dedb185d042f1c3b9eb1362f4849b29c (patch)
tree06c0bc0fd7395a5a0add665e830f80ebd52b011b /app-crypt
parentAdd support for git. (diff)
downloadgentoo-2-9a9e7f23dedb185d042f1c3b9eb1362f4849b29c.tar.gz
gentoo-2-9a9e7f23dedb185d042f1c3b9eb1362f4849b29c.tar.bz2
gentoo-2-9a9e7f23dedb185d042f1c3b9eb1362f4849b29c.zip
Cleanup
(Portage version: 2.1.3.16)
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/truecrypt/ChangeLog5
-rw-r--r--app-crypt/truecrypt/files/digest-truecrypt-4.33
-rw-r--r--app-crypt/truecrypt/truecrypt-4.3.ebuild105
3 files changed, 4 insertions, 109 deletions
diff --git a/app-crypt/truecrypt/ChangeLog b/app-crypt/truecrypt/ChangeLog
index 826b0d23230a..0477abb1b8d1 100644
--- a/app-crypt/truecrypt/ChangeLog
+++ b/app-crypt/truecrypt/ChangeLog
@@ -1,6 +1,9 @@
# 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.24 2007/11/02 03:45:25 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/truecrypt/ChangeLog,v 1.25 2007/11/02 06:20:46 alonbl Exp $
+
+ 02 Nov 2007; Alon Bar-Lev <alonbl@gentoo.org> -truecrypt-4.3.ebuild:
+ Cleanup
02 Nov 2007; Steve Dibb <beandog@gentoo.org> truecrypt-4.3a.ebuild:
amd64 stable, bug 197557
diff --git a/app-crypt/truecrypt/files/digest-truecrypt-4.3 b/app-crypt/truecrypt/files/digest-truecrypt-4.3
deleted file mode 100644
index f8822b9cec48..000000000000
--- a/app-crypt/truecrypt/files/digest-truecrypt-4.3
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 f0786a0c067574ccd5aa1e9197dcb6f5 truecrypt-4.3-source-code.tar.gz 1085969
-RMD160 2ebca8a7dc9674e6af9bff1b7583b354672feb1b truecrypt-4.3-source-code.tar.gz 1085969
-SHA256 859ce53e5db517896dbffe4b17d2f0ca0e3bcecf44755ecf69a24e3a1562e409 truecrypt-4.3-source-code.tar.gz 1085969
diff --git a/app-crypt/truecrypt/truecrypt-4.3.ebuild b/app-crypt/truecrypt/truecrypt-4.3.ebuild
deleted file mode 100644
index b83ca393daac..000000000000
--- a/app-crypt/truecrypt/truecrypt-4.3.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# 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.3.ebuild,v 1.4 2007/04/28 16:10:05 armin76 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
-}