1 |
commit: 9ac44a61c923812ec3c0f7788f27425b0574a522 |
2 |
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 3 08:28:36 2017 +0000 |
4 |
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 3 12:45:22 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ac44a61 |
7 |
|
8 |
net-libs/gnutls: cleanup |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
net-libs/gnutls/Manifest | 1 - |
13 |
net-libs/gnutls/gnutls-3.5.8.ebuild | 147 ------------------------------------ |
14 |
2 files changed, 148 deletions(-) |
15 |
|
16 |
diff --git a/net-libs/gnutls/Manifest b/net-libs/gnutls/Manifest |
17 |
index 57fc65b6de1..77b2e6c123c 100644 |
18 |
--- a/net-libs/gnutls/Manifest |
19 |
+++ b/net-libs/gnutls/Manifest |
20 |
@@ -1,3 +1,2 @@ |
21 |
DIST gnutls-3.3.26.tar.xz 6361068 SHA256 6a7d882b6b581d684883fde195abf930dab37dfbe6aaea88ab164252bec720d9 SHA512 41259f760f5ed9b87d4203de567efb1a2087e01a025f2ea0f14167f146ecd640fbddeab390fbae6acc262507229894774db883d0892d448068ee73abb110738f WHIRLPOOL afca5aabebf36064847933662736c7713b837375db2c91c416d43a980407d912edf8fb64f53615c0bed770f46a9d2e0a3eb309f6a66281f5377e50a02863c8e7 |
22 |
-DIST gnutls-3.5.8.tar.xz 7264448 SHA256 0e97f243ae72b70307d684b84c7fe679385aa7a7a0e37e5be810193dcc17d4ff SHA512 e6cdc4f9f2e41bd10e61b90b6b5ea3882c80a7130de8a0e9c23e373985cdc332128529dad49d6854fe93ee934e1bbde8b34dfd19e354b3a8e11b22d61424292e WHIRLPOOL 8e9c0407d13793b1c2a8a6377588e87502fa0a9dc79fe8b963ceac558538326052620e95772d8cef61d2d4e680bcabd3094adf5cea09cff42dd272d4478e7f7c |
23 |
DIST gnutls-3.5.9.tar.xz 7166932 SHA256 82b10f0c4ef18f4e64ad8cef5dbaf14be732f5095a41cf366b4ecb4050382951 SHA512 17a05143eaa70ee61b149a5f09ae7a688cb3f314ad1e67ce41a778e5960717e276cc780f3db9b6923c14c4d998e17563c134cab5297502181cd2dabb47da3515 WHIRLPOOL 451b191ed2b4a2fc686b93515cdc026949630ffd2af4b55b65f5b15c0dc306a9d64e4a18e314d9cd5c8a416ae40468e7de467bafe63d82cef05920b2c6a1bc52 |
24 |
|
25 |
diff --git a/net-libs/gnutls/gnutls-3.5.8.ebuild b/net-libs/gnutls/gnutls-3.5.8.ebuild |
26 |
deleted file mode 100644 |
27 |
index 4bffb77b455..00000000000 |
28 |
--- a/net-libs/gnutls/gnutls-3.5.8.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,147 +0,0 @@ |
31 |
-# Copyright 1999-2017 Gentoo Foundation |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=6 |
35 |
- |
36 |
-inherit autotools libtool eutils multilib-minimal versionator |
37 |
- |
38 |
-DESCRIPTION="A TLS 1.2 and SSL 3.0 implementation for the GNU project" |
39 |
-HOMEPAGE="http://www.gnutls.org/" |
40 |
-SRC_URI="mirror://gnupg/gnutls/v$(get_version_component_range 1-2)/${P}.tar.xz" |
41 |
- |
42 |
-LICENSE="GPL-3 LGPL-2.1" |
43 |
-SLOT="0/30" # libgnutls.so number |
44 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
45 |
-IUSE_LINGUAS=" en cs de fi fr it ms nl pl sv uk vi zh_CN" |
46 |
-IUSE="+cxx dane doc examples guile +idn nls +openssl pkcs11 sslv2 +sslv3 static-libs test test-full +tls-heartbeat tools valgrind zlib ${IUSE_LINGUAS// / linguas_}" |
47 |
- |
48 |
-REQUIRED_USE=" |
49 |
- test? ( tools ) |
50 |
- test-full? ( pkcs11 openssl idn tools zlib )" |
51 |
- |
52 |
-# NOTICE: sys-devel/autogen is required at runtime as we |
53 |
-# use system libopts |
54 |
-RDEPEND=">=dev-libs/libtasn1-4.9:=[${MULTILIB_USEDEP}] |
55 |
- dev-libs/libunistring:=[${MULTILIB_USEDEP}] |
56 |
- >=dev-libs/nettle-3.1:=[gmp,${MULTILIB_USEDEP}] |
57 |
- >=dev-libs/gmp-5.1.3-r1:=[${MULTILIB_USEDEP}] |
58 |
- tools? ( sys-devel/autogen ) |
59 |
- dane? ( >=net-dns/unbound-1.4.20[${MULTILIB_USEDEP}] ) |
60 |
- guile? ( >=dev-scheme/guile-1.8:=[networking] ) |
61 |
- nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] ) |
62 |
- pkcs11? ( >=app-crypt/p11-kit-0.23.1[${MULTILIB_USEDEP}] ) |
63 |
- zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] ) |
64 |
- idn? ( net-dns/libidn[${MULTILIB_USEDEP}] ) |
65 |
- valgrind? ( dev-util/valgrind ) |
66 |
- test-full? ( |
67 |
- app-crypt/dieharder |
68 |
- app-misc/datefudge |
69 |
- dev-libs/softhsm:2[-bindist] |
70 |
- net-dialup/ppp |
71 |
- net-misc/socat |
72 |
- ) |
73 |
- abi_x86_32? ( |
74 |
- !<=app-emulation/emul-linux-x86-baselibs-20140508 |
75 |
- !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] |
76 |
- )" |
77 |
-DEPEND="${RDEPEND} |
78 |
- >=sys-devel/automake-1.11.6 |
79 |
- >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] |
80 |
- doc? ( |
81 |
- sys-apps/texinfo |
82 |
- dev-util/gtk-doc |
83 |
- ) |
84 |
- nls? ( sys-devel/gettext ) |
85 |
- test? ( app-misc/datefudge )" |
86 |
- |
87 |
-DOCS=( |
88 |
- README.md |
89 |
- doc/certtool.cfg |
90 |
-) |
91 |
- |
92 |
-HTML_DOCS=() |
93 |
- |
94 |
-pkg_setup() { |
95 |
- # bug#520818 |
96 |
- export TZ=UTC |
97 |
- |
98 |
- use doc && HTML_DOCS+=( |
99 |
- doc/gnutls.html |
100 |
- ) |
101 |
-} |
102 |
- |
103 |
-src_prepare() { |
104 |
- default |
105 |
- |
106 |
- sed -i \ |
107 |
- -e 's/imagesdir = $(infodir)/imagesdir = $(htmldir)/' \ |
108 |
- doc/Makefile.am || die |
109 |
- |
110 |
- # force regeneration of autogen-ed files |
111 |
- local file |
112 |
- for file in $(grep -l AutoGen-ed src/*.c) ; do |
113 |
- rm src/$(basename ${file} .c).{c,h} || die |
114 |
- done |
115 |
- |
116 |
- # force regeneration of makeinfo files |
117 |
- # have no idea why on some system these files are not |
118 |
- # accepted as-is, see bug#520818 |
119 |
- for file in $(grep -l "produced by makeinfo" doc/*.info) ; do |
120 |
- rm "${file}" || die |
121 |
- done |
122 |
- |
123 |
- eautoreconf |
124 |
- |
125 |
- # Use sane .so versioning on FreeBSD. |
126 |
- elibtoolize |
127 |
- |
128 |
- # bug 497472 |
129 |
- use cxx || epunt_cxx |
130 |
-} |
131 |
- |
132 |
-multilib_src_configure() { |
133 |
- LINGUAS="${LINGUAS//en/en@boldquot en@quot}" |
134 |
- |
135 |
- # remove magic of library detection |
136 |
- # bug#438222 |
137 |
- libconf=($("${S}/configure" --help | grep -- '--without-.*-prefix' | sed -e 's/^ *\([^ ]*\) .*/\1/g')) |
138 |
- |
139 |
- # TPM needs to be tested before being enabled |
140 |
- # hardware-accell is disabled on OSX because the asm files force |
141 |
- # GNU-stack (as doesn't support that) and when that's removed ld |
142 |
- # complains about duplicate symbols |
143 |
- ECONF_SOURCE=${S} econf \ |
144 |
- --without-included-libtasn1 \ |
145 |
- $(use_enable cxx) \ |
146 |
- $(use_enable dane libdane) \ |
147 |
- $(multilib_native_enable manpages) \ |
148 |
- $(multilib_native_use_enable tools) \ |
149 |
- $(multilib_native_use_enable doc) \ |
150 |
- $(multilib_native_use_enable doc gtk-doc) \ |
151 |
- $(multilib_native_use_enable guile) \ |
152 |
- $(multilib_native_use_enable test tests) \ |
153 |
- $(multilib_native_use_enable valgrind valgrind-tests) \ |
154 |
- $(use_enable nls) \ |
155 |
- $(use_enable openssl openssl-compatibility) \ |
156 |
- $(use_enable tls-heartbeat heartbeat-support) \ |
157 |
- $(use_enable sslv2 ssl2-support) \ |
158 |
- $(use_enable sslv3 ssl3-support) \ |
159 |
- $(use_enable static-libs static) \ |
160 |
- $(use_with pkcs11 p11-kit) \ |
161 |
- $(use_with zlib) \ |
162 |
- $(use_with idn) \ |
163 |
- --without-tpm \ |
164 |
- --with-unbound-root-key-file=/etc/dnssec/root-anchors.txt \ |
165 |
- "${libconf[@]}" \ |
166 |
- $([[ ${CHOST} == *-darwin* ]] && echo --disable-hardware-acceleration) |
167 |
-} |
168 |
- |
169 |
-multilib_src_install_all() { |
170 |
- einstalldocs |
171 |
- prune_libtool_files --all |
172 |
- |
173 |
- if use examples; then |
174 |
- docinto examples |
175 |
- dodoc doc/examples/*.c |
176 |
- fi |
177 |
-} |