1 |
vapier 12/06/06 02:53:58 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: cryptsetup-1.4.3.ebuild |
5 |
Log: |
6 |
Version bump #419829 by Manuel Rüger (mrueg). |
7 |
|
8 |
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.137 sys-fs/cryptsetup/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/cryptsetup/ChangeLog?rev=1.137&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/cryptsetup/ChangeLog?rev=1.137&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/cryptsetup/ChangeLog?r1=1.136&r2=1.137 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-fs/cryptsetup/ChangeLog,v |
20 |
retrieving revision 1.136 |
21 |
retrieving revision 1.137 |
22 |
diff -u -r1.136 -r1.137 |
23 |
--- ChangeLog 21 May 2012 07:55:41 -0000 1.136 |
24 |
+++ ChangeLog 6 Jun 2012 02:53:58 -0000 1.137 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for sys-fs/cryptsetup |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/cryptsetup/ChangeLog,v 1.136 2012/05/21 07:55:41 ssuominen Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/cryptsetup/ChangeLog,v 1.137 2012/06/06 02:53:58 vapier Exp $ |
30 |
+ |
31 |
+*cryptsetup-1.4.3 (06 Jun 2012) |
32 |
+ |
33 |
+ 06 Jun 2012; Mike Frysinger <vapier@g.o> +cryptsetup-1.4.3.ebuild: |
34 |
+ Version bump #419829 by Manuel Rüger (mrueg). |
35 |
|
36 |
21 May 2012; Samuli Suominen <ssuominen@g.o> |
37 |
cryptsetup-1.2.0-r1.ebuild, cryptsetup-1.4.1.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-fs/cryptsetup/cryptsetup-1.4.3.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/cryptsetup/cryptsetup-1.4.3.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/cryptsetup/cryptsetup-1.4.3.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: cryptsetup-1.4.3.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/cryptsetup/cryptsetup-1.4.3.ebuild,v 1.1 2012/06/06 02:53:58 vapier Exp $ |
51 |
|
52 |
EAPI="4" |
53 |
|
54 |
inherit linux-info libtool |
55 |
|
56 |
MY_P=${P/_rc/-rc} |
57 |
DESCRIPTION="Tool to setup encrypted devices with dm-crypt" |
58 |
HOMEPAGE="http://code.google.com/p/cryptsetup/" |
59 |
SRC_URI="http://cryptsetup.googlecode.com/files/${MY_P}.tar.bz2" |
60 |
|
61 |
LICENSE="GPL-2" |
62 |
SLOT="0" |
63 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
64 |
IUSE="nls selinux static static-libs" |
65 |
|
66 |
S=${WORKDIR}/${MY_P} |
67 |
|
68 |
LIB_DEPEND="dev-libs/libgpg-error[static-libs(+)] |
69 |
>=dev-libs/popt-1.7[static-libs(+)] |
70 |
>=sys-apps/util-linux-2.17.2[static-libs(+)] |
71 |
>=dev-libs/libgcrypt-1.1.42[static-libs(+)] |
72 |
>=sys-fs/lvm2-2.02.64[static-libs(+)] |
73 |
>=sys-fs/udev-124[static-libs(+)] |
74 |
>=sys-libs/e2fsprogs-libs-1.41[static-libs(+)]" |
75 |
# We have to always depend on ${LIB_DEPEND} rather than put behind |
76 |
# static? () because we provide a shared library which links against |
77 |
# these other packages. #414665 |
78 |
RDEPEND="static-libs? ( ${LIB_DEPEND} ) |
79 |
${LIB_DEPEND//\[static-libs(+)]} |
80 |
!<sys-apps/baselayout-2 |
81 |
!sys-fs/cryptsetup-luks |
82 |
selinux? ( sys-libs/libselinux )" |
83 |
DEPEND="${RDEPEND} |
84 |
static? ( ${LIB_DEPEND} )" |
85 |
|
86 |
pkg_setup() { |
87 |
local CONFIG_CHECK="~DM_CRYPT ~CRYPTO ~CRYPTO_CBC" |
88 |
local WARNING_DM_CRYPT="CONFIG_DM_CRYPT:\tis not set (required for cryptsetup)\n" |
89 |
local WARNING_CRYPTO_CBC="CONFIG_CRYPTO_CBC:\tis not set (required for kernel 2.6.19)\n" |
90 |
local WARNING_CRYPTO="CONFIG_CRYPTO:\tis not set (required for cryptsetup)\n" |
91 |
check_extra_config |
92 |
} |
93 |
|
94 |
src_prepare() { |
95 |
sed -i '/^LOOPDEV=/s:$: || exit 0:' tests/{compat,mode}-test |
96 |
elibtoolize |
97 |
} |
98 |
|
99 |
src_configure() { |
100 |
econf \ |
101 |
--sbindir=/sbin \ |
102 |
--enable-shared \ |
103 |
$(use_enable static static-cryptsetup) \ |
104 |
$(use_enable static-libs static) \ |
105 |
$(use_enable nls) \ |
106 |
$(use_enable selinux) |
107 |
} |
108 |
|
109 |
src_test() { |
110 |
if [[ ! -e /dev/mapper/control ]] ; then |
111 |
ewarn "No /dev/mapper/control found -- skipping tests" |
112 |
return 0 |
113 |
fi |
114 |
local p |
115 |
for p in /dev/mapper /dev/loop* ; do |
116 |
addwrite ${p} |
117 |
done |
118 |
default |
119 |
} |
120 |
|
121 |
src_install() { |
122 |
default |
123 |
use static && { mv "${ED}"/sbin/cryptsetup{.static,} || die ; } |
124 |
use static-libs || find "${ED}"/usr -name '*.la' -delete |
125 |
|
126 |
newconfd "${FILESDIR}"/1.0.6-dmcrypt.confd dmcrypt |
127 |
newinitd "${FILESDIR}"/dmcrypt.rc dmcrypt |
128 |
} |
129 |
|
130 |
pkg_postinst() { |
131 |
ewarn "This ebuild introduces a new set of scripts and configuration" |
132 |
ewarn "than the last version. If you are currently using /etc/conf.d/cryptfs" |
133 |
ewarn "then you *MUST* copy your old file to:" |
134 |
ewarn "/etc/conf.d/dmcrypt" |
135 |
ewarn "Or your encrypted partitions will *NOT* work." |
136 |
elog "Please see the example for configuring a LUKS mountpoint" |
137 |
elog "in /etc/conf.d/dmcrypt" |
138 |
elog |
139 |
elog "If you are using baselayout-2 then please do:" |
140 |
elog "rc-update add dmcrypt boot" |
141 |
elog "This version introduces a command line arguement 'key_timeout'." |
142 |
elog "If you want the search for the removable key device to timeout" |
143 |
elog "after 10 seconds add the following to your bootloader config:" |
144 |
elog "key_timeout=10" |
145 |
elog "A timeout of 0 will mean it will wait indefinitely." |
146 |
elog |
147 |
elog "Users using cryptsetup-1.0.x (dm-crypt plain) volumes must use" |
148 |
elog "a compatibility mode when using cryptsetup-1.1.x. This can be" |
149 |
elog "done by specifying the cipher (-c), key size (-s) and hash (-h)." |
150 |
elog "For more info, see http://code.google.com/p/cryptsetup/wiki/FrequentlyAskedQuestions#6._Issues_with_Specific_Versions_of_cryptsetup" |
151 |
} |