aboutsummaryrefslogtreecommitdiffstats
path: root/main/loudmouth
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-04-21 05:57:27 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-04-21 08:57:06 +0000
commit03032e47e817a81f17b470f2e37dc2f758c41bd8 (patch)
treec1f60e23cd5e3c0c9ed0a99a0b68f9bfb96ce5cb /main/loudmouth
parent3bb622f86b9d7ae55933192765ad512f6a697615 (diff)
downloadaports-03032e47e817a81f17b470f2e37dc2f758c41bd8.tar.bz2
aports-03032e47e817a81f17b470f2e37dc2f758c41bd8.tar.xz
main/loudmouth: rebuild against gnutls-3.4
Diffstat (limited to 'main/loudmouth')
-rw-r--r--main/loudmouth/APKBUILD12
-rw-r--r--main/loudmouth/gnutls-3.4.0.patch20
2 files changed, 28 insertions, 4 deletions
diff --git a/main/loudmouth/APKBUILD b/main/loudmouth/APKBUILD
index d674f53c79..6e72b465bd 100644
--- a/main/loudmouth/APKBUILD
+++ b/main/loudmouth/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=loudmouth
pkgver=1.4.3
-pkgrel=2
+pkgrel=3
pkgdesc="A lightweight Jabber client library"
url="http://groups.google.com/group/loudmouth-dev"
arch="all"
@@ -17,6 +17,7 @@ source="http://ftp.gnome.org/pub/gnome/sources/${pkgname}/1.4/${pkgname}-${pkgve
03-drop-stanzas-on-fail.patch
04-use-pkg-config-for-gnutls.patch
loudmouth-1.4.3-glib-compile-fix.patch
+ gnutls-3.4.0.patch
"
_builddir="$srcdir"/$pkgname-$pkgver
@@ -58,14 +59,17 @@ md5sums="55339ca42494690c3942ee1465a96937 loudmouth-1.4.3.tar.bz2
5a860172e76dc5df8e694602f360ce76 01-fix-sasl-md5-digest-uri.patch
d0f34028837b7ff93262373ac3d4dd59 03-drop-stanzas-on-fail.patch
2cfb0ef5c32c9bd377e3abb6ad38135a 04-use-pkg-config-for-gnutls.patch
-48d26a95b653a8b0bb5589a3c674a58b loudmouth-1.4.3-glib-compile-fix.patch"
+48d26a95b653a8b0bb5589a3c674a58b loudmouth-1.4.3-glib-compile-fix.patch
+8c0b4d052f2be41f3c984da97786eafe gnutls-3.4.0.patch"
sha256sums="95a93f5d009b71ea8193d994aa11f311bc330a3efe1b7cd74dc48f11c7f929e3 loudmouth-1.4.3.tar.bz2
5f781d15fb0b5598fb1bc16933cef1a9f006ba8cfa16a6845209b88c68b8dc16 01-fix-sasl-md5-digest-uri.patch
21f9562965ad49ddd12b76b5eaff79a73ff1a35256cd34747b4d4b29de34f330 03-drop-stanzas-on-fail.patch
d06d5b1d70efb061d6cfec5db918b3585cadf3d07aa8b2bdcfdb5667cfdd086d 04-use-pkg-config-for-gnutls.patch
-543b4a18b7dd1bff15b4113aa3875596d2d274bb982f1d1aa2582dbaf11f9ab4 loudmouth-1.4.3-glib-compile-fix.patch"
+543b4a18b7dd1bff15b4113aa3875596d2d274bb982f1d1aa2582dbaf11f9ab4 loudmouth-1.4.3-glib-compile-fix.patch
+2297b56c9cb41b3922b0de26ec0e96f85d5d6397d8ad39bc0f8927c9b267a105 gnutls-3.4.0.patch"
sha512sums="02d1de14a4d626a4c9100bd24c06d4b4203eabb0f95bab40ee18ea5e68ed81d47aa977625140157b2d9f7974ac748af857c2ee3a916f0db700e2a2d0934940ec loudmouth-1.4.3.tar.bz2
81302ac124207983ee35fc80e6dc1c0686b2d8d2cde905122f8611a5ffa8affe8625ad11af2f4e49c183a89ea7c6b43976af175bfda4490cbc90461ff5436fca 01-fix-sasl-md5-digest-uri.patch
7b20b8897b9572f2be875b4e29dbf5f6d6278db6cc5cc0017e68ce3a27af41e50bd659bfa26c8d91de221ac55cbe5497ab1f5f6be541b21fe469a321904145ab 03-drop-stanzas-on-fail.patch
d05ebc1bcef6fa40f4dfd3bf294005b9c261df7b8f2ff5c410954541af37227de884259e49a42f3df84889bd839a32560d67c3adec1940592f89b7dba6388a56 04-use-pkg-config-for-gnutls.patch
-224402461872f9fe24826307221f7e81f211a2d720559545d4cf2355cd2aacdebd82f47b74948eb3d63fc68a0371e8477b800578b748ec56043a496398880da1 loudmouth-1.4.3-glib-compile-fix.patch"
+224402461872f9fe24826307221f7e81f211a2d720559545d4cf2355cd2aacdebd82f47b74948eb3d63fc68a0371e8477b800578b748ec56043a496398880da1 loudmouth-1.4.3-glib-compile-fix.patch
+6bda76bfd91ec82c5cb9af2231e2fb9fda134643fcd2e08b19e91c7bbbd59634363258f64f93d612c377a06dce4808b9d62dbfb30ebc56ef84c2363ff979dd30 gnutls-3.4.0.patch"
diff --git a/main/loudmouth/gnutls-3.4.0.patch b/main/loudmouth/gnutls-3.4.0.patch
new file mode 100644
index 0000000000..4f2e8c6f4d
--- /dev/null
+++ b/main/loudmouth/gnutls-3.4.0.patch
@@ -0,0 +1,20 @@
+--- a/loudmouth/lm-ssl-gnutls.c 2008-10-29 14:45:10.000000000 +0100
++++ b/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);