notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
html2text Converts HTML documents into plain text
2.2.3,1 textproc on this many watch lists=24 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.2.3,1Version of this port present on the latest quarterly branch.
Maintainer: bapt@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2003-03-27 02:09:53
Last Update: 2024-03-06 13:56:46
Commit Hash: d6bb925
People watching this port, also watch:: libxslt, help2man, libxml2, pcre, freetype2
License: GPLv2+
WWW:
https://gitlab.com/grobian/html2text
Description:
html2text is a command line utility, written in C++, that converts HTML documents (HTML 3.2) into plain text (ISO 8859-1). Each HTML document is loaded from a location indicated by an URI or read from standard input, and formatted into a stream of plain text characters that is written to standard output or into an output-file. The input-URI may specify a remote site, from that the documents are loaded with the Hypertext Transfer Protocol (HTTP). The program is even able to preserve the original positions of table fields and accepts also syntactically incorrect input, attempting to interpret it "reasonably". The rendering is largely customisable through an RC file.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (6 items)
Collapse this list.
  1. bin/html2text
  2. share/man/man1/html2text.1.gz
  3. share/man/man5/html2textrc.5.gz
  4. /usr/local/share/licenses/html2text-2.2.3,1/catalog.mk
  5. /usr/local/share/licenses/html2text-2.2.3,1/LICENSE
  6. /usr/local/share/licenses/html2text-2.2.3,1/GPLv2+
Collapse this list.
Dependency lines:
  • html2text>0:textproc/html2text
Conflicts:
CONFLICTS:
  • py*-html2text
  • py*-html2text2018
To install the port:
cd /usr/ports/textproc/html2text/ && make install clean
To add the package, run one of these commands:
  • pkg install textproc/html2text
  • pkg install html2text
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: html2text
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1709631292 SHA256 (html2text-2.2.3.tar.gz) = 859133528b3fd893562e41d84bc1ebc1f9166dd281d0fa8e17e7dd26337f5752 SIZE (html2text-2.2.3.tar.gz) = 329841

Packages (timestamps in pop-ups are UTC):
html2text
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.2.3,12.2.3,11.3.2a,12.2.3,12.2.3,1-1.3.2a,1-
FreeBSD:13:quarterly2.2.3,12.2.3,11.3.2a_1,12.2.3,12.2.3,11.3.2a_1,11.3.2a_1,11.3.2a_1,1
FreeBSD:14:latest2.2.3,12.2.3,11.3.2a,12.2.3,12.2.3,11.3.2a_1,1-1.3.2a_1,1
FreeBSD:14:quarterly2.2.3,12.2.3,1-2.2.3,12.2.3,11.3.2a_1,11.3.2a_1,11.3.2a_1,1
FreeBSD:15:latest2.2.3,12.2.3,1n/a2.2.3,1n/a1.3.2a_2,11.3.2a_2,11.3.2a_2,1
This port has no dependencies.
This port is required by:
for Build
  1. deskutils/bookworm
for Run
  1. textproc/docproj-legacy
  2. textproc/minixmlto

Deleted ports which required this port:

Expand this list of 2 deleted ports
  1. textproc/docproj-jadetex*
  2. textproc/docproj-nojadetex*
  3. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
No options to configure
Options name:
textproc_html2text
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://github.com/grobian/html2text/releases/download/v2.2.3/
Collapse this list.

Number of commits found: 41

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.2.3,1
06 Mar 2024 13:56:46
commit hash: d6bb92574491851c97919e118545af76e54d9f51commit hash: d6bb92574491851c97919e118545af76e54d9f51commit hash: d6bb92574491851c97919e118545af76e54d9f51commit hash: d6bb92574491851c97919e118545af76e54d9f51 files touched by this commit
Baptiste Daroussin (bapt) search for other commits by this committer
html2text: upgrade to 2.2.3

