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