git: 7c6358e38b9a - main - www/lighttpd: update to 1.4.74

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Wed, 28 Feb 2024 22:08:27 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7c6358e38b9ad76566e34f9799a1c5d2d03ce4d0

commit 7c6358e38b9ad76566e34f9799a1c5d2d03ce4d0
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-02-28 21:30:16 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-02-28 21:43:20 +0000

    www/lighttpd: update to 1.4.74
    
    Changelog:      https://www.lighttpd.net/2024/2/19/1.4.74/
---
 www/lighttpd/Makefile | 41 ++++++++++++++---------------------------
 www/lighttpd/distinfo | 10 +++++-----
 2 files changed, 19 insertions(+), 32 deletions(-)

diff --git a/www/lighttpd/Makefile b/www/lighttpd/Makefile
index 86bf5b0e4143..adf632793244 100644
--- a/www/lighttpd/Makefile
+++ b/www/lighttpd/Makefile
@@ -1,30 +1,26 @@
-PORTNAME?=	lighttpd
-PORTVERSION=	1.4.73
-CATEGORIES?=	www
-MASTER_SITES?=	https://download.lighttpd.net/lighttpd/releases-1.4.x/
+PORTNAME=	lighttpd
+PORTVERSION=	1.4.74
+CATEGORIES=	www
+MASTER_SITES=	https://download.lighttpd.net/lighttpd/releases-1.4.x/
 
 MAINTAINER=	pkubaj@FreeBSD.org
-COMMENT?=	Secure, fast, compliant, and flexible Web Server
-WWW?=		https://www.lighttpd.net/
+COMMENT=	Secure, fast, compliant, and flexible Web Server
+WWW=		https://www.lighttpd.net/
+
+PATCH_SITES=	https://git.lighttpd.net/lighttpd/lighttpd1.4/commit/
+PATCHFILES=	106c4b147b7bc357d8764cddd0bf30fa9e8c0bf9.patch:-p1
 
-.if !defined(_BUILDING_LIGHTTPD_MODULE)
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/COPYING
-.endif
-
-LIB_DEPENDS+=	libpcre2-8.so:devel/pcre2
 
-USES=		compiler:c11 cmake localbase:ldflags pkgconfig tar:xz
+LIB_DEPENDS=	libpcre2-8.so:devel/pcre2
 
-.if !defined(_BUILDING_LIGHTTPD_MODULE)
-USES+=	cpe
-.endif
+USES=		compiler:c11 cmake cpe localbase:ldflags pkgconfig tar:xz
 
 GNU_CONFIGURE=	yes
 
-CONFIGURE_ARGS+=	--libdir=${PREFIX}/lib/lighttpd
+CONFIGURE_ARGS=	--libdir=${PREFIX}/lib/lighttpd
 
-.if !defined(_BUILDING_LIGHTTPD_MODULE)
 TEST_TARGET=	check
 
 PORTDOCS=	AUTHORS COPYING INSTALL NEWS README
@@ -116,15 +112,8 @@ CACHEDIR=	/var/cache/${PORTNAME}
 LOGDIR=		/var/log/${PORTNAME}
 HOMEDIR=	/var/run/${PORTNAME}
 RUNDIR=		/var/run
-PLIST_SUB+=	WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
-PLIST_SUB+=	CACHEDIR="${CACHEDIR}" HOMEDIR="${HOMEDIR}" LOGDIR="${LOGDIR}"
-
-.endif # !defined(_BUILDING_LIGHTTPD_MODULE)
-
-.include <bsd.port.options.mk>
-
-.if !defined(_BUILDING_LIGHTTPD_MODULE)
-
+PLIST_SUB=	WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" CACHEDIR="${CACHEDIR}" \
+		HOMEDIR="${HOMEDIR}" LOGDIR="${LOGDIR}"
 SUB_LIST=	REQUIRE="${REQUIRE}"
 
 post-patch:
@@ -170,6 +159,4 @@ post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
 
-.endif # !defined(_BUILDING_LIGHTTPD_MODULE)
-
 .include <bsd.port.mk>
diff --git a/www/lighttpd/distinfo b/www/lighttpd/distinfo
index 533a2c04d81d..30d27b691ff8 100644
--- a/www/lighttpd/distinfo
+++ b/www/lighttpd/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1698780436
-SHA256 (lighttpd-1.4.73.tar.xz) = 818816d0b314b0aa8728a7076513435f6d5eb227f3b61323468e1f10dbe84ca8
-SIZE (lighttpd-1.4.73.tar.xz) = 1086680
-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
+TIMESTAMP = 1709155634
+SHA256 (lighttpd-1.4.74.tar.xz) = 5c08736e83088f7e019797159f306e88ec729abe976dc98fb3bed71b9d3e53b5
+SIZE (lighttpd-1.4.74.tar.xz) = 1098796
+SHA256 (106c4b147b7bc357d8764cddd0bf30fa9e8c0bf9.patch) = 4d45c19fcf1fd10d223bf6af9078b8615d0e5610988d81d58db265626d7dccd7
+SIZE (106c4b147b7bc357d8764cddd0bf30fa9e8c0bf9.patch) = 1019