aboutsummaryrefslogtreecommitdiffstats
path: root/testing/yara
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2018-01-09 23:55:11 +0000
committerRoberto Oliveira <robertoguimaraes8@gmail.com>2018-01-09 23:57:50 +0000
commitea7953117b28cb6c533a5cbdb208a989b7590586 (patch)
tree0fc27236d48098476c1de1f276b371a000e56430 /testing/yara
parentbd9e8a644ef0024c7a26561599d2324e614325ef (diff)
downloadaports-ea7953117b28cb6c533a5cbdb208a989b7590586.tar.bz2
aports-ea7953117b28cb6c533a5cbdb208a989b7590586.tar.xz
testing/yara: upgrade to 3.7.0
Also remove a workaround needed to build version 3.6.3
Diffstat (limited to 'testing/yara')
-rw-r--r--testing/yara/APKBUILD16
1 files changed, 4 insertions, 12 deletions
diff --git a/testing/yara/APKBUILD b/testing/yara/APKBUILD
index a7769421fa..54dbc3ed97 100644
--- a/testing/yara/APKBUILD
+++ b/testing/yara/APKBUILD
@@ -1,8 +1,8 @@
# Maintainer: Daniel Isaksen <d@duniel.no>
pkgname=yara
-pkgver=3.6.3
-pkgrel=1
+pkgver=3.7.0
+pkgrel=0
pkgdesc="The pattern matching swiss knife for malware researchers"
url="https://virustotal.github.io/yara/"
arch="all !armhf" # armhf: tests fail
@@ -12,14 +12,6 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/VirusTotal/$pkgname/archive/
subpackages="$pkgname-doc"
builddir="$srcdir/$pkgname-$pkgver"
-prepare() {
- default_prepare
- # Delete re_lexer.c to force it to be build with new version
- # of flex, othwewise tests fail in some arches because of a bug
- # in older version of flex.
- # See: https://github.com/VirusTotal/yara/issues/771
- rm "$srcdir"/yara-3.6.3/libyara/re_lexer.c
-}
build() {
cd "$builddir"
autoreconf -fiv
@@ -40,7 +32,7 @@ package() {
check() {
cd "$builddir"
- make check || return 1
+ make check
}
-sha512sums="f928fe93e93385b5711c1076b042473299e1eb1c7c345433b01b7638677d9b8fb95a8ac2a7ef52012dc178ec0ef5772d6b6d0b65b5717d2074290bb44031b3f8 yara-3.6.3.tar.gz"
+sha512sums="cd0214d39c6d1c5bc8410a1ec67e42ec8a672be382fb11e0a0f98cb03af1ef5db92e74216a9b98a6bdedf9721d4470639e340edbd39ca0184233652839742a33 yara-3.7.0.tar.gz"