Changeset d9d7048 in clfs-sysroot for BOOK/final-system


Ignore:
Timestamp:
Feb 23, 2007, 7:28:37 AM (18 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
master
Children:
e4e66d0
Parents:
c5968b4
Message:

Pass SUIDMODE to make install instead of changing it's value with a sed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/inetutils.xml

    rc5968b4 rd9d7048  
    3131
    3232<screen os="p2"><userinput>patch -Np1 -i ../&inetutils-man_pages-patch;</userinput></screen>
    33 
    34     <para os="s1">The following set of seds prevent binaries from being
    35     installed as setuid <systemitem class="username">root</systemitem>:</para>
    36 
    37 <screen os="s2"><userinput>for dir in ping rcp rlogin rsh; do
    38     cp ${dir}/Makefile.in{,.orig}
    39     sed '/^SUIDMODE =/s/-o root//' ${dir}/Makefile.in.orig &gt; ${dir}/Makefile.in
    40 done</userinput></screen>
    4133
    4234    <para os="a">Prepare Inetutils for compilation:</para>
     
    9991    <para os="f">Install the package:</para>
    10092
    101 <screen os="g"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
     93<screen os="g"><userinput>make DESTDIR=${CLFS} SUIDMODE="-m 4775" install</userinput></screen>
    10294
    10395    <para os="h">Move the <command>ping</command> and <command>ping6</command>
Note: See TracChangeset for help on using the changeset viewer.