From de162e658d0304ce4607f9ba49d6f0b78dd083d3 Mon Sep 17 00:00:00 2001 From: tijl Date: Sun, 27 Mar 2016 14:57:59 +0000 Subject: - Update security/gnutls to 3.4.10. - Rename the LIBDANE option DANE because that's the name of the protocol supported by libgnutls-dane and gnutls-cli. Also clarify the option description. - Add an IDN option. - libgnutls-openssl has been removed in 3.4. Some ports used this library in their LIB_DEPENDS but no port actually required it. - Some old API functions have been removed. Ports that used these have been updated or patched to use the new API. - Add a patch to print/cups to prevent overlinking of libgnutls.so. - Bump PORTREVISION on dependent ports. net-im/jabber: This port used the old API to give users fine grained control over which crypto algorithms were used via a configuration file. It's not immediately obvious how to port this to the new API so the port always uses the defaults now. www/hydra: Mark BROKEN. This uses more removed calls than the other ports, is said to be alpha quality and not fully functional and has been abandoned 10 years ago. PR: 207768 Exp-run by: antoine Approved by: portmgr (antoine) --- deskutils/fusenshi/Makefile | 2 +- .../patch-src_net_fusenshisslclientsocket.cpp | 20 ++++++++++++++++++++ .../patch-src_net_fusenshisslserversocket.cpp | 22 ++++++++++++++++++++++ deskutils/taskd/Makefile | 2 +- deskutils/taskwarrior/Makefile | 1 + 5 files changed, 45 insertions(+), 2 deletions(-) create mode 100644 deskutils/fusenshi/files/patch-src_net_fusenshisslclientsocket.cpp create mode 100644 deskutils/fusenshi/files/patch-src_net_fusenshisslserversocket.cpp (limited to 'deskutils') diff --git a/deskutils/fusenshi/Makefile b/deskutils/fusenshi/Makefile index c484a40..f761cca 100644 --- a/deskutils/fusenshi/Makefile +++ b/deskutils/fusenshi/Makefile @@ -3,7 +3,7 @@ PORTNAME= fusenshi PORTVERSION= 0.9.0 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= deskutils MASTER_SITES= http://www.ongs.co.jp/projects/fusenshi/ diff --git a/deskutils/fusenshi/files/patch-src_net_fusenshisslclientsocket.cpp b/deskutils/fusenshi/files/patch-src_net_fusenshisslclientsocket.cpp new file mode 100644 index 0000000..bbfa806 --- /dev/null +++ b/deskutils/fusenshi/files/patch-src_net_fusenshisslclientsocket.cpp @@ -0,0 +1,20 @@ +--- src/net/fusenshisslclientsocket.cpp.orig 2007-04-02 10:44:52 UTC ++++ src/net/fusenshisslclientsocket.cpp +@@ -52,9 +52,6 @@ bool FusenshiSSLClientSocket::connect(un + { + // 通信を暗号化しますが、ホストの証明は行いません。 + int ret; +- const int cert_priority[] = { +- GNUTLS_CRT_X509, 0 +- }; + + if (NULL != m_session) close(); + +@@ -64,7 +61,6 @@ bool FusenshiSSLClientSocket::connect(un + + gnutls_init(&m_session, GNUTLS_CLIENT); + gnutls_set_default_priority(m_session); +- gnutls_certificate_type_set_priority(m_session, cert_priority); + + gnutls_credentials_set(m_session, GNUTLS_CRD_CERTIFICATE, cert); + diff --git a/deskutils/fusenshi/files/patch-src_net_fusenshisslserversocket.cpp b/deskutils/fusenshi/files/patch-src_net_fusenshisslserversocket.cpp new file mode 100644 index 0000000..0445869 --- /dev/null +++ b/deskutils/fusenshi/files/patch-src_net_fusenshisslserversocket.cpp @@ -0,0 +1,22 @@ +--- src/net/fusenshisslserversocket.cpp.orig 2007-04-02 10:44:52 UTC ++++ src/net/fusenshisslserversocket.cpp +@@ -56,9 +56,6 @@ public: + bool sslAccept(int sock) + { + int ret; +- const int cert_priority[] = { +- GNUTLS_CRT_X509, 0 +- }; + + m_socket = sock; + +@@ -69,8 +66,7 @@ public: + if (!cert) return false; + + gnutls_init(&m_session, GNUTLS_SERVER); +- gnutls_set_default_export_priority(m_session); +- gnutls_certificate_type_set_priority(m_session, cert_priority); ++ gnutls_set_default_priority(m_session); + + gnutls_credentials_set(m_session, GNUTLS_CRD_CERTIFICATE, cert); + gnutls_certificate_server_set_request(m_session, GNUTLS_CERT_REQUIRE); diff --git a/deskutils/taskd/Makefile b/deskutils/taskd/Makefile index 8697530..d7e9fcd 100644 --- a/deskutils/taskd/Makefile +++ b/deskutils/taskd/Makefile @@ -3,7 +3,7 @@ PORTNAME= taskd PORTVERSION= 1.1.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= deskutils MASTER_SITES= http://taskwarrior.org/download/ diff --git a/deskutils/taskwarrior/Makefile b/deskutils/taskwarrior/Makefile index 6c31cbc..862b04c 100644 --- a/deskutils/taskwarrior/Makefile +++ b/deskutils/taskwarrior/Makefile @@ -3,6 +3,7 @@ PORTNAME= taskwarrior PORTVERSION= 2.5.0 +PORTREVISION= 1 CATEGORIES= deskutils DISTNAME= task-${PORTVERSION} -- cgit v1.1