]> git.pld-linux.org Git - packages/lynx.git/blame - lynx-config.patch
remove CVE-2008-4690 patch dropped from spec in 8c36682
[packages/lynx.git] / lynx-config.patch
CommitLineData
5ec5a24a 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
6d969959 3@@ -1,6 +1,6 @@
92cdea70 4 # $LynxId: lynx.cfg,v 1.302 2018/07/08 15:22:44 tom Exp $
1bc64cfa
AF
5 # lynx.cfg file.
6-# The default placement for this file is /usr/local/lib/lynx.cfg (Unix)
d1f006ef 7+# The default placement for this file is /etc/lynx.cfg (Unix)
1bc64cfa
AF
8 # or Lynx_Dir:lynx.cfg (VMS)
9 #
59822b20 10 # $Format: "#PRCS LYNX_VERSION \"$ProjectVersion$\""$
6d969959 11@@ -12,7 +12,7 @@
92cdea70
JP
12 # VARIABLE:DEFINITION
13 # NO spaces are allowed around the colon ":" between the pair items.
1bc64cfa 14 #
b4bdc598 15-# If you do not have write access to /usr/local/lib you may change
d1f006ef 16+# If you do not have write access to /etc you may change
1bc64cfa
AF
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.
5ec5a24a 20@@ -48,7 +48,7 @@
1bc64cfa
AF
21 #
22 # Then in ~/lynx.cfg:
23 #
6e9d7575 24-# INCLUDE:/usr/local/lib/lynx.cfg
d1f006ef 25+# INCLUDE:/etc/lynx.cfg
5ec5a24a 26 # ^^^^^^^^^^^^^^^^^^^^^^^ or whatever is appropriate on your system
92cdea70 27 # and now your own tweaks. If you omit the directory name, e.g.,
6e9d7575 28 #
5ec5a24a 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
6d969959 31@@ -66,7 +66,7 @@
32 DOCDIR = $(DESTDIR)$(docdir)
d1f006ef
JB
33
34 ## Where you want the help-files installed
6d969959 35-helpdir = @datadir@/lynx_help
36+helpdir = @datadir@/lynx/help
37 HELPDIR = $(DESTDIR)$(helpdir)
d1f006ef 38
3d470ac9 39 ##set the relative location of the WWW library Implementation directory,
5ec5a24a 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
6d969959 42@@ -105,7 +105,7 @@
d1f006ef
JB
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
92cdea70 50 #ifndef LYNX_CFG_PATH
5dba9168 51@@ -510,8 +510,9 @@
6d969959 52 * The definition here can be overridden at run time by defining a
53 * "LYNX_HELPFILE" environment variable.
d1f006ef 54 */
5dba9168
AM
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" */
d1f006ef 57 /* #define HELPFILE "file://localhost/PATH_TO/lynx_help/lynx_help_main.html" */
5dba9168 58+#define HELPFILE "file://localhost/usr/share/lynx/help/lynx_help_main.html.gz"
d1f006ef
JB
59
60 /*****************************
5dba9168 61 * DEFAULT_INDEX_FILE is the default file retrieved when the
This page took 0.121906 seconds and 4 git commands to generate.