pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/htmldoc



Module Name:    pkgsrc
Committed By:   micha
Date:           Fri Oct 18 11:02:13 UTC 2019

Modified Files:
        pkgsrc/www/htmldoc: Makefile Makefile.common distinfo options.mk
Added Files:
        pkgsrc/www/htmldoc/patches: patch-htmldoc_http-addrlist.c
Removed Files:
        pkgsrc/www/htmldoc/patches: patch-aa patch-ab patch-ac patch-ad
            patch-ae patch-htmldoc_htmlsep.cxx

Log Message:
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 `­` 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


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 pkgsrc/www/htmldoc/Makefile
cvs rdiff -u -r1.14 -r1.15 pkgsrc/www/htmldoc/Makefile.common
cvs rdiff -u -r1.13 -r1.14 pkgsrc/www/htmldoc/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/www/htmldoc/options.mk
cvs rdiff -u -r1.7 -r0 pkgsrc/www/htmldoc/patches/patch-aa
cvs rdiff -u -r1.3 -r0 pkgsrc/www/htmldoc/patches/patch-ab
cvs rdiff -u -r1.1 -r0 pkgsrc/www/htmldoc/patches/patch-ac \
    pkgsrc/www/htmldoc/patches/patch-ad \
    pkgsrc/www/htmldoc/patches/patch-htmldoc_htmlsep.cxx
cvs rdiff -u -r1.2 -r0 pkgsrc/www/htmldoc/patches/patch-ae
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/www/htmldoc/patches/patch-htmldoc_http-addrlist.c

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

Modified files:

Index: pkgsrc/www/htmldoc/Makefile
diff -u pkgsrc/www/htmldoc/Makefile:1.45 pkgsrc/www/htmldoc/Makefile:1.46
--- pkgsrc/www/htmldoc/Makefile:1.45    Sat Jul 20 22:46:55 2019
+++ pkgsrc/www/htmldoc/Makefile Fri Oct 18 11:02:13 2019
@@ -1,8 +1,6 @@
-# $NetBSD: Makefile,v 1.45 2019/07/20 22:46:55 wiz Exp $
+# $NetBSD: Makefile,v 1.46 2019/10/18 11:02:13 micha Exp $
 
-PKGREVISION=   17
-
-CONFIGURE_ARGS+=       --without-gui --without-x
+CONFIGURE_ARGS+=       --without-gui
 
 .include "${.CURDIR}/Makefile.common"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/www/htmldoc/Makefile.common
diff -u pkgsrc/www/htmldoc/Makefile.common:1.14 pkgsrc/www/htmldoc/Makefile.common:1.15
--- pkgsrc/www/htmldoc/Makefile.common:1.14     Fri Dec 30 12:54:20 2016
+++ pkgsrc/www/htmldoc/Makefile.common  Fri Oct 18 11:02:13 2019
@@ -1,22 +1,23 @@
-# $NetBSD: Makefile.common,v 1.14 2016/12/30 12:54:20 wiz Exp $
+# $NetBSD: Makefile.common,v 1.15 2019/10/18 11:02:13 micha Exp $
 #
 # used by www/htmldoc/Makefile
 # used by www/htmldoc-x11/Makefile
 
 # This section contains variables that might be overridden.
-PKGNAME?=      ${PKGNAME_BASE}
+PKGNAME?=      ${PKGNAME_BASE}-${VERSION}
 COMMENT?=      Converts HTML to indexed HTML, PDF and/or PostScript
 
 # Normal package Makefile contents follow.
