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: Sun, 08 Jul 2018 11:22:45
Message-Id: 1531048906.abc2f318ed4a24ca6154f0ecc3cc9a23c4646f4b.k_f@gentoo
1 commit: abc2f318ed4a24ca6154f0ecc3cc9a23c4646f4b
2 Author: Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 8 11:21:46 2018 +0000
4 Commit: Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 8 11:21:46 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abc2f318
7
8 app-crypt/gnupg: Cleanup old
9
10 Bug: https://bugs.gentoo.org/657596
11 Package-Manager: Portage-2.3.40, Repoman-2.3.9
12
13 app-crypt/gnupg/Manifest | 5 --
14 app-crypt/gnupg/gnupg-2.1.15.ebuild | 157 ---------------------------------
15 app-crypt/gnupg/gnupg-2.1.20-r1.ebuild | 122 -------------------------
16 app-crypt/gnupg/gnupg-2.2.4-r2.ebuild | 130 ---------------------------
17 app-crypt/gnupg/gnupg-2.2.4.ebuild | 129 ---------------------------
18 app-crypt/gnupg/gnupg-2.2.6.ebuild | 130 ---------------------------
19 app-crypt/gnupg/gnupg-2.2.7.ebuild | 130 ---------------------------
20 7 files changed, 803 deletions(-)
21
22 diff --git a/app-crypt/gnupg/Manifest b/app-crypt/gnupg/Manifest
23 index 09cac3e546d..04bb4fb39ce 100644
24 --- a/app-crypt/gnupg/Manifest
25 +++ b/app-crypt/gnupg/Manifest
26 @@ -1,7 +1,2 @@
27 DIST gnupg-1.4.21.tar.bz2 3689305 BLAKE2B 0c26c9c3aeae2bf2eafa858bc3bd15cc2702bce12a8a90938565322c34e2eeb8e5432932f5c9344a76aa4528b66051141536c062d9923a79d12a0767421bb017 SHA512 619e0fbc10310c7e55d129027e2945791fe91a0884b1d6f53acb4b2e380d1c6e71d1a516a59876182c5c70a4227d44a74ceda018c343b5291fa9a5d6de77c984
28 -DIST gnupg-2.1.15.tar.bz2 5723689 BLAKE2B 48889c0a5445b5b76b027debd6a4711930694e7440b76c06a7da1db5e7989eeae791e4c7a29e60a9d0b862c167374016d908aaa54165a44268f072075cdd9690 SHA512 69c943e853e1a37e8b17b3bc34e1503f14bc8f189fa9f3ac6644bcc98ccce6eaef64da20ff9dd1c8de3a7789ea577167984ccf3ac286cac50752e6f7c2f42ab1
29 -DIST gnupg-2.1.20.tar.bz2 6456128 BLAKE2B 009a8b8163701f5f5e269caea315a81f4c90c32ec19d501e9fd180bdd3a21454956549b433eb81e98c7a22c4c551eed666d9f3e59ea8e55ed2545ddf49334151 SHA512 14a9890bc64e143f87cff121dd298d490d78dbd34e36883e0f25763ff9064e5706a7632893d7c5d0e8e9b8cf9cdb0d378b4ce1715348729f0fc080455b61eca9
30 -DIST gnupg-2.2.4.tar.bz2 6571487 BLAKE2B ec678470e574fdc9f057cc727cbb902ce525f76adae740722731e318032707d0f72873628024c2070a72c21321f2b8da16153edeafcb4ddeba72de59ff5c73bd SHA512 3d5c93b7662433103e9549d066a6b1a0c09d595851fab712d2ee844a55157e952a8a2dd5deff70fa8dd6817481f81c3fe5135603bca03206857310d04c1067a8
31 -DIST gnupg-2.2.6.tar.bz2 6605028 BLAKE2B 2de6f8d32e551a8af5c41b7e6220a43645472b3b7f25b168a54343c4279f412d5d8f7a5142451504192259b3fe4a3e3242d12520dadc385f466dd701a803073a SHA512 ad0861c86c1886f701ae05e7cd439449cf0684a7bf461ca2b729c5e93833ee36f8438cd4d7f73a4c60e57060f3d8f4890a809b2bbc31b083f9f61d2f66ccacc4
32 -DIST gnupg-2.2.7.tar.bz2 6631100 BLAKE2B 81a66a8f738fc2b42d923ccda7d6cbfffc8e938970c04fe02c0146202f2e97fa88d5263aee2f3051e141169f4f02f72ccc53ac831bb57d42740130e3122fa454 SHA512 f858b275876d38b9d3a60e5428574f1008a73a948f67a2fa43bcf1970a5dbb60ec3f0e2b2271243229465eb9b22124e216894f0b3d72004acf3ed0c3481da33d
33 DIST gnupg-2.2.8.tar.bz2 6632465 BLAKE2B e13bdfb2b17f87dd2122da5a489318bfcefec26c0fbb65dc6a36034314985bbd405cb22cfaf9bffa4c7928657cbc63d363f16b77d00bf86737b73c73ffbce4f2 SHA512 24271ec2663b941ed5e72e2179b48ac73d5cd838292aa9d4954952b11713f4b466f30e6af632b22c9e7c284350e300a07046d41d0ab73dcbd1639b303cd09007
34
35 diff --git a/app-crypt/gnupg/gnupg-2.1.15.ebuild b/app-crypt/gnupg/gnupg-2.1.15.ebuild
36 deleted file mode 100644
37 index 2e4b59ef30a..00000000000
38 --- a/app-crypt/gnupg/gnupg-2.1.15.ebuild
39 +++ /dev/null
40 @@ -1,157 +0,0 @@
41 -# Copyright 1999-2017 Gentoo Foundation
42 -# Distributed under the terms of the GNU General Public License v2
43 -
44 -EAPI="5"
45 -
46 -inherit eutils flag-o-matic toolchain-funcs
47 -
48 -DESCRIPTION="The GNU Privacy Guard, a GPL OpenPGP implementation"
49 -HOMEPAGE="http://www.gnupg.org/"
50 -MY_P="${P/_/-}"
51 -SRC_URI="mirror://gnupg/gnupg/${MY_P}.tar.bz2"
52 -
53 -LICENSE="GPL-3"
54 -SLOT="0"
55 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
56 -IUSE="bzip2 doc +gnutls ldap nls readline selinux smartcard tofu tools usb"
57 -
58 -COMMON_DEPEND_LIBS="
59 - >=dev-libs/npth-1.2
60 - >=dev-libs/libassuan-2.4.3
61 - >=dev-libs/libgcrypt-1.7.3
62 - >=dev-libs/libgpg-error-1.24
63 - >=dev-libs/libksba-1.3.4
64 - >=net-misc/curl-7.10
65 - gnutls? ( >=net-libs/gnutls-3.0:0= )
66 - sys-libs/zlib
67 - ldap? ( net-nds/openldap )
68 - bzip2? ( app-arch/bzip2 )
69 - readline? ( sys-libs/readline:0= )
70 - smartcard? ( usb? ( virtual/libusb:0 ) )
71 - tofu? ( >=dev-db/sqlite-3.7 )
72 - "
73 -COMMON_DEPEND_BINS="app-crypt/pinentry
74 - !app-crypt/dirmngr"
75 -
76 -# Existence of executables is checked during configuration.
77 -DEPEND="${COMMON_DEPEND_LIBS}
78 - ${COMMON_DEPEND_BINS}
79 - nls? ( sys-devel/gettext )
80 - doc? ( sys-apps/texinfo )"
81 -
82 -RDEPEND="${COMMON_DEPEND_LIBS}
83 - ${COMMON_DEPEND_BINS}
84 - selinux? ( sec-policy/selinux-gpg )
85 - nls? ( virtual/libintl )"
86 -
87 -S="${WORKDIR}/${MY_P}"
88 -
89 -src_prepare() {
90 - epatch_user
91 -}
92 -
93 -src_configure() {
94 - local myconf=()
95 -
96 - if use smartcard; then
97 - myconf+=(
98 - --enable-scdaemon
99 - $(use_enable usb ccid-driver)
100 - )
101 - else
102 - myconf+=( --disable-scdaemon )
103 - fi
104 -
105 - if use elibc_SunOS || use elibc_AIX; then
106 - myconf+=( --disable-symcryptrun )
107 - else
108 - myconf+=( --enable-symcryptrun )
109 - fi
110 -
111 - # glib fails and picks up clang's internal stdint.h causing weird errors
112 - [[ ${CC} == *clang ]] && \
113 - export gl_cv_absolute_stdint_h=/usr/include/stdint.h
114 -
115 - econf \
116 - --docdir="${EPREFIX}/usr/share/doc/${PF}" \
117 - --enable-gpg \
118 - --enable-gpgsm \
119 - --enable-large-secmem \
120 - --without-adns \
121 - "${myconf[@]}" \
122 - $(use_enable bzip2) \
123 - $(use_enable gnutls) \
124 - $(use_with ldap) \
125 - $(use_enable nls) \
126 - $(use_with readline) \
127 - $(use_enable tofu) \
128 - $(use_enable tools wks-tools) \
129 - CC_FOR_BUILD="$(tc-getBUILD_CC)"
130 -}
131 -
132 -src_compile() {
133 - default
134 -
135 - if use doc; then
136 - cd doc
137 - emake html
138 - fi
139 -}
140 -
141 -src_install() {
142 - default
143 -
144 - use tools && dobin tools/{convert-from-106,gpg-check-pattern} \
145 - tools/{gpg-zip,gpgconf,gpgsplit,lspgpot,mail-signed-keys,make-dns-cert}
146 -
147 - emake DESTDIR="${D}" -f doc/Makefile uninstall-nobase_dist_docDATA
148 - # The help*txt files are read from the datadir by GnuPG directly.
149 - # They do not work if compressed or moved!
150 - #rm "${ED}"/usr/share/gnupg/help* || die
151 -
152 - dodoc ChangeLog NEWS README THANKS TODO VERSION doc/FAQ doc/DETAILS \
153 - doc/HACKING doc/TRANSLATE doc/OpenPGP doc/KEYSERVER doc/help*
154 -
155 - dosym gpg2 /usr/bin/gpg
156 - dosym gpgv2 /usr/bin/gpgv
157 - echo ".so man1/gpg2.1" > "${ED}"/usr/share/man/man1/gpg.1
158 - echo ".so man1/gpgv2.1" > "${ED}"/usr/share/man/man1/gpgv.1
159 -
160 - dodir /etc/env.d
161 - echo "CONFIG_PROTECT=/usr/share/gnupg/qualified.txt" >> "${ED}"/etc/env.d/30gnupg
162 -
163 - if use doc; then
164 - dohtml doc/gnupg.html/* doc/*.png
165 - fi
166 -}
167 -
168 -pkg_postinst() {
169 - elog "If you wish to view images emerge:"
170 - elog "media-gfx/xloadimage, media-gfx/xli or any other viewer"
171 - elog "Remember to use photo-viewer option in configuration file to activate"
172 - elog "the right viewer."
173 - elog
174 -
175 - if use smartcard; then
176 - elog "To use your OpenPGP smartcard (or token) with GnuPG you need one of"
177 - use usb && elog " - a CCID-compatible reader, used directly through libusb;"
178 - elog " - sys-apps/pcsc-lite and a compatible reader device;"
179 - elog " - dev-libs/openct and a compatible reader device;"
180 - elog " - a reader device and drivers exporting either PC/SC or CT-API interfaces."
181 - elog ""
182 - elog "General hint: you probably want to try installing sys-apps/pcsc-lite and"
183 - elog "app-crypt/ccid first."
184 - fi
185 -
186 - ewarn "Please remember to restart gpg-agent if a different version"
187 - ewarn "of the agent is currently used. If you are unsure of the gpg"
188 - ewarn "agent you are using please run 'killall gpg-agent',"
189 - ewarn "and to start a fresh daemon just run 'gpg-agent --daemon'."
190 -
191 - if [[ -n ${REPLACING_VERSIONS} ]]; then
192 - elog "If upgrading from a version prior than 2.1 you might have to re-import"
193 - elog "secret keys after restarting the gpg-agent as the new version is using"
194 - elog "a new storage mechanism."
195 - elog "You can migrate the keys using gpg --import \$HOME/.gnupg/secring.gpg"
196 - fi
197 -}
198
199 diff --git a/app-crypt/gnupg/gnupg-2.1.20-r1.ebuild b/app-crypt/gnupg/gnupg-2.1.20-r1.ebuild
200 deleted file mode 100644
201 index 5ce9f46cd62..00000000000
202 --- a/app-crypt/gnupg/gnupg-2.1.20-r1.ebuild
203 +++ /dev/null
204 @@ -1,122 +0,0 @@
205 -# Copyright 1999-2017 Gentoo Foundation
206 -# Distributed under the terms of the GNU General Public License v2
207 -
208 -EAPI="6"
209 -
210 -inherit toolchain-funcs
211 -
212 -DESCRIPTION="The GNU Privacy Guard, a GPL OpenPGP implementation"
213 -HOMEPAGE="http://www.gnupg.org/"
214 -LICENSE="GPL-3"
215 -
216 -MY_P="${P/_/-}"
217 -SRC_URI="mirror://gnupg/gnupg/${MY_P}.tar.bz2"
218 -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"
219 -
220 -SLOT="0"
221 -IUSE="bzip2 doc +gnutls ldap nls readline selinux +smartcard tofu tools usb wks-server"
222 -
223 -COMMON_DEPEND_LIBS="
224 - >=dev-libs/npth-1.2
225 - >=dev-libs/libassuan-2.4.3
226 - >=dev-libs/libgcrypt-1.7.3
227 - >=dev-libs/libgpg-error-1.24
228 - >=dev-libs/libksba-1.3.4
229 - >=net-misc/curl-7.10
230 - gnutls? ( >=net-libs/gnutls-3.0:0= )
231 - sys-libs/zlib
232 - ldap? ( net-nds/openldap )
233 - bzip2? ( app-arch/bzip2 )
234 - readline? ( sys-libs/readline:0= )
235 - smartcard? ( usb? ( virtual/libusb:0 ) )
236 - tofu? ( >=dev-db/sqlite-3.7 )
237 - "
238 -COMMON_DEPEND_BINS="app-crypt/pinentry
239 - !app-crypt/dirmngr"
240 -
241 -# Existence of executables is checked during configuration.
242 -DEPEND="${COMMON_DEPEND_LIBS}
243 - ${COMMON_DEPEND_BINS}
244 - nls? ( sys-devel/gettext )
245 - doc? ( sys-apps/texinfo )"
246 -
247 -RDEPEND="${COMMON_DEPEND_LIBS}
248 - ${COMMON_DEPEND_BINS}
249 - selinux? ( sec-policy/selinux-gpg )
250 - nls? ( virtual/libintl )"
251 -
252 -S="${WORKDIR}/${MY_P}"
253 -
254 -DOCS=(
255 - ChangeLog NEWS README THANKS TODO VERSION
256 - doc/FAQ doc/DETAILS doc/HACKING doc/TRANSLATE doc/OpenPGP doc/KEYSERVER
257 -)
258 -
259 -PATCHES=(
260 - "${FILESDIR}/${P}-gpg-Fix-typo.patch"
261 - "${FILESDIR}/${P}-gpg-Properly-account-for-ring-trust-packets.patch"
262 - "${FILESDIR}/${P}-gpgscm-Use-shorter-socket-path-lengts-to-improve-tes.patch"
263 -)
264 -
265 -src_configure() {
266 - local myconf=()
267 -
268 - if use smartcard; then
269 - myconf+=(
270 - --enable-scdaemon
271 - $(use_enable usb ccid-driver)
272 - )
273 - else
274 - myconf+=( --disable-scdaemon )
275 - fi
276 -
277 - if use elibc_SunOS || use elibc_AIX; then
278 - myconf+=( --disable-symcryptrun )
279 - else
280 - myconf+=( --enable-symcryptrun )
281 - fi
282 -
283 - # glib fails and picks up clang's internal stdint.h causing weird errors
284 - [[ ${CC} == *clang ]] && \
285 - export gl_cv_absolute_stdint_h=/usr/include/stdint.h
286 -
287 - econf \
288 - "${myconf[@]}" \
289 - $(use_enable bzip2) \
290 - $(use_enable gnutls) \
291 - $(use_enable nls) \
292 - $(use_enable tofu) \
293 - $(use_enable wks-server wks-tools) \
294 - $(use_with ldap) \
295 - $(use_with readline) \
296 - --enable-gpg \
297 - --enable-gpgsm \
298 - --enable-large-secmem \
299 - CC_FOR_BUILD="$(tc-getBUILD_CC)"
300 -}
301 -
302 -src_compile() {
303 - default
304 -
305 - use doc && emake -C doc html
306 -}
307 -
308 -src_install() {
309 - default
310 -
311 - use tools &&
312 - dobin \
313 - tools/{convert-from-106,gpg-check-pattern} \
314 - tools/{gpg-zip,gpgconf,gpgsplit,lspgpot,mail-signed-keys} \
315 - tools/make-dns-cert
316 -
317 - dosym gpg2 /usr/bin/gpg
318 - dosym gpgv2 /usr/bin/gpgv
319 - echo ".so man1/gpg2.1" > "${ED}"/usr/share/man/man1/gpg.1
320 - echo ".so man1/gpgv2.1" > "${ED}"/usr/share/man/man1/gpgv.1
321 -
322 - dodir /etc/env.d
323 - echo "CONFIG_PROTECT=/usr/share/gnupg/qualified.txt" >> "${ED}"/etc/env.d/30gnupg
324 -
325 - use doc && dodoc doc/gnupg.html/* doc/*.png
326 -}
327
328 diff --git a/app-crypt/gnupg/gnupg-2.2.4-r2.ebuild b/app-crypt/gnupg/gnupg-2.2.4-r2.ebuild
329 deleted file mode 100644
330 index 7cb0b078282..00000000000
331 --- a/app-crypt/gnupg/gnupg-2.2.4-r2.ebuild
332 +++ /dev/null
333 @@ -1,130 +0,0 @@
334 -# Copyright 1999-2018 Gentoo Foundation
335 -# Distributed under the terms of the GNU General Public License v2
336 -
337 -EAPI="6"
338 -
339 -inherit systemd toolchain-funcs
340 -
341 -MY_P="${P/_/-}"
342 -
343 -DESCRIPTION="The GNU Privacy Guard, a GPL OpenPGP implementation"
344 -HOMEPAGE="http://www.gnupg.org/"
345 -SRC_URI="mirror://gnupg/gnupg/${MY_P}.tar.bz2"
346 -
347 -LICENSE="GPL-3"
348 -SLOT="0"
349 -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"
350 -IUSE="bzip2 doc ldap nls readline selinux +smartcard ssl tofu tools usb wks-server"
351 -
352 -COMMON_DEPEND_LIBS="
353 - >=dev-libs/npth-1.2
354 - >=dev-libs/libassuan-2.5.0
355 - >=dev-libs/libgcrypt-1.7.3
356 - >=dev-libs/libgpg-error-1.24
357 - >=dev-libs/libksba-1.3.4
358 - >=net-misc/curl-7.10
359 - ssl? ( >=net-libs/gnutls-3.0:0= )
360 - sys-libs/zlib
361 - ldap? ( net-nds/openldap )
362 - bzip2? ( app-arch/bzip2 )
363 - readline? ( sys-libs/readline:0= )
364 - smartcard? ( usb? ( virtual/libusb:0 ) )
365 - tofu? ( >=dev-db/sqlite-3.7 )
366 - "
367 -COMMON_DEPEND_BINS="app-crypt/pinentry
368 - !app-crypt/dirmngr"
369 -
370 -# Existence of executables is checked during configuration.
371 -DEPEND="${COMMON_DEPEND_LIBS}
372 - ${COMMON_DEPEND_BINS}
373 - nls? ( sys-devel/gettext )
374 - doc? ( sys-apps/texinfo )"
375 -
376 -RDEPEND="${COMMON_DEPEND_LIBS}
377 - ${COMMON_DEPEND_BINS}
378 - selinux? ( sec-policy/selinux-gpg )
379 - nls? ( virtual/libintl )"
380 -
381 -S="${WORKDIR}/${MY_P}"
382 -
383 -DOCS=(
384 - ChangeLog NEWS README THANKS TODO VERSION
385 - doc/FAQ doc/DETAILS doc/HACKING doc/TRANSLATE doc/OpenPGP doc/KEYSERVER
386 -)
387 -
388 -PATCHES=(
389 - "${FILESDIR}/${PN}-2.1.20-gpgscm-Use-shorter-socket-path-lengts-to-improve-tes.patch"
390 - "${FILESDIR}/${P}-dirmngr-Handle-failures-related-to-missing-IPv6.patch"
391 -)
392 -
393 -src_configure() {
394 - local myconf=()
395 -
396 - if use smartcard; then
397 - myconf+=(
398 - --enable-scdaemon
399 - $(use_enable usb ccid-driver)
400 - )
401 - else
402 - myconf+=( --disable-scdaemon )
403 - fi
404 -
405 - if use elibc_SunOS || use elibc_AIX; then
406 - myconf+=( --disable-symcryptrun )
407 - else
408 - myconf+=( --enable-symcryptrun )
409 - fi
410 -
411 - # glib fails and picks up clang's internal stdint.h causing weird errors
412 - [[ ${CC} == *clang ]] && \
413 - export gl_cv_absolute_stdint_h=/usr/include/stdint.h
414 -
415 - econf \
416 - "${myconf[@]}" \
417 - $(use_enable bzip2) \
418 - $(use_enable ssl gnutls) \
419 - $(use_enable nls) \
420 - $(use_enable tofu) \
421 - $(use_enable wks-server wks-tools) \
422 - $(use_with ldap) \
423 - $(use_with readline) \
424 - --enable-gpg \
425 - --enable-gpgsm \
426 - --enable-large-secmem \
427 - --enable-all-tests \
428 - CC_FOR_BUILD="$(tc-getBUILD_CC)"
429 -}
430 -
431 -src_compile() {
432 - default
433 -
434 - use doc && emake -C doc html
435 -}
436 -
437 -src_test() {
438 - #Bug: 638574
439 - use tofu && export TESTFLAGS=--parallel
440 - default
441 -}
442 -
443 -src_install() {
444 - default
445 -
446 - use tools &&
447 - dobin \
448 - tools/{convert-from-106,gpg-check-pattern} \
449 - tools/{gpg-zip,gpgconf,gpgsplit,lspgpot,mail-signed-keys} \
450 - tools/make-dns-cert
451 -
452 - dosym gpg /usr/bin/gpg2
453 - dosym gpgv /usr/bin/gpgv2
454 - echo ".so man1/gpg.1" > "${ED}"/usr/share/man/man1/gpg2.1 || die
455 - echo ".so man1/gpgv.1" > "${ED}"/usr/share/man/man1/gpgv2.1 || die
456 -
457 - dodir /etc/env.d
458 - echo "CONFIG_PROTECT=/usr/share/gnupg/qualified.txt" >> "${ED}"/etc/env.d/30gnupg || die
459 -
460 - use doc && dodoc doc/gnupg.html/* doc/*.png
461 -
462 - systemd_douserunit doc/examples/systemd-user/*.{service,socket}
463 -}
464
465 diff --git a/app-crypt/gnupg/gnupg-2.2.4.ebuild b/app-crypt/gnupg/gnupg-2.2.4.ebuild
466 deleted file mode 100644
467 index b1cc1026789..00000000000
468 --- a/app-crypt/gnupg/gnupg-2.2.4.ebuild
469 +++ /dev/null
470 @@ -1,129 +0,0 @@
471 -# Copyright 1999-2018 Gentoo Foundation
472 -# Distributed under the terms of the GNU General Public License v2
473 -
474 -EAPI="6"
475 -
476 -inherit systemd toolchain-funcs
477 -
478 -MY_P="${P/_/-}"
479 -
480 -DESCRIPTION="The GNU Privacy Guard, a GPL OpenPGP implementation"
481 -HOMEPAGE="http://www.gnupg.org/"
482 -SRC_URI="mirror://gnupg/gnupg/${MY_P}.tar.bz2"
483 -
484 -LICENSE="GPL-3"
485 -SLOT="0"
486 -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"
487 -IUSE="bzip2 doc +gnutls ldap nls readline selinux +smartcard tofu tools usb wks-server"
488 -
489 -COMMON_DEPEND_LIBS="
490 - >=dev-libs/npth-1.2
491 - >=dev-libs/libassuan-2.5.0
492 - >=dev-libs/libgcrypt-1.7.3
493 - >=dev-libs/libgpg-error-1.24
494 - >=dev-libs/libksba-1.3.4
495 - >=net-misc/curl-7.10
496 - gnutls? ( >=net-libs/gnutls-3.0:0= )
497 - sys-libs/zlib
498 - ldap? ( net-nds/openldap )
499 - bzip2? ( app-arch/bzip2 )
500 - readline? ( sys-libs/readline:0= )
501 - smartcard? ( usb? ( virtual/libusb:0 ) )
502 - tofu? ( >=dev-db/sqlite-3.7 )
503 - "
504 -COMMON_DEPEND_BINS="app-crypt/pinentry
505 - !app-crypt/dirmngr"
506 -
507 -# Existence of executables is checked during configuration.
508 -DEPEND="${COMMON_DEPEND_LIBS}
509 - ${COMMON_DEPEND_BINS}
510 - nls? ( sys-devel/gettext )
511 - doc? ( sys-apps/texinfo )"
512 -
513 -RDEPEND="${COMMON_DEPEND_LIBS}
514 - ${COMMON_DEPEND_BINS}
515 - selinux? ( sec-policy/selinux-gpg )
516 - nls? ( virtual/libintl )"
517 -
518 -S="${WORKDIR}/${MY_P}"
519 -
520 -DOCS=(
521 - ChangeLog NEWS README THANKS TODO VERSION
522 - doc/FAQ doc/DETAILS doc/HACKING doc/TRANSLATE doc/OpenPGP doc/KEYSERVER
523 -)
524 -
525 -PATCHES=(
526 - "${FILESDIR}/${PN}-2.1.20-gpgscm-Use-shorter-socket-path-lengts-to-improve-tes.patch"
527 -)
528 -
529 -src_configure() {
530 - local myconf=()
531 -
532 - if use smartcard; then
533 - myconf+=(
534 - --enable-scdaemon
535 - $(use_enable usb ccid-driver)
536 - )
537 - else
538 - myconf+=( --disable-scdaemon )
539 - fi
540 -
541 - if use elibc_SunOS || use elibc_AIX; then
542 - myconf+=( --disable-symcryptrun )
543 - else
544 - myconf+=( --enable-symcryptrun )
545 - fi
546 -
547 - # glib fails and picks up clang's internal stdint.h causing weird errors
548 - [[ ${CC} == *clang ]] && \
549 - export gl_cv_absolute_stdint_h=/usr/include/stdint.h
550 -
551 - econf \
552 - "${myconf[@]}" \
553 - $(use_enable bzip2) \
554 - $(use_enable gnutls) \
555 - $(use_enable nls) \
556 - $(use_enable tofu) \
557 - $(use_enable wks-server wks-tools) \
558 - $(use_with ldap) \
559 - $(use_with readline) \
560 - --enable-gpg \
561 - --enable-gpgsm \
562 - --enable-large-secmem \
563 - --enable-all-tests \
564 - CC_FOR_BUILD="$(tc-getBUILD_CC)"
565 -}
566 -
567 -src_compile() {
568 - default
569 -
570 - use doc && emake -C doc html
571 -}
572 -
573 -src_test() {
574 - #Bug: 638574
575 - use tofu && export TESTFLAGS=--parallel
576 - default
577 -}
578 -
579 -src_install() {
580 - default
581 -
582 - use tools &&
583 - dobin \
584 - tools/{convert-from-106,gpg-check-pattern} \
585 - tools/{gpg-zip,gpgconf,gpgsplit,lspgpot,mail-signed-keys} \
586 - tools/make-dns-cert
587 -
588 - dosym gpg /usr/bin/gpg2
589 - dosym gpgv /usr/bin/gpgv2
590 - echo ".so man1/gpg.1" > "${ED}"/usr/share/man/man1/gpg2.1 || die
591 - echo ".so man1/gpgv.1" > "${ED}"/usr/share/man/man1/gpgv2.1 || die
592 -
593 - dodir /etc/env.d
594 - echo "CONFIG_PROTECT=/usr/share/gnupg/qualified.txt" >> "${ED}"/etc/env.d/30gnupg || die
595 -
596 - use doc && dodoc doc/gnupg.html/* doc/*.png
597 -
598 - systemd_douserunit doc/examples/systemd-user/*.{service,socket}
599 -}
600
601 diff --git a/app-crypt/gnupg/gnupg-2.2.6.ebuild b/app-crypt/gnupg/gnupg-2.2.6.ebuild
602 deleted file mode 100644
603 index badbebb0518..00000000000
604 --- a/app-crypt/gnupg/gnupg-2.2.6.ebuild
605 +++ /dev/null
606 @@ -1,130 +0,0 @@
607 -# Copyright 1999-2018 Gentoo Foundation
608 -# Distributed under the terms of the GNU General Public License v2
609 -
610 -EAPI="6"
611 -
612 -inherit systemd toolchain-funcs
613 -
614 -MY_P="${P/_/-}"
615 -
616 -DESCRIPTION="The GNU Privacy Guard, a GPL OpenPGP implementation"
617 -HOMEPAGE="http://www.gnupg.org/"
618 -SRC_URI="mirror://gnupg/gnupg/${MY_P}.tar.bz2"
619 -
620 -LICENSE="GPL-3"
621 -SLOT="0"
622 -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"
623 -IUSE="bzip2 doc ldap nls readline selinux +smartcard ssl tofu tools usb wks-server"
624 -
625 -COMMON_DEPEND_LIBS="
626 - >=dev-libs/npth-1.2
627 - >=dev-libs/libassuan-2.5.0
628 - >=dev-libs/libgcrypt-1.7.3
629 - >=dev-libs/libgpg-error-1.24
630 - >=dev-libs/libksba-1.3.4
631 - >=net-misc/curl-7.10
632 - ssl? ( >=net-libs/gnutls-3.0:0= )
633 - sys-libs/zlib
634 - ldap? ( net-nds/openldap )
635 - bzip2? ( app-arch/bzip2 )
636 - readline? ( sys-libs/readline:0= )
637 - smartcard? ( usb? ( virtual/libusb:0 ) )
638 - tofu? ( >=dev-db/sqlite-3.7 )
639 - virtual/mta
640 - "
641 -COMMON_DEPEND_BINS="app-crypt/pinentry
642 - !app-crypt/dirmngr"
643 -
644 -# Existence of executables is checked during configuration.
645 -DEPEND="${COMMON_DEPEND_LIBS}
646 - ${COMMON_DEPEND_BINS}
647 - nls? ( sys-devel/gettext )
648 - doc? ( sys-apps/texinfo )"
649 -
650 -RDEPEND="${COMMON_DEPEND_LIBS}
651 - ${COMMON_DEPEND_BINS}
652 - selinux? ( sec-policy/selinux-gpg )
653 - nls? ( virtual/libintl )"
654 -
655 -S="${WORKDIR}/${MY_P}"
656 -
657 -DOCS=(
658 - ChangeLog NEWS README THANKS TODO VERSION
659 - doc/FAQ doc/DETAILS doc/HACKING doc/TRANSLATE doc/OpenPGP doc/KEYSERVER
660 -)
661 -
662 -PATCHES=(
663 - "${FILESDIR}/${PN}-2.1.20-gpgscm-Use-shorter-socket-path-lengts-to-improve-tes.patch"
664 -)
665 -
666 -src_configure() {
667 - local myconf=()
668 -
669 - if use smartcard; then
670 - myconf+=(
671 - --enable-scdaemon
672 - $(use_enable usb ccid-driver)
673 - )
674 - else
675 - myconf+=( --disable-scdaemon )
676 - fi
677 -
678 - if use elibc_SunOS || use elibc_AIX; then
679 - myconf+=( --disable-symcryptrun )
680 - else
681 - myconf+=( --enable-symcryptrun )
682 - fi
683 -
684 - # glib fails and picks up clang's internal stdint.h causing weird errors
685 - [[ ${CC} == *clang ]] && \
686 - export gl_cv_absolute_stdint_h=/usr/include/stdint.h
687 -
688 - econf \
689 - "${myconf[@]}" \
690 - $(use_enable bzip2) \
691 - $(use_enable ssl gnutls) \
692 - $(use_enable nls) \
693 - $(use_enable tofu) \
694 - $(use_enable wks-server wks-tools) \
695 - $(use_with ldap) \
696 - $(use_with readline) \
697 - --enable-gpg \
698 - --enable-gpgsm \
699 - --enable-large-secmem \
700 - --enable-all-tests \
701 - CC_FOR_BUILD="$(tc-getBUILD_CC)"
702 -}
703 -
704 -src_compile() {
705 - default
706 -
707 - use doc && emake -C doc html
708 -}
709 -
710 -src_test() {
711 - #Bug: 638574
712 - use tofu && export TESTFLAGS=--parallel
713 - default
714 -}
715 -
716 -src_install() {
717 - default
718 -
719 - use tools &&
720 - dobin \
721 - tools/{convert-from-106,gpg-check-pattern} \
722 - tools/{gpg-zip,gpgconf,gpgsplit,lspgpot,mail-signed-keys} \
723 - tools/make-dns-cert
724 -
725 - dosym gpg /usr/bin/gpg2
726 - dosym gpgv /usr/bin/gpgv2
727 - echo ".so man1/gpg.1" > "${ED}"/usr/share/man/man1/gpg2.1 || die
728 - echo ".so man1/gpgv.1" > "${ED}"/usr/share/man/man1/gpgv2.1 || die
729 -
730 - dodir /etc/env.d
731 - echo "CONFIG_PROTECT=/usr/share/gnupg/qualified.txt" >> "${ED}"/etc/env.d/30gnupg || die
732 -
733 - use doc && dodoc doc/gnupg.html/* doc/*.png
734 -
735 - systemd_douserunit doc/examples/systemd-user/*.{service,socket}
736 -}
737
738 diff --git a/app-crypt/gnupg/gnupg-2.2.7.ebuild b/app-crypt/gnupg/gnupg-2.2.7.ebuild
739 deleted file mode 100644
740 index badbebb0518..00000000000
741 --- a/app-crypt/gnupg/gnupg-2.2.7.ebuild
742 +++ /dev/null
743 @@ -1,130 +0,0 @@
744 -# Copyright 1999-2018 Gentoo Foundation
745 -# Distributed under the terms of the GNU General Public License v2
746 -
747 -EAPI="6"
748 -
749 -inherit systemd toolchain-funcs
750 -
751 -MY_P="${P/_/-}"
752 -
753 -DESCRIPTION="The GNU Privacy Guard, a GPL OpenPGP implementation"
754 -HOMEPAGE="http://www.gnupg.org/"
755 -SRC_URI="mirror://gnupg/gnupg/${MY_P}.tar.bz2"
756 -
757 -LICENSE="GPL-3"
758 -SLOT="0"
759 -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"
760 -IUSE="bzip2 doc ldap nls readline selinux +smartcard ssl tofu tools usb wks-server"
761 -
762 -COMMON_DEPEND_LIBS="
763 - >=dev-libs/npth-1.2
764 - >=dev-libs/libassuan-2.5.0
765 - >=dev-libs/libgcrypt-1.7.3
766 - >=dev-libs/libgpg-error-1.24
767 - >=dev-libs/libksba-1.3.4
768 - >=net-misc/curl-7.10
769 - ssl? ( >=net-libs/gnutls-3.0:0= )
770 - sys-libs/zlib
771 - ldap? ( net-nds/openldap )
772 - bzip2? ( app-arch/bzip2 )
773 - readline? ( sys-libs/readline:0= )
774 - smartcard? ( usb? ( virtual/libusb:0 ) )
775 - tofu? ( >=dev-db/sqlite-3.7 )
776 - virtual/mta
777 - "
778 -COMMON_DEPEND_BINS="app-crypt/pinentry
779 - !app-crypt/dirmngr"
780 -
781 -# Existence of executables is checked during configuration.
782 -DEPEND="${COMMON_DEPEND_LIBS}
783 - ${COMMON_DEPEND_BINS}
784 - nls? ( sys-devel/gettext )
785 - doc? ( sys-apps/texinfo )"
786 -
787 -RDEPEND="${COMMON_DEPEND_LIBS}
788 - ${COMMON_DEPEND_BINS}
789 - selinux? ( sec-policy/selinux-gpg )
790 - nls? ( virtual/libintl )"
791 -
792 -S="${WORKDIR}/${MY_P}"
793 -
794 -DOCS=(
795 - ChangeLog NEWS README THANKS TODO VERSION
796 - doc/FAQ doc/DETAILS doc/HACKING doc/TRANSLATE doc/OpenPGP doc/KEYSERVER
797 -)
798 -
799 -PATCHES=(
800 - "${FILESDIR}/${PN}-2.1.20-gpgscm-Use-shorter-socket-path-lengts-to-improve-tes.patch"
801 -)
802 -
803 -src_configure() {
804 - local myconf=()
805 -
806 - if use smartcard; then
807 - myconf+=(
808 - --enable-scdaemon
809 - $(use_enable usb ccid-driver)
810 - )
811 - else
812 - myconf+=( --disable-scdaemon )
813 - fi
814 -
815 - if use elibc_SunOS || use elibc_AIX; then
816 - myconf+=( --disable-symcryptrun )
817 - else
818 - myconf+=( --enable-symcryptrun )
819 - fi
820 -
821 - # glib fails and picks up clang's internal stdint.h causing weird errors
822 - [[ ${CC} == *clang ]] && \
823 - export gl_cv_absolute_stdint_h=/usr/include/stdint.h
824 -
825 - econf \
826 - "${myconf[@]}" \
827 - $(use_enable bzip2) \
828 - $(use_enable ssl gnutls) \
829 - $(use_enable nls) \
830 - $(use_enable tofu) \
831 - $(use_enable wks-server wks-tools) \
832 - $(use_with ldap) \
833 - $(use_with readline) \
834 - --enable-gpg \
835 - --enable-gpgsm \
836 - --enable-large-secmem \
837 - --enable-all-tests \
838 - CC_FOR_BUILD="$(tc-getBUILD_CC)"
839 -}
840 -
841 -src_compile() {
842 - default
843 -
844 - use doc && emake -C doc html
845 -}
846 -
847 -src_test() {
848 - #Bug: 638574
849 - use tofu && export TESTFLAGS=--parallel
850 - default
851 -}
852 -
853 -src_install() {
854 - default
855 -
856 - use tools &&
857 - dobin \
858 - tools/{convert-from-106,gpg-check-pattern} \
859 - tools/{gpg-zip,gpgconf,gpgsplit,lspgpot,mail-signed-keys} \
860 - tools/make-dns-cert
861 -
862 - dosym gpg /usr/bin/gpg2
863 - dosym gpgv /usr/bin/gpgv2
864 - echo ".so man1/gpg.1" > "${ED}"/usr/share/man/man1/gpg2.1 || die
865 - echo ".so man1/gpgv.1" > "${ED}"/usr/share/man/man1/gpgv2.1 || die
866 -
867 - dodir /etc/env.d
868 - echo "CONFIG_PROTECT=/usr/share/gnupg/qualified.txt" >> "${ED}"/etc/env.d/30gnupg || die
869 -
870 - use doc && dodoc doc/gnupg.html/* doc/*.png
871 -
872 - systemd_douserunit doc/examples/systemd-user/*.{service,socket}
873 -}