mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 13:47:14 +08:00
gwenhyfwar: updated + patched for latest gnutls
This commit is contained in:
parent
146f68e37a
commit
91b4460694
@ -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
|
||||||
}
|
}
|
||||||
|
11
gwenhywfar/gnutls_compat.patch
Normal file
11
gwenhywfar/gnutls_compat.patch
Normal 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);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user