source: networking/netprogs/wget.xml@ c821a8f0

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/xf86-video-removal
Last change on this file since c821a8f0 was c821a8f0, checked in by Pierre Labastie <pierre.labastie@…>, 19 months ago

wget depends optionally on libunistring

  • Property mode set to 100644
File size: 6.2 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 &lfs112_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="libunistring"/>,
89 <xref linkend="pcre"/> or <xref linkend="pcre2"/>, and
90 <xref linkend="valgrind"/> (for the test suite)
91 </para>
92
93 <para condition="html" role="usernotes">
94 User Notes: <ulink url="&blfs-wiki;/wget"/>
95 </para>
96 </sect2>
97
98 <sect2 role="installation">
99 <title>Installation of Wget</title>
100
101 <para>
102 Install <application>Wget</application> by running the following commands:
103 </para>
104
105<screen><userinput>./configure --prefix=/usr \
106 --sysconfdir=/etc \
107 --with-ssl=openssl &amp;&amp;
108make</userinput></screen>
109
110 <para>
111 To test the results, issue: <command>make check</command>.
112 </para>
113
114 <!-- libwww-perl/HTTP-Daemon/#21
115 Removing, since IO::Socket//INET6 has been deprecated
116 and replaced with IO::Socket::IP, which fixes the
117 problem
118 <para>
119 HTTPS tests are known to fail if Perl module IO::Socket::INET6
120 is installed.
121 </para>
122-->
123 <para>
124 Some tests may fail when Valgrind tests are enabled.
125 </para>
126
127 <para>
128 Now, as the <systemitem class="username">root</systemitem> user:
129 </para>
130
131<screen role="root"><userinput>make install</userinput></screen>
132 </sect2>
133
134 <sect2 role="commands">
135 <title>Command Explanations</title>
136
137 <para>
138 <parameter>--sysconfdir=/etc</parameter>: This relocates the configuration
139 file from <filename class="directory">/usr/etc</filename> to
140 <filename class="directory">/etc</filename>.
141 </para>
142
143 <para>
144 <parameter>--with-ssl=openssl</parameter>: This allows the program to use
145 openssl instead of <xref linkend="gnutls"/>.
146 </para>
147
148 <para>
149 <option>--enable-valgrind-tests</option>: This allows the tests to be
150 run under valgrind.
151 </para>
152
153 </sect2>
154
155 <sect2 role="configuration">
156 <title>Configuring Wget</title>
157
158 <sect3 id="wget-config">
159 <title>Config Files</title>
160
161 <para>
162 <filename>/etc/wgetrc</filename> and
163 <filename>~/.wgetrc</filename>
164 </para>
165
166 <indexterm zone="wget wget-config">
167 <primary sortas="e-AA.wgetrc">~/.wgetrc</primary>
168 </indexterm>
169
170 <indexterm zone="wget wget-config">
171 <primary sortas="e-etc-wgetrc">/etc/wgetrc</primary>
172 </indexterm>
173
174<!--
175 <para>
176 If you have installed <xref linkend="make-ca"/> and you want
177 <application>Wget</application> to use them, as the
178 <systemitem class="username">root</systemitem> user:
179 </para>
180
181<screen role="root"><userinput>echo ca-directory=/etc/ssl/certs >> /etc/wgetrc</userinput></screen>
182-->
183
184 </sect3>
185
186 </sect2>
187
188 <sect2 role="content">
189 <title>Contents</title>
190
191 <segmentedlist>
192 <segtitle>Installed Program</segtitle>
193 <segtitle>Installed Libraries</segtitle>
194 <segtitle>Installed Directories</segtitle>
195
196 <seglistitem>
197 <seg>
198 wget
199 </seg>
200 <seg>
201 None
202 </seg>
203 <seg>
204 None
205 </seg>
206 </seglistitem>
207 </segmentedlist>
208
209 <variablelist>
210 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
211 <?dbfo list-presentation="list"?>
212 <?dbhtml list-presentation="table"?>
213
214 <varlistentry id="wget-prog">
215 <term><command>wget</command></term>
216 <listitem>
217 <para>
218 retrieves files from the Web using the HTTP, HTTPS and FTP
219 protocols. It is designed to be non-interactive, for background or
220 unattended operations
221 </para>
222 <indexterm zone="wget wget-prog">
223 <primary sortas="b-wget">wget</primary>
224 </indexterm>
225 </listitem>
226 </varlistentry>
227
228 </variablelist>
229
230 </sect2>
231
232</sect1>
Note: See TracBrowser for help on using the repository browser.