[8191] | 1 | %define version 2.0.1 |
---|
[5903] | 2 | |
---|
| 3 | Summary: Data Acquisition Library |
---|
| 4 | License: GPLv2 |
---|
| 5 | Group: Libraries/Network |
---|
| 6 | Name: daq |
---|
| 7 | Prefix: %{_prefix} |
---|
| 8 | Provides: daq |
---|
[8191] | 9 | Release: 1%{?_dist_release} |
---|
[5903] | 10 | Source: daq-%{version}.tar.gz |
---|
| 11 | URL: http://www.snort.org/ |
---|
| 12 | Version: %{version} |
---|
| 13 | |
---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 15 | BuildRequires: autoconf, automake, flex, bison |
---|
| 16 | BuildRequires: libnetfilter_queue-devel |
---|
| 17 | BuildRequires: libdnet-devel |
---|
| 18 | BuildRequires: libpcap-devel >= 1.0.0 |
---|
| 19 | BuildRequires: iptables-devel |
---|
| 20 | |
---|
[8191] | 21 | Vendor: Project Vine |
---|
| 22 | Distribution: Vine Linux |
---|
| 23 | |
---|
[5903] | 24 | %description |
---|
| 25 | Snort 2.9 introduces the DAQ, or Data Acquisition library, for packet I/O. The |
---|
| 26 | DAQ replaces direct calls to PCAP functions with an abstraction layer that |
---|
| 27 | facilitates operation on a variety of hardware and software interfaces without |
---|
| 28 | requiring changes to Snort. It is possible to select the DAQ type and mode |
---|
| 29 | when invoking Snort to perform PCAP readback or inline operation, etc. The |
---|
| 30 | DAQ library may be useful for other packet processing applications and the |
---|
| 31 | modular nature allows you to build new modules for other platforms. |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | %prep |
---|
| 35 | %setup -q |
---|
| 36 | |
---|
| 37 | |
---|
| 38 | %build |
---|
| 39 | %configure |
---|
| 40 | make |
---|
| 41 | |
---|
| 42 | |
---|
| 43 | %install |
---|
| 44 | rm -rf %{buildroot} |
---|
| 45 | make install DESTDIR=%{buildroot} |
---|
| 46 | |
---|
| 47 | rm -f %{buildroot}%{_libdir}/*.la |
---|
| 48 | rm -f %{buildroot}%{_libdir}/daq/*.la |
---|
| 49 | |
---|
[5921] | 50 | |
---|
[5903] | 51 | %clean |
---|
| 52 | rm -rf %{buildroot} |
---|
| 53 | |
---|
| 54 | |
---|
[5921] | 55 | %post -p /sbin/ldconfig |
---|
| 56 | |
---|
| 57 | |
---|
| 58 | %postun -p /sbin/ldconfig |
---|
| 59 | |
---|
| 60 | |
---|
[5903] | 61 | %files |
---|
| 62 | %defattr(-,root,root) |
---|
| 63 | %{_includedir}/*.h |
---|
| 64 | %{_libdir}/*.so |
---|
| 65 | %{_libdir}/*.so.* |
---|
| 66 | %{_libdir}/*.a |
---|
| 67 | %dir %{_libdir}/daq |
---|
| 68 | %{_libdir}/daq/*.so |
---|
| 69 | %{_bindir}/daq-modules-config |
---|
| 70 | |
---|
| 71 | |
---|
| 72 | %changelog |
---|
[8191] | 73 | * Wed Jan 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.0.1-1 |
---|
| 74 | - new upstream release |
---|
| 75 | |
---|
[5921] | 76 | * Sun Mar 18 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.6.2-2 |
---|
| 77 | - fix post and postun scripts |
---|
| 78 | |
---|
[5903] | 79 | * Wed Mar 14 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.6.2-1 |
---|
| 80 | - initial build for Vine Linux |
---|