yara: update to 3.6.2.

This commit is contained in:
Michael Gehring 2017-06-28 22:36:08 +00:00
parent 04e4fb7289
commit e518d79e91
2 changed files with 2 additions and 13 deletions

View file

@ -45,14 +45,3 @@
for (i = 0; i < CRYPTO_num_locks(); i ++)
yr_mutex_destroy(&openssl_locks[i]);
--- libyara/modules/pe.c.orig 2016-09-06 20:09:47.000000000 +0000
+++ libyara/modules/pe.c 2017-05-10 12:38:23.755095815 +0000
@@ -42,7 +42,7 @@
#include <openssl/bio.h>
#include <openssl/pkcs7.h>
#include <openssl/x509.h>
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
#define X509_get_signature_nid(o) OBJ_obj2nid((o)->sig_alg->algorithm)
#endif
#endif

View file

@ -1,6 +1,6 @@
# Template file for 'yara'
pkgname=yara
version=3.6.1
version=3.6.2
revision=1
build_style=gnu-configure
configure_args="--enable-magic --enable-cuckoo"
@ -11,7 +11,7 @@ maintainer="Michael Gehring <mg@ebfe.org>"
license="3-clause-BSD"
homepage="http://virustotal.github.io/yara/"
distfiles="https://github.com/VirusTotal/yara/archive/v${version}.tar.gz"
checksum=9ee0e0cc1c2b36c9e2095dab7d4db928b43f3301254ab0836a342a286282949e
checksum=413b530b69dd3fb7bcef439bf44be262f051e55f7aa129f1efada193b15903a6
pre_configure() {
autoreconf -fi