1 |
flameeyes 11/09/01 11:19:06 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: ecryptfs-utils-91.ebuild |
5 |
Removed: ecryptfs-utils-83.ebuild ecryptfs-utils-90.ebuild |
6 |
ecryptfs-utils-85.ebuild |
7 |
Log: |
8 |
Version bump to release 91: includes my changes and a couple of security-sensitive fixes. |
9 |
|
10 |
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64) |
11 |
|
12 |
Revision Changes Path |
13 |
1.36 sys-fs/ecryptfs-utils/ChangeLog |
14 |
|
15 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/ecryptfs-utils/ChangeLog?rev=1.36&view=markup |
16 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/ecryptfs-utils/ChangeLog?rev=1.36&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/ecryptfs-utils/ChangeLog?r1=1.35&r2=1.36 |
18 |
|
19 |
Index: ChangeLog |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/sys-fs/ecryptfs-utils/ChangeLog,v |
22 |
retrieving revision 1.35 |
23 |
retrieving revision 1.36 |
24 |
diff -u -r1.35 -r1.36 |
25 |
--- ChangeLog 31 Aug 2011 01:33:13 -0000 1.35 |
26 |
+++ ChangeLog 1 Sep 2011 11:19:06 -0000 1.36 |
27 |
@@ -1,6 +1,15 @@ |
28 |
# ChangeLog for sys-fs/ecryptfs-utils |
29 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 |
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/ecryptfs-utils/ChangeLog,v 1.35 2011/08/31 01:33:13 flameeyes Exp $ |
31 |
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/ecryptfs-utils/ChangeLog,v 1.36 2011/09/01 11:19:06 flameeyes Exp $ |
32 |
+ |
33 |
+*ecryptfs-utils-91 (01 Sep 2011) |
34 |
+ |
35 |
+ 01 Sep 2011; Diego E. Pettenò <flameeyes@g.o> |
36 |
+ -ecryptfs-utils-83.ebuild, -ecryptfs-utils-85.ebuild, |
37 |
+ -ecryptfs-utils-90.ebuild, -files/ecryptfs-utils-90-nss-pkgconfig.patch, |
38 |
+ +ecryptfs-utils-91.ebuild: |
39 |
+ Version bump to release 91: includes my changes and a couple of |
40 |
+ security-sensitive fixes. |
41 |
|
42 |
31 Aug 2011; Diego E. Pettenò <flameeyes@g.o> |
43 |
ecryptfs-utils-90.ebuild: |
44 |
|
45 |
|
46 |
|
47 |
1.1 sys-fs/ecryptfs-utils/ecryptfs-utils-91.ebuild |
48 |
|
49 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/ecryptfs-utils/ecryptfs-utils-91.ebuild?rev=1.1&view=markup |
50 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/ecryptfs-utils/ecryptfs-utils-91.ebuild?rev=1.1&content-type=text/plain |
51 |
|
52 |
Index: ecryptfs-utils-91.ebuild |
53 |
=================================================================== |
54 |
# Copyright 1999-2011 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
# $Header: /var/cvsroot/gentoo-x86/sys-fs/ecryptfs-utils/ecryptfs-utils-91.ebuild,v 1.1 2011/09/01 11:19:06 flameeyes Exp $ |
57 |
|
58 |
EAPI="3" |
59 |
PYTHON_DEPEND="python? 2:2.5" |
60 |
SUPPORT_PYTHON_ABIS="1" |
61 |
RESTRICT_PYTHON_ABIS="2.4 3.* *-jython" |
62 |
|
63 |
inherit flag-o-matic pam python linux-info autotools |
64 |
|
65 |
DESCRIPTION="eCryptfs userspace utilities" |
66 |
HOMEPAGE="http://launchpad.net/ecryptfs" |
67 |
SRC_URI="http://launchpad.net/ecryptfs/trunk/${PV}/+download/${PN}_${PV}.orig.tar.gz" |
68 |
|
69 |
LICENSE="GPL-2" |
70 |
SLOT="0" |
71 |
KEYWORDS="~amd64 ~x86" |
72 |
IUSE="doc gpg gtk openssl pam pkcs11 python suid tpm" |
73 |
|
74 |
RDEPEND=">=sys-apps/keyutils-1.0 |
75 |
>=dev-libs/libgcrypt-1.2.0 |
76 |
dev-libs/nss |
77 |
gpg? ( app-crypt/gpgme ) |
78 |
gtk? ( x11-libs/gtk+:2 ) |
79 |
openssl? ( >=dev-libs/openssl-0.9.7 ) |
80 |
pam? ( sys-libs/pam ) |
81 |
pkcs11? ( |
82 |
>=dev-libs/openssl-0.9.7 |
83 |
>=dev-libs/pkcs11-helper-1.04 |
84 |
) |
85 |
tpm? ( app-crypt/trousers )" |
86 |
DEPEND="${RDEPEND} |
87 |
>=dev-util/pkgconfig-0.9.0 |
88 |
sys-devel/gettext |
89 |
>=dev-util/intltool-0.41.0 |
90 |
python? ( dev-lang/swig )" |
91 |
|
92 |
pkg_setup() { |
93 |
if use python; then |
94 |
python_pkg_setup |
95 |
fi |
96 |
|
97 |
CONFIG_CHECK="~ECRYPT_FS" |
98 |
linux-info_pkg_setup |
99 |
} |
100 |
|
101 |
src_prepare() { |
102 |
echo "#!/bin/sh" > py-compile |
103 |
|
104 |
# Python bindings are built/installed manually. |
105 |
sed -e "/SUBDIRS =/s/ libecryptfs-swig//" -i src/Makefile.am || die "sed failed" |
106 |
|
107 |
eautoreconf |
108 |
} |
109 |
|
110 |
src_configure() { |
111 |
append-flags -D_FILE_OFFSET_BITS=64 |
112 |
|
113 |
econf \ |
114 |
--docdir="/usr/share/doc/${PF}" \ |
115 |
--enable-nss \ |
116 |
--with-pamdir=$(getpam_mod_dir) \ |
117 |
$(use_enable doc docs) \ |
118 |
$(use_enable gpg) \ |
119 |
$(use_enable gtk gui) \ |
120 |
$(use_enable openssl) \ |
121 |
$(use_enable pam) \ |
122 |
$(use_enable pkcs11 pkcs11-helper) \ |
123 |
$(use_enable python pywrap) \ |
124 |
$(use_enable tpm tspi) |
125 |
} |
126 |
|
127 |
src_compile() { |
128 |
default |
129 |
|
130 |
if use python; then |
131 |
python_copy_sources src/libecryptfs-swig |
132 |
building() { |
133 |
emake \ |
134 |
PYTHON="$(PYTHON)" \ |
135 |
PYTHON_CPPFLAGS="-I$(python_get_includedir)" \ |
136 |
PYTHON_LDFLAGS="-L$(python_get_libdir) $(python_get_library -l)" \ |
137 |
PYTHON_SITE_PKG="$(python_get_sitedir)" \ |
138 |
PYTHON_VERSION="$(python_get_version)" \ |
139 |
SWIG_PYTHON_CPPFLAGS="-I$(python_get_includedir)" \ |
140 |
pyexecdir="$(python_get_sitedir)" \ |
141 |
pythondir="$(python_get_sitedir)" |
142 |
} |
143 |
python_execute_function -s --source-dir src/libecryptfs-swig building |
144 |
fi |
145 |
} |
146 |
|
147 |
src_install(){ |
148 |
emake DESTDIR="${D}" install || die "emake install failed" |
149 |
|
150 |
if use python; then |
151 |
installation() { |
152 |
emake \ |
153 |
DESTDIR="${D}" \ |
154 |
PYTHON="$(PYTHON)" \ |
155 |
PYTHON_CPPFLAGS="-I$(python_get_includedir)" \ |
156 |
PYTHON_LDFLAGS="-L$(python_get_libdir) $(python_get_library -l)" \ |
157 |
PYTHON_SITE_PKG="$(python_get_sitedir)" \ |
158 |
PYTHON_VERSION="$(python_get_version)" \ |
159 |
SWIG_PYTHON_CPPFLAGS="-I$(python_get_includedir)" \ |
160 |
pyexecdir="$(python_get_sitedir)" \ |
161 |
pythondir="$(python_get_sitedir)" \ |
162 |
install || return 1 |
163 |
echo "ecryptfs-utils" > "${ED}$(python_get_sitedir)/ecryptfs-utils.pth" |
164 |
} |
165 |
python_execute_function -s --source-dir src/libecryptfs-swig installation |
166 |
|
167 |
python_clean_installation_image |
168 |
fi |
169 |
|
170 |
use suid && fperms u+s /sbin/mount.ecryptfs_private |
171 |
|
172 |
find "${D}" -name '*.la' -exec rm -f '{}' + |
173 |
} |
174 |
|
175 |
pkg_postinst() { |
176 |
if use python; then |
177 |
python_mod_optimize ecryptfs-utils |
178 |
fi |
179 |
|
180 |
if use suid; then |
181 |
ewarn |
182 |
ewarn "You have chosen to install ${PN} with the binary setuid root. This" |
183 |
ewarn "means that if there are any undetected vulnerabilities in the binary," |
184 |
ewarn "then local users may be able to gain root access on your machine." |
185 |
ewarn |
186 |
fi |
187 |
} |
188 |
|
189 |
pkg_postrm() { |
190 |
if use python; then |
191 |
python_mod_cleanup ecryptfs-utils |
192 |
fi |
193 |
} |