<ChangeLog> *) Feature: allow to set the HTTP response status in Wasm module. *) Feature: allow uploads larger than 4GiB in Wasm module. *) Bugfix: application process could crash while rewriting URLs with query strings. *) Bugfix: requests larger than about 64MiB could cause error in Wasm module. *) Bugfix: when using many headers in Java module some of them could be corrupted due to memory realocation issue. *) Bugfix: ServerRequest.destroy() implemented in Node.js module to make it compatible with some frameworks that might use it. *) Bugfix: chunk argument of ServerResponse.write() can now be a Uint8Array to improve compatibility with Node.js 15.0.0 and above. *) Bugfix: Node.JS unit-http NPM module now has appropriate default paths for macOS/arm64 systems. *) Bugfix: build on musl libc with clang. </ChangeLog>
33 lines
671 B
Makefile
33 lines
671 B
Makefile
PORTNAME= unitc
|
|
PORTVERSION= ${UNIT_VERSION}
|
|
CATEGORIES= www
|
|
MASTER_SITES?= https://unit.nginx.org/download/
|
|
DISTNAME= unit-${PORTVERSION}
|
|
DISTINFO_FILE= ${.CURDIR}/../../www/unit/distinfo
|
|
|
|
MAINTAINER= osa@FreeBSD.org
|
|
COMMENT= Command-line management tool for NGINX Unit
|
|
WWW= https://unit.nginx.org
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= bash>0:shells/bash \
|
|
curl:ftp/curl
|
|
|
|
CPE_VENDOR= nginx
|
|
CPE_PRODUCT= unit
|
|
|
|
USES+= cpe shebangfix
|
|
SHEBANG_FILES= tools/unitc
|
|
|
|
NO_BUILD= yes
|
|
|
|
PLIST_FILES?= bin/unitc
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/tools/unitc ${STAGEDIR}${PREFIX}/bin/
|
|
|
|
.include "../../www/unit/version.mk"
|
|
.include <bsd.port.mk>
|