]> git.pld-linux.org Git - packages/lynx.git/blob - lynx-config.patch
remove CVE-2008-4690 patch dropped from spec in 8c36682
[packages/lynx.git] / lynx-config.patch
1 --- lynx2-8-7/lynx.cfg~ 2010-06-21 13:58:02.215705722 +0200
2 +++ lynx2-8-7/lynx.cfg  2010-06-21 14:00:28.895674991 +0200
3 @@ -1,6 +1,6 @@
4  # $LynxId: lynx.cfg,v 1.302 2018/07/08 15:22:44 tom Exp $
5  # lynx.cfg file.
6 -# The default placement for this file is /usr/local/lib/lynx.cfg (Unix)
7 +# The default placement for this file is /etc/lynx.cfg (Unix)
8  #                                     or Lynx_Dir:lynx.cfg (VMS)
9  #
10  # $Format: "#PRCS LYNX_VERSION \"$ProjectVersion$\""$
11 @@ -12,7 +12,7 @@
12  #      VARIABLE:DEFINITION
13  # NO spaces are allowed around the colon ":" between the pair items.
14  #
15 -#  If you do not have write access to /usr/local/lib you may change
16 +#  If you do not have write access to /etc you may change
17  #  the default location of this file in the userdefs.h file and recompile,
18  #  or specify its location on the command line with the "-cfg"
19  #  command line option.
20 @@ -48,7 +48,7 @@
21  #
22  # Then in ~/lynx.cfg:
23  #
24 -#   INCLUDE:/usr/local/lib/lynx.cfg
25 +#   INCLUDE:/etc/lynx.cfg
26  #           ^^^^^^^^^^^^^^^^^^^^^^^ or whatever is appropriate on your system
27  # and now your own tweaks.  If you omit the directory name, e.g.,
28  #
29 --- lynx2-8-7/makefile.in~      2010-06-21 11:27:35.000000000 +0200
30 +++ lynx2-8-7/makefile.in       2010-06-21 14:04:23.622318548 +0200
31 @@ -66,7 +66,7 @@
32  DOCDIR    = $(DESTDIR)$(docdir)
33  
34  ## Where you want the help-files installed
35 -helpdir   = @datadir@/lynx_help
36 +helpdir   = @datadir@/lynx/help
37  HELPDIR   = $(DESTDIR)$(helpdir)
38  
39  ##set the relative location of the WWW library Implementation directory,
40 --- lynx2-8-7/userdefs.h~       2010-06-21 14:03:36.879822401 +0200
41 +++ lynx2-8-7/userdefs.h        2010-06-21 14:05:52.335642938 +0200
42 @@ -105,7 +105,7 @@
43   * mailcap files (see the examples in the samples directory).
44   */
45  #ifndef LYNX_CFG_FILE
46 -#define LYNX_CFG_FILE "/usr/share/lynx/lynx.cfg"
47 +#define LYNX_CFG_FILE "/etc/lynx.cfg"
48  #endif /* LYNX_CFG_FILE */
49  
50  #ifndef LYNX_CFG_PATH
51 @@ -510,8 +510,9 @@
52   * The definition here can be overridden at run time by defining a
53   * "LYNX_HELPFILE" environment variable.
54   */
55 -#define HELPFILE "https://lynx.invisible-island.net/lynx_help/lynx_help_main.html"
56 +/* ##define HELPFILE "https://lynx.invisible-island.net/lynx_help/lynx_help_main.html" */
57  /* #define HELPFILE "file://localhost/PATH_TO/lynx_help/lynx_help_main.html" */
58 +#define HELPFILE "file://localhost/usr/share/lynx/help/lynx_help_main.html.gz"
59  
60  /*****************************
61   * DEFAULT_INDEX_FILE is the default file retrieved when the
This page took 0.103204 seconds and 3 git commands to generate.