Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/security/p11-kit.xml

    r6133936 r3b9da656  
    77  <!ENTITY p11-kit-download-http "https://github.com/p11-glue/p11-kit/releases/download/&p11-kit-version;/p11-kit-&p11-kit-version;.tar.xz">
    88  <!ENTITY p11-kit-download-ftp  " ">
    9   <!ENTITY p11-kit-md5sum        "8ccf11c4a2e2e505b8e516d8549e64a5">
    10   <!ENTITY p11-kit-size          "816 KB">
    11   <!ENTITY p11-kit-buildsize     "56 MB (with tests)">
     9  <!ENTITY p11-kit-md5sum        "03f93a4eb62127b5d40e345c624a0665">
     10  <!ENTITY p11-kit-size          "812 KB">
     11  <!ENTITY p11-kit-buildsize     "47 MB (add 169 MB for tests)">
    1212  <!ENTITY p11-kit-time          "0.2 SBU (add 0.6 SBU for tests)">
    1313]>
     
    1717
    1818  <sect1info>
     19    <othername>$LastChangedBy$</othername>
    1920    <date>$Date$</date>
    2021  </sect1info>
     
    3435    </para>
    3536
    36     &lfs110a_checked;
     37    &lfs10_checked;
    3738
    3839    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    104105/usr/libexec/make-ca/copy-trust-modifications
    105106
    106 # Update trust stores
    107 /usr/sbin/make-ca -r</literal>
     107# Generate a new trust store
     108/usr/sbin/make-ca -f -g</literal>
    108109EOF</userinput></screen>
    109110
     
    113114    </para>
    114115
    115 <screen><userinput>mkdir p11-build &amp;&amp;
    116 cd    p11-build &amp;&amp;
    117 
    118 meson --prefix=/usr       \
    119       --buildtype=release \
    120       -Dtrust_paths=/etc/pki/anchors &amp;&amp;
    121 ninja</userinput></screen>
    122 
    123     <para>
    124       To test the results, issue: <command>ninja test</command>.
     116<screen><userinput>./configure --prefix=/usr     \
     117            --sysconfdir=/etc \
     118            --with-trust-paths=/etc/pki/anchors &amp;&amp;
     119make</userinput></screen>
     120
     121    <para>
     122      To test the results, issue: <command>make check</command>.
     123      Many tests will fail if the test suite is run as the
     124      <systemitem class="username"> root</systemitem> user.
    125125    </para>
    126126
     
    129129    </para>
    130130
    131 <screen role="root"><userinput>ninja install &amp;&amp;
     131<screen role="root"><userinput>make install &amp;&amp;
    132132ln -sfv /usr/libexec/p11-kit/trust-extract-compat \
    133133        /usr/bin/update-ca-certificates</userinput></screen>
     
    138138    <title>Command Explanations</title>
    139139
    140     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    141       href="../../xincludes/meson-buildtype-release.xml"/>
    142 
    143     <para>
    144       <parameter>-Dtrust_paths=/etc/pki/anchors</parameter>: this switch
     140    <para>
     141      <parameter>--with-trust-paths=/etc/pki/anchors</parameter>: this switch
    145142      sets the location of trusted certificates used by libp11-kit.so.
    146143    </para>
    147144
    148145    <para>
    149       <option>-Dhash_impl=freebl</option>: Use this switch if you want to
     146      <option>--with-hash-impl=freebl</option>: Use this switch if you want to
    150147      use the Freebl library from <application>NSS</application> for SHA1 and
    151148      MD5 hashing.
     
    153150
    154151    <para>
    155       <option>-Dgtk_doc=true</option>: Use this switch if you have installed
     152      <option>--enable-doc</option>: Use this switch if you have installed
    156153      <xref linkend="gtk-doc"/> and <xref linkend="libxslt"/> and wish to
    157154      rebuild the documentation and generate manual pages.
     
    214211          <para>
    215212            is a command line tool that can be used to perform operations
    216             on PKCS#11 modules configured on the system
     213            on PKCS#11 modules configured on the system.
    217214          </para>
    218215          <indexterm zone="p11-kit p11-kit-prog">
     
    227224          <para>
    228225            is a command line tool to examine and modify the shared trust
    229             policy store
     226            policy store.
    230227          </para>
    231228          <indexterm zone="p11-kit trust">
     
    244241            the <parameter>--force</parameter> and <parameter>--get</parameter>
    245242            flags to <command>make-ca</command> and should likely not be used
    246             for automated updates
     243            for automated updates.
    247244          </para>
    248245          <indexterm zone="p11-kit update-ca-certificates">
     
    257254          <para>
    258255            contains functions used to coordinate initialization and
    259             finalization of any PKCS#11 module
     256            finalization of any PKCS#11 module.
    260257          </para>
    261258          <indexterm zone="p11-kit libp11-kit">
     
    269266        <listitem>
    270267          <para>
    271             is the PKCS#11 proxy module
     268            is the PKCS#11 proxy module.
    272269          </para>
    273270          <indexterm zone="p11-kit p11-kit-proxy">
Note: See TracChangeset for help on using the changeset viewer.