Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/ecryptfs-utils/
Date: Sat, 07 Sep 2019 17:42:21
Message-Id: 1567878123.a6b60ef6ebc6266a5773912c17ea0133c2682a51.mattst88@gentoo
1 commit: a6b60ef6ebc6266a5773912c17ea0133c2682a51
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 7 17:41:55 2019 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 7 17:42:03 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6b60ef6
7
8 sys-fs/ecryptfs-utils: Drop old versions
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 sys-fs/ecryptfs-utils/ecryptfs-utils-108-r1.ebuild | 82 ---------------------
13 sys-fs/ecryptfs-utils/ecryptfs-utils-108-r2.ebuild | 84 ----------------------
14 2 files changed, 166 deletions(-)
15
16 diff --git a/sys-fs/ecryptfs-utils/ecryptfs-utils-108-r1.ebuild b/sys-fs/ecryptfs-utils/ecryptfs-utils-108-r1.ebuild
17 deleted file mode 100644
18 index 0cd09f5f26e..00000000000
19 --- a/sys-fs/ecryptfs-utils/ecryptfs-utils-108-r1.ebuild
20 +++ /dev/null
21 @@ -1,82 +0,0 @@
22 -# Copyright 1999-2017 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=6
26 -PYTHON_COMPAT=( python2_7 )
27 -
28 -inherit flag-o-matic pam python-single-r1 linux-info autotools
29 -
30 -DESCRIPTION="eCryptfs userspace utilities"
31 -HOMEPAGE="https://launchpad.net/ecryptfs"
32 -SRC_URI="https://launchpad.net/ecryptfs/trunk/${PV}/+download/${PN}_${PV}.orig.tar.gz"
33 -
34 -LICENSE="GPL-2"
35 -SLOT="0"
36 -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
37 -IUSE="doc gpg gtk openssl pam pkcs11 python suid tpm"
38 -
39 -RDEPEND=">=sys-apps/keyutils-1.0
40 - >=dev-libs/libgcrypt-1.2.0:0
41 - dev-libs/nss
42 - gpg? ( app-crypt/gpgme )
43 - gtk? ( x11-libs/gtk+:2 )
44 - openssl? ( >=dev-libs/openssl-0.9.7 )
45 - pam? ( sys-libs/pam )
46 - pkcs11? (
47 - >=dev-libs/openssl-0.9.7
48 - >=dev-libs/pkcs11-helper-1.04
49 - )
50 - python? ( ${PYTHON_DEPS} )
51 - tpm? ( app-crypt/trousers )"
52 -DEPEND="${RDEPEND}
53 - virtual/pkgconfig
54 - sys-devel/gettext
55 - >=dev-util/intltool-0.41.0
56 - python? ( dev-lang/swig )"
57 -
58 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
59 -
60 -pkg_setup() {
61 - use python && python-single-r1_pkg_setup
62 -
63 - CONFIG_CHECK="~ECRYPT_FS"
64 - linux-info_pkg_setup
65 -}
66 -
67 -src_configure() {
68 - append-cppflags -D_FILE_OFFSET_BITS=64
69 -
70 - econf \
71 - --enable-nss \
72 - --with-pamdir=$(getpam_mod_dir) \
73 - $(use_enable doc docs) \
74 - $(use_enable gpg) \
75 - $(use_enable gtk gui) \
76 - $(use_enable openssl) \
77 - $(use_enable pam) \
78 - $(use_enable pkcs11 pkcs11-helper) \
79 - $(use_enable python pywrap) \
80 - $(use_enable tpm tspi)
81 -}
82 -
83 -src_install(){
84 - emake DESTDIR="${D}" install
85 -
86 - if use python; then
87 - echo "ecryptfs-utils" > "${D}$(python_get_sitedir)/ecryptfs-utils.pth" || die
88 - fi
89 -
90 - use suid && fperms u+s /sbin/mount.ecryptfs_private
91 -
92 - find "${ED}" -name '*.la' -exec rm -f '{}' + || die
93 -}
94 -
95 -pkg_postinst() {
96 - if use suid; then
97 - ewarn
98 - ewarn "You have chosen to install ${PN} with the binary setuid root. This"
99 - ewarn "means that if there are any undetected vulnerabilities in the binary,"
100 - ewarn "then local users may be able to gain root access on your machine."
101 - ewarn
102 - fi
103 -}
104
105 diff --git a/sys-fs/ecryptfs-utils/ecryptfs-utils-108-r2.ebuild b/sys-fs/ecryptfs-utils/ecryptfs-utils-108-r2.ebuild
106 deleted file mode 100644
107 index 8ffcfa24ccc..00000000000
108 --- a/sys-fs/ecryptfs-utils/ecryptfs-utils-108-r2.ebuild
109 +++ /dev/null
110 @@ -1,84 +0,0 @@
111 -# Copyright 1999-2018 Gentoo Foundation
112 -# Distributed under the terms of the GNU General Public License v2
113 -
114 -EAPI="6"
115 -
116 -PYTHON_COMPAT=( python2_7 )
117 -
118 -inherit flag-o-matic pam python-single-r1 linux-info autotools
119 -
120 -DESCRIPTION="eCryptfs userspace utilities"
121 -HOMEPAGE="https://launchpad.net/ecryptfs"
122 -SRC_URI="https://launchpad.net/ecryptfs/trunk/${PV}/+download/${PN}_${PV}.orig.tar.gz"
123 -
124 -LICENSE="GPL-2"
125 -SLOT="0"
126 -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
127 -IUSE="doc gpg gtk nls openssl pam pkcs11 python suid tpm"
128 -
129 -RDEPEND=">=sys-apps/keyutils-1.0
130 - >=dev-libs/libgcrypt-1.2.0:0
131 - dev-libs/nss
132 - gpg? ( app-crypt/gpgme )
133 - gtk? ( x11-libs/gtk+:2 )
134 - openssl? ( >=dev-libs/openssl-0.9.7:= )
135 - pam? ( sys-libs/pam )
136 - pkcs11? (
137 - >=dev-libs/openssl-0.9.7:=
138 - >=dev-libs/pkcs11-helper-1.04
139 - )
140 - python? ( ${PYTHON_DEPS} )
141 - tpm? ( app-crypt/trousers )"
142 -DEPEND="${RDEPEND}
143 - virtual/pkgconfig
144 - sys-devel/gettext
145 - >=dev-util/intltool-0.41.0
146 - python? ( dev-lang/swig )"
147 -
148 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
149 -
150 -pkg_setup() {
151 - use python && python-single-r1_pkg_setup
152 -
153 - CONFIG_CHECK="~ECRYPT_FS"
154 - linux-info_pkg_setup
155 -}
156 -
157 -src_configure() {
158 - append-cppflags -D_FILE_OFFSET_BITS=64
159 -
160 - econf \
161 - --enable-nss \
162 - --with-pamdir=$(getpam_mod_dir) \
163 - $(use_enable doc docs) \
164 - $(use_enable gpg) \
165 - $(use_enable gtk gui) \
166 - $(use_enable nls) \
167 - $(use_enable openssl) \
168 - $(use_enable pam) \
169 - $(use_enable pkcs11 pkcs11-helper) \
170 - $(use_enable python pywrap) \
171 - $(use_enable tpm tspi)
172 -}
173 -
174 -src_install(){
175 - emake DESTDIR="${D}" install
176 -
177 - if use python; then
178 - echo "ecryptfs-utils" > "${D}$(python_get_sitedir)/ecryptfs-utils.pth" || die
179 - fi
180 -
181 - use suid && fperms u+s /sbin/mount.ecryptfs_private
182 -
183 - find "${ED}" -name '*.la' -exec rm -f '{}' + || die
184 -}
185 -
186 -pkg_postinst() {
187 - if use suid; then
188 - ewarn
189 - ewarn "You have chosen to install ${PN} with the binary setuid root. This"
190 - ewarn "means that if there are any undetected vulnerabilities in the binary,"
191 - ewarn "then local users may be able to gain root access on your machine."
192 - ewarn
193 - fi
194 -}