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 c-ares-download-http "https://c-ares.haxx.se/download/c-ares-&c-ares-version;.tar.gz">
|
---|
8 | <!ENTITY c-ares-download-ftp " ">
|
---|
9 | <!ENTITY c-ares-md5sum "e57b37a7c46283e83c21cde234df10c7">
|
---|
10 | <!ENTITY c-ares-size "1.3 MB">
|
---|
11 | <!ENTITY c-ares-buildsize "14 MB">
|
---|
12 | <!ENTITY c-ares-time "0.3 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="c-ares" xreflabel="c-ares-&c-ares-version;">
|
---|
16 | <?dbhtml filename="c-ares.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy: $</othername>
|
---|
20 | <date>$Date: $</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>c-ares-&c-ares-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="c-ares">
|
---|
26 | <primary sortas="a-c-ares">c-ares</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to c-ares</title>
|
---|
31 |
|
---|
32 | <para>
|
---|
33 | <application>c-ares</application> is a C library for asynchronous DNS
|
---|
34 | requests.
|
---|
35 | </para>
|
---|
36 |
|
---|
37 | &lfs83_checked;
|
---|
38 |
|
---|
39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
40 | <itemizedlist spacing="compact">
|
---|
41 | <listitem>
|
---|
42 | <para>
|
---|
43 | Download (HTTP): <ulink url="&c-ares-download-http;"/>
|
---|
44 | </para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>
|
---|
48 | Download (FTP): <ulink url="&c-ares-download-ftp;"/>
|
---|
49 | </para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>
|
---|
53 | Download MD5 sum: &c-ares-md5sum;
|
---|
54 | </para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>
|
---|
58 | Download size: &c-ares-size;
|
---|
59 | </para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>
|
---|
63 | Estimated disk space required: &c-ares-buildsize;
|
---|
64 | </para>
|
---|
65 | </listitem>
|
---|
66 | <listitem>
|
---|
67 | <para>
|
---|
68 | Estimated build time: &c-ares-time;
|
---|
69 | </para>
|
---|
70 | </listitem>
|
---|
71 | </itemizedlist>
|
---|
72 |
|
---|
73 | </sect2>
|
---|
74 |
|
---|
75 | <sect2 role="installation">
|
---|
76 | <title>Installation of c-ares</title>
|
---|
77 |
|
---|
78 | <para>
|
---|
79 | Install <application>c-ares</application> by running the following
|
---|
80 | commands:
|
---|
81 | </para>
|
---|
82 |
|
---|
83 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
84 | make</userinput></screen>
|
---|
85 |
|
---|
86 | <para>
|
---|
87 | This package does not include a test suite.
|
---|
88 | </para>
|
---|
89 |
|
---|
90 | <para>
|
---|
91 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
92 | </para>
|
---|
93 |
|
---|
94 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
95 |
|
---|
96 | </sect2>
|
---|
97 |
|
---|
98 | <sect2 role="commands">
|
---|
99 | <title>Command Explanations</title>
|
---|
100 |
|
---|
101 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
102 | href="../../xincludes/static-libraries.xml"/>
|
---|
103 |
|
---|
104 | </sect2>
|
---|
105 |
|
---|
106 | <sect2 role="content">
|
---|
107 | <title>Contents</title>
|
---|
108 |
|
---|
109 | <segmentedlist>
|
---|
110 | <segtitle>Installed Library</segtitle>
|
---|
111 |
|
---|
112 | <seglistitem>
|
---|
113 | <seg>
|
---|
114 | libcares.so
|
---|
115 | </seg>
|
---|
116 | </seglistitem>
|
---|
117 | </segmentedlist>
|
---|
118 |
|
---|
119 | <variablelist>
|
---|
120 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
121 | <?dbfo list-presentation="list"?>
|
---|
122 | <?dbhtml list-presentation="table"?>
|
---|
123 |
|
---|
124 | <varlistentry id="c-ares-lib">
|
---|
125 | <term><filename class='libraryfile'>libcares.so</filename></term>
|
---|
126 | <listitem>
|
---|
127 | <para>
|
---|
128 | A C library for asynchronous DNS requests.
|
---|
129 | </para>
|
---|
130 | <indexterm zone="c-ares c-ares-lib">
|
---|
131 | <primary sortas="c-c-ares">c-ares.so</primary>
|
---|
132 | </indexterm>
|
---|
133 | </listitem>
|
---|
134 | </varlistentry>
|
---|
135 |
|
---|
136 | </variablelist>
|
---|
137 |
|
---|
138 | </sect2>
|
---|
139 |
|
---|
140 | </sect1>
|
---|