aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2024-04-13 15:05:03 -0700
committerRosen Penev <rosenp@gmail.com>2024-04-19 14:20:13 -0700
commit55440f2ac7e79a24e9675ecf7d1f79b0b7bc0907 (patch)
tree52725ef02a156cdedd6d394c574cc9126172cd09 /utils
parent8982c3e61adc4595dc9955529c993347ca78c5f5 (diff)
yara: update to 4.5.0
Move away from codeload for smaller and better tarballs. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'utils')
-rw-r--r--utils/yara/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/utils/yara/Makefile b/utils/yara/Makefile
index 98bbc9233..480d6f43d 100644
--- a/utils/yara/Makefile
+++ b/utils/yara/Makefile
@@ -8,12 +8,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=yara
-PKG_VERSION:=4.2.0
+PKG_VERSION:=4.5.0
PKG_RELEASE:=1
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://codeload.github.com/VirusTotal/yara/tar.gz/v$(PKG_VERSION)?
-PKG_HASH:=6f567d4e4b79a210cd57a820f59f19ee69b024188ef4645b1fc11488a4660951
+PKG_SOURCE_PROTO:=git
+PKG_SOURCE_VERSION:=v$(PKG_VERSION)
+PKG_SOURCE_URL:=https://github.com/VirusTotal/yara
+PKG_MIRROR_HASH:=1b549a5aa3320ed768398b0152cb194a7e30c24275fc054facdb4d41bf729cb4
PKG_MAINTAINER:=Marko Ratkaj <markoratkaj@gmail.com>
PKG_LICENSE:=BSD-3-Clause
@@ -48,6 +49,8 @@ CONFIGURE_ARGS += \
$(if $(CONFIG_YARA_module_magic),--enable,--disable)-magic \
$(if $(CONFIG_YARA_module_cuckoo),--enable,--disable)-cuckoo
+TARGET_CFLAGS += -D_LARGEFILE64_SOURCE
+
define Package/yara/config
source "$(SOURCE)/Config.in"
endef