source: networking/netprogs/wget.xml@ c57cae3

11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/soup3 xry111/xf86-video-removal
Last change on this file since c57cae3 was c57cae3, checked in by Pierre Labastie <pierre.labastie@…>, 2 years ago

Update to wget-1.21.3

  • Property mode set to 100644
File size: 6.1 KB
Line 
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 wget-download-http
8 "&gnu-http;/wget/wget-&wget-version;.tar.gz">
9 <!ENTITY wget-download-ftp
10 "&gnu-ftp;/wget/wget-&wget-version;.tar.gz">
11 <!ENTITY wget-md5sum "e89496b15f8bf039d723926fae4d91f5">
12 <!ENTITY wget-size "4.8 MB">
13 <!ENTITY wget-buildsize "40 MB (add 26 MB for tests)">
14 <!ENTITY wget-time "0.3 SBU (add 0.2 SBU for tests)">
15]>
16
17<sect1 id="wget" xreflabel="Wget-&wget-version;">
18 <?dbhtml filename="wget.html"?>
19
20 <sect1info>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>Wget-&wget-version;</title>
25
26 <indexterm zone="wget">
27 <primary sortas="a-Wget">Wget</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to Wget</title>
32
33 <para>
34 The <application>Wget</application> package contains a utility useful for
35 non-interactive downloading of files from the Web.
36 </para>
37
38 &lfs111_checked;
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>
44 Download (HTTP): <ulink url="&wget-download-http;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download (FTP): <ulink url="&wget-download-ftp;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download MD5 sum: &wget-md5sum;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download size: &wget-size;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated disk space required: &wget-buildsize;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated build time: &wget-time;
70 </para>
71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect3">Wget Dependencies</bridgehead>
75
76 <bridgehead renderas="sect4">Recommended</bridgehead>
77 <para role="recommended">
78 <xref role="runtime" linkend="make-ca"/> (runtime)
79 </para>
80
81 <bridgehead renderas="sect4">Optional</bridgehead>
82 <para role="optional">
83 <xref linkend="gnutls"/>,
84 <xref linkend="perl-http-daemon"/> (for the test suite),
85 <xref linkend="perl-io-socket-ssl"/> (for the test suite),
86 <xref linkend="libidn2"/>,
87 <xref linkend="libpsl"/>,
88 <xref linkend="pcre"/> or <xref linkend="pcre2"/>, and
89 <xref linkend="valgrind"/> (for the test suite)
90 </para>
91
92 <para condition="html" role="usernotes">
93 User Notes: <ulink url="&blfs-wiki;/wget"/>
94 </para>
95 </sect2>
96
97 <sect2 role="installation">
98 <title>Installation of Wget</title>
99
100 <para>
101 Install <application>Wget</application> by running the following commands:
102 </para>
103
104<screen><userinput>./configure --prefix=/usr \
105 --sysconfdir=/etc \
106 --with-ssl=openssl &amp;&amp;
107make</userinput></screen>
108
109 <para>
110 To test the results, issue: <command>make check</command>.
111 </para>
112
113 <!-- libwww-perl/HTTP-Daemon/#21
114 Removing, since IO::Socket//INET6 has been deprecated
115 and replaced with IO::Socket::IP, which fixes the
116 problem
117 <para>
118 HTTPS tests are known to fail if Perl module IO::Socket::INET6
119 is installed.
120 </para>
121-->
122 <para>
123 Some tests may fail when Valgrind tests are enabled.
124 </para>
125
126 <para>
127 Now, as the <systemitem class="username">root</systemitem> user:
128 </para>
129
130<screen role="root"><userinput>make install</userinput></screen>
131 </sect2>
132
133 <sect2 role="commands">
134 <title>Command Explanations</title>
135
136 <para>
137 <parameter>--sysconfdir=/etc</parameter>: This relocates the configuration
138 file from <filename class="directory">/usr/etc</filename> to
139 <filename class="directory">/etc</filename>.
140 </para>
141
142 <para>
143 <parameter>--with-ssl=openssl</parameter>: This allows the program to use
144 openssl instead of <xref linkend="gnutls"/>.
145 </para>
146
147 <para>
148 <option>--enable-valgrind-tests</option>: This allows the tests to be
149 run under valgrind.
150 </para>
151
152 </sect2>
153
154 <sect2 role="configuration">
155 <title>Configuring Wget</title>
156
157 <sect3 id="wget-config">
158 <title>Config Files</title>
159
160 <para>
161 <filename>/etc/wgetrc</filename> and
162 <filename>~/.wgetrc</filename>
163 </para>
164
165 <indexterm zone="wget wget-config">
166 <primary sortas="e-AA.wgetrc">~/.wgetrc</primary>
167 </indexterm>
168
169 <indexterm zone="wget wget-config">
170 <primary sortas="e-etc-wgetrc">/etc/wgetrc</primary>
171 </indexterm>
172
173<!--
174 <para>
175 If you have installed <xref linkend="make-ca"/> and you want
176 <application>Wget</application> to use them, as the
177 <systemitem class="username">root</systemitem> user:
178 </para>
179
180<screen role="root"><userinput>echo ca-directory=/etc/ssl/certs >> /etc/wgetrc</userinput></screen>
181-->
182
183 </sect3>
184
185 </sect2>
186
187 <sect2 role="content">
188 <title>Contents</title>
189
190 <segmentedlist>
191 <segtitle>Installed Program</segtitle>
192 <segtitle>Installed Libraries</segtitle>
193 <segtitle>Installed Directories</segtitle>
194
195 <seglistitem>
196 <seg>
197 wget
198 </seg>
199 <seg>
200 None
201 </seg>
202 <seg>
203 None
204 </seg>
205 </seglistitem>
206 </segmentedlist>
207
208 <variablelist>
209 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
210 <?dbfo list-presentation="list"?>
211 <?dbhtml list-presentation="table"?>
212
213 <varlistentry id="wget-prog">
214 <term><command>wget</command></term>
215 <listitem>
216 <para>
217 retrieves files from the Web using the HTTP, HTTPS and FTP
218 protocols. It is designed to be non-interactive, for background or
219 unattended operations
220 </para>
221 <indexterm zone="wget wget-prog">
222 <primary sortas="b-wget">wget</primary>
223 </indexterm>
224 </listitem>
225 </varlistentry>
226
227 </variablelist>
228
229 </sect2>
230
231</sect1>
Note: See TracBrowser for help on using the repository browser.