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