⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 iptables.spec

📁 coldfire MCF5445X基于unix平台的BSP
💻 SPEC
字号:
%define pfx /opt/freescale/rootfs/%{_target_cpu}Summary         : Tools for managing kernel packet filtering capabilitiesName            : iptablesVersion         : 1.3.8Release         : 0License         : GPLVendor          : FreescalePackager        : Stuart Hughes, Emil MedveGroup           : System Environment/BaseURL             : http://www.netfilter.org/projects/iptablesSource          : %{name}-%{version}.tar.bz2BuildRoot       : %{_tmppath}/%{name}Prefix          : %{pfx}%Description%{summary}iptables is the userspace command line program used to configure the Linux 2.4.x and 2.6.x IPv4packet filtering ruleset. It is targeted towards system administratorsSince Network Address Translation is also configured from the packet filter ruleset, iptables isused for this, tooThe iptables package also includes ip6tables. ip6tables is used for configuring the IPv6 packetfilteriptables requires a kernel that features the ip_tables packet filter. This includes all 2.4.x and2.6.x kernel releasesMain Features        * listing the contents of the packet filter ruleset        * adding/removing/modifying rules in the packet filter ruleset        * listing/zeroing per-rule counters of the packet filter ruleset%Prep%setup%Buildmake KERNEL_DIR=$DEV_IMAGE/%{_prefix}/src/linux PREFIX=%{_prefix}%Installrm -rf $RPM_BUILD_ROOTmake install KERNEL_DIR=$DEV_IMAGE/%{_prefix}/src/linux DESTDIR=$RPM_BUILD_ROOT/%{pfx} PREFIX=%{_prefix}%Cleanrm -rf $RPM_BUILD_ROOT%Files%defattr(-,root,root)%{pfx}/*

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -