{,py-}yara: update to version 4.1.0 Since version 3.11.0: YARA v4.1.0 * New operators icontains, endswith, iendswith, startswith, istartswith. * Accept \t escape sequence in text strings. * Add --no-follow-links command-line option to yara. * Prevent yara from following links to "." (@1D2D). * Implemented non-blocking scanning API (@simonhf). * When a string causes too many matches, YARA raises a warning instead of failing (@wxsBSD). * BUGFIX: The use of --timeout could hang yara when scanning directories or lists of files (#1481). * BUGFIX: Incorrect parsing of PE certificates (#1443). * BUGFIX: Short-circuit evaluation not working fine with undefined expressions. YARA v4.1.0-rc2 * Don't raise warnings for non-ASCII strings. YARA v4.1.0-rc1 * New operators icontains, endswith, iendswith, startswith, istartswith. * Raise warnings for non-ascii strings. * Accept \t escape sequence in text strings. * Add --no-follow-links command-line option to yara. * Prevent yara from following links to "." (@1D2D). * Implemented non-blocking scanning API (@simonhf). * When a string causes too many matches, YARA raises a warning instead of failing. YARA v4.0.5 * BUGFIX: Fix bug in "macho" module introduced in v4.0.4. YARA v4.0.4 * BUGFIX: Multiple out-of-bounds reads in "macho" module. Credits to Luis Merino from X41 D-SEC GmbH for reporting these issues. YARA v4.0.3 * BUGFIX: Multiple out-of-bounds read in "dotnet" module. YARA v4.0.2 * BUGFIX: Use-after-free bug in PE module (#1287). * BUGFIX: Incorrect errors in rules when a single rule is badly formatted (#1294). * BUGFIX: Assertion failed with rules that have invalid syntax (#1295). * BUGFIX: Integer overflow causing missed matches on files larger than 2GB (#1304). * BUGFIX: Crashes in Mac OS while scanning binaries with a signature that can't be verified (#1309). YARA v4.0.1 * Update sandboxed API (#1276). * BUGFIX: Fix regression in exports parsing in PE module (2bf67e6). * BUGFIX: Fix unaligned accesses in ARM (e1654ae). YARA v4.0.0 * New string modifiers base64 and base64wide (#1185). * New string modifier private (#1096). * Iterators for dictionaries and arrays (#1141). * Multiple API changes. * Memory footprint greatly reduced, specially when compiling large numbers of rules. * New commmand-line option --scan-list (#1261). * Added pdb_path field to "pe" module. * Added export_details array to "pe" module. * Added exports_index functions to "pe" module. * Improvements to "cuckoo" module. * BUGFIX: PE files with multiple signatures are parsed correctly (#940). * BUGFIX: Fix PE rich header parsing (#1164). * BUGFIX: Buffer overruns in "dotnet" module (#1167, #1173).diff -r1.10 -r1.11 pkgsrc/security/py-yara/Makefile
(khorben)
@@ -1,18 +1,17 @@ | @@ -1,18 +1,17 @@ | |||
1 | # $NetBSD: Makefile,v 1.10 2019/11/04 21:13:01 rillig Exp $ | 1 | # $NetBSD: Makefile,v 1.11 2021/05/30 01:16:28 khorben Exp $ | |
2 | 2 | |||
3 | DISTNAME= yara-python-${VERSION} | 3 | DISTNAME= yara-python-${YARA_VERSION} | |
4 | PKGNAME= ${PYPKGPREFIX}-yara-${VERSION} | 4 | PKGNAME= ${PYPKGPREFIX}-yara-${YARA_VERSION} | |
5 | CATEGORIES= security python | 5 | CATEGORIES= security python | |
6 | GITHUB_PROJECT= yara-python | 6 | GITHUB_PROJECT= yara-python | |
7 | 7 | |||
8 | MASTER_SITES= ${MASTER_SITE_GITHUB:=VirusTotal/} | 8 | MASTER_SITES= ${MASTER_SITE_GITHUB:=VirusTotal/} | |
9 | 9 | |||
10 | COMMENT= Yara python bindings | 10 | COMMENT= Yara python bindings | |
11 | 11 | LICENSE= apache-2.0 | ||
12 | PYTHON_VERSIONS_ACCEPTED= 27 | |||
13 | 12 | |||
14 | .include "../../security/yara/Makefile.common" | 13 | .include "../../security/yara/Makefile.common" | |
15 | .include "../../security/yara/buildlink3.mk" | 14 | .include "../../security/yara/buildlink3.mk" | |
16 | .include "../../lang/python/egg.mk" | 15 | .include "../../lang/python/egg.mk" | |
17 | .include "../../lang/python/application.mk" | 16 | .include "../../lang/python/application.mk" | |
18 | .include "../../mk/bsd.pkg.mk" | 17 | .include "../../mk/bsd.pkg.mk" |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.11 2019/12/14 10:50:10 khorben Exp $ | 1 | $NetBSD: distinfo,v 1.12 2021/05/30 01:16:28 khorben Exp $ | |
2 | 2 | |||
3 | SHA1 (yara-python-3.11.0.tar.gz) = 8e1c6c31875d1df685b4a97faf8d58287e8c38a4 | 3 | SHA1 (yara-python-4.1.0.tar.gz) = e47a2e6f3826de624be3da293080ac3a9ee863b1 | |
4 | RMD160 (yara-python-3.11.0.tar.gz) = 000398c4041c1f495320d3ce7ad500b3c3ffddb4 | 4 | RMD160 (yara-python-4.1.0.tar.gz) = 24013ec2e3a6fac9383663efc28156625de4fd05 | |
5 | SHA512 (yara-python-3.11.0.tar.gz) = 0c8e6cbe51aa858c6d56b95c88bd450016924008b57b4910ed8edfb7bba4d7bfc18736844817978f74e72bed6765c484f275de4e7a53ec85048fb01713b6e959 | 5 | SHA512 (yara-python-4.1.0.tar.gz) = 8b9ce780b6639ab2ee5222adec888c7e0fb6be81c7c64a8b33b033de3f261f9707aa208b7a3a86749f6e86a83fe6d73941c816857faf6eb714399d1f50239b51 | |
6 | Size (yara-python-3.11.0.tar.gz) = 31830 bytes | 6 | Size (yara-python-4.1.0.tar.gz) = 33717 bytes |
@@ -1,21 +1,21 @@ | @@ -1,21 +1,21 @@ | |||
1 | # $NetBSD: Makefile,v 1.10 2021/05/14 11:47:57 nia Exp $ | 1 | # $NetBSD: Makefile,v 1.11 2021/05/30 01:16:28 khorben Exp $ | |
2 | 2 | |||
3 | DISTNAME= yara-${VERSION} | 3 | DISTNAME= yara-${YARA_VERSION} | |
4 | PKGREVISION= 1 | |||
5 | CATEGORIES= security | 4 | CATEGORIES= security | |
6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=VirusTotal/} | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=VirusTotal/} | |
7 | 6 | |||
8 | COMMENT= Pattern matching swiss knife for malware researchers | 7 | COMMENT= Pattern matching swiss knife for malware researchers | |
8 | LICENSE= modified-bsd | |||
9 | 9 | |||
10 | USE_TOOLS+= pkg-config automake autoreconf flex | 10 | USE_TOOLS+= pkg-config automake autoreconf flex | |
11 | USE_LIBTOOL= yes | 11 | USE_LIBTOOL= yes | |
12 | GNU_CONFIGURE= yes | 12 | GNU_CONFIGURE= yes | |
13 | USE_FEATURES+= strnlen | 13 | USE_FEATURES+= strnlen | |
14 | 14 | |||
15 | PKGCONFIG_OVERRIDE+= libyara/yara.pc.in | 15 | PKGCONFIG_OVERRIDE+= libyara/yara.pc.in | |
16 | 16 | |||
17 | pre-configure: | 17 | pre-configure: | |
18 | cd ${WRKSRC} && autoreconf -fiv | 18 | cd ${WRKSRC} && autoreconf -fiv | |
19 | 19 | |||
20 | .include "../../security/openssl/buildlink3.mk" | 20 | .include "../../security/openssl/buildlink3.mk" | |
21 | .include "../../security/yara/Makefile.common" | 21 | .include "../../security/yara/Makefile.common" |
@@ -1,11 +1,10 @@ | @@ -1,11 +1,10 @@ | |||
1 | # $NetBSD: Makefile.common,v 1.12 2019/12/14 10:46:08 khorben Exp $ | 1 | # $NetBSD: Makefile.common,v 1.13 2021/05/30 01:16:28 khorben Exp $ | |
2 | # | 2 | # | |
3 | # used by security/yara/Makefile | 3 | # used by security/yara/Makefile | |
4 | # used by security/py-yara/Makefile | 4 | # used by security/py-yara/Makefile | |
5 | 5 | |||
6 | VERSION= 3.11.0 | 6 | YARA_VERSION= 4.1.0 | |
7 | GITHUB_TAG= v${VERSION} | 7 | GITHUB_TAG= v${YARA_VERSION} | |
8 | 8 | |||
9 | MAINTAINER= khorben@defora.org | 9 | MAINTAINER= khorben@defora.org | |
10 | HOMEPAGE= https://virustotal.github.io/yara/ | 10 | HOMEPAGE= https://virustotal.github.io/yara/ | |
11 | LICENSE= apache-2.0 |
@@ -1,10 +1,6 @@ | @@ -1,10 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.12 2019/12/14 10:46:08 khorben Exp $ | 1 | $NetBSD: distinfo,v 1.13 2021/05/30 01:16:28 khorben Exp $ | |
2 | 2 | |||
3 | SHA1 (yara-3.11.0.tar.gz) = 81a243423352d66f5ec0cb657098c27f035cd164 | 3 | SHA1 (yara-4.1.0.tar.gz) = 6aaf2696a9d00b89fea434eb013073ed569f3d48 | |
4 | RMD160 (yara-3.11.0.tar.gz) = 18f28d9c6cface071f2526ca7d7c64a0b3a848f9 | 4 | RMD160 (yara-4.1.0.tar.gz) = aa6999b4b5143c03aae26ddd791c7d7a7d5a4092 | |
5 | SHA512 (yara-3.11.0.tar.gz) = 26d800284a2de07195e4a480eb7125b1f5ad0265b284bfbeee10dbab162ea0f419c9e2ea5c4ed5fa25a46a2c9e3c6b077dfe1cafece79251e20d5d70f91b80a8 | 5 | SHA512 (yara-4.1.0.tar.gz) = b4b3d004181f4a5c7f35103082977f72155b1a80bcde84c09c68951b57c9b6cbb1304591172de72bdbd0b5a36c98a4671c5e4d428dfde809df717c32df4e2922 | |
6 | Size (yara-3.11.0.tar.gz) = 772122 bytes | 6 | Size (yara-4.1.0.tar.gz) = 935770 bytes | |
7 | SHA1 (patch-common.h) = d85b8be6ee384630f8e1b7ffc3c126f25d13e956 | |||
8 | SHA1 (patch-libyara_libyara.c) = 3be4325f344676cc490ff262483b76fab4b080fa | |||
9 | SHA1 (patch-libyara_re.c) = 4376d943b32fc0e13cb2b4ced99467da1f263da0 | |||
10 | SHA1 (patch-libyara_re__lexer.l) = 169802090dd922f06d8c32a0d1ea5409cf660f61 |
@@ -1,32 +1,34 @@ | @@ -1,32 +1,34 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.6 2019/12/14 10:46:08 khorben Exp $ | 1 | @comment $NetBSD: PLIST,v 1.7 2021/05/30 01:16:28 khorben Exp $ | |
2 | bin/yara | 2 | bin/yara | |
3 | bin/yarac | 3 | bin/yarac | |
4 | include/yara.h | 4 | include/yara.h | |
5 | include/yara/ahocorasick.h | 5 | include/yara/ahocorasick.h | |
6 | include/yara/arena.h | 6 | include/yara/arena.h | |
7 | include/yara/atoms.h | 7 | include/yara/atoms.h | |
8 | include/yara/base64.h | |||
8 | include/yara/bitmask.h | 9 | include/yara/bitmask.h | |
9 | include/yara/compiler.h | 10 | include/yara/compiler.h | |
10 | include/yara/error.h | 11 | include/yara/error.h | |
11 | include/yara/exec.h | 12 | include/yara/exec.h | |
12 | include/yara/exefiles.h | 13 | include/yara/exefiles.h | |
13 | include/yara/filemap.h | 14 | include/yara/filemap.h | |
14 | include/yara/hash.h | 15 | include/yara/hash.h | |
15 | include/yara/integers.h | 16 | include/yara/integers.h | |
16 | include/yara/libyara.h | 17 | include/yara/libyara.h | |
17 | include/yara/limits.h | 18 | include/yara/limits.h | |
18 | include/yara/mem.h | 19 | include/yara/mem.h | |
19 | include/yara/modules.h | 20 | include/yara/modules.h | |
21 | include/yara/notebook.h | |||
20 | include/yara/object.h | 22 | include/yara/object.h | |
21 | include/yara/parser.h | 23 | include/yara/parser.h | |
22 | include/yara/proc.h | 24 | include/yara/proc.h | |
23 | include/yara/re.h | 25 | include/yara/re.h | |
24 | include/yara/rules.h | 26 | include/yara/rules.h | |
25 | include/yara/scan.h | 27 | include/yara/scan.h | |
26 | include/yara/scanner.h | 28 | include/yara/scanner.h | |
27 | include/yara/sizedstr.h | 29 | include/yara/sizedstr.h | |
28 | include/yara/stack.h | 30 | include/yara/stack.h | |
29 | include/yara/stopwatch.h | 31 | include/yara/stopwatch.h | |
30 | include/yara/stream.h | 32 | include/yara/stream.h | |
31 | include/yara/strutils.h | 33 | include/yara/strutils.h | |
32 | include/yara/threading.h | 34 | include/yara/threading.h |