pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/lynx



Module Name:    pkgsrc
Committed By:   nikita
Date:           Sat Jun  8 20:31:23 UTC 2024

Modified Files:
        pkgsrc/www/lynx: Makefile PLIST distinfo
Removed Files:
        pkgsrc/www/lynx/patches: patch-WWW_Library_Implementation_HTTP.c

Log Message:
lynx: update to version 2.9.2

Changelog:

2024-05-31 (2.9.2)
* modify makefile.in install-help to only remove files, leaving existing
  directories and symbolic links -TD
* in POSIX environments, check paths for external programs to ensure that they
  are executable, non-empty files -TD
* adapt special case of gzip decompression in 2.8.9dev.12 to brotli, to handle
  downloads from websites which support "br" (report by Rajeev V Pillai) -TD
* updated configure macro CF_ANSI_CC_C, to reset flags on test-failure, to
  keep options from accumulating.
* build-fix for NetBSD and Solaris system curses libraries, removing an ifdef
  added in 2.9.0dev.11 (report by Nelson Beebe) -TD

2024-04-15 (2.9.1)
* add samples/mhtml-tool, from
    https://github.com/ThomasDickey/mhtml-tool
  which can use Lynx to display an "mhtml" file, e.g., foo.mht by
    mhtml-tool -e lynx foo.mht
* add --with-libintl-prefix configure option (from patch for tin by Urs
  JanBen) -TD
* improve bookmark file-updates, allowing for users to add HTML markup
  (report by TG) -TD
* remove obsolete option --with-included-gettext -TD
* override $BUILD_CPPFLAGS and $BUILD_LIBS when not cross-compiling, to help
  build Lynx with PDCurses -TD
* re-order configure check for _XOPEN_SOURCE, etc., to reduce compiler warnings
  with gcc 14 -TD
* add configure check for ssp library, needed in some MinGW configurations -TD
* fixes for saving a UTF-8 bookmark title -KH
  + correct comparison of Windows codepage values when setting
    DisplayCharsetMatchLocale, to handle UTF-8
  + reset the internal state of UCTransToUni() before using it for bookmark
    title check.
* update/cleanup test-packages -TD
* correct logic in HTMLGen.c where XMP was not treated as a preformatted
  style, causing NNTP headers to be formatted (report by Marco Moock) -TD
* fix special case of main status line on a page without links, broken by fix
  for UBSAN/ASAN issue -TG

2024-01-15 (2.9.0)
* change version of OpenSSL used in Windows installers to 3.x and 1.1.1x,
  for new/old respectively -TD
