[pkg-lynx-commits] [lynx-cur] 02/02: Set STARTFILE=file://localhost/usr/share/doc/lynx/lynx_help/about_lynx.html.gz

Axel Beckert abe at deuxchevaux.org
Mon Oct 30 18:30:14 UTC 2017


This is an automated email from the git hooks/post-receive script.

abe pushed a commit to branch master
in repository lynx-cur.

commit 111bbc57edc1a7cbf6832f300f422170eb27082a
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Mon Oct 30 18:53:37 2017 +0100

    Set STARTFILE=file://localhost/usr/share/doc/lynx/lynx_help/about_lynx.html.gz
    
    instead of just a directory listing of the user's home directory.
---
 debian/changelog             |  5 +++--
 debian/patches/lynxcfg.patch | 45 ++++++++++++++++++++++----------------------
 2 files changed, 26 insertions(+), 24 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index aa779fd..fdcb2c1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,8 @@
 lynx (2.8.9dev16-2) UNRELEASED; urgency=low
 
-  [ Denis Briand ]
-  * Change STARTFILE to file://localhost/~/ in lynx.cfg (Closes: #821905).
+  [ Denis Briand + Axel Beckert ]
+  * Use file://localhost/usr/share/doc/lynx/lynx_help/about_lynx.html.gz
+    as STARTFILE in lynx.cfg. (Closes: #821905)
 
   [ Axel Beckert ]
   * Set "Rules-Requires-Root: no".
diff --git a/debian/patches/lynxcfg.patch b/debian/patches/lynxcfg.patch
index 18fd531..fca5d5e 100644
--- a/debian/patches/lynxcfg.patch
+++ b/debian/patches/lynxcfg.patch
@@ -1,12 +1,13 @@
 Description: Modify the lynx.cfg to Debian system
 Author: Atsuhito Kohda <kohda at debian.org>
 Author: Denis Briand <debian at denis-briand.fr>
+Author: Axel Beckert <abe at debian.org>
 Forwarded: not-needed
-Last-Update: 2017-08-11
+Last-Update: 2017-10-30
 
 --- a/lynx.cfg
 +++ b/lynx.cfg
-@@ -108,12 +108,12 @@
+@@ -108,12 +108,13 @@
  #
  # Normally we expect you will connect to a remote site, e.g., the Lynx starting
  # site:
@@ -16,12 +17,12 @@ Last-Update: 2017-08-11
  # As an alternative, you may want to use a local URL.  A good choice for this is
  # the user's home directory:
  .ex
--#STARTFILE:file://localhost/~/
-+STARTFILE:file://localhost/~/
+ #STARTFILE:file://localhost/~/
++STARTFILE:file://localhost/usr/share/doc/lynx/lynx_help/about_lynx.html.gz
  #
  # Your choice of STARTFILE should reflect your site's needs, and be a URL that
  # you can connect to reliably.  Otherwise users will become confused and think
-@@ -132,9 +132,10 @@
+@@ -132,9 +133,10 @@
  # This definition will be overridden if the "LYNX_HELPFILE" environment
  # variable has been set.
  #
@@ -34,7 +35,7 @@ Last-Update: 2017-08-11
  
  .h2 DEFAULT_INDEX_FILE
  # DEFAULT_INDEX_FILE is the default file retrieved when the
-@@ -454,7 +455,7 @@
+@@ -454,7 +456,7 @@
  # Find RFC 1345 at
  .url http://tools.ietf.org/html/rfc1345
  #
@@ -43,7 +44,7 @@ Last-Update: 2017-08-11
  
  .h2 LOCALE_CHARSET
  # LOCALE_CHARSET overrides CHARACTER_SET if true, using the current locale to
-@@ -468,6 +469,7 @@
+@@ -468,6 +470,7 @@
  # happens to give useful values, but other implementations are not guaranteed
  # to do this.
  #LOCALE_CHARSET:FALSE
@@ -51,7 +52,7 @@ Last-Update: 2017-08-11
  
  .h2 HTML5_CHARSETS
  # HTML5_CHARSETS is an alternative to ASSUME_CHARSET and ASSUME_LOCAL_CHARSET.
-@@ -565,7 +567,7 @@
+@@ -565,7 +568,7 @@
  # compatibility problems with other browsers, see also PREPEND_BASE_TO_SOURCE.
  # Note that the prepending is not done for -source dumps.
  #
@@ -60,7 +61,7 @@ Last-Update: 2017-08-11
  
  .h2 NCR_IN_BOOKMARKS
  # NCR_IN_BOOKMARKS:TRUE allows you to save 8-bit characters in bookmark titles
-@@ -617,7 +619,7 @@
+@@ -617,7 +620,7 @@
  # the 'o'ptions menu and save that preference in their RC file.
  # This may be a comma-separated list of languages in decreasing preference.
  #
@@ -69,7 +70,7 @@ Last-Update: 2017-08-11
  
  .h2 PREFERRED_CHARSET
  # PREFERRED_CHARSET specifies the character set in MIME notation (e.g.,
-@@ -809,7 +811,7 @@
+@@ -809,7 +812,7 @@
  # 'o'ptions menu and saved in the RC file, and always can be toggled
  # via the -show_cursor command line switch.
  #
@@ -78,7 +79,7 @@ Last-Update: 2017-08-11
  
  .h2 UNDERLINE_LINKS
  # UNDERLINE_LINKS controls whether links are underlined by default, or shown
-@@ -997,8 +999,8 @@
+@@ -997,8 +1000,8 @@
  # executed.  This is much less dangerous than enabling all execution
  # links, but can still be dangerous.
  #
@@ -89,7 +90,7 @@ Last-Update: 2017-08-11
  
  .h2 TRUSTED_EXEC
  # If LOCAL_EXECUTION_LINK_ON_BUT_NOT_REMOTE is TRUE, and no TRUSTED_EXEC
-@@ -1045,7 +1047,7 @@
+@@ -1045,7 +1048,7 @@
  # as well (i.e., they will only be able to access lynxexec or lynxprog
  # URLs which meet any ALWAYS_TRUSTED_EXEC rules).
  #
@@ -98,7 +99,7 @@ Last-Update: 2017-08-11
  
  .h2 ALWAYS_TRUSTED_EXEC
  # If EXEC_LINKS was defined, any lynxexec or lynxprog URL can be made
-@@ -1066,7 +1068,7 @@
+@@ -1066,7 +1069,7 @@
  #
  # The default ALWAYS_TRUSTED_EXEC rule is "none".
  #
@@ -107,7 +108,7 @@ Last-Update: 2017-08-11
  
  .h2 TRUSTED_LYNXCGI
  # Unix:
-@@ -1085,7 +1087,7 @@
+@@ -1085,7 +1088,7 @@
  #
  # The default TRUSTED_LYNXCGI rule is "none".
  #
@@ -116,7 +117,7 @@ Last-Update: 2017-08-11
  
  .h2 LYNXCGI_ENVIRONMENT
  # Unix:
-@@ -1411,7 +1413,7 @@
+@@ -1411,7 +1414,7 @@
  # The default is FALSE, so that the feature needs to be enabled here
  # explicitly if you want it.
  #
@@ -125,7 +126,7 @@ Last-Update: 2017-08-11
  
  .h2 COOKIE_FILE
  # COOKIE_FILE is the default file from which persistent cookies are read
-@@ -1858,7 +1860,7 @@
+@@ -1858,7 +1861,7 @@
  # and not forced TRUE, the user can regulate it via the 'o'ptions menu (and
  # may save the preference in the RC file).
  #
@@ -134,7 +135,7 @@ Last-Update: 2017-08-11
  
  .h1 Internal Behavior
  
-@@ -2123,13 +2125,13 @@
+@@ -2123,13 +2126,13 @@
  #
  # Unix:
  # ====
@@ -150,7 +151,7 @@ Last-Update: 2017-08-11
  #	VMS (sought in user's sys$login directory):
  #PERSONAL_EXTENSION_MAP:mime.types
  
-@@ -2264,6 +2266,8 @@
+@@ -2264,6 +2267,8 @@
  #SUFFIX:.dms:application/x-dms
  #SUFFIX:.html:text/html
  #SUFFIX:.txt:text/plain
@@ -159,7 +160,7 @@ Last-Update: 2017-08-11
  
  .h2 XLOADIMAGE_COMMAND
  # VMS:
-@@ -2367,13 +2371,13 @@
+@@ -2367,13 +2372,13 @@
  #
  # Unix:
  # ====
@@ -175,7 +176,7 @@ Last-Update: 2017-08-11
  
  .h2 PREFERRED_MEDIA_TYPES
  # When doing a GET, lynx lists the MIME types which it knows how to present
-@@ -3579,7 +3583,7 @@
+@@ -3579,7 +3584,7 @@
  # should accept, in case the $SSL_CERT_FILE environment variable is not set,
  # e.g.,
  #
@@ -184,7 +185,7 @@ Last-Update: 2017-08-11
  #SSL_CERT_FILE:NULL
  
  .h2 SSL_CLIENT_CERT_FILE
-@@ -3619,7 +3623,7 @@
+@@ -3619,7 +3624,7 @@
  
  .h2 SYSLOG_REQUESTED_URLS
  # Log the requested URLs using the syslog interface.
@@ -193,7 +194,7 @@ Last-Update: 2017-08-11
  
  .h2 SYSLOG_TEXT
  # Add the given text to calls made to syslog, to distinguish Lynx from other
-@@ -3793,3 +3797,19 @@
+@@ -3793,3 +3798,19 @@
  # several other features of HTTP/1.1.  You may encounter a server which does
  # not support HTTP/1.0 which can be used by switching to the later protocol.
  #HTTP_PROTOCOL:1.0

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-lynx/lynx-cur.git



More information about the pkg-lynx-commits mailing list