diff --git a/sysutils/nginx-ui/Makefile b/sysutils/nginx-ui/Makefile index c66e0fc1ae41..71ef955e3102 100644 --- a/sysutils/nginx-ui/Makefile +++ b/sysutils/nginx-ui/Makefile @@ -1,68 +1,67 @@ PORTNAME= nginx-ui DISTVERSIONPREFIX= v -DISTVERSION= 2.3.5 -PORTREVISION= 4 +DISTVERSION= 2.4.2 CATEGORIES= sysutils MASTER_SITES= LOCAL/dtxdf/${PORTNAME}/ # For instructions on how to create assets: # https://github.com/DtxdF/port-assets-makejails/tree/main/nginx-ui DISTFILES= ${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}.frontend${EXTRACT_SUFX} \ ${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}.vendor${EXTRACT_SUFX} MAINTAINER= dtxdf@FreeBSD.org COMMENT= Yet another WebUI for Nginx WWW= https://nginxui.com LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:1.26+,modules USE_GITHUB= yes GH_ACCOUNT= 0xJacky USE_RC_SUBR= ${PORTNAME} GO_BUILDFLAGS= -ldflags "\ -X 'github.com/0xJacky/Nginx-UI/settings.buildTime=${BUILD_DATE}'" \ -tags=jsoniter SUB_FILES= pkg-message SUB_LIST= USER=${NGINXUI_USER} PLIST_SUB= GROUP=${NGINXUI_USER} \ USER=${NGINXUI_GROUP} NGINXUI_USER= root NGINXUI_GROUP= wheel BUILD_DATE= $$(date -u +%s) # Run 'git checkout ${DISTVERSIONPREFIX}${DISTVERSION} && git rev-parse HEAD' # in the NGINX UI repository to get the value of GITID. -GITID= 1a9cd29a308278173aa0f16234cb78061dd2bd42 +GITID= 5ddf4e41be7a8d8e6d3754734450a4577ad5733e post-extract: @${MKDIR} ${WRKSRC}/vendor @cd ${WRKDIR}/${PORTNAME}-vendor && ${COPYTREE_SHARE} . ${WRKSRC}/vendor @${MKDIR} ${WRKSRC}/app/dist @cd ${WRKDIR}/${PORTNAME}-frontend && ${COPYTREE_SHARE} . ${WRKSRC}/app/dist @${MV} ${WRKSRC}/app/dist/dist.tar.xz ${WRKSRC}/app/dist.tar.xz post-patch: @${REINPLACE_CMD} -e 's/newLineSymbol/"\\n"/g' \ ${WRKSRC}/vendor/github.com/imega/luaformatter/formatter/writer.go @${REINPLACE_CMD} -e 's,%%GITID%%,${GITID},g' ${WRKSRC}/cmd/version/generate.go @${RM} ${WRKSRC}/vendor/github.com/shirou/gopsutil/v4/internal/common/binary.go pre-build: @${SETENV} ${MAKE_ENV} ${GO_ENV} GOPROXY=off ${GO_CMD} generate ${WRKSRC}/cmd/version/generate.go post-install: @${MKDIR} ${STAGEDIR}/var/db/${PORTNAME} ${INSTALL_DATA} ${FILESDIR}/app.ini ${STAGEDIR}/var/db/${PORTNAME}/app.ini.sample @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${FILESDIR}/nginx-ui.conf ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${FILESDIR}/nginx.conf ${STAGEDIR}${DATADIR} @${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${STAGEDIR}${DATADIR}/nginx.conf .include diff --git a/sysutils/nginx-ui/distinfo b/sysutils/nginx-ui/distinfo index 627d50cb7cae..6193bd2fb423 100644 --- a/sysutils/nginx-ui/distinfo +++ b/sysutils/nginx-ui/distinfo @@ -1,7 +1,7 @@ -TIMESTAMP = 1774562099 -SHA256 (nginx-ui-v2.3.5.frontend.tar.gz) = 4710a4ca8d7939b28d443b921b87f5fe40bcb93c43c243d77a8b5e12e9dac328 -SIZE (nginx-ui-v2.3.5.frontend.tar.gz) = 4174232 -SHA256 (nginx-ui-v2.3.5.vendor.tar.gz) = d605efe96d10f7f82e4ce9cda322121907c44effb92d1b9cfd6cf671026177fc -SIZE (nginx-ui-v2.3.5.vendor.tar.gz) = 32168451 -SHA256 (0xJacky-nginx-ui-v2.3.5_GH0.tar.gz) = 548d818819d020bad646fd3067aa92f4ddac387d9d2a5df32bb8be78b2e5b187 -SIZE (0xJacky-nginx-ui-v2.3.5_GH0.tar.gz) = 13282584 +TIMESTAMP = 1784057854 +SHA256 (nginx-ui-v2.4.2.frontend.tar.gz) = 5fd71ea6162a7f8e81beb35d3e2356882e596e0bff0a3673b647660f2fbc484d +SIZE (nginx-ui-v2.4.2.frontend.tar.gz) = 4235019 +SHA256 (nginx-ui-v2.4.2.vendor.tar.gz) = a7c6b797d62e76cb310b347b8e5a18975086dcad7247085a67bd1e772ed726b2 +SIZE (nginx-ui-v2.4.2.vendor.tar.gz) = 32380593 +SHA256 (0xJacky-nginx-ui-v2.4.2_GH0.tar.gz) = 3f65a6577726070bec1b9cd659e7d9bc274dda5eecb81793d4045249ae75a2b4 +SIZE (0xJacky-nginx-ui-v2.4.2_GH0.tar.gz) = 13524464