mirror of
https://github.com/Yara-Rules/rules
synced 2026-06-08 12:58:40 +00:00
Travis updated
This commit is contained in:
+3
-3
@@ -5,11 +5,11 @@ before_install:
|
||||
- sudo apt-get -qq update
|
||||
- sudo apt-get install -y automake libtool make gcc pkg-config flex bison libjansson-dev libmagic-dev libssl-dev jq
|
||||
# Yara
|
||||
- wget $(curl -s https://api.github.com/repos/VirusTotal/yara/releases/latest | jq -r ".tarball_url") -O yara.tar.gz
|
||||
- wget $(curl -s https://api.github.com/repos/VirusTotal/yara/releases/latest | jq -r ".tarball_url") -O yara-latest.tar.gz
|
||||
- mkdir yara
|
||||
- tar -C yara -xzvf yara.tar.gz --strip-components 1
|
||||
- tar -xzvf yara-latest.tar.gz -C yara --strip-components 1
|
||||
# Compile Yara
|
||||
- cd ../yara
|
||||
- cd yara
|
||||
# Update per issue 176
|
||||
- sed -i 's/#define RE_MAX_SPLIT_ID 128/#define RE_MAX_SPLIT_ID 255/g' libyara/include/yara/limits.h
|
||||
- ./bootstrap.sh
|
||||
|
||||
Reference in New Issue
Block a user