diff options
author | wiz <wiz@pkgsrc.org> | 2005-02-23 16:07:34 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-02-23 16:07:34 +0000 |
commit | db05918574e8ac82e6cf17c52ccff26ba2d3cb9d (patch) | |
tree | c16b73a629c9660b4bd2afb8dbe3d639faaa210e | |
parent | 645a2eab08e26d1ba0884ff0ff5c1fe4ce59a6ea (diff) | |
download | pkgsrc-db05918574e8ac82e6cf17c52ccff26ba2d3cb9d.tar.gz |
Fix build with gnutls-1.2.0, and depend on it.
Bump PKGREVISION because of dependency change.
-rw-r--r-- | chat/loudmouth/Makefile | 5 | ||||
-rw-r--r-- | chat/loudmouth/distinfo | 3 | ||||
-rw-r--r-- | chat/loudmouth/patches/patch-aa | 21 |
3 files changed, 27 insertions, 2 deletions
diff --git a/chat/loudmouth/Makefile b/chat/loudmouth/Makefile index 325400f0703..d3053fa1297 100644 --- a/chat/loudmouth/Makefile +++ b/chat/loudmouth/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.9 2004/11/02 19:42:41 jmmv Exp $ +# $NetBSD: Makefile,v 1.10 2005/02/23 16:07:34 wiz Exp $ DISTNAME= loudmouth-0.17.2 +PKGREVISION= 1 CATEGORIES= chat MASTER_SITES= ${MASTER_SITE_GNOME:=sources/loudmouth/0.17/} EXTRACT_SUFX= .tar.bz2 @@ -20,6 +21,8 @@ CONFIGURE_ARGS+= --disable-debug CONFIGURE_ARGS+= --disable-gtk-doc CONFIGURE_ARGS+= --disable-mono +BUILDLINK_DEPENDS.gnutls+= gnutls>=1.2.0 + .include "../../converters/libiconv/buildlink3.mk" .include "../../devel/glib2/buildlink3.mk" .include "../../devel/pkgconfig/buildlink3.mk" diff --git a/chat/loudmouth/distinfo b/chat/loudmouth/distinfo index 969085ee142..4ad72cb2987 100644 --- a/chat/loudmouth/distinfo +++ b/chat/loudmouth/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.5 2005/02/23 15:59:12 agc Exp $ +$NetBSD: distinfo,v 1.6 2005/02/23 16:07:34 wiz Exp $ SHA1 (loudmouth-0.17.2.tar.bz2) = 8dcc61ae95c3d852d1cf88f3198e0e023e70db7e RMD160 (loudmouth-0.17.2.tar.bz2) = c90f046af52a951c0a163fd4f516b82d4709d74e Size (loudmouth-0.17.2.tar.bz2) = 286981 bytes +SHA1 (patch-aa) = c4b37369a347cb557b10739143de588b1c6008b4 diff --git a/chat/loudmouth/patches/patch-aa b/chat/loudmouth/patches/patch-aa new file mode 100644 index 00000000000..98e51e6f345 --- /dev/null +++ b/chat/loudmouth/patches/patch-aa @@ -0,0 +1,21 @@ +$NetBSD: patch-aa,v 1.1 2005/02/23 16:07:34 wiz Exp $ + +--- loudmouth/lm-ssl.c.orig 2004-10-19 09:52:48.000000000 +0200 ++++ loudmouth/lm-ssl.c +@@ -71,7 +71,6 @@ ssl_verify_certificate (LmSSL *ssl, cons + } + + if (status & GNUTLS_CERT_INVALID +- || status & GNUTLS_CERT_NOT_TRUSTED + || status & GNUTLS_CERT_REVOKED) { + if (ssl->func (ssl, LM_SSL_STATUS_UNTRUSTED_CERT, + ssl->func_data) != LM_SSL_RESPONSE_CONTINUE) { +@@ -126,7 +125,7 @@ ssl_verify_certificate (LmSSL *ssl, cons + + gnutls_x509_crt_deinit (cert); + +- if (gnutls_x509_fingerprint (GNUTLS_DIG_MD5, &cert_list[0], ++ if (gnutls_fingerprint (GNUTLS_DIG_MD5, &cert_list[0], + ssl->fingerprint, + &digest_size) >= 0) { + if (ssl->expected_fingerprint && |