yara: magic module dependancy fix

Libmagic dependency replaced with File so Yara magic module can
make use of magic patterns.
magic.mgc is installed on the target only when the File package
is selected.

Signed-off-by: Ashkan Jazayeri <ashkan@jazayeri.net>
This commit is contained in:
Ashkan Jazayeri 2018-06-05 22:29:00 +04:30
parent cdf1796f88
commit 5ca68c0cd3

View file

@ -29,7 +29,7 @@ define Package/yara
URL:=http://virustotal.github.io/yara/ URL:=http://virustotal.github.io/yara/
MAINTAINER:=Marko Ratkaj <marko.ratkaj@sartura.hr> MAINTAINER:=Marko Ratkaj <marko.ratkaj@sartura.hr>
DEPENDS:= +libopenssl DEPENDS:= +libopenssl
DEPENDS+= +YARA_module_magic:libmagic DEPENDS+= +YARA_module_magic:file
DEPENDS+= +YARA_module_cuckoo:jansson DEPENDS+= +YARA_module_cuckoo:jansson
MENU:=1 MENU:=1
endef endef