2019-12-25 15:54:18 +08:00
|
|
|
Name: libpcap
|
|
|
|
|
Epoch: 14
|
|
|
|
|
Version: 1.9.1
|
2020-11-28 16:58:53 +08:00
|
|
|
Release: 7
|
2019-12-25 15:54:18 +08:00
|
|
|
Summary: A system-independent interface for user-level packet capture
|
|
|
|
|
License: BSD with advertising
|
|
|
|
|
URL: http://www.tcpdump.org
|
|
|
|
|
Source0: http://www.tcpdump.org/release/%{name}-%{version}.tar.gz
|
|
|
|
|
|
2020-08-07 16:11:04 +08:00
|
|
|
Patch0: 0003-pcap-linux-apparently-ctc-interfaces-on-s390-has-eth.patch
|
|
|
|
|
Patch1: clean-up-signed-vs-unsigned-do-more-error-checking-in-the-parser.patch
|
|
|
|
|
Patch2: fix-optimize-add-a-bunch-of-overflow-checks.patch
|
|
|
|
|
Patch3: 0611-With-MSVC-abort-if-_BitScanForward-returns-0.patch
|
|
|
|
|
Patch4: 0875-optimize-make-some-variables-unsigned.patch
|
|
|
|
|
Patch5: 0876-optimize-fix-some-of-those-changes.patch
|
2020-11-28 16:58:53 +08:00
|
|
|
Patch6: pcap-config-mitigate-multilib-conflict.patch
|
2019-12-25 15:54:18 +08:00
|
|
|
|
|
|
|
|
BuildRequires: bison bluez-libs-devel flex gcc git glibc-kernheaders >= 2.2.0
|
2019-09-30 10:57:32 -04:00
|
|
|
|
|
|
|
|
%description
|
2019-12-25 15:54:18 +08:00
|
|
|
This is the official web site of tcpdump, a powerful command-line
|
|
|
|
|
packet analyzer; and libpcap, a portable C/C++ library for
|
|
|
|
|
network traffic capture.
|
2019-09-30 10:57:32 -04:00
|
|
|
|
2019-12-25 15:54:18 +08:00
|
|
|
%package devel
|
|
|
|
|
Summary: header files for libpcap
|
|
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
2019-09-30 10:57:32 -04:00
|
|
|
|
2019-12-25 15:54:18 +08:00
|
|
|
%description devel
|
|
|
|
|
header files for libpcap
|
2019-09-30 10:57:32 -04:00
|
|
|
|
2019-12-25 15:54:18 +08:00
|
|
|
%package_help
|
2019-09-30 10:57:32 -04:00
|
|
|
|
|
|
|
|
%prep
|
2019-12-25 15:54:18 +08:00
|
|
|
%autosetup -n %{name}-%{version} -S git
|
2019-09-30 10:57:32 -04:00
|
|
|
|
|
|
|
|
%build
|
2019-12-25 15:54:18 +08:00
|
|
|
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
2019-09-30 10:57:32 -04:00
|
|
|
%configure
|
2019-12-25 15:54:18 +08:00
|
|
|
%make_build
|
2019-09-30 10:57:32 -04:00
|
|
|
|
|
|
|
|
%install
|
2019-12-25 15:54:18 +08:00
|
|
|
%make_install
|
2019-09-30 10:57:32 -04:00
|
|
|
|
2019-12-25 15:54:18 +08:00
|
|
|
%delete_la_and_a
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
2019-09-30 10:57:32 -04:00
|
|
|
|
|
|
|
|
%files
|
2019-12-25 15:54:18 +08:00
|
|
|
%defattr(-,root,root)
|
2019-09-30 10:57:32 -04:00
|
|
|
%license LICENSE
|
|
|
|
|
%{_libdir}/libpcap.so.*
|
|
|
|
|
|
2019-12-25 15:54:18 +08:00
|
|
|
%files devel
|
|
|
|
|
%defattr(-,root,root)
|
2019-09-30 10:57:32 -04:00
|
|
|
%{_bindir}/pcap-config
|
2019-12-25 15:54:18 +08:00
|
|
|
%{_includedir}/*
|
2019-09-30 10:57:32 -04:00
|
|
|
%{_libdir}/libpcap.so
|
|
|
|
|
%{_libdir}/pkgconfig/libpcap.pc
|
|
|
|
|
|
2019-12-25 15:54:18 +08:00
|
|
|
%files help
|
|
|
|
|
%defattr(-,root,root)
|
2019-09-30 10:57:32 -04:00
|
|
|
%doc README.md CHANGES CREDITS
|
2019-12-25 15:54:18 +08:00
|
|
|
%{_mandir}/man*
|
2019-09-30 10:57:32 -04:00
|
|
|
|
|
|
|
|
%changelog
|
2020-11-28 16:58:53 +08:00
|
|
|
* Sat Nov 28 2020 xiaqirong <xiaqirong1@huawei.com> - 14:1.9.1-7
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:mitigate pcap config multilib conflict
|
|
|
|
|
|
2020-08-07 16:11:04 +08:00
|
|
|
* Fri Aug 07 2020 lunankun <lunankun@huawei.com> - 14:1.9.1-6
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:fix overflow in opt_init
|
|
|
|
|
|
2020-05-26 16:30:04 +08:00
|
|
|
* Tue May 26 2020 gaihuiying <gaihuiying1@huawei.com> - 14:1.9.1-5
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:fix overflow in opt_init
|
|
|
|
|
|
2020-01-11 23:10:29 +08:00
|
|
|
* Sat Jan 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 14:1.9.1-4
|
2020-01-11 20:06:23 +08:00
|
|
|
- delete useless info
|
|
|
|
|
|
2019-12-25 15:54:18 +08:00
|
|
|
* Sat Dec 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 14:1.9.1-3
|
2019-09-30 10:57:32 -04:00
|
|
|
- Package init
|