76 lines
2.1 KiB
RPMSpec
76 lines
2.1 KiB
RPMSpec
Name: libdaq
|
|
Version: 2.0.1
|
|
Release: 1mamba
|
|
Summary: Data Acquisition library
|
|
Group: Network/Monitoring
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Tiziana Ferro <tiziana.ferro@email.it>
|
|
URL: http://www.snort.org
|
|
# 0.5: no direct link working; downloaded by hand
|
|
Source: http://www.snort.org/downloads/2657/daq-%{version}.tar.gz
|
|
License: GPL
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libpcap-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 need for development.
|
|
|
|
%prep
|
|
%setup -q -n daq-%{version}
|
|
|
|
%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}/daq-modules-config
|
|
%{_includedir}/daq*.h
|
|
%{_includedir}/sfbpf*.h
|
|
%{_libdir}/*.a
|
|
%{_libdir}/*.la
|
|
%{_libdir}/*.so
|
|
%{_libdir}/daq/*.la
|
|
%{_libdir}/daq/*.so
|
|
%doc README
|
|
|
|
%changelog
|
|
* 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
|