[arch-commits] Commit in loudmouth/trunk (PKGBUILD gnutls-3.4.0.patch)
Andreas Radke
andyrtr at archlinux.org
Fri Apr 17 20:40:45 UTC 2015
Date: Friday, April 17, 2015 @ 22:40:44
Author: andyrtr
Revision: 237322
upgpkg: loudmouth 1.4.3-5
gnutls rebuild
Added:
loudmouth/trunk/gnutls-3.4.0.patch
Modified:
loudmouth/trunk/PKGBUILD
--------------------+
PKGBUILD | 9 ++++++---
gnutls-3.4.0.patch | 20 ++++++++++++++++++++
2 files changed, 26 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-04-17 20:17:33 UTC (rev 237321)
+++ PKGBUILD 2015-04-17 20:40:44 UTC (rev 237322)
@@ -5,7 +5,7 @@
pkgname=loudmouth
pkgver=1.4.3
-pkgrel=4
+pkgrel=5
pkgdesc="A lightweight Jabber client library written in C/Glib"
arch=('i686' 'x86_64')
license=('LGPL')
@@ -17,13 +17,15 @@
03-drop-stanzas-on-fail.patch
04-use-pkg-config-for-gnutls.patch
07-glib-single-include.patch
- 08-fix-ipv6-connect.patch)
+ 08-fix-ipv6-connect.patch
+ gnutls-3.4.0.patch)
md5sums=('55339ca42494690c3942ee1465a96937'
'dc799cea18b24847b1e008c7424010a3'
'b7b2d81b01a5eee5fd5e21cae67b4af7'
'bffb25b9551df43255fe1706588582f3'
'd1546ed54740de536f6bb79a18c5dccb'
- '8e3071299776d32b9be27bba7d3f9ae0')
+ '8e3071299776d32b9be27bba7d3f9ae0'
+ '868f08345d9c7a42f19290d8caf8aff1')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -32,6 +34,7 @@
patch -Np1 -i ../04-use-pkg-config-for-gnutls.patch
patch -Np1 -i ../07-glib-single-include.patch
patch -Np1 -i ../08-fix-ipv6-connect.patch
+ patch -Np0 -i ../gnutls-3.4.0.patch
libtoolize --force
aclocal
autoconf
Added: gnutls-3.4.0.patch
===================================================================
--- gnutls-3.4.0.patch (rev 0)
+++ gnutls-3.4.0.patch 2015-04-17 20:40:44 UTC (rev 237322)
@@ -0,0 +1,20 @@
+--- loudmouth/lm-ssl-gnutls.c 2008-10-29 14:45:10.000000000 +0100
++++ loudmouth/lm-ssl-gnutls.c.new 2015-04-17 22:35:06.703672306 +0200
+@@ -196,17 +196,9 @@
+ {
+ int ret;
+ gboolean auth_ok = TRUE;
+- const int cert_type_priority[] =
+- { GNUTLS_CRT_X509, GNUTLS_CRT_OPENPGP, 0 };
+- const int compression_priority[] =
+- { GNUTLS_COMP_DEFLATE, GNUTLS_COMP_NULL, 0 };
+
+ gnutls_init (&ssl->gnutls_session, GNUTLS_CLIENT);
+ gnutls_set_default_priority (ssl->gnutls_session);
+- gnutls_certificate_type_set_priority (ssl->gnutls_session,
+- cert_type_priority);
+- gnutls_compression_set_priority (ssl->gnutls_session,
+- compression_priority);
+ gnutls_credentials_set (ssl->gnutls_session,
+ GNUTLS_CRD_CERTIFICATE,
+ ssl->gnutls_xcred);
More information about the arch-commits
mailing list