mirror of
https://github.com/glfs-book/glfs.git
synced 2026-01-14 00:49:06 +00:00
183 lines
4.6 KiB
XML
183 lines
4.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY libtasn1-download "&gnu-http;/libtasn1/libtasn1-&libtasn1-version;.tar.gz">
|
|
]>
|
|
|
|
<sect1 id="libtasn1" xreflabel="libtasn1-&libtasn1-version;">
|
|
<?dbhtml filename="libtasn1.html"?>
|
|
|
|
|
|
<title>libtasn1-&libtasn1-version;</title>
|
|
|
|
<indexterm zone="libtasn1">
|
|
<primary sortas="a-libtasn1">libtasn1</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to libtasn1</title>
|
|
|
|
<para>
|
|
libtasn1 is a highly portable C library
|
|
that encodes and decodes DER/BER data following an ASN.1 schema.
|
|
</para>
|
|
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Download: <ulink url="&libtasn1-download;"/>
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of libtasn1</title>
|
|
|
|
<para>
|
|
Install libtasn1 by running the
|
|
following commands:
|
|
</para>
|
|
|
|
<screen><userinput>./configure --prefix=/usr --disable-static &&
|
|
make</userinput></screen>
|
|
|
|
<para>
|
|
Now, as the &root; user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
<para>
|
|
You can install the API documentation using the following command as the
|
|
&root; user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>make -C doc/reference install-data-local</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>lib32 Installation of libtasn1</title>
|
|
|
|
<para>
|
|
Install lib32-libtasn1
|
|
by running the following commands:
|
|
</para>
|
|
|
|
<screen><userinput>make distclean &&
|
|
CC="gcc -m32" CXX="g++ -m32" \
|
|
PKG_CONFIG_PATH=/usr/lib32/pkgconfig \
|
|
./configure --prefix=/usr \
|
|
--libdir=/usr/lib32 \
|
|
--host=i686-pc-linux-gnu \
|
|
--disable-static &&
|
|
|
|
make</userinput></screen>
|
|
|
|
<para>
|
|
Now as the &root; user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>make DESTDIR=$PWD/DESTDIR install &&
|
|
cp -vr DESTDIR/usr/lib32/* /usr/lib32 &&
|
|
rm -rf DESTDIR &&
|
|
ldconfig</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
&options-configure;
|
|
|
|
&static-libraries;
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Library</segtitle>
|
|
<segtitle>Installed Directory</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>
|
|
asn1Coding, asn1Decoding and asn1Parser
|
|
</seg>
|
|
<seg>
|
|
libtasn1
|
|
</seg>
|
|
<seg>
|
|
None
|
|
</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="asn1Coding">
|
|
<term><command>asn1Coding</command></term>
|
|
<listitem>
|
|
<para>
|
|
is an ASN.1 DER encoder
|
|
</para>
|
|
<indexterm zone="libtasn1 asn1Coding">
|
|
<primary sortas="b-asn1Coding">asn1Coding</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="asn1Decoding">
|
|
<term><command>asn1Decoding</command></term>
|
|
<listitem>
|
|
<para>
|
|
is an ASN.1 DER decoder
|
|
</para>
|
|
<indexterm zone="libtasn1 asn1Decoding">
|
|
<primary sortas="b-asn1Decoding">asn1Decoding</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="asn1Parser">
|
|
<term><command>asn1Parser</command></term>
|
|
<listitem>
|
|
<para>
|
|
is an ASN.1 syntax tree generator for
|
|
libtasn1
|
|
</para>
|
|
<indexterm zone="libtasn1 asn1Parser">
|
|
<primary sortas="b-asn1Parser">asn1Parser</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="libtasn1-lib">
|
|
<term><filename class="libraryfile">libtasn1</filename></term>
|
|
<listitem>
|
|
<para>
|
|
is a library for Abstract Syntax Notation One (ASN.1) and
|
|
Distinguish Encoding Rules (DER) manipulation
|
|
</para>
|
|
<indexterm zone="libtasn1 libtasn1-lib">
|
|
<primary sortas="c-libtasn1">libtasn1</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|