Skip to content

Commit ae42ec4

Browse files
author
micha
committed
www/htmldoc: Update to version 1.9.7
- patch-ab/patch-ac/patch-ad/patch-ae/patch-htmldoc_htmlsep.cxx removed Already merged upstream - INSTALL_MAKE_FLAGS removed from Makefile No longer required (autotools do the right things) - OpenSSL option removed OpenSSL support was dropped in version 1.8.29 Always use GnuTLS for "ssl" option ====================== # Changes in HTMLDOC v1.9.7 - Refactored the PRE rendering code to work around compiler optimization bugs (Issue #349) - Added support for links with targets (Issue #351) - Fixed a table rowspan + valign bug (Issue #360) # Changes in HTMLDOC v1.9.6 - Added support for data URIs (Issue #340) - HTMLDOC no longer includes a PDF table of contents when converting a single web page (Issue #344) - Updated the markdown support with external links, additional inline markup, and hard line breaks. - Links in markdown text no longer render with a leading space as part of the link (Issue #346) - Fixed a buffer underflow bug discovered by AddressSanitizer. - Fixed a bug in UTF-8 support (Issue #348) - PDF output now includes the base language of the input document(s) (Issue #350) - Optimized the loading of font widths (Issue #354) - Optimized PDF page resources (Issue #356) - Optimized the base memory used for font widths (Issue #357) - Added proper `&shy;` support (Issue #361) - Title files can now be markdown. # Changes in HTMLDOC v1.9.5 - The GUI did not support EPUB output. - Empty markdown table cells were not rendered in PDF or PostScript output. - The automatically-generated title page now supports both "docnumber" and "version" metadata. - Added support for dc:subject and dc:language metadata in EPUB output from the HTML keywords and lang values. - Added support for the subject and language metadata in markdown input. - Fixed a buffer underflow bug (Issue #338) - `htmldoc --help` now reports whether HTTPS URLs are supported (Issue #339) - Fixed an issue with HTML title pages and EPUB output. # Changes in HTMLDOC v1.9.4 - Inline fixed-width text is no longer reduced in size automatically (Issue #309) - Optimized initialization of font width data (Issue #334) # Changes in HTMLDOC v1.9.3 - Fixed formatting bugs with aligned images (Issue #322, Issue #324) - Fixed support for three digit "#RGB" color values (Issue #323) - Fixed character set support for markdown metadata. - Updated libpng to v1.6.34 (Issue #326) - The makefiles did not use the CPPFLAGS value (Issue #328) # Changes in HTMLDOC v1.9.2 - Added Markdown table support. - Fixed parsing of TBODY, TFOOT, and THEAD elements in HTML files. # Changes in HTMLDOC v1.9.1 - Fixed monospace font size issue (Issue #309) - Added support for reproducible builds (Issue #310) - Added limited support for the HTML 4.0 SPAN element (Issue #311) - Added (extremely limited) UTF-8 support for input files (Issue #314) - Fixed buffer underflow for (invalid) short HTML comments (Issue #316) - Now indent PRE text, by popular request. - EPUB output now makes sure that `<element property>` is written as `<element property="property">`. - Now support both NAME and ID for table-of-contents targets. # Changes in HTMLDOC v1.9 - Added support for repeating a single header row for tables that span multiple pages (Issue #16) - Added support for embedding the current filename/URL in the header or footer (Issue #50) - Added EPUB support (Issue #301) - Added Markdown support (Issue #302) - Fixed a regression in header/footer image scaling (Issue #303) - Documentation updates (Issue #305) - Compiler fixes (Issue #304, Issue #306) - Fixed a bug when running HTMLDOC as a macOS application. - Updated the bundled libpng to v1.6.29. # Changes in HTMLDOC v1.8.30 - Updated documentation to reflect new project page on Github. - Dropped old CDE and IRIX desktop integration files. - Cleaned up the GUI and adopted new default text editors for Linux and macOS. - PAGE BREAK comments at the end of a file in web page mode would lose the first page (Issue #251) - Fixed the scaling of header/footer images to limit them to the height of the header or footer (Issue #273) - Fixed an issue with the top-level makefile not exiting with an error as needed (Issue #282) - Fixed a URL referencing bug when the same hostname but a different port was used (Issue #290) - Fixed build issue on macOS (Issue #291) - Fixed handling of indexed+alpha PNG images (Issue #295) # Changes in HTMLDOC v1.8.29 - Updated local PNG library to version 1.6.20. - Updated local JPEG library to version 9b. - Dropped support for OpenSSL. - Added configure script support for libjpeg-turbo. - Updated HTTP code to latest CUPS/ippsample sources. - Duplex PDF output incorrectly forced an even number of pages - The table of contents showed the wrong page numbers after headings containing the "_HD_OMIT_TOC" attribute. - Fixed reported build issues - The configure script's --enable-local* options did not work. # Changes in HTMLDOC v1.8.28 - Updated local zlib to version 1.2.8. - Updated local PNG library to version 1.6.8. - Updated local JPEG library to version 9. - Updated default PDF version to 1.4. - SECURITY: Fixed three buffer overflow issues when reading AFM files and parsing page sizes. - Fixed incompatibility with Fortify's version of strcpy, which does not work properly with variable-length arrays - Fixed compilation against PNG library 1.5 or later - Fixed documentation errors - Marked Zapf-Dingbats as a standard font - Fixed GPL license text in GUI - Fixed a table formatting problem when a column has multiple colspan values - Fixed parsing of HTML comments - Fixed potential out-of-bounds read in table-of-contents rendering code - Fixed handling of image URLs with ampersands in them - Fixed top/bottom margins for logo and header/footer images - Fixed image alignment bug - Fixed X11 build problem
1 parent bad7833 commit ae42ec4

