Commit graph

144 commits

Author SHA1 Message Date
asau
5eae6a18a3 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-28 06:30:00 +00:00
wiz
f98e8b0585 Add inet6 to default suggested options. It's 2012. 2012-06-12 15:45:54 +00:00
wiz
2bd71bac65 Update to 2.8.7rel.2 as 2.8.7nb4.
Same distfile name, different contents.

Changes:
2010-06-21 (2.8.7rel.2)
* add limit-check for too-long URIs in href's (RedHat #605286) -TD
* fix a few places still referring to "2-8-6" -TD
2011-11-30 14:02:59 +00:00
obache
1d9df3258a recursive bump from gettext-lib shlib bump. 2011-04-22 13:41:54 +00:00
obache
d68eeace27 Fixes Bus error with --restrictions option. PR#43340.
(sent and confirmed by upstream).
2010-05-26 01:32:33 +00:00
drochner
d50f8c2330 don't insist in USE_NCURSES in the ncursesw case -- NetBSD's should
be good enough
(this file needs more cleanup, the color stuff looks outdated)
2010-02-25 18:50:21 +00:00
wiz
579796a3e5 Recursive PKGREVISION bump for jpeg update to 8. 2010-01-17 12:02:03 +00:00
wiz
8f1edebbe5 Update to 2.8.7:
New features (some are compile-time options):

    * add session save/restore feature
	  o bind ^X to toggle view of page showing session information
	  o add binding for ^U to previous-document (outside of
	  line-editing).
	  o documented command-line options and configuration data
	  for this feature.
	  o document -child_relaxed option in Lynx users's guide.
    * add -passive-ftp option.
    * add -child_relaxed option.
    * add "read_timeout" to lynx.cfg, and -read_timeout option to
    command-line
    * add -show_cfg option.
    * add LYNX_HELPFILE environment variable to allow override of
    location of the help-file
    * add NO_PAUSE setting to lynx.cfg, .lynxrc and Options menu
    * implement a LONG_LIST equivalent for ftp, configurable as
    FTP_FORMAT
    * add XWINDOWS / NON_XWINDOWS environment-variable field to
    DOWNLOAD, etc., in lynx.cfg to specify whether a downloader
    (printer, etc) is enabled when the X display variable is set
    * configure script improvements
	  o add --with-mime-libdir option to set MIME_LIBDIR in
	  userdefs.h file
	  o add --with-destdir configure option to set a default
	  value for the DESTDIR variable in makefiles, and modified
	  makefiles to ensure that setting DESTDIR in the top-level
	  makefile propagates to lower levels
	  o add --enable-local-docs option to link doc-directory
	  from help-page
	  o add --enable-ascii-ctypes option to enable EXP_ASCII_CTYPES

