X-Git-Url: http://git.pld-linux.org/?p=packages%2Fsnort.git;a=blobdiff_plain;f=snort.spec;h=ddbdfaf3f3432340fc66ec0ef6dd2443a803c045;hp=4f14b87a887590564a82be909f54441fa3158928;hb=4cb4516c27ef3497c6e00be5b2b9ae031b9d8969;hpb=1ce3731261b9ef080db210b9dfd2210367259b30 diff --git a/snort.spec b/snort.spec index 4f14b87..ddbdfaf 100644 --- a/snort.spec +++ b/snort.spec @@ -12,12 +12,12 @@ Summary(pt_BR.UTF-8): Ferramenta de detecção de intrusos Summary(ru.UTF-8): Snort - система обнаружения попыток вторжения в сеть Summary(uk.UTF-8): Snort - система виявлення спроб вторгнення в мережу Name: snort -Version: 2.9.8.2 -Release: 2 +Version: 2.9.18.1 +Release: 1 License: GPL v2 (vrt rules on VRT-License) Group: Networking Source0: http://www.snort.org/downloads/snort/%{name}-%{version}.tar.gz -# Source0-md5: b5005f88a01b42ff7ee0defb94161ffc +# Source0-md5: 2b4e30300ef6feca1f60c267e727c6c0 Source1: http://www.snort.org/pub-bin/downloads.cgi/Download/vrt_pr/%{name}rules-pr-2.4.tar.gz # Source1-md5: 35d9a2486f8c0280bb493aa03c011927 %if %{with registered} @@ -36,9 +36,11 @@ BuildRequires: autoconf BuildRequires: automake BuildRequires: daq-static BuildRequires: libdnet-devel +BuildRequires: libnetfilter_queue-devel BuildRequires: libnet-devel BuildRequires: libnet1-devel = 1.0.2a BuildRequires: libpcap-devel +BuildRequires: libtirpc-devel BuildRequires: libtool BuildRequires: openssl-devel >= 0.9.7d BuildRequires: pcre-devel @@ -141,6 +143,7 @@ done cd $_DIR %build +export CFLAGS="%{rpmcflags} -I/usr/include/tirpc" %{__libtoolize} %{__aclocal} -I m4 %{__autoconf} @@ -154,7 +157,8 @@ cd $_DIR --enable-side-channel \ --enable-build-dynamic-examples -%{__make} -j1 +%{__make} +%{__make} -C src/dynamic-plugins/sf_engine/examples %install rm -rf $RPM_BUILD_ROOT