10 files changed

+26
-228
lines changed

www/htmldoc/Makefile

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
# $NetBSD: Makefile,v 1.45 2019/07/20 22:46:55 wiz Exp $
1+
# $NetBSD: Makefile,v 1.46 2019/10/18 11:02:13 micha Exp $
22

3-
PKGREVISION= 17
4-
5-
CONFIGURE_ARGS+= --without-gui --without-x
3+
CONFIGURE_ARGS+= --without-gui
64

75
.include "${.CURDIR}/Makefile.common"
86
.include "../../mk/bsd.pkg.mk"

www/htmldoc/Makefile.common

+10-13
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
1-
# $NetBSD: Makefile.common,v 1.14 2016/12/30 12:54:20 wiz Exp $
1+
# $NetBSD: Makefile.common,v 1.15 2019/10/18 11:02:13 micha Exp $
22
#
33
# used by www/htmldoc/Makefile
44
# used by www/htmldoc-x11/Makefile
55

66
# This section contains variables that might be overridden.
7-
PKGNAME?= ${PKGNAME_BASE}
7+
PKGNAME?= ${PKGNAME_BASE}-${VERSION}
88
COMMENT?= Converts HTML to indexed HTML, PDF and/or PostScript
99

1010
# Normal package Makefile contents follow.
11-
VERSION= 1.8.27
12-
DISTNAME= htmldoc-${VERSION}-source
13-
PKGNAME_BASE= ${DISTNAME:S/-source//}
11+
VERSION= 1.9.7
12+
PKGNAME_BASE= htmldoc
1413
CATEGORIES= www
15-
MASTER_SITES= ftp://ftp.easysw.com/pub/htmldoc/${PKGVERSION_NOREV}/
16-
EXTRACT_SUFX= .tar.bz2
14+
DIST_SUBDIR= ${PKGNAME_BASE}
15+
DISTNAME= v${VERSION}
16+
MASTER_SITES= ${MASTER_SITE_GITHUB:=michaelrsweet/htmldoc/archive/}
17+
EXTRACT_USING= bsdtar
1718

1819
MAINTAINER= pkgsrc-users@NetBSD.org
19-
#HOMEPAGE= http://www.htmldoc.org/
20+
HOMEPAGE= https://www.msweet.org/htmldoc/
2021
LICENSE= gnu-gpl-v2
2122

2223
PATCHDIR= ${.CURDIR}/../../www/htmldoc/patches
@@ -25,14 +26,10 @@ PLIST_SRC= ${.CURDIR}/../../www/htmldoc/PLIST
2526

2627
.include "${.CURDIR}/../../www/htmldoc/options.mk"
2728

28-
WRKSRC= ${WRKDIR}/${DISTNAME:S/-source//}
29+
WRKSRC= ${WRKDIR}/${PKGNAME_BASE}-${PKGVERSION_NOREV}
2930
GNU_CONFIGURE= yes
3031
USE_LANGUAGES= c c++
3132

32-
INSTALL_MAKE_FLAGS+= bindir=${DESTDIR}${PREFIX}/bin
33-
INSTALL_MAKE_FLAGS+= datadir=${DESTDIR}${PREFIX}/share
34-
INSTALL_MAKE_FLAGS+= mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}
35-
3633
.include "../../devel/zlib/buildlink3.mk"
3734
.include "../../mk/jpeg.buildlink3.mk"
3835
.include "../../graphics/png/buildlink3.mk"

www/htmldoc/distinfo

+6-11
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
1-
$NetBSD: distinfo,v 1.13 2016/12/17 14:20:14 joerg Exp $
1+
$NetBSD: distinfo,v 1.14 2019/10/18 11:02:13 micha Exp $
22

3-
SHA1 (htmldoc-1.8.27-source.tar.bz2) = 472908e0aafed1cedfbacd8ed3168734aebdec4b
4-
RMD160 (htmldoc-1.8.27-source.tar.bz2) = 9605a5894675439f5fae405fb060972e19f33c7e
5-
SHA512 (htmldoc-1.8.27-source.tar.bz2) = f0b2b6fec4925e549e74d6721f15b5de00c8c4889b0c67689945c408ed88074acb1330cae155655a1986adc0ca549cea32e242aa1ecac8e6338a1739f7c85438
6-
Size (htmldoc-1.8.27-source.tar.bz2) = 3960271 bytes
7-
SHA1 (patch-aa) = 92de5e1e4761ffe2d117004b2a38ec52edb33d7c
8-
SHA1 (patch-ab) = 22add1402202fed917a79ce67963cb282ca46f87
9-
SHA1 (patch-ac) = bf9036087e03095d51ee064e1f193c899848adff
10-
SHA1 (patch-ad) = 94e5f10387ede380b7579392e41234ff832f1295
11-
SHA1 (patch-ae) = 1d77dd5120605881e83bf31ee07fa9fd73619cd3
12-
SHA1 (patch-htmldoc_htmlsep.cxx) = be66659cc83047ced67e2c73af9f4052962cdc50
3+
SHA1 (htmldoc/v1.9.7.tar.gz) = c2c3c6a73dfc2bd779bb186b0497eb8de28b25b7
4+
RMD160 (htmldoc/v1.9.7.tar.gz) = 18908dcd30e36eb1fcdf208146ca704f391b382a
5+
SHA512 (htmldoc/v1.9.7.tar.gz) = e9481d32318902b5179f8d2dbaa382bcb0084bf3cc57958f8f05f52be5019ab54da5c265bbb674ca8808198c35d04bf19ad2149c2add18cfb630e66a2b9dc8f2
6+
Size (htmldoc/v1.9.7.tar.gz) = 4502752 bytes
7+
SHA1 (patch-htmldoc_http-addrlist.c) = 7c2db39b43cdbb31da0d884fbbba63e2ab258354

www/htmldoc/options.mk

+5-19
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,19 @@
1-
# $NetBSD: options.mk,v 1.4 2016/12/30 12:54:20 wiz Exp $
1+
# $NetBSD: options.mk,v 1.5 2019/10/18 11:02:13 micha Exp $
22

33
PKG_OPTIONS_VAR= PKG_OPTIONS.htmldoc
4-
PKG_SUPPORTED_OPTIONS= # empty
5-
PKG_OPTIONS_OPTIONAL_GROUPS= ssl
6-
PKG_OPTIONS_GROUP.ssl= gnutls ssl
4+
PKG_SUPPORTED_OPTIONS= ssl
75
PKG_SUGGESTED_OPTIONS= ssl
86

97
.include "../../mk/bsd.options.mk"
108

119
###
1210
### SSL support
1311
###
14-
.if !empty(PKG_OPTIONS:Mssl) || !empty(PKG_OPTIONS:Mgnutls)
12+
.if !empty(PKG_OPTIONS:Mssl)
1513
CONFIGURE_ARGS+= --enable-ssl
16-
. if !empty(PKG_OPTIONS:Mssl)
17-
.include "../../security/openssl/buildlink3.mk"
18-
CONFIGURE_ARGS+= --enable-openssl
19-
CONFIGURE_ARGS+= --with-openssl-libs=${SSLBASE:Q}/lib
20-
CONFIGURE_ARGS+= --with-openssl-includes=${SSLBASE:Q}/include
21-
. else
22-
CONFIGURE_ARGS+= --disable-openssl
23-
. endif
24-
. if !empty(PKG_OPTIONS:Mgnutls)
25-
.include "../../security/gnutls/buildlink3.mk"
26-
.include "../../security/gnutls/libgnutls-config.mk"
14+
. include "../../security/gnutls/buildlink3.mk"
15+
. include "../../security/gnutls/libgnutls-config.mk"
2716
CONFIGURE_ARGS+= --enable-gnutls
28-
. else
29-
CONFIGURE_ARGS+= --disable-gnutls
30-
. endif
3117
.else
3218
CONFIGURE_ARGS+= --disable-ssl
3319
.endif

www/htmldoc/patches/patch-ab

-15
This file was deleted.

www/htmldoc/patches/patch-ac

-15
This file was deleted.

www/htmldoc/patches/patch-ad

-15
This file was deleted.

www/htmldoc/patches/patch-ae

-118
This file was deleted.

www/htmldoc/patches/patch-htmldoc_htmlsep.cxx

-15
This file was deleted.

www/htmldoc/patches/patch-aa www/htmldoc/patches/patch-htmldoc_http-addrlist.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
$NetBSD: patch-aa,v 1.7 2009/01/08 11:58:31 obache Exp $
1+
$NetBSD: patch-htmldoc_http-addrlist.c,v 1.1 2019/10/18 11:02:13 micha Exp $
22

33
Portability fix, s6_addr32 is not a standard.
44

5-
--- htmldoc/http-addrlist.c.orig 2006-06-20 15:23:49.000000000 +0000
5+
--- htmldoc/http-addrlist.c.orig 2019-10-08 18:56:34.000000000 +0000
66
+++ htmldoc/http-addrlist.c
7-
@@ -502,7 +502,7 @@ httpAddrGetList(const char *hostname, /*
7+
@@ -804,7 +804,7 @@ httpAddrGetList(const char *hostname, /*
88
# ifdef WIN32
99
temp->addr.ipv6.sin6_addr.u.Byte[15] = 1;
1010
# else

0 commit comments

Comments
 (0)