diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2018-01-10 00:03:48 +0000 |
---|---|---|
committer | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2018-01-10 00:04:24 +0000 |
commit | a1e9c360f4c4301b93c7632cb86686ff296944ed (patch) | |
tree | c1ca54e1bdbb643db75fe6fc870fed4900cde347 | |
parent | ea7953117b28cb6c533a5cbdb208a989b7590586 (diff) | |
download | aports-a1e9c360f4c4301b93c7632cb86686ff296944ed.tar.bz2 aports-a1e9c360f4c4301b93c7632cb86686ff296944ed.tar.xz |
testing/yara: keep using workaround in 3.7.0 version
For more info see commit 8db25d5fa1aaafe794536ed073f8c6b938c8147f
-rw-r--r-- | testing/yara/APKBUILD | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/testing/yara/APKBUILD b/testing/yara/APKBUILD index 54dbc3ed97..b9e955bfb4 100644 --- a/testing/yara/APKBUILD +++ b/testing/yara/APKBUILD @@ -2,7 +2,7 @@ pkgname=yara pkgver=3.7.0 -pkgrel=0 +pkgrel=1 pkgdesc="The pattern matching swiss knife for malware researchers" url="https://virustotal.github.io/yara/" arch="all !armhf" # armhf: tests fail @@ -12,6 +12,15 @@ 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 |