source: networking/netprogs/wget.xml@ abfacaf

ken/TL2024 lazarus trunk xry111/llvm18
Last change on this file since abfacaf was abfacaf, checked in by Xi Ruoyao <xry111@…>, 4 months ago

Remove most references to PCRE1

Some notes:

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