* fixes for UBSAN/ASAN issues with clang on Windows -GV
* modify install-doc rule to use relative path for symbolic links -TD
* add support for gopher's hURL functionality (patch by Viatrix).
* allow ^G interrupt to end read from a stalled connection without exiting
  Lynx (Debian #1033423) -TD
* allow the ^S keymap to be disabled in the configuration file, e.g.,
    KEYMAP:^S:UNMAPPED
  (report by TG) -TD
* repair docs/OS-390.announce and docs/README.jp -TD
* make the test-files non-empty, to appease some packaging tools -TD
* check for getpwuid(), use in preference to deprecated cuserid() -TD
* modify curses initialization to permit ^S built-in keymap to work without
  needing external stty changes -TD
* correct ifdef for LYmsec_delay() (report by Alexander Arkhipov) -TD
* add a NUL after "/" in the SGML parser when the next character is ">", to
  make PRETTYSRC view display correctly (report by "Dima") -TD
* trim some obsolete style code for NeXT -TD
* improve responsiveness with respect to SIGWINCH (report by Mark Zaharov) -TD
* improve check for MAX_URI_SIZE -TD
* improve check for UTF-8 character encoding in XML Text Declaration (report by
  Lennart Jablonka) -TD
* fix for decoding utf-8 in CDATA sections (patch by Hiltjo Posthuma)
* treat HTTP 308 permanently redirected the same as HTTP 301 permanently moved
  (Debian #1041686).
* formatting fixes for manpage (Debian #1037353).
* change defaults in configure script to use compression -TD
* modify HTChunkPutb2() to avoid passing a zero-size or null pointer to
  memcpy() -TD
* correct loop in fill_addrinfo() which adds sizes of struct addrinfo's found
  in getaddrinfo() call; the 2.8.8dev.15 change did not update the pointer to
  the struct addrinfo's (Redhat #2185402) -TD
* modify configure script to reduce implicit-function warnings -TD
* add viewport meta-tag to documentation/test files -TD
* update config.guess (2023-08-22), config.sub (2023-09-15)
* update ro.po from
    http://translationproject.org/latest/lynx

2023-01-08 (2.9.0dev.12)
* add a rewind() call before reading existing bookmark file opened for append
  with read/write, to ensure that the file-position is at the beginning of the
  file (report by Klatt Volkmar) -TD
* improve compiler-warnings in configure script checks -TD
* fix a few ifdef'ing problems (prompted by discussion with Klatt Volkmar) -TD
* fix spelling errors found with codespell (report by Jens Schleusener) -TD
* update eo.po from
    http://translationproject.org/latest/lynx

2022-12-28 (2.9.0dev.11)
* update ncurses/lynx homepage URLs to deprecate ftp -TD
* modify configure script to reduce implicit-function warnings (report by
  Florian Weimer) -TD
* update configure script to work around regression in grep 3.8 -TD
* add some consistency-checks to dtd_util to make it easier to use -TD
* improve formatting of bookmark file, e.g., to fix warnings by tidy -TD
* correct workaround for asan2 report of overlapping strcpy (report by KH) -TD
* amend fix for Debian #738121; URL-encoded "?" in HTFile.c corresponds to an
  actual "?" in a file path (report by TG) -TD
* before calling delscreen, delete the private working windows in case delwin
  invalidates those (Debian #1015756) -TD
* add presentation type for xhtml, related state information to better handle
  things such as "<script src=foo />" -Shlomi Fish, TD
* improve line-breaks and whitespace for Japanese characters -KH
  + permit line breaks after any Japanese character (enabled by
    --enable-wcwidth-support configuration and only called on last byte of
    multibyte UTF-8 sequence)
  + avoid adding spaces when joining lines after Japanese characters.
* add new "Minimal" user mode, to minimize on-screen help/status.
  Eliminates the URL on the bottom line, the forward/backward indicator in the
  upper left, and most status-line messages - Paul G Fox
* add PREVENT_KEYBOARD_WRAPAROUND symbol to userdefs.h
  Undefing this will allow cursor to wrap from bottom to/from top, when there's
  more content than a single page.  (It can already wrap when the content
  already fits on a page.) - Paul G Fox
* modify NSL-fork to call freeaddrinfo only if getaddrinfo returns successfully
  (patch by Rajeev V Pillai)
* add ".br", ".lz", ".lzip", and ".xz" to binary-suffixes list -TD
* changes for using brotli stream decompression -TD
* changes for working with SOCKS5 on Windows 10 -GV, -TD
* fix a few coverity and clang warnings -TD
* add a null-pointer check in StrAllocVsprintf() to work with existing SOCKS5
  configuration (report/patch by Gisle Vanem).
* change capitalization of "Content-type" sent to the remote server to work
  around "HeavyThing" server which does not follow RFC 2616 in treating field
  name as case insensitive (report/patch by Sylvain Bertrand)
* improved several configure macros:
  AM_WITH_NLS, CF_ADD_INCDIR, CF_BUILD_CC, CF_CHECK_EXTERN_DATA,
  CF_DISABLE_ECHO, CF_FIX_WARNINGS, CF_MAKEFLAGS, CF_MATH_LIB,
  CF_NCURSES_CONFIG, CF_NCURSES_LIBS, CF_PKG_CONFIG, CF_PROG_LINT,
  CF_SIZECHANGE, CF_TRY_XOPEN_SOURCE, CF_WITH_PATH, CF_XOPEN_SOURCE
* update config.guess (2022-08-01), config.sub (2022-08-01)

2021-10-24 (2.9.0dev.10)
* several fixes for problems found using asan2 with fuzzer-generated data
  (report/testcases by Kuang-che Wu) -TD
* re-signed copyright/copying files -TD
* update fr.po, id.po, nl.po, sv.po from
    http://translationproject.org/latest/lynx
* update config.sub (2021-08-14)

2021-08-07 (2.9.0dev.9)
* strip user/password from ssl_host in HTLoadHTTP, incorrectly passed as
  part of the server name indicator (Debian #991971) -TD
* update de.po eo.po et.po sv.po tr.po from
    http://translationproject.org/latest/lynx

2021-07-31 (2.9.0dev.8)
* regenerated lynx.pot, sent to translation project -TD
* align options in rpm/deb test-packages -TD
* change keyword-matching in Lynx's special URLs such as LYNXDOWNLOAD to use
  case-insensitive matching to work around idn2's conversion -TD
* build-fix for idn library vs idn2 (report by GV)

2021-07-26 (2.9.0dev.7)
* trim extra '/' in the Related-ABS case of HTParse introduced by revision of
  HTSimplify in 2.9.0dev.3 (Debian #989047) -TD
* modify formatting of gopher telnet and tn3270 selectors to skip a leading
  "/" which produced ill-formed URI (report by Dario Niederman) -TD
* modify SGML parsing to allow DEL and INS tags to work on a block-level rather
  than only inline (Debian #981351) -TD
* modify configure script to check for libidn2, add options menu setting for
  selecting old/new/compat behavior (prompted by patch by Robert Scheck, Redhat
  #1910971) -TD
  Further reading:
    https://nikmav.blogspot.com/2017/04/the-mess-with-internationalized-domain.html
    https://unicode.org/reports/tr46/
    https://datatracker.ietf.org/doc/html/rfc5890
    https://datatracker.ietf.org/doc/html/draft-iab-protocol-transitions-01
* add euc-kr charset support to the chinese-utf8 option, noting issue with
  the charset here:
    https://lists.w3.org/Archives/Public/ietf-charsets/2001AprJun/0030.html
    http://unicode.org/mail-arch/unicode-ml/y2002-m03/0641.html
    https://docs.microsoft.com/en-us/previous-versions/office/developer/office-2003/aa171439(v=office.11)
  i.e., "ks_c_5601-1987" -TD
* add chinese-utf8 optional feature for big5 charset -TD
* add chinese-utf8 optional feature for gb2312 charset -TD
* enable cjk and japanese-utf8 features by default, renaming the symbol
  EXP_JAPANESEUTF8_SUPPORT -> USE_JAPANESEUTF8_SUPPORT -TD
* fix warnings from scan-build -TD
* update configure script to work with _Noreturn changes in ncurses 20210320
  development snapshot -TD
* document the NO_TABLE_CENTER setting and explain the corresponding -center
  option in the manual page (report by Dan Jacobson) -TD
* add Latin 10 aka ISO-8859-16 (patch by emil%vajn.icu@localhost)
* modify configure script and makefiles to work around pmake "jobs"
  misfeature -TD
* configure-script improvements -TD
  + suppress check for mktemp if mkdtemp is found.
  + suppress check for sys_errlist[] if strerror is found.
  + various quoting/escaping fixes suggested by shellcheck.
  + improve configure script workaround for unwanted
    -Werror=implicit-function-declaration by clang
  + add "darwin" (macOS) to list of case-insensitive filesystems
* update config.guess (2021-05-24), config.sub (2021-04-30)

2020-09-05 (2.9.0dev.6)
* remove commented ENABLE_LYNXRC for SHOW_COLOR:ON, and SHOW_DOTFILES since
  those are normally saved to .lynxrc -TD
* modify makeuctb to allow builds with asan2 when the configure option
  --enable-find-leaks is used-TD
* add SOCKS5_PROXY environment variable, document the corresponding command
  line option as "-socks5_proxy" for consistency (Steffen Nurpmeso, TG)
* in configure script, filter out gcc -Werror options where they would interere
  with configure checks (report by Ryan Schmidt) -TD
* minor formatting fixes for manual page (Debian #961080)
* update autoconf macros, mostly changes to reduce unused-variable warnings
  in the compile-checks -TD
* add Windows-specific initialization in tidy_tls.c -GV
* update cs.po, eo.po from
    http://translationproject.org/latest/lynx

2020-02-27 (2.9.0dev.5)
* fix gcc9 warning about sprintf in HTFTP.c -TD
* workaround for MacOS clang wrapper c99 "-W" option, in configure script -TD
* use curses_exit() from ncurses 6.2 for leak-checking -TD
* amend workaround in 2.8.6dev.19 for "-notitle" option, fixing an off-by-one
  display (report by Keith Bowes) -TD
* add/adapt changes from Keith Bowes' github:
  * updated eo.po
  * add "-update_term_title" option
* add "-list_decoded" option to toggle feature of "-dump" option which decodes
  URL-encoded links in the list of "References", from change made in
  2.8.8dev.17, for Debian #398274 (prompted by patch by Hiltjo Posthuma) -TD
* modify HTAddXpand() to provide for the case when the command is a full
  pathname with embedded blanks, etc., versus an expansion of an environment
  variable containing parameters (report by Edward McGuire) -TD
* fix typos found with codespell -TD
* improved several configure macros, including a fix for clang
  compiler-warnings, and library order when linking -TD
* remove a ruler in the user's guide that was added in 2.8.3dev.10 as a
  conversion aid (report by Edward McGuire) -TD
* modify HTML DTD to allow <div> in <a> -KH
* add -socks5-proxy option (Steffen Nurpmeso)
* if --without-lss-file is used, the configured lss filename is empty and
  should be ignored (report by Cory Krell) -TD
* extend table/limit in parsdate.y to 2200 (report by Ian Collier) -TD
* update eo.po, fr.po, nl.po from
    http://translationproject.org/latest/lynx
* update config.guess (2019-12-21), config.sub (2019-09-11)

2019-08-26 (2.9.0dev.4)
* revert change to port-handling in 2.9.0dev.3 changes for gophermap (report by
  Martijn Dekker).
* add ro.po, update de.po, et.po, tr.po, vi.po from
    http://translationproject.org/latest/lynx

2019-08-25 (2.9.0dev.3)
* modify gophermap menu-parsing to handle "h" HTML selectors similarly to the
  command-line parsing, which avoids hex-encoding the parameter delimiters
  "?", "=", ";" as well as "#" (report by Tobias Girstmair) -TD
* make redirection-limit configurable, defaulting to 10 -TD
* remove alert when relative base href is seen, since HTML5 allows for this
  (report by Sylvain Bertrand) -TD
* modify lynx.iss to use statically-linked bzip2 and gzip programs, and to
  eliminate a spurious warning when attempting to remove an optional DLL -TD
* fix a few coverity warnings -TD
* revise HTSimplify to eliminate a redundant "." segment at the beginning of a
  path, referring to RFC 3986 5.2.4 (report by Alejandro Lieber) -TD

2019-07-31 (2.9.0dev.2)
* improved several configure macros, including workaround for non-POSIX
  issue with BSDs.
* fix typo in iso15_uni.tbl (Robert Bell)
* update de.po from
    http://translationproject.org/latest/lynx
* update config.guess (2019-06-10), config.sub (2019-06-30)

2019-01-27 (2.9.0dev.1)
* add/adapt changes from Keith Bowes' github:
  * updated eo.po
  * modify GridText to make page/line percentages translatable
  + modify HTInit.c to make it possible to view the source of XHTML documents
  + modify def7_uni.tbl adding ch, gh, hh, jh, sh to replace some single-chars
* implement features of RFC 6265 (prompted by discussion on mailing list) -TD
  * recognize but ignore "HttpOnly" attribute
  * add COOKIE_VERSION to lynx.cfg, which can be used to specify older cookie
    RFC; provide special cases for RFCs 2109, 2965 and 6265.
  * add selection for cookie version in options menu.
* add dummy "check" rule to makefile.in to help with testing Arch package -TD
* modify tidy_tls.c to work with TLS 1.3 when built with gnutls 3.6.5 or later
  (patch by Andreas Metzler).
* add to experimental Japanese UTF-8 feature -KH
  + fix JIS X 0201 Katakana conversion from Shift_JIS/EUC-JP to UTF-8.
    http://www1.interq.or.jp/~deton/lynx-sjisjisx0201/
  + add conversion from Japanese ISO-2022-JP html to UTF-8 display_charset.
    http://www1.interq.or.jp/~deton/lynx-jis2utf8/
* add configure option for experimental feature "--enable-wcwidth-support" -TD
* use/adapt wcwidth from xterm -TD
* add support for displaying double-cell characters -KH
  Screen capture:
    http://www1.interq.or.jp/~deton/lynx-wcwidth/
  Known issues:
  * Highlight is incorrect on selecting wrapped long wide-char link text.
  * Whereis highlight position is incorrect after wide-char text.
  * Does not support treating double-width for East Asian Ambiguous Width
    characters (e.g., xterm -cjk_width).
    TODO:
      * Use mk_wcwidth_cjk() in http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c
      * Add cjk_width option to lynx
* modify generated HTML when processing -source option for a Gopher menu to
  convert literal "<", "&", and ">" to HTML named entities (report/testcase by
  Zachary Lee Andrews) -TD
* build-fix when persistent cookies are disabled (report by Juan Manuel
  Guerrero) -TD
* memory-leak and dead-code fixes from static analysis (patch by Kamil Dudka).
* restore whitespace in info-page omitted in 2.8.9dev.17, useful for screen
  readers (report by Dan Dunfee) -Chuck Martin
* improve error-checks in parsdate.y (prompted by patch by TH) -TD
* compiler-warning fixes for gcc8 and VS2015 -TD
* fix overlooked "2.8.9" in README -Larry Hynes


To generate a diff of this commit:
cvs rdiff -u -r1.149 -r1.150 pkgsrc/www/lynx/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/www/lynx/PLIST
cvs rdiff -u -r1.42 -r1.43 pkgsrc/www/lynx/distinfo
cvs rdiff -u -r1.4 -r0 \
    pkgsrc/www/lynx/patches/patch-WWW_Library_Implementation_HTTP.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/lynx/Makefile
diff -u pkgsrc/www/lynx/Makefile:1.149 pkgsrc/www/lynx/Makefile:1.150
--- pkgsrc/www/lynx/Makefile:1.149      Wed May 29 16:34:53 2024
+++ pkgsrc/www/lynx/Makefile    Sat Jun  8 20:31:23 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.149 2024/05/29 16:34:53 adam Exp $
+# $NetBSD: Makefile,v 1.150 2024/06/08 20:31:23 nikita Exp $
 
-DISTNAME=      lynx2.8.9rel.1
+DISTNAME=      lynx2.9.2
 PKGNAME=       ${DISTNAME:S/lynx/lynx-/:S/rel//}
-PKGREVISION=   13
 CATEGORIES=    www
 MASTER_SITES=  https://invisible-mirror.net/archives/lynx/tarballs/
 EXTRACT_SUFX=  .tar.bz2
@@ -31,6 +30,7 @@ CONF_FILES+=          share/examples/lynx/lynx.l
 
 # But no dependency on Perl.
 REPLACE_PERL+=                 samples/mailto-form.pl
+REPLACE_PERL+=                 samples/mhtml-tool
 CHECK_INTERPRETER_SKIP+=       share/lynx/lynx_doc/samples/mailto-form.pl
 CHECK_WRKREF_SKIP+=            bin/lynx
 

Index: pkgsrc/www/lynx/PLIST
diff -u pkgsrc/www/lynx/PLIST:1.15 pkgsrc/www/lynx/PLIST:1.16
--- pkgsrc/www/lynx/PLIST:1.15  Wed Mar 12 10:13:15 2014
+++ pkgsrc/www/lynx/PLIST       Sat Jun  8 20:31:23 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.15 2014/03/12 10:13:15 wiz Exp $
+@comment $NetBSD: PLIST,v 1.16 2024/06/08 20:31:23 nikita Exp $
 bin/lynx
 man/man1/lynx.1
 share/examples/lynx/lynx.cfg
@@ -18,6 +18,7 @@ share/locale/it/LC_MESSAGES/lynx.mo
 share/locale/ja/LC_MESSAGES/lynx.mo
 share/locale/nl/LC_MESSAGES/lynx.mo
 share/locale/pt_BR/LC_MESSAGES/lynx.mo
+share/locale/ro/LC_MESSAGES/lynx.mo
 share/locale/ru/LC_MESSAGES/lynx.mo
 share/locale/sl/LC_MESSAGES/lynx.mo
 share/locale/sv/LC_MESSAGES/lynx.mo
@@ -80,6 +81,7 @@ share/lynx/lynx_doc/samples/lynx_bookmar
 share/lynx/lynx_doc/samples/lynxdump
 share/lynx/lynx_doc/samples/mailcap
 share/lynx/lynx_doc/samples/mailto-form.pl
+share/lynx/lynx_doc/samples/mhtml-tool
 share/lynx/lynx_doc/samples/midnight.lss
 share/lynx/lynx_doc/samples/mild-colors.lss
 share/lynx/lynx_doc/samples/mime.types
@@ -96,6 +98,7 @@ share/lynx/lynx_doc/test/c1.html
 share/lynx/lynx_doc/test/circle.html
 share/lynx/lynx_doc/test/cp-1252.html
 share/lynx/lynx_doc/test/cp-1252a.html
+share/lynx/lynx_doc/test/idna-tr46.html
 share/lynx/lynx_doc/test/image.jpg
 share/lynx/lynx_doc/test/iso-8859-1.html
 share/lynx/lynx_doc/test/iso-8859-1a.html

Index: pkgsrc/www/lynx/distinfo
diff -u pkgsrc/www/lynx/distinfo:1.42 pkgsrc/www/lynx/distinfo:1.43
--- pkgsrc/www/lynx/distinfo:1.42       Tue Oct 26 11:29:39 2021
+++ pkgsrc/www/lynx/distinfo    Sat Jun  8 20:31:23 2024
@@ -1,8 +1,7 @@
-$NetBSD: distinfo,v 1.42 2021/10/26 11:29:39 nia Exp $
+$NetBSD: distinfo,v 1.43 2024/06/08 20:31:23 nikita Exp $
 
-BLAKE2s (lynx2.8.9rel.1.tar.bz2) = d5430f0c4a27406e7617f629a00f470a5870ff3eb01723416160c2abb1522fe1
-SHA512 (lynx2.8.9rel.1.tar.bz2) = 61edbe082684fcbd91bdbf4f4d27c3baf92358811aaffc2f8af46adf23ca7b48aede1520fc5f2a8fc974a2f4bbf4e57e7e6027a187bfc6101e56878c98178e6d
-Size (lynx2.8.9rel.1.tar.bz2) = 2689171 bytes
-SHA1 (patch-WWW_Library_Implementation_HTTP.c) = 402301685b2cd0a3faa7efab8a9ec69294bef409
+BLAKE2s (lynx2.9.2.tar.bz2) = 1365a0fdc942144abd262abeceffb0907930550b3f002ea72f7f82d5cc77c39f
+SHA512 (lynx2.9.2.tar.bz2) = bb9ed23a5f8664ca8bccd95cc55683849aa707f601e209d84e0acaed151b78cd772316f527881022ff120049c4fc586c05d579f9d616a2b108d9ddfaa5b2159d
+Size (lynx2.9.2.tar.bz2) = 2783769 bytes
 SHA1 (patch-aa) = 85e76c4b2708e01dd1abdc1af764a067bd83bcb9
 SHA1 (patch-ab) = 26fab3bd426a76df530e6780eefe36464059bc6a



Home | Main Index | Thread Index | Old Index