Skip to content

Commit

Permalink
www/lighttpd: update to 1.4.74
Browse files Browse the repository at this point in the history
  • Loading branch information
pkubaj committed Feb 28, 2024
1 parent dd01f3b commit 7c6358e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 32 deletions.
41 changes: 14 additions & 27 deletions 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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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>
10 changes: 5 additions & 5 deletions 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

0 comments on commit 7c6358e

Please sign in to comment.