85 lines
2.3 KiB
RPMSpec
85 lines
2.3 KiB
RPMSpec
Name: libdaq
|
|
Version: 3.0.5
|
|
Release: 1mamba
|
|
Summary: Data Acquisition library
|
|
Group: Network/Monitoring
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://www.snort.org/
|
|
Source: https://github.com/snort3/libdaq.git/v%{version}/libdaq-%{version}.tar.bz2
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libmnl-devel
|
|
BuildRequires: libpcap-devel
|
|
BuildRequires: libstdc++6-devel
|
|
## AUTOBUILDREQ-END
|
|
|
|
%description
|
|
DAQ replaces direct calls to PCAP functions with an abstraction layer that facilitates operation on a variety of hardware and software interfaces without requiring changes to Snort.
|
|
It is possible to select the DAQ type and mode when invoking Snort to perform PCAP readback or inline operation, etc.
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Static libraries and headers for %{name}
|
|
Requires: %{name} = %{version}
|
|
|
|
%description devel
|
|
DAQ replaces direct calls to PCAP functions with an abstraction layer that facilitates operation on a variety of hardware and software interfaces without requiring changes to Snort.
|
|
This package contains static libraries and header files needed for development.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
./bootstrap
|
|
|
|
%build
|
|
%configure
|
|
%make -j1
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
%makeinstall
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/*.so.*
|
|
%doc COPYING
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_bindir}/daqtest
|
|
%{_bindir}/daqtest-static
|
|
%{_includedir}/daq*.h
|
|
%{_libdir}/*.a
|
|
%{_libdir}/*.la
|
|
%{_libdir}/*.so
|
|
%{_libdir}/daq/*.la
|
|
%{_libdir}/daq/*.so
|
|
%{_libdir}/pkgconfig/libdaq*.pc
|
|
|
|
%changelog
|
|
* Sun Dec 26 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.5-1mamba
|
|
- update to 3.0.5
|
|
|
|
* Tue Jun 17 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.2-1mamba
|
|
- update to 2.0.2
|
|
|
|
* Mon Jan 06 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.1-1mamba
|
|
- update to 2.0.1
|
|
|
|
* Mon Jan 07 2013 Automatic Build System <autodist@mambasoft.it> 2.0.0-1mamba
|
|
- update to 2.0.0
|
|
|
|
* Mon Mar 07 2011 Tiziana Ferro <tiziana.ferro@email.it> 0.5-1mamba
|
|
- package created by autospec
|