Search
j0ke.net Open Build Service
>
Projects
>
ha
:
firewall
>
snort292
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 7
[-]
[+]
Added
snort.changes
@@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Sat May 12 12:42:21 UTC 2012 - cs@linux-administrator.com + +- added IPv6 preprocessor module +
[-]
[+]
Changed
snort.spec
^
@@ -56,6 +56,10 @@ %define oracle 0 %{?_with_oracle:%define oracle 1} +# Default of no IPv6 Preprocessor, but --with ipv6spp will enable it +%define ipv6spp 0 +%{?_with_ipv6spp:%define ipv6spp 1} + # If not inline then we'll conflict with it %define conflicts snort-inline @@ -93,6 +97,7 @@ %define for_distro RPMs for (open)SuSE(Enterprise)/CentOS/RHEL/Fedora Linux %define mysql 1 %define postgresql 1 + %define ipv6spp 1 %define release 1 %endif @@ -111,7 +116,10 @@ Url: http://www.snort.org/ Source0: http://www.snort.org/dl/2.9.0/%{realname}-%{version}.tar.bz2 Source2: snortd.suse.init -Source3: snort-rpmlintrc +%if %{ipv6spp} +Source10: spp_ipv6_20120120.tar.bz2 +%endif +Source20: snort-rpmlintrc Patch0: snortsam-2.9.2.2.diff Patch1: autojunk.patch Patch2: snort-razorback-pkgconfig.patch @@ -215,7 +223,7 @@ %prep -%setup -q -n %{realname}-%{version} +%setup -q -n %{realname}-%{version} -a 10 %patch0 -p1 %patch1 -p0 %patch2 @@ -338,6 +346,11 @@ BuildSnort unixODBC %endif +# build ipv6 preproc +%if %{ipv6spp} +cd spp_ipv6 +%__make +%endif %install @@ -452,6 +465,10 @@ InstallSnort oracle %endif +# install ipv6 preproc +%if %{ipv6spp} +%__install -m0755 spp_ipv6/build/spp_ipv6.so %{buildroot}%{_libdir}\/%{realname}-%{version}_dynamicpreprocessor +%endif %clean %__rm -rf $RPM_BUILD_ROOT @@ -602,6 +619,9 @@ %attr(0755,root,root) %{_libdir}/%{realname}-%{version}_dynamicpreprocessor/libsf_dnp3_preproc.* %attr(0755,root,root) %{_libdir}/%{realname}-%{version}_dynamicpreprocessor/libsf_gtp_preproc.* %attr(0755,root,root) %{_libdir}/%{realname}-%{version}_dynamicpreprocessor/libsf_modbus_preproc.* +%if %{ipv6spp} +%attr(0755,root,root) %{_libdir}/%{realname}-%{version}_dynamicpreprocessor/spp_ipv6.so +%endif %attr(0755,root,root) %dir %{_libdir}/%{realname}-%{version}_dynamicrules %dir %{_docdir}/%{realname}-%{version} %docdir %{_docdir}/%{realname}-%{version}
Added
spp_ipv6_20120120.tar.bz2
^