Browse Source

Merge pull request #6196 from ashkanj/yara-stable

yara: small fixes and bump to 3.7.1
lilik-openwrt-22.03
Marko Ratkaj 6 years ago
committed by GitHub
parent
commit
729905acb6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 6 deletions
  1. +7
    -0
      utils/yara/Config.in
  2. +6
    -6
      utils/yara/Makefile

+ 7
- 0
utils/yara/Config.in View File

@ -12,5 +12,12 @@ if PACKAGE_yara
default n
help
Create rules based on behavioral info generated by a Cuckoo sandbox
config YARA_module_dotnet
bool "Dotnet module"
default n
help
The dotnet module allows you to create more fine-grained rules
for .NET files by using attributes and features of the .NET file format
endif

+ 6
- 6
utils/yara/Makefile View File

@ -8,13 +8,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=yara
PKG_VERSION:=3.7.0
PKG_VERSION:=3.7.1
PKG_RELEASE:=1
PKG_LICENSE:=BSD-3-Clause
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/VirusTotal/yara/archive/v$(PKG_VERSION)/
PKG_HASH:=01f0841e7387918c2b6d0b7fb48014bda41d1487be1cabf718a0576018969641
PKG_HASH:=df077a29b0fffbf4e7c575f838a440f42d09b215fcb3971e6fb6360318a64892
PKG_FIXUP:=autoreconf
PKG_BUILD_PARALLEL:=1
@ -29,7 +29,7 @@ define Package/yara
URL:=http://virustotal.github.io/yara/
MAINTAINER:=Marko Ratkaj <marko.ratkaj@sartura.hr>
DEPENDS:= +libopenssl
DEPENDS+= +YARA_module_magic:libmagic
DEPENDS+= +YARA_module_magic:file
DEPENDS+= +YARA_module_cuckoo:jansson
MENU:=1
endef
@ -41,9 +41,9 @@ define Package/yara/description
endef
CONFIGURE_ARGS += \
--disable-dotnet \
$(if $(YARA_module_magic),--enable,--disable)-magic \
$(if $(YARA_module_cuckoo),--enable,--disable)-cuckoo
$(if $(CONFIG_YARA_module_dotnet),--enable,--disable)-dotnet \
$(if $(CONFIG_YARA_module_magic),--enable,--disable)-magic \
$(if $(CONFIG_YARA_module_cuckoo),--enable,--disable)-cuckoo
define Package/yara/config
source "$(SOURCE)/Config.in"


Loading…
Cancel
Save