Changeset f2a586e


Ignore:
Timestamp:
05/14/2021 07:26:25 PM (2 months ago)
Author:
Ken Moffat <ken@…>
Branches:
trunk
Children:
b85b35e2
Parents:
aab13c9
Message:

iptables: remove instructions for using /sbin and lib.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • introduction/welcome/changelog.xml

    raab13c9 rf2a586e  
    4747      <itemizedlist>
    4848        <listitem>
     49          <para>[ken] - Remove instructions from iptables for installing to /sbin
     50          and /lib/xtables.</para>
     51        </listitem>
     52        <listitem>
    4953          <para>[renodr] - Remove instructions from PCRE for moving libraries
    5054          to /lib.</para>
  • postlfs/security/iptables.xml

    raab13c9 rf2a586e  
    148148
    149149<screen><userinput>./configure --prefix=/usr      \
    150             --sbindir=/sbin    \
    151150            --disable-nftables \
    152             --enable-libipq    \
    153             --with-xtlibdir=/lib/xtables &amp;&amp;
     151            --enable-libipq    &amp;&amp;
    154152make</userinput></screen>
    155153
     
    167165    </para>
    168166
    169 <screen role="root"><userinput>make install &amp;&amp;
    170 ln -sfv ../../sbin/xtables-legacy-multi /usr/bin/iptables-xml &amp;&amp;
    171 
    172 for file in ip4tc ip6tc ipq xtables
    173 do
    174   mv -v /usr/lib/lib${file}.so.* /lib &amp;&amp;
    175   ln -sfv ../../lib/$(readlink /usr/lib/lib${file}.so) /usr/lib/lib${file}.so
    176 done</userinput></screen>
     167<screen role="root"><userinput>make install</userinput></screen>
    177168
    178169  </sect2>
     
    194185
    195186    <para>
    196       <parameter>--with-xtlibdir=/lib/xtables</parameter>: This switch ensures that
    197       all <application>iptables</application> modules are installed in the
    198       <filename class="directory">/lib/xtables</filename> directory.
    199     </para>
    200 
    201     <para>
    202187      <option>--enable-nfsynproxy</option>: This switch enables installation
    203188      of <application>nfsynproxy</application> SYNPROXY configuration tool.
    204     </para>
    205 
    206     <para>
    207       <command>ln -sfv ../../sbin/xtables-legacy-multi /usr/bin/iptables-xml</command>:
    208       This command ensures that the symbolic link for the
    209       <command>iptables-xml</command> command is relative.
    210189    </para>
    211190
Note: See TracChangeset for help on using the changeset viewer.