Moin,
Anyone using Yara out there? Update to 4.0.2:
https://github.com/VirusTotal/yara/releases/tag/v4.0.2
OK? Comments?
Cheers.-
--
- gonzalo
Index: Makefile.inc
===================================================================
RCS file: /cvs/ports/security/yara/Makefile.inc,v
retrieving revision 1.14
diff -u -p -r1.14 Makefile.inc
--- Makefile.inc 11 Nov 2019 20:34:33 -0000 1.14
+++ Makefile.inc 20 Jan 2021 15:50:51 -0000
@@ -1,6 +1,6 @@
# $OpenBSD: Makefile.inc,v 1.14 2019/11/11 20:34:33 rpointel Exp $
-VERSION ?= 3.11.0
+VERSION ?= 4.0.2
CATEGORIES = security
Index: main/distinfo
===================================================================
RCS file: /cvs/ports/security/yara/main/distinfo,v
retrieving revision 1.13
diff -u -p -r1.13 distinfo
--- main/distinfo 11 Nov 2019 20:34:33 -0000 1.13
+++ main/distinfo 20 Jan 2021 15:50:51 -0000
@@ -1,2 +1,2 @@
-SHA256 (yara-3.11.0.tar.gz) = 3oxUAoyEh1HAb1rMO3ScPvaxEQkLOfb/mRKVr0S9RjM=
-SIZE (yara-3.11.0.tar.gz) = 772122
+SHA256 (yara-4.0.2.tar.gz) = Ba2I6smp8CMkMv0UUWva7aFDSdbPDKyALXbjaavO4AE=
+SIZE (yara-4.0.2.tar.gz) = 888137
Index: main/pkg/PLIST
===================================================================
RCS file: /cvs/ports/security/yara/main/pkg/PLIST,v
retrieving revision 1.5
diff -u -p -r1.5 PLIST
--- main/pkg/PLIST 26 Feb 2019 09:09:17 -0000 1.5
+++ main/pkg/PLIST 20 Jan 2021 15:50:51 -0000
@@ -6,6 +6,7 @@ include/yara.h
include/yara/ahocorasick.h
include/yara/arena.h
include/yara/atoms.h
+include/yara/base64.h
include/yara/bitmask.h
include/yara/compiler.h
include/yara/error.h
@@ -18,6 +19,7 @@ include/yara/libyara.h
include/yara/limits.h
include/yara/mem.h
include/yara/modules.h
+include/yara/notebook.h
include/yara/object.h
include/yara/parser.h
include/yara/proc.h
@@ -33,7 +35,7 @@ include/yara/strutils.h
include/yara/threading.h
include/yara/types.h
include/yara/utils.h
-lib/libyara.a
+@static-lib lib/libyara.a
lib/libyara.la
@lib lib/libyara.so.${LIByara_VERSION}
lib/pkgconfig/yara.pc
Index: python/Makefile
===================================================================
RCS file: /cvs/ports/security/yara/python/Makefile,v
retrieving revision 1.10
diff -u -p -r1.10 Makefile
--- python/Makefile 4 Jan 2021 14:06:37 -0000 1.10
+++ python/Makefile 20 Jan 2021 15:50:51 -0000
@@ -6,7 +6,6 @@ GH_PROJECT = yara-python
MODPY_EGG_VERSION = ${VERSION}
PKGNAME = py-yara-${VERSION}
-REVISION =1
WANTLIB += pthread ${MODPY_WANTLIB} yara
Index: python/distinfo
===================================================================
RCS file: /cvs/ports/security/yara/python/distinfo,v
retrieving revision 1.12
diff -u -p -r1.12 distinfo
--- python/distinfo 11 Nov 2019 20:34:33 -0000 1.12
+++ python/distinfo 20 Jan 2021 15:50:51 -0000
@@ -1,2 +1,2 @@
-SHA256 (yara-python-3.11.0.tar.gz) =
EoDPpIRJAunVhIyE7Mh9o/wF+6y9dDcbtzjR9Pu6KFA=
-SIZE (yara-python-3.11.0.tar.gz) = 31830
+SHA256 (yara-python-4.0.2.tar.gz) =
bnR8rvqNIIv0CweO8KcfOGb6kHUJEjnMNivSO/Q22BY=
+SIZE (yara-python-4.0.2.tar.gz) = 32362
Index: python/patches/patch-setup_py
===================================================================
RCS file: /cvs/ports/security/yara/python/patches/patch-setup_py,v
retrieving revision 1.1
diff -u -p -r1.1 patch-setup_py
--- python/patches/patch-setup_py 14 Sep 2016 20:40:53 -0000 1.1
+++ python/patches/patch-setup_py 20 Jan 2021 15:50:51 -0000
@@ -1,9 +1,10 @@
$OpenBSD: patch-setup_py,v 1.1 2016/09/14 20:40:53 rpointel Exp $
---- setup.py.orig Thu Aug 11 14:22:08 2016
-+++ setup.py Thu Aug 11 14:31:24 2016
-@@ -122,6 +122,10 @@ class BuildCommand(build):
- else:
- building_for_osx = False
+Index: setup.py
+--- setup.py.orig
++++ setup.py
+@@ -221,6 +221,10 @@ class BuildExtCommand(build_ext):
+ module.define_macros.append(('USE_NO_PROC', '1'))
+ module.extra_compile_args.append('-std=c99')
+ if 'openbsd' in self.plat_name:
+ module.include_dirs.append('${LOCALBASE}/include')