69 lines
1.8 KiB
RPMSpec
69 lines
1.8 KiB
RPMSpec
Name: libnids
|
|
Version: 1.24
|
|
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: http://ovh.dl.sourceforge.net/sourceforge/libnids/%{name}-%{version}.tar.gz
|
|
License: GPL
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libpcap-devel
|
|
## AUTOBUILDREQ-END
|
|
|
|
%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} = %{version}
|
|
|
|
%description devel
|
|
This package contains static libraries and header files need for development.
|
|
|
|
%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}/*.so.*
|
|
%{_mandir}/man3/libnids.3.gz
|
|
%doc CHANGES COPYING CREDITS README
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/*.h
|
|
%{_libdir}/*.a
|
|
%{_libdir}/*.so
|
|
|
|
%changelog
|
|
* 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
|