-VERSION=       1.8.27
-DISTNAME=      htmldoc-${VERSION}-source
-PKGNAME_BASE=  ${DISTNAME:S/-source//}
+VERSION=       1.9.7
+PKGNAME_BASE=  htmldoc
 CATEGORIES=    www
-MASTER_SITES=  ftp://ftp.easysw.com/pub/htmldoc/${PKGVERSION_NOREV}/
-EXTRACT_SUFX=  .tar.bz2
+DIST_SUBDIR=   ${PKGNAME_BASE}
+DISTNAME=      v${VERSION}
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=michaelrsweet/htmldoc/archive/}
+EXTRACT_USING= bsdtar
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-#HOMEPAGE=     http://www.htmldoc.org/
+HOMEPAGE=      https://www.msweet.org/htmldoc/
 LICENSE=       gnu-gpl-v2
 
 PATCHDIR=              ${.CURDIR}/../../www/htmldoc/patches
@@ -25,14 +26,10 @@ PLIST_SRC=          ${.CURDIR}/../../www/htmldoc
 
 .include "${.CURDIR}/../../www/htmldoc/options.mk"
 
-WRKSRC=                        ${WRKDIR}/${DISTNAME:S/-source//}
+WRKSRC=                        ${WRKDIR}/${PKGNAME_BASE}-${PKGVERSION_NOREV}
 GNU_CONFIGURE=         yes
 USE_LANGUAGES=         c c++
 
-INSTALL_MAKE_FLAGS+=   bindir=${DESTDIR}${PREFIX}/bin
-INSTALL_MAKE_FLAGS+=   datadir=${DESTDIR}${PREFIX}/share
-INSTALL_MAKE_FLAGS+=   mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}
-
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../mk/jpeg.buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"

Index: pkgsrc/www/htmldoc/distinfo
diff -u pkgsrc/www/htmldoc/distinfo:1.13 pkgsrc/www/htmldoc/distinfo:1.14
--- pkgsrc/www/htmldoc/distinfo:1.13    Sat Dec 17 14:20:14 2016
+++ pkgsrc/www/htmldoc/distinfo Fri Oct 18 11:02:13 2019
@@ -1,12 +1,7 @@
-$NetBSD: distinfo,v 1.13 2016/12/17 14:20:14 joerg Exp $
+$NetBSD: distinfo,v 1.14 2019/10/18 11:02:13 micha Exp $
 
-SHA1 (htmldoc-1.8.27-source.tar.bz2) = 472908e0aafed1cedfbacd8ed3168734aebdec4b
-RMD160 (htmldoc-1.8.27-source.tar.bz2) = 9605a5894675439f5fae405fb060972e19f33c7e
-SHA512 (htmldoc-1.8.27-source.tar.bz2) = f0b2b6fec4925e549e74d6721f15b5de00c8c4889b0c67689945c408ed88074acb1330cae155655a1986adc0ca549cea32e242aa1ecac8e6338a1739f7c85438
-Size (htmldoc-1.8.27-source.tar.bz2) = 3960271 bytes
-SHA1 (patch-aa) = 92de5e1e4761ffe2d117004b2a38ec52edb33d7c
-SHA1 (patch-ab) = 22add1402202fed917a79ce67963cb282ca46f87
-SHA1 (patch-ac) = bf9036087e03095d51ee064e1f193c899848adff
-SHA1 (patch-ad) = 94e5f10387ede380b7579392e41234ff832f1295
-SHA1 (patch-ae) = 1d77dd5120605881e83bf31ee07fa9fd73619cd3
-SHA1 (patch-htmldoc_htmlsep.cxx) = be66659cc83047ced67e2c73af9f4052962cdc50
+SHA1 (htmldoc/v1.9.7.tar.gz) = c2c3c6a73dfc2bd779bb186b0497eb8de28b25b7
+RMD160 (htmldoc/v1.9.7.tar.gz) = 18908dcd30e36eb1fcdf208146ca704f391b382a
+SHA512 (htmldoc/v1.9.7.tar.gz) = e9481d32318902b5179f8d2dbaa382bcb0084bf3cc57958f8f05f52be5019ab54da5c265bbb674ca8808198c35d04bf19ad2149c2add18cfb630e66a2b9dc8f2
+Size (htmldoc/v1.9.7.tar.gz) = 4502752 bytes
+SHA1 (patch-htmldoc_http-addrlist.c) = 7c2db39b43cdbb31da0d884fbbba63e2ab258354

