hyperscan: Build only on x86
This package does not compile on ARM Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
parent
870a92f8fb
commit
899a8a2fb7
|
@ -5,7 +5,10 @@
|
|||
|
||||
name = hyperscan
|
||||
version = 5.1.0
|
||||
release = 1
|
||||
release = 2
|
||||
|
||||
# This won't build on any architectures but those
|
||||
sup_arches = x86_64 i686
|
||||
|
||||
groups = System/Libraries
|
||||
url = https://github.com/intel/hyperscan
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
name = suricata
|
||||
version = 4.0.6
|
||||
release = 2
|
||||
release = 3
|
||||
|
||||
groups = Networking/IDS
|
||||
url = http://www.openinfosecfoundation.org/
|
||||
|
@ -23,7 +23,6 @@ source_dl = http://www.openinfosecfoundation.org/download/
|
|||
build
|
||||
requires
|
||||
file-devel
|
||||
hyperscan-devel
|
||||
libcap-ng-devel
|
||||
libnfnetlink-devel
|
||||
libnetfilter_queue-devel
|
||||
|
@ -41,11 +40,16 @@ build
|
|||
--enable-nfqueue \
|
||||
--disable-gccmarch-native \
|
||||
--disable-static \
|
||||
--enable-hyperscan \
|
||||
--enable-non-bundled-htp \
|
||||
--with-libhtp-includes=%{includedir}/htp \
|
||||
--with-libhtp-libraries=%{libdir}
|
||||
|
||||
# Enable hyperscan only on x86
|
||||
if "%{DISTRO_PLATFORM}" == "x86"
|
||||
requires += hyperscan-devel
|
||||
configure_options += --enable-hyperscan
|
||||
end
|
||||
|
||||
install_cmds
|
||||
mkdir -pv %{BUILDROOT}%{sysconfdir}
|
||||
mkdir -pv %{BUILDROOT}%{sysconfdir}/suricata
|
||||
|
|
Loading…
Reference in New Issue