Changeset 78ec1b9


Ignore:
Timestamp:
06/09/2024 12:15:07 PM (3 weeks ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
trunk
Children:
95158340
Parents:
4ed0b491
Message:

mitkrb: Get rid of rpath

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/security/mitkrb.xml

    r4ed0b491 r78ec1b9  
    139139            --with-system-ss         \
    140140            --with-system-verto=no   \
    141             --enable-dns-for-realm &amp;&amp;
     141            --enable-dns-for-realm   \
     142            --disable-rpath          &amp;&amp;
    142143make</userinput></screen>
    143144
     
    172173cp -vfr ../doc -T /usr/share/doc/krb5-&mitkrb-version;</userinput></screen>
    173174
    174     <!-- libsoup3 FTBFS with these flags if -Dgssapi=enabled (not used by
    175          the book) -->
    176     <para>
    177       Still as the &root; user, remove linker flags setting RPATH from the
    178       <command>krb5-config</command> script.  These flags are unneeded for
    179       an installation in the standard prefix
    180       (<filename class='directory'>/usr</filename>) and they may cause some
    181       packages fail to build:
    182     </para>
    183 
    184     <screen role='root'><userinput>sed '/PROG_RPATH_FLAGS/d' -i /usr/bin/krb5-config</userinput></screen>
    185 
    186175  </sect2>
    187176
     
    231220      <parameter>--enable-dns-for-realm</parameter>: This switch allows
    232221      realms to be resolved using the DNS server.
     222    </para>
     223
     224    <!-- libsoup3 FTBFS with rpath enabled if -Dgssapi=enabled (not used by
     225         the book) -->
     226    <para>
     227      <parameter>--disable-rpath</parameter>: This switch prevents
     228      hard coding library search paths (rpath) into the binary executable
     229      files and shared libraries.  This package does not need rpath for an
     230      installation into the standard location, and rpath may sometimes cause
     231      unwanted effects or even security issues.
    233232    </para>
    234233
Note: See TracChangeset for help on using the changeset viewer.