While upstream has migrated now to gitlab they still don't propose
proper distfile on gitlab
1.3.2a_2,1
11 Jan 2024 13:59:36
commit hash: 7074d7f6aec43269666bcbbfd162d977b7c64277commit hash: 7074d7f6aec43269666bcbbfd162d977b7c64277commit hash: 7074d7f6aec43269666bcbbfd162d977b7c64277commit hash: 7074d7f6aec43269666bcbbfd162d977b7c64277 files touched by this commit
Baptiste Daroussin (bapt) search for other commits by this committer
MANPREFIX: eliminate usage of MANPREFIX

While here move some manpages to share/man
1.3.2a_1,1
07 May 2023 18:38:47
commit hash: 9d2bf7ac7fa5d5cfb5a1aea086de8ba40e773f8ccommit hash: 9d2bf7ac7fa5d5cfb5a1aea086de8ba40e773f8ccommit hash: 9d2bf7ac7fa5d5cfb5a1aea086de8ba40e773f8ccommit hash: 9d2bf7ac7fa5d5cfb5a1aea086de8ba40e773f8c files touched by this commit
Dimitry Andric (dim) search for other commits by this committer
textproc/html2text: fix build with clang 16

Since clang 16 (and gcc 11) the default C++ standard is now gnu++17.
Because textproc/html2text's Makefile does not explicitly set its C++
standard, this leads to several errors:

  /usr/local/lib/bison.cc:429:3: error: ISO C++17 does not allow 'register'
storage class specifier [-Wregister]
    register int yystate;
    ^~~~~~~~~
  /usr/local/lib/bison.cc:430:3: error: ISO C++17 does not allow 'register'
storage class specifier [-Wregister]
    register int yyn;
    ^~~~~~~~~
  /usr/local/lib/bison.cc:431:3: error: ISO C++17 does not allow 'register'
storage class specifier [-Wregister]
    register short *yyssp;
    ^~~~~~~~~
  /usr/local/lib/bison.cc:432:3: error: ISO C++17 does not allow 'register'
storage class specifier [-Wregister]
    register YY_HTMLParser_STYPE *yyvsp;
    ^~~~~~~~~

Add USE_CXXSTD=gnu++98 to avoid these errors.

PR:		271031
Approved by:	maintainer timeout (2 weeks)
MFH:		2023Q2
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
1.3.2a,1
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.3.2a,1
20 Jul 2022 14:23:14
commit hash: 5cf7e35e8664e11393fedc7d89b4d09e0fcced9bcommit hash: 5cf7e35e8664e11393fedc7d89b4d09e0fcced9bcommit hash: 5cf7e35e8664e11393fedc7d89b4d09e0fcced9bcommit hash: 5cf7e35e8664e11393fedc7d89b4d09e0fcced9b files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
textproc: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  "Choe, Cheng-Dae" whitekid
  *  -
  *  <glewis@FreeBSD.org>
  *  <koshy@india.hp.com>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Dalton <aaron@daltons.ca>
  *  Aaron Straup Cope
  *  Aaron Straup Cope <ascope@cpan.org>
  *  Ache
  *  Adam Herzog <adam@herzogdesigns.com>
  *  Adam Weinberger <adamw@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.3.2a,1
10 Jan 2022 15:15:39
commit hash: bcaf25a8c8046b094f6b5ab5bc258333bc326ee1commit hash: bcaf25a8c8046b094f6b5ab5bc258333bc326ee1commit hash: bcaf25a8c8046b094f6b5ab5bc258333bc326ee1commit hash: bcaf25a8c8046b094f6b5ab5bc258333bc326ee1 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Fix CONFLICTS entries of multiple ports

There have been lots of missing CONFLICTS_INSTALL entries, either
because conflicting ports were added without updating existing ports,
due to name changes of generated packages, due to mis-understanding
the format and semantics of the conflicts entries, or just due to
typoes in package names.

This patch is the result of a comparison of all files contained in
the official packages with each other. This comparison was based on
packages built with default options and may therefore have missed
further conflicts with optionally installed files.

