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: Tue, 07 Mar 2017 19:51:40
Message-Id: 1488916131.0d64e076a3a0de12274b63296591820ed63bcd43.k_f@gentoo
1 commit: 0d64e076a3a0de12274b63296591820ed63bcd43
2 Author: Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 7 19:48:38 2017 +0000
4 Commit: Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 7 19:48:51 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d64e076
7
8 app-crypt/gnupg: clean up 2.1.19
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 app-crypt/gnupg/gnupg-2.1.19.ebuild | 123 ------------------------------------
13 1 file changed, 123 deletions(-)
14
15 diff --git a/app-crypt/gnupg/gnupg-2.1.19.ebuild b/app-crypt/gnupg/gnupg-2.1.19.ebuild
16 deleted file mode 100644
17 index 9eb3471d66f..00000000000
18 --- a/app-crypt/gnupg/gnupg-2.1.19.ebuild
19 +++ /dev/null
20 @@ -1,123 +0,0 @@
21 -# Copyright 1999-2017 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI="6"
25 -
26 -inherit eutils flag-o-matic toolchain-funcs
27 -
28 -DESCRIPTION="The GNU Privacy Guard, a GPL OpenPGP implementation"
29 -HOMEPAGE="http://www.gnupg.org/"
30 -LICENSE="GPL-3"
31 -
32 -MY_P="${P/_/-}"
33 -SRC_URI="mirror://gnupg/gnupg/${MY_P}.tar.bz2"
34 -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"
35 -
36 -SLOT="0"
37 -IUSE="bzip2 doc +gnutls ldap nls readline selinux +smartcard tofu tools usb wks-server"
38 -
39 -COMMON_DEPEND_LIBS="
40 - >=dev-libs/npth-1.2
41 - >=dev-libs/libassuan-2.4.3
42 - >=dev-libs/libgcrypt-1.7.3
43 - >=dev-libs/libgpg-error-1.24
44 - >=dev-libs/libksba-1.3.4
45 - >=net-misc/curl-7.10
46 - gnutls? ( >=net-libs/gnutls-3.0:0= )
47 - sys-libs/zlib
48 - ldap? ( net-nds/openldap )
49 - bzip2? ( app-arch/bzip2 )
50 - readline? ( sys-libs/readline:0= )
51 - smartcard? ( usb? ( virtual/libusb:0 ) )
52 - tofu? ( >=dev-db/sqlite-3.7 )
53 - "
54 -COMMON_DEPEND_BINS="app-crypt/pinentry
55 - !app-crypt/dirmngr"
56 -
57 -# Existence of executables is checked during configuration.
58 -DEPEND="${COMMON_DEPEND_LIBS}
59 - ${COMMON_DEPEND_BINS}
60 - nls? ( sys-devel/gettext )
61 - doc? ( sys-apps/texinfo )"
62 -
63 -RDEPEND="${COMMON_DEPEND_LIBS}
64 - ${COMMON_DEPEND_BINS}
65 - selinux? ( sec-policy/selinux-gpg )
66 - nls? ( virtual/libintl )"
67 -
68 -S="${WORKDIR}/${MY_P}"
69 -
70 -DOCS=(
71 - ChangeLog NEWS README THANKS TODO VERSION
72 - doc/FAQ doc/DETAILS doc/HACKING doc/TRANSLATE doc/OpenPGP doc/KEYSERVER
73 -)
74 -
75 -PATCHES=(
76 - "${FILESDIR}/${PN}-2.1.16-gpgscm-Use-shorter-socket-path-lengts-to-improve-tes.patch"
77 - "${FILESDIR}"/${P}-solaris-ucred.patch
78 -)
79 -
80 -src_configure() {
81 - local myconf=()
82 -
83 - if use smartcard; then
84 - myconf+=(
85 - --enable-scdaemon
86 - $(use_enable usb ccid-driver)
87 - )
88 - else
89 - myconf+=( --disable-scdaemon )
90 - fi
91 -
92 - if use elibc_SunOS || use elibc_AIX; then
93 - myconf+=( --disable-symcryptrun )
94 - else
95 - myconf+=( --enable-symcryptrun )
96 - fi
97 -
98 - # glib fails and picks up clang's internal stdint.h causing weird errors
99 - [[ ${CC} == *clang ]] && \
100 - export gl_cv_absolute_stdint_h=/usr/include/stdint.h
101 -
102 - econf \
103 - "${myconf[@]}" \
104 - $(use_enable bzip2) \
105 - $(use_enable gnutls) \
106 - $(use_enable nls) \
107 - $(use_enable tofu) \
108 - $(use_enable wks-server wks-tools) \
109 - $(use_with ldap) \
110 - $(use_with readline) \
111 - --enable-gpg \
112 - --enable-gpgsm \
113 - --enable-large-secmem \
114 - --enable-tools \
115 - CC_FOR_BUILD="$(tc-getBUILD_CC)"
116 -}
117 -
118 -src_compile() {
119 - default
120 -
121 - use doc && emake -C doc html
122 -}
123 -
124 -src_install() {
125 - default
126 -
127 - use tools &&
128 - dobin \
129 - tools/{convert-from-106,gpg-check-pattern} \
130 - tools/{gpg-zip,gpgconf,gpgsplit,lspgpot,mail-signed-keys} \
131 - tools/make-dns-cert
132 - emake DESTDIR="${ED}" -f doc/Makefile uninstall-nobase_dist_docDATA
133 -
134 - dosym gpg2 /usr/bin/gpg
135 - dosym gpgv2 /usr/bin/gpgv
136 - echo ".so man1/gpg2.1" > "${ED}"/usr/share/man/man1/gpg.1
137 - echo ".so man1/gpgv2.1" > "${ED}"/usr/share/man/man1/gpgv.1
138 -
139 - dodir /etc/env.d
140 - echo "CONFIG_PROTECT=/usr/share/gnupg/qualified.txt" >> "${ED}"/etc/env.d/30gnupg
141 -
142 - use doc && dodoc doc/gnupg.html/* doc/*.png
143 -}