cc1bd62
Name: libpcap
cc1bd62
Epoch: 14
79a4a54
Version: 1.7.4
0c075f6
Release: 2%{?dist}
cc1bd62
Summary: A system-independent interface for user-level packet capture
cc1bd62
Group: Development/Libraries
76faa1a
License: BSD with advertising
cc1bd62
URL: http://www.tcpdump.org
a435ecc
BuildRequires: glibc-kernheaders >= 2.2.0 bison flex bluez-libs-devel
7ed25bd
c218845
Source:  http://www.tcpdump.org/release/%{name}-%{version}.tar.gz
656dce8
656dce8
Patch0001:      0001-man-tcpdump-and-tcpslice-have-manpages-in-man8.patch
656dce8
Patch0002:      0002-pcap-config-mitigate-multilib-conflict.patch
656dce8
Patch0003:      0003-pcap-linux-apparently-ctc-interfaces-on-s390-has-eth.patch
656dce8
Patch0004:      0004-pcap-linux-don-t-use-TPACKETV3-for-memory-mmapped-ca.patch
a435ecc
Patch0005:      0001-Fix-building-Bluetooth-Linux-Monitor-support-with-Bl.patch
cc1bd62
cc1bd62
%description
cc1bd62
Libpcap provides a portable framework for low-level network
cc1bd62
monitoring.  Libpcap can provide network statistics collection,
cc1bd62
security monitoring and network debugging.  Since almost every system
cc1bd62
vendor provides a different interface for packet capture, the libpcap
cc1bd62
authors created this system-independent API to ease in porting and to
cc1bd62
alleviate the need for several system-dependent packet capture modules
cc1bd62
in each application.
cc1bd62
cc1bd62
Install libpcap if you need to do low-level network traffic monitoring
cc1bd62
on your network.
cc1bd62
cc1bd62
%package devel
cc1bd62
Summary: Libraries and header files for the libpcap library
cc1bd62
Group: Development/Libraries
cc1bd62
Requires: %{name} = %{epoch}:%{version}-%{release}
cc1bd62
cc1bd62
%description devel
cc1bd62
Libpcap provides a portable framework for low-level network
cc1bd62
monitoring.  Libpcap can provide network statistics collection,
cc1bd62
security monitoring and network debugging.  Since almost every system
cc1bd62
vendor provides a different interface for packet capture, the libpcap
cc1bd62
authors created this system-independent API to ease in porting and to
cc1bd62
alleviate the need for several system-dependent packet capture modules
cc1bd62
in each application.
cc1bd62
8490e94
This package provides the libraries, include files, and other
cc1bd62
resources needed for developing libpcap applications.
8490e94
cc1bd62
%prep
7ed25bd
%setup -q
656dce8
%autopatch -p1
cc1bd62
8490e94
#sparc needs -fPIC
787ec60
%ifarch %{sparc}
787ec60
sed -i -e 's|-fpic|-fPIC|g' configure
787ec60
%endif
787ec60
cc1bd62
%build
ad250b0
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
7ed25bd
%configure
3324fa0
make %{?_smp_mflags}
cc1bd62
cc1bd62
%install
3324fa0
make DESTDIR=$RPM_BUILD_ROOT install
cc1bd62
rm -f $RPM_BUILD_ROOT%{_libdir}/libpcap.a
cc1bd62
cc1bd62
%post -p /sbin/ldconfig
cc1bd62
cc1bd62
%postun -p /sbin/ldconfig
cc1bd62
cc1bd62
%files
cc1bd62
%defattr(-,root,root)
7ed25bd
%doc LICENSE README CHANGES CREDITS
cc1bd62
%{_libdir}/libpcap.so.*
3324fa0
%{_mandir}/man7/pcap*.7*
cc1bd62
cc1bd62
%files devel
cc1bd62
%defattr(-,root,root)
3324fa0
%{_bindir}/pcap-config
cc1bd62
%{_includedir}/pcap*.h
3324fa0
%{_includedir}/pcap
cc1bd62
%{_libdir}/libpcap.so
3324fa0
%{_mandir}/man1/pcap-config.1*
3324fa0
%{_mandir}/man3/pcap*.3*
3324fa0
%{_mandir}/man5/pcap*.5*
cc1bd62
cc1bd62
%changelog
0c075f6
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 14:1.7.4-2
0c075f6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
0c075f6
79a4a54
* Mon Jun 29 2015 Michal Sekletar <msekleta@redhat.com> - 14:1.7.4-1
79a4a54
- update to 1.7.4 (#1236387)
79a4a54
5583a81
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 14:1.7.3-2
5583a81
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
5583a81
f09408f
* Tue May 26 2015 Michal Sekletar <msekleta@redhat.com> - 14:1.7.3-1
f09408f
- update to 1.7.3 (#1214723)
a435ecc
- fix build against bluez-5 (#1178297)
f09408f
e659b39
* Fri Mar 13 2015 Michal Sekletar <msekleta@redhat.com> - 14:1.7.2-1
e659b39
- update to 1.7.2 (#1201078)
e659b39
c34a2d5
* Mon Feb 23 2015 Michal Sekletar <msekleta@redhat.com> - 14:1.6.2-2
c34a2d5
- fix scaling of pcap-ng timestamps (#1169322)
0fe9e42
- remove kernel-devel from buildrequires
c34a2d5
656dce8
* Mon Sep 29 2014 Michal Sekletar <msekleta@redhat.com> - 14:1.6.2-1
656dce8
- update to 1.6.2 (#1124174)
656dce8
- disable TPACKET_V3 support (#1131500)
656dce8
249f151
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 14:1.5.3-5
249f151
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
249f151
0afebfb
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 14:1.5.3-4
0afebfb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
0afebfb
ca91a03
* Mon Mar 31 2014 Michal Sekletar <msekleta@redhat.com> - 14:1.5.3-3
ca91a03
- don't link against libnl
ca91a03
60fbf0f
* Fri Mar 28 2014 Michal Sekletar <msekleta@redhat.com> - 14:1.5.3-2
60fbf0f
- link against libnl (#765716)
60fbf0f
5c44d64
* Wed Jan 15 2014 Michal Sekletar <msekleta@redhat.com> - 14:1.5.3-1
5c44d64
- update to 1.5.3
5c44d64
c218845
* Thu Nov 28 2013 Michal Sekletar <msekleta@redhat.com> - 14:1.5.1-1
c218845
- update to 1.5.1
c218845
1a8ef4f
* Fri Nov 08 2013 Michal Sekletar <msekleta@redhat.com> - 14:1.5.0-1.20131108git459712e
1a8ef4f
- update to snapshot 20131108git459712e
1a8ef4f
de3303b
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 14:1.4.0-2
de3303b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
de3303b
d4d8a44
* Thu Jun 06 2013 Michal Sekletar <msekleta@redhat.com> - 14:1.4.0-1
d4d8a44
- update to 1.4.0
d4d8a44
99e93bf
* Tue Mar 26 2013 Michal Sekletar <msekleta@redhat.com> - 14:1.3.0-4
99e93bf
- remove unused variable from pcap-config to prevent multilib conflicts
99e93bf
- specfile cleanup
99e93bf
9e281c7
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 14:1.3.0-3
9e281c7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
9e281c7
9c5e272
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 14:1.3.0-2
9c5e272
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
9c5e272
299b125
* Wed Jun 13 2012 Michal Sekletar <msekleta@redhat.com> 14:1.3.0-1
299b125
- Update to 1.3.0
299b125
16e076d
* Thu Jan 05 2012 Jan Synáček <jsynacek@redhat.com> 14:1.2.1-2
16e076d
- Rebuilt for GCC 4.7
16e076d
157d7f6
* Tue Jan 03 2012 Jan Synáček <jsynacek@redhat.com> 14:1.2.1-1
157d7f6
- Update to 1.2.1
157d7f6
- Drop unnecessary -fragment patch
157d7f6
07fdab9
* Fri Dec 02 2011 Michal Sekletar <msekleta@redhat.com> 14:1.2.0-1
07fdab9
- update to 1.2.0
07fdab9
1fe2be8
* Tue Sep 06 2011 Michal Sekletar <msekleta@redhat.com> 14:1.1.1-4
1fe2be8
- fix capture of fragmented ipv6 packets
1fe2be8
70b655c
* Fri Apr 22 2011 Miroslav Lichvar <mlichvar@redhat.com> 14:1.1.1-3
70b655c
- ignore /sys/net/dev files on ENODEV (#693943)
70b655c
- drop ppp patch
70b655c
- compile with -fno-strict-aliasing
70b655c
e7a7f4a
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 14:1.1.1-2
e7a7f4a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
e7a7f4a
7ed25bd
* Tue Apr 06 2010 Miroslav Lichvar <mlichvar@redhat.com> 14:1.1.1-1
7ed25bd
- update to 1.1.1
7ed25bd
e6fc524
* Wed Dec 16 2009 Miroslav Lichvar <mlichvar@redhat.com> 14:1.0.0-5.20091201git117cb5
e6fc524
- update to snapshot 20091201git117cb5
e6fc524
787ec60
* Sat Oct 17 2009 Dennis Gilmore <dennis@ausil.us> 14:1.0.0-4.20090922gite154e2
787ec60
- use -fPIC on sparc arches
787ec60
216697f
* Wed Sep 23 2009 Miroslav Lichvar <mlichvar@redhat.com> 14:1.0.0-3.20090922gite154e2
3974bc5
- update to snapshot 20090922gite154e2
3974bc5
- drop old soname
3974bc5
2c889e4
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 14:1.0.0-2.20090716git6de2de
2c889e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2c889e4
3324fa0
* Wed Jul 22 2009 Miroslav Lichvar <mlichvar@redhat.com> 14:1.0.0-1.20090716git6de2de
3324fa0
- update to 1.0.0, git snapshot 20090716git6de2de
3324fa0
40be080
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 14:0.9.8-4
40be080
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
40be080
b58c0a1
* Fri Jun 27 2008 Miroslav Lichvar <mlichvar@redhat.com> 14:0.9.8-3
b58c0a1
- use CFLAGS when linking (#445682)
b58c0a1
c740683
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 14:0.9.8-2
c740683
- Autorebuild for GCC 4.3
c740683
72a914f
* Wed Oct 24 2007 Miroslav Lichvar <mlichvar@redhat.com> 14:0.9.8-1
72a914f
- update to 0.9.8
72a914f
76faa1a
* Wed Aug 22 2007 Miroslav Lichvar <mlichvar@redhat.com> 14:0.9.7-3
76faa1a
- update license tag
76faa1a
6db7be8
* Wed Jul 25 2007 Jesse Keating <jkeating@redhat.com> - 14:0.9.7-2
6db7be8
- Rebuild for RH #249435
6db7be8
51b8111
* Tue Jul 24 2007 Miroslav Lichvar <mlichvar@redhat.com> 14:0.9.7-1
51b8111
- update to 0.9.7
51b8111
b232654
* Tue Jun 19 2007 Miroslav Lichvar <mlichvar@redhat.com> 14:0.9.6-1
b232654
- update to 0.9.6
b232654
cc1bd62
* Tue Nov 28 2006 Miroslav Lichvar <mlichvar@redhat.com> 14:0.9.5-1
cc1bd62
- split from tcpdump package (#193657)
cc1bd62
- update to 0.9.5
cc1bd62
- don't package static library
cc1bd62
- maintain soname