packages: snort/snort.spec - fixed linking - drop iptables-static BR
lisu
lisu at pld-linux.org
Tue May 17 16:29:44 CEST 2011
Author: lisu Date: Tue May 17 14:29:44 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- fixed linking
- drop iptables-static BR
---- Files affected:
packages/snort:
snort.spec (1.154 -> 1.155)
---- Diffs:
================================================================
Index: packages/snort/snort.spec
diff -u packages/snort/snort.spec:1.154 packages/snort/snort.spec:1.155
--- packages/snort/snort.spec:1.154 Mon May 16 15:30:49 2011
+++ packages/snort/snort.spec Tue May 17 16:29:39 2011
@@ -40,12 +40,12 @@
Source5: %{name}.logrotate
Patch0: %{name}-libnet1.patch
Patch1: %{name}-lib64.patch
+Patch2: %{name}-link.patch
URL: http://www.snort.org/
BuildRequires: autoconf
BuildRequires: automake
%{?with_clamav:BuildRequires: clamav-devel}
%{?with_inline:BuildRequires: iptables-devel}
-BuildRequires: iptables-static
BuildRequires: libnet-devel
BuildRequires: libnet1-devel = 1.0.2a
BuildRequires: libpcap-devel
@@ -149,6 +149,7 @@
%if "%{_lib}" == "lib64"
%patch1 -p1
%endif
+%patch2 -p1
sed -i "s#var\ RULE_PATH.*#var RULE_PATH /etc/snort/rules#g" rules/snort.conf
_DIR=$(pwd)
@@ -160,7 +161,7 @@
%build
%{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I m4
%{__autoconf}
%{__automake}
# we don't need libnsl, so don't use it
@@ -177,7 +178,8 @@
--with%{!?with_pgsql:out}-postgresql \
--with%{!?with_mysql:out}-mysql \
%{?with_prelude:--enable-prelude } \
- %{?with_clamav:--enable-clamav --with-clamav-defdir=/var/lib/clamav}
+ %{?with_clamav:--enable-clamav --with-clamav-defdir=/var/lib/clamav} \
+ --enable-pthread
%{__make} -j1
@@ -254,6 +256,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.155 2011/05/17 14:29:39 lisu
+- fixed linking
+- drop iptables-static BR
+
Revision 1.154 2011/05/16 13:30:49 arekm
- release 4
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/snort/snort.spec?r1=1.154&r2=1.155&f=u
More information about the pld-cvs-commit
mailing list