head 1.3; access; symbols pkgsrc-2026Q1:1.2.0.2 pkgsrc-2026Q1-base:1.2; locks; strict; comment @ * @; 1.3 date 2026.05.01.19.28.09; author hauke; state dead; branches; next 1.2; commitid RRIY5jTBrJJu89EG; 1.2 date 2026.03.13.21.09.18; author hauke; state Exp; branches; next 1.1; commitid RVXd8fm76mF1hRxG; 1.1 date 2026.03.13.21.02.50; author hauke; state Exp; branches; next ; commitid L7gdBE5583uieRxG; desc @@ 1.3 log @www/hiawatha: Update to v12.1 From upstream's changelog: hiawatha (12.1) stable; urgency=low * Added support for HTTP/2 via nghttp2. Credits to Heiko Zimmerman. Test carefully before enabling on production servers. * mbed TLS updated to 4.1.0. * Removed ssi-cgi. Check out Hiawatha's XSLT support for a more advanced alternative. * Small bugfixes and improvements. @ text @$NetBSD: patch-mbedtls_tf-psa-crypto_drivers_builtin_src_platform__util.c,v 1.2 2026/03/13 21:09:18 hauke Exp $ Fix build on NetBSD (from security/mbedtls4) --- mbedtls/tf-psa-crypto/drivers/builtin/src/platform_util.c.orig 2026-03-12 19:02:22.000000000 +0000 +++ mbedtls/tf-psa-crypto/drivers/builtin/src/platform_util.c @@@@ -11,7 +11,7 @@@@ * mbedtls_config.h, which pulls in glibc's features.h. Harmless on other platforms * except OpenBSD, where it stops us accessing explicit_bzero. */ -#if !defined(_POSIX_C_SOURCE) && !defined(__OpenBSD__) +#if !defined(_POSIX_C_SOURCE) && !defined(__OpenBSD__) && !defined(__NetBSD__) #define _POSIX_C_SOURCE 200112L #endif @ 1.2 log @Adopt NetBSD build fix from security/mbedtls4. @ text @d1 1 a1 1 $NetBSD: patch-mbedtls_tf-psa-crypto_drivers_builtin_src_platform__util.c,v 1.1 2026/03/13 21:02:50 hauke Exp $ @ 1.1 log @www/hiawatha -- update to v12.0 From upstream's changelog: hiawatha (12.0) stable; urgency=low mbed TLS updated to 4.0.0. Thanks to Heiko Zimmermann. Replaced strcpy() with strlcpy() and sprintf() with snprintf(). Thanks to Heiko Zimmermann. Added OS sandbox. Credits to Heiko Zimmermann. Removed DHsize option. Known bug: mbed TLS v4.0.0 doesn't compile in Cygwin, so building a Windows package is not possible. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 Make devmajor_t and friends available on NetBSD for KERN_ARND support d7 7 a13 2 @@@@ -20,6 +20,10 @@@@ #define _GNU_SOURCE a15 7 +#if defined(__NetBSD__) +#define _NETBSD_SOURCE +#endif + #include "tf_psa_crypto_common.h" #include "mbedtls/platform_util.h" @