source: general/genlib/libgcrypt.xml@ c67fbf64

systemd-11177
Last change on this file since c67fbf64 was c67fbf64, checked in by Krejzi <krejzi@…>, 11 years ago

Remove packages that are now in lfs systemd from blfs.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@11302 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.7 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY libgcrypt-download-http " ">
8 <!ENTITY libgcrypt-download-ftp "ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-&libgcrypt-version;.tar.bz2">
9 <!ENTITY libgcrypt-md5sum "668aa1a1aae93f5fccb7eda4be403026">
10 <!ENTITY libgcrypt-size "1.5 MB">
11 <!ENTITY libgcrypt-buildsize "30 MB">
12 <!ENTITY libgcrypt-time "0.2 SBU">
13]>
14
15<sect1 id="libgcrypt" xreflabel="libgcrypt-&libgcrypt-version;">
16 <?dbhtml filename="libgcrypt.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>libgcrypt-&libgcrypt-version;</title>
24
25 <indexterm zone="libgcrypt">
26 <primary sortas="a-libgcrypt">libgcrypt</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to libgcrypt</title>
31
32 <para>
33 The <application>libgcrypt</application> package contains a general
34 purpose crypto library based on the code used in
35 <application>GnuPG</application>. The library provides a high level
36 interface to cryptographic building blocks using an extendable and flexible
37 API.
38 </para>
39
40 &lfs73_checked;
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
46 Download (HTTP): <ulink url="&libgcrypt-download-http;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download (FTP): <ulink url="&libgcrypt-download-ftp;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download MD5 sum: &libgcrypt-md5sum;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download size: &libgcrypt-size;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated disk space required: &libgcrypt-buildsize;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated build time: &libgcrypt-time;
72 </para>
73 </listitem>
74 </itemizedlist>
75
76 <bridgehead renderas="sect3">libgcrypt Dependencies</bridgehead>
77
78 <bridgehead renderas="sect4">Required</bridgehead>
79 <para role="required">
80 <xref linkend="libgpg-error"/>
81 </para>
82
83 <bridgehead renderas="sect4">Optional</bridgehead>
84 <para role="optional">
85 <xref linkend="pth"/>
86 </para>
87
88 <para condition="html" role="usernotes">User Notes:
89 <ulink url="&blfs-wiki;/libgcrypt"/>
90 </para>
91 </sect2>
92
93 <sect2 role="installation">
94 <title>Installation of libgcrypt</title>
95
96 <para>
97 Install <application>libgcrypt</application> by running the
98 following commands:
99 </para>
100
101<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
102make</userinput></screen>
103
104 <para>
105 Only <command>info</command> documentation is shipped in the package
106 tarball. If you wish to build alternate formats of the documentation,
107 (you must have <xref linkend="texlive"/> installed to build the PDF
108 and PostScript documentation), then issue the following commands:
109 </para>
110
111<screen><userinput>make -C doc pdf ps html &amp;&amp;
112makeinfo --html --no-split -o doc/gcrypt_nochunks.html doc/gcrypt.texi &amp;&amp;
113makeinfo --plaintext -o doc/gcrypt.txt doc/gcrypt.texi</userinput></screen>
114
115 <para>
116 To test the results, issue: <command>make check</command>.
117 </para>
118
119 <para>
120 Now, as the <systemitem class="username">root</systemitem> user:
121 </para>
122
123<screen role="root"><userinput>make install &amp;&amp;
124install -v -dm755 /usr/share/doc/libgcrypt-&libgcrypt-version; &amp;&amp;
125install -v -m644 README doc/{README.apichanges,fips*,libgcrypt*} \
126 /usr/share/doc/libgcrypt-&libgcrypt-version;</userinput></screen>
127
128 <para>
129 If you built the additional documentation, install it by issuing the
130 following commands as the <systemitem class="username">root</systemitem>
131 user:
132 </para>
133
134<screen role="root"><userinput>install -v -dm755 /usr/share/doc/libgcrypt-&libgcrypt-version;/html &amp;&amp;
135install -v -m644 doc/gcrypt.html/* \
136 /usr/share/doc/libgcrypt-&libgcrypt-version;/html &amp;&amp;
137install -v -m644 doc/gcrypt_nochunks.html \
138 /usr/share/doc/libgcrypt-&libgcrypt-version; &amp;&amp;
139install -v -m644 doc/gcrypt.{pdf,ps,dvi,txt,texi} \
140 /usr/share/doc/libgcrypt-&libgcrypt-version;</userinput></screen>
141
142 </sect2>
143
144 <sect2 role="content">
145 <title>Contents</title>
146
147 <segmentedlist>
148 <segtitle>Installed Programs</segtitle>
149 <segtitle>Installed Library</segtitle>
150 <segtitle>Installed Directory</segtitle>
151
152 <seglistitem>
153 <seg>
154 dumpsexp, hmac256 and libgcrypt-config
155 </seg>
156 <seg>
157 libgcrypt.so
158 </seg>
159 <seg>
160 /usr/share/doc/libgcrypt-&libgcrypt-version;
161 </seg>
162 </seglistitem>
163 </segmentedlist>
164
165 <variablelist>
166 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
167 <?dbfo list-presentation="list"?>
168 <?dbhtml list-presentation="table"?>
169
170 <varlistentry id="libgcrypt-lib">
171 <term><filename class="libraryfile">libgcrypt.so</filename></term>
172 <listitem>
173 <para>
174 contains the cryptographic API functions.
175 </para>
176 <indexterm zone="libgcrypt libgcrypt-lib">
177 <primary sortas="c-libgcrypt">libgcrypt.so</primary>
178 </indexterm>
179 </listitem>
180 </varlistentry>
181
182 </variablelist>
183
184 </sect2>
185
186</sect1>
Note: See TracBrowser for help on using the repository browser.