diff options
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/gnutls/ChangeLog | 15 | ||||
-rw-r--r-- | net-libs/gnutls/Manifest | 19 | ||||
-rw-r--r-- | net-libs/gnutls/files/gnutls-2.12.23-gl-tests-getaddrinfo-skip-if-no-network.patch | 30 | ||||
-rw-r--r-- | net-libs/gnutls/gnutls-3.2.18-r1.ebuild | 163 | ||||
-rw-r--r-- | net-libs/gnutls/metadata.xml | 17 |
5 files changed, 0 insertions, 244 deletions
diff --git a/net-libs/gnutls/ChangeLog b/net-libs/gnutls/ChangeLog deleted file mode 100644 index 4d19352..0000000 --- a/net-libs/gnutls/ChangeLog +++ /dev/null @@ -1,15 +0,0 @@ -# ChangeLog for net-libs/gnutls -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: $ - - 20 Oct 2014; Francisco Blas Izquierdo Riera (klondike) - gnutls-3.2.18-r1.ebuild: - Remove unnecessary line - -*gnutls-3.2.18-r1 (12 Oct 2014) - - 12 Oct 2014; Francisco Blas Izquierdo Riera (klondike) - +gnutls-3.2.18-r1.ebuild, - +files/gnutls-2.12.23-gl-tests-getaddrinfo-skip-if-no-network.patch, - +metadata.xml: - Add multilib support to gnutls-3.2.18 diff --git a/net-libs/gnutls/Manifest b/net-libs/gnutls/Manifest deleted file mode 100644 index 737279a..0000000 --- a/net-libs/gnutls/Manifest +++ /dev/null @@ -1,19 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - -AUX gnutls-2.12.23-gl-tests-getaddrinfo-skip-if-no-network.patch 1146 SHA256 0644a00f75987f8a8906ec536b4b29967c24ae22ece8dfee074af3f85be566b5 SHA512 ea3062f90ace33a6229fe10f9a1fb492e84905dce0231309d2c105386c45a151d99c140c66158435ebe4781defc5a536775f4d68b3552208885636e5ed4b7223 WHIRLPOOL ee131aa7709e717cf5e893d5073dbc7eeec569e2a6e48094534dcf8f0d3d17b8a4f75da0a2c91ed2d70e37ef4429d7759dffce4948fd508dcbc0e081a8d98aa0 -DIST gnutls-3.2.18.tar.xz 5154476 SHA256 4762afab5e1b9e829c5f53d2b00cd5e41d43fa6d035efcf239e3fe0459134d45 SHA512 fc364be7997d31e1a1855d871b4a9564ee5a3e9c2900839f9c32fcc656e67c916ef634508bc0363b8b3f0cba131c97596509f838c1e9b3ac2b56b224eee43908 WHIRLPOOL 6da2bcfca5755a7fd3ce922b3bbeb21a44c2fc5446b342361577a4eb216ae01867cbf49d01fe44a75ca850dbf960c481e5f122f37669ea404e5213fc8b0e5491 -EBUILD gnutls-3.2.18-r1.ebuild 4625 SHA256 7b602e1bbded0c258b97e4c8e4a005c1cd5ae185927e6a6b4c65c72555e25ede SHA512 e5c4132c541902d08d484e343253bf9366c1772eec98c73b98f79a53e59aa65c386389cc8f6042a7a58e2be197b6b38dbe53d460ecb3f580bcbbca5a41e16241 WHIRLPOOL 3d51cdfbe51567768062fa9856d8a78f2b1c9a012b3b449689ae887e00f83e9f64ea6e213921dcd72ebd9667c989a5f809e78727a6945afa6cd20a426497c8b4 -MISC ChangeLog 473 SHA256 51f7bf63adac05262aefee739c6c47c9bb0d43f66fc5b2c5c80f5ac79cd77042 SHA512 12396b19f803a8dc4591328c826d7f314814b4c241c4a0c41d5be03a3b3ff98f0c45f88b2c8ba6701de6d93d46a75db0923872253534b4bf4d9e0c7d045b0885 WHIRLPOOL f39f8f44becf30a56605201a5db7f78ce57f5a7d1c8b2c3d9f7e60c1c2f49cb88c9764219ca92bbc489a6e14023c2fa3156d89e3ea815639620a5006d2f7617a -MISC metadata.xml 602 SHA256 012fd9efe65e066caeec2f884c07e49945aadf42bb9400ad88d29059ca32ca51 SHA512 de57f4e463b2e7af3e104ece18eed4f150d1424a64821192d2efd950c3d83fac1f077906c8d2afc5700d6682ea97b39a62679ee91a3ac0706dbe6f589c0b7e63 WHIRLPOOL d5ea2c038b61acb2f7429ef37b7e41cf8a8f41843a390b4a9bb406a136d5f811eae0c5eec154c0fbdd0c8e1f186f17525b4d306be4af69b8d0e91ed185c3037d ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2 - -iQEcBAEBCAAGBQJURGTKAAoJEKXBodJLEo5SmJ0IAJW2m4gsSy0jzUSi8rPCxzQt -ZB6f0sEr9bvJcGCfaxPuikclPRVmNq2lmoC9Yct7++QzBGn5VkwrUIq27YmzC2Vv -5Mr5/abKeVDo7HzMT/Lq8UjbRKbQg/h+fIazCAt/LjnELi/5F/zXSYPoLyFDNJ2K -Bux9Yj5jXNK/Dyy75G24fNNSGcVEkb1SIKy4tp7VkTKYn07Elb7gHndaNNRaoI0T -T4Xib4eRNyn5WL9PJoIjK9gyR3MWB511XpB+JHUXu6OA9P6pUzK1J4KiZI/boQt0 -mUxSGOAkh6AVeO/t7k89Rl+558X/4OroEl+gDC/45bmnYY/UHBnTOVbz6ShXQ+U= -=reTi ------END PGP SIGNATURE----- diff --git a/net-libs/gnutls/files/gnutls-2.12.23-gl-tests-getaddrinfo-skip-if-no-network.patch b/net-libs/gnutls/files/gnutls-2.12.23-gl-tests-getaddrinfo-skip-if-no-network.patch deleted file mode 100644 index 6d04ccb..0000000 --- a/net-libs/gnutls/files/gnutls-2.12.23-gl-tests-getaddrinfo-skip-if-no-network.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 4b3252d59ef2d73118e2de6743ba58e2cbafa008 Mon Sep 17 00:00:00 2001 -From: Alon Bar-Lev <alon.barlev@gmail.com> -Date: Sat, 8 Mar 2014 22:13:51 +0200 -Subject: [PATCH] tests: getaddrinfo: skip if no network - -When running tests under network sandbox, there is no connectivity to -the DNS, in this case function returns system error and ECONNREFUSED -this should result in skipping test. - -Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com> ---- - tests/test-getaddrinfo.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/gl/tests/test-getaddrinfo.c b/gl/tests/test-getaddrinfo.c -index acf9cd6..b155410 100644 ---- a/gl/tests/test-getaddrinfo.c -+++ b/gl/tests/test-getaddrinfo.c -@@ -85,7 +85,7 @@ simple (char const *host, char const *service) - /* EAI_AGAIN is returned if no network is available. Don't fail - the test merely because someone is down the country on their - in-law's farm. */ -- if (res == EAI_AGAIN) -+ if (res == EAI_AGAIN || (res == EAI_SYSTEM && err == ECONNREFUSED)) - { - skip++; - fprintf (stderr, "skipping getaddrinfo test: no network?\n"); --- -1.8.3.2 - diff --git a/net-libs/gnutls/gnutls-3.2.18-r1.ebuild b/net-libs/gnutls/gnutls-3.2.18-r1.ebuild deleted file mode 100644 index d4e24c7..0000000 --- a/net-libs/gnutls/gnutls-3.2.18-r1.ebuild +++ /dev/null @@ -1,163 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -inherit autotools libtool eutils multilib-minimal versionator - -DESCRIPTION="A TLS 1.2 and SSL 3.0 implementation for the GNU project" -HOMEPAGE="http://www.gnutls.org/" -SRC_URI="mirror://gnupg/gnutls/v$(get_version_component_range 1-2)/${P}.tar.xz" - -# LGPL-3 for libgnutls library and GPL-3 for libgnutls-extra library. -# soon to be relicensed as LGPL-2.1 unless heartbeat extension enabled. -LICENSE="GPL-3 LGPL-3" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" -IUSE_LINGUAS=" en cs de fi fr it ms nl pl sv uk vi zh_CN" -IUSE="+cxx +crywrap dane doc examples guile nls pkcs11 static-libs test zlib ${IUSE_LINGUAS// / linguas_}" -# heartbeat support is not disabled until re-licensing happens fullyf - -# NOTICE: sys-devel/autogen is required at runtime as we -# use system libopts -RDEPEND=">=dev-libs/libtasn1-2.14[${MULTILIB_USEDEP}] - >=dev-libs/nettle-2.7[gmp,${MULTILIB_USEDEP}] - dev-libs/gmp[${MULTILIB_USEDEP}] - sys-devel/autogen - crywrap? ( net-dns/libidn ) - dane? ( net-dns/unbound[${MULTILIB_USEDEP}] ) - guile? ( >=dev-scheme/guile-1.8[networking] ) - nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] ) - pkcs11? ( >=app-crypt/p11-kit-0.19.2[${MULTILIB_USEDEP}] ) - zlib? ( >=sys-libs/zlib-1.2.3.1[${MULTILIB_USEDEP}] ) - abi_x86_32? ( - !<=app-emulation/emul-linux-x86-baselibs-20140508 - !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] - )" -DEPEND="${RDEPEND} - >=sys-devel/automake-1.11.6 - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] - doc? ( dev-util/gtk-doc ) - nls? ( sys-devel/gettext ) - test? ( app-misc/datefudge )" - -DOCS=( AUTHORS ChangeLog NEWS README THANKS doc/TODO ) - -S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)" - -src_prepare() { - # tests/suite directory is not distributed - sed -i \ - -e ':AC_CONFIG_FILES(\[tests/suite/Makefile\]):d' \ - -e '/^AM_INIT_AUTOMAKE/s/-Werror//' \ - configure.ac || die - - sed -i \ - -e 's/imagesdir = $(infodir)/imagesdir = $(htmldir)/' \ - doc/Makefile.am || die - - # force regeneration of autogen-ed files - local file - for file in $(grep -l AutoGen-ed src/*.c) ; do - rm src/$(basename ${file} .c).{c,h} || die - done - - epatch "${FILESDIR}/${PN}-2.12.23-gl-tests-getaddrinfo-skip-if-no-network.patch" - - # support user patches - epatch_user - - eautoreconf - - # Use sane .so versioning on FreeBSD. - elibtoolize - - # bug 497472 - use cxx || epunt_cxx - - #Not copying the sources results in compilation errors by missing .c files - multilib_copy_sources -} - -multilib_src_configure() { - LINGUAS="${LINGUAS//en/en@boldquot en@quot}" - - # TPM needs to be tested before being enabled - # hardware-accell is disabled on OSX because the asm files force - # GNU-stack (as doesn't support that) and when that's removed ld - # complains about duplicate symbols - econf \ - --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \ - --disable-valgrind-tests \ - --enable-heartbeat-support \ - $(use_enable cxx) \ - $(use_enable dane libdane) \ - $(multilib_native_use_enable doc gtk-doc) \ - $(multilib_native_use_enable doc gtk-doc-pdf) \ - $(multilib_native_use_enable guile) \ - $(multilib_native_use_enable crywrap) \ - $(use_enable nls) \ - $(use_enable static-libs static) \ - $(use_with pkcs11 p11-kit) \ - $(use_with zlib) \ - --without-tpm \ - $([[ ${CHOST} == *-darwin* ]] && echo --disable-hardware-acceleration) -} - -multilib_src_compile() { - if multilib_is_native_abi; then - default - - # symlink certtool for use in other ABIs - if use test; then - ln -s "${BUILD_DIR}"/src "${T}"/native-tools || die - fi - else - emake -C gl - emake -C lib - emake -C extra - use dane && emake -C libdane - fi -} - -multilib_src_test() { - if multilib_is_native_abi; then - # parallel testing often fails - emake -j1 check - else - # use native ABI tools - ln -s "${T}"/native-tools/{certtool,gnutls-{serv,cli}} \ - "${BUILD_DIR}"/src/ || die - - emake -C gl -j1 check - emake -C tests -j1 check - fi -} - -multilib_src_install() { - if multilib_is_native_abi; then - emake DESTDIR="${D}" install - else - emake -C lib DESTDIR="${D}" install - emake -C extra DESTDIR="${D}" install - use dane && emake -C libdane DESTDIR="${D}" install - fi -} - -multilib_src_install_all() { - einstalldocs - prune_libtool_files --all - - dodoc doc/certtool.cfg - - if use doc; then - dodoc doc/gnutls.pdf - 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 deleted file mode 100644 index d4fd787..0000000 --- a/net-libs/gnutls/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>crypto</herd> - <use> - <flag name="crywrap" restrict=">=net-libs/gnutls-3.2.10"> - Build the crywrap TLS proxy service - </flag> - <flag name="dane" restrict=">=net-libs/gnutls-3.1.3"> - Build libgnutls-dane, implementing DNS-based Authentication of - Named Entities. Requires <pkg>net-dns/unbound</pkg>. - </flag> - <flag name="pkcs11"> - Add support for PKCS#11 through <pkg>app-crypt/p11-kit</pkg> - </flag> - </use> -</pkgmetadata> |