Other enhancements:

    * improve SSL support:
	  o improve X.509 certificate validation This is tested
	  for OpenSSL, ifdef'd to not break gnutls. Changes:
		+ peer certificate is cached, no need to call
		SSL_get_peer_certificate() twice
		+ support foo.domain:port and [ip.add.re.ss] and
		[ip.add.re.ss]:port and [i:p:v:6:ad:dr:es:s] and
		[i:p:v:6:ad:dr:es:s]:port
		+ add support for checking X.509v3 SubjectAltName
		extensions (of type DNS - tested - and IP - untested)
		when the X.509 commonName check fails.
		+ when displaying a list of failed CNs, change
		format from foo:bar:baz to
		CN{foo}:CN{bar}:CN{baz}:SAN{DNS=foo}:SAN{IP=1.2.3.4}
		so that we know where what comes from (in "Your
		recent statusline messages")
		+ if the peer certificate can *NOT* be verified,
		output a message to the log as well
		+ fix a possible use of an uninitialised value
		ssl_all_cns
		+ output certificate issuer to the logs as well
		(so that you can, before entering your online
		banking PIN, see if the certificate has been issued
		not only _to_ your bank but also _from_ a place
		you trust, in case /etc/ssl/certs/ contains a lot
		of Root CA certs)
	  o add support for the X.509 extension subjectAltName
	  using GNUTLS.
	  o log SSL/TLS (HTTPS connection) X.509 certificate issuer
	  information into the "recent statusline messages"
	  (accessible via the backspace key)
	  o add TNS SNI support for the OpenSSL configuration
	  o modify CF_SSL configure macro to check for -ldl needed
	  for recent OpenSSL versions
	  o modify CF_SSL configure macro to build with MSYS for
	  MinGW configuration
	  o extend configure macros CF_SSL and CF_GNUTLS to check
	  for pkg-config, using that for the default if the
	  corresponding openssl or gnutls packages are installed.
	  o add configure --with-nss-compat option, for building
	  with NSS library's OpenSSL-compatible interface
	  o add SSL_CERT_FILE to lynx.cfg
	  o rewrite strcasecomp_asterisk() to support wildcards as
	  in RFC 2818
	  o add --enable-gnutls-compat configure option and associated
	  files to configure with GNU TLS without its gnutls-openssl
	  library, whose newer versions are available only under
	  a restrictive license.
	  o fix src/tidy_tls.c X509_get_issuer_name to actually
	  take the issuer DN of the present certificate and not
	  hope that it is the same as taking the subject DN of the
	  "next" certificate which may or may not exist.
    * improve HTML interpretation:
	  o update Lynx's tables of HTML attributes to cover (except
	  for events) the keywords from HTML 4.01
	  o use RFC-822 encoding for filenames passed via file-upload
	  forms.
	  o provide navigation to script-buttons, to make them more
	  visible, showing their name
	  o add "Bad HTML messages" to Options menu, letting the
	  user disable the warning message, write the detailed
	  messages to the LYNXMESSAGES: status buffer.
	  o remove "Bad HTML" warning for buttons outside a form,
	  since those can be inline, according to the HTML 4 DTD
	  o correct check for default type of HTML BUTTON, which
	  is "submit". The code treated this as "button".
	  o implement "readonly" attribute for TEXTAREA and TEXT
	  fields
	  o accommodate (in)compatibility "feature" in HTML5 draft
	  which replaces ISO-8859-1 with Windows-1252, as indicated
	  here.
	  o add support for HTML5 rel=author in link.
	  o modify SGML_write() to check for UCS-2 BOMs, to provide
	  support for UCS-2 pages.
	  o modify SGML_write() to check for UTF-8 BOM, using that
	  as a hint to set the default document charset to UTF-8.
	  o parse xml processing-instruction to turn on UTF-8
	  decoding, as well as disable upper/lower case transforming
	  in source view.
	  o parse doctype for xhtml, to tell when empty tags such
	  as "<textarea />" can be discarded
	  o translate named entities, etc., for "content" field of
	  refresh-URL.
	  o add switch -xhtml-parsing and lynx.cfg XHTML_PARSING
	  setting to control whether the extensions for XHTML 1.0
	  are used.
	  o modify Lynx's DTD information to allow it to display
	  form-related tags that are inline, even without being in
	  a form as indicated in

		    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd


	    for %inline.forms and %misc.inline.
    * improvements to character sets and display:
	  o improve drawing of menus for multibyte characters by
	  changing the way the number of fill-characters is computed
	  in LYpaddstr
	  o fix some uses of gettext in options menu and info page
	  where a translated string might contain angle-brackets
	  or ampersand
	  o modify popup for externals added in 2.8.4dev.20 to
	  number the entries if keypad mode is set to one of the
	  numbered forms
	  o ie multibyte editing of text-fields.
    * improvements to color-style:
	  o bug-fixes only
    * improve interaction with user:
	  o remove check for -dump option from HTHandleAuthInfo(),
	  allowing Lynx to -dump or -source NNTP urls
	  o change the phase during which "-help" option is processed,
	  to allow it to reflect the configured values of the options
	  in the help-message
	  o check if there is piped-in data when starting without
	  "-" or "-stdin" options, warn about the ignored input
	  data in that case.
	  o add ncurses scroll-wheel support, which requires the
	  extended-mouse configure option of ncurses.
	  o modify initial active link in download-page to be the
	  first download action rather than the "help" link whided
	  in Novice mode.
	  o make the size of LYNXMESSAGES configurable in lynx.cfg
	  with STATUS_BUFFER_SIZE
    * improve interaction with other programs:
	  o discard anchor's post_data field in HTLoadDocument()
	  if Lynx is about to reload a do. That would happen if
	  the result of the form includes a link back to the form.
	  Removing the data causes Lynx to prompt the user, e.g.,

		    Resubmit POST content to
		    http://localhost/cgi-bin/lynxtest.pl ? (y/n)


	    to offer the user the choice between revisiting form
	    or re-POST'ing the data that was on the form
	  o pass a newline after the start of PRE-section in
	  HTGopher.c to force the first newline between records to
	  be seen and cause the lines to split
	  o add POSITIONAL_EDITOR setting to configure editors
	  which accept a "+line" parameter
	  o modify external editing of TEXTAREA to not do
	  tab-conversion.
	  o modify behavior of "-nonumbers" option for -dump so it
	  can be combined with -listonly to obtain a list of the
	  URLs without reference numbers.
	  o implement "chunked" transfer-encoding to work with
	  servers that ignore the version number in HTTP get's
	  o add an Options menu checkbox to tell if Lynx should
	  send a user-agent string. Unless the useragent restriction
	  is set, the default for this checkbox is off, so that
	  Lynx will not send the string. The corresponding setting,
	  send_useragent, may be saved to ~/.lynxrc, but normally
	  is not.
	  o change default for configure --enable-ascii-ctypes to
	  true.
	  o modify exit code when doing a "-dump" to exit with
	  error if the server returned an error status for the
	  page.
    * improve cookie support:
	  o modify cookie-writing to not write if no cookies were
	  read from the file and none are available.
	  o adapt/extend parsdate.y from tin to improve parsing of
	  cookie expiration times.
    * improvements to debug/traces:
	  o change initialization of trace file, handing this during
	  the first part of argument parsing along with -help and
	  -version, to show steps done for initialization of
	  presentors, etc
    * improvements to scripting/logging:
          o bug-fixes only
    * other improvements:
	  o build/install "en" po file so that GNU gettext LANGUAGE
	  environment variable can find the corresponding English
	  message file.
	  o if iconv_open() using transliteration fails, retry
	  without the transliteration feature.
	  o improve change for UCSetBoxChars() from 2.8.6dev.16
	  for EXP_CHARTRANS_AUTOSWITCH which assumed that the
	  line-drawing character set was always different from the
	  display character set. If both are US_ASCII for example,
	  ASCII lines would be drawn, which is not good
	  o modify scanning of floats from lynx.cfg to allow Lynx
	  to read POSIX values in non-POSIX locales
	  o replace BROKEN_PROFTPD and BROKEN_WU_FTPD logic with
	  configurable list of strings in lynx.cfg, i.e.,
	  BROKEN_FTP_RETR and BROKEN_FTP_EPSV, and add "spftp/" to
	  the predefined values for the former.
	  o modify to handle a special case where the content-type
	  is given as one of the compressed types, to check if the
	  address (after stripping the file suffix for that
	  compression) has a suffix that lynx could present For
	  example:

            		http://foo/bar.html.gz


	    would display the uncompressed "bar.html" rather than
	    offering to download the file. This also allows one to
	    add SUFFIX commands to lynx.cfg to display the
	    corresponding plain files. For example:

            		SUFFIX:CHANGES.*:text/plain:8bit
            		SUFFIX:CHANGES:text/plain:8bit


            for

            		http://foo/CHANGES.tmp.gz
            		http://foo/CHANGES.gz


          o fix ipv6 literal command-line parsing.
          o setup locale before writing version-message.

