Port details |
- html2text Converts HTML documents into plain text
- 2.2.3,1 textproc =24 2.2.3,1Version of this port present on the latest quarterly branch.
- Maintainer: bapt@FreeBSD.org
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - 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):
- This port has no dependencies.
- This port is required by:
- for Build
-
- deskutils/bookworm
- for Run
-
- textproc/docproj-legacy
- textproc/minixmlto
-
Deleted ports which required this port:
- * - 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:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2.2.3,1 06 Mar 2024 13:56:46 |
Baptiste Daroussin (bapt) |
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 |
Baptiste Daroussin (bapt) |
MANPREFIX: eliminate usage of MANPREFIX
While here move some manpages to share/man |
1.3.2a_1,1 07 May 2023 18:38:47 |
Dimitry Andric (dim) |
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 |
Stefan Eßer (se) |
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 |
Stefan Eßer (se) |
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 ) |
1.3.2a,1 20 Jul 2022 14:23:14 |
Tobias C. Berner (tcberner) |
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 ) |
1.3.2a,1 10 Jan 2022 15:15:39 |
Stefan Eßer (se) |
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 ) |
1.3.2a,1 29 Oct 2021 09:50:18 |
Stefan Eßer (se) |
*/*: 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 |
Stefan Eßer (se) |
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 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
1.3.2a,1 01 Oct 2020 19:47:54 |
bapt |
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 |
bapt |
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 |
amdmi3 |
- Clarify LICENSE
- Add LICENSE_FILE
- Switch to options helpers
- Regenerate patches with `make makepatch` |
1.3.2a 14 May 2015 10:15:09 |
mat |
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 |
eadler |
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 |
eadler |
Simplify Makefile |
1.3.2a 23 Oct 2013 18:58:57 |
eadler |
Unquiet my ports to make debugging easier. |
1.3.2a 28 Sep 2013 03:41:04 |
eadler |
Convert to staging. |
1.3.2a 20 Sep 2013 23:17:32 |
bapt |
Add NO_STAGE all over the place in preparation for the staging support (cat:
textproc) |
1.3.2a 16 Jul 2013 21:59:48 |
eadler |
Remove now excess verbiage.
Reviewed by: bapt |
1.3.2a 03 Jul 2013 20:35:53 |
eadler |
add license |
1.3.2a 24 Apr 2013 16:19:20 |
eadler |
Fix formatting of WWW line for my ports |
1.3.2a 03 Mar 2013 00:21:22 |
eadler |
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 |
eadler |
Permit textproc/html2text to be built with clang.
Patch submitted upstream
Submitted by: keramida |
1.3.2a 11 Nov 2012 15:33:03 |
eadler |
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 |
eadler |
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 |
eadler |
Convert to OptionsNG
Clean up port a bit
Feature safe: yes |
1.3.2a 06 Oct 2012 14:35:46 |
eadler |
Trim the headers in the ports I maintain. |
1.3.2a 02 Jun 2012 04:59:01 |
eadler |
Fix conflicts line - glob, not regex
Submitted by: Sulev-Madis "ketas" Silber <madis555@hot.ee> |
1.3.2a 02 Jun 2012 04:49:36 |
eadler |
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 |
eadler |
- change the email address I use to maintain ports
Approved by: bapt (mentor) |
1.3.2a 21 Aug 2011 16:12:46 |
eadler |
- change the email address I use to maintain ports
Approved by: bapt (mentor) |
1.3.2a 03 Aug 2011 04:17:20 |
linimon |
Assign to new volunteer.
PR: ports/159394
Submitted by: ports@eitanadler.com |
1.3.2a 03 Jul 2011 14:40:25 |
ohauer |
-remove MD5 |
1.3.2a 29 May 2010 11:59:47 |
sylvio |
- 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 |
edwin |
Remove USE_REINPLACE from categories starting with T |
1.3.2a 25 Nov 2005 18:40:57 |
pav |
- Add SHA256 |
1.3.2a 30 Aug 2004 08:33:53 |
krion |
Update to version 1.3.2a
PR: ports/71125
Submitted by: Ports Fury |
1.3.2 13 Feb 2004 09:37:20 |
krion |
- 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 |
kris |
BROKEN on 5.x: Does not compile |
1.3.1 27 Mar 2003 02:09:23 |
petef |
Add html2text 1.3.1, converts HTML documents into plain text.
Submitted by: Simon 'corecode' Schubert <corecode@corecode.ath.cx> |