pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/loudmouth Fix build with gnutls-1.2.0, and depend...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fc8c79932d8b
branches:  trunk
changeset: 489561:fc8c79932d8b
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Feb 23 16:07:34 2005 +0000

description:
Fix build with gnutls-1.2.0, and depend on it.
Bump PKGREVISION because of dependency change.

diffstat:

 chat/loudmouth/Makefile         |   5 ++++-
 chat/loudmouth/distinfo         |   3 ++-
 chat/loudmouth/patches/patch-aa |  21 +++++++++++++++++++++
 3 files changed, 27 insertions(+), 2 deletions(-)

diffs (57 lines):

diff -r 8041dcd91337 -r fc8c79932d8b chat/loudmouth/Makefile
--- a/chat/loudmouth/Makefile   Wed Feb 23 16:05:29 2005 +0000
+++ b/chat/loudmouth/Makefile   Wed Feb 23 16:07:34 2005 +0000
@@ -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-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 -r 8041dcd91337 -r fc8c79932d8b chat/loudmouth/distinfo
--- a/chat/loudmouth/distinfo   Wed Feb 23 16:05:29 2005 +0000
+++ b/chat/loudmouth/distinfo   Wed Feb 23 16:07:34 2005 +0000
@@ -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 -r 8041dcd91337 -r fc8c79932d8b chat/loudmouth/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/loudmouth/patches/patch-aa   Wed Feb 23 16:07:34 2005 +0000
@@ -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 &&



Home | Main Index | Thread Index | Old Index