/[packages]/cauldron/iptables/current/SPECS/iptables.spec
ViewVC logotype

Diff of /cauldron/iptables/current/SPECS/iptables.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 167064 by tmb, Sat Nov 12 21:05:36 2011 UTC revision 167065 by tmb, Sat Nov 12 23:37:24 2011 UTC
# Line 32  Line 32 
32  Summary:        Tools for managing Linux kernel packet filtering capabilities  Summary:        Tools for managing Linux kernel packet filtering capabilities
33  Name:           iptables  Name:           iptables
34  Version:        1.4.12.1  Version:        1.4.12.1
35  Release:        %mkrel 6  Release:        %mkrel 7
36  License:        GPLv2+  License:        GPLv2+
37  Group:          System/Kernel and hardware  Group:          System/Kernel and hardware
38  URL:            http://netfilter.org/  URL:            http://netfilter.org/
# Line 314  install -m0755 iptables.init %{buildroot Line 314  install -m0755 iptables.init %{buildroot
314  install -m0755 ip6tables.init %{buildroot}%{script_path}/ip6tables  install -m0755 ip6tables.init %{buildroot}%{script_path}/ip6tables
315    
316  # (tmb) add compat symlinks for ip(6)tbles-multi  # (tmb) add compat symlinks for ip(6)tbles-multi
317  ln -snf xtables-multi %{buildroot}/sbin/iptables-multi  ln -snf xtables-multi iptables-multi
318  ln -snf xtables-multi %{buildroot}/sbin/ip6tables-multi  ln -snf xtables-multi ip6tables-multi
319    
320  %if %{with systemd}  %if %{with systemd}
321  # install systemd service files  # install systemd service files
322  install -d -m 755 %{buildroot}/lib/systemd/system  install -d -m 755 %{buildroot}/lib/systemd/system
323  install -c -m 755 %{SOURCE5} %{buildroot}/lib/systemd/system/  install -c -m 644 %{SOURCE5} %{buildroot}/lib/systemd/system/
324  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
325  install -c -m 755 ip6tables.service %{buildroot}/lib/systemd/system/  install -c -m 644 ip6tables.service %{buildroot}/lib/systemd/system/
326  sed -i 's!@LIBDIR@!%{_libdir}!' %{buildroot}/lib/systemd/system/ip6tables.service  sed -i 's!@LIBDIR@!%{_libdir}!' %{buildroot}/lib/systemd/system/ip6tables.service
327  sed -i 's!@LIBDIR@!%{_libdir}!' %{buildroot}/lib/systemd/system/iptables.service  sed -i 's!@LIBDIR@!%{_libdir}!' %{buildroot}/lib/systemd/system/iptables.service
328  %endif  %endif

Legend:
Removed from v.167064  
changed lines
  Added in v.167065

  ViewVC Help
Powered by ViewVC 1.1.30