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 "d2391da274653f7643270623e822dff7">
|
---|
10 | <!ENTITY c-ares-size "1.3 MB">
|
---|
11 | <!ENTITY c-ares-buildsize "8.5 MB">
|
---|
12 | <!ENTITY c-ares-time "0.1 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>mkdir build &&
|
---|
84 | cd build &&
|
---|
85 |
|
---|
86 | cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
|
---|
87 | make</userinput></screen>
|
---|
88 |
|
---|
89 | <para>
|
---|
90 | This package does not include a test suite.
|
---|
91 | </para>
|
---|
92 |
|
---|
93 | <para>
|
---|
94 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
95 | </para>
|
---|
96 |
|
---|
97 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
98 |
|
---|
99 | </sect2>
|
---|
100 |
|
---|
101 | <sect2 role="commands">
|
---|
102 | <title>Command Explanations</title>
|
---|
103 |
|
---|
104 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
105 | href="../../xincludes/static-libraries.xml"/>
|
---|
106 |
|
---|
107 | </sect2>
|
---|
108 |
|
---|
109 | <sect2 role="content">
|
---|
110 | <title>Contents</title>
|
---|
111 |
|
---|
112 | <segmentedlist>
|
---|
113 | <segtitle>Installed Library</segtitle>
|
---|
114 |
|
---|
115 | <seglistitem>
|
---|
116 | <seg>
|
---|
117 | libcares.so
|
---|
118 | </seg>
|
---|
119 | </seglistitem>
|
---|
120 | </segmentedlist>
|
---|
121 |
|
---|
122 | <variablelist>
|
---|
123 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
124 | <?dbfo list-presentation="list"?>
|
---|
125 | <?dbhtml list-presentation="table"?>
|
---|
126 |
|
---|
127 | <varlistentry id="c-ares-lib">
|
---|
128 | <term><filename class='libraryfile'>libcares.so</filename></term>
|
---|
129 | <listitem>
|
---|
130 | <para>
|
---|
131 | A C library for asynchronous DNS requests.
|
---|
132 | </para>
|
---|
133 | <indexterm zone="c-ares c-ares-lib">
|
---|
134 | <primary sortas="c-c-ares">c-ares.so</primary>
|
---|
135 | </indexterm>
|
---|
136 | </listitem>
|
---|
137 | </varlistentry>
|
---|
138 |
|
---|
139 | </variablelist>
|
---|
140 |
|
---|
141 | </sect2>
|
---|
142 |
|
---|
143 | </sect1>
|
---|