update to 5.2.0 [release 5.2.0-1mamba;Sat Dec 19 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 05:26:52 +01:00
parent d7f382fd7f
commit 28e7b8fd12
2 changed files with 90 additions and 23 deletions

View File

@ -0,0 +1,16 @@
Description: Add support to Ruby 2.7
Author: Thomas Andrejak <thomas.andrejak@gmail.com>
Last-Update: 2020-03-23
Forwarded: yes, privately
--- libprelude-5.2.0/bindings/ruby/Prelude.cxx 2019-10-15 05:33:03.117000000 +0900
+++ libprelude-5.2.0/bindings/ruby/Prelude.cxx 2020-01-19 20:13:37.324557838 +0900
@@ -1260,7 +1260,7 @@ SWIGRUNTIME void SWIG_RubyInitializeTrac
swig_ruby_trackings = (st_table*)NUM2SWIG(trackings_value);
}
- rb_define_virtual_variable("SWIG_TRACKINGS_COUNT", swig_ruby_trackings_count, NULL);
+ rb_define_virtual_variable("SWIG_TRACKINGS_COUNT", swig_ruby_trackings_count, (rb_gvar_setter_t *)NULL);
}
/* Add a Tracking from a C/C++ struct to a Ruby object */

View File

@ -1,5 +1,5 @@
Name: libprelude Name: libprelude
Version: 1.0.1 Version: 5.2.0
Release: 1mamba Release: 1mamba
Summary: A hybrid Intrusion Detection framework implementing an open communication layer Summary: A hybrid Intrusion Detection framework implementing an open communication layer
Group: System/Libraries Group: System/Libraries
@ -7,28 +7,34 @@ Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.prelude-technologies.com URL: http://www.prelude-technologies.com
Source: https://www.prelude-ids.org/attachments/download/241/libprelude-%{version}.tar.gz Source: https://www.prelude-siem.org/pkg/src/%{version}/libprelude-%{version}.tar.gz
Patch0: %{name}-1.0.0-libtool-2.4.patch Patch0: %{name}-1.0.0-libtool-2.4.patch
Patch1: libprelude-1.0.0-gcc-4.6.patch Patch1: libprelude-1.0.0-gcc-4.6.patch
Patch2: libprelude-1.0.0-libgnutls-3.0.5.patch Patch2: libprelude-1.0.0-libgnutls-3.0.5.patch
Patch3: libprelude-1.0.1-gcc-4.7.patch Patch3: libprelude-1.0.1-gcc-4.7.patch
Patch4: libprelude-5.2.0-ruby-2.7.2.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libffi-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libgcrypt-devel
BuildRequires: libgmp-devel BuildRequires: libgmp-devel
BuildRequires: libgnutls-devel BuildRequires: libgnutls-devel
BuildRequires: libgpg-error-devel BuildRequires: libidn2-devel
BuildRequires: libltdl-devel BuildRequires: libltdl-devel
BuildRequires: libnettle-devel BuildRequires: libnettle-devel
BuildRequires: libpython-devel BuildRequires: libp11-kit-devel
BuildRequires: libpcre-devel
BuildRequires: libperl
BuildRequires: libpython27-devel
BuildRequires: libpython3-devel
BuildRequires: libruby-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
BuildRequires: libtasn1-devel BuildRequires: libtasn1-devel
BuildRequires: libz-devel BuildRequires: libunistring-devel
BuildRequires: p11-kit-devel
BuildRequires: perl-devel BuildRequires: perl-devel
BuildRequires: ruby-devel BuildRequires: python3
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -39,10 +45,20 @@ Prelude is an Hybrid IDS framework, that is, it is a product that enable all ava
Summary: Devel package for %{name} Summary: Devel package for %{name}
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
%description devel %description devel
Prelude is an Hybrid IDS framework, that is, it is a product that enable all available security application, be it opensource or proprietary, to report to a centralized system. In order to achieve this task, Prelude relies on the IDMEF (Intrusion Detection Message Exchange Format) IETF standard, that enables different kinds of sensors to generate events using an unified language. Prelude is an Hybrid IDS framework, that is, it is a product that enable all available security application, be it opensource or proprietary, to report to a centralized system. In order to achieve this task, Prelude relies on the IDMEF (Intrusion Detection Message Exchange Format) IETF standard, that enables different kinds of sensors to generate events using an unified language.
This package contains static libraries and header files need for development. This package contains static libraries and header files needed for development.
%package tools
Summary: Tools provided with %{name}
Group: System/Tools
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
Prelude is an Hybrid IDS framework, that is, it is a product that enable all available security application, be it opensource or proprietary, to report to a centralized system. In order to achieve this task, Prelude relies on the IDMEF (Intrusion Detection Message Exchange Format) IETF standard, that enables different kinds of sensors to generate events using an unified language.
This package contains the tools provide with %{name}.
%package -n perl-Prelude %package -n perl-Prelude
Summary: Perl interface to the Prelude Intrution Detection Framework Summary: Perl interface to the Prelude Intrution Detection Framework
@ -53,24 +69,40 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Prelude is an Hybrid IDS framework, that is, it is a product that enable all available security application, be it opensource or proprietary, to report to a centralized system. In order to achieve this task, Prelude relies on the IDMEF (Intrusion Detection Message Exchange Format) IETF standard, that enables different kinds of sensors to generate events using an unified language. Prelude is an Hybrid IDS framework, that is, it is a product that enable all available security application, be it opensource or proprietary, to report to a centralized system. In order to achieve this task, Prelude relies on the IDMEF (Intrusion Detection Message Exchange Format) IETF standard, that enables different kinds of sensors to generate events using an unified language.
This package contains the perl library interface. This package contains the perl library interface.
%package -n python-Prelude %package -n python-prelude
Summary: Python interface to the Prelude Intrution Detection Framework Summary: Python interface to the Prelude Intrution Detection Framework
Group: System/Libraries Group: System/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRequires: libtasn1-devel Provides: python-Prelude
Obsoletes: python-Prelude < 5.2.0
%description -n python-Prelude %description -n python-prelude
Prelude is an Hybrid IDS framework, that is, it is a product that enable all available security application, be it opensource or proprietary, to report to a centralized system. In order to achieve this task, Prelude relies on the IDMEF (Intrusion Detection Message Exchange Format) IETF standard, that enables different kinds of sensors to generate events using an unified language. Prelude is an Hybrid IDS framework, that is, it is a product that enable all available security application, be it opensource or proprietary, to report to a centralized system. In order to achieve this task, Prelude relies on the IDMEF (Intrusion Detection Message Exchange Format) IETF standard, that enables different kinds of sensors to generate events using an unified language.
This package contains the python library interface. This package contains the python library interface.
%package -n python-prelude-py3
Summary: Python interface to the Prelude Intrution Detection Framework
Group: System/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n python-prelude-py3
Prelude is an Hybrid IDS framework, that is, it is a product that enable all available security application, be it opensource or proprietary, to report to a centralized system. In order to achieve this task, Prelude relies on the IDMEF (Intrusion Detection Message Exchange Format) IETF standard, that enables different kinds of sensors to generate events using an unified language.
This package contains the python library interface.
%debug_package
%prep %prep
%setup -q %setup -q
%patch0 -p1 #-D -T
#:<< _EOF
#%patch0 -p1
%patch1 -p1 %patch1 -p1
%patch2 -p1 #%patch2 -p1
%patch3 -p1 #%patch3 -p1
%patch4 -p1
%build %build
#:<< _EOF
export CFLAGS="-Wno-deprecated-declarations" export CFLAGS="-Wno-deprecated-declarations"
%configure --without-lua %configure --without-lua
%make %make
@ -96,19 +128,13 @@ find %{buildroot}/usr/lib/perl5 -name perllocal.pod -exec rm -f {} \;
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_sysconfdir}/prelude
%{_sysconfdir}/prelude/default/*.conf
%{_bindir}/prelude-adduser
%{_bindir}/prelude-admin
%{_libdir}/libprelude.so.* %{_libdir}/libprelude.so.*
%{_libdir}/libpreludecpp.so.* %{_libdir}/libpreludecpp.so.*
%{_libdir}/ruby/site_ruby %{_libdir}/ruby/site_ruby
%{_mandir}/man1/prelude-admin.1.gz %doc AUTHORS COPYING
%doc AUTHORS COPYING ChangeLog NEWS README
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/libprelude-config
%dir %{_includedir}/libprelude %dir %{_includedir}/libprelude
%{_includedir}/libprelude/*.h %{_includedir}/libprelude/*.h
%{_includedir}/libprelude/*.hxx %{_includedir}/libprelude/*.hxx
@ -121,15 +147,40 @@ find %{buildroot}/usr/lib/perl5 -name perllocal.pod -exec rm -f {} \;
#%{_libdir}/PreludeEasy.la #%{_libdir}/PreludeEasy.la
#%{_libdir}/PreludeEasy.so #%{_libdir}/PreludeEasy.so
%{_libdir}/pkgconfig/libprelude.pc %{_libdir}/pkgconfig/libprelude.pc
%doc ChangeLog NEWS README
%files tools
%defattr(-,root,root)
%dir %{_sysconfdir}/prelude
%{_sysconfdir}/prelude/default/*.conf
%{_bindir}/libprelude-config
%{_bindir}/prelude-adduser
%{_bindir}/prelude-admin
%{_datadir}/libprelude/swig/libpreludecpp.i
%{_datadir}/libprelude/swig/perl/libpreludecpp-perl.i
%{_datadir}/libprelude/swig/python/libpreludecpp-python.i
%{_datadir}/libprelude/swig/ruby/libpreludecpp-ruby.i
%{_mandir}/man1/prelude-admin.1*
%{_mandir}/man1/libprelude-config.1*
%files -n perl-Prelude -f .packlist %files -n perl-Prelude -f .packlist
%defattr(-,root,root) %defattr(-,root,root)
%files -n python-Prelude %files -n python-prelude
%defattr(-,root,root) %defattr(-,root,root)
%{python_sitearch}/* %{python_sitearch}/*
%files -n python-prelude-py3
%defattr(-,root,root)
%{python3_sitearch}/__pycache__/prelude.cpython-*.pyc
%{python3_sitearch}/_prelude.cpython-*.so
%{python3_sitearch}/prelude-*.egg-info
%{python3_sitearch}/prelude.py
%changelog %changelog
* Sat Dec 19 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 5.2.0-1mamba
- update to 5.2.0
* Fri Nov 16 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-1mamba * Fri Nov 16 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-1mamba
- update to 1.0.1 - update to 1.0.1