Gentoo Archives: gentoo-commits

From: Kristian Fiskerstrand <k_f@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/gnupg/
Date: Mon, 07 May 2018 19:55:13
Message-Id: 1525722902.795ef90ad612e8cbe4543524fbc38c67f4ea1cb1.k_f@gentoo
1 commit: 795ef90ad612e8cbe4543524fbc38c67f4ea1cb1
2 Author: Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 7 19:54:44 2018 +0000
4 Commit: Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org>
5 CommitDate: Mon May 7 19:55:02 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=795ef90a
7
8 app-crypt/gnupg: Cleanup old
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 app-crypt/gnupg/Manifest | 4 --
13 app-crypt/gnupg/gnupg-2.2.0.ebuild | 123 -------------------------------
14 app-crypt/gnupg/gnupg-2.2.1.ebuild | 129 ---------------------------------
15 app-crypt/gnupg/gnupg-2.2.3.ebuild | 129 ---------------------------------
16 app-crypt/gnupg/gnupg-2.2.4-r1.ebuild | 129 ---------------------------------
17 app-crypt/gnupg/gnupg-2.2.5-r1.ebuild | 131 ----------------------------------
18 6 files changed, 645 deletions(-)
19
20 diff --git a/app-crypt/gnupg/Manifest b/app-crypt/gnupg/Manifest
21 index a9ab2fc27a2..b23429653f4 100644
22 --- a/app-crypt/gnupg/Manifest
23 +++ b/app-crypt/gnupg/Manifest
24 @@ -1,10 +1,6 @@
25 DIST gnupg-1.4.21.tar.bz2 3689305 BLAKE2B 0c26c9c3aeae2bf2eafa858bc3bd15cc2702bce12a8a90938565322c34e2eeb8e5432932f5c9344a76aa4528b66051141536c062d9923a79d12a0767421bb017 SHA512 619e0fbc10310c7e55d129027e2945791fe91a0884b1d6f53acb4b2e380d1c6e71d1a516a59876182c5c70a4227d44a74ceda018c343b5291fa9a5d6de77c984
26 DIST gnupg-2.1.15.tar.bz2 5723689 BLAKE2B 48889c0a5445b5b76b027debd6a4711930694e7440b76c06a7da1db5e7989eeae791e4c7a29e60a9d0b862c167374016d908aaa54165a44268f072075cdd9690 SHA512 69c943e853e1a37e8b17b3bc34e1503f14bc8f189fa9f3ac6644bcc98ccce6eaef64da20ff9dd1c8de3a7789ea577167984ccf3ac286cac50752e6f7c2f42ab1
27 DIST gnupg-2.1.20.tar.bz2 6456128 BLAKE2B 009a8b8163701f5f5e269caea315a81f4c90c32ec19d501e9fd180bdd3a21454956549b433eb81e98c7a22c4c551eed666d9f3e59ea8e55ed2545ddf49334151 SHA512 14a9890bc64e143f87cff121dd298d490d78dbd34e36883e0f25763ff9064e5706a7632893d7c5d0e8e9b8cf9cdb0d378b4ce1715348729f0fc080455b61eca9
28 -DIST gnupg-2.2.0.tar.bz2 6532475 BLAKE2B 284ef4ce5ebb7e3d49ca3e73461b3f017eb07d23ee5cd9902ba1637be060246c0caf223fd2ba77d84ddf03e4b65964553b8adff9682d83e7d4f099ed99b841a7 SHA512 8ab7c4183d2ec2e6b62066e3cbcba95babaa0ae22da47feab716698792d26495f072d50e8ec612b8d26147636bb316320c78940184373b3f4cb6ec411933361b
29 -DIST gnupg-2.2.1.tar.bz2 6537959 BLAKE2B 4ec500110358a9e5c7d01157e3e9b29a6c7084266b59a9b412d76a793245e0dc5ab94c5cff34eec5169f6fa226ffe2005ccafc4ba3fedb6761e2c4a2d9fd3234 SHA512 fcda7ea360d9928bf9e410afe3806ee0692dd533443b0c0e050605a9e2e37ec16f3c60a30b30ab137155327bc1f5d2107f1e792582e3ad245b47bf39a1a61a8f
30 -DIST gnupg-2.2.3.tar.bz2 6547069 BLAKE2B a5ac44f696cce2ffbac72b80f0efcd19fe09934fe00d3fe90c0a5be5618b40b686fa9fe3e78a451e72835342afa75f4316b7ea34d3ff9fe602e621111876cc4b SHA512 c73df3c6f7ce65bd9867a39d10f93548496bf596ba0901737fc0063b370fd2d834c0b912e5aa07ff31067bc9c1263acc9d314c6bfaf7c889b72c8d46087810cb
31 DIST gnupg-2.2.4.tar.bz2 6571487 BLAKE2B ec678470e574fdc9f057cc727cbb902ce525f76adae740722731e318032707d0f72873628024c2070a72c21321f2b8da16153edeafcb4ddeba72de59ff5c73bd SHA512 3d5c93b7662433103e9549d066a6b1a0c09d595851fab712d2ee844a55157e952a8a2dd5deff70fa8dd6817481f81c3fe5135603bca03206857310d04c1067a8
32 -DIST gnupg-2.2.5.tar.bz2 6584756 BLAKE2B d19358caf65627243c37afbf348acb2ea91f785272f318aed9e95e097c34cf3b3b1a223919a86e3ff09c045cb0b56d8aed7c746ed1223dd6a6aa072d24c44bce SHA512 675d2acc2ba95d14b14f4c83364663d88c982332fb4c35a4cf32af19a6bd4453ad89905c80d45007adb50c01816247df84d1f525e94bb668b962a84815e49bf1
33 DIST gnupg-2.2.6.tar.bz2 6605028 BLAKE2B 2de6f8d32e551a8af5c41b7e6220a43645472b3b7f25b168a54343c4279f412d5d8f7a5142451504192259b3fe4a3e3242d12520dadc385f466dd701a803073a SHA512 ad0861c86c1886f701ae05e7cd439449cf0684a7bf461ca2b729c5e93833ee36f8438cd4d7f73a4c60e57060f3d8f4890a809b2bbc31b083f9f61d2f66ccacc4
34 DIST gnupg-2.2.7.tar.bz2 6631100 BLAKE2B 81a66a8f738fc2b42d923ccda7d6cbfffc8e938970c04fe02c0146202f2e97fa88d5263aee2f3051e141169f4f02f72ccc53ac831bb57d42740130e3122fa454 SHA512 f858b275876d38b9d3a60e5428574f1008a73a948f67a2fa43bcf1970a5dbb60ec3f0e2b2271243229465eb9b22124e216894f0b3d72004acf3ed0c3481da33d
35
36 diff --git a/app-crypt/gnupg/gnupg-2.2.0.ebuild b/app-crypt/gnupg/gnupg-2.2.0.ebuild
37 deleted file mode 100644
38 index d4d043c3d24..00000000000
39 --- a/app-crypt/gnupg/gnupg-2.2.0.ebuild
40 +++ /dev/null
41 @@ -1,123 +0,0 @@
42 -# Copyright 1999-2017 Gentoo Foundation
43 -# Distributed under the terms of the GNU General Public License v2
44 -
45 -EAPI="6"
46 -
47 -inherit systemd toolchain-funcs
48 -
49 -MY_P="${P/_/-}"
50 -
51 -DESCRIPTION="The GNU Privacy Guard, a GPL OpenPGP implementation"
52 -HOMEPAGE="http://www.gnupg.org/"
53 -SRC_URI="mirror://gnupg/gnupg/${MY_P}.tar.bz2"
54 -
55 -LICENSE="GPL-3"
56 -SLOT="0"
57 -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
58 -IUSE="bzip2 doc +gnutls ldap nls readline selinux +smartcard tofu tools usb wks-server"
59 -
60 -COMMON_DEPEND_LIBS="
61 - >=dev-libs/npth-1.2
62 - >=dev-libs/libassuan-2.4.3
63 - >=dev-libs/libgcrypt-1.7.3
64 - >=dev-libs/libgpg-error-1.24
65 - >=dev-libs/libksba-1.3.4
66 - >=net-misc/curl-7.10
67 - gnutls? ( >=net-libs/gnutls-3.0:0= )
68 - sys-libs/zlib
69 - ldap? ( net-nds/openldap )
70 - bzip2? ( app-arch/bzip2 )
71 - readline? ( sys-libs/readline:0= )
72 - smartcard? ( usb? ( virtual/libusb:0 ) )
73 - tofu? ( >=dev-db/sqlite-3.7 )
74 - "
75 -COMMON_DEPEND_BINS="app-crypt/pinentry
76 - !app-crypt/dirmngr"
77 -
78 -# Existence of executables is checked during configuration.
79 -DEPEND="${COMMON_DEPEND_LIBS}
80 - ${COMMON_DEPEND_BINS}
81 - nls? ( sys-devel/gettext )
82 - doc? ( sys-apps/texinfo )"
83 -
84 -RDEPEND="${COMMON_DEPEND_LIBS}
85 - ${COMMON_DEPEND_BINS}
86 - selinux? ( sec-policy/selinux-gpg )
87 - nls? ( virtual/libintl )"
88 -
89 -S="${WORKDIR}/${MY_P}"
90 -
91 -DOCS=(
92 - ChangeLog NEWS README THANKS TODO VERSION
93 - doc/FAQ doc/DETAILS doc/HACKING doc/TRANSLATE doc/OpenPGP doc/KEYSERVER
94 -)
95 -
96 -PATCHES=(
97 - "${FILESDIR}/${PN}-2.1.20-gpgscm-Use-shorter-socket-path-lengts-to-improve-tes.patch"
98 -)
99 -
100 -src_configure() {
101 - local myconf=()
102 -
103 - if use smartcard; then
104 - myconf+=(
105 - --enable-scdaemon
106 - $(use_enable usb ccid-driver)
107 - )
108 - else
109 - myconf+=( --disable-scdaemon )
110 - fi
111 -
112 - if use elibc_SunOS || use elibc_AIX; then
113 - myconf+=( --disable-symcryptrun )
114 - else
115 - myconf+=( --enable-symcryptrun )
116 - fi
117 -
118 - # glib fails and picks up clang's internal stdint.h causing weird errors
119 - [[ ${CC} == *clang ]] && \
120 - export gl_cv_absolute_stdint_h=/usr/include/stdint.h
121 -
122 - econf \
123 - "${myconf[@]}" \
124 - $(use_enable bzip2) \
125 - $(use_enable gnutls) \
126 - $(use_enable nls) \
127 - $(use_enable tofu) \
128 - $(use_enable wks-server wks-tools) \
129 - $(use_with ldap) \
130 - $(use_with readline) \
131 - --enable-gpg \
132 - --enable-gpgsm \
133 - --enable-large-secmem \
134 - --enable-all-tests \
135 - CC_FOR_BUILD="$(tc-getBUILD_CC)"
136 -}
137 -
138 -src_compile() {
139 - default
140 -
141 - use doc && emake -C doc html
142 -}
143 -
144 -src_install() {
145 - default
146 -
147 - use tools &&
148 - dobin \
149 - tools/{convert-from-106,gpg-check-pattern} \
150 - tools/{gpg-zip,gpgconf,gpgsplit,lspgpot,mail-signed-keys} \
151 - tools/make-dns-cert
152 -
153 - dosym gpg /usr/bin/gpg2
154 - dosym gpgv /usr/bin/gpgv2
155 - echo ".so man1/gpg.1" > "${ED}"/usr/share/man/man1/gpg2.1 || die
156 - echo ".so man1/gpgv.1" > "${ED}"/usr/share/man/man1/gpgv2.1 || die
157 -
158 - dodir /etc/env.d
159 - echo "CONFIG_PROTECT=/usr/share/gnupg/qualified.txt" >> "${ED}"/etc/env.d/30gnupg || die
160 -
161 - use doc && dodoc doc/gnupg.html/* doc/*.png
162 -
163 - systemd_douserunit doc/examples/systemd-user/*.{service,socket}
164 -}
165
166 diff --git a/app-crypt/gnupg/gnupg-2.2.1.ebuild b/app-crypt/gnupg/gnupg-2.2.1.ebuild
167 deleted file mode 100644
168 index 0cdc74c459b..00000000000
169 --- a/app-crypt/gnupg/gnupg-2.2.1.ebuild
170 +++ /dev/null
171 @@ -1,129 +0,0 @@
172 -# Copyright 1999-2017 Gentoo Foundation
173 -# Distributed under the terms of the GNU General Public License v2
174 -
175 -EAPI="6"
176 -
177 -inherit systemd toolchain-funcs
178 -
179 -MY_P="${P/_/-}"
180 -
181 -DESCRIPTION="The GNU Privacy Guard, a GPL OpenPGP implementation"
182 -HOMEPAGE="http://www.gnupg.org/"
183 -SRC_URI="mirror://gnupg/gnupg/${MY_P}.tar.bz2"
184 -
185 -LICENSE="GPL-3"
186 -SLOT="0"
187 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
188 -IUSE="bzip2 doc +gnutls ldap nls readline selinux +smartcard tofu tools usb wks-server"
189 -
190 -COMMON_DEPEND_LIBS="
191 - >=dev-libs/npth-1.2
192 - >=dev-libs/libassuan-2.4.3
193 - >=dev-libs/libgcrypt-1.7.3
194 - >=dev-libs/libgpg-error-1.24
195 - >=dev-libs/libksba-1.3.4
196 - >=net-misc/curl-7.10
197 - gnutls? ( >=net-libs/gnutls-3.0:0= )
198 - sys-libs/zlib
199 - ldap? ( net-nds/openldap )
200 - bzip2? ( app-arch/bzip2 )
201 - readline? ( sys-libs/readline:0= )
202 - smartcard? ( usb? ( virtual/libusb:0 ) )
203 - tofu? ( >=dev-db/sqlite-3.7 )
204 - "
205 -COMMON_DEPEND_BINS="app-crypt/pinentry
206 - !app-crypt/dirmngr"
207 -
208 -# Existence of executables is checked during configuration.
209 -DEPEND="${COMMON_DEPEND_LIBS}
210 - ${COMMON_DEPEND_BINS}
211 - nls? ( sys-devel/gettext )
212 - doc? ( sys-apps/texinfo )"
213 -
214 -RDEPEND="${COMMON_DEPEND_LIBS}
215 - ${COMMON_DEPEND_BINS}
216 - selinux? ( sec-policy/selinux-gpg )
217 - nls? ( virtual/libintl )"
218 -
219 -S="${WORKDIR}/${MY_P}"
220 -
221 -DOCS=(
222 - ChangeLog NEWS README THANKS TODO VERSION
223 - doc/FAQ doc/DETAILS doc/HACKING doc/TRANSLATE doc/OpenPGP doc/KEYSERVER
224 -)
225 -
226 -PATCHES=(
227 - "${FILESDIR}/${PN}-2.1.20-gpgscm-Use-shorter-socket-path-lengts-to-improve-tes.patch"
228 - "${FILESDIR}/${P}-fix-gnupg-wait.patch"
229 -)
230 -
231 -src_configure() {
232 - local myconf=()
233 -
234 - if use smartcard; then
235 - myconf+=(
236 - --enable-scdaemon
237 - $(use_enable usb ccid-driver)
238 - )
239 - else
240 - myconf+=( --disable-scdaemon )
241 - fi
242 -
243 - if use elibc_SunOS || use elibc_AIX; then
244 - myconf+=( --disable-symcryptrun )
245 - else
246 - myconf+=( --enable-symcryptrun )
247 - fi
248 -
249 - # glib fails and picks up clang's internal stdint.h causing weird errors
250 - [[ ${CC} == *clang ]] && \
251 - export gl_cv_absolute_stdint_h=/usr/include/stdint.h
252 -
253 - econf \
254 - "${myconf[@]}" \
255 - $(use_enable bzip2) \
256 - $(use_enable gnutls) \
257 - $(use_enable nls) \
258 - $(use_enable tofu) \
259 - $(use_enable wks-server wks-tools) \
260 - $(use_with ldap) \
261 - $(use_with readline) \
262 - --enable-gpg \
263 - --enable-gpgsm \
264 - --enable-large-secmem \
265 - --enable-all-tests \
266 - CC_FOR_BUILD="$(tc-getBUILD_CC)"
267 -}
268 -
269 -src_compile() {
270 - default
271 -
272 - use doc && emake -C doc html
273 -}
274 -
275 -src_test() {
276 - export TESTFLAGS=--parallel
277 - default
278 -}
279 -
280 -src_install() {
281 - default
282 -
283 - use tools &&
284 - dobin \
285 - tools/{convert-from-106,gpg-check-pattern} \
286 - tools/{gpg-zip,gpgconf,gpgsplit,lspgpot,mail-signed-keys} \
287 - tools/make-dns-cert
288 -
289 - dosym gpg /usr/bin/gpg2
290 - dosym gpgv /usr/bin/gpgv2
291 - echo ".so man1/gpg.1" > "${ED}"/usr/share/man/man1/gpg2.1 || die
292 - echo ".so man1/gpgv.1" > "${ED}"/usr/share/man/man1/gpgv2.1 || die
293 -
294 - dodir /etc/env.d
295 - echo "CONFIG_PROTECT=/usr/share/gnupg/qualified.txt" >> "${ED}"/etc/env.d/30gnupg || die
296 -
297 - use doc && dodoc doc/gnupg.html/* doc/*.png
298 -
299 - systemd_douserunit doc/examples/systemd-user/*.{service,socket}
300 -}
301
302 diff --git a/app-crypt/gnupg/gnupg-2.2.3.ebuild b/app-crypt/gnupg/gnupg-2.2.3.ebuild
303 deleted file mode 100644
304 index feedaac04f3..00000000000
305 --- a/app-crypt/gnupg/gnupg-2.2.3.ebuild
306 +++ /dev/null
307 @@ -1,129 +0,0 @@
308 -# Copyright 1999-2017 Gentoo Foundation
309 -# Distributed under the terms of the GNU General Public License v2
310 -
311 -EAPI="6"
312 -
313 -inherit systemd toolchain-funcs
314 -
315 -MY_P="${P/_/-}"
316 -
317 -DESCRIPTION="The GNU Privacy Guard, a GPL OpenPGP implementation"
318 -HOMEPAGE="http://www.gnupg.org/"
319 -SRC_URI="mirror://gnupg/gnupg/${MY_P}.tar.bz2"
320 -
321 -LICENSE="GPL-3"
322 -SLOT="0"
323 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
324 -IUSE="bzip2 doc +gnutls ldap nls readline selinux +smartcard tofu tools usb wks-server"
325 -
326 -COMMON_DEPEND_LIBS="
327 - >=dev-libs/npth-1.2
328 - >=dev-libs/libassuan-2.4.3
329 - >=dev-libs/libgcrypt-1.7.3
330 - >=dev-libs/libgpg-error-1.24
331 - >=dev-libs/libksba-1.3.4
332 - >=net-misc/curl-7.10
333 - gnutls? ( >=net-libs/gnutls-3.0:0= )
334 - sys-libs/zlib
335 - ldap? ( net-nds/openldap )
336 - bzip2? ( app-arch/bzip2 )
337 - readline? ( sys-libs/readline:0= )
338 - smartcard? ( usb? ( virtual/libusb:0 ) )
339 - tofu? ( >=dev-db/sqlite-3.7 )
340 - "
341 -COMMON_DEPEND_BINS="app-crypt/pinentry
342 - !app-crypt/dirmngr"
343 -
344 -# Existence of executables is checked during configuration.
345 -DEPEND="${COMMON_DEPEND_LIBS}
346 - ${COMMON_DEPEND_BINS}
347 - nls? ( sys-devel/gettext )
348 - doc? ( sys-apps/texinfo )"
349 -
350 -RDEPEND="${COMMON_DEPEND_LIBS}
351 - ${COMMON_DEPEND_BINS}
352 - selinux? ( sec-policy/selinux-gpg )
353 - nls? ( virtual/libintl )"
354 -
355 -S="${WORKDIR}/${MY_P}"
356 -
357 -DOCS=(
358 - ChangeLog NEWS README THANKS TODO VERSION
359 - doc/FAQ doc/DETAILS doc/HACKING doc/TRANSLATE doc/OpenPGP doc/KEYSERVER
360 -)
361 -
362 -PATCHES=(
363 - "${FILESDIR}/${PN}-2.1.20-gpgscm-Use-shorter-socket-path-lengts-to-improve-tes.patch"
364 -)
365 -
366 -src_configure() {
367 - local myconf=()
368 -
369 - if use smartcard; then
370 - myconf+=(
371 - --enable-scdaemon
372 - $(use_enable usb ccid-driver)
373 - )
374 - else
375 - myconf+=( --disable-scdaemon )
376 - fi
377 -
378 - if use elibc_SunOS || use elibc_AIX; then
379 - myconf+=( --disable-symcryptrun )
380 - else
381 - myconf+=( --enable-symcryptrun )
382 - fi
383 -
384 - # glib fails and picks up clang's internal stdint.h causing weird errors
385 - [[ ${CC} == *clang ]] && \
386 - export gl_cv_absolute_stdint_h=/usr/include/stdint.h
387 -
388 - econf \
389 - "${myconf[@]}" \
390 - $(use_enable bzip2) \
391 - $(use_enable gnutls) \
392 - $(use_enable nls) \
393 - $(use_enable tofu) \
394 - $(use_enable wks-server wks-tools) \
395 - $(use_with ldap) \
396 - $(use_with readline) \
397 - --enable-gpg \
398 - --enable-gpgsm \
399 - --enable-large-secmem \
400 - --enable-all-tests \
401 - CC_FOR_BUILD="$(tc-getBUILD_CC)"
402 -}
403 -
404 -src_compile() {
405 - default
406 -
407 - use doc && emake -C doc html
408 -}
409 -
410 -src_test() {
411 - #Bug: 638574
412 - use tofu && export TESTFLAGS=--parallel
413 - default
414 -}
415 -
416 -src_install() {
417 - default
418 -
419 - use tools &&
420 - dobin \
421 - tools/{convert-from-106,gpg-check-pattern} \
422 - tools/{gpg-zip,gpgconf,gpgsplit,lspgpot,mail-signed-keys} \
423 - tools/make-dns-cert
424 -
425 - dosym gpg /usr/bin/gpg2
426 - dosym gpgv /usr/bin/gpgv2
427 - echo ".so man1/gpg.1" > "${ED}"/usr/share/man/man1/gpg2.1 || die
428 - echo ".so man1/gpgv.1" > "${ED}"/usr/share/man/man1/gpgv2.1 || die
429 -
430 - dodir /etc/env.d
431 - echo "CONFIG_PROTECT=/usr/share/gnupg/qualified.txt" >> "${ED}"/etc/env.d/30gnupg || die
432 -
433 - use doc && dodoc doc/gnupg.html/* doc/*.png
434 -
435 - systemd_douserunit doc/examples/systemd-user/*.{service,socket}
436 -}
437
438 diff --git a/app-crypt/gnupg/gnupg-2.2.4-r1.ebuild b/app-crypt/gnupg/gnupg-2.2.4-r1.ebuild
439 deleted file mode 100644
440 index 90eea8ab852..00000000000
441 --- a/app-crypt/gnupg/gnupg-2.2.4-r1.ebuild
442 +++ /dev/null
443 @@ -1,129 +0,0 @@
444 -# Copyright 1999-2018 Gentoo Foundation
445 -# Distributed under the terms of the GNU General Public License v2
446 -
447 -EAPI="6"
448 -
449 -inherit systemd toolchain-funcs
450 -
451 -MY_P="${P/_/-}"
452 -
453 -DESCRIPTION="The GNU Privacy Guard, a GPL OpenPGP implementation"
454 -HOMEPAGE="http://www.gnupg.org/"
455 -SRC_URI="mirror://gnupg/gnupg/${MY_P}.tar.bz2"
456 -
457 -LICENSE="GPL-3"
458 -SLOT="0"
459 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
460 -IUSE="bzip2 doc ldap nls readline selinux +smartcard ssl tofu tools usb wks-server"
461 -
462 -COMMON_DEPEND_LIBS="
463 - >=dev-libs/npth-1.2
464 - >=dev-libs/libassuan-2.5.0
465 - >=dev-libs/libgcrypt-1.7.3
466 - >=dev-libs/libgpg-error-1.24
467 - >=dev-libs/libksba-1.3.4
468 - >=net-misc/curl-7.10
469 - ssl? ( >=net-libs/gnutls-3.0:0= )
470 - sys-libs/zlib
471 - ldap? ( net-nds/openldap )
472 - bzip2? ( app-arch/bzip2 )
473 - readline? ( sys-libs/readline:0= )
474 - smartcard? ( usb? ( virtual/libusb:0 ) )
475 - tofu? ( >=dev-db/sqlite-3.7 )
476 - "
477 -COMMON_DEPEND_BINS="app-crypt/pinentry
478 - !app-crypt/dirmngr"
479 -
480 -# Existence of executables is checked during configuration.
481 -DEPEND="${COMMON_DEPEND_LIBS}
482 - ${COMMON_DEPEND_BINS}
483 - nls? ( sys-devel/gettext )
484 - doc? ( sys-apps/texinfo )"
485 -
486 -RDEPEND="${COMMON_DEPEND_LIBS}
487 - ${COMMON_DEPEND_BINS}
488 - selinux? ( sec-policy/selinux-gpg )
489 - nls? ( virtual/libintl )"
490 -
491 -S="${WORKDIR}/${MY_P}"
492 -
493 -DOCS=(
494 - ChangeLog NEWS README THANKS TODO VERSION
495 - doc/FAQ doc/DETAILS doc/HACKING doc/TRANSLATE doc/OpenPGP doc/KEYSERVER
496 -)
497 -
498 -PATCHES=(
499 - "${FILESDIR}/${PN}-2.1.20-gpgscm-Use-shorter-socket-path-lengts-to-improve-tes.patch"
500 -)
501 -
502 -src_configure() {
503 - local myconf=()
504 -
505 - if use smartcard; then
506 - myconf+=(
507 - --enable-scdaemon
508 - $(use_enable usb ccid-driver)
509 - )
510 - else
511 - myconf+=( --disable-scdaemon )
512 - fi
513 -
514 - if use elibc_SunOS || use elibc_AIX; then
515 - myconf+=( --disable-symcryptrun )
516 - else
517 - myconf+=( --enable-symcryptrun )
518 - fi
519 -
520 - # glib fails and picks up clang's internal stdint.h causing weird errors
521 - [[ ${CC} == *clang ]] && \
522 - export gl_cv_absolute_stdint_h=/usr/include/stdint.h
523 -
524 - econf \
525 - "${myconf[@]}" \
526 - $(use_enable bzip2) \
527 - $(use_enable ssl gnutls) \
528 - $(use_enable nls) \
529 - $(use_enable tofu) \
530 - $(use_enable wks-server wks-tools) \
531 - $(use_with ldap) \
532 - $(use_with readline) \
533 - --enable-gpg \
534 - --enable-gpgsm \
535 - --enable-large-secmem \
536 - --enable-all-tests \
537 - CC_FOR_BUILD="$(tc-getBUILD_CC)"
538 -}
539 -
540 -src_compile() {
541 - default
542 -
543 - use doc && emake -C doc html
544 -}
545 -
546 -src_test() {
547 - #Bug: 638574
548 - use tofu && export TESTFLAGS=--parallel
549 - default
550 -}
551 -
552 -src_install() {
553 - default
554 -
555 - use tools &&
556 - dobin \
557 - tools/{convert-from-106,gpg-check-pattern} \
558 - tools/{gpg-zip,gpgconf,gpgsplit,lspgpot,mail-signed-keys} \
559 - tools/make-dns-cert
560 -
561 - dosym gpg /usr/bin/gpg2
562 - dosym gpgv /usr/bin/gpgv2
563 - echo ".so man1/gpg.1" > "${ED}"/usr/share/man/man1/gpg2.1 || die
564 - echo ".so man1/gpgv.1" > "${ED}"/usr/share/man/man1/gpgv2.1 || die
565 -
566 - dodir /etc/env.d
567 - echo "CONFIG_PROTECT=/usr/share/gnupg/qualified.txt" >> "${ED}"/etc/env.d/30gnupg || die
568 -
569 - use doc && dodoc doc/gnupg.html/* doc/*.png
570 -
571 - systemd_douserunit doc/examples/systemd-user/*.{service,socket}
572 -}
573
574 diff --git a/app-crypt/gnupg/gnupg-2.2.5-r1.ebuild b/app-crypt/gnupg/gnupg-2.2.5-r1.ebuild
575 deleted file mode 100644
576 index 8adf8b70a79..00000000000
577 --- a/app-crypt/gnupg/gnupg-2.2.5-r1.ebuild
578 +++ /dev/null
579 @@ -1,131 +0,0 @@
580 -# Copyright 1999-2018 Gentoo Foundation
581 -# Distributed under the terms of the GNU General Public License v2
582 -
583 -EAPI="6"
584 -
585 -inherit systemd toolchain-funcs
586 -
587 -MY_P="${P/_/-}"
588 -
589 -DESCRIPTION="The GNU Privacy Guard, a GPL OpenPGP implementation"
590 -HOMEPAGE="http://www.gnupg.org/"
591 -SRC_URI="mirror://gnupg/gnupg/${MY_P}.tar.bz2"
592 -
593 -LICENSE="GPL-3"
594 -SLOT="0"
595 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
596 -IUSE="bzip2 doc ldap nls readline selinux +smartcard ssl tofu tools usb wks-server"
597 -
598 -COMMON_DEPEND_LIBS="
599 - >=dev-libs/npth-1.2
600 - >=dev-libs/libassuan-2.5.0
601 - >=dev-libs/libgcrypt-1.7.3
602 - >=dev-libs/libgpg-error-1.24
603 - >=dev-libs/libksba-1.3.4
604 - >=net-misc/curl-7.10
605 - ssl? ( >=net-libs/gnutls-3.0:0= )
606 - sys-libs/zlib
607 - ldap? ( net-nds/openldap )
608 - bzip2? ( app-arch/bzip2 )
609 - readline? ( sys-libs/readline:0= )
610 - smartcard? ( usb? ( virtual/libusb:0 ) )
611 - tofu? ( >=dev-db/sqlite-3.7 )
612 - virtual/mta
613 - "
614 -COMMON_DEPEND_BINS="app-crypt/pinentry
615 - !app-crypt/dirmngr"
616 -
617 -# Existence of executables is checked during configuration.
618 -DEPEND="${COMMON_DEPEND_LIBS}
619 - ${COMMON_DEPEND_BINS}
620 - nls? ( sys-devel/gettext )
621 - doc? ( sys-apps/texinfo )"
622 -
623 -RDEPEND="${COMMON_DEPEND_LIBS}
624 - ${COMMON_DEPEND_BINS}
625 - selinux? ( sec-policy/selinux-gpg )
626 - nls? ( virtual/libintl )"
627 -
628 -S="${WORKDIR}/${MY_P}"
629 -
630 -DOCS=(
631 - ChangeLog NEWS README THANKS TODO VERSION
632 - doc/FAQ doc/DETAILS doc/HACKING doc/TRANSLATE doc/OpenPGP doc/KEYSERVER
633 -)
634 -
635 -PATCHES=(
636 - "${FILESDIR}/${PN}-2.1.20-gpgscm-Use-shorter-socket-path-lengts-to-improve-tes.patch"
637 - "${FILESDIR}/${PN}-2.2.4-dirmngr-Handle-failures-related-to-missing-IPv6.patch"
638 -)
639 -
640 -src_configure() {
641 - local myconf=()
642 -
643 - if use smartcard; then
644 - myconf+=(
645 - --enable-scdaemon
646 - $(use_enable usb ccid-driver)
647 - )
648 - else
649 - myconf+=( --disable-scdaemon )
650 - fi
651 -
652 - if use elibc_SunOS || use elibc_AIX; then
653 - myconf+=( --disable-symcryptrun )
654 - else
655 - myconf+=( --enable-symcryptrun )
656 - fi
657 -
658 - # glib fails and picks up clang's internal stdint.h causing weird errors
659 - [[ ${CC} == *clang ]] && \
660 - export gl_cv_absolute_stdint_h=/usr/include/stdint.h
661 -
662 - econf \
663 - "${myconf[@]}" \
664 - $(use_enable bzip2) \
665 - $(use_enable ssl gnutls) \
666 - $(use_enable nls) \
667 - $(use_enable tofu) \
668 - $(use_enable wks-server wks-tools) \
669 - $(use_with ldap) \
670 - $(use_with readline) \
671 - --enable-gpg \
672 - --enable-gpgsm \
673 - --enable-large-secmem \
674 - --enable-all-tests \
675 - CC_FOR_BUILD="$(tc-getBUILD_CC)"
676 -}
677 -
678 -src_compile() {
679 - default
680 -
681 - use doc && emake -C doc html
682 -}
683 -
684 -src_test() {
685 - #Bug: 638574
686 - use tofu && export TESTFLAGS=--parallel
687 - default
688 -}
689 -
690 -src_install() {
691 - default
692 -
693 - use tools &&
694 - dobin \
695 - tools/{convert-from-106,gpg-check-pattern} \
696 - tools/{gpg-zip,gpgconf,gpgsplit,lspgpot,mail-signed-keys} \
697 - tools/make-dns-cert
698 -
699 - dosym gpg /usr/bin/gpg2
700 - dosym gpgv /usr/bin/gpgv2
701 - echo ".so man1/gpg.1" > "${ED}"/usr/share/man/man1/gpg2.1 || die
702 - echo ".so man1/gpgv.1" > "${ED}"/usr/share/man/man1/gpgv2.1 || die
703 -
704 - dodir /etc/env.d
705 - echo "CONFIG_PROTECT=/usr/share/gnupg/qualified.txt" >> "${ED}"/etc/env.d/30gnupg || die
706 -
707 - use doc && dodoc doc/gnupg.html/* doc/*.png
708 -
709 - systemd_douserunit doc/examples/systemd-user/*.{service,socket}
710 -}