Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=dex77testing.git;a=commitdiff;h=fb55d499f2f3235d6afd478e888bb964225eb2b4

commit fb55d499f2f3235d6afd478e888bb964225eb2b4
Author: James Buren <[email protected]>
Date:   Wed Mar 12 16:29:18 2014 -0500

openvas-libraries-4.0.4-3-x86_64
* rebuild with gnutls and libgcrypt
* add patch to fix build against gnutls

diff --git a/source/network-extra/openvas-libraries/FrugalBuild 
b/source/network-extra/openvas-libraries/FrugalBuild
index 4a01c8a..4a3b57b 100644
--- a/source/network-extra/openvas-libraries/FrugalBuild
+++ b/source/network-extra/openvas-libraries/FrugalBuild
@@ -3,16 +3,17 @@

pkgname=openvas-libraries
pkgver=4.0.4
-pkgrel=2
+pkgrel=3
pkgdesc="OpenVAS libraries."
url="http://www.openvas.org";
up2date="Flasttar ${url}"
-depends=('libpcap' 'libgcrypt' 'gpgme' 'gnutls>=2.12.12' 'zlib')
+depends=('libpcap' 'libgcrypt>=1.6.1' 'gpgme' 'gnutls>=3.2.12.1' 'zlib')
Finclude cmake
groups=('network-extra')
archs=('i686' 'x86_64')
-source=(http://wald.intevation.org/frs/download.php/784/openvas-libraries-${pkgver}.tar.gz)
-sha1sums=('4fe2315640a763f6af6662597f0faf922cf20da9')
+source=(http://wald.intevation.org/frs/download.php/784/openvas-libraries-${pkgver}.tar.gz
 gnutls3.patch)
+sha1sums=('4fe2315640a763f6af6662597f0faf922cf20da9' \
+          '6d142fc7e5e420770d7f0ea497477235ee3e3459')

# remove after 1.4
replaces=('libnasl')
diff --git a/source/network-extra/openvas-libraries/gnutls3.patch 
b/source/network-extra/openvas-libraries/gnutls3.patch
new file mode 100644
index 0000000..bb0fecc
--- /dev/null
+++ b/source/network-extra/openvas-libraries/gnutls3.patch
@@ -0,0 +1,12 @@
+diff -ur a/misc/network.c b/misc/network.c
+--- a/misc/network.c   2010-10-27 05:00:51.000000000 -0500
++++ b/misc/network.c   2014-03-12 16:24:05.029212469 -0500
+@@ -817,8 +817,6 @@
+     }
+
+   unblock_socket (fp->fd);
+-  /* for non-blocking sockets, gnutls requires a 0 lowat value */
+-  gnutls_transport_set_lowat (fp->tls_session, 0);
+
+   gnutls_transport_set_ptr (fp->tls_session,
+                             (gnutls_transport_ptr_t) GSIZE_TO_POINTER 
(fp->fd));
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to