From e518d79e91bfb734ac7aed70375c72d2016878d3 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Wed, 28 Jun 2017 22:36:08 +0000 Subject: [PATCH] yara: update to 3.6.2. --- srcpkgs/yara/patches/libressl.patch | 11 ----------- srcpkgs/yara/template | 4 ++-- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/srcpkgs/yara/patches/libressl.patch b/srcpkgs/yara/patches/libressl.patch index e0bef7e3f28..4094d6aca8c 100644 --- a/srcpkgs/yara/patches/libressl.patch +++ b/srcpkgs/yara/patches/libressl.patch @@ -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 - #include - #include --#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 diff --git a/srcpkgs/yara/template b/srcpkgs/yara/template index 576b45341ca..c54b9f2eab2 100644 --- a/srcpkgs/yara/template +++ b/srcpkgs/yara/template @@ -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 " 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