Index: pkgsrc/www/htmldoc/options.mk
diff -u pkgsrc/www/htmldoc/options.mk:1.4 pkgsrc/www/htmldoc/options.mk:1.5
--- pkgsrc/www/htmldoc/options.mk:1.4   Fri Dec 30 12:54:20 2016
+++ pkgsrc/www/htmldoc/options.mk       Fri Oct 18 11:02:13 2019
@@ -1,9 +1,7 @@
-# $NetBSD: options.mk,v 1.4 2016/12/30 12:54:20 wiz Exp $
+# $NetBSD: options.mk,v 1.5 2019/10/18 11:02:13 micha Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.htmldoc
-PKG_SUPPORTED_OPTIONS=         # empty
-PKG_OPTIONS_OPTIONAL_GROUPS=   ssl
-PKG_OPTIONS_GROUP.ssl=         gnutls ssl
+PKG_SUPPORTED_OPTIONS=         ssl
 PKG_SUGGESTED_OPTIONS=         ssl
 
 .include "../../mk/bsd.options.mk"
@@ -11,23 +9,11 @@ PKG_SUGGESTED_OPTIONS=               ssl
 ###
 ### SSL support
 ###
-.if !empty(PKG_OPTIONS:Mssl) || !empty(PKG_OPTIONS:Mgnutls)
+.if !empty(PKG_OPTIONS:Mssl)
 CONFIGURE_ARGS+=       --enable-ssl
-.  if !empty(PKG_OPTIONS:Mssl)
-.include "../../security/openssl/buildlink3.mk"
-CONFIGURE_ARGS+=       --enable-openssl
-CONFIGURE_ARGS+=       --with-openssl-libs=${SSLBASE:Q}/lib
-CONFIGURE_ARGS+=       --with-openssl-includes=${SSLBASE:Q}/include
-.  else
-CONFIGURE_ARGS+=       --disable-openssl
-.  endif
-.  if !empty(PKG_OPTIONS:Mgnutls)
-.include "../../security/gnutls/buildlink3.mk"
-.include "../../security/gnutls/libgnutls-config.mk"
+.  include "../../security/gnutls/buildlink3.mk"
+.  include "../../security/gnutls/libgnutls-config.mk"
 CONFIGURE_ARGS+=       --enable-gnutls
-.  else
-CONFIGURE_ARGS+=       --disable-gnutls
-.  endif
 .else
 CONFIGURE_ARGS+=       --disable-ssl
 .endif

Added files:

Index: pkgsrc/www/htmldoc/patches/patch-htmldoc_http-addrlist.c
diff -u /dev/null pkgsrc/www/htmldoc/patches/patch-htmldoc_http-addrlist.c:1.1
--- /dev/null   Fri Oct 18 11:02:13 2019
+++ pkgsrc/www/htmldoc/patches/patch-htmldoc_http-addrlist.c    Fri Oct 18 11:02:13 2019
@@ -0,0 +1,15 @@
+$NetBSD: patch-htmldoc_http-addrlist.c,v 1.1 2019/10/18 11:02:13 micha Exp $
+
+Portability fix, s6_addr32 is not a standard.
+
+--- htmldoc/http-addrlist.c.orig       2019-10-08 18:56:34.000000000 +0000
++++ htmldoc/http-addrlist.c
+@@ -804,7 +804,7 @@ httpAddrGetList(const char *hostname,      /*
+ #  ifdef WIN32
+       temp->addr.ipv6.sin6_addr.u.Byte[15]   = 1;
+ #  else
+-      temp->addr.ipv6.sin6_addr.s6_addr32[3] = htonl(1);
++      temp->addr.ipv6.sin6_addr.s6_addr[15] = 1;
+ #  endif /* WIN32 */
+ 
+         if (!first)



Home | Main Index | Thread Index | Old Index