Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-fs/loop-aes: loop-aes-3.6e.ebuild ChangeLog
Date: Sun, 08 Jan 2012 02:04:18
Message-Id: 20120108020407.65CF32004B@flycatcher.gentoo.org
1 robbat2 12/01/08 02:04:07
2
3 Modified: ChangeLog
4 Added: loop-aes-3.6e.ebuild
5 Log:
6 Version bump, bug #397981.
7
8 (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.81 sys-fs/loop-aes/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/loop-aes/ChangeLog?rev=1.81&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/loop-aes/ChangeLog?rev=1.81&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/loop-aes/ChangeLog?r1=1.80&r2=1.81
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-fs/loop-aes/ChangeLog,v
20 retrieving revision 1.80
21 retrieving revision 1.81
22 diff -p -w -b -B -u -u -r1.80 -r1.81
23 --- ChangeLog 7 Jan 2012 01:05:10 -0000 1.80
24 +++ ChangeLog 8 Jan 2012 02:04:07 -0000 1.81
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sys-fs/loop-aes
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/loop-aes/ChangeLog,v 1.80 2012/01/07 01:05:10 robbat2 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/loop-aes/ChangeLog,v 1.81 2012/01/08 02:04:07 robbat2 Exp $
30 +
31 +*loop-aes-3.6e (08 Jan 2012)
32 +
33 + 08 Jan 2012; Robin H. Johnson <robbat2@g.o> +loop-aes-3.6e.ebuild:
34 + Version bump, bug #397981.
35
36 *loop-aes-3.6d (07 Jan 2012)
37
38
39
40
41 1.1 sys-fs/loop-aes/loop-aes-3.6e.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/loop-aes/loop-aes-3.6e.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/loop-aes/loop-aes-3.6e.ebuild?rev=1.1&content-type=text/plain
45
46 Index: loop-aes-3.6e.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-fs/loop-aes/loop-aes-3.6e.ebuild,v 1.1 2012/01/08 02:04:07 robbat2 Exp $
51
52 EAPI="3"
53
54 inherit linux-mod
55
56 MY_P="${PN/aes/AES}-v${PV}"
57
58 DESCRIPTION="Linux kernel module to encrypt local file systems and disk partitions with AES cipher."
59 HOMEPAGE="http://loop-aes.sourceforge.net/loop-AES.README"
60 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
65 IUSE="aes-ni extra-ciphers keyscrub padlock"
66
67 DEPEND=">=sys-apps/util-linux-2.12r[crypt,loop-aes]"
68 RDEPEND="${DEPEND}"
69
70 S="${WORKDIR}/${MY_P}"
71
72 pkg_setup() {
73 linux-mod_pkg_setup
74
75 CONFIG_CHECK="!BLK_DEV_LOOP"
76 MODULE_NAMES="loop(block::tmp-d-kbuild)"
77 BUILD_TARGETS="all"
78
79 BUILD_PARAMS=" \
80 LINUX_SOURCE=\"${KERNEL_DIR}\" \
81 KBUILD_OUTPUT=\"${KBUILD_OUTPUT}\" \
82 USE_KBUILD=y MODINST=n RUNDM=n"
83 use aes-ni && BUILD_PARAMS="${BUILD_PARAMS} INTELAES=y"
84 use keyscrub && BUILD_PARAMS="${BUILD_PARAMS} KEYSCRUB=y"
85 use padlock && BUILD_PARAMS="${BUILD_PARAMS} PADLOCK=y"
86
87 if use extra-ciphers; then
88 MODULE_NAMES="${MODULE_NAMES}
89 loop_blowfish(block::tmp-d-kbuild)
90 loop_serpent(block::tmp-d-kbuild)
91 loop_twofish(block::tmp-d-kbuild)"
92 BUILD_PARAMS="${BUILD_PARAMS} EXTRA_CIPHERS=y"
93 fi
94 }
95
96 src_prepare() {
97 sed -e 's/make/$(MAKE)/g' -i Makefile || die "sed failed"
98 }
99
100 src_install() {
101 linux-mod_src_install
102
103 dodoc README || die "dodoc failed"
104 dobin loop-aes-keygen || die "dobin failed"
105 doman loop-aes-keygen.1 || die "doman failed"
106 }
107
108 pkg_postinst() {
109 linux-mod_pkg_postinst
110
111 einfo
112 einfo "For more instructions take a look at examples in README at:"
113 einfo "'${EPREFIX}/usr/share/doc/${PF}'"
114 einfo
115 einfo "If you have a newer Intel processor (i5, i7), and you use AES"
116 einfo "you may want to consider using the aes-ni use flag. It will"
117 einfo "use your processors native AES instructions giving quite a speed"
118 einfo "increase."
119 einfo
120 }