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