New/improved sample files:

    * add sample scripts for configuring MinGW version using Cygwin.

New ports:

    * none
      (it seems to run everywhere, but there are a few possibilities)

Improvements to existing ports:

    * UNIX:
	  o add definition for _FILE_OFFSET_BITS in CF_LARGEFILE,
	  needed for Solaris 64-bit compiles.
	  o modify UCdomap.c to work with Solaris iconv and handle
	  additional encodings:
		+ if "TRANSLIT" feature (an extension of glibc)
		does not succeed, retry the call to iconv_open
		without "TRANSLIT"
		+ add check for any MIME name beginning "iso8859",
		mapping to "iso-8859"
                + recognize "eucjp" MIME name as alias for "euc-jp"
                + recognize "pck" MIME name as alias for "shift_jis"
                + recognize "ansi-1251" MIME name as alias for "windows-1251"
          o modify parsdate.y to convert between EBCDIC/ASCII to work on z/OS
    * Linux:
          o bug-fixes only

Improvements for maintainability and testing:

    * modify definitions in LYStructs.h for union to cast to a
    void* rather than a long, to help with 64-bit ports
    * fix some mismatched BOOL vs BOOLEAN from compiler warnings
    due to dev.13 change to LYStructs.h
    * change a few options such as --enable-locale-charset option
    to non-experimental
    * free leaks of LYLeaks.c, to make it simpler to check it with
    a second tool such as valgrind.
    * use off_t rather than long for representing file sizes, e.g.,
    when used to print progress messages
    * use dtd_util to replace most of HTMLDTD.h and HTMLDTD.c with
    source generated from the existing tables in those files
    * rename variable defined by CF_PATHSP to PATH_SEPARATOR, use
    this consistently to ease use in later autoconf versions

