1 | Name: daq |
---|
2 | Summary: Data Acquisition Library for packet I/O |
---|
3 | Summary(ja): パケットI/O用データ獲得ライブラリ |
---|
4 | Version: 2.0.2 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | |
---|
7 | License: GPLv2 |
---|
8 | Group: System Environment/Libraries |
---|
9 | URL: http://www.snort.org/ |
---|
10 | |
---|
11 | Source: https://www.snort.org/downloads/snort/daq-%{version}.tar.gz |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | BuildRequires: autoconf, automake, flex, bison |
---|
15 | BuildRequires: libnetfilter_queue-devel |
---|
16 | BuildRequires: libdnet-devel |
---|
17 | BuildRequires: libpcap-devel >= 1.0.0 |
---|
18 | BuildRequires: iptables-devel |
---|
19 | Provides: libdaq = %{version}-%{release} |
---|
20 | |
---|
21 | Vendor: Project Vine |
---|
22 | Distribution: Vine Linux |
---|
23 | |
---|
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 | %package devel |
---|
34 | Summary: Development files for %{name} |
---|
35 | Summary(ja): %{name} の開発用ファイル |
---|
36 | Group: Development/Libraries |
---|
37 | Requires: %{name}%{?_isa} = %{version}-%{release} |
---|
38 | Provides: libdaq-devel = %{version}-%{release} |
---|
39 | |
---|
40 | %description devel |
---|
41 | The package contains libraries and header files for |
---|
42 | developing applications that use daq. |
---|
43 | |
---|
44 | |
---|
45 | %prep |
---|
46 | %setup -q |
---|
47 | |
---|
48 | |
---|
49 | %build |
---|
50 | %configure |
---|
51 | make |
---|
52 | |
---|
53 | |
---|
54 | %install |
---|
55 | rm -rf %{buildroot} |
---|
56 | make install DESTDIR=%{buildroot} |
---|
57 | |
---|
58 | rm -f %{buildroot}%{_libdir}/*.la |
---|
59 | rm -f %{buildroot}%{_libdir}/daq/*.la |
---|
60 | |
---|
61 | |
---|
62 | %clean |
---|
63 | rm -rf %{buildroot} |
---|
64 | |
---|
65 | |
---|
66 | %post -p /sbin/ldconfig |
---|
67 | |
---|
68 | %postun -p /sbin/ldconfig |
---|
69 | |
---|
70 | |
---|
71 | %files |
---|
72 | %defattr(-,root,root) |
---|
73 | %doc ChangeLog COPYING README |
---|
74 | %{_libdir}/*.so.* |
---|
75 | %dir %{_libdir}/daq |
---|
76 | %{_libdir}/daq/*.so |
---|
77 | |
---|
78 | %files devel |
---|
79 | %defattr(-,root,root) |
---|
80 | %{_bindir}/daq-modules-config |
---|
81 | %{_includedir}/*.h |
---|
82 | %{_libdir}/*.so |
---|
83 | %{_libdir}/*.a |
---|
84 | |
---|
85 | |
---|
86 | %changelog |
---|
87 | * Sat Sep 27 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 2.0.2-1 |
---|
88 | - new upstream release |
---|
89 | - changed Group to System Environment/Libraries |
---|
90 | - added devel subpackage |
---|
91 | |
---|
92 | * Wed Jan 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.0.1-1 |
---|
93 | - new upstream release |
---|
94 | |
---|
95 | * Sun Mar 18 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.6.2-2 |
---|
96 | - fix post and postun scripts |
---|
97 | |
---|
98 | * Wed Mar 14 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.6.2-1 |
---|
99 | - initial build for Vine Linux |
---|