diff options
Diffstat (limited to 'sys-fs/loop-aes')
-rw-r--r-- | sys-fs/loop-aes/ChangeLog | 322 | ||||
-rw-r--r-- | sys-fs/loop-aes/Manifest | 9 | ||||
-rw-r--r-- | sys-fs/loop-aes/loop-aes-3.6b-r1.ebuild | 73 | ||||
-rw-r--r-- | sys-fs/loop-aes/loop-aes-3.6b.ebuild | 67 | ||||
-rw-r--r-- | sys-fs/loop-aes/loop-aes-3.6c.ebuild | 73 | ||||
-rw-r--r-- | sys-fs/loop-aes/loop-aes-3.6d.ebuild | 73 | ||||
-rw-r--r-- | sys-fs/loop-aes/metadata.xml | 18 |
7 files changed, 635 insertions, 0 deletions
diff --git a/sys-fs/loop-aes/ChangeLog b/sys-fs/loop-aes/ChangeLog new file mode 100644 index 0000000..b4ac7c3 --- /dev/null +++ b/sys-fs/loop-aes/ChangeLog @@ -0,0 +1,322 @@ +# ChangeLog for sys-fs/loop-aes +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/loop-aes/ChangeLog,v 1.79 2011/06/13 16:56:43 c1pher Exp $ + +*loop-aes-3.6c (13 Jun 2011) + + 13 Jun 2011; Dane Smith <c1pher@gentoo.org> -loop-aes-3.5b.ebuild, + -loop-aes-3.6a.ebuild, loop-aes-3.6b.ebuild, loop-aes-3.6b-r1.ebuild, + +loop-aes-3.6c.ebuild, -files/loop-AES-v3.5b-20101231.diff: + *Change DEPEND in 3.6b[-r1] to require +loop-aes in util-linux. + Fixes bug 370635. + *Add new version 3.6c. + *Remove old versions / patches. + *Add myself to metadata that way I actually get CC'd on bugs. + +*loop-aes-3.6b-r1 (08 Jun 2011) + + 08 Jun 2011; Dane Smith <c1pher@gentoo.org> +loop-aes-3.6b-r1.ebuild, + metadata.xml: + Revision bump. Add support for AES-NI via new use flag aes-ni. Closes bug + 362357. + + 02 Jun 2011; Markus Meier <maekke@gentoo.org> loop-aes-3.6b.ebuild: + arm stable, bug #364407 + + 22 May 2011; Thomas Kahle <tomka@gentoo.org> loop-aes-3.6b.ebuild: + x86 stable per bug 364407 + + 25 Apr 2011; Markos Chandras <hwoarang@gentoo.org> loop-aes-3.6b.ebuild: + Stable on amd64 wrt bug #364407 + + 19 Apr 2011; Thomas Kahle <tomka@gentoo.org> loop-aes-3.6a.ebuild: + x86 stable per bug 360099 + + 24 Mar 2011; Markos Chandras <hwoarang@gentoo.org> loop-aes-3.6a.ebuild: + Stable on amd64 wrt bug #360099 + +*loop-aes-3.6b (23 Mar 2011) + + 23 Mar 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +loop-aes-3.6b.ebuild: + Version bump. + +*loop-aes-3.6a (19 Feb 2011) + + 19 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +loop-aes-3.6a.ebuild: + Version bump (bug #355479). + + 08 Jan 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + -loop-aes-3.4a.ebuild, -loop-aes-3.4b.ebuild: + Delete. + + 08 Jan 2011; Markus Meier <maekke@gentoo.org> loop-aes-3.5b.ebuild: + arm stable, bug #350167 + + 08 Jan 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + loop-aes-3.5b.ebuild, +files/loop-AES-v3.5b-20101231.diff: + Fix building with Linux 2.6.37 (bug #350781). + + 02 Jan 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> loop-aes-3.5b.ebuild: + x86 stable wrt bug #350167 + + 01 Jan 2011; Markos Chandras <hwoarang@gentoo.org> loop-aes-3.5b.ebuild: + Stable on amd64 wrt bug #350167 + + 28 Dec 2010; Markus Meier <maekke@gentoo.org> loop-aes-3.4b.ebuild: + arm stable, bug #347113 + + 21 Dec 2010; Markos Chandras <hwoarang@gentoo.org> loop-aes-3.4b.ebuild: + Stable on amd64 wrt bug #347113 + + 14 Dec 2010; Christian Faulhammer <fauli@gentoo.org> loop-aes-3.4b.ebuild: + stable x86, bug 347113 + +*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. + +*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 + + 06 Aug 2010; Christian Faulhammer <fauli@gentoo.org> loop-aes-3.4a.ebuild: + stable x86, bug 331239 + + 05 Aug 2010; Markos Chandras <hwoarang@gentoo.org> loop-aes-3.4a.ebuild: + Apply patch from Dane Smith <smithdanea@gmail.com> to fix jobserver. Bug + #331367 and marked stable for amd64 wrt bug #331239 + + 10 Jul 2010; Christian Faulhammer <fauli@gentoo.org> loop-aes-3.3a.ebuild: + stable x86, bug 326817 + + 04 Jul 2010; Markos Chandras <hwoarang@gentoo.org> loop-aes-3.3a.ebuild: + Stable on amd64 wrt bug #326817 + +*loop-aes-3.4a (04 Jul 2010) + + 04 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +loop-aes-3.4a.ebuild: + Version bump. + + 06 Jun 2010; Raúl Porcel <armin76@gentoo.org> loop-aes-3.2h.ebuild: + arm stable wrt #301099 + +*loop-aes-3.3a (03 Jun 2010) + + 03 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + -loop-aes-3.2g.ebuild, +loop-aes-3.3a.ebuild: + Version bump (bug #320639). + + 23 Jan 2010; Raúl Porcel <armin76@gentoo.org> loop-aes-3.2g.ebuild, + loop-aes-3.2h.ebuild: + Add ~arm wrt #301099 + + 19 Jan 2010; Christian Faulhammer <fauli@gentoo.org> loop-aes-3.2h.ebuild: + stable x86, bug 300708 + + 12 Jan 2010; <hwoarang@gentoo.org> loop-aes-3.2h.ebuild: + Stable on amd64 wrt bug #300708 + + 25 Dec 2009; Raúl Porcel <armin76@gentoo.org> loop-aes-3.2g.ebuild, + loop-aes-3.2h.ebuild: + Add ~sparc wrt #277776 + +*loop-aes-3.2h (12 Dec 2009) + + 12 Dec 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + -loop-aes-3.2e.ebuild, -loop-aes-3.2f.ebuild, +loop-aes-3.2h.ebuild: + Version bump (bug #295625). + + 17 Aug 2009; Christian Faulhammer <fauli@gentoo.org> loop-aes-3.2g.ebuild: + stable x86, bug 279401 + + 31 Jul 2009; <chainsaw@gentoo.org> loop-aes-3.2g.ebuild: + Marked stable on AMD64 as requested by Arfrever Frehtes Taifersar Arahesis + <arfrever@gentoo.org> in bug #279401. Compile-tested on a Core2 Duo with + USE="-extra-ciphers -keyscrub -padlock". + + 20 Jul 2009; Jeremy Olexa <darkside@gentoo.org> loop-aes-3.2f.ebuild: + amd64 stable, bug 268676 + + 08 Jul 2009; Christian Faulhammer <fauli@gentoo.org> loop-aes-3.2f.ebuild: + stable x86, bug 268676 + +*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 + +*loop-aes-3.2f (05 Apr 2009) + + 05 Apr 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +loop-aes-3.2f.ebuild: + Version bump. Fix building with Linux 2.6.29 (bug #261709). + + 08 Mar 2009; Petteri Räty <betelgeuse@gentoo.org> loop-aes-3.2c.ebuild, + loop-aes-3.2e.ebuild: + Migrate to EAPI 2. + + 08 Mar 2009; Petteri Räty <betelgeuse@gentoo.org> -loop-aes-3.2d.ebuild: + Remove old version. + +*loop-aes-3.2e (06 Nov 2008) + + 06 Nov 2008; Daniel Black <dragonheart@gentoo.org> +loop-aes-3.2e.ebuild: + version bump thanks Alon + +*loop-aes-3.2d (04 Nov 2008) + + 04 Nov 2008; Daniel Black <dragonheart@gentoo.org> +loop-aes-3.2d.ebuild: + version bump as per bug #245121 thanks Alon + + 22 Aug 2008; Doug Goldstein <cardoe@gentoo.org> metadata.xml: + add GLEP 56 USE flag desc from use.local.desc + + 09 May 2008; Markus Meier <maekke@gentoo.org> loop-aes-3.2c.ebuild: + amd64 stable, bug #214161 + + 23 Mar 2008; Christian Faulhammer <opfer@gentoo.org> loop-aes-3.2c.ebuild: + x86 stable, bug 214161 + + 23 Mar 2008; Alon Bar-Lev <alonbl@gentoo.org> loop-aes-3.2b.ebuild, + loop-aes-3.2c.ebuild: + Add escape to BUILD_PARAMS, something was changed in linux-mod? + +*loop-aes-3.2c (06 Mar 2008) + + 06 Mar 2008; Alon Bar-Lev <alonbl@gentoo.org> +loop-aes-3.2c.ebuild: + Version bump + + 01 Feb 2008; Alon Bar-Lev <alonbl@gentoo.org> -loop-aes-3.2a.ebuild: + Cleanup + + 01 Feb 2008; Christian Faulhammer <opfer@gentoo.org> loop-aes-3.2b.ebuild: + stable x86, bug 207842 + + 28 Jan 2008; Alon Bar-Lev <alonbl@gentoo.org> loop-aes-3.2a.ebuild, + loop-aes-3.2b.ebuild: + Fix QA bug#207799 + +*loop-aes-3.2b (17 Jan 2008) + + 17 Jan 2008; Alon Bar-Lev <alonbl@gentoo.org> +loop-aes-3.2b.ebuild: + Version bump + + 24 Aug 2007; Alon Bar-Lev <alonbl@gentoo.org> -loop-aes-3.1e.ebuild, + -loop-aes-3.1f.ebuild: + Cleanup + + 21 Aug 2007; Markus Ullmann <jokey@gentoo.org> loop-aes-3.2a.ebuild: + Stable on Xencrypted86 wrt bug #188985 + +*loop-aes-3.2a (16 May 2007) + + 16 May 2007; Alon Bar-Lev <alonbl@gentoo.org> +loop-aes-3.2a.ebuild: + Version bump + + 23 Feb 2007; Alon Bar-Lev <alonbl@gentoo.org> loop-aes-3.1e.ebuild, + loop-aes-3.1f.ebuild: + Fixed linux-mod eclass usage + +*loop-aes-3.1f (23 Feb 2007) + + 23 Feb 2007; Alon Bar-Lev <alonbl@gentoo.org> +loop-aes-3.1f.ebuild: + Version bump + + 23 Feb 2007; Alon Bar-Lev <alonbl@gentoo.org> -loop-aes-3.1d.ebuild, + loop-aes-3.1e.ebuild: + Fix bug#168051, cleanup + + 18 Jan 2007; Christian Faulhammer <opfer@gentoo.org> loop-aes-3.1e.ebuild: + stable x86, bug #162521 + + 02 Dec 2006; Alon Bar-Lev <alonbl@gentoo.org> loop-aes-3.1e.ebuild: + KBUILD_OUTPUT awareness, relates bug#156892, thanks to Zhang Le + + 01 Nov 2006; Alon Bar-Lev <alonbl@gentoo.org> loop-aes-3.1e.ebuild: + Fix build process to use kbuild + +*loop-aes-3.1e (28 Oct 2006) + + 28 Oct 2006; Alon Bar-Lev <alonbl@gentoo.org> +loop-aes-3.1e.ebuild: + Version bump + + 06 Oct 2006; Alon Bar-Lev <alonbl@gentoo.org> metadata.xml: + Reassigning to crypto herd, approved by dsd. + + 04 Oct 2006; Stefan Schweizer <genstef@gentoo.org> loop-aes-3.1d.ebuild: + padlock useflag thanks to Robert Kerr <LittleThor@xsw.terminator.net> and + Alon Bar-Lev <alon.barlev@gmail.com> in bug 148784 + + 15 Sep 2006; Joshua Jackson <tsunam@gentoo.org> loop-aes-3.1d.ebuild: + Stable x86; bug #145283 + + 23 Aug 2006; Jeroen Roovers <jer@gentoo.org> loop-aes-3.1d.ebuild: + Marked ~hppa thanks to Matthias Bethke (bug #126192). + + 27 Apr 2006; Alec Warner <antarus@gentoo.org> Manifest: + Fixing SHA256 digest, pass four + +*loop-aes-3.1d (14 Apr 2006) + + 14 Apr 2006; Stefan Schweizer <genstef@gentoo.org> -loop-aes-3.0b.ebuild, + -loop-aes-3.0c.ebuild, -loop-aes-3.0d.ebuild, -loop-aes-3.1b.ebuild, + -loop-aes-3.1c.ebuild, +loop-aes-3.1d.ebuild: + Version bump thanks to Alon Bar-Lev <alon.barlev@gmail.com> in bug 129495 + +*loop-aes-3.1c (19 Jan 2006) + + 19 Jan 2006; Stefan Schweizer <genstef@gentoo.org> +loop-aes-3.1c.ebuild: + Version bump thanks to Alon Bar-Lev <alon.barlev@gmail.com> in bug 119600 + +*loop-aes-3.1b (10 Oct 2005) + + 10 Oct 2005; Stefan Schweizer <genstef@gentoo.org> +loop-aes-3.1b.ebuild: + Version bump thanks to Alon Bar-Lev <alon.barlev@gmail.com> in bug 108044 + + 12 Jul 2005; David Holm <dholm@gentoo.org> loop-aes-3.0d.ebuild: + Added to ~ppc. + +*loop-aes-3.0d (11 Jul 2005) + + 11 Jul 2005; Stefan Schweizer <genstef@gentoo.org> +loop-aes-3.0d.ebuild: + Version bump thanks to Alon Bar-Lev <alon.barlev@gmail.com> in bug 98389 + + 21 Jun 2005; Simon Stelling <blubb@gentoo.org> loop-aes-3.0c.ebuild: + added ~amd64 keyword + +*loop-aes-3.0c (18 Jun 2005) + + 18 Jun 2005; Stefan Schweizer <genstef@gentoo.org> +loop-aes-3.0c.ebuild: + Version bump adding keyscrub use-flag thanks to Alon Bar-Lev + <alon.barlev@gmail.com> in bug 95725 + + 05 Feb 2005; Stefan Schweizer <genstef@gentoo.org> loop-aes-3.0b.ebuild: + Change config check to check for BLK_DEV_LOOP not set as in documentation, + thanks to Tom P. <fkqstjg02@sneakemail.com> in bug 80776 + +*loop-aes-3.0b (31 Jan 2005) + + 31 Jan 2005; Stefan Schweizer <genstef@gentoo.org> +metadata.xml, + +loop-aes-3.0b.ebuild: + New ebuild thanks to Marcin 'aye' Kryczek <aye@gentoo.pl>, Carsten Lohrke + <carlo@gentoo.org>, Lukas Miczka <cpu@ztpnet.pl>, Karol Wojtaszek + <sekretarz@gentoo.org>, Lars Weiler <pylon@gentoo.org> and Adam Twardowski + <adam@shonetwork.com> in bug 71603 + diff --git a/sys-fs/loop-aes/Manifest b/sys-fs/loop-aes/Manifest new file mode 100644 index 0000000..4ff3f0b --- /dev/null +++ b/sys-fs/loop-aes/Manifest @@ -0,0 +1,9 @@ +DIST loop-AES-v3.6b.tar.bz2 250771 RMD160 b15e528ecd113e13243dc41b356f1d07b2d4996c SHA1 a8074dbaf53c2d07e9f1d637cdde04be05d85b07 SHA256 3e3dbf3e248f069274aa2ef9f938ee2b116d9ce368b98c5f0ee3b5ec6db948ce +DIST loop-AES-v3.6c.tar.bz2 251279 RMD160 3268764bfabcc723db0cc20758cb0df5305071a5 SHA1 ffcc509ef1cfb365317f2b8f64e8bf130159f5bb SHA256 2fdd0811df62e9c8847c75c884f68ba8054d8b9234e0aa1388848462d55d50e5 +DIST loop-AES-v3.6d.tar.bz2 313317 RMD160 3db213f93be20801bf1f75b053ad0e1c60e9d0fe SHA1 6981782111a0f6097630986bf51abe0c6b24af40 SHA256 7eeb0cd3ddda20144c93553dc0b159ca1d757610da5b6fe3ad87263a61ee402b +EBUILD loop-aes-3.6b-r1.ebuild 2026 RMD160 99817aad5f9f5ffc592caf242e160d60347b13a0 SHA1 665bed2d6430ef1b6c328e6e7e6adba414c65230 SHA256 24c75c54b9777e2dff15e758fc264a3cdcec6ec6d48e8841762b2cda7019ae24 +EBUILD loop-aes-3.6b.ebuild 1716 RMD160 b56017d7a9dd67a547d456ebf7cfe86672fa963d SHA1 c0304269385912e96c9f87f3d053d4b4d4988736 SHA256 827122d8a7980181e314ff077bc6bf118202a82d2f49ced84338282066a2d176 +EBUILD loop-aes-3.6c.ebuild 2023 RMD160 3a05cf1ea5effe3941acada99095dc58c6edd6c0 SHA1 462fd15cd35ea7b798e3167ff7cc9a74663412d0 SHA256 c02e1003f9b74f01a869ee96e83fb00d4bc98e064ee2d65a20faacad465a60a0 +EBUILD loop-aes-3.6d.ebuild 2023 RMD160 3a05cf1ea5effe3941acada99095dc58c6edd6c0 SHA1 462fd15cd35ea7b798e3167ff7cc9a74663412d0 SHA256 c02e1003f9b74f01a869ee96e83fb00d4bc98e064ee2d65a20faacad465a60a0 +MISC ChangeLog 10945 RMD160 02b43fd9c14145169500ec678d3f888637409429 SHA1 614dd41643f8383ed581a7a1922d0f309ea45a31 SHA256 fc52b501de736220d3a2bacdc134a0e6b22a5c6507d1b6588e5ffc3668ee9675 +MISC metadata.xml 630 RMD160 d541f76ff785c5a465083f63c3b2db295b14ea61 SHA1 b718eff27f88d100ebbf87226369fa73c47d59ac SHA256 86f90370147d521d5b9b22780b4229b8b36055549414a1288bc0ace44946fc46 diff --git a/sys-fs/loop-aes/loop-aes-3.6b-r1.ebuild b/sys-fs/loop-aes/loop-aes-3.6b-r1.ebuild new file mode 100644 index 0000000..ceedc5c --- /dev/null +++ b/sys-fs/loop-aes/loop-aes-3.6b-r1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2011 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.6b-r1.ebuild,v 1.2 2011/06/13 16:56:43 c1pher 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="aes-ni extra-ciphers keyscrub padlock" + +DEPEND=">=sys-apps/util-linux-2.12r[crypt,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 aes-ni && BUILD_PARAMS="${BUILD_PARAMS} INTELAES=y" + 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 + einfo "If you have a newer Intel processor (i5, i7), and you use AES" + einfo "you may want to consider using the aes-ni use flag. It will" + einfo "use your processors native AES instructions giving quite a speed" + einfo "increase." + einfo +} diff --git a/sys-fs/loop-aes/loop-aes-3.6b.ebuild b/sys-fs/loop-aes/loop-aes-3.6b.ebuild new file mode 100644 index 0000000..431839b --- /dev/null +++ b/sys-fs/loop-aes/loop-aes-3.6b.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2011 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.6b.ebuild,v 1.5 2011/06/13 16:56:43 c1pher 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,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 +} diff --git a/sys-fs/loop-aes/loop-aes-3.6c.ebuild b/sys-fs/loop-aes/loop-aes-3.6c.ebuild new file mode 100644 index 0000000..571d4a3 --- /dev/null +++ b/sys-fs/loop-aes/loop-aes-3.6c.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2011 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.6c.ebuild,v 1.1 2011/06/13 16:56:43 c1pher 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="aes-ni extra-ciphers keyscrub padlock" + +DEPEND=">=sys-apps/util-linux-2.12r[crypt,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 aes-ni && BUILD_PARAMS="${BUILD_PARAMS} INTELAES=y" + 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 + einfo "If you have a newer Intel processor (i5, i7), and you use AES" + einfo "you may want to consider using the aes-ni use flag. It will" + einfo "use your processors native AES instructions giving quite a speed" + einfo "increase." + einfo +} diff --git a/sys-fs/loop-aes/loop-aes-3.6d.ebuild b/sys-fs/loop-aes/loop-aes-3.6d.ebuild new file mode 100644 index 0000000..571d4a3 --- /dev/null +++ b/sys-fs/loop-aes/loop-aes-3.6d.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2011 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.6c.ebuild,v 1.1 2011/06/13 16:56:43 c1pher 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="aes-ni extra-ciphers keyscrub padlock" + +DEPEND=">=sys-apps/util-linux-2.12r[crypt,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 aes-ni && BUILD_PARAMS="${BUILD_PARAMS} INTELAES=y" + 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 + einfo "If you have a newer Intel processor (i5, i7), and you use AES" + einfo "you may want to consider using the aes-ni use flag. It will" + einfo "use your processors native AES instructions giving quite a speed" + einfo "increase." + einfo +} diff --git a/sys-fs/loop-aes/metadata.xml b/sys-fs/loop-aes/metadata.xml new file mode 100644 index 0000000..428ee65 --- /dev/null +++ b/sys-fs/loop-aes/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>crypto</herd> + <maintainer> + <email>c1pher@gentoo.org</email> + <name>Dane Smith</name> + </maintainer> + <use> + <flag name='aes-ni'>Enable support for Intel's AES instruction + set</flag> + <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, + code still works on non-padlock processors</flag> + </use> +</pkgmetadata> |