pkgsrc-WIP-changes archive

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

gzip/ipv6-toolkit/litehtml: Update to newer versions



Module Name:	pkgsrc-wip
Committed By:	Marcin Gondek <drixter%e-utp.net@localhost>
Pushed By:	drixter
Date:		Sun Jun 14 14:27:49 2026 +0200
Changeset:	d16b754ac80eb2a945feb178aa34b2f055054439

Modified Files:
	Makefile
Added Files:
	gzip/COMMIT_MSG
	gzip/DESCR
	gzip/Makefile
	gzip/PLIST
	gzip/distinfo
	ipv6-toolkit/COMMIT_MSG
	ipv6-toolkit/DESCR
	ipv6-toolkit/Makefile
	ipv6-toolkit/PLIST
	ipv6-toolkit/distinfo
	litehtml/COMMIT_MSG
	litehtml/DESCR
	litehtml/Makefile
	litehtml/PLIST
	litehtml/buildlink3.mk
	litehtml/distinfo
	litehtml/patches/patch-CMakeLists.txt
	litehtml/patches/patch-cmake_litehtmlConfig.cmake

Log Message:
gzip/ipv6-toolkit/litehtml: Update to newer versions

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d16b754ac80eb2a945feb178aa34b2f055054439

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

diffstat:
 Makefile                                          |   3 +
 gzip/COMMIT_MSG                                   |  43 ++++++++
 gzip/DESCR                                        |   7 ++
 gzip/Makefile                                     |  19 ++++
 gzip/PLIST                                        |  27 +++++
 gzip/distinfo                                     |   5 +
 ipv6-toolkit/COMMIT_MSG                           | 123 ++++++++++++++++++++++
 ipv6-toolkit/DESCR                                |  20 ++++
 ipv6-toolkit/Makefile                             |  34 ++++++
 ipv6-toolkit/PLIST                                |  34 ++++++
 ipv6-toolkit/distinfo                             |   5 +
 litehtml/COMMIT_MSG                               |  58 ++++++++++
 litehtml/DESCR                                    |   6 ++
 litehtml/Makefile                                 |  34 ++++++
 litehtml/PLIST                                    |  77 ++++++++++++++
 litehtml/buildlink3.mk                            |  12 +++
 litehtml/distinfo                                 |   7 ++
 litehtml/patches/patch-CMakeLists.txt             |  28 +++++
 litehtml/patches/patch-cmake_litehtmlConfig.cmake |  13 +++
 19 files changed, 555 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 37353e5a6a..90c5dfc95e 100644
--- a/Makefile
+++ b/Makefile
@@ -1515,6 +1515,7 @@ SUBDIR+=	gwyddion
 SUBDIR+=	gxconsole
 SUBDIR+=	gxmms2
 SUBDIR+=	gzdoom
+SUBDIR+=        gzip
 SUBDIR+=	h323plus
 SUBDIR+=	h8300-elf-binutils
 SUBDIR+=	h8300-elf-gcc
@@ -1818,6 +1819,7 @@ SUBDIR+=	ipax0208font-ttf
 SUBDIR+=	ipsvd
 SUBDIR+=	iptables
 SUBDIR+=	iptstate
+SUBDIR+=        ipv6-toolkit
 SUBDIR+=	ircII-current
 SUBDIR+=	irixjoker-ai-utils
 SUBDIR+=	ironpython
@@ -2259,6 +2261,7 @@ SUBDIR+=	lisp-scripts
 SUBDIR+=	lisp-sound
 SUBDIR+=	lissac
 SUBDIR+=	litecoin
+SUBDIR+=        litehtml
 SUBDIR+=	litestream
 SUBDIR+=	lives
 SUBDIR+=	lizardfs