As well as security-related changes:

    * modify prompt in LYLoadCGI() from 2.8.6dev.15 to always prompt
    user (from FEDORA-2008-9597), and modify compiled-in configuration
    default for consistency with other lynx.cfg settings to require
    that lynx.cfg be set to permit use of lynxcgi scripts.
    * modify logic for reading PERSONAL_EXTENSION_MAP and
    PERSONAL_MAILCAP to ensure that they are files that are controlled
    only by the user. The default values for these allow lynx to
    read configuration information from the user's current directory
    at lynx's startup.
    * ensure that PERSONAL_EXTENSION_MAP and PERSONAL_MAILCAP are
    absolute pathnames, performing tilde expansion as needed.
    Pathnames that are not given in absolute form will be sought
    under the user's home directory as if they began with "~/".
    * ensure that the configured values for GLOBAL_EXTENSION_MAP
    and GLOBAL_MAILCAP are absolute pathnames.

And finally:

    * A lot of bug fixes
    * A lot of documentation changes.
    * A lot of dead code removed
2009-08-09 08:20:27 +00:00
joerg
e031855e4a Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 22:00:14 +00:00
zafer
da419db8db update mirrors. remove non-working ones. 2009-05-01 15:16:12 +00:00
obache
b9ad416985 Add a note that know security issue is CVE-2005-2929, CVE-2008-4690. 2008-12-04 13:13:48 +00:00
wiz
e8c9f13f4a Install lynx.lss manually for slang option case.
(I guess it is probably not needed in this case, but the changes
to ignore it for the slang option alone are much more effort).

