From 21d909087b1a8ea456d61a4ee40b2cfa9f53566e Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Mon, 29 May 2006 19:07:26 +0000 Subject: [PATCH] added libpcap-devel package (#193189) --- tcpdump.spec | 34 +++++++++++++++++++++++++++++++--- 1 file changed, 31 insertions(+), 3 deletions(-) diff --git a/tcpdump.spec b/tcpdump.spec index 69a9893..e7e96ce 100644 --- a/tcpdump.spec +++ b/tcpdump.spec @@ -2,7 +2,7 @@ %define PCAP_UID 77 %define PCAP_GID 77 -%define releaseno 3 +%define releaseno 4 %define arpwatch_release 15 %define pcap_release %{releaseno} %define tcpdump_release %{releaseno} @@ -97,6 +97,27 @@ in each application. Install libpcap if you need to do low-level network traffic monitoring on your network. +%package -n libpcap-devel +Version: %{pcap_version} +Release: %{pcap_release} +Summary: A pcap library. +Group: Development/Libraries +License: BSD +URL: http://www.tcpdump.org +Requires: libpcap = %{pcap_version} + +%description -n libpcap-devel +Libpcap provides a portable framework for low-level network +monitoring. Libpcap can provide network statistics collection, +security monitoring and network debugging. Since almost every system +vendor provides a different interface for packet capture, the libpcap +authors created this system-independent API to ease in porting and to +alleviate the need for several system-dependent packet capture modules +in each application. + +This package provides the libraries, include files, and other +resources needed for developing libpcap applications. + %package -n arpwatch Version: 2.1a13 Release: %{arpwatch_release} @@ -292,10 +313,14 @@ exit 0 %files -n libpcap %defattr(-,root,root) %doc %libpcap_dir/LICENSE %libpcap_dir/README %libpcap_dir/CHANGES -%{_includedir}/* -%{_libdir}/libpcap.* +%{_libdir}/libpcap.so* %{_mandir}/man3/pcap.3* +%files -n libpcap-devel +%defattr(-,root,root) +%{_includedir}/* +%{_libdir}/libpcap.a + %files -n arpwatch %defattr(-,root,root) %doc %arpwatch_dir/README %arpwatch_dir/CHANGES @@ -317,6 +342,9 @@ exit 0 %{_vararpwatch}/massagevendor-old %changelog +* Mon May 29 2006 Martin Stransky - 14:3.9.4-4 +- added libpcap-devel package (#193189) + * Tue Mar 28 2006 Martin Stransky - 14:3.9.4-3 - updated ethernet codes (#186633)