summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2015-11-18 20:36:12 +0200
committerAlon Bar-Lev <alonbl@gentoo.org>2015-11-18 20:37:01 +0200
commitb5369d1bc2a17194f69c9c365a1e85e16fe02847 (patch)
treeb61f8a618219a34bbe88fd836d9bcfcfe0a56369
parentwww-apps/rt: Remove Insecure Version (diff)
downloadgentoo-b5369d1bc2a17194f69c9c365a1e85e16fe02847.tar.gz
gentoo-b5369d1bc2a17194f69c9c365a1e85e16fe02847.tar.bz2
gentoo-b5369d1bc2a17194f69c9c365a1e85e16fe02847.zip
net-libs/gnutls: cleanup
Bug: 553690 Package-Manager: portage-2.2.20.1
-rw-r--r--net-libs/gnutls/Manifest1
-rw-r--r--net-libs/gnutls/gnutls-2.12.23-r6.ebuild126
-rw-r--r--net-libs/gnutls/metadata.xml7
3 files changed, 0 insertions, 134 deletions
diff --git a/net-libs/gnutls/Manifest b/net-libs/gnutls/Manifest
index 5000781c21f4..c532ffced129 100644
--- a/net-libs/gnutls/Manifest
+++ b/net-libs/gnutls/Manifest
@@ -1,4 +1,3 @@
-DIST gnutls-2.12.23.tar.bz2 7279415 SHA256 dfa67a7e40727eb0913e75f3c44911d5d8cd58d1ead5acfe73dd933fc0d17ed2 SHA512 7780e9ca7b592350ce9b11e53a63d3212320402d8ad2462bfbc0e69aec4a48bb372a1925627abb7996535c87c90e3d79537ea118c8bb36d26aae8e19eaae3a06 WHIRLPOOL 8cab909c961760c72b478d5cbe75633ce0d26190fdece018e9f33b171879753ed38348c33c00fda7b5f3a6b596a5439fb62f1c82a891e9e62fee5bb784cf7e11
DIST gnutls-3.3.17.1.tar.xz 6339588 SHA256 b40f158030a92f450a07b20300a3996710ca19800848d9f6fd62493170c5bbb4 SHA512 9f2945abe1251db176fa227f2c90be46dba831af97647f04b960c71a50fc597776be31080733f9417f2242c4c6ae92fa897bf02d5f2ba40863e94df245c03319 WHIRLPOOL 8a04e56a5f47ddaad106081a613ead85a107b013d3e894074745e9439e0a7797b7f528aab5db7e3ac808f1c5c361c4717d7f0cb3abc943a6f912e5b6981db320
DIST gnutls-3.3.18.tar.xz 6275948 SHA256 7a87e7f486d1ada10007356917a412cde6c6114dac018e3569e3aa09e9f29395 SHA512 e7c972458ad0af401121c705ebe86aafa46c02743d963b1b67ca09192c746a9193c73d28501b6c046435259b40ac0f8d201860cd6cf6240a7783b6c01b64286c WHIRLPOOL ce2134515d234d6dbceebefd5602bc7f0d96faff839055fd401149c6969a245f5284d7e29ae2eca810fa6039d7184477b9fda2ae0faa379262434927320ebde3
DIST gnutls-3.4.5.tar.xz 6552036 SHA256 af88b8e0460728d034ff3f454f7851a09b7f0959a93531b6f8d35658ef0f7aae SHA512 16dfdaecbcc0b02ea762def35724a3433063136429d0eb67d9e009ced14a6ddddfa567f41e03a4fda9c4f68e3625bac41e8966882257099413c9500e33171a2f WHIRLPOOL 9274ae5660ac3f6da839f6a7fe3df4042155259170b069b8b54772d77b18564cc5f5337acc475d0936afe855fe9e046a1fb167bbd6842063c9c0335d218f4393
diff --git a/net-libs/gnutls/gnutls-2.12.23-r6.ebuild b/net-libs/gnutls/gnutls-2.12.23-r6.ebuild
deleted file mode 100644
index cc0fcb211d19..000000000000
--- a/net-libs/gnutls/gnutls-2.12.23-r6.ebuild
+++ /dev/null
@@ -1,126 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit autotools libtool eutils versionator
-
-DESCRIPTION="A TLS 1.2 and SSL 3.0 implementation for the GNU project"
-HOMEPAGE="http://www.gnutls.org/"
-SRC_URI="ftp://ftp.gnutls.org/gcrypt/gnutls/v$(get_version_component_range 1-2)/${P}.tar.bz2"
-
-# LGPL-2.1 for libgnutls library and GPL-3 for libgnutls-extra library.
-LICENSE="GPL-3 LGPL-2.1"
-SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
-IUSE="bindist +cxx doc examples guile lzo +nettle nls pkcs11 static-libs test zlib"
-
-RDEPEND=">=dev-libs/libtasn1-0.3.4
- guile? ( >=dev-scheme/guile-1.8[networking] )
- nettle? ( >=dev-libs/nettle-2.1[gmp] )
- !nettle? ( >=dev-libs/libgcrypt-1.4.0:0 )
- nls? ( virtual/libintl )
- pkcs11? ( >=app-crypt/p11-kit-0.11 )
- zlib? ( >=sys-libs/zlib-1.2.3.1 )
- !bindist? ( lzo? ( >=dev-libs/lzo-2 ) )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- sys-devel/libtool
- doc? ( dev-util/gtk-doc )
- nls? ( sys-devel/gettext )
- test? ( app-misc/datefudge )"
-
-DOCS=( AUTHORS ChangeLog NEWS README THANKS doc/TODO )
-
-pkg_setup() {
- if use lzo && use bindist; then
- ewarn "lzo support is disabled for binary distribution of GnuTLS due to licensing issues."
- fi
-}
-
-src_prepare() {
- # tests/suite directory is not distributed
- sed -i -e 's|AC_CONFIG_FILES(\[tests/suite/Makefile\])|:|' \
- configure.ac || die
-
- sed -i -e 's/imagesdir = $(infodir)/imagesdir = $(htmldir)/' \
- doc/Makefile.am || die
-
- for dir in . lib libextra; do
- sed -i -e '/^AM_INIT_AUTOMAKE/s/-Werror//' "${dir}/configure.ac" || die
- done
-
- epatch "${FILESDIR}"/${PN}-2.12.20-AF_UNIX.patch
- epatch "${FILESDIR}"/${PN}-2.12.20-libadd.patch
- epatch "${FILESDIR}"/${PN}-2.12.20-guile-parallelmake.patch
- epatch "${FILESDIR}"/${P}-hppa.patch
- epatch "${FILESDIR}"/${P}-gl-tests-getaddrinfo-skip-if-no-network.patch
- epatch "${FILESDIR}"/${P}-gdoc-perl-5.18.patch
- epatch "${FILESDIR}"/${P}-CVE-2013-2116.patch
- epatch "${FILESDIR}"/${P}-CVE-2014-0092.patch
- epatch "${FILESDIR}"/${P}-CVE-2014-1959.patch
- epatch "${FILESDIR}"/${P}-CVE-2014-3466.patch
- epatch "${FILESDIR}"/${P}-CVE-2014-3467.patch
- epatch "${FILESDIR}"/${P}-CVE-2014-3468.patch
- epatch "${FILESDIR}"/${P}-CVE-2014-3469.patch
- epatch "${FILESDIR}"/${P}-cross-compile.patch
-
- # support user patches
- epatch_user
-
- eautoreconf
-
- # Use sane .so versioning on FreeBSD.
- elibtoolize
-}
-
-src_configure() {
- local myconf
- use bindist && myconf="--without-lzo" || myconf="$(use_with lzo)"
- [[ "${VALGRIND_TESTS}" != "1" ]] && myconf+=" --disable-valgrind-tests"
-
- econf \
- --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
- --without-libgcrypt-prefix \
- --without-libnettle-prefix \
- --without-libpth-prefix \
- --without-libreadline-prefix \
- $(use_enable cxx) \
- $(use_enable doc gtk-doc) \
- $(use_enable doc gtk-doc-pdf) \
- $(use_enable guile) \
- $(use_with !nettle libgcrypt) \
- $(use_enable nls) \
- $(use_with pkcs11 p11-kit) \
- $(use_enable static-libs static) \
- $(use_with zlib) \
- ${myconf}
-}
-
-src_test() {
- if has_version dev-util/valgrind && [[ ${VALGRIND_TESTS} != 1 ]]; then
- elog
- elog "You can set VALGRIND_TESTS=\"1\" to enable Valgrind tests."
- elog
- fi
-
- # parallel testing often fails
- emake -j1 check
-}
-
-src_install() {
- default
-
- prune_libtool_files
-
- if use doc; then
- dodoc doc/gnutls.{pdf,ps}
- dohtml doc/gnutls.html
- fi
-
- if use examples; then
- docinto examples
- dodoc doc/examples/*.c
- fi
-}
diff --git a/net-libs/gnutls/metadata.xml b/net-libs/gnutls/metadata.xml
index 49ff6cb2f495..15dc63c698a7 100644
--- a/net-libs/gnutls/metadata.xml
+++ b/net-libs/gnutls/metadata.xml
@@ -3,10 +3,6 @@
<pkgmetadata>
<herd>crypto</herd>
<use>
- <flag name="bindist">
- Disallow building LZO support, because of a license
- incompatibility with <pkg>dev-libs/lzo</pkg>
- </flag>
<flag name="crywrap" restrict="&gt;=net-libs/gnutls-3.2.10">
Build the crywrap TLS proxy service
</flag>
@@ -14,9 +10,6 @@
Build libgnutls-dane, implementing DNS-based Authentication of
Named Entities. Requires <pkg>net-dns/unbound</pkg>
</flag>
- <flag name="nettle" restrict="&lt;net-libs/gnutls-3">
- Use <pkg>dev-libs/nettle</pkg> as crypto backend
- </flag>
<flag name="openssl">
Build openssl compatibility libraries
</flag>