]> git.pld-linux.org Git - packages/snort.git/commitdiff
- fixed linking
authorlisu <lisu@pld-linux.org>
Tue, 17 May 2011 14:29:39 +0000 (14:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- drop iptables-static BR

Changed files:
    snort.spec -> 1.155

snort.spec

index acacbb2babe4a4e12854c1f8371c4e9c4b369de6..73e820be4a76b1074d0bff47fe5d8d821e98e89a 100644 (file)
@@ -39,12 +39,12 @@ Source4:    %{name}.init
 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
@@ -148,6 +148,7 @@ Snort - це сніфер пакетів, що може використовув
 %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)
@@ -159,7 +160,7 @@ cd $_DIR
 
 %build
 %{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I m4
 %{__autoconf}
 %{__automake}
 # we don't need libnsl, so don't use it
@@ -176,7 +177,8 @@ cd $_DIR
        --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
 
This page took 0.093177 seconds and 4 git commands to generate.