automatic version update by autodist [release 2.9.16.1-1mamba;Sun Aug 16 2020]

This commit is contained in:
Automatic Build System 2024-01-05 17:56:52 +01:00
parent b73c6fd3d2
commit 452400eb5c

View File

@ -5,7 +5,7 @@
%define userid 65023 %define userid 65023
Name: snort Name: snort
Version: 2.9.8.3 Version: 2.9.16.1
Release: 1mamba Release: 1mamba
Summary: The Open Source Intrusion Detection System Summary: The Open Source Intrusion Detection System
Group: Network/Monitoring Group: Network/Monitoring
@ -47,6 +47,7 @@ BuildRequires: mysql-client
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libdnet-devel BuildRequires: libdnet-devel
BuildRequires: libdaq-devel BuildRequires: libdaq-devel
BuildRequires: libluajit-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: %{_datadir}/snort/contrib/createmysql Provides: %{_datadir}/snort/contrib/createmysql
Provides: %{_datadir}/snort/contrib/createmysql-archive 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. This package contains the static libraries, headers and source files for development.
%debug_package
%prep %prep
%setup -q -a6 %setup -q -a6
sed -i "s|/usr/local|/usr|" etc/snort.conf sed -i "s|/usr/local|/usr|" etc/snort.conf
%build %build
%configure \ %configure \
-sysconfdir=%{_sysconfdir}/snort \ --sysconfdir=%{_sysconfdir}/snort \
--enable-linux-smp-stat \ --enable-linux-smp-stat \
--enable-smbalerts \ --enable-smbalerts \
%if %enable_mysql %if %enable_mysql
@ -96,6 +99,7 @@ sed -i "s|/usr/local|/usr|" etc/snort.conf
%if %enable_postgresql %if %enable_postgresql
--with-postgresql \ --with-postgresql \
%endif %endif
CFLAGS="%{optflags} -I%{_includedir}/tirpc"
# --enable-sourcefire # --enable-sourcefire
# --enable-perfmonitor # --enable-perfmonitor
# --enable-flexresp # --enable-flexresp
@ -177,9 +181,15 @@ exit 0
%{_sysconfdir}/snort/rules/* %{_sysconfdir}/snort/rules/*
%{_sysconfdir}/snort/preproc_rules/* %{_sysconfdir}/snort/preproc_rules/*
%{_sysconfdir}/snort/*.map %{_sysconfdir}/snort/*.map
%{_bindir}/appid_detector_builder.sh
%{_bindir}/u2boat %{_bindir}/u2boat
%{_bindir}/u2spewfoo %{_bindir}/u2spewfoo
%{_bindir}/u2openappid
%{_bindir}/u2streamer
%{_bindir}/snort %{_bindir}/snort
%{_libdir}/libsf_sorules.so.*
%dir %{_libdir}/snort/dynamic_preproc
%{_libdir}/snort/dynamic_preproc/libsf_dynamic_utils.*
%dir %{_libdir}/snort_dynamicengine %dir %{_libdir}/snort_dynamicengine
%{_libdir}/snort_dynamicengine/libsf_engine.a %{_libdir}/snort_dynamicengine/libsf_engine.a
%{_libdir}/snort_dynamicengine/libsf_engine.la %{_libdir}/snort_dynamicengine/libsf_engine.la
@ -202,8 +212,7 @@ exit 0
%dir %attr(755,snort,snort) /var/log/snort %dir %attr(755,snort,snort) /var/log/snort
%{_datadir}/doc/snort/* %{_datadir}/doc/snort/*
%{_mandir}/man8/* %{_mandir}/man8/*
%doc ChangeLog doc/AUTHORS doc/CREDITS %doc doc/AUTHORS doc/CREDITS
%doc doc/snort_manual.*
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
@ -211,12 +220,19 @@ exit 0
%{_prefix}/src/snort_dynamicsrc/*.c %{_prefix}/src/snort_dynamicsrc/*.c
%dir %{_includedir}/snort %dir %{_includedir}/snort
%{_includedir}/snort/* %{_includedir}/snort/*
%{_libdir}/libsf_sorules.a
%{_libdir}/libsf_sorules.la
%{_libdir}/libsf_sorules.so
%{_libdir}/pkgconfig/snort.pc %{_libdir}/pkgconfig/snort.pc
%{_libdir}/pkgconfig/snort_preproc.pc %{_libdir}/pkgconfig/snort_preproc.pc
%{_libdir}/pkgconfig/snort_output.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 %changelog
* 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 * Thu Jun 23 2016 Automatic Build System <autodist@mambasoft.it> 2.9.8.3-1mamba
- automatic version update by autodist - automatic version update by autodist
@ -370,10 +386,10 @@ exit 0
* Sat Jun 05 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.3-4qilnx * 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 - 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 - 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 - reconfigured with mysql database creation on install
- now runs with its own user and group (snort) - now runs with its own user and group (snort)
@ -409,5 +425,5 @@ exit 0
SMB alerting via Samba, statistics reporting through proc. SMB alerting via Samba, statistics reporting through proc.
flexible responses on hostile connection attempts not yet enabled. 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 - first build for snort