Compare commits
11 Commits
2.9.6.1-1m
...
2.9.17-1ma
Author | SHA1 | Date | |
---|---|---|---|
bfb02d8ae4 | |||
452400eb5c | |||
b73c6fd3d2 | |||
2b53252741 | |||
67c478e8de | |||
bb81c0e383 | |||
cce087a1cb | |||
f5195a43d3 | |||
9bf84d820c | |||
1225f33e9f | |||
e144f06cc4 |
82
snort.spec
82
snort.spec
@ -5,7 +5,7 @@
|
||||
%define userid 65023
|
||||
|
||||
Name: snort
|
||||
Version: 2.9.6.1
|
||||
Version: 2.9.17
|
||||
Release: 1mamba
|
||||
Summary: The Open Source Intrusion Detection System
|
||||
Group: Network/Monitoring
|
||||
@ -14,7 +14,7 @@ Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://www.snort.org
|
||||
# 2.8.6.1: no direct link working; downloaded by hand
|
||||
Source0: http://www.snort.org/dl/snort-current/%{name}-%{version}.tar.gz
|
||||
Source0: https://www.snort.org/downloads/snort/snort-%{version}.tar.gz
|
||||
Source1: snort-initscript
|
||||
Source2: snort-sysconfig
|
||||
Source3: snort-createmysql
|
||||
@ -47,6 +47,7 @@ BuildRequires: mysql-client
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: libdnet-devel
|
||||
BuildRequires: libdaq-devel
|
||||
BuildRequires: libluajit-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Provides: %{_datadir}/snort/contrib/createmysql
|
||||
Provides: %{_datadir}/snort/contrib/createmysql-archive
|
||||
@ -76,13 +77,15 @@ It can be used as a straight packet sniffer like tcpdump(1), a packet logger (us
|
||||
|
||||
This package contains the static libraries, headers and source files for development.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q -a6
|
||||
sed -i "s|/usr/local|/usr|" etc/snort.conf
|
||||
|
||||
%build
|
||||
%configure \
|
||||
-sysconfdir=%{_sysconfdir}/snort \
|
||||
--sysconfdir=%{_sysconfdir}/snort \
|
||||
--enable-linux-smp-stat \
|
||||
--enable-smbalerts \
|
||||
%if %enable_mysql
|
||||
@ -96,6 +99,7 @@ sed -i "s|/usr/local|/usr|" etc/snort.conf
|
||||
%if %enable_postgresql
|
||||
--with-postgresql \
|
||||
%endif
|
||||
CFLAGS="%{optflags} -I%{_includedir}/tirpc"
|
||||
# --enable-sourcefire
|
||||
# --enable-perfmonitor
|
||||
# --enable-flexresp
|
||||
@ -177,18 +181,24 @@ exit 0
|
||||
%{_sysconfdir}/snort/rules/*
|
||||
%{_sysconfdir}/snort/preproc_rules/*
|
||||
%{_sysconfdir}/snort/*.map
|
||||
%{_bindir}/appid_detector_builder.sh
|
||||
%{_bindir}/u2boat
|
||||
%{_bindir}/u2spewfoo
|
||||
%{_bindir}/u2openappid
|
||||
%{_bindir}/u2streamer
|
||||
%{_bindir}/snort
|
||||
%dir %{_prefix}/lib/snort_dynamicengine
|
||||
%{_prefix}/lib/snort_dynamicengine/libsf_engine.a
|
||||
%{_prefix}/lib/snort_dynamicengine/libsf_engine.la
|
||||
%{_prefix}/lib/snort_dynamicengine/libsf_engine.so
|
||||
%{_prefix}/lib/snort_dynamicengine/libsf_engine.so.*
|
||||
%dir %{_prefix}/lib/snort_dynamicpreprocessor
|
||||
%{_prefix}/lib/snort_dynamicpreprocessor/*.a
|
||||
%{_prefix}/lib/snort_dynamicpreprocessor/*.la
|
||||
%{_prefix}/lib/snort_dynamicpreprocessor/*.so*
|
||||
%{_libdir}/libsf_sorules.so.*
|
||||
%dir %{_libdir}/snort/dynamic_preproc
|
||||
%{_libdir}/snort/dynamic_preproc/libsf_dynamic_utils.*
|
||||
%dir %{_libdir}/snort_dynamicengine
|
||||
%{_libdir}/snort_dynamicengine/libsf_engine.a
|
||||
%{_libdir}/snort_dynamicengine/libsf_engine.la
|
||||
%{_libdir}/snort_dynamicengine/libsf_engine.so
|
||||
%{_libdir}/snort_dynamicengine/libsf_engine.so.*
|
||||
%dir %{_libdir}/snort_dynamicpreprocessor
|
||||
%{_libdir}/snort_dynamicpreprocessor/*.a
|
||||
%{_libdir}/snort_dynamicpreprocessor/*.la
|
||||
%{_libdir}/snort_dynamicpreprocessor/*.so*
|
||||
%dir %{_libdir}/snort/dynamic_output/
|
||||
%{_libdir}/snort/dynamic_output/libsf_dynamic_output.a
|
||||
%{_libdir}/snort/dynamic_output/libsf_dynamic_output.la
|
||||
@ -202,8 +212,7 @@ exit 0
|
||||
%dir %attr(755,snort,snort) /var/log/snort
|
||||
%{_datadir}/doc/snort/*
|
||||
%{_mandir}/man8/*
|
||||
%doc ChangeLog doc/AUTHORS doc/CREDITS
|
||||
%doc doc/snort_manual.*
|
||||
%doc doc/AUTHORS doc/CREDITS
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
@ -211,12 +220,49 @@ exit 0
|
||||
%{_prefix}/src/snort_dynamicsrc/*.c
|
||||
%dir %{_includedir}/snort
|
||||
%{_includedir}/snort/*
|
||||
%{_libdir}/libsf_sorules.a
|
||||
%{_libdir}/libsf_sorules.la
|
||||
%{_libdir}/libsf_sorules.so
|
||||
%{_libdir}/pkgconfig/snort.pc
|
||||
%{_libdir}/pkgconfig/snort_preproc.pc
|
||||
%{_libdir}/pkgconfig/snort_output.pc
|
||||
%doc doc/{BUGS,CREDITS,NEWS,README*,TODO,USAGE}
|
||||
%doc doc/{BUGS,NEWS,README*,TODO,USAGE}
|
||||
%doc ChangeLog doc/snort_manual.*
|
||||
|
||||
%changelog
|
||||
* Fri Nov 20 2020 Automatic Build System <autodist@mambasoft.it> 2.9.17-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Aug 16 2020 Automatic Build System <autodist@mambasoft.it> 2.9.16.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Jun 23 2016 Automatic Build System <autodist@mambasoft.it> 2.9.8.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Mar 31 2016 Automatic Build System <autodist@mambasoft.it> 2.9.8.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Dec 01 2015 Automatic Build System <autodist@mambasoft.it> 2.9.8.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Oct 01 2015 Automatic Build System <autodist@mambasoft.it> 2.9.7.6-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Jul 24 2015 Automatic Build System <autodist@mambasoft.it> 2.9.7.5-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Wed May 20 2015 Automatic Build System <autodist@mambasoft.it> 2.9.7.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Mar 20 2015 Automatic Build System <autodist@mambasoft.it> 2.9.7.2-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Fri Oct 24 2014 Automatic Build System <autodist@mambasoft.it> 2.9.7.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Oct 16 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9.6.2-1mamba
|
||||
- update to 2.9.6.2
|
||||
|
||||
* Thu Apr 24 2014 Automatic Build System <autodist@mambasoft.it> 2.9.6.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
@ -343,10 +389,10 @@ exit 0
|
||||
* Sat Jun 05 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.3-4qilnx
|
||||
- start daemon without "-A fast" otherwise it won't log to database
|
||||
|
||||
* Tue Jun 04 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.3-3qilnx
|
||||
* Fri Jun 04 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.3-3qilnx
|
||||
- completed db creation with snortdb-extra.gz
|
||||
|
||||
* Tue Jun 04 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.3-2qilnx
|
||||
* Fri Jun 04 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.3-2qilnx
|
||||
- reconfigured with mysql database creation on install
|
||||
- now runs with its own user and group (snort)
|
||||
|
||||
@ -382,5 +428,5 @@ exit 0
|
||||
SMB alerting via Samba, statistics reporting through proc.
|
||||
flexible responses on hostile connection attempts not yet enabled.
|
||||
|
||||
* Tue Jun 18 2003 Silvan Calarco <silvan.calarco@qinet.it> 2.0.0-1qilnx
|
||||
* Wed Jun 18 2003 Silvan Calarco <silvan.calarco@qinet.it> 2.0.0-1qilnx
|
||||
- first build for snort
|
||||
|
Reference in New Issue
Block a user