2005-12-30 13:01:26 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-04-05 03:42:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2005-12-30 13:01:26 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2017-08-16 02:49:48 +08:00
|
|
|
<!ENTITY libidn-download-http "&gnu-http;/libidn/libidn-&libidn-version;.tar.gz">
|
|
|
|
<!ENTITY libidn-download-ftp "&gnu-ftp;/libidn/libidn-&libidn-version;.tar.gz">
|
2020-07-24 03:49:34 +08:00
|
|
|
<!ENTITY libidn-md5sum "813c7b268d1051ca02c3610986126f38">
|
|
|
|
<!ENTITY libidn-size "4.3 MB">
|
|
|
|
<!ENTITY libidn-buildsize "28 MB (add 13 MB for tests)">
|
|
|
|
<!ENTITY libidn-time "0.2 SBU (using parallelim=4; add 0.6 SBU for tests)">
|
2005-12-30 13:01:26 +08:00
|
|
|
]>
|
|
|
|
|
2013-05-19 18:07:40 +08:00
|
|
|
<sect1 id="libidn" xreflabel="libidn-&libidn-version;">
|
2005-12-30 13:01:26 +08:00
|
|
|
<?dbhtml filename="libidn.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
2013-05-19 18:07:40 +08:00
|
|
|
<title>libidn-&libidn-version;</title>
|
2005-12-30 13:01:26 +08:00
|
|
|
|
|
|
|
<indexterm zone="libidn">
|
2012-05-11 21:09:40 +08:00
|
|
|
<primary sortas="a-libidn">libidn</primary>
|
2005-12-30 13:01:26 +08:00
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
2013-05-19 18:07:40 +08:00
|
|
|
<title>Introduction to libidn</title>
|
2012-05-11 21:09:40 +08:00
|
|
|
|
|
|
|
<para>
|
2013-05-19 18:07:40 +08:00
|
|
|
<application>libidn</application> is a package designed for
|
2013-02-12 02:51:17 +08:00
|
|
|
internationalized string handling based on the
|
2012-05-11 21:09:40 +08:00
|
|
|
<ulink url="http://www.ietf.org/rfc/rfc3454.txt">Stringprep</ulink>,
|
|
|
|
<ulink url="http://www.ietf.org/rfc/rfc3492.txt">Punycode</ulink> and
|
|
|
|
<ulink url="http://www.ietf.org/rfc/rfc3490.txt">IDNA</ulink>
|
|
|
|
specifications defined by the Internet Engineering Task Force
|
|
|
|
(IETF) Internationalized Domain Names (IDN) working group, used for
|
|
|
|
internationalized domain names. This is useful for converting data from the
|
|
|
|
system's native representation into UTF-8, transforming Unicode strings
|
|
|
|
into ASCII strings, allowing applications to use certain ASCII name labels
|
|
|
|
(beginning with a special prefix) to represent non-ASCII name labels, and
|
|
|
|
converting entire domain names to and from the ASCII Compatible Encoding
|
|
|
|
(ACE) form.
|
|
|
|
</para>
|
2005-12-30 13:01:26 +08:00
|
|
|
|
2020-08-17 04:56:58 +08:00
|
|
|
&lfs10_checked;
|
2010-09-27 01:17:01 +08:00
|
|
|
|
2005-12-30 13:01:26 +08:00
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
2013-05-19 18:07:40 +08:00
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&libidn-download-http;"/>
|
|
|
|
</para>
|
2005-12-30 13:01:26 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2013-05-19 18:07:40 +08:00
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&libidn-download-ftp;"/>
|
|
|
|
</para>
|
2005-12-30 13:01:26 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2013-05-19 18:07:40 +08:00
|
|
|
<para>
|
|
|
|
Download MD5 sum: &libidn-md5sum;
|
|
|
|
</para>
|
2005-12-30 13:01:26 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2013-05-19 18:07:40 +08:00
|
|
|
<para>
|
|
|
|
Download size: &libidn-size;
|
|
|
|
</para>
|
2005-12-30 13:01:26 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2013-05-19 18:07:40 +08:00
|
|
|
<para>
|
|
|
|
Estimated disk space required: &libidn-buildsize;
|
|
|
|
</para>
|
2005-12-30 13:01:26 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2013-05-19 18:07:40 +08:00
|
|
|
<para>
|
|
|
|
Estimated build time: &libidn-time;
|
|
|
|
</para>
|
2005-12-30 13:01:26 +08:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2013-05-19 18:07:40 +08:00
|
|
|
<bridgehead renderas="sect3">libidn Dependencies</bridgehead>
|
2005-12-30 13:01:26 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2012-05-11 21:09:40 +08:00
|
|
|
<para role="optional">
|
2012-12-11 01:32:09 +08:00
|
|
|
<xref linkend="pth"/>,
|
2012-05-11 21:09:40 +08:00
|
|
|
<xref linkend="emacs"/>,
|
|
|
|
<xref linkend="gtk-doc"/>,
|
2012-06-07 12:40:05 +08:00
|
|
|
<xref linkend="openjdk"/>,
|
2015-08-04 03:31:52 +08:00
|
|
|
<xref linkend="valgrind"/>, and
|
2017-08-24 01:58:13 +08:00
|
|
|
<ulink url="http://www.mono-project.com/">Mono</ulink>
|
2012-05-11 21:09:40 +08:00
|
|
|
</para>
|
2005-12-30 13:01:26 +08:00
|
|
|
|
2006-04-11 02:35:56 +08:00
|
|
|
<para condition="html" role="usernotes">User Notes:
|
2013-05-19 18:07:40 +08:00
|
|
|
<ulink url="&blfs-wiki;/libidn"/>
|
|
|
|
</para>
|
2005-12-30 13:01:26 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
2013-05-19 18:07:40 +08:00
|
|
|
<title>Installation of libidn</title>
|
2005-12-30 13:01:26 +08:00
|
|
|
|
2012-05-11 21:09:40 +08:00
|
|
|
<para>
|
2013-05-19 18:07:40 +08:00
|
|
|
Install <application>libidn</application> by running the following
|
2012-05-11 21:09:40 +08:00
|
|
|
commands:
|
|
|
|
</para>
|
2005-12-30 13:01:26 +08:00
|
|
|
|
2012-05-11 21:09:40 +08:00
|
|
|
<screen><userinput>./configure --prefix=/usr --disable-static &&
|
2005-12-30 13:01:26 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
2012-05-11 21:09:40 +08:00
|
|
|
<para>
|
2018-08-01 08:18:23 +08:00
|
|
|
<!-- This package does not come with a functional test suite. -->
|
|
|
|
To test the results, issue: <command>make check</command>.
|
2012-05-11 21:09:40 +08:00
|
|
|
</para>
|
2005-12-30 13:01:26 +08:00
|
|
|
|
2012-05-11 21:09:40 +08:00
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
2005-12-30 13:01:26 +08:00
|
|
|
|
|
|
|
<screen role="root"><userinput>make install &&
|
|
|
|
|
2012-06-05 09:40:48 +08:00
|
|
|
find doc -name "Makefile*" -delete &&
|
2012-05-11 21:09:40 +08:00
|
|
|
rm -rf -v doc/{gdoc,idn.1,stamp-vti,man,texi} &&
|
2012-06-05 09:40:48 +08:00
|
|
|
mkdir -v /usr/share/doc/libidn-&libidn-version; &&
|
2012-05-11 21:09:40 +08:00
|
|
|
cp -r -v doc/* /usr/share/doc/libidn-&libidn-version;</userinput></screen>
|
2005-12-30 13:01:26 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
2006-06-26 23:45:37 +08:00
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
2006-09-23 23:46:31 +08:00
|
|
|
|
2010-04-22 02:48:34 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
2012-05-11 21:09:40 +08:00
|
|
|
href="../../xincludes/static-libraries.xml"/>
|
|
|
|
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
href="../../xincludes/gtk-doc-rebuild.xml"/>
|
2006-06-26 23:45:37 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
2005-12-30 13:01:26 +08:00
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Program</segtitle>
|
2012-05-11 21:09:40 +08:00
|
|
|
<segtitle>Installed Library</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
2005-12-30 13:01:26 +08:00
|
|
|
|
|
|
|
<seglistitem>
|
2012-05-11 21:09:40 +08:00
|
|
|
<seg>
|
|
|
|
idn
|
|
|
|
</seg>
|
|
|
|
<seg>
|
|
|
|
libidn.so
|
|
|
|
</seg>
|
|
|
|
<seg>
|
|
|
|
/usr/share/doc/libidn-&libidn-version; and
|
|
|
|
/usr/share/gtk-doc/html/libidn
|
|
|
|
</seg>
|
2005-12-30 13:01:26 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="idn">
|
|
|
|
<term><command>idn</command></term>
|
|
|
|
<listitem>
|
2012-05-11 21:09:40 +08:00
|
|
|
<para>
|
|
|
|
is a command line interface to the internationalized domain
|
|
|
|
name library.
|
|
|
|
</para>
|
2005-12-30 13:01:26 +08:00
|
|
|
<indexterm zone="libidn idn">
|
|
|
|
<primary sortas="b-idn">idn</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="libidn-lib">
|
2012-05-11 21:09:40 +08:00
|
|
|
<term><filename class='libraryfile'>libidn.so</filename></term>
|
2005-12-30 13:01:26 +08:00
|
|
|
<listitem>
|
2012-05-11 21:09:40 +08:00
|
|
|
<para>
|
|
|
|
contains a generic Stringprep implementation that does Unicode
|
|
|
|
3.2 NFKC normalization, mapping and prohibition of characters, and
|
|
|
|
bidirectional character handling. Profiles for Nameprep, iSCSI, SASL
|
|
|
|
and XMPP are included as well as support for Punycode and ASCII
|
|
|
|
Compatible Encoding (ACE) via IDNA. A mechanism to define Top-Level
|
|
|
|
Domain (TLD) specific validation tables, and to compare strings
|
|
|
|
against those tables, as well as default tables for some TLDs are
|
|
|
|
included.
|
|
|
|
</para>
|
2005-12-30 13:01:26 +08:00
|
|
|
<indexterm zone="libidn libidn-lib">
|
2012-05-11 21:09:40 +08:00
|
|
|
<primary sortas="c-libidn">libidn.so</primary>
|
2005-12-30 13:01:26 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|