Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-fs/ecryptfs-utils: ChangeLog ecryptfs-utils-75.ebuild
Date: Sat, 02 May 2009 18:30:06
Message-Id: E1M0JyO-0007Zn-7e@stork.gentoo.org
1 arfrever 09/05/02 18:30:04
2
3 Modified: ChangeLog
4 Added: ecryptfs-utils-75.ebuild
5 Log:
6 Version bump.
7 (Portage version: 13595-svn/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.24 sys-fs/ecryptfs-utils/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/ecryptfs-utils/ChangeLog?rev=1.24&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/ecryptfs-utils/ChangeLog?rev=1.24&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/ecryptfs-utils/ChangeLog?r1=1.23&r2=1.24
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-fs/ecryptfs-utils/ChangeLog,v
19 retrieving revision 1.23
20 retrieving revision 1.24
21 diff -u -r1.23 -r1.24
22 --- ChangeLog 29 Mar 2009 17:08:28 -0000 1.23
23 +++ ChangeLog 2 May 2009 18:30:04 -0000 1.24
24 @@ -1,6 +1,12 @@
25 # ChangeLog for sys-fs/ecryptfs-utils
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/ecryptfs-utils/ChangeLog,v 1.23 2009/03/29 17:08:28 arfrever Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/ecryptfs-utils/ChangeLog,v 1.24 2009/05/02 18:30:04 arfrever Exp $
29 +
30 +*ecryptfs-utils-75 (02 May 2009)
31 +
32 + 02 May 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
33 + +ecryptfs-utils-75.ebuild, +files/ecryptfs-utils-75-fix_warnings.patch:
34 + Version bump.
35
36 *ecryptfs-utils-73 (29 Mar 2009)
37
38
39
40
41 1.1 sys-fs/ecryptfs-utils/ecryptfs-utils-75.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/ecryptfs-utils/ecryptfs-utils-75.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/ecryptfs-utils/ecryptfs-utils-75.ebuild?rev=1.1&content-type=text/plain
45
46 Index: ecryptfs-utils-75.ebuild
47 ===================================================================
48 # Copyright 1999-2009 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-75.ebuild,v 1.1 2009/05/02 18:30:04 arfrever Exp $
51
52 EAPI="2"
53
54 inherit eutils pam
55
56 DESCRIPTION="eCryptfs userspace utilities"
57 HOMEPAGE="http://launchpad.net/ecryptfs"
58 SRC_URI="http://launchpad.net/ecryptfs/trunk/${PV}/+download/${PN}_${PV}.orig.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86"
63 IUSE="doc gpg gtk nss openssl pam pkcs11 python suid tpm"
64
65 RDEPEND=">=sys-apps/keyutils-1.0
66 >=dev-libs/libgcrypt-1.2.0
67 gpg? ( app-crypt/gpgme )
68 gtk? ( x11-libs/gtk+ )
69 nss? ( dev-libs/nss )
70 openssl? ( >=dev-libs/openssl-0.9.7 )
71 pam? ( sys-libs/pam )
72 pkcs11? (
73 >=dev-libs/openssl-0.9.7
74 >=dev-libs/pkcs11-helper-1.04
75 )
76 python? ( >=dev-lang/python-2.5 )
77 tpm? ( app-crypt/trousers )"
78 DEPEND="${RDEPEND}
79 >=dev-util/pkgconfig-0.9.0
80 python? ( dev-lang/swig )"
81
82 src_prepare() {
83 epatch "${FILESDIR}/${P}-fix_warnings.patch"
84 }
85
86 src_configure() {
87 econf \
88 --docdir="/usr/share/doc/${PF}" \
89 --with-pamdir=$(getpam_mod_dir) \
90 $(use_enable doc docs) \
91 $(use_enable gpg) \
92 $(use_enable gtk gui) \
93 $(use_enable nss) \
94 $(use_enable openssl) \
95 $(use_enable pam) \
96 $(use_enable pkcs11 pkcs11-helper) \
97 $(use_enable python pywrap) \
98 $(use_enable tpm tspi)
99 }
100
101 src_install(){
102 emake DESTDIR="${D}" install || die "emake install failed"
103 use suid && fperms u+s /sbin/mount.ecryptfs
104 }
105
106 pkg_postinst() {
107 if use suid; then
108 ewarn
109 ewarn "You have chosen to install ${PN} with the binary setuid root. This"
110 ewarn "means that if there are any undetected vulnerabilities in the binary,"
111 ewarn "then local users may be able to gain root access on your machine."
112 ewarn
113 fi
114 }