mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 20:20:06 +02:00
net-libs/gnutls: drop older versions (#2961)
* net-libs/gnutls: drop version 3.4.17 * net-libs/gnutls: disable version 3.6.3
This commit is contained in:
@@ -1,143 +0,0 @@
|
||||
SUMMARY="A TLS 1.0 and SSL 3.0 implementation for the GNU project"
|
||||
DESCRIPTION="GnuTLS is a secure communications library implementing the SSL, \
|
||||
TLS and DTLS protocols and technologies around them. It provides a simple C \
|
||||
language application programming interface (API) to access the secure \
|
||||
communications protocols as well as APIs to parse and write X.509, PKCS #12, \
|
||||
OpenPGP and other required structures. It is aimed to be portable and \
|
||||
efficient with focus on security and interoperability."
|
||||
HOMEPAGE="https://www.gnutls.org/"
|
||||
COPYRIGHT="2000-2016 Free Software Fundation Inc.
|
||||
2004-2008 Simon Josefsson
|
||||
2000-2004 Nikos Mavrogiannopoulos"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
REVISION="4"
|
||||
SOURCE_URI="ftp://ftp.gnutls.org/gcrypt/gnutls/v${portVersion%\.*}/gnutls-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="9b50e8a670d5e950425d96935c7ddd415eb6f8079615a36df425f09a3143172e"
|
||||
SOURCE_DIR="gnutls-$portVersion"
|
||||
PATCHES="gnutls-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64 ?arm ?ppc"
|
||||
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
gnutls34$secondaryArchSuffix = $portVersion
|
||||
lib:libgnutls$secondaryArchSuffix = 30.7.0 compat >= 30
|
||||
lib:libgnutls_openssl$secondaryArchSuffix = 27.0.2 compat >= 27
|
||||
lib:libgnutlsxx$secondaryArchSuffix = 28.1.0 compat >= 28
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libgmp$secondaryArchSuffix
|
||||
lib:libgpg_error$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libnettle$secondaryArchSuffix
|
||||
lib:libtasn1$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
CONFLICTS="
|
||||
gnutls35$secondaryArchSuffix
|
||||
gnutls36$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_bin="
|
||||
gnutls34${secondaryArchSuffix}_bin = $portVersion
|
||||
cmd:certtool$secondaryArchSuffix
|
||||
cmd:gnutls_cli$secondaryArchSuffix
|
||||
cmd:gnutls_cli_debug$secondaryArchSuffix
|
||||
cmd:gnutls_serv$secondaryArchSuffix
|
||||
cmd:ocsptool$secondaryArchSuffix
|
||||
cmd:psktool$secondaryArchSuffix
|
||||
cmd:srptool$secondaryArchSuffix
|
||||
"
|
||||
REQUIRES_bin="
|
||||
gnutls34$secondaryArchSuffix == $portVersion base
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libgcrypt$secondaryArchSuffix
|
||||
lib:libgmp$secondaryArchSuffix
|
||||
lib:libgpg_error$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libnettle$secondaryArchSuffix
|
||||
lib:libtasn1$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
CONFLICTS_bin="
|
||||
gnutls${secondaryArchSuffix}_bin
|
||||
gnutls35${secondaryArchSuffix}_bin
|
||||
gnutls36${secondaryArchSuffix}_bin
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
gnutls34${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libgnutls$secondaryArchSuffix = 30.7.0 compat >= 30
|
||||
devel:libgnutls_openssl$secondaryArchSuffix = 27.0.2 compat >= 27
|
||||
devel:libgnutlsxx$secondaryArchSuffix = 28.1.0 compat >= 28
|
||||
"
|
||||
REQUIRES_devel="
|
||||
gnutls34$secondaryArchSuffix == $portVersion base
|
||||
devel:libgcrypt$secondaryArchSuffix
|
||||
devel:libgpg_error$secondaryArchSuffix
|
||||
devel:libnettle$secondaryArchSuffix
|
||||
devel:libtasn1$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
CONFLICTS_devel="
|
||||
gnutls${secondaryArchSuffix}_devel
|
||||
gnutls35${secondaryArchSuffix}_devel
|
||||
gnutls36${secondaryArchSuffix}_devel
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libgcrypt$secondaryArchSuffix
|
||||
devel:libgmp$secondaryArchSuffix
|
||||
devel:libgpg_error$secondaryArchSuffix
|
||||
devel:libiconv$secondaryArchSuffix
|
||||
devel:libnettle$secondaryArchSuffix
|
||||
devel:libtasn1$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:autoheader
|
||||
cmd:autom4te
|
||||
cmd:automake
|
||||
cmd:find
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:makeinfo
|
||||
cmd:perl
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure --without-p11-kit --disable-nls \
|
||||
--enable-openssl-compatibility
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
rm -f $libDir/lib*.la
|
||||
|
||||
prepareInstalledDevelLibs libgnutls-openssl libgnutls libgnutlsxx
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel \
|
||||
$developDir \
|
||||
$manDir/man3
|
||||
|
||||
packageEntries bin \
|
||||
$binDir \
|
||||
$documentationDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
@@ -16,8 +16,8 @@ CHECKSUM_SHA256="ed642b66a4ecf4851ab2d809cd1475c297b6201d8e8bd14b4d1c08b53ffca99
|
||||
SOURCE_DIR="gnutls-$portVersion"
|
||||
PATCHES="gnutls-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64 ?arm ?ppc"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64 ?arm ?ppc"
|
||||
SECONDARY_ARCHITECTURES="?x86"
|
||||
|
||||
libgnutls_opensslVersion="27.0.2"
|
||||
libgnutlsVersion="30.21.0"
|
||||
|
||||
@@ -1,131 +0,0 @@
|
||||
From 9ae7b7ca24f41d064b6020137e0aecf7e67c0893 Mon Sep 17 00:00:00 2001
|
||||
From: fbrosson <fbrosson@localhost>
|
||||
Date: Tue, 7 Jun 2016 03:05:44 +0000
|
||||
Subject: include sys/select.h
|
||||
|
||||
|
||||
diff --git a/tests/mini-dtls-mtu.c b/tests/mini-dtls-mtu.c
|
||||
index 6f52e33..4e8ee4d 100644
|
||||
--- a/tests/mini-dtls-mtu.c
|
||||
+++ b/tests/mini-dtls-mtu.c
|
||||
@@ -24,6 +24,9 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
+#ifdef __HAIKU__
|
||||
+# include <sys/select.h>
|
||||
+#endif
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
diff --git a/tests/mini-dtls-pthread.c b/tests/mini-dtls-pthread.c
|
||||
index 64cbba5..f447eab 100644
|
||||
--- a/tests/mini-dtls-pthread.c
|
||||
+++ b/tests/mini-dtls-pthread.c
|
||||
@@ -26,6 +26,9 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
+#ifdef __HAIKU__
|
||||
+# include <sys/select.h>
|
||||
+#endif
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
diff --git a/tests/mini-dtls-record-asym.c b/tests/mini-dtls-record-asym.c
|
||||
index 9087dc5..0c72b5a 100644
|
||||
--- a/tests/mini-dtls-record-asym.c
|
||||
+++ b/tests/mini-dtls-record-asym.c
|
||||
@@ -26,6 +26,9 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
+#ifdef __HAIKU__
|
||||
+# include <sys/select.h>
|
||||
+#endif
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
diff --git a/tests/mini-record-failure.c b/tests/mini-record-failure.c
|
||||
index a13e9a1..4e86760 100644
|
||||
--- a/tests/mini-record-failure.c
|
||||
+++ b/tests/mini-record-failure.c
|
||||
@@ -26,6 +26,9 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
+#ifdef __HAIKU__
|
||||
+# include <sys/select.h>
|
||||
+#endif
|
||||
|
||||
#if defined(_WIN32)
|
||||
|
||||
--
|
||||
2.7.0
|
||||
|
||||
|
||||
From b09109e729147a22a6be72dfc32a8e00151fdb27 Mon Sep 17 00:00:00 2001
|
||||
From: fbrosson <fbrosson@localhost>
|
||||
Date: Tue, 7 Jun 2016 03:05:44 +0000
|
||||
Subject: link mini-dtls-pthread without libpthread.
|
||||
|
||||
|
||||
diff --git a/tests/Makefile.am b/tests/Makefile.am
|
||||
index f0fcea3..fbe8a0b 100644
|
||||
--- a/tests/Makefile.am
|
||||
+++ b/tests/Makefile.am
|
||||
@@ -95,7 +95,7 @@ ctests = mini-record-2 simple gc set_pkcs12_cred certder certuniqueid \
|
||||
global-init-override pcert-list keylog-env pkcs7-cat-parse \
|
||||
multi-alerts naked-alerts
|
||||
|
||||
-mini_dtls_pthread_LDADD = $(LDADD) -lpthread
|
||||
+mini_dtls_pthread_LDADD = $(LDADD)
|
||||
|
||||
if ENABLE_PKCS11
|
||||
if !WINDOWS
|
||||
--
|
||||
2.7.0
|
||||
|
||||
|
||||
From aa560535eef19064c892a1051492576fdd54183c Mon Sep 17 00:00:00 2001
|
||||
From: fbrosson <fbrosson@localhost>
|
||||
Date: Wed, 15 Jun 2016 11:04:44 +0000
|
||||
Subject: Do not skip the test-float test in gl/tests/.
|
||||
|
||||
|
||||
diff --git a/gl/tests/test-float.c b/gl/tests/test-float.c
|
||||
index 1c95b12..fbc2862 100644
|
||||
--- a/gl/tests/test-float.c
|
||||
+++ b/gl/tests/test-float.c
|
||||
@@ -23,7 +23,7 @@
|
||||
#include "fpucw.h"
|
||||
#include "macros.h"
|
||||
|
||||
-#if 0
|
||||
+#if 1
|
||||
|
||||
/* Check that FLT_RADIX is a constant expression. */
|
||||
int a[] = { FLT_RADIX };
|
||||
--
|
||||
2.8.4
|
||||
|
||||
|
||||
From b2826162157672e4b8ea7d0ceb03282e596734e1 Mon Sep 17 00:00:00 2001
|
||||
From: fbrosson <fbrosson@localhost>
|
||||
Date: Wed, 6 Jul 2016 22:11:20 +0000
|
||||
Subject: Use /bin/perl instead of /usr/bin/perl.
|
||||
|
||||
|
||||
diff --git a/doc/scripts/split-texi.pl b/doc/scripts/split-texi.pl
|
||||
index 34978d3..96b1067 100755
|
||||
--- a/doc/scripts/split-texi.pl
|
||||
+++ b/doc/scripts/split-texi.pl
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/perl
|
||||
+#!/bin/perl
|
||||
|
||||
# Copyright (C) 2011-2012 Free Software Foundation, Inc.
|
||||
#
|
||||
--
|
||||
2.9.0
|
||||
|
||||
Reference in New Issue
Block a user