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