OLD | NEW |
1 # Copyright 1999-2009 Gentoo Foundation | 1 # Copyright 1999-2009 Gentoo Foundation |
2 # Distributed under the terms of the GNU General Public License v2 | 2 # Distributed under the terms of the GNU General Public License v2 |
3 # $Header: /var/cvsroot/gentoo-x86/sys-fs/ecryptfs-utils/ecryptfs-utils-82.ebuil
d,v 1.1 2009/11/27 19:44:24 arfrever Exp $ | 3 # $Header: /var/cvsroot/gentoo-x86/sys-fs/ecryptfs-utils/ecryptfs-utils-82.ebuil
d,v 1.1 2009/11/27 19:44:24 arfrever Exp $ |
4 | 4 |
5 EAPI="2" | 5 EAPI="2" |
6 SUPPORT_PYTHON_ABIS="1" | 6 SUPPORT_PYTHON_ABIS="1" |
7 | 7 |
8 inherit flag-o-matic pam python | 8 inherit flag-o-matic pam python eutils |
9 | 9 |
10 DESCRIPTION="eCryptfs userspace utilities" | 10 DESCRIPTION="eCryptfs userspace utilities" |
11 HOMEPAGE="http://launchpad.net/ecryptfs" | 11 HOMEPAGE="http://launchpad.net/ecryptfs" |
12 SRC_URI="http://launchpad.net/ecryptfs/trunk/${PV}/+download/${PN}_${PV}.orig.ta
r.gz" | 12 SRC_URI="http://launchpad.net/ecryptfs/trunk/${PV}/+download/${PN}_${PV}.orig.ta
r.gz" |
13 | 13 |
14 LICENSE="GPL-2" | 14 LICENSE="GPL-2" |
15 SLOT="0" | 15 SLOT="0" |
16 KEYWORDS="~amd64 ~x86" | 16 KEYWORDS="~amd64 ~x86" |
17 IUSE="doc gpg gtk openssl pam pkcs11 python suid tpm" | 17 IUSE="doc gpg gtk openssl pam pkcs11 python suid tpm" |
18 | 18 |
(...skipping 15 matching lines...) Expand all Loading... |
34 python? ( dev-lang/swig )" | 34 python? ( dev-lang/swig )" |
35 RESTRICT_PYTHON_ABIS="2.4 3.*" | 35 RESTRICT_PYTHON_ABIS="2.4 3.*" |
36 | 36 |
37 pkg_setup() { | 37 pkg_setup() { |
38 append-flags -D_FILE_OFFSET_BITS=64 | 38 append-flags -D_FILE_OFFSET_BITS=64 |
39 } | 39 } |
40 | 40 |
41 src_prepare() { | 41 src_prepare() { |
42 # Python bindings are built/installed manually. | 42 # Python bindings are built/installed manually. |
43 sed -e "/SUBDIRS =/s/ libecryptfs-swig//" -i src/Makefile.{am,in} || die
"sed failed" | 43 sed -e "/SUBDIRS =/s/ libecryptfs-swig//" -i src/Makefile.{am,in} || die
"sed failed" |
| 44 |
| 45 epatch ${FILESDIR}/pkgconfig.diff |
44 } | 46 } |
45 | 47 |
46 src_configure() { | 48 src_configure() { |
47 econf \ | 49 econf \ |
48 --docdir="/usr/share/doc/${PF}" \ | 50 --docdir="/usr/share/doc/${PF}" \ |
49 --enable-nss \ | 51 --enable-nss \ |
50 --with-pamdir=$(getpam_mod_dir) \ | 52 --with-pamdir=$(getpam_mod_dir) \ |
51 $(use_enable doc docs) \ | 53 $(use_enable doc docs) \ |
52 $(use_enable gpg) \ | 54 $(use_enable gpg) \ |
53 $(use_enable gtk gui) \ | 55 $(use_enable gtk gui) \ |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 | 106 |
105 pkg_postinst() { | 107 pkg_postinst() { |
106 if use suid; then | 108 if use suid; then |
107 ewarn | 109 ewarn |
108 ewarn "You have chosen to install ${PN} with the binary setuid r
oot. This" | 110 ewarn "You have chosen to install ${PN} with the binary setuid r
oot. This" |
109 ewarn "means that if there are any undetected vulnerabilities in
the binary," | 111 ewarn "means that if there are any undetected vulnerabilities in
the binary," |
110 ewarn "then local users may be able to gain root access on your
machine." | 112 ewarn "then local users may be able to gain root access on your
machine." |
111 ewarn | 113 ewarn |
112 fi | 114 fi |
113 } | 115 } |
OLD | NEW |