84 lines
2.2 KiB
RPMSpec
84 lines
2.2 KiB
RPMSpec
Name: libnids
|
|
Version: 1.26
|
|
Release: 1mamba
|
|
Summary: An implementation of an E-component of Network Intrusion Detection System
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://libnids.sourceforge.net/
|
|
Source: https://github.com/MITRECND/libnids.git/%{version}/libnids-%{version}.tar.bz2
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libnet-devel
|
|
BuildRequires: libnsl-devel
|
|
BuildRequires: libpcap-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: libnet-devel >= 1.2
|
|
|
|
%description
|
|
Libnids is an implementation of an E-component of Network Intrusion Detection System. It emulates the IP stack of Linux 2.0.x. Libnids offers IP defragmentation, TCP stream assembly and TCP port scan detection.
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Static libraries and headers for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description devel
|
|
This package contains static libraries and header files needed for development.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure \
|
|
--enable-shared
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
%makeoldinstall
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libnids.so.*
|
|
%doc COPYING CREDITS
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/nids.h
|
|
%{_libdir}/libnids.a
|
|
%{_libdir}/libnids.so
|
|
%{_mandir}/man3/libnids.3*
|
|
%doc CHANGES CREDITS README
|
|
|
|
%changelog
|
|
* Mon Dec 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.26-1mamba
|
|
- update to 1.26
|
|
|
|
* Fri Nov 26 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.24-3mamba
|
|
- rebuilt with libnet 1.2
|
|
|
|
* Tue Oct 20 2020 Automatic Build System <autodist@mambasoft.it> 1.24-2mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* Fri May 07 2010 Automatic Build System <autodist@mambasoft.it> 1.24-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Wed Jul 02 2008 Tiziana Ferro <tiziana.ferro@email.it> 1.23-1mamba
|
|
- update to 1.23
|
|
|
|
* Fri Jul 08 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.20-1qilnx
|
|
- package created by autospec
|