summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-10-24 20:17:16 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-10-24 20:17:16 +0000
commit5a5c69011d5e7708b5713c5f444f3689caada1cf (patch)
tree411dbdfc2aaf84c3ab84f390d2bd60fca195a871 /sys-fs/loop-aes
parentDelete older ebuilds. (diff)
downloadgentoo-2-5a5c69011d5e7708b5713c5f444f3689caada1cf.tar.gz
gentoo-2-5a5c69011d5e7708b5713c5f444f3689caada1cf.tar.bz2
gentoo-2-5a5c69011d5e7708b5713c5f444f3689caada1cf.zip
Version bump (bug #338431).
(Portage version: 2.2.0_alpha1_p11/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.4b.ebuild67
2 files changed, 74 insertions, 1 deletions
diff --git a/sys-fs/loop-aes/ChangeLog b/sys-fs/loop-aes/ChangeLog
index 5378d81b5a4a..36d4dd5b074f 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-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/loop-aes/ChangeLog,v 1.59 2010/09/18 17:09:49 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/loop-aes/ChangeLog,v 1.60 2010/10/24 20:17:16 arfrever Exp $
+
+*loop-aes-3.4b (24 Oct 2010)
+
+ 24 Oct 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ -loop-aes-3.2h.ebuild, -loop-aes-3.3a.ebuild, +loop-aes-3.4b.ebuild:
+ Version bump (bug #338431).
18 Sep 2010; Raúl Porcel <armin76@gentoo.org> loop-aes-3.4a.ebuild:
arm stable wrt #331239
diff --git a/sys-fs/loop-aes/loop-aes-3.4b.ebuild b/sys-fs/loop-aes/loop-aes-3.4b.ebuild
new file mode 100644
index 000000000000..355c77f56602
--- /dev/null
+++ b/sys-fs/loop-aes/loop-aes-3.4b.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2010 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.4b.ebuild,v 1.1 2010/10/24 20:17:16 arfrever Exp $
+
+EAPI="3"
+
+inherit linux-mod
+
+MY_P="${PN/aes/AES}-v${PV}"
+
+DESCRIPTION="Linux kernel module to encrypt local file systems and disk partitions with AES cipher."
+HOMEPAGE="http://loop-aes.sourceforge.net/loop-AES.README"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="extra-ciphers keyscrub padlock"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
+
+DEPEND="|| ( >=sys-apps/util-linux-2.12r[crypt] >=sys-apps/util-linux-2.12r[loop-aes] )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+ linux-mod_pkg_setup
+
+ CONFIG_CHECK="!BLK_DEV_LOOP"
+ MODULE_NAMES="loop(block::tmp-d-kbuild)"
+ BUILD_TARGETS="all"
+
+ BUILD_PARAMS=" \
+ LINUX_SOURCE=\"${KERNEL_DIR}\" \
+ KBUILD_OUTPUT=\"${KBUILD_OUTPUT}\" \
+ 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_prepare() {
+ sed -e 's/make/$(MAKE)/g' -i Makefile || die "sed failed"
+}
+
+src_install() {
+ linux-mod_src_install
+
+ dodoc README || die "dodoc failed"
+ dobin loop-aes-keygen
+ doman loop-aes-keygen.1
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ einfo
+ einfo "For more instructions take a look at examples in README at:"
+ einfo "/usr/share/doc/${PF}"
+ einfo
+}