Where possible, version numbers in conflicts entries have been
generalized, some times taking advantage of the fact that a port
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.3.2a,1
29 Oct 2021 09:50:18
commit hash: 819f25b36d45b8ac5593ec8e6f470d9ad454b08acommit hash: 819f25b36d45b8ac5593ec8e6f470d9ad454b08acommit hash: 819f25b36d45b8ac5593ec8e6f470d9ad454b08acommit hash: 819f25b36d45b8ac5593ec8e6f470d9ad454b08a files touched by this commit
Stefan Eßer (se) search for other commits by this committer
*/*: Remove redundant '-[0-9]*' from CONFLICTS

The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").

Many CONFLICTS definitions used patterns like "bash-[0-9]*" to filter
for the bash package in any version. But that pattern is functionally
identical with just "bash".

Approved by:	portmgr (blanket)
1.3.2a,1
27 Oct 2021 08:30:14
commit hash: 00e15405660fffeb44772bd58ff17e841d71729bcommit hash: 00e15405660fffeb44772bd58ff17e841d71729bcommit hash: 00e15405660fffeb44772bd58ff17e841d71729bcommit hash: 00e15405660fffeb44772bd58ff17e841d71729b files touched by this commit
Stefan Eßer (se) search for other commits by this committer
textproc/html2text: Update CONFLICTS

The CONFLICTS definition did only match conflicting packages built
for Python-2.7, not for later Python versions.

I have not checked whether CONFLICTS_INSTALL would suffice as used
in the conflicting ports. The PORTREVISION has not been bumped since
this parameter is relevant for port building, less so for installing
from a package (which detects the conflicting files).

Approved by:	bapt (maintainer)
1.3.2a,1
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
1.3.2a,1
01 Oct 2020 19:47:54
Revision:550869Original commit files touched by this commit
bapt search for other commits by this committer
Revert the upgrade to 2.0.0 it is not backward compatible
and break minixmlto in some cases

bump portepoch

PR:		250028
Reported by:	Stefan Ehmann <shoesoft@gmx.net>
2.0.0
01 Oct 2020 05:25:48
Revision:550762Original commit files touched by this commit
bapt search for other commits by this committer
Update to 2.0.0: html2text found a new maintainer and a new home

Adopt the port
1.3.2a
21 Feb 2016 10:35:31
Revision:409279Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Clarify LICENSE
- Add LICENSE_FILE
- Switch to options helpers
- Regenerate patches with `make makepatch`
1.3.2a
14 May 2015 10:15:09
Revision:386312Original commit files touched by this commit
mat search for other commits by this committer
MASTER_SITES cleanup.

- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
1.3.2a
24 Sep 2014 06:00:10
Revision:369161Original commit files touched by this commit
eadler search for other commits by this committer
Hand back my ports to the pool.

Ports require time and TLC which I no longer have.
1.3.2a
03 Nov 2013 22:56:49
Revision:332654Original commit files touched by this commit
eadler search for other commits by this committer
Simplify Makefile
1.3.2a
23 Oct 2013 18:58:57
Revision:331410Original commit files touched by this commit
eadler search for other commits by this committer
Unquiet my ports to make debugging easier.
1.3.2a
28 Sep 2013 03:41:04
Revision:328547Original commit files touched by this commit
eadler search for other commits by this committer
Convert to staging.
1.3.2a
20 Sep 2013 23:17:32
Revision:327773Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
textproc)
1.3.2a
16 Jul 2013 21:59:48
Revision:323129Original commit files touched by this commit
eadler search for other commits by this committer
Remove now excess verbiage.

Reviewed by:	bapt
1.3.2a
03 Jul 2013 20:35:53
Revision:322256Original commit files touched by this commit
eadler search for other commits by this committer
add license
1.3.2a
24 Apr 2013 16:19:20
Revision:316449Original commit files touched by this commit
eadler search for other commits by this committer
Fix formatting of WWW line for my ports
1.3.2a
03 Mar 2013 00:21:22
Revision:313311Original commit files touched by this commit
eadler search for other commits by this committer
Teach portscout that 1.3.2 is not newer than 1.3.2a.
Pet portlint by using "fle" instead of "file"
Mark port safe for use with MAKE_JOBS
1.3.2a
26 Jan 2013 19:12:05
Revision:311044Original commit files touched by this commit
eadler search for other commits by this committer
Permit textproc/html2text to be built with clang.

Patch submitted upstream

Submitted by:	keramida
1.3.2a
11 Nov 2012 15:33:03
Revision:307321Original commit files touched by this commit
eadler search for other commits by this committer
Make html2text play nice with CXX.

This is a build only fix, so no PORTREVISION bump.

Reported by:	peter
Feature safe:	yes
1.3.2a
03 Nov 2012 02:58:56
Revision:306897Original commit files touched by this commit
eadler search for other commits by this committer
html2text uses patch letters which look like "alpha" and "beta" (a and b) so
tell portscout that these versions are actually newer.

Reviewed by:	zi
Feature safe:	yes
1.3.2a
20 Oct 2012 15:13:06
Revision:306186Original commit files touched by this commit
eadler search for other commits by this committer
Convert to OptionsNG
Clean up port a bit

Feature safe:	yes
1.3.2a
06 Oct 2012 14:35:46
Revision:305369Original commit files touched by this commit
eadler search for other commits by this committer
Trim the headers in the ports I maintain.
1.3.2a
02 Jun 2012 04:59:01
Original commit files touched by this commit
eadler search for other commits by this committer
Fix conflicts line - glob, not regex

Submitted by:   Sulev-Madis "ketas" Silber <madis555@hot.ee>
1.3.2a
02 Jun 2012 04:49:36
Original commit files touched by this commit
eadler search for other commits by this committer
Add missing conflicts

Submitted by:   Sulev-Madis "ketas" Silber <madis555@hot.ee>
Approved by:    tj (maintainer)
1.3.2a
21 Aug 2011 20:51:40
Original commit files touched by this commit
eadler search for other commits by this committer
- change the email address I use to maintain ports

Approved by:    bapt (mentor)
1.3.2a
21 Aug 2011 16:12:46
Original commit files touched by this commit
eadler search for other commits by this committer
- change the email address I use to maintain ports

Approved by:    bapt (mentor)
1.3.2a
03 Aug 2011 04:17:20
Original commit files touched by this commit
linimon search for other commits by this committer
Assign to new volunteer.

PR:             ports/159394
Submitted by:   ports@eitanadler.com
1.3.2a
03 Jul 2011 14:40:25
Original commit files touched by this commit
ohauer search for other commits by this committer
-remove MD5
1.3.2a
29 May 2010 11:59:47
Original commit files touched by this commit
sylvio search for other commits by this committer
- Update MASTER_SITE and WWW

PR:             ports/147179
Submitted by:   Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
1.3.2a
13 May 2006 04:24:52
Original commit files touched by this commit
edwin search for other commits by this committer
Remove USE_REINPLACE from categories starting with T
1.3.2a
25 Nov 2005 18:40:57
Original commit files touched by this commit
pav search for other commits by this committer
- Add SHA256
1.3.2a
30 Aug 2004 08:33:53
Original commit files touched by this commit
krion search for other commits by this committer
Update to version 1.3.2a

PR:             ports/71125
Submitted by:   Ports Fury
1.3.2
13 Feb 2004 09:37:20
Original commit files touched by this commit
krion search for other commits by this committer
- Update to 1.3.2 and unbreak on 5.x
- Switch maintainer to ports@FreeBSD.org

PR:             ports/62390
Submitted by:   hrs
1.3.1
05 Feb 2004 08:07:47
Original commit files touched by this commit
kris search for other commits by this committer
BROKEN on 5.x: Does not compile
1.3.1
27 Mar 2003 02:09:23
Original commit files touched by this commit
petef search for other commits by this committer
Add html2text 1.3.1, converts HTML documents into plain text.

Submitted by:   Simon 'corecode' Schubert <corecode@corecode.ath.cx>

Number of commits found: 41