pkg/60114: www/pound: Update to 4.21

"[email protected] via gnats" <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.bugs
Message-ID <[email protected]>
>Number:         60114
>Category:       pkg
>Synopsis:       www/pound: Update to 4.21
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 21 20:35:00 +0000 2026
>Originator:     Eirik Øverby
>Release:        origin/trunk, 2026-03-21
>Organization:
The Floppy Museum
>Environment:
NetBSD ppro2 11.0_RC2 NetBSD 11.0_RC2 (PPRO_OverDrive) #0: Sat Mar  7 20:29:34 CET 2026  ltning@motherfucker:/usr/home/ltning/github/NetBSD_clean/obj_i386/sys/arch/i386/compile/PPRO_OverDrive i386
>Description:
This is to update www/pound to 4.21; the current port is very old.

Adds pcre2 and lua support.
>How-To-Repeat:

>Fix:
diff --git a/www/pound/Makefile b/www/pound/Makefile
index 4221f9173..2ac4f6d16 100644
--- a/www/pound/Makefile
+++ b/www/pound/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.19 2025/03/21 23:14:11 wiz Exp $
 
-DISTNAME=	pound-4.16
+DISTNAME=	pound-4.21
 CATEGORIES=	www
 MASTER_SITES=	${MASTER_SITE_GITHUB:=graygnuorg/}
 GITHUB_TAG=	v${PKGVERSION_NOREV}
@@ -34,8 +34,9 @@ pre-configure:
 	perl md2txt.pl -l 4 README.md > README && \
 	autoreconf -fiv
 
-.include "../../devel/pcre/buildlink3.mk"
+.include "../../devel/pcre2/buildlink3.mk"
 .include "../../security/openssl/buildlink3.mk"
 CONFIGURE_ARGS+=	--with-ssl=${SSLBASE}
 .include "../../mk/pthread.buildlink3.mk"
+.include "../../lang/lua54/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/www/pound/distinfo b/www/pound/distinfo
index 13e0e8b9b..41ace1d8c 100644
--- a/www/pound/distinfo
+++ b/www/pound/distinfo
@@ -1,6 +1,6 @@
 $NetBSD: distinfo,v 1.15 2025/03/27 13:49:25 wiz Exp $
 
-BLAKE2s (pound-4.16.tar.gz) = f8a947212009b00ce84b999d8db6a0a4c1270822f8e47650b2e8172a8e25824a
-SHA512 (pound-4.16.tar.gz) = ec6e1b54341ed0e06c99828b1f90900a4af5882cf0dbf0aed9b22e8410a4ae5f84251a3be791e0f3d5ed728638e454940b98561d7c546b13aca0de74ee711400
-Size (pound-4.16.tar.gz) = 361514 bytes
+BLAKE2s (pound-4.21.tar.gz) = e3edbc54b69addcd0004b174f6aa2f11ec2553cfa2c5b90c4fc94c98b446ec09
+SHA512 (pound-4.21.tar.gz) = 982cc7785d4c4eaac7af70793e5db81797e2ee2e302683f532908de7765a1dc5c0ca19c5b9f61ff204b06d891e9d34ea5df4e6a3a0ccb4cb0bd56674a80eee35
+Size (pound-4.21.tar.gz) = 460183 bytes
 SHA1 (patch-src_mem.h) = 0dd402338ed7aec8d34ff0178a549cd394438b4a
diff --git a/www/pound/patches/patch-src_mem.h b/www/pound/patches/patch-src_mem.h
deleted file mode 100644
index bad9d2ed7..000000000
--- a/www/pound/patches/patch-src_mem.h
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-src_mem.h,v 1.4 2025/03/27 13:49:25 wiz Exp $
-
-Add header for va_list.
-Already in upstream:
-https://github.com/graygnuorg/pound/commit/c320888be33d0c75d7ab9297ae9c7f95a8e6eaca
-
---- src/mem.h.orig	2025-03-24 06:51:50.338105388 +0000
-+++ src/mem.h
-@@ -15,6 +15,8 @@
-  * along with pound.  If not, see <http://www.gnu.org/licenses/>.
-  */
- 
-+#include <stdarg.h>
-+
- void *mem2nrealloc (void *p, size_t *pn, size_t s);
- void xnomem (void);
- void *xmalloc (size_t s);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.