- Replace security/gnutls with security/gnutls3 and update to 3.2.15

- Bump PORTREVISION on all ports that depend on security/gnutls and
  adjust all ports that depend on security/gnutls3
- Update mail/anubis to version 4.2 which supports gnutls 3.x
- Update mail/libvmime to a development snapshot (recommended by upstream
  developers)

PR:		191274
Exp-run by:	antoine
Approved by:	portmgr (antoine)
This commit is contained in:
Tijl Coosemans
2014-07-23 09:54:02 +00:00
parent 63d0ab27e8
commit 3ab1b8443e
145 changed files with 855 additions and 2324 deletions

View File

@@ -3,7 +3,7 @@
PORTNAME= ctrlproxy
PORTVERSION= 3.0.8
PORTREVISION= 6
PORTREVISION= 7
CATEGORIES= irc
MASTER_SITES= http://launchpadlibrarian.net/50016234/ \
LOCAL/ashish/

View File

@@ -1,6 +1,3 @@
$FreeBSD$
--- src/gnutls.c.orig
+++ src/gnutls.c
@@ -18,7 +18,6 @@
@@ -11,6 +8,21 @@ $FreeBSD$
#include <gnutls/gnutls.h>
#include <gnutls/x509.h>
@@ -47,11 +46,11 @@
static gboolean
verify_certificate (gnutls_session session, const char *hostname, GError **err)
{
- int status;
+ int res, status;
- status = gnutls_certificate_verify_peers (session);
+ res = gnutls_certificate_verify_peers2 (session, &status);
- if (status == GNUTLS_E_NO_CERTIFICATE_FOUND) {
+ if (res < 0 || status == GNUTLS_E_NO_CERTIFICATE_FOUND) {
g_set_error (err, SSL_ERROR,
SSL_ERROR_CERTIFICATE,
"No SSL certificate was sent.");
@@ -452,9 +451,6 @@
static void
_gnutls_init (void)