head 1.4; access; symbols pkgsrc-2019Q3:1.3.0.86 pkgsrc-2019Q3-base:1.3 pkgsrc-2019Q2:1.3.0.84 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.82 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.3.0.80 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.3.0.78 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.3.0.76 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.74 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.3.0.72 pkgsrc-2017Q4-base:1.3 pkgsrc-2017Q3:1.3.0.70 pkgsrc-2017Q3-base:1.3 pkgsrc-2017Q2:1.3.0.66 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.64 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.62 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.60 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.58 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.56 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.54 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.52 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.50 pkgsrc-2015Q2-base:1.3 pkgsrc-2015Q1:1.3.0.48 pkgsrc-2015Q1-base:1.3 pkgsrc-2014Q4:1.3.0.46 pkgsrc-2014Q4-base:1.3 pkgsrc-2014Q3:1.3.0.44 pkgsrc-2014Q3-base:1.3 pkgsrc-2014Q2:1.3.0.42 pkgsrc-2014Q2-base:1.3 pkgsrc-2014Q1:1.3.0.40 pkgsrc-2014Q1-base:1.3 pkgsrc-2013Q4:1.3.0.38 pkgsrc-2013Q4-base:1.3 pkgsrc-2013Q3:1.3.0.36 pkgsrc-2013Q3-base:1.3 pkgsrc-2013Q2:1.3.0.34 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.3.0.32 pkgsrc-2013Q1-base:1.3 pkgsrc-2012Q4:1.3.0.30 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.28 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.26 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.24 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.22 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.20 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.18 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.16 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.14 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.12 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.10 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.8 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.6 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.4 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.2 pkgsrc-2008Q4:1.2.0.44 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.42 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.40 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.38 pkgsrc-2008Q2-base:1.2 pkgsrc-2008Q1:1.2.0.36 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.34 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.32 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.30 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.28 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.26 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.24 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.22 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.20 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.18 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.16 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.14 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.12 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.10 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.8 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.6 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.4 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2 buildlink2-base:1.2 netbsd-1-5-PATCH003:1.1 netbsd-1-5-PATCH001:1.1; locks; strict; comment @# @; 1.4 date 2019.10.18.11.02.13; author micha; state dead; branches; next 1.3; commitid J2z969OiF2TZ3lHB; 1.3 date 2009.08.27.21.51.37; author tez; state Exp; branches 1.3.2.1; next 1.2; 1.2 date 2002.05.06.21.42.37; author seb; state dead; branches; next 1.1; 1.1 date 2001.05.13.01.16.23; author dmcmahill; state Exp; branches; next ; 1.3.2.1 date 2009.08.27.21.51.37; author tron; state dead; branches; next 1.3.2.2; 1.3.2.2 date 2009.09.01.11.54.26; author tron; state Exp; branches; next ; desc @@ 1.4 log @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 `` is written as ``. - 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 @ text @$NetBSD: patch-ab,v 1.3 2009/08/27 21:51:37 tez Exp $ Fix for Secunia Advisory: SA35780 from http://bugs.gentoo.org/attachment.cgi?id=199846 --- htmldoc/htmllib.cxx.orig 2009-08-26 20:34:51.474463400 -0500 +++ htmldoc/htmllib.cxx @@@@ -2139,7 +2139,7 @@@@ htmlLoadFontWidths(void) * assigned charset... */ - if (sscanf(line, "%*s%*s%*s%*s%f%*s%*s%s", &width, glyph) != 2) + if (sscanf(line, "%*s%*s%*s%*s%f%*s%*s%63s", &width, glyph) != 2) continue; for (ch = 0; ch < 256; ch ++) @ 1.3 log @Fix for Secunia Advisory: SA35780 from http://bugs.gentoo.org/attachment.cgi?id=199846 @ text @d1 1 a1 1 $NetBSD$ @ 1.3.2.1 log @file patch-ab was added on branch pkgsrc-2009Q2 on 2009-09-01 11:54:26 +0000 @ text @d1 15 @ 1.3.2.2 log @Pullup ticket #2880 - requested by tez htmldoc: security patch Revisions pulled up: - www/htmldoc/Makefile 1.27 via patch - www/htmldoc/distinfo 1.9 - www/htmldoc/patches/patch-ab 1.3 - www/htmldoc/patches/patch-ac 1.1 - www/htmldoc/patches/patch-ad 1.1 --- Module Name: pkgsrc Committed By: tez Date: Thu Aug 27 21:51:37 UTC 2009 Modified Files: pkgsrc/www/htmldoc: Makefile distinfo Added Files: pkgsrc/www/htmldoc/patches: patch-ab patch-ac patch-ad Log Message: Fix for Secunia Advisory: SA35780 from http://bugs.gentoo.org/attachment.cgi?id=199846 @ text @a0 15 $NetBSD$ Fix for Secunia Advisory: SA35780 from http://bugs.gentoo.org/attachment.cgi?id=199846 --- htmldoc/htmllib.cxx.orig 2009-08-26 20:34:51.474463400 -0500 +++ htmldoc/htmllib.cxx @@@@ -2139,7 +2139,7 @@@@ htmlLoadFontWidths(void) * assigned charset... */ - if (sscanf(line, "%*s%*s%*s%*s%f%*s%*s%s", &width, glyph) != 2) + if (sscanf(line, "%*s%*s%*s%*s%f%*s%*s%63s", &width, glyph) != 2) continue; for (ch = 0; ch < 256; ch ++) @ 1.2 log @Update to version 1.8.19. There are really too many changes to mention them all here, previous version of the package was 20 htmldoc versions behind! See the file CHANGES.txt in the sources for more details. Anyway you should update. As suggested in PR pkg/14557 by the package had been strongly buildlinked. This update address part of this PR. Also introduce support for another package of htmldoc with the X Windows GUI activated. @ text @d1 3 a3 1 $NetBSD: patch-ab,v 1.1 2001/05/13 01:16:23 dmcmahill Exp $ d5 5 a9 3 --- ps-pdf.cpp.orig Thu Jan 7 19:28:30 1999 +++ ps-pdf.cpp Sat May 12 21:09:09 2001 @@@@ -2807,5 +2807,5 @@@@ d11 3 a13 11 if (Verbosity) - progress_update(100 - 100 * (*y) / PagePrintLength); + progress_update((int)(100 - 100 * (*y) / PagePrintLength)); if (t->halignment == ALIGN_LEFT) @@@@ -2991,5 +2991,5 @@@@ if (Verbosity) - progress_update(100 - 100 * (*y) / PagePrintLength); + progress_update((int)(100 - 100 * (*y) / PagePrintLength)); }; d15 1 @ 1.1 log @this works on 1.5 alpha so only mark it as broken for old systems (1.3,1.4). also don't use floats as ints... @ text @d1 1 a1 1 $NetBSD$ @