Bug 121886 - [PATCH]www/links: update to 2.1pre33
Summary: [PATCH]www/links: update to 2.1pre33
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dmitry Sivachenko
Depends on:
Reported: 2008-03-19 23:00 UTC by bf
Modified: 2008-04-11 14:50 UTC (History)
0 users

See Also:

file.diff (6.49 KB, patch)
2008-03-19 23:00 UTC, bf
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description bf 2008-03-19 23:00:04 UTC
Update to 2.1pre33; expose some configuration options; add www/links1 to
CONFLICTS (see PR ports/121781).  Sadly, the Javascript interpreter was found
to be buggy and abandoned, although it can be re-enabled  in a custom build --
details below.

Relevant cumulative changes:

        Fixed a bug that strings with spaces could not be passed from command

        Socks 4A support (so that Links can be used with tor without
        intermediate proxy)

        Do not display links to alternate stylesheets

        Use Content-Disposition as a suggestion for downloaded file name

        Fixed write to freed memory resulting in misbehavior of radio buttons
        and a possible crash

        Do not search for compressed-file extension (.gz, .bz2) in URLs
        containing '?', '&' or ';' --- they are likely scripts and they should
        provide information about compression in the header.

        When the document was truncated to zero size on reload and no data were
        received, links didn't invalidate formatted document cache

        Accept capital 'X' as a hex number mark in html entities

        Do not print links to stylesheet to the document

        Slightly improve parsing of ftp --- when the line contains "<DIR>", we
        can assume that it is a directory

        Some newer Linuxes unfortunatelly do not send SIGCONT when running
        process is brougt to foreground with 'fg' command. So implement 0.5s
        polling to test if we're on foreground.

        Do not request compression for files with .Z, .gz or .bz2 suffix
        --- some servers will compress them again

        Support HTTP/0.9 (without header)

        In case of non-restartable connection, proceed with the connection
        even if the server is on blacklist

        An option to disallow non-proxy connections (for anonymization via tor
        or similar services)

        Turn off compression if the server closes the connection prematurely
        Some servers erroneously send the size of uncompressed data

        An option to disable compression. Disable compression automatically for
        a given server if links receives erroneous compressed data

        Break ansi aliasing on ICC 10 with -ipo
        Empty function call was not enough to break it

        When the connection dies after the last received byte, do not send
        "Range:" header in retry request --- servers don't like "Range" pointing
        after the last byte

        Fixed security bug in pre29 (not in any previous versions):
        special characters in URL could be passed to a shell when spawning
        user viewer

        Fixed needlessly large selection boxes in graphics mode

        Release mouse when spawning OS shell or user viewers

        Fixed bad redraw of X window when Expose event come for some area while
        scrolling different area

        Set extension of downloaded or viewed files according to content-type,
        not according to URL extension

        Fixed bad displaying of jpeg images on machines where memcpy operates in
        different order

        Fixed crash on invalid jpeg files (found by Michael Scherer
        <misc@zarb.org> with http://fusil.hachoir.org/)

        Do not send If-Modified-Since or Range in HTTP request if cached page
        has an error code

        Fixed some quirks with download file handling --- when each terminal had
        different CWD, downloaded files were not deleted

        When getting EFBIG error (file size exceeded), continue download in
        another file

        A possibility to pass HTTP or FTP URLs directly to external programs
        (programs such as mpg321, ogg123, mplayer can play directly from the

        Fixed inability to display images compressed on the fly by the server
        (it is pointless to try to compress already compressed images, but some
        servers do it anyway)

        Escape Referer: correctly

        Fixed bug that it couldn't be compiled without optimization without

        Blacklist FORPSI server --- do not send Range: to it

        Javascript was removed. The reason is that it is very buggy, Martin
        Pergel doesn't have time to develop it and code is so messy that no one
        else can understand it.

        If you use links for special purposes (embedded devices, etc.), you can
        bring javascript back by copying javascript files from previous release,
        removing "dnl javascript" lines from configure.in, adding *.c and *.h
        files to Makefile.am and re-running automake and autoconf.
        Javascript hooks from main code were not removed --- they just won't be

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer 2008-03-19 23:00:29 UTC
Responsible Changed
From-To: freebsd-ports-bugs->demon

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Pav Lucistnik freebsd_committer 2008-04-11 14:36:54 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 3 dfilter service freebsd_committer 2008-04-11 14:45:05 UTC
pav         2008-04-11 13:44:56 UTC

  FreeBSD ports repository

  Modified files:
    www/links            Makefile distinfo 
    www/links/files      patch-default.c patch-types.c 
  Removed files:
    www/links/files      patch-ab patch-regexp.c 
  - Update to 2.1pre33
  PR:             ports/121886
  Submitted by:   bf <bf2006a@yahoo.com>
  Approved by:    maintainer timeout (demon; 3 weeks)
  Revision  Changes    Path
  1.51      +25 -21    ports/www/links/Makefile
  1.23      +3 -3      ports/www/links/distinfo
  1.4       +0 -14     ports/www/links/files/patch-ab (dead)
  1.5       +4 -4      ports/www/links/files/patch-default.c
  1.2       +0 -19     ports/www/links/files/patch-regexp.c (dead)
  1.5       +4 -4      ports/www/links/files/patch-types.c
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"