From c253d6ea6cabf05b0ef5181695192241757d6a96 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:04:12 +0100 Subject: [PATCH] update to 2.0.1 [release 2.0.1-1mamba;Mon Jan 06 2014] --- README.md | 3 +++ libdaq.spec | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 libdaq.spec diff --git a/README.md b/README.md index 18883f8..f09cf27 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # libdaq +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. + diff --git a/libdaq.spec b/libdaq.spec new file mode 100644 index 0000000..4148eae --- /dev/null +++ b/libdaq.spec @@ -0,0 +1,75 @@ +Name: libdaq +Version: 2.0.1 +Release: 1mamba +Summary: Data Acquisition library +Group: Network/Monitoring +Vendor: openmamba +Distribution: openmamba +Packager: Tiziana Ferro +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 2.0.1-1mamba +- update to 2.0.1 + +* Mon Jan 07 2013 Automatic Build System 2.0.0-1mamba +- update to 2.0.0 + +* Mon Mar 07 2011 Tiziana Ferro 0.5-1mamba +- package created by autospec