代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/libpcap 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: libpcap
Epoch: 14
Version: 1.10.1
Release: 2
Summary: A system-independent interface for user-level packet capture
License: BSD
URL: http://www.tcpdump.org
Source0: http://www.tcpdump.org/release/%{name}-%{version}.tar.gz
Patch0: 0003-pcap-linux-apparently-ctc-interfaces-on-s390-has-eth.patch
Patch1: pcap-config-mitigate-multilib-conflict.patch
BuildRequires: bison flex gcc glibc-kernheaders >= 2.2.0
%ifnarch i686
BuildRequires: bluez-libs-devel
%endif
%description
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.
%package devel
Summary: header files for libpcap
Requires: %{name} = %{epoch}:%{version}-%{release}
%description devel
header files for libpcap
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure
%make_build
%install
%make_install
%delete_la_and_a
%ldconfig_scriptlets
%files
%defattr(-,root,root)
%license LICENSE
%{_libdir}/libpcap.so.*
%files devel
%defattr(-,root,root)
%{_bindir}/pcap-config
%{_includedir}/*
%{_libdir}/libpcap.so
%{_libdir}/pkgconfig/libpcap.pc
%files help
%defattr(-,root,root)
%doc README.md CHANGES CREDITS
%{_mandir}/man*
%changelog
* Fri Feb 18 2022 xihaochen <xihaochen@h-partners.com> - 14:1.10.1-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: delete the bluez-libs-devel in i686 arch
* Thu Sep 16 2021 xinghe <xinghe2@huawei.com> - 14:1.10.1-1
- DESC:upgrade to 1.10.1
* Mon Aug 09 2021 yanglu <yanglu72@huawei.com> - 14:1.9.1-8
- DESC:delete -S git from %autosetup,and delete Buildrequires git
* 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
* 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
* 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
* Sat Jan 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 14:1.9.1-4
- delete useless info
* Sat Dec 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 14:1.9.1-3
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。