summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-06-28 11:41:36 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-06-28 11:41:36 +0000
commitdff4c9b290096ecee2b94235a5ca1933b9806df9 (patch)
tree7141de846d68c4ea060fad65648b6481377461b7 /sys-fs/loop-aes
parentUpdate home page. (diff)
downloadgentoo-2-dff4c9b290096ecee2b94235a5ca1933b9806df9.tar.gz
gentoo-2-dff4c9b290096ecee2b94235a5ca1933b9806df9.tar.bz2
gentoo-2-dff4c9b290096ecee2b94235a5ca1933b9806df9.zip
Version bump. Add extra ciphers (bug #275142).
(Portage version: 13717-svn/cvs/Linux x86_64)
Diffstat (limited to 'sys-fs/loop-aes')
-rw-r--r--sys-fs/loop-aes/ChangeLog8
-rw-r--r--sys-fs/loop-aes/loop-aes-3.2g.ebuild (renamed from sys-fs/loop-aes/loop-aes-3.2c.ebuild)18
-rw-r--r--sys-fs/loop-aes/metadata.xml1
3 files changed, 21 insertions, 6 deletions
diff --git a/sys-fs/loop-aes/ChangeLog b/sys-fs/loop-aes/ChangeLog
index c73511ec925b..54ddfd41e834 100644
--- a/sys-fs/loop-aes/ChangeLog
+++ b/sys-fs/loop-aes/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-fs/loop-aes
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/loop-aes/ChangeLog,v 1.41 2009/04/18 12:42:14 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/loop-aes/ChangeLog,v 1.42 2009/06/28 11:41:36 arfrever Exp $
+
+*loop-aes-3.2g (28 Jun 2009)
+
+ 28 Jun 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ -loop-aes-3.2c.ebuild, +loop-aes-3.2g.ebuild, metadata.xml:
+ Version bump. Add extra ciphers (bug #275142).
18 Apr 2009; Markus Meier <maekke@gentoo.org> loop-aes-3.2e:
amd64/x86 stable, bug #264994
diff --git a/sys-fs/loop-aes/loop-aes-3.2c.ebuild b/sys-fs/loop-aes/loop-aes-3.2g.ebuild
index 5454738932f7..93aa21eecde7 100644
--- a/sys-fs/loop-aes/loop-aes-3.2c.ebuild
+++ b/sys-fs/loop-aes/loop-aes-3.2g.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/loop-aes/loop-aes-3.2c.ebuild,v 1.5 2009/03/08 14:59:19 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/loop-aes/loop-aes-3.2g.ebuild,v 1.1 2009/06/28 11:41:36 arfrever Exp $
EAPI="2"
@@ -13,11 +13,11 @@ SRC_URI="mirror://sourceforge/loop-aes/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-IUSE="keyscrub padlock"
-KEYWORDS="amd64 ~hppa ~ppc x86"
+IUSE="extra-ciphers keyscrub padlock"
+KEYWORDS="~amd64 ~hppa ~ppc ~x86"
-UTIL=">=sys-apps/util-linux-2.12r"
-RDEPEND="|| ( ${UTIL}[crypt] ${UTIL}[loop-aes] )"
+RDEPEND=">=sys-apps/util-linux-2.12r"
+RDEPEND="|| ( ${RDEPEND}[crypt] ${RDEPEND}[loop-aes] )"
DEPEND=""
S="${WORKDIR}/${MY_P}"
@@ -35,6 +35,14 @@ pkg_setup() {
USE_KBUILD=y MODINST=n RUNDM=n"
use keyscrub && BUILD_PARAMS="${BUILD_PARAMS} KEYSCRUB=y"
use padlock && BUILD_PARAMS="${BUILD_PARAMS} PADLOCK=y"
+
+ if use extra-ciphers; then
+ MODULE_NAMES="${MODULE_NAMES}
+ loop_blowfish(block::tmp-d-kbuild)
+ loop_serpent(block::tmp-d-kbuild)
+ loop_twofish(block::tmp-d-kbuild)"
+ BUILD_PARAMS="${BUILD_PARAMS} EXTRA_CIPHERS=y"
+ fi
}
src_install() {
diff --git a/sys-fs/loop-aes/metadata.xml b/sys-fs/loop-aes/metadata.xml
index 4ffc22ccf038..11fbfdd1e2db 100644
--- a/sys-fs/loop-aes/metadata.xml
+++ b/sys-fs/loop-aes/metadata.xml
@@ -3,6 +3,7 @@
<pkgmetadata>
<herd>crypto</herd>
<use>
+ <flag name='extra-ciphers'>Enable extra ciphers</flag>
<flag name='keyscrub'>Protects the encryption key in memory but takes
more cpu resources</flag>
<flag name='padlock'>Use VIA padlock instructions, detected at run time,