daq-vl.spec 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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. License: GPLv2
  7. Group: System Environment/Libraries
  8. URL: http://www.snort.org/
  9. Source: https://www.snort.org/downloads/snort/daq-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: autoconf, automake, flex, bison
  12. BuildRequires: libnetfilter_queue-devel
  13. BuildRequires: libdnet-devel
  14. BuildRequires: libpcap-devel >= 1.0.0
  15. BuildRequires: iptables-devel
  16. Provides: libdaq = %{version}-%{release}
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. %description
  20. Snort 2.9 introduces the DAQ, or Data Acquisition library, for packet I/O. The
  21. DAQ replaces direct calls to PCAP functions with an abstraction layer that
  22. facilitates operation on a variety of hardware and software interfaces without
  23. requiring changes to Snort. It is possible to select the DAQ type and mode
  24. when invoking Snort to perform PCAP readback or inline operation, etc. The
  25. DAQ library may be useful for other packet processing applications and the
  26. modular nature allows you to build new modules for other platforms.
  27. %package devel
  28. Summary: Development files for %{name}
  29. Summary(ja): %{name} の開発用ファイル
  30. Group: Development/Libraries
  31. Requires: %{name}%{?_isa} = %{version}-%{release}
  32. Provides: libdaq-devel = %{version}-%{release}
  33. %description devel
  34. The package contains libraries and header files for
  35. developing applications that use daq.
  36. %prep
  37. %setup -q
  38. %build
  39. %configure
  40. make
  41. %install
  42. rm -rf %{buildroot}
  43. make install DESTDIR=%{buildroot}
  44. rm -f %{buildroot}%{_libdir}/*.la
  45. rm -f %{buildroot}%{_libdir}/daq/*.la
  46. %clean
  47. rm -rf %{buildroot}
  48. %post -p /sbin/ldconfig
  49. %postun -p /sbin/ldconfig
  50. %files
  51. %defattr(-,root,root)
  52. %doc ChangeLog COPYING README
  53. %{_libdir}/*.so.*
  54. %dir %{_libdir}/daq
  55. %{_libdir}/daq/*.so
  56. %files devel
  57. %defattr(-,root,root)
  58. %{_bindir}/daq-modules-config
  59. %{_includedir}/*.h
  60. %{_libdir}/*.so
  61. %{_libdir}/*.a
  62. %changelog
  63. * Sat Sep 27 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 2.0.2-1
  64. - new upstream release
  65. - changed Group to System Environment/Libraries
  66. - added devel subpackage
  67. * Wed Jan 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.0.1-1
  68. - new upstream release
  69. * Sun Mar 18 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.6.2-2
  70. - fix post and postun scripts
  71. * Wed Mar 14 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.6.2-1
  72. - initial build for Vine Linux