]> git.pld-linux.org Git - packages/wget.git/blob - wget-wgetrc_path.patch
fix build with gnupg >= 2.4.1; rel 2
[packages/wget.git] / wget-wgetrc_path.patch
1 diff -urNp -x '*.orig' wget-1.21.1.org/NEWS wget-1.21.1/NEWS
2 --- wget-1.21.1.org/NEWS        2021-01-09 10:55:07.000000000 +0100
3 +++ wget-1.21.1/NEWS    2021-05-06 00:07:34.604635623 +0200
4 @@ -1005,7 +1005,7 @@ distributed with Wget.
5  
6  ** Compiles on pre-ANSI compilers.
7  
8 -** Global wgetrc now goes to /usr/local/etc (i.e. $sysconfdir).
9 +** Global wgetrc now goes to /etc (i.e. $sysconfdir).
10  
11  ** Lots of bugfixes.
12  
13 @@ -1068,9 +1068,8 @@ Emacs, standalone info, or converted to
14  ** Fixed a long-standing bug, so that Wget now works over SLIP
15  connections.
16  
17 -** You can have a system-wide wgetrc (/usr/local/lib/wgetrc by
18 -default). Settings in $HOME/.wgetrc override the global ones, of
19 -course :-)
20 +** You can have a system-wide wgetrc (/etc/wgetrc by default). Settings
21 +in $HOME/.wgetrc override the global ones, of course :-)
22  
23  ** You can set up quota in .wgetrc to prevent sucking too much
24  data. Try `quota = 5M' in .wgetrc (or quota = 100K if you want your
25 diff -urNp -x '*.orig' wget-1.21.1.org/doc/sample.wgetrc wget-1.21.1/doc/sample.wgetrc
26 --- wget-1.21.1.org/doc/sample.wgetrc   2020-05-05 01:10:59.000000000 +0200
27 +++ wget-1.21.1/doc/sample.wgetrc       2021-05-06 00:07:34.605635623 +0200
28 @@ -10,7 +10,7 @@
29  ## Or online here:
30  ##   https://www.gnu.org/software/wget/manual/wget.html#Startup-File
31  ##
32 -## Wget initialization file can reside in /usr/local/etc/wgetrc
33 +## Wget initialization file can reside in /etc/wgetrc
34  ## (global, for all users) or $HOME/.wgetrc (for a single user).
35  ##
36  ## To use the settings in this file, you will have to uncomment them,
37 @@ -22,7 +22,7 @@
38  
39  
40  ##
41 -## Global settings (useful for setting up in /usr/local/etc/wgetrc).
42 +## Global settings (useful for setting up in /etc/wgetrc).
43  ## Think well before you change them, since they may reduce wget's
44  ## functionality, and make it behave contrary to the documentation:
45  ##
46 diff -urNp -x '*.orig' wget-1.21.1.org/doc/wget.texi wget-1.21.1/doc/wget.texi
47 --- wget-1.21.1.org/doc/wget.texi       2021-05-06 00:07:34.276635623 +0200
48 +++ wget-1.21.1/doc/wget.texi   2021-05-06 00:07:34.606635623 +0200
49 @@ -195,7 +195,7 @@ gauge can be customized to your preferen
50  Most of the features are fully configurable, either through command line
51  options, or via the initialization file @file{.wgetrc} (@pxref{Startup
52  File}).  Wget allows you to define @dfn{global} startup files
53 -(@file{/usr/local/etc/wgetrc} by default) for site settings. You can also
54 +(@file{/etc/wgetrc} by default) for site settings. You can also
55  specify the location of a startup file with the --config option.
56  To disable the reading of config files, use --no-config.
57  If both --config and --no-config are given, --no-config is ignored.
58 @@ -204,7 +204,7 @@ If both --config and --no-config are giv
59  @ignore
60  @c man begin FILES
61  @table @samp
62 -@item /usr/local/etc/wgetrc
63 +@item /etc/wgetrc
64  Default location of the @dfn{global} startup file.
65  
66  @item .wgetrc
67 @@ -3185,9 +3185,7 @@ commands.
68  @cindex location of wgetrc
69  
70  When initializing, Wget will look for a @dfn{global} startup file,
71 -@file{/usr/local/etc/wgetrc} by default (or some prefix other than
72 -@file{/usr/local}, if Wget was not installed there) and read commands
73 -from there, if it exists.
74 +@file{/etc/wgetrc} by default and read commands from there, if it exists.
75  
76  Then it will look for the user's file.  If the environmental variable
77  @code{WGETRC} is set, Wget will try to load that file.  Failing that, no
78 @@ -3197,7 +3195,7 @@ If @code{WGETRC} is not set, Wget will t
79  
80  The fact that user's settings are loaded after the system-wide ones
81  means that in case of collision user's wgetrc @emph{overrides} the
82 -system-wide wgetrc (in @file{/usr/local/etc/wgetrc} by default).
83 +system-wide wgetrc (in @file{/etc/wgetrc} by default).
84  Fascist admins, away!
85  
86  @node Wgetrc Syntax, Wgetrc Commands, Wgetrc Location, Startup File
This page took 0.035194 seconds and 3 git commands to generate.