26 |
Summary: Tools for managing Linux kernel packet filtering capabilities |
Summary: Tools for managing Linux kernel packet filtering capabilities |
27 |
Name: iptables |
Name: iptables |
28 |
Version: 1.4.17 |
Version: 1.4.17 |
29 |
Release: %mkrel 1 |
Release: %mkrel 2 |
30 |
License: GPLv2+ |
License: GPLv2+ |
31 |
Group: System/Kernel and hardware |
Group: System/Kernel and hardware |
32 |
URL: http://netfilter.org/ |
URL: http://netfilter.org/ |
327 |
install -c -m 644 %{SOURCE5} %{buildroot}/lib/systemd/system/ |
install -c -m 644 %{SOURCE5} %{buildroot}/lib/systemd/system/ |
328 |
sed -e 's;iptables;ip6tables;g' -e 's;IPv4;IPv6;g' < %{SOURCE5} > ip6tables.service |
sed -e 's;iptables;ip6tables;g' -e 's;IPv4;IPv6;g' < %{SOURCE5} > ip6tables.service |
329 |
install -c -m 644 ip6tables.service %{buildroot}/lib/systemd/system/ |
install -c -m 644 ip6tables.service %{buildroot}/lib/systemd/system/ |
330 |
sed -i 's!@LIBDIR@!%{_libdir}!' %{buildroot}/lib/systemd/system/ip6tables.service |
sed -i 's!@LIBDIR@!%{_libexecdir}!' %{buildroot}/lib/systemd/system/ip6tables.service |
331 |
sed -i 's!@LIBDIR@!%{_libdir}!' %{buildroot}/lib/systemd/system/iptables.service |
sed -i 's!@LIBDIR@!%{_libexecdir}!' %{buildroot}/lib/systemd/system/iptables.service |
332 |
|
|
333 |
%post |
%post |
334 |
%_post_service iptables |
%_post_service iptables |