1 |
commit: 0e2cee62bac2765e792060042b835ab94b99d2a9 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 17 01:08:06 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 17 01:08:06 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e2cee62 |
7 |
|
8 |
sys-fs/ecryptfs-utils: cleanup old Python 2.7 version |
9 |
|
10 |
Closes: https://bugs.gentoo.org/735486 |
11 |
Package-Manager: Portage-3.0.2, Repoman-2.3.23 |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
.../ecryptfs-utils-111_p20170609.ebuild | 94 ---------------------- |
15 |
1 file changed, 94 deletions(-) |
16 |
|
17 |
diff --git a/sys-fs/ecryptfs-utils/ecryptfs-utils-111_p20170609.ebuild b/sys-fs/ecryptfs-utils/ecryptfs-utils-111_p20170609.ebuild |
18 |
deleted file mode 100644 |
19 |
index a5704e9bce6..00000000000 |
20 |
--- a/sys-fs/ecryptfs-utils/ecryptfs-utils-111_p20170609.ebuild |
21 |
+++ /dev/null |
22 |
@@ -1,94 +0,0 @@ |
23 |
-# Copyright 1999-2020 Gentoo Authors |
24 |
-# Distributed under the terms of the GNU General Public License v2 |
25 |
- |
26 |
-EAPI="6" |
27 |
- |
28 |
-PYTHON_COMPAT=( python2_7 ) |
29 |
- |
30 |
-inherit flag-o-matic pam python-single-r1 linux-info autotools |
31 |
- |
32 |
-DESCRIPTION="eCryptfs userspace utilities" |
33 |
-HOMEPAGE="https://launchpad.net/ecryptfs" |
34 |
-SRC_URI="https://dev.gentoo.org/~bkohler/dist/${P}.tar.gz" |
35 |
- |
36 |
-LICENSE="GPL-2" |
37 |
-SLOT="0" |
38 |
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" |
39 |
-IUSE="doc gpg gtk nls openssl pam pkcs11 python suid tpm" |
40 |
- |
41 |
-RDEPEND=">=sys-apps/keyutils-1.5.11-r1:= |
42 |
- >=dev-libs/libgcrypt-1.2.0:0 |
43 |
- dev-libs/nss |
44 |
- gpg? ( app-crypt/gpgme ) |
45 |
- gtk? ( x11-libs/gtk+:2 ) |
46 |
- openssl? ( >=dev-libs/openssl-0.9.7:= ) |
47 |
- pam? ( sys-libs/pam ) |
48 |
- pkcs11? ( |
49 |
- >=dev-libs/openssl-0.9.7:= |
50 |
- >=dev-libs/pkcs11-helper-1.04 |
51 |
- ) |
52 |
- python? ( ${PYTHON_DEPS} ) |
53 |
- tpm? ( app-crypt/trousers )" |
54 |
-DEPEND="${RDEPEND} |
55 |
- virtual/pkgconfig |
56 |
- sys-devel/gettext |
57 |
- >=dev-util/intltool-0.41.0 |
58 |
- python? ( dev-lang/swig )" |
59 |
- |
60 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
61 |
- |
62 |
-pkg_setup() { |
63 |
- use python && python-single-r1_pkg_setup |
64 |
- |
65 |
- CONFIG_CHECK="~ECRYPT_FS" |
66 |
- linux-info_pkg_setup |
67 |
-} |
68 |
- |
69 |
-src_unpack() { |
70 |
- mkdir -p "${S}" || die |
71 |
- tar -xf "${DISTDIR}/${P}.tar.gz" --strip-components=3 -C "${S}" |
72 |
-} |
73 |
- |
74 |
-src_prepare() { |
75 |
- default |
76 |
- eautoreconf |
77 |
-} |
78 |
- |
79 |
-src_configure() { |
80 |
- append-cppflags -D_FILE_OFFSET_BITS=64 |
81 |
- |
82 |
- econf \ |
83 |
- --enable-nss \ |
84 |
- --with-pamdir=$(getpam_mod_dir) \ |
85 |
- $(use_enable doc docs) \ |
86 |
- $(use_enable gpg) \ |
87 |
- $(use_enable gtk gui) \ |
88 |
- $(use_enable nls) \ |
89 |
- $(use_enable openssl) \ |
90 |
- $(use_enable pam) \ |
91 |
- $(use_enable pkcs11 pkcs11-helper) \ |
92 |
- $(use_enable python pywrap) \ |
93 |
- $(use_enable tpm tspi) |
94 |
-} |
95 |
- |
96 |
-src_install() { |
97 |
- emake DESTDIR="${D}" install |
98 |
- |
99 |
- if use python; then |
100 |
- echo "ecryptfs-utils" > "${D}$(python_get_sitedir)/ecryptfs-utils.pth" || die |
101 |
- fi |
102 |
- |
103 |
- use suid && fperms u+s /sbin/mount.ecryptfs_private |
104 |
- |
105 |
- find "${ED}" -name '*.la' -exec rm -f '{}' + || die |
106 |
-} |
107 |
- |
108 |
-pkg_postinst() { |
109 |
- if use suid; then |
110 |
- ewarn |
111 |
- ewarn "You have chosen to install ${PN} with the binary setuid root. This" |
112 |
- ewarn "means that if there are any undetected vulnerabilities in the binary," |
113 |
- ewarn "then local users may be able to gain root access on your machine." |
114 |
- ewarn |
115 |
- fi |
116 |
-} |