summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-11-29 08:21:49 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-11-29 08:21:49 +0000
commitf9ed378042e370ba9e0e0035d4f31c2ce6a644df (patch)
treea544302b4c6ea92e8d95aa3eae61e8ca04d270e7 /sys-fs
parentAdd back nokogiri-1.4.1-r1 since it is the last version that supports jruby a... (diff)
downloadgentoo-2-f9ed378042e370ba9e0e0035d4f31c2ce6a644df.tar.gz
gentoo-2-f9ed378042e370ba9e0e0035d4f31c2ce6a644df.tar.bz2
gentoo-2-f9ed378042e370ba9e0e0035d4f31c2ce6a644df.zip
Version bump.
(Portage version: 2.2.0_alpha6/cvs/Linux x86_64)
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/loop-aes/ChangeLog8
-rw-r--r--sys-fs/loop-aes/loop-aes-3.5b.ebuild67
2 files changed, 74 insertions, 1 deletions
diff --git a/sys-fs/loop-aes/ChangeLog b/sys-fs/loop-aes/ChangeLog
index c612b210c1b1..a3e36ed07a9b 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.61 2010/10/24 20:38:15 c1pher Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/loop-aes/ChangeLog,v 1.62 2010/11/29 08:21:49 arfrever Exp $
+
+*loop-aes-3.5b (29 Nov 2010)
+
+ 29 Nov 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +loop-aes-3.5b.ebuild:
+ Version bump.
24 Oct 2010; Dane Smith <c1pher@gentoo.org> loop-aes-3.4b.ebuild:
QA Fixes in 3.4b.
diff --git a/sys-fs/loop-aes/loop-aes-3.5b.ebuild b/sys-fs/loop-aes/loop-aes-3.5b.ebuild
new file mode 100644
index 000000000000..1dea6a8babf8
--- /dev/null
+++ b/sys-fs/loop-aes/loop-aes-3.5b.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.5b.ebuild,v 1.1 2010/11/29 08:21:49 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"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
+IUSE="extra-ciphers keyscrub padlock"
+
+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 || die "dobin failed"
+ doman loop-aes-keygen.1 || die "doman failed"
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ einfo
+ einfo "For more instructions take a look at examples in README at:"
+ einfo "'${EPREFIX}/usr/share/doc/${PF}'"
+ einfo
+}