source: networking/netlibs/c-ares.xml

trunk
Last change on this file was 624fb84, checked in by Thomas Trepl <thomas@…>, 4 weeks ago

Upgrade c-ares-1.28.1

  • Property mode set to 100644
File size: 5.0 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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 "2b0f0df7491538a0d10f3310e13d4b5f">
10 <!ENTITY c-ares-size "1.2 MB">
11 <!ENTITY c-ares-buildsize "11 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
19 <title>c-ares-&c-ares-version;</title>
20
21 <indexterm zone="c-ares">
22 <primary sortas="a-c-ares">c-ares</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to c-ares</title>
27
28 <para>
29 <application>c-ares</application> is a C library for asynchronous DNS
30 requests.
31 </para>
32
33 &lfs121_checked;
34
35 <bridgehead renderas="sect3">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
38 <para>
39 Download (HTTP): <ulink url="&c-ares-download-http;"/>
40 </para>
41 </listitem>
42 <listitem>
43 <para>
44 Download (FTP): <ulink url="&c-ares-download-ftp;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download MD5 sum: &c-ares-md5sum;
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download size: &c-ares-size;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Estimated disk space required: &c-ares-buildsize;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated build time: &c-ares-time;
65 </para>
66 </listitem>
67 </itemizedlist>
68
69 <bridgehead renderas="sect3">c-ares Dependencies</bridgehead>
70
71 <bridgehead renderas="sect4">Required</bridgehead>
72 <para role="required">
73 <xref linkend="cmake"/>
74 </para>
75
76 </sect2>
77
78 <sect2 role="installation">
79 <title>Installation of c-ares</title>
80
81 <para>
82 Install <application>c-ares</application> by running the following
83 commands:
84 </para>
85
86<screen><userinput>mkdir build &amp;&amp;
87cd build &amp;&amp;
88
89cmake -DCMAKE_INSTALL_PREFIX=/usr .. &amp;&amp;
90make</userinput></screen>
91
92 <para>
93 This package does not include a test suite.
94 </para>
95
96 <para>
97 Now, as the <systemitem class="username">root</systemitem> user:
98 </para>
99
100<screen role="root"><userinput>make install</userinput></screen>
101
102 </sect2>
103
104<!-- Since moving to CMake, we don't need this anymore.
105 <sect2 role="commands">
106 <title>Command Explanations</title>
107
108 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
109 href="../../xincludes/static-libraries.xml"/>
110
111 </sect2>
112-->
113
114 <sect2 role="content">
115 <title>Contents</title>
116
117 <segmentedlist>
118 <segtitle>Installed Programs</segtitle>
119 <segtitle>Installed Libraries</segtitle>
120 <segtitle>Installed Directories</segtitle>
121
122 <seglistitem>
123 <seg>
124 adig and ahost
125 </seg>
126 <seg>
127 libcares.so
128 </seg>
129 <seg>
130 None
131 </seg>
132 </seglistitem>
133 </segmentedlist>
134
135 <variablelist>
136 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
137 <?dbfo list-presentation="list"?>
138 <?dbhtml list-presentation="table"?>
139
140<!-- Removed in 1.20.0 since the website it used is no longer available.
141 <varlistentry id="acountry">
142 <term><command>acountry</command></term>
143 <listitem>
144 <para>
145 prints the country where an IPv4 address or host is located
146 </para>
147 <indexterm zone="c-ares acountry">
148 <primary sortas="b-acountry">acountry</primary>
149 </indexterm>
150 </listitem>
151 </varlistentry>
152-->
153
154 <varlistentry id="adig">
155 <term><command>adig</command></term>
156 <listitem>
157 <para>
158 queries information from DNS servers
159 </para>
160 <indexterm zone="c-ares adig">
161 <primary sortas="b-adig">adig</primary>
162 </indexterm>
163 </listitem>
164 </varlistentry>
165
166 <varlistentry id="ahost">
167 <term><command>ahost</command></term>
168 <listitem>
169 <para>
170 prints the A or AAAA record associated with a hostname
171 or IP address
172 </para>
173 <indexterm zone="c-ares ahost">
174 <primary sortas="b-ahost">ahost</primary>
175 </indexterm>
176 </listitem>
177 </varlistentry>
178
179 <varlistentry id="c-ares-lib">
180 <term><filename class="libraryfile">libcares.so</filename></term>
181 <listitem>
182 <para>
183 is a C library for asynchronous DNS requests
184 </para>
185 <indexterm zone="c-ares c-ares-lib">
186 <primary sortas="c-c-ares">c-ares.so</primary>
187 </indexterm>
188 </listitem>
189 </varlistentry>
190
191 </variablelist>
192
193 </sect2>
194
195</sect1>
Note: See TracBrowser for help on using the repository browser.