1 |
robbat2 10/05/01 21:40:39 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: cryptsetup-1.1.1_rc1.ebuild |
5 |
Log: |
6 |
Bug #318039: version bump. |
7 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.81 sys-fs/cryptsetup/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/cryptsetup/ChangeLog?rev=1.81&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/cryptsetup/ChangeLog?rev=1.81&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/cryptsetup/ChangeLog?r1=1.80&r2=1.81 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-fs/cryptsetup/ChangeLog,v |
19 |
retrieving revision 1.80 |
20 |
retrieving revision 1.81 |
21 |
diff -p -w -b -B -u -u -r1.80 -r1.81 |
22 |
--- ChangeLog 23 Apr 2010 19:35:04 -0000 1.80 |
23 |
+++ ChangeLog 1 May 2010 21:40:39 -0000 1.81 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for sys-fs/cryptsetup |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/cryptsetup/ChangeLog,v 1.80 2010/04/23 19:35:04 robbat2 Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/cryptsetup/ChangeLog,v 1.81 2010/05/01 21:40:39 robbat2 Exp $ |
29 |
+ |
30 |
+*cryptsetup-1.1.1_rc1 (01 May 2010) |
31 |
+ |
32 |
+ 01 May 2010; Robin H. Johnson <robbat2@g.o> |
33 |
+ +cryptsetup-1.1.1_rc1.ebuild: |
34 |
+ Bug #318039: version bump. |
35 |
|
36 |
23 Apr 2010; Robin H. Johnson <robbat2@g.o> |
37 |
+files/1.1.0-libudev.patch, cryptsetup-1.1.0.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-fs/cryptsetup/cryptsetup-1.1.1_rc1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/cryptsetup/cryptsetup-1.1.1_rc1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/cryptsetup/cryptsetup-1.1.1_rc1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: cryptsetup-1.1.1_rc1.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.1.1_rc1.ebuild,v 1.1 2010/05/01 21:40:39 robbat2 Exp $ |
51 |
|
52 |
EAPI=2 |
53 |
|
54 |
inherit linux-info eutils flag-o-matic multilib autotools |
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 |
# Merged upstream |
93 |
#epatch "${FILESDIR}"/1.1.0_rc3-static-no-selinux.patch |
94 |
epatch "${FILESDIR}"/1.1.0-libudev.patch |
95 |
eautoreconf |
96 |
: |
97 |
} |
98 |
|
99 |
src_configure() { |
100 |
econf \ |
101 |
--sbindir=/sbin \ |
102 |
--enable-shared \ |
103 |
$(use_enable !dynamic static) \ |
104 |
--libdir=/usr/$(get_libdir) \ |
105 |
$(use_enable nls) \ |
106 |
$(use_enable selinux) \ |
107 |
|| die |
108 |
} |
109 |
|
110 |
src_compile() { |
111 |
emake || die |
112 |
} |
113 |
|
114 |
src_install() { |
115 |
emake DESTDIR="${D}" install || die "install failed" |
116 |
rmdir "${D}"/usr/$(get_libdir)/cryptsetup |
117 |
insinto /$(get_libdir)/rcscripts/addons |
118 |
newins "${FILESDIR}"/1.0.6-r2-dm-crypt-start.sh dm-crypt-start.sh || die |
119 |
newins "${FILESDIR}"/1.0.5-dm-crypt-stop.sh dm-crypt-stop.sh || die |
120 |
newconfd "${FILESDIR}"/1.0.6-dmcrypt.confd dmcrypt || die |
121 |
newinitd "${FILESDIR}"/1.0.5-dmcrypt.rc dmcrypt || die |
122 |
} |
123 |
|
124 |
pkg_postinst() { |
125 |
ewarn "This ebuild introduces a new set of scripts and configuration" |
126 |
ewarn "than the last version. If you are currently using /etc/conf.d/cryptfs" |
127 |
ewarn "then you *MUST* copy your old file to:" |
128 |
ewarn "/etc/conf.d/dmcrypt" |
129 |
ewarn "Or your encrypted partitions will *NOT* work." |
130 |
elog "Please see the example for configuring a LUKS mountpoint" |
131 |
elog "in /etc/conf.d/dmcrypt" |
132 |
elog |
133 |
elog "If you are using baselayout-2 then please do:" |
134 |
elog "rc-update add dmcrypt boot" |
135 |
elog "This version introduces a command line arguement 'key_timeout'." |
136 |
elog "If you want the search for the removable key device to timeout" |
137 |
elog "after 10 seconds add the following to your bootloader config:" |
138 |
elog "key_timeout=10" |
139 |
elog "A timeout of 0 will mean it will wait indefinitely." |
140 |
} |