NetBSD Problem Report #21342

Received: (qmail 27946 invoked by uid 605); 27 Apr 2003 13:43:04 -0000
Message-Id: <20030427134301.665AA11153@narn.netbsd.org>
Date: Sun, 27 Apr 2003 13:43:01 +0000 (UTC)
From: mail@mbayer.de
Sender: gnats-bugs-owner@netbsd.org
Reply-To: mail@mbayer.de
To: gnats-bugs@gnats.netbsd.org
Subject: New upstream/ new version for html2text
X-Send-Pr-Version: www-1.0

>Number:         21342
>Category:       pkg
>Synopsis:       New upstream/ new version for html2text
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 27 13:44:00 +0000 2003
>Closed-Date:    Thu Jul 31 02:59:32 +0000 2003
>Last-Modified:  Thu Jul 31 02:59:32 +0000 2003
>Originator:     Martin Bayer
>Release:        none
>Organization:
Freie Universitaet Berlin
>Environment:
linux-2.4.16-4GB/ gcc-2.95.3 20010315 (SuSE)
>Description:
I realize NetBSD is shipping the version 1.2.2 of the html2text utility ("textproc" series). This version, released in mid-2000, was the last one maintained by Arno Unkrig and published by GMRS.

Since September 2000, html2text is living at:
http://userpage.fu-berlin.de/~mbayer/tools/html2text.html .

Sources are also available via aFTP on ibiblio.org at:
ftp://ftp.ibiblio.org/pub/linux/apps/www/converters/ .

The latest version is: 1.3.1 (additional patches A+B available). Several bugfixes have been done since 1.2.2(a).

License: GPL.

html2text-1.3.1 is beliefed to compile at least with both, gcc-2.95.X and gcc-3.X on Intel-x86 systems. Other compilers might not work and I have no reports on successfull ports to other UNIX platforms, nither.

Please consider to update. You might also wish to update your links, as the site gmrs.de is not longer in use.

If you then send me a link for the (pre)compiled BSD-packages, I'll add it on the program's homepage.

If you apply patches to the source code, please let me know.

Regards,
Martin Bayer
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: misc-bug-people->pkg-manager 
Responsible-Changed-By: wiz 
Responsible-Changed-When: Sun Apr 27 15:32:04 UTC 2003 
Responsible-Changed-Why:  
pkg problem (html2text is in pkgsrc) 

From: Jan Schaumann <jschauma@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/21342 CVS commit: pkgsrc/textproc/html2text
Date: Thu, 31 Jul 2003 02:49:54 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	jschauma
 Date:		Thu Jul 31 02:49:54 UTC 2003

 Modified Files:
 	pkgsrc/textproc/html2text: DESCR Makefile distinfo
 	pkgsrc/textproc/html2text/patches: patch-aa

 Log Message:
 Update to version 1.3.1, closing PR pkg/21342.  This version is now
 licensed under the GPL, has a new home and the following changes:

 Multiple-line DOCTYPE declarations are now accepted (HTMLControl.C:352).
 ------------------------------
 Bad initialisation of "fd_" in "urlistream" fixed (urlistream.h), so that an
 error message is printed if a remote document could not be retrieved.
 ------------------------------
 A missing node now is interpreted as node '/' (urlistream.C).
 ------------------------------
 Closing DIV, FORM and BLOCKQUOTE tags as well as the closing UL, OL and PRE
 tags are now optional (HTMLParser.y), so that the program won't die any longer
 if one of them is omited in the document.
 ------------------------------
 Some dificulties with non-ASCII chars fixed (HTMLControl.C).
 ------------------------------
 Colons in elements and attributes now are tolerated and elements are not any
 longer implecitly closed at a newline (HTMLControl.C), in order to handly
 MS-Word's HTML better.
 ------------------------------
 We do not use '/dev/stdin' as file descriptor any longer (html2text.C and
 urlistream.C), in order to make reading from STDIN finaly work.
 ------------------------------
 Block elements are not enclosed in -implecit- Paragraphs any longer
 (HTMLParser.y), in order to avoid superfluous newlines in the output.
 ------------------------------
 Fixed segmentation fault on tables with "border" attribute: we now assume that
 any TABLE has at least one row and one column (table.C).
 ------------------------------
 Fixed format.C to avoid excessive runtime increment on parsing much nested
 block elements.
 ------------------------------
 Some changes in configure, Makefile.in and the documentation.
 ------------------------------

 ------------------------------
 Ported to g++ version 3.0.
 This uses the 'istream.h' header file from the g++3's 'backward' directory.
 ------------------------------
 Bugfix: '-' did not work as synonym for STDIN.
 ------------------------------
 Added support for the EURO-sign (well, almost).
 ------------------------------
 Finaly the GNU GPL as new copyright terms for all parts of the program, after
 GMRS agreed to change the program's license terms to it.
 ------------------------------

 ------------------------------
 Fixed coredump when parsing empty <SCRIPT> or <STYLE> elements (HTMLControl.C).
 ------------------------------
 New image handling: <IMG alt=""> does no longer return the value of the SRC
 attribute nor "[]". Added new ~/.html2textrc options: IMG.replace.{all noalt}
 and IMG.alt.{prefix suffix} with new defaults in pretty-style mode. Added
 method for checking whether an attribut was set, even to a zero-value.
 ------------------------------
 (New) Copyright terms for all changes we made since version 1.2.2.
 ------------------------------
 Some minor changes in configure and html2text.C.
 ------------------------------
 Updated the documentation.
 ------------------------------

 ------------------------------
 Fixed segmention fault when parsing <H5> tags (typo in format.C).
 ------------------------------


 To generate a diff of this commit:
 cvs rdiff -r1.1 -r1.2 pkgsrc/textproc/html2text/DESCR
 cvs rdiff -r1.4 -r1.5 pkgsrc/textproc/html2text/Makefile
 cvs rdiff -r1.2 -r1.3 pkgsrc/textproc/html2text/distinfo
 cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/textproc/html2text/patches/patch-aa

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

State-Changed-From-To: open->closed 
State-Changed-By: jschauma 
State-Changed-When: Thu Jul 31 02:56:29 UTC 2003 
State-Changed-Why:  

I updated our version in pkgsrc.  Binary packages will shortly be available 
from ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/textproc/html2text/README.html 

Thanks for the PR. 

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.