|
|
f03fe8f |
Name: libpcap
|
|
|
f03fe8f |
Epoch: 14
|
|
|
c5a991b |
Version: 1.9.1
|
|
|
e8d448b |
Release: 6%{?dist}
|
|
|
f03fe8f |
Summary: A system-independent interface for user-level packet capture
|
|
|
f03fe8f |
License: BSD with advertising
|
|
|
f03fe8f |
URL: http://www.tcpdump.org
|
|
|
f03fe8f |
|
|
|
f03fe8f |
BuildRequires: bison
|
|
|
f03fe8f |
BuildRequires: bluez-libs-devel
|
|
|
f03fe8f |
BuildRequires: flex
|
|
|
3ff4886 |
BuildRequires: gcc
|
|
|
f03fe8f |
BuildRequires: git
|
|
|
f03fe8f |
BuildRequires: glibc-kernheaders >= 2.2.0
|
|
Michal Ruprich |
99163ae |
#rdma-core-devel not available on arm
|
|
Michal Ruprich |
99163ae |
%ifnarch %{arm}
|
|
Michal Ruprich |
99163ae |
BuildRequires: rdma-core-devel
|
|
Michal Ruprich |
99163ae |
%endif
|
|
|
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
|
|
|
5f6e166 |
Patch0004: 0004-invalid-ipv4.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 |
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
|
|
|
f03fe8f |
%autosetup -S git
|
|
|
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"
|
|
Michal Ruprich |
99163ae |
%ifarch %{arm}
|
|
|
7ed25bd |
%configure
|
|
Michal Ruprich |
99163ae |
%else
|
|
Michal Ruprich |
99163ae |
%configure --enable-rdma
|
|
Michal Ruprich |
99163ae |
%endif
|
|
|
e8d448b |
%make_build
|
|
|
cc1bd62 |
|
|
|
cc1bd62 |
%install
|
|
|
e8d448b |
%make_install
|
|
|
cc1bd62 |
rm -f $RPM_BUILD_ROOT%{_libdir}/libpcap.a
|
|
|
cc1bd62 |
|
|
|
307df71 |
%ldconfig_scriptlets
|
|
|
cc1bd62 |
|
|
|
cc1bd62 |
%files
|
|
|
0d24227 |
%license LICENSE
|
|
|
d678c20 |
%doc README.md CHANGES CREDITS
|
|
|
cc1bd62 |
%{_libdir}/libpcap.so.*
|
|
|
3324fa0 |
%{_mandir}/man7/pcap*.7*
|
|
|
cc1bd62 |
|
|
|
cc1bd62 |
%files devel
|
|
|
3324fa0 |
%{_bindir}/pcap-config
|
|
|
cc1bd62 |
%{_includedir}/pcap*.h
|
|
|
3324fa0 |
%{_includedir}/pcap
|
|
|
cc1bd62 |
%{_libdir}/libpcap.so
|
|
|
779e552 |
%{_libdir}/pkgconfig/libpcap.pc
|
|
|
3324fa0 |
%{_mandir}/man1/pcap-config.1*
|
|
|
3324fa0 |
%{_mandir}/man3/pcap*.3*
|
|
|
3324fa0 |
%{_mandir}/man5/pcap*.5*
|
|
|
cc1bd62 |
|
|
|
cc1bd62 |
%changelog
|
|
|
e8d448b |
* Mon Oct 12 2020 Michal Ruprich <mruprich@redhat.com> - 14:1.9.1-6
|
|
|
e8d448b |
- Using make macros
|
|
|
e8d448b |
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
|
|
e8d448b |
|
|
|
34b7b4b |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 14:1.9.1-5
|
|
|
34b7b4b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
34b7b4b |
|
|
Michal Ruprich |
99163ae |
* Fri May 15 2020 Michal Ruprich <michalruprich@gmail.com> - 14:1.9.1-4
|
|
Michal Ruprich |
99163ae |
- Enabling rdma support in libpcap
|
|
Michal Ruprich |
99163ae |
|
|
|
5f6e166 |
* Mon Feb 24 2020 Michal Ruprich <mruprich@redhat.com> - 14:1.9.1-3
|
|
|
5f6e166 |
- libpcap should print an error on wrong IPv4 address
|
|
|
5f6e166 |
|
|
|
77f9148 |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 14:1.9.1-2
|
|
|
77f9148 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
77f9148 |
|
|
|
c5a991b |
* Fri Oct 11 2019 Michal Ruprich <mruprich@redhat.com> - 14:1.9.1-1
|
|
|
c5a991b |
- New version 1.9.1
|
|
|
c5a991b |
- Fix for CVE-2018-16301, CVE-2019-15161, CVE-2019-15162, CVE-2019-15163, CVE-2019-15164, CVE-2019-15165
|
|
|
c5a991b |
|
|
|
d23a9a7 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 14:1.9.0-4
|
|
|
d23a9a7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
d23a9a7 |
|
|
|
4177f76 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 14:1.9.0-3
|
|
|
4177f76 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
4177f76 |
|
|
|
779e552 |
* Mon Aug 13 2018 Peter Robinson <pbrobinson@fedoraproject.org> 14:1.9.0-2
|
|
|
779e552 |
- pkgconfig file belong in devel package
|
|
|
779e552 |
- drop obsolete group in spec
|
|
|
779e552 |
|
|
|
d678c20 |
* Wed Aug 01 2018 Michal Ruprich <mruprich@redhat.com> - 14:1.9.0-1
|
|
|
d678c20 |
- New version 1.9.0
|
|
|
d678c20 |
|
|
|
22cfac8 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 14:1.8.1-11
|
|
|
22cfac8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
22cfac8 |
|
|
|
aa35d97 |
* Wed Jun 06 2018 Michal Ruprich <mruprich@redhat.com> - 14:1.8.1-10
|
|
|
aa35d97 |
- Adding support for AF_VSOCK
|
|
|
aa35d97 |
|
|
|
3ff4886 |
* Tue Feb 20 2018 Martin Sehnoutka <msehnout@redhat.com> - 14:1.8.1-9
|
|
|
3ff4886 |
- Add gcc to BuildRequires
|
|
|
3ff4886 |
|
|
|
92b1c12 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 14:1.8.1-8
|
|
|
92b1c12 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
92b1c12 |
|
|
|
307df71 |
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 14:1.8.1-7
|
|
|
307df71 |
- Switch to %%ldconfig_scriptlets
|
|
|
307df71 |
|
|
|
b03e488 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 14:1.8.1-6
|
|
|
b03e488 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
b03e488 |
|
|
|
656d4cc |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 14:1.8.1-5
|
|
|
656d4cc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
656d4cc |
|
|
|
f03fe8f |
* Thu May 18 2017 Martin Sehnoutka <msehnout@redhat.com> - 14:1.8.1-4
|
|
|
f03fe8f |
- Drop TPACKET_V3 patch as it should be fixed in kernel by now
|
|
|
f03fe8f |
|
|
|
46f5217 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 14:1.8.1-3
|
|
|
46f5217 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
46f5217 |
|
|
|
0d24227 |
* Wed Feb 01 2017 Stephen Gallagher <sgallagh@redhat.com> - 1.8.1-2
|
|
|
0d24227 |
- Add missing %%license macro
|
|
|
0d24227 |
|
|
|
15864fe |
* Mon Oct 31 2016 Luboš Uhliarik <luhliari@redhat.com> - 14:1.8.1-1
|
|
|
15864fe |
- new version 1.8.1
|
|
|
15864fe |
|
|
|
6b2a0ea |
* Mon Aug 08 2016 Luboš Uhliarik <luhliari@redhat.com> - 14:1.8.0-1
|
|
|
6b2a0ea |
- new version 1.8.0
|
|
|
6b2a0ea |
|
|
|
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
|