Addresses PR 38284 by Daniel Horecki.
2008-06-22 15:55:46 +00:00
tnn
ad6ceadd25 Per the process outlined in revbump(1), perform a recursive revbump
on packages that are affected by the switch from the openssl 0.9.7
branch to the 0.9.8 branch. ok jlam@
2008-01-18 05:06:18 +00:00
wiz
b524dc18ff Reset maintainer on his request. 2007-12-12 20:42:28 +00:00
rillig
550849225e Fixed path to unzip. PKGREVISION++ 2007-09-08 18:22:38 +00:00
joerg
65ab286889 s/CHECK_FILES_SKIP/CHECK_INTERPRETER_SKIP/ as that is intended here. 2007-07-18 20:25:27 +00:00
gdt
4e16eed499 add
# problem with WWW/Library/Implementation
MAKE_JOBS_SAFE=		no
2007-05-17 17:26:31 +00:00
wiz
dbad3c3495 Update to 2.8.6rel5:
2007-05-09 (2.8.6rel.5 fix from 2.8.7dev.5)
* correct loop-limit in print_crawl_to_fd(), which broke
  "lynx -crawl -dump" from 2.8.6dev.9 changes (Mandriva #29785) -TD
2007-05-11 22:22:40 +00:00
tron
af3d1b003f Restore code to preprocess ".po" files to make this build with older
"gettext" versions (e.g. under NetBSD-i386 3.1_STABLE).
2007-03-10 14:10:39 +00:00
wiz
90a4a72648 Update to 2.8.6:
New features (some are compile-time options):
     * INFO and Options pages are laid out properly for multibyte locales,
       accounting for character widths.
     * change configure option default for --enable-justify-elts to true.
       Change default for JUSTIFY to "false".
     * add PREFERRED_ENCODING to lynx.cfg, along with an options-menu
       selection for this, to set "Accept-Encoding:" string
     * add PREFERRED_MEDIA_TYPES to lynx.cfg, corresponding to the option for
       HTFilterPresentations(). A minimal set of media types is used by
       default, though the old behavior can be selected
     * add -nonumbers option, which modifies the output of -dump to suppress
       the link-numbering
     * add -listonly option, which modifies the output of -dump to show only
       the list of links
     * add -syslog-urls option and lynx.cfg settings (SYSLOG_TEXT,
       SYSLOG_REQUESTED_URLS) to allow syslog'ing of URLs to be optional.
       This cannot be set from the options menu
     * the -version option shows the version of ncurses, curses, etc., from
       runtime data when available.
     * add -notitle option to suppress title line and following blank line to
       maximize screen use for small displays
     * add -nomargins option to suppress left/right margins to maximize
       screen use for small displays
     * add NO_MARGINS and NO_TITLE to lynx.cfg
     * add NESTED_TABLES setting to lynx.cfg to allow site override of the
       built-in default
     * add DEFAULT_COLORS item to lynx.cfg to allow disabling the default
       colors feature at runtime, allowing better matching of old color
       scheme via a script
     * add -stderr option to write error messages when doing a -dump -or
       -source. Normally these are written to the status line but that does
       not exist when dumping to standard output
     * add configure --enable-largefile / --disable-largefile options.
     * add --enable-widec configure option to allow building lynx without
       wide character support using ncursesw, to accommodate users with older
       releases of ncurses
   Other enhancements:
     * improve SSL support:
          * updated README.sslcerts
          * update CF_GNUTLS macro to look for -lgnutls-openssl as well as
            the older -lgnutls-extra library
          * modify HTLoadHTTP() to interpret leading asterisks in common name
            fields as wildcards
          * suppress OpenSSL URL from version message if it happens to be
            built using GNU TLS (or other libraries which happen to define
            symbols to pretend they are OpenSSL).
     * improve HTML interpretation:
          * fix function, which was checking for the absence only of some
            nonstandard encodings (8bit, 7bit, binary) rather than for the
            presence of the encodings as specified in RFC 2068 (gzip,
            compress, etc). This makes lynx able to view a site which puts
            the charset as the Content-Type
          * add "deflate" to the encoding types which lynx implements. This
            consists of several parts
               * adapted logic from w3m's inflate.c to construct an internal
                 "deflate" decompressor. Tested this with

                         http://carsten.codimi.de/gzip.yaws/

               * add "deflate" to the options menu.
               * modify logic that builds "Accept-Encoding" value to omit
                 encodings which have no external decompressor associated.
                 The effect of this change is to allow lynx to behave as it
                 did before adding the (possibly incomplete) "inflate"
                 support.
               * add INFLATE_PATH to lynx.cfg, to optionally specify an
                 external program which can be used to decompress deflated
                 files. For testing, a shell script using w3m's utility,
                 e.g., /usr/lib/w3m/inflate, sufficed. NOTE: As currently
                 implemented, lynx requires the external decompression
                 programs to be specified even if it can decompress using
                 library calls.
               * use ".zz" for suffix of downloaded (but not inflated)
                 deflated files, mapped to application/deflate and
                 application/x-deflate.
          * modify source-view toggle to keep the current anchor visible.
            Toggling source view may change the line number on which the
            anchor is found, requiring some adjustment. This feature is
            implemented only for source cached pages
          * fixes to source-view of ftp:// and file:// URLs, i.e., eliminate
            redundant PRE's, add DOCTYPE and meta tags
          * correct parsing of embedded URLs which have parameters but no
            path, e.g., base

                         http://wj55.org/Minutes.php

            and embedded

                         ?date_meeting=2004-08-31

          * add presentation type for application/xml and text/xml mime types
            as per

                         http://www.w3.org/TR/xhtml-media-types/
                         http://www.w3.org/TR/2002/NOTE-xhtml-media-types-20020801

            which states that they may be used, though application/xhtml+xml
            is the preferred media type
          * add presentation type for application/xhtml+xml mime type as per
            RFC 3236
          * add presentation for text/css, to allow browsing ".css" files
          * force a newline in HTML_end_element() after a </pre>, which
            causes lines containing only whitespace before the </pre> to
            display a new line, rather than putting that whitespace before
            text that follows the </pre>
          * following a link consisting of a "#" fragment will move the
            cursor to the link containing the target rather than simply
            ensuring that it is visible
     * improvements to character sets and display:
          * new message files for localization: rw.po, vi.po
          * updated message files for localization: cs.po, da.po, de.po,
            et.po, fr.po, hu.po, nl.po, pt_BR.po, sv.po, tr.po
          * use puts() rather than printf() in some messages to avoid chance
            of "%" in the translation
          * modify HTConfirmCookie() to ensure the translator's note is
            copied into the lynx.pot file, by adding a gettext("Y/N/A/V")
            call after the comment
          * improve layout of options-menu and info-page for multibyte
            character sets by computing the extent of the labels. This works
            only for wide-character curses.
          * add ISO-8859-13 and ISO-8859-14 chrtrans tables, revise
            ISO-8859-10 based on

                         http://czyborra.com/charsets/iso8859.html

            Change display name for ISO-8859-10 to indicate the region
          * improve checking if the current character set does not match the
            character set inferred from the locale. This reduces the number
            of cases where line-drawing in the options menu does not work
          * improve recovery when a charset is found that cannot be
            translated. Before this change, the charset was not stripped from
            the format string, e.g.,

                         text/html; charset=big5

            and since there would be no match for the format, lynx would
            offer to simply download the page (if interactive), or refuse to
            format (for dumps). Although the content of the page is unusable,
            the user can still navigate the page using the links which may be
            there
          * modify logic for locale_charset configuration variable so it is
            not modified simply by saving the .lynxrc while in running in a
            non-locale configuration. That does not alter the display charset
            used by lynx
          * improve workaround for line-drawing characters with
            font-switching by checking if the loaded font has line-drawing
            characters in the same positions as the terminal description,
            rather than simply ignoring line-drawing when the codeset differs
          * workaround for codepage support on OS/2 by changing the effect of
            unctrl(). Add/use new preferred function use_legacy_coding() to
            ncurses which provides the same effect with the wide-character
            ncursesw
          * improve def7_uni.tbl substitutions for the symbols beginning at
            U+2600
          * add experimental option --enable-japanese-utf8 for using libiconv
            for Japanese and UTF-8
     * improvements to color-style:
          * change configure script --enable-color-style so it is enabled by
            default
          * add COLOR_STYLE setting to lynx.cfg
          * change default initialization of color-style code when no lss
            file is given to simulate the non-color-style code. There are
            some visual differences, e.g., links that contain a mixture of
            styles will display with mixed colors, but overall the visual
            effect matches the non-color-style code well enough to change the
            default configuration. If an empty string is given for the lss
            filename, this is treated as an empty style file, and lynx will
            not use its built-in default color style. To make the behavior
            easier to diagnose, lynx will now exit with an error if it cannot
            find the lss file.
     * improve interaction with user:
          * highlight the target and pause for 20 milliseconds when selecting
            a link with the mouse
          * modify behavior when user attempts to toggle a radiobutton off,
            to make the message that one radio button must be selected only
            in novice mode
          * modify column limits, allowing text to be written to the last
            column on the screen. This allows users to view text which is
            formatted for 80 columns without the last character of each line
            wrapping to the next line
          * prompt user, displaying the command that would be executed, to
            confirm that it should be. This makes it easier to notice when a
            local program would be run by activating a lynxcgi link. This is
            not done in advanced mode, since the URL is already visible in
            the status line
          * modify HTSaveAndExecute() to check first for result from
            HTFileSuffix() before choosing between BIN_SUFFIX and
            HTML_SUFFIX. This allows the PDF viewer on OS X to get the proper
            suffix (.pdf) rather than .bin
          * add check for failure to write to disk, e.g., on disk full, and
            report error condition via HTAlert()
          * modify suggested_filename() to strip bzip2's ".bz2" suffixes as
            well as ".zz" suffixes
          * modify INFO-page to list the rendered size in bytes if the
            Content-Length is not available
          * print the contents of image maps, if any, at the end of a dump
          * command-line options that toggle or set a boolean now accept
            "true" and "false" strings.
     * improve interaction with other programs:
          * strip special characters such as '%' from parameters passed to
            external programs for EXTERNAL mechanism on Windows platform.
            This is ifdef'd with WIN_EX
     * improve cookie support:
          * modify HTConfirmCookie() and statusline() to allow cookie prompt
            message in Japanese to not be truncated when using wide-curses
          * make the maximum number of cookies configurable in lynx.cfg,
            added MAX_COOKIES_DOMAIN, MAX_COOKIES_GLOBAL and
            MAX_COOKIES_BUFFER
     * improvements to debug/traces:
          * use symbol USE_VERTRACE in HTUtils.h to allow makefiles that do
            not use the configure script to turn on the equivalent --enable
            vertrace feature
     * improvements to scripting/logging:
          * make "lynx -version" work in the absence of ".cfg" or ".lss"
            files
          * modify print_wwwfile_to_fd() and print_crawl_to_fd() to ensure
            that no trailing blanks are written in a -dump, etc.
          * correct parsing of "key 0xNN" lines in command-scripts, had
            omitted a "!" to invert a check
          * modify initialization so that

                         cat options.txt | lynx -

            will allow interactive use
     * other improvements:
          * modify logic for -dump so it can dump all pages listed on the
            command line
          * lynx accepts multiple URLs on the command line; all are added to
            G)oto history. Documented this in manpage
          * add (ifdef'd with EXP_HTTP_HEADERS) code to display the full text
            of the HTTP headers in the INFO page.
          * modify treatment of symbolic links for ftp-URLs to show the link
            target, as with the local directory editor
          * correct sort-order of local directory listing, using the target
            of a symbolic link to determine whether it is grouped with files
            or directories
          * modified mailcap command and testcommand substitutions to provide
            for running the testcommand's after program initialization
          * read user's ".newsauth" file for news-server authentication
            information
          * escape "From " when it appears in a page which is mailed, to
            avoid confusing mail clients
          * add "Anonymous FTP Password" to Options menu, to allow user to
            override use of personal email address as the anonymous ftp
            password
   New/improved sample files:
     * add script samples/oldlynx, which gives the non-color-style scheme
       using an executable built for color-style
     * add scripts/tbl2html.pl, which can be used to generate test pages for
       the charsets from src/chrtrans/*.tbl
     * add test/special_urls.html
     * modify ".lss" files to work equally well on terminals setup with white
       text on black background, or the reverse. This also required fixing a
       few places in LYsubwindow() and curses_w_style() to make window
       backgrounds use the colors given in the ".lss" default- and
       normal-colors lines
     * make ".lss" example files somewhat readable by modifying parser to
       remove blanks from the color description lines and modifying the
       example files to use this feature
   New ports:
     * none
       (it seems to run everywhere, but there are a few possibilities)
   Improvements to existing ports:
     * UNIX:
          * improve configure script macro CF_XOPEN_SOURCE, ensuring that
            _POSIX_C_SOURCE is defined with a value.
          * revise configure script check whether _POSIX_C_SOURCE should be
            defined, taking into account the _POSIX_SOURCE definition
     * Linux:
          * add codepage 857 (DOSTurkish), since console-tools package
            provides a suitable font
          * update Linux console font support to use console-tools package.
            The configure script checks for consolechars and setfont programs
            (must find at least one). The corresponding SETFONT_PATH can be
            set in lynx.cfg to provide a choice between the two
          * modify configure script to check for Intel compiler 8.0 (and
            9.0).
     * some others [stripped]
   Improvements for maintainability and testing:
     * remove macros such as ARGS1, NOPARM which supported K&R compilers
     * make ANSI C required, drop support for K&R C.
     * add scripts/indent.sh, use this to reindent C source files
     * add tags rules to makefile.in's
     * modify makefile.in to ensure that scripts are prefixed with $(SHELL),
       in case packager has stripped executable permissions from scripts,
       e.g., by using CVS
     * modify configure script and makefiles to allow cross-compiling
     * add --with-system-type option to configure script to simplify testing
       the case-statements involving $host_os
     * change configure script to put the ".cfg" and ".lss" files by default
       in the --sysconfdir, e.g., $prefix/etc, and the help-files in lynx_doc
       and lynx_help directories under --datadir, e.g.,
       $prefix/share/lynx_doc, $prefix/share/lynx_doc. To obtain the old
       behavior, use configure --sysconfdir=/usr/local/lib
       --datadir=/usr/local/lib
     * add configure options --with-cfg-file and --with-lss-file to allow one
       to specify the names and paths of the default configuration and
       color-style files
     * filter out obsolete URLs from the customizations saved during install
       of lynx.cfg
     * rename test/iso8859-1.html and test/iso88592.html to
       test/iso-8859-1.html and test/isoi-8859-2.html, corresponding to the
       proper MIME names to simplify test-scripts
     * update test/iso8859-1.html (minor fixes) from

                         http://www.ramsch.org/martin/uni/fmi-hp/iso8859-1.html

     * applied lynx's changes to updated files from ftp.unicode.org to take
       advantage of less restrictive copyright
   As well as security-related changes:
     * eliminate fixed-size buffers in HTrjis() and related functions to
       avoid potential buffer overflow in nntp pages
     * eliminate fixed-size buffers in LYExpandHostForURL() to guard against
       buffer overflow resulting from too-long domain prefix/suffix data from
       lynx.cfg
     * reduce TRST_MAXROWSPAN and TRST_MAXCOLSPAN to 200, which is more
       plausible than 10000 by 1000.
     * limit TEXTAREA columns to the screen width, and rows to 3 times the
       screen height.
   And finally:
     * A lot of bug fixes
     * A lot of documentation changes.
     * A lot of dead code removed
2007-03-10 09:14:09 +00:00
wiz
33043e8906 Minor pkglint cleanup, from Sergey Svishchev. 2007-03-08 19:25:32 +00:00
wiz
7efbcfd947 Add ncursesw support based on patches by Christian Biere. 2007-01-16 07:06:38 +00:00
rillig
e58b2d94b8 The first hunk of patch-af is not needed. 2006-11-10 00:09:07 +00:00
rillig
7930c6a2d8 Text files must end with a newline. 2006-11-10 00:08:46 +00:00
joerg
aa48c98240 DESTDIR support. 2006-11-05 17:31:09 +00:00
rillig
7eb56d3e0e Fixed the Perl interpreter in one file, but didn't add a dependency on
Perl, since it's only an example script. Nevertheless, PKGREVISION++.
2006-10-09 01:53:06 +00:00
obache
e896edb7fe Rename variable MAKEFILE to MAKE_FILE. 2006-09-09 02:41:53 +00:00
drochner
1b3bff2d7b add a patch from OpenBSD / Debian which fixes Lynx going into an
infinite loop on certain invalid HTML (CVE-2004-1617)
bump PKGREVISION
2006-05-29 16:58:18 +00:00
schwarz
98f7a8bfaf make sure that attempt to remove file does not lead to a halt even when the
file does not exist
2006-04-23 14:06:08 +00:00
joerg
0a7f6f89af Kill unused embedded msgfmt path in lynx, it triggers the work dir
reference check. Fixes PR 33332.
2006-04-22 15:08:03 +00:00
jlam
ea5f9f80b6 Strip ${PKGLOCALEDIR} from PLISTs of packages that already obey
PKGLOCALEDIR and which install their locale files directly under
${PREFIX}/${PKGLOCALEDIR} and sort the PLIST file entries.  From now
on, pkgsrc/mk/plist/plist-locale.awk will automatically handle
transforming the PLIST to refer to the correct locale directory.
2006-04-17 07:07:11 +00:00
jlam
1cf9796f3c BUILD_USE_MSGFMT and USE_MSGFMT_PLURALS are obsolete. Replace with
USE_TOOLS+=msgfmt.
2006-04-13 18:23:29 +00:00
drochner
9fc956b96d apply 2 more official patches:
2005-10-25 (2.8.5rel.4 fixes from 2.8.6dev.14)
* fix error in rel.3 patch (report by Klaus Singvogel)
2005-10-29 (2.8.5rel.5 fixes from 2.8.6dev.15)
* modify LYLoadCGI() to prompt user, displaying the command that would be
  executed, to confirm that it should be.  This makes it easier to notice when
  a local program would be run by activating a lynxcgi link.  This is not done
  in advanced mode, since the URL is already visible in the status line (report
  by vade79, comments by Greg MacManus) -TD
2006-02-13 12:37:47 +00:00
tv
e6f690d625 Use option groups to handle mutual exclusivity. 2006-02-06 19:37:49 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
adrianp
aaa6de591a Make a note about the lynxcgi security issue in <lynx2.8.6dev.15 2005-11-12 13:59:28 +00:00
fredb
c0ab1c269f Update to 2.8.5 patchlevel 3 for a security issue. From the ChangeLog:
2004-10-17 (2.8.5rel.3 fixes from 2.8.6dev.14)
* eliminate fixed-size buffers in LYExpandHostForURL() to guard against
  buffer overflow resulting from too-long domain prefix/suffix data from
  lynx.cfg (report by Ulf Harnhammar, CAN-2005-3120) -TD
2005-10-18 15:59:20 +00:00
tron
a671d98956 Make sure "gzip" tool path doesn't end up in the binary. Bump package
revision because of this.
2005-07-25 15:33:31 +00:00
dillo
f81ae835ad Packages have no business modifying PKG_DEFAULT_OPTIONS -- it's a
user settable variable.  Set PKG_SUGGESTED_OPTIONS instead.  Also,
make use of PKG_OPTIONS_LEGACY_VARS.

Reviewed by wiz.
2005-05-31 10:01:36 +00:00
fredb
b64303adc5 Remove a long-standing dependency on gmake by adding ".h" to ${.SUFFIXES}
in lynx's makefile, as discussed on the lynx-devel and netbsd-users mailing
lists. Patch supplied by Klaus Klein in private email.
2005-05-25 13:45:36 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
809ad6f2f7 Add RMD160 checksums. 2005-02-24 14:08:26 +00:00
tv
30eef6440d Fix install directory permissions (in case the mode is not configured to 755). 2005-01-21 21:50:19 +00:00
xtraeme
9e1eefdda0 Forgot to change LYNX_SCREEN_LIB, this should be fixed now. 2004-11-30 15:33:53 +00:00
xtraeme
3811c548e8 Unbreak this package, use default "curses" option to match previous
behaviour and fix typo.
2004-11-27 08:44:35 +00:00
xtraeme
54d05fa49a Remove obsolete variables. You'll want to use:
PKG_OPTIONS.<pkg>+= foo blah
2004-11-17 19:56:49 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
jlam
9d5426ff76 Change the way that legacy USE_* and FOO_USE_* options are converted
into the bsd.options.mk framework.  Instead of appending to
${PKG_OPTIONS_VAR}, it appends to PKG_DEFAULT_OPTIONS.  This causes
the default options to be the union of PKG_DEFAULT_OPTIONS and any
old USE_* and FOO_USE_* settings.

This fixes PR pkg/26590.
2004-08-22 19:32:51 +00:00