git: 4fe4d94248f8 - main - www/lighttpd: update to 1.4.62

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Thu, 02 Dec 2021 14:22:28 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4fe4d94248f818dfa5a6c4b7a918313cbaeb105c

commit 4fe4d94248f818dfa5a6c4b7a918313cbaeb105c
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-12-02 14:15:12 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2021-12-02 14:15:12 +0000

    www/lighttpd: update to 1.4.62
    
    Also switch to pcre2.
    
    Changelog:      https://redmine.lighttpd.net/projects/lighttpd/wiki/Release-1_4_62/
---
 www/lighttpd/Makefile | 7 ++++---
 www/lighttpd/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/www/lighttpd/Makefile b/www/lighttpd/Makefile
index 1893b74cacbb..a868fd48e571 100644
--- a/www/lighttpd/Makefile
+++ b/www/lighttpd/Makefile
@@ -1,7 +1,7 @@
 # Created by: k@123.org
 
 PORTNAME?=	lighttpd
-PORTVERSION=	1.4.61
+PORTVERSION=	1.4.62
 CATEGORIES?=	www
 MASTER_SITES?=	https://download.lighttpd.net/lighttpd/releases-1.4.x/
 
@@ -13,7 +13,7 @@ LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/COPYING
 .endif
 
-LIB_DEPENDS+=	libpcre.so:devel/pcre
+LIB_DEPENDS+=	libpcre2-8.so:devel/pcre2
 
 USES=		autoreconf compiler:c11 gmake libtool localbase pkgconfig tar:xz
 USE_CSTD=	gnu99
@@ -24,7 +24,8 @@ USES+=	cpe
 
 GNU_CONFIGURE=	yes
 
-CONFIGURE_ARGS+=	--libdir=${PREFIX}/lib/lighttpd
+CONFIGURE_ARGS+=	--libdir=${PREFIX}/lib/lighttpd \
+		--with-pcre2
 INSTALL_TARGET=	install-strip
 
 .if !defined(_BUILDING_LIGHTTPD_MODULE)
diff --git a/www/lighttpd/distinfo b/www/lighttpd/distinfo
index 1794632db9c1..d8ac4b9d5dc7 100644
--- a/www/lighttpd/distinfo
+++ b/www/lighttpd/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1635514716
-SHA256 (lighttpd-1.4.61.tar.xz) = 43f0d63d04a1b7c5b8aab07e0612e44ccad0afc0614bab784c5b019872363432
-SIZE (lighttpd-1.4.61.tar.xz) = 1010624
+TIMESTAMP = 1638448213
+SHA256 (lighttpd-1.4.62.tar.xz) = 36cf483cf34a06f7c75c724a4237d8779b0d88ce208a1742763793d317114ab7
+SIZE (lighttpd-1.4.62.tar.xz) = 1017752
 SHA256 (lighttpd-1.4.26_mod_h264_streaming-2.2.9.patch) = dc9bd6e26755cc2e3ccf6eaf8cc89e5d697f5a876f71318be67b28225368fd4e
 SIZE (lighttpd-1.4.26_mod_h264_streaming-2.2.9.patch) = 242037