Skip to content

Commit

Permalink
gnutls: bump to 3.4.17 & 3.5.7.
Browse files Browse the repository at this point in the history
* Add dependency on libunistring for 3.5.7.
* Drop cmd:{cvs,git} for 3.4.17 & 3.5.7.
  • Loading branch information
fbrosson committed Dec 9, 2016
1 parent c155e32 commit f9dada5
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 21 deletions.
Expand Up @@ -12,7 +12,7 @@ COPYRIGHT="2000-2016 Free Software Fundation Inc.
LICENSE="GNU LGPL v2.1"
REVISION="1"
SOURCE_URI="ftp://ftp.gnutls.org/gcrypt/gnutls/v${portVersion%\.*}/gnutls-$portVersion.tar.xz"
CHECKSUM_SHA256="d99abb1b320771b58c949bab85e4b654dd1e3e9d92e2572204b7dc479d923927"
CHECKSUM_SHA256="9b50e8a670d5e950425d96935c7ddd415eb6f8079615a36df425f09a3143172e"
SOURCE_DIR="gnutls-$portVersion"
PATCHES="gnutls-$portVersion.patchset"

Expand All @@ -22,16 +22,16 @@ SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
PROVIDES="
gnutls34$secondaryArchSuffix = $portVersion
lib:libgnutls_openssl$secondaryArchSuffix = 27.0.2 compat >= 27
lib:libgnutls$secondaryArchSuffix = 30.6.8 compat >= 30
lib:libgnutls$secondaryArchSuffix = 30.7.0 compat >= 30
lib:libgnutlsxx$secondaryArchSuffix = 28.1.0 compat >= 28
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libgpg_error$secondaryArchSuffix
lib:libnettle$secondaryArchSuffix
lib:libgmp$secondaryArchSuffix
lib:libtasn1$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
lib:libtasn1$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
CONFLICTS="
Expand All @@ -55,8 +55,8 @@ REQUIRES_bin="
lib:libgpg_error$secondaryArchSuffix
lib:libnettle$secondaryArchSuffix
lib:libgmp$secondaryArchSuffix
lib:libtasn1$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
lib:libtasn1$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
CONFLICTS_bin="
Expand All @@ -67,7 +67,7 @@ CONFLICTS_bin="
PROVIDES_devel="
gnutls${secondaryArchSuffix}_devel = $portVersion
devel:libgnutls_openssl$secondaryArchSuffix = 27.0.2 compat >= 27
devel:libgnutls$secondaryArchSuffix = 30.6.8 compat >= 30
devel:libgnutls$secondaryArchSuffix = 30.7.0 compat >= 30
devel:libgnutlsxx$secondaryArchSuffix = 28.1.0 compat >= 28
"
REQUIRES_devel="
Expand Down Expand Up @@ -107,8 +107,6 @@ BUILD_PREREQUIRES="
cmd:makeinfo
cmd:perl
cmd:pkg_config$secondaryArchSuffix
cmd:cvs
cmd:git
"

BUILD()
Expand Down
Expand Up @@ -12,7 +12,7 @@ COPYRIGHT="2000-2016 Free Software Fundation Inc.
LICENSE="GNU LGPL v2.1"
REVISION="1"
SOURCE_URI="ftp://ftp.gnutls.org/gcrypt/gnutls/v${portVersion%\.*}/gnutls-$portVersion.tar.xz"
CHECKSUM_SHA256="6338b715bf31c758606ffa489c7f87ee1beab947114fbd2ffefd73170a8c6b9a"
CHECKSUM_SHA256="60cbfc119e6268cfa38d712621daa473298a0c5b129c0842caec4c1ed4d7861a"
SOURCE_DIR="gnutls-$portVersion"
PATCHES="gnutls-$portVersion.patchset"

Expand All @@ -22,7 +22,7 @@ SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
PROVIDES="
gnutls35$secondaryArchSuffix = $portVersion
lib:libgnutls_openssl$secondaryArchSuffix = 27.0.2 compat >= 27
lib:libgnutls$secondaryArchSuffix = 30.12.0 compat >= 30
lib:libgnutls$secondaryArchSuffix = 30.13.0 compat >= 30
lib:libgnutlsxx$secondaryArchSuffix = 28.1.0 compat >= 28
"
REQUIRES="
Expand All @@ -31,8 +31,9 @@ REQUIRES="
lib:libgpg_error$secondaryArchSuffix
lib:libnettle$secondaryArchSuffix
lib:libgmp$secondaryArchSuffix
lib:libtasn1$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
lib:libtasn1$secondaryArchSuffix
lib:libunistring$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
CONFLICTS="
Expand All @@ -56,8 +57,9 @@ REQUIRES_bin="
lib:libgpg_error$secondaryArchSuffix
lib:libnettle$secondaryArchSuffix
lib:libgmp$secondaryArchSuffix
lib:libtasn1$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
lib:libtasn1$secondaryArchSuffix
lib:libunistring$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
CONFLICTS_bin="
Expand All @@ -68,7 +70,7 @@ CONFLICTS_bin="
PROVIDES_devel="
gnutls${secondaryArchSuffix}_devel = $portVersion
devel:libgnutls_openssl$secondaryArchSuffix = 27.0.2 compat >= 27
devel:libgnutls$secondaryArchSuffix = 30.12.0 compat >= 30
devel:libgnutls$secondaryArchSuffix = 30.13.0 compat >= 30
devel:libgnutlsxx$secondaryArchSuffix = 28.1.0 compat >= 28
"
REQUIRES_devel="
Expand All @@ -90,8 +92,9 @@ BUILD_REQUIRES="
devel:libgpg_error$secondaryArchSuffix
devel:libnettle$secondaryArchSuffix
devel:libgmp$secondaryArchSuffix
devel:libtasn1$secondaryArchSuffix
devel:libiconv$secondaryArchSuffix
devel:libtasn1$secondaryArchSuffix
devel:libunistring$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
Expand All @@ -108,8 +111,6 @@ BUILD_PREREQUIRES="
cmd:makeinfo
cmd:perl
cmd:pkg_config$secondaryArchSuffix
cmd:cvs
cmd:git
"

BUILD()
Expand Down
Expand Up @@ -71,12 +71,12 @@ Subject: link mini-dtls-pthread without libpthread.


diff --git a/tests/Makefile.am b/tests/Makefile.am
index d546dde..e012ab4 100644
index f0fcea3..fbe8a0b 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -94,7 +94,7 @@ ctests = mini-record-2 simple gc set_pkcs12_cred certder certuniqueid \
mini-session-verify-function auto-verify mini-x509-default-prio \
global-init-override pcert-list keylog-env
@@ -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)
Expand Down
Expand Up @@ -71,10 +71,10 @@ Subject: link mini-dtls-pthread without libpthread.


diff --git a/tests/Makefile.am b/tests/Makefile.am
index 499e821..a0137c9 100644
index af82633..732c005 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -134,8 +134,8 @@ conv_utf8_LDADD = $(CMOCKA_LDADD)
@@ -135,8 +135,8 @@ str_idna_LDADD = $(CMOCKA_LDADD)

endif

Expand Down

0 comments on commit f9dada5

Please sign in to comment.