1 |
vapier 10/12/30 17:11:29 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: cryptsetup-1.2.0-r1.ebuild |
5 |
Removed: cryptsetup-1.2.0.ebuild |
6 |
Log: |
7 |
Convert to IUSE=+static and make it work again #350105 by Casey Carter. |
8 |
|
9 |
(Portage version: 2.2.0_alpha10/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.99 sys-fs/cryptsetup/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/cryptsetup/ChangeLog?rev=1.99&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/cryptsetup/ChangeLog?rev=1.99&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/cryptsetup/ChangeLog?r1=1.98&r2=1.99 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sys-fs/cryptsetup/ChangeLog,v |
21 |
retrieving revision 1.98 |
22 |
retrieving revision 1.99 |
23 |
diff -u -r1.98 -r1.99 |
24 |
--- ChangeLog 29 Dec 2010 15:54:25 -0000 1.98 |
25 |
+++ ChangeLog 30 Dec 2010 17:11:29 -0000 1.99 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for sys-fs/cryptsetup |
28 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/cryptsetup/ChangeLog,v 1.98 2010/12/29 15:54:25 vapier Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/cryptsetup/ChangeLog,v 1.99 2010/12/30 17:11:29 vapier Exp $ |
31 |
+ |
32 |
+*cryptsetup-1.2.0-r1 (30 Dec 2010) |
33 |
+ |
34 |
+ 30 Dec 2010; Mike Frysinger <vapier@g.o> -cryptsetup-1.2.0.ebuild, |
35 |
+ +cryptsetup-1.2.0-r1.ebuild: |
36 |
+ Convert to IUSE=+static and make it work again #350105 by Casey Carter. |
37 |
|
38 |
*cryptsetup-1.2.0 (29 Dec 2010) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 sys-fs/cryptsetup/cryptsetup-1.2.0-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/cryptsetup/cryptsetup-1.2.0-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/cryptsetup/cryptsetup-1.2.0-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: cryptsetup-1.2.0-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2010 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/sys-fs/cryptsetup/cryptsetup-1.2.0-r1.ebuild,v 1.1 2010/12/30 17:11:29 vapier Exp $ |
53 |
|
54 |
EAPI="2" |
55 |
|
56 |
inherit linux-info eutils multilib libtool |
57 |
|
58 |
MY_P=${P/_rc/-rc} |
59 |
DESCRIPTION="Tool to setup encrypted devices with dm-crypt" |
60 |
HOMEPAGE="http://code.google.com/p/cryptsetup/" |
61 |
SRC_URI="http://cryptsetup.googlecode.com/files/${MY_P}.tar.bz2" |
62 |
|
63 |
LICENSE="GPL-2" |
64 |
SLOT="0" |
65 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
66 |
IUSE="+static nls selinux" |
67 |
|
68 |
S=${WORKDIR}/${MY_P} |
69 |
|
70 |
DEPEND=">=sys-fs/lvm2-2.02.64 |
71 |
>=dev-libs/libgcrypt-1.1.42 |
72 |
>=dev-libs/libgpg-error-1.0-r1 |
73 |
>=dev-libs/popt-1.7 |
74 |
>=sys-fs/udev-124 |
75 |
|| ( >=sys-libs/e2fsprogs-libs-1.41 <sys-fs/e2fsprogs-1.41 ) |
76 |
selinux? ( sys-libs/libselinux ) |
77 |
!sys-fs/cryptsetup-luks" |
78 |
|
79 |
pkg_setup() { |
80 |
local CONFIG_CHECK="~DM_CRYPT ~CRYPTO ~CRYPTO_CBC" |
81 |
local WARNING_DM_CRYPT="CONFIG_DM_CRYPT:\tis not set (required for cryptsetup)\n" |
82 |
local WARNING_CRYPTO_CBC="CONFIG_CRYPTO_CBC:\tis not set (required for kernel 2.6.19)\n" |
83 |
local WARNING_CRYPTO="CONFIG_CRYPTO:\tis not set (required for cryptsetup)\n" |
84 |
check_extra_config |
85 |
} |
86 |
|
87 |
src_prepare() { |
88 |
elibtoolize |
89 |
} |
90 |
|
91 |
src_configure() { |
92 |
econf \ |
93 |
--sbindir=/sbin \ |
94 |
--enable-shared \ |
95 |
--libdir=/usr/$(get_libdir) \ |
96 |
$(use_enable static static-cryptsetup) \ |
97 |
$(use_enable nls) \ |
98 |
$(use_enable selinux) |
99 |
} |
100 |
|
101 |
src_install() { |
102 |
emake DESTDIR="${D}" install || die |
103 |
use static && { mv "${D}"/sbin/cryptsetup{.static,} || die ; } |
104 |
dodoc TODO ChangeLog README NEWS |
105 |
|
106 |
insinto /$(get_libdir)/rcscripts/addons |
107 |
newins "${FILESDIR}"/1.1.3-dm-crypt-start.sh dm-crypt-start.sh || die |
108 |
newins "${FILESDIR}"/1.1.3-dm-crypt-stop.sh dm-crypt-stop.sh || die |
109 |
newconfd "${FILESDIR}"/1.0.6-dmcrypt.confd dmcrypt || die |
110 |
newinitd "${FILESDIR}"/1.0.5-dmcrypt.rc dmcrypt || die |
111 |
} |
112 |
|
113 |
pkg_postinst() { |
114 |
ewarn "This ebuild introduces a new set of scripts and configuration" |
115 |
ewarn "than the last version. If you are currently using /etc/conf.d/cryptfs" |
116 |
ewarn "then you *MUST* copy your old file to:" |
117 |
ewarn "/etc/conf.d/dmcrypt" |
118 |
ewarn "Or your encrypted partitions will *NOT* work." |
119 |
elog "Please see the example for configuring a LUKS mountpoint" |
120 |
elog "in /etc/conf.d/dmcrypt" |
121 |
elog |
122 |
elog "If you are using baselayout-2 then please do:" |
123 |
elog "rc-update add dmcrypt boot" |
124 |
elog "This version introduces a command line arguement 'key_timeout'." |
125 |
elog "If you want the search for the removable key device to timeout" |
126 |
elog "after 10 seconds add the following to your bootloader config:" |
127 |
elog "key_timeout=10" |
128 |
elog "A timeout of 0 will mean it will wait indefinitely." |
129 |
elog |
130 |
elog "Users using cryptsetup-1.0.x (dm-crypt plain) volumes must use" |
131 |
elog "a compatibility mode when using cryptsetup-1.1.x. This can be" |
132 |
elog "done by specifying the cipher (-c), key size (-s) and hash (-h)." |
133 |
elog "For more info, see http://code.google.com/p/cryptsetup/wiki/FrequentlyAskedQuestions#6._Issues_with_Specific_Versions_of_cryptsetup" |
134 |
} |