aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/fusenshi
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2016-03-27 22:57:59 +0800
committertijl <tijl@FreeBSD.org>2016-03-27 22:57:59 +0800
commit15fde8d043c6a14c4c0afdc5b4202bd64ec72d0d (patch)
tree95ab4f85bf7bf8cb530a6cecc47ac36a30dcab4b /deskutils/fusenshi
parenta26520fa167c589a0112b75f59be7ad0d3255855 (diff)
downloadfreebsd-ports-gnome-15fde8d043c6a14c4c0afdc5b4202bd64ec72d0d.tar.gz
freebsd-ports-gnome-15fde8d043c6a14c4c0afdc5b4202bd64ec72d0d.tar.zst
freebsd-ports-gnome-15fde8d043c6a14c4c0afdc5b4202bd64ec72d0d.zip
- 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)
Diffstat (limited to 'deskutils/fusenshi')
-rw-r--r--deskutils/fusenshi/Makefile2
-rw-r--r--deskutils/fusenshi/files/patch-src_net_fusenshisslclientsocket.cpp20
-rw-r--r--deskutils/fusenshi/files/patch-src_net_fusenshisslserversocket.cpp22
3 files changed, 43 insertions, 1 deletions
diff --git a/deskutils/fusenshi/Makefile b/deskutils/fusenshi/Makefile
index c484a40a3d85..f761cca8d746 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 000000000000..bbfa80624d3a
--- /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 000000000000..0445869b673a
--- /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);