Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/genlib/keyutils.xml

    r6961fefc rab4fdfc  
    55  %general-entities;
    66
    7   <!ENTITY keyutils-download-http "https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/snapshot/keyutils-&keyutils-version;.tar.gz">
     7  <!ENTITY keyutils-download-http "https://people.redhat.com/~dhowells/keyutils/keyutils-&keyutils-version;.tar.bz2">
    88  <!ENTITY keyutils-download-ftp  " ">
    9   <!ENTITY keyutils-md5sum        "6b70b2b381c1b6d9adfaf66d5d3e7c00">
    10   <!ENTITY keyutils-size          "136 KB">
    11   <!ENTITY keyutils-buildsize     "2.6 MB (with tests)">
    12   <!ENTITY keyutils-time          "less than 0.1 SBU (add 0.4 SBU for tests)">
     9  <!ENTITY keyutils-md5sum        "919af7f33576816b423d537f8a8692e8">
     10  <!ENTITY keyutils-size          "96 KB">
     11  <!ENTITY keyutils-buildsize     "1.9 MB (with tests)">
     12  <!ENTITY keyutils-time          "less than 0.1 SBU (add 0.6 SBU for tests)">
    1313]>
    1414
     
    6969    </itemizedlist>
    7070
     71    <bridgehead renderas="sect3">keyutils Dependencies</bridgehead>
     72
     73    <bridgehead renderas="sect4">Required</bridgehead>
     74    <para role="required">
     75      <xref linkend="mitkrb"/>
     76      <!-- Without krb5 installed, a FTBFS occurs while trying to compile dns.afsdb.c.
     77      It looks for profile.h, which is installed by krb5. -->
     78    </para>
     79
     80
    7181  </sect2>
    7282
     
    7989    </para>
    8090
    81 <screen><userinput>make</userinput></screen>
     91<screen><userinput>sed -i 's:$(LIBDIR)/$(PKGCONFIG_DIR):/usr/lib/pkgconfig:' Makefile &amp;&amp;
     92make</userinput></screen>
    8293
    8394    <para>
     
    93104    </para>
    94105
    95 <screen role="root" remap="test"><userinput>make -k test</userinput></screen>
     106<screen role="root" remap="test"><userinput>sed -e 's/executable/\\(pie \\)?/' \
     107    -i tests/toolbox.inc.sh        &amp;&amp;
     108make -k test</userinput></screen>
    96109
    97110    <para>
    98111      Note that several tests will fail if certain uncommon kernel options
    99       were not used when the kernel was built. These include CONFIG_BIG_KEYS,
    100       CONFIG_KEY_DH_OPERATIONS, CONFIG_CRYPTO_DH,
    101       CONFIG_SECONDARY_TRUSTED_KEYRING, and CONFIG_SYSTEM_BLACKLIST_KEYRING.
     112      were not used when the kernel was built.  These include CONFIG_BIG_KEYS,
     113      CONFIG_KEY_DH_OPERATIONS, and CONFIG_CRYPTO_DH.
    102114    </para>
    103115
     
    107119    <title>Command Explanations</title>
    108120
    109 <!--
    110121    <para>
    111122      <command>sed ... Makefile</command>: This command ensures the pkgconfig
     
    115126    <para>
    116127      <command>sed ... tests/toolbox.inc.sh</command>: In LFS, GCC has been
    117       configured with <option>- -enable-default-pie</option> so
     128      configured with <option>--enable-default-pie</option> so
    118129      <command>/usr/bin/bash</command> is a PIE, but the test script does
    119130      not anticipate it.  Fix this oversight so the test can run on a LFS
    120131      system.
    121132    </para>
    122 -->
    123133
    124134    <para>
     
    163173        <seg>keyctl, key.dns_resolver, and request-key</seg>
    164174        <seg>libkeyutils.so</seg>
    165         <seg>/etc/keyutils,
    166         /etc/request-key.d,
    167         and /usr/share/keyutils</seg>
     175        <seg>/etc/request-key.d and /usr/share/keyutils</seg>
    168176      </seglistitem>
    169177    </segmentedlist>
Note: See TracChangeset for help on using the changeset viewer.