加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
libnetfilter_queue.spec 1.94 KB
一键复制 编辑 原始数据 按行查看 历史
hexiaowen 提交于 2019-09-30 10:57 . Package init
Name: libnetfilter_queue
Version: 1.0.2
Release: 13
Summary: A userspace library to the queued packets
License: GPLv2
URL: http://netfilter.org
Source0: https://netfilter.org/projects/libnetfilter_queue/files/libnetfilter_queue-%{version}.tar.bz2
BuildRequires: autoconf automake libtool pkgconfig kernel-headers
BuildRequires: libnfnetlink-devel >= 1.0.1 libmnl-devel >= 1.0.3
Patch6001: fix-valgrind-errors-of-uninitialised-byte-during-cal.patch
Patch6002: build-avoid-symbol-namespace-pollution.patch
Patch6003: extra-use-inet_ntop-instead-of-inet_ntoa.patch
Patch6004: extra-fix-wrong-implementation-in-nfq_udp_get_payloa.patch
Patch6005: extra-tcp-insufficient-sanitization-in-nfq_tcp_get_p.patch
Patch6006: src-make-nfq_open_nfnl-thread-safe.patch
Patch6007: src-check-result-of-malloc-when-creating-queue.patch
%description
libnetfilter_queue is a userspace library providing an API to packets that
have been queued by the kernel packet filter. It is is part of a system that
deprecates the old ip_queue / libipq mechanism.
libnetfilter_queue has been previously known as libnfnetlink_queue.
%package devel
Summary: Development headers and librarys for libnetfilter_queue
Requires: %{name} = %{version}-%{release}
Requires: libnfnetlink-devel >= 1.0.1 kernel-headers pkgconfig
%description devel
Includes development headers and librarys for libnetfilter_queue.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%configure
%make_build
%install
%make_install
%check
make check
%pre
%preun
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%defattr(-,root,root)
%doc COPYING
%{_libdir}/*.so.*
%files devel
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/libnetfilter_queue/*.h
%exclude %{_includedir}/internal.h
%exclude %{_libdir}/libnetfilter_queue.la
%changelog
* Tue Sep 17 2019 Huiming Xie <xiehuiming@huawei.com> - 1.0.2.13
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化