Search
j0ke.net Open Build Service
>
Projects
>
ha
:
firewall
>
snort29
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 13
[-]
[+]
Changed
snort.spec
@@ -297,7 +297,7 @@ --bindir=%{_sbindir} \ --sysconfdir=%{_sysconfdir}/snort \ --with-libpcap-includes=%{_includedir} \ - --enable-decoder-preprocessor-rules --enable-targetbased --enable-zlib --enable-ipv6 \ + --enable-decoder-preprocessor-rules --enable-targetbased --enable-zlib --enable-ipv6 --enable-normalizer --enable-reload \ " # Always build snort-plain @@ -360,6 +360,7 @@ %__install -p -m 0755 %{name}-plain $RPM_BUILD_ROOT%{_sbindir}/%{name}-plain %__mkdir_p -m 0755 $RPM_BUILD_ROOT%{_libdir}/%{realname}-%{version}_dynamicengine %__mkdir_p -m 0755 $RPM_BUILD_ROOT%{_libdir}/%{realname}-%{version}_dynamicpreprocessor + %__mkdir_p -m 0755 $RPM_BUILD_ROOT%{_libdir}/%{realname}-%{version}_dynamicrules %__install -p -m 0755 plain/src/dynamic-plugins/sf_engine/.libs/libsf_engine.so.0 $RPM_BUILD_ROOT%{_libdir}/%{realname}-%{version}_dynamicengine %__ln_s -f %{_libdir}/%{realname}-%{version}_dynamicengine/libsf_engine.so.0 $RPM_BUILD_ROOT%{_libdir}/%{realname}-%{version}_dynamicengine/libsf_engine.so %__install -p -m 0755 plain/src/dynamic-preprocessors/build/%{_prefix}/lib/snort_dynamicpreprocessor/libsf_smtp_preproc.so.0 $RPM_BUILD_ROOT%{_libdir}/%{realname}-%{version}_dynamicpreprocessor @@ -418,6 +419,10 @@ %__rm -f etc/snort.conf %__mv etc/snort.conf.new etc/snort.conf +# Fix dynamic-modules paths +%__sed -e 's;dynamicdetection directory \/usr\/local\/lib\/snort_dynamicrules;dynamicdetection directory %{_libdir}\/%{realname}-%{version}_dynamicrules;' < etc/snort.conf > etc/snort.conf.new +%__rm -f etc/snort.conf +%__mv etc/snort.conf.new etc/snort.conf # Always install snort-plain InstallSnort plain