diff --git a/gzip/COMMIT_MSG b/gzip/COMMIT_MSG
new file mode 100644
index 0000000000..8b4d4c6e24
--- /dev/null
+++ b/gzip/COMMIT_MSG
@@ -0,0 +1,43 @@
+archivers/gzip: Update to version 1.14
+
+* Noteworthy changes in release 1.14 (2025-04-09) [stable]
+
+** Bug fixes
+  'gzip -d' no longer omits the last partial output buffer when the
+  input ends unexpectedly on an IBM Z platform.
+  [bug introduced in gzip-1.11]
+  'gzip -l' no longer misreports lengths of multimember inputs.
+  [bug introduced in gzip-1.12]
+  'gzip -S' now rejects suffixes containing '/'.
+  [bug present since the beginning]
+
+** Changes in behavior
+  The GZIP environment variable is now silently ignored except for the
+  options -1 (--fast) through -9 (--best), --rsyncable, and --synchronous.
+  This brings gzip into line with more-cautious compressors like zstd
+  that limit environment variables' effect to relatively innocuous
+  performance issues.  You can continue to use scripts to specify
+  whatever gzip options you like.
+  'zmore' is no longer installed on platforms lacking 'more'.
+
+** Performance improvements
+  gzip now decompresses significantly faster by computing CRCs via a
+  slice by 8 algorithm, and faster yet on x86-64 platforms that
+  support pclmul instructions.
+
+* Noteworthy changes in release 1.13 (2023-08-19) [stable]
+
+** Changes in behavior
+  zless now diagnoses gzip failures, if using less 623 or later.
+  When SIGPIPE is ignored, gzip now exits with status 2 (warning)
+  instead of status 1 (error) when writing to a broken pipe.  This is
+  more useful with programs like 'less' that treat gzip exit status 2
+  as a non-failure.
+
+** Bug fixes
+  'gzip -d' no longer fails to report invalid compressed data
+  that uses a dictionary distance outside the input window.
+  [bug present since the beginning]
+  Port to C23, which does not allow K&R-style function definitions
+  with parameters, and which does not define __alignas_is_defined.
+
diff --git a/gzip/DESCR b/gzip/DESCR
new file mode 100644
index 0000000000..954e456a6c
--- /dev/null
+++ b/gzip/DESCR
@@ -0,0 +1,7 @@
+GZIP (GNU zip) is a popular data compression program written by Jean-Loup
+Gailly <gzip%gnu.org@localhost> for the GNU project.
+
+This program was developed as a replacement for compress because of the UNISYS
+and IBM patents covering the LZW algorithm used by compress.  These patents
+made it impossible for us to use compress, and we needed a replacement.  The
+superior compression ratio of GZIP is just a bonus.
diff --git a/gzip/Makefile b/gzip/Makefile
new file mode 100644
index 0000000000..623f89e2f2
--- /dev/null
+++ b/gzip/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.39 2025/01/27 19:12:38 rillig Exp $
+
+DISTNAME=	gzip-1.14
+CATEGORIES=	archivers
+MASTER_SITES=	${MASTER_SITE_GNU:=gzip/}
+
+MAINTAINER=	drixter%e-utp.net@localhost
+HOMEPAGE=	https://www.gnu.org/software/gzip/gzip.html
+COMMENT=	Compress or expand files
+LICENSE=	gnu-gpl-v3
+
+CONFLICTS+=		gzip-base-[0-9]* gzip-info-[0-9]*
+
+GNU_CONFIGURE=	yes
+MAKE_FLAGS+=	manlinks=so
+INFO_FILES=	yes
+CHECK_PERMS=	no	# can't depend on checkperms; its distfile is gzipped
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/gzip/PLIST b/gzip/PLIST
new file mode 100644
index 0000000000..fc4527ae94
--- /dev/null
+++ b/gzip/PLIST
@@ -0,0 +1,27 @@
+@comment $NetBSD: PLIST,v 1.7 2007/12/21 23:57:41 rillig Exp $
+bin/gunzip
+bin/gzexe
+bin/gzip
+bin/uncompress
+bin/zcat
+bin/zcmp
+bin/zdiff
+bin/zegrep
+bin/zfgrep
+bin/zforce
+bin/zgrep
+bin/zless
+bin/zmore
+bin/znew
+info/gzip.info
+man/man1/gunzip.1
+man/man1/gzexe.1
+man/man1/gzip.1
+man/man1/zcat.1
+man/man1/zcmp.1
+man/man1/zdiff.1
+man/man1/zforce.1
+man/man1/zgrep.1
+man/man1/zless.1
+man/man1/zmore.1
+man/man1/znew.1
diff --git a/gzip/distinfo b/gzip/distinfo
new file mode 100644
index 0000000000..03a9abf43b
--- /dev/null
+++ b/gzip/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.13 2022/04/08 06:24:00 wiz Exp $
+
+BLAKE2s (gzip-1.14.tar.gz) = 5de6cb26d527288b50752441a56f4665fde652ea3460ee0b238ebe1b8ac98b44
+SHA512 (gzip-1.14.tar.gz) = 65db6f01d982a976c431d33e9725dab84fcb991c9603cb2a492a2d578a58f9ac03a14ade4b91af49e9e877d81afec61dea563cf1e599f5b2eee2087613a2d368
+Size (gzip-1.14.tar.gz) = 1369513 bytes
diff --git a/ipv6-toolkit/COMMIT_MSG b/ipv6-toolkit/COMMIT_MSG
new file mode 100644
index 0000000000..ddcc866d8f
--- /dev/null
+++ b/ipv6-toolkit/COMMIT_MSG
@@ -0,0 +1,123 @@
+security/ipv6-toolkit: Update to v2.2
+
+SI6 Networks IPv6 Toolkit 2.2
+   * All: Ensure consistency in version numbers across tools and documentation.
+   * path6: Fix bug that prevented setting TCP flags
+   * blackhole6: Fixed bug that lead to errors for paths >= 10 hops
+   * blackhole6: Polished the code
+     Removed unnecessary comments, and prevented some internal errors to make it
+     to the tool output.
+   * blackhole6: Set different default destination port numbers for TCP and UDP
+     The default UDP destination port has been changed to port 53.
+
+SI6 Networks IPv6 Toolkit v2.1 (Jan)
+   * addr6: Add support for accepting only one address per prefix
+     Option '--block-dup-preflen' was added
+   * scan6: Fix bug in smart scan
+     There was a bug in the generation of low-byte and pattern-byte addresses.
+   * scan6: Improve VMWare scans
+     We have now added vSphere and ESX server entries
+   * scan6: Fix bug in default ports
+     When port-scanning, if not range was specified, the tool would not scan
+     any ports.
+   * script6: Add alias for "get-alexa-domains"
+     Some documents were using the "get-alexa" script name (rather than
+     "get-alexa-domains") but the short name of the script had been removed.
+     Now added.
+
+SI6 Networks IPv6 Toolkit v2.0 (Guille)
+   * path6: New tool
+     Added a fully-IPv6-capable traceroute tool, named path6.
+   * script6: New tool
+     Added a new tool which incorporates new functionality and also provides
+     a shortcut to other existing tools.
+   * blackhole6: New tool
+     Added a new tool isolates IPv6 blackholes.
+   * udp6: New tool
+     Added a new tool that can send arbirary UDP/IPv6 packets.
+   * All: Fix bug when reading packets
+     lipcap "internals" together with select() would cause (at times)
+     delays when reading packets.
+   * All: Add support for Solaris
+     Solaris is now a supported platform.
+   * All: Fix bug in next hop determination
+     A bug caused, in some scenarios, the tools to fail with "cannot find
+     next hop".
+   * All: Fix support for loopback interface
+     The tools failed to set the "virtual" "Ether Proto" for packets sent
+     on the loopback interface, and hence they were discarded.
+   * All: Add support for domain names
+     All tools now support domain names in their "-d" options.
+   * addr6: Fix bug in address scope filtering
+     A bug caused address scope filters to behave incorrectly.
+   * addr6: Fix error in manual page
+     Some of the long-option names were incorrect.
+   * scan6: Fixes bug in address range computation
+     Prefixes that were not multiple of 16 resulted in bogus address ranges.
+   * scan6: Add support for port scanning
+     scan6 now implements several techniques for TCP and UDP port scanning.
+   * scan6: Add support for heuristic host scanning
+     scan6 can now automatically infer the IID type of a target and reduce
+     the search space accordingly (just "-d example.com/64" or
+     "-d IPV6ADDRESS/64".
+   * tcp6: Add TCP probe mode
+     Probe mode allows you to employ tcp6 for simple probing (e.g.,
+     port scanning)
+   * tcp6: Add "--open-mode" and "--close-mode" options
+     These two options allow you to cause a TCP connection at a remote
+     node to transition to any specific state (and hene perform e.g.,
+     FIN-WAIT-2 floods)
+   * tcp6: Add "--data" option
+     This options allows to set a specific TCP payload from the
+     command-line (e.g., an HTTP "GET" command).
+   * script6: Fix bug in get-aaaa, get-ns, and get-mx
+     Domains that had a CNAME would be skipped.
+   * frag6: Fix bug in Frag ID assessment
+     Probes are now sent every 10ms rather than in batches, to minimize packet
+     reordering.
+
+SI6 Networks IPv6 Toolkit v1.5.3
+
+   * All: Fix packet size issues
+     Many tools were using a (sometimes non-initialized) max_packet_size
+     variable, instead of the corresponding member of the idata structure.
+   * All: Add support for some Mac OS version
+     The toolkit would not compile on Lion (10.7.5) or Snow Leopard (10.6.8),
+     as a result of inconsistencies of how BYTE_ORDER-related constants were
+     (not) set in those versions of Mac OS.
+
+SI6 Networks IPv6 Toolkit v1.5.2
+
+   * All: Add support for GNU Debian/kfreebsd
+     The toolkit would not build on GNU Debian/kfreebsd before this release.
+   * tcp6: Add support for TCP/IPv6 probes
+     tcp6 can now send TCP/IPv6 packets ("--probe-mode" option), and read the
+     TCP response packets, if any. This can be leveraged for port scans, and
+     miscellaneous measurements.
+
+SI6 Networks IPv6 Toolkit v1.5.1
+   * Fix Mac OS breakage
+     libipv6.h had incorrect definitions for "struct tcp_hdr".
+
+SI6 Networks IPv6 Toolkit v1.5
+
+   * All: Improved the next-hop determination
+     Since the toolkit employs libpcap (as there is no portable way to forge
+     IPv6 addresses and do other tricks), it was relying on the user specifying
+     a network interface ("-i" was mandatory for all tools) and that routers
+     would send Router Advertisements on the local links. This not only was
+     rather inconvenient for users (specifying a network interface was not
+     warranted), but also meant that in setups where RAs where not available
+     (e.g., manual configuration), the tools would fail. The toolkit now
+     employs routing sockets (in BSDs) or Netlink (in Linux), and only uses
+     "sending RAs" as a fall-back in case of failure (IPv6 not configured on
+     the local host).
+   * All: Improved source address selection
+     This is closely related to the previous bullet.
+   * All: More code moved to libipv6
+     More and more code was moved to libipv6 and removed to the individual tool
+     source files. As with some of the above, this was painful and
+     time-consuming, but was necessary -- and in the long run it will make
+     code maintenance easier.
+   * All: libipv6 used throughout all tools
+     This was rather painful and non-exciting, but necessary.
diff --git a/ipv6-toolkit/DESCR b/ipv6-toolkit/DESCR
new file mode 100644
index 0000000000..0decf2af16
--- /dev/null
+++ b/ipv6-toolkit/DESCR
@@ -0,0 +1,20 @@
+The SI6 Networks' IPv6 toolkit is a set of IPv6
+security/trouble-shooting tools, that can send arbitrary IPv6-based
+packets.
+
+flow6:	A tool to perform a security asseessment of the IPv6 Flow Label.
+frag6:  A tool to perform IPv6 fragmentation-based attacks and to
+	perform a security assessment of a number of fragmentation-related
+	aspects.
+icmp6:	A tool to perform attacks based on ICMPv6 error messages.
+jumbo6:	A tool to assess potential flaws in the handling of IPv6 Jumbograms.
+na6:	A tool to send arbitrary Neighbor Advertisement messages.
+ni6:	A tool to send arbitrary ICMPv6 Node Information messages, and
+	assess possible flaws in the processing of such packets.
+ns6:	A tool to send arbitrary Neighbor Solicitation messages.
+ra6:	A tool to send arbitrary Router Advertisement messages.
+rd6:	A tool to send arbitrary ICMPv6 Redirect messages.
+rs6:	A tool to send arbitrary Router Solicitation messages.
+scan6:	An IPv6 address scanning tool.
+tcp6:	A tool to send arbitrary TCP segments and perform a variety of
+	TCP-based attacks.
diff --git a/ipv6-toolkit/Makefile b/ipv6-toolkit/Makefile
new file mode 100644
index 0000000000..a0d34a5596
--- /dev/null
+++ b/ipv6-toolkit/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.9 2013/09/09 06:42:44 agc Exp $
+
+DISTNAME=	ipv6toolkit-2.2
+CATEGORIES=	security net
+MASTER_SITES=	${MASTER_SITE_GITHUB:=fgont/}
+GITHUB_TAG=	refs/tags/v${PKGVERSION_NOREV}
+
+MAINTAINER=	drixter%NetBSD.org@localhost
+HOMEPAGE=	http://www.si6networks.com/tools/ipv6toolkit
+COMMENT=	IPv6 security assessment and troubleshooting tool
+LICENSE=	gnu-gpl-v3
+
+WRKSRC=	${WRKDIR}/${DISTNAME}
+
+AUTO_MKDIRS=	yes
+
+BINS=		addr6 flow6 frag6 icmp6 jumbo6 mldq6 na6 ni6 ns6 path6 ra6 rd6 rs6 scan6 tcp6 udp6
+MAN1=		addr6.1 flow6.1 frag6.1 icmp6.1 jumbo6.1 mldq6.1 na6.1 ni6.1 ns6.1 path6.1 ra6.1 rd6.1 rs6.1 scan6.1 tcp6.1 udp6.1
+MAN5=		ipv6toolkit.conf.5
+
+do-install:
+	for f in ${BINS}; do						\
+		${INSTALL_PROGRAM} ${WRKSRC}/$$f ${DESTDIR}${PREFIX}/bin/$$f; \
+	done
+	for f in ${MAN1}; do						\
+		${INSTALL_MAN} ${WRKSRC}/manuals/$$f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/$$f; \
+	done
+	for f in ${MAN5}; do						\
+		${INSTALL_MAN} ${WRKSRC}/manuals/$$f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/$$f; \
+	done
+
+.include "../../net/libpcap/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/ipv6-toolkit/PLIST b/ipv6-toolkit/PLIST
new file mode 100644
index 0000000000..e1a225b618
--- /dev/null
+++ b/ipv6-toolkit/PLIST
@@ -0,0 +1,34 @@
+@comment $NetBSD: PLIST,v 1.3 2013/09/09 06:42:44 agc Exp $
+bin/addr6
+bin/flow6
+bin/frag6
+bin/icmp6
+bin/jumbo6
+bin/mldq6
+bin/na6
+bin/ni6
+bin/ns6
+bin/path6
+bin/ra6
+bin/rd6
+bin/rs6
+bin/scan6
+bin/tcp6
+bin/udp6
+man/man1/addr6.1
+man/man1/flow6.1
+man/man1/frag6.1
+man/man1/icmp6.1
+man/man1/jumbo6.1
+man/man1/mldq6.1
+man/man1/na6.1
+man/man1/ni6.1
+man/man1/ns6.1
+man/man1/path6.1
+man/man1/ra6.1
+man/man1/rd6.1
+man/man1/rs6.1
+man/man1/scan6.1
+man/man1/tcp6.1
+man/man1/udp6.1
+man/man5/ipv6toolkit.conf.5
diff --git a/ipv6-toolkit/distinfo b/ipv6-toolkit/distinfo
new file mode 100644
index 0000000000..fc294fc1cb
--- /dev/null
+++ b/ipv6-toolkit/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.12 2021/10/26 11:17:10 nia Exp $
+
+BLAKE2s (ipv6toolkit-2.2.tar.gz) = 380610181c047df5f35830d73fb976c60e917c43f8a6ca74dc0430a65ace6397
+SHA512 (ipv6toolkit-2.2.tar.gz) = 10cd9e4ab5fa6c31b30f374fee064ab54581dc785ec42f9994d4efa7567240263aec84e2394c82a0c95f0175dbcd257f64858bfcb172c362b477a0eb52019056
+Size (ipv6toolkit-2.2.tar.gz) = 1003009 bytes
diff --git a/litehtml/COMMIT_MSG b/litehtml/COMMIT_MSG
new file mode 100644
index 0000000000..cc7a6490c3
--- /dev/null
+++ b/litehtml/COMMIT_MSG
@@ -0,0 +1,58 @@
+www/litehtml: Update v0.10
+
+
+What's Changed
+Refactoring for zero warnings by @tordex in #288
+Add specifying a working directory for tests by @u-235 in #289
+Linux container: added support for borders style by @tordex in #290
+Fixed: Negative top margin changes block height #284 by @tordex in #292
+Fix windows build issues. by @tordex in #294
+fix min/max compilation errors on Windows by @stasoid in #299
+-Wpedantic in g++ makes lots of warnings by @m32 in #300
+Common cairo container by @tordex in #302
+flex: bug in processing box-sizing in flex items (#295) by @tordex in #303
+Support standard HTML character encodings by @stasoid in #305
+Implement "prescan the byte stream to determine its encoding" by @stasoid in #307
+Gradients support by @tordex in #312
+Fix: one brake tag is 'eaten' in line with double break by @tordex in #313
+Support for default value of the var() function. by @tordex in #316
+container_cairo_pango: select font from list of available fonts by @tordex in #317
+Fixed compiler warnings produced by gcc/clang at -Wall -Wextra levels by @kobalicek in #321
+Add standard-compliant CSS parser by @stasoid in #322
+fix type selector case-sensitivity issue by @stasoid in #323
+Fix crash in html_tag::draw_background() when is_root & clip is nullptr by @asmaloney in #324
+Modernize some code based on static analysis by @asmaloney in #331
+{haiku} Fix debug output in LiteHtmlView::draw_borders() by @asmaloney in #337
+{style} Prefer brace list returns by @asmaloney in #340
+{style} Use "= default" where possible by @asmaloney in #341
+Ensure border style is initialized by @asmaloney in #342
+Add media query tests, support images in test_container by @stasoid in #348
+Tracking of mouse enter/leave events on elements via a new document_container::on_mouse_event function by @tordex in #361
+Move tests to the another repository by @tordex in #363
+Add support for the "appearance" CSS property by @juddc in #367
+update to gumbo-parser 0.12.3 by @txgk in #382
+Support for text-decoration CSS properties by @tordex in #391
+Fixed memory leaks and possible crashes by @tordex in #393
+Optimizing remove_whitespace performance by @solomonwzs in #398
+feat: Implements image click event and optimized click event logic. by @NiuGuohui in #390
+Support 'text-emphasis' css properties. by @NiuGuohui in #395
+fix: issue with border radius for inline elements calculating by @tordex in #399
+Includes refactoring using clangd by @tordex in #400
+fixed: elements with 'position:fixed' have issue with draw by @tordex in #401
+Some small fixes by @tordex in #403
+Added documentation by @tordex in #406
+Conic gradient support for the container_cairo by @tordex in #407
+Fix: url fragment is not processed correctly by @tordex in #410
+fix: incorrect baseline calculation and list markers position by @tordex in #414
+Allow building with Clang using MSVC ABI by @cristianadam in #418
+Enable processing pixel lengths as float by @DRKV333 in #415
+Fix the issue where on_button_cancel does not work when hovering by @NiuGuohui in #421
+Improve flex layout free space distribution by @DRKV333 in #422
+Fix: incorrect hover position for vertically algned elements by @tordex in #431
+Support for elements scrolling by @tordex in #442
+Fix: incorect rendering of blocks with own formatting context by @tordex in #444
+Floating engine refactor by @tordex in #457
+Fix flex item with percentage max-width collapsing below its main size (#459) by @kleuter in #460
+Fix: crash in encoding detection with clang (#454) by @tordex in #462
+Rebuild the render tree in media_changed() so display changes across breakpoints take effect by @kleuter in #461
+Do not justify the last line of a block by @tordex in #464
diff --git a/litehtml/DESCR b/litehtml/DESCR
new file mode 100644
index 0000000000..c47912e069
--- /dev/null
+++ b/litehtml/DESCR
@@ -0,0 +1,6 @@
+litehtml is a lightweight HTML rendering engine with CSS2/CSS3
+support. litehtml does not depend on any image/drawing/font
+library as it does not draw any text, pictures or other
+graphics itself. The consumer of the library can use any
+library to draw images, fonts and any other graphics. HTML
+elements are just placed into the right position by litehtml.
diff --git a/litehtml/Makefile b/litehtml/Makefile
new file mode 100644
index 0000000000..124e275fdb
--- /dev/null
+++ b/litehtml/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.7 2025/01/05 22:37:07 wiz Exp $
+
+DISTNAME=	litehtml-0.10
+CATEGORIES=	www
+MASTER_SITES=	${MASTER_SITE_GITHUB:=litehtml/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	drixter%e-utp.net@localhost
+HOMEPAGE=	http://www.litehtml.com/
+COMMENT=	Fast and lightweight HTML/CSS rendering engine
+LICENSE=	modified-bsd
+
+USE_LANGUAGES=		c c++
+USE_CC_FEATURES=	c99
+USE_CXX_FEATURES=	c++11
+
+CMAKE_CONFIGURE_ARGS+=	-DEXTERNAL_GUMBO=ON
+# Turn off testing since it installs gtest
+CMAKE_CONFIGURE_ARGS+=	-DLITEHTML_BUILD_TESTING:BOOL=OFF
+
+CMAKE_USE_GNU_INSTALL_DIRS=	no
+
+INSTALLATION_DIRS+=	share/doc/${PKGBASE}
+
+# conform with the BSD license when distributing
+post-install:
+	${INSTALL_DATA} ${WRKSRC}/LICENSE \
+		${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
+	${INSTALL_DATA} ${WRKSRC}/README.md \
+		${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
+
+.include "../../devel/cmake/build.mk"
+.include "../../www/gumbo-parser/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/litehtml/PLIST b/litehtml/PLIST
new file mode 100644
index 0000000000..3e851cf0e5
--- /dev/null
+++ b/litehtml/PLIST
@@ -0,0 +1,77 @@
+@comment $NetBSD$
+include/litehtml/background.h
+include/litehtml/borders.h
+include/litehtml/codepoint.h
+include/litehtml/css_length.h
+include/litehtml/css_margins.h
+include/litehtml/css_offsets.h
+include/litehtml/css_parser.h
+include/litehtml/css_position.h
+include/litehtml/css_properties.h
+include/litehtml/css_selector.h
+include/litehtml/css_tokenizer.h
+include/litehtml/document.h
+include/litehtml/document_container.h
+include/litehtml/el_anchor.h
+include/litehtml/el_base.h
+include/litehtml/el_before_after.h
+include/litehtml/el_body.h
+include/litehtml/el_break.h
+include/litehtml/el_cdata.h
+include/litehtml/el_comment.h
+include/litehtml/el_div.h
+include/litehtml/el_font.h
+include/litehtml/el_image.h
+include/litehtml/el_link.h
+include/litehtml/el_para.h
+include/litehtml/el_script.h
+include/litehtml/el_space.h
+include/litehtml/el_style.h
+include/litehtml/el_table.h
+include/litehtml/el_td.h
+include/litehtml/el_text.h
+include/litehtml/el_title.h
+include/litehtml/el_tr.h
+include/litehtml/element.h
+include/litehtml/encodings.h
+include/litehtml/flex_item.h
+include/litehtml/flex_line.h
+include/litehtml/font_description.h
+include/litehtml/formatting_context.h
+include/litehtml/gradient.h
+include/litehtml/html.h
+include/litehtml/html_microsyntaxes.h
+include/litehtml/html_tag.h
+include/litehtml/iterators.h
+include/litehtml/line_box.h
+include/litehtml/litehtml.h
+include/litehtml/master_css.h
+include/litehtml/media_query.h
+include/litehtml/num_cvt.h
+include/litehtml/os_types.h
+include/litehtml/render_block.h
+include/litehtml/render_block_context.h
+include/litehtml/render_flex.h
+include/litehtml/render_image.h
+include/litehtml/render_inline.h
+include/litehtml/render_inline_context.h
+include/litehtml/render_item.h
+include/litehtml/render_table.h
+include/litehtml/scroll_view.h
+include/litehtml/string_id.h
+include/litehtml/style.h
+include/litehtml/stylesheet.h
+include/litehtml/table.h
+include/litehtml/types.h
+include/litehtml/url.h
+include/litehtml/url_path.h
+include/litehtml/utf8_strings.h
+include/litehtml/web_color.h
+lib/cmake/litehtml/litehtmlConfig.cmake
+lib/cmake/litehtml/litehtmlTargets-noconfig.cmake
+lib/cmake/litehtml/litehtmlTargets.cmake
+lib/liblitehtml.so
+lib/liblitehtml.so.0
+lib/liblitehtml.so.0.0.0
+share/doc/litehtml/LICENSE
+share/doc/litehtml/README.md
diff --git a/litehtml/buildlink3.mk b/litehtml/buildlink3.mk
new file mode 100644
index 0000000000..e2ad3c3aaf
--- /dev/null
+++ b/litehtml/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.2 2024/02/10 11:03:14 wiz Exp $
+
+BUILDLINK_TREE+=	litehtml
+
+.if !defined(LITEHTML_BUILDLINK3_MK)
+LITEHTML_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.litehtml+=	litehtml>=0.9
+BUILDLINK_PKGSRCDIR.litehtml?=		../../www/litehtml
+.endif	# LITEHTML_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-litehtml
diff --git a/litehtml/distinfo b/litehtml/distinfo
new file mode 100644
index 0000000000..0ad6e6f841
--- /dev/null
+++ b/litehtml/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.4 2024/02/10 11:03:14 wiz Exp $
+
+BLAKE2s (litehtml-0.10.tar.gz) = 921fc2d6edc973d5c9781deedb2ea6c9c3bf9c1220a1a619b4c7b1dca2019aac
+SHA512 (litehtml-0.10.tar.gz) = e561ae14711d740a966255a2d0a392864181829f8fc24891d337b8fd892368e0c34f2be617a5437b034cc42474ad770f63774d4e27640fa43f794b9d03f660fc
+Size (litehtml-0.10.tar.gz) = 820656 bytes
+SHA1 (patch-CMakeLists.txt) = 78417c46188b97d99d05f73ce6f74bf92e55692c
+SHA1 (patch-cmake_litehtmlConfig.cmake) = 0b84f06f87a0c386eefe01d98c8829a122152d98
diff --git a/litehtml/patches/patch-CMakeLists.txt b/litehtml/patches/patch-CMakeLists.txt
new file mode 100644
index 0000000000..732391b887
--- /dev/null
+++ b/litehtml/patches/patch-CMakeLists.txt
@@ -0,0 +1,28 @@
+$NetBSD$
+
+* create shared library
+* Use PRIVATE instead of PUBLIC keyword since we use
+  dynamic linking and don't want -lgumbo if requesting
+  linkage to litehtml via cmake.
+
+
+--- CMakeLists.txt.orig	2026-06-14 12:09:51.093123674 +0000
++++ CMakeLists.txt
+@@ -162,7 +162,7 @@ else()
+ 	add_compile_options(-Wall -Wextra -Wpedantic -Wfloat-conversion)
+ endif()
+ 
+-add_library(${PROJECT_NAME} ${HEADER_LITEHTML} ${SOURCE_LITEHTML})
++add_library(${PROJECT_NAME} SHARED ${HEADER_LITEHTML} ${SOURCE_LITEHTML})
+ set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${PROJECT_LIB_VERSION} SOVERSION ${PROJECT_SO_VERSION})
+ 
+ set_target_properties(${PROJECT_NAME} PROPERTIES
+@@ -179,7 +179,7 @@ target_include_directories(${PROJECT_NAM
+ target_include_directories(${PROJECT_NAME} PRIVATE include/${PROJECT_NAME})
+ 
+ # Gumbo
+-target_link_libraries(${PROJECT_NAME} PUBLIC gumbo)
++target_link_libraries(${PROJECT_NAME} PRIVATE gumbo)
+ 
+ # install and export
+ install(TARGETS ${PROJECT_NAME}
diff --git a/litehtml/patches/patch-cmake_litehtmlConfig.cmake b/litehtml/patches/patch-cmake_litehtmlConfig.cmake
new file mode 100644
index 0000000000..84531f98c8
--- /dev/null
+++ b/litehtml/patches/patch-cmake_litehtmlConfig.cmake
@@ -0,0 +1,13 @@
+$NetBSD: patch-cmake_litehtmlConfig.cmake,v 1.1 2022/11/30 10:24:35 nros Exp $
+
+* The gumbo package does not install cmake packages so this line breaks
+  find_package(litehtml) . This line is not needed when litehtml is used
+  as a shared library.
+
+--- cmake/litehtmlConfig.cmake.orig	2021-09-03 06:59:31.000000000 +0000
++++ cmake/litehtmlConfig.cmake
+@@ -1,3 +1,3 @@
+ include(CMakeFindDependencyMacro)
+-find_dependency(gumbo)
++#find_dependency(gumbo)
+ include(${CMAKE_CURRENT_LIST_DIR}/litehtmlTargets.cmake)


Home | Main Index | Thread Index | Old Index