gwenhyfwar: updated + patched for latest gnutls

This commit is contained in:
Fabian Kosmale 2015-09-13 12:01:03 +00:00
parent 146f68e37a
commit 91b4460694
2 changed files with 25 additions and 7 deletions

View File

@ -1,25 +1,32 @@
# maintainer abveritas@chakra-project.org # maintainer abveritas@chakra-project.org
pkgname=gwenhywfar pkgname=gwenhywfar
pkgver=4.3.3 pkgver=4.13.1
pkgrel=6 _releasenumber=78
pkgrel=1
pkgdesc="OS abstraction functions for various projects" pkgdesc="OS abstraction functions for various projects"
arch=('x86_64') arch=('x86_64')
url="http://www.aquamaniac.de" url="http://www.aquamaniac.de"
options=('!libtool')
license=("LGPL") license=("LGPL")
depends=('openssl' 'qt' 'gnutls' 'libgcrypt') depends=('openssl' 'qt' 'gnutls' 'libgcrypt')
source=("gwenhywfar-$pkgver.tar.gz::http://www2.aquamaniac.de/sites/download/download.php?package=01&release=67&file=01&dummy=gwenhywfar-$pkgver.tar.gz") source=("http://www2.aquamaniac.de/sites/download/download.php?package=01&release=${_releasenumber}&file=01&dummy=${pkgname}-${pkgver}.tar.gz"
md5sums=('c5b9d52a25960f84f9264a5a5dd484d1') "gnutls_compat.patch")
md5sums=('231b4af546c791a85d0f042773e6bd82'
'4a5f0a619580abea37e1093d1c209ca7')
prepare() {
cd $srcdir/${pkgname}-${pkgver}
patch -p2 -i ${srcdir}/gnutls_compat.patch
}
build() { build() {
cd $srcdir/gwenhywfar-4.3.3 cd $srcdir/${pkgname}-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc --enable-ssl --with-guis=qt4 ./configure --prefix=/usr --sysconfdir=/etc --enable-ssl --with-guis=qt4
make make
} }
package() { package() {
cd $srcdir/gwenhywfar-4.3.3 cd $srcdir/${pkgname}-${pkgver}
make DESTDIR=$pkgdir install make DESTDIR=$pkgdir install
} }

View File

@ -0,0 +1,11 @@
--- src/gwenhywfar-4.13.1/src/sio/syncio_tls.c 2015-09-13 11:53:57.116666673 +0000
+++ src/gwenhywfar-4.13.1/src/sio/syncio_tls.c 2015-09-13 11:53:57.116666673 +0000
@@ -366,7 +366,7 @@
DBG_INFO(GWEN_LOGDOMAIN, "Forcing SSL v3");
- rv=gnutls_protocol_set_priority(xio->session, proto_prio);
+ rv=gnutls_priority_set_direct(xio->session, ":-VERS-TLS-ALL:+VERS-SSL3.0", NULL);
if (rv) {
DBG_ERROR(GWEN_LOGDOMAIN, "gnutls_protocol_set_priority: %d (%s)", rv, gnutls_strerror(rv));
gnutls_deinit(xio->session);