[packages/snort] - disable open-appid on x32
baggins
baggins at pld-linux.org
Tue Oct 12 23:09:24 CEST 2021
commit fe9948dda547c6c80c9b743956004023e478c731
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Tue Oct 12 23:09:04 2021 +0200
- disable open-appid on x32
snort.spec | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/snort.spec b/snort.spec
index ddbdfaf..1ca30b5 100644
--- a/snort.spec
+++ b/snort.spec
@@ -5,7 +5,11 @@
#
# Conditional build:
%bcond_with registered # build with rules available for registered users
+%bcond_without open_appid # build without application identification support
#
+%ifarch x32
+%undefine with_open_appid
+%endif
Summary: Network intrusion detection system (IDS/IPS)
Summary(pl.UTF-8): System wykrywania intruzów w sieciach (IDS/IPS)
Summary(pt_BR.UTF-8): Ferramenta de detecção de intrusos
@@ -42,6 +46,7 @@ BuildRequires: libnet1-devel = 1.0.2a
BuildRequires: libpcap-devel
BuildRequires: libtirpc-devel
BuildRequires: libtool
+%{?with_open_appid:BuildRequires: luajit-devel}
BuildRequires: openssl-devel >= 0.9.7d
BuildRequires: pcre-devel
BuildRequires: rpmbuild(macros) >= 1.202
@@ -151,6 +156,7 @@ export CFLAGS="%{rpmcflags} -I/usr/include/tirpc"
# we don't need libnsl, so don't use it
%configure \
no_libnsl=yes \
+ %{!?with_open_appid:--disable-open-appid} \
--enable-pthread \
--enable-so-with-static-lib \
--enable-control-socket \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/snort.git/commitdiff/fe9948dda547c6c80c9b743956004023e478c731
More information about the pld-cvs-commit
mailing list