📄 conntrack-tools.spec
字号:
%define pfx /opt/freescale/rootfs/%{_target_cpu}Summary : The conntrack-tools are a set of tools targeted at system administrators. They are conntrack, the userspace command line interface, and conntrackd, the userspace daemonName : conntrack-toolsVersion : 0.9.4Release : 0License : GPLVendor : FreescalePackager : Emil MedveGroup : System Environment/BaseURL : http://www.netfilter.org/projects/conntrack-toolsSource : %{name}-%{version}.tar.bz2BuildRoot : %{_tmppath}/%{name}Prefix : %{pfx}%Description%{summary}The tool conntrack provides a full featured interface that is intended to replace the old/proc/net/ip_conntrack interface. Using conntrack, you can view and manage the in-kernel connectiontracking state table from userspace. On the other hand, conntrackd covers the specific aspects ofstateful firewalls to enable highly available scenarios, and can be used as statistics collector aswellconntrack-tools requires libnetfilter_conntrack, libnfnetlink and a kernel that features thenetnetlink_conntrack subsystem. For officially released kernels, this means 2.6.14, but we suggestyou to use 2.6.18 or laterMain Features * listing the contents of the conntrack table * searching for individual entries in the conntrack table * adding new entries to the conntrack table * listing entries in the expect table * adding new entries to the expect table%Prep%setup%Build./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build}make%Installrm -rf $RPM_BUILD_ROOTmake install DESTDIR=$RPM_BUILD_ROOT/%{pfx}rm -rf $RPM_BUILD_ROOT/%{pfx}/%{_prefix}/lib/%{name}/*.la%Cleanrm -rf $RPM_BUILD_ROOT%Files%defattr(-,root,root)%{pfx}/*
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -