1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

*/*unit*: update NGINX Unit: 1.29.1 -> 1.30.0

<ChangeLog>

*) Change: remove Unix domain listen sockets upon reconfiguration.

*) Feature: basic URI rewrite support.

*) Feature: NJS loadable modules support.

*) Feature: per-application logging.

*) Feature: conditional logging of route selection.

*) Feature: support the keys API on the request objects in NJS.

*) Feature: default values for 'make install' pathnames such as prefix;
   this allows to './configure && make && sudo make install'.

*) Feature: "server_version" setting to omit the version token from
   "Server" header field.

*) Bugfix: request header field values could be corrupted in some cases;
   the bug had appeared in 1.29.0.

*) Bugfix: PHP error handling (added missing 403 and 404 errors).

*) Bugfix: Perl applications crash on second responder call.

</ChangeLog>
This commit is contained in:
Sergey A. Osokin 2023-05-12 10:35:33 -04:00
parent c4b6c4dc6d
commit 6684134299
10 changed files with 23 additions and 19 deletions

View File

@ -37,7 +37,7 @@ PLIST_FILES+= include/nxt_auto_config.h \
lib/libunit.a
do-build:
@cd ${WRKSRC} && ${MAKE} build/libunit.a
@cd ${WRKSRC} && ${MAKE} build/lib/libunit.a
do-install:
${MAKE} -C ${WRKSRC} libunit-install DESTDIR=${STAGEDIR}

View File

@ -1,6 +1,6 @@
TIMESTAMP = 1677692680
SHA256 (unit-1.29.1.tar.gz) = 7d756cff8c1a40b38c313fdbe8748333ffce034a3916fa1b502d63cc10623437
SIZE (unit-1.29.1.tar.gz) = 906654
TIMESTAMP = 1683838848
SHA256 (unit-1.30.0.tar.gz) = 129ba1b3c4e33dfadbd38683f0634152d8ecf770cacf3af50ee50b5683dc498b
SIZE (unit-1.30.0.tar.gz) = 894843
SHA256 (classgraph-4.8.151.jar) = 4541dde48ed085345efaa5734f7bc7495c5843589a9c0a4cb9594d9c81735cec
SIZE (classgraph-4.8.151.jar) = 559654
SHA256 (ecj-3.26.0.jar) = ac0ba5876eaf7ebb47749a0d1be179c51f194b9dd0b875d1c09e1b530f5a2db5

View File

@ -26,7 +26,7 @@ do-build:
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/libexec/unit/modules/
${INSTALL_LIB} ${WRKSRC}/build/${UNIT_MODNAME}.unit.so \
${INSTALL_LIB} ${WRKSRC}/build/lib/unit/modules/${UNIT_MODNAME}.unit.so \
${STAGEDIR}${PREFIX}/libexec/unit/modules/
# Overwrite the target in the ${MASTERDIR}/Makefile

View File

@ -27,7 +27,7 @@ do-build:
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/libexec/unit/modules/
${INSTALL_LIB} ${WRKSRC}/build/${UNIT_MODNAME}.unit.so \
${INSTALL_LIB} ${WRKSRC}/build/lib/unit/modules/${UNIT_MODNAME}.unit.so \
${STAGEDIR}${PREFIX}/libexec/unit/modules/
# Overwrite the target in the ${MASTERDIR}/Makefile

View File

@ -28,7 +28,7 @@ do-build:
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/libexec/unit/modules/
${INSTALL_LIB} ${WRKSRC}/build/${UNIT_MODNAME}.unit.so \
${INSTALL_LIB} ${WRKSRC}/build/lib/unit/modules/${UNIT_MODNAME}.unit.so \
${STAGEDIR}${PREFIX}/libexec/unit/modules/
# Overwrite the target in the ${MASTERDIR}/Makefile

View File

@ -30,7 +30,7 @@ do-build:
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/libexec/unit/modules/
${INSTALL_LIB} ${WRKSRC}/build/${UNIT_MODNAME}.unit.so \
${INSTALL_LIB} ${WRKSRC}/build/lib/unit/modules/${UNIT_MODNAME}.unit.so \
${STAGEDIR}${PREFIX}/libexec/unit/modules/
# Overwrite the target in the ${MASTERDIR}/Makefile

View File

@ -51,10 +51,12 @@ UNIT_TMPDIR?= ${UNIT_VARDIR}/tmp/unit
CONFIGURE_ARGS= --prefix=${PREFIX} \
--ld-opt="-L${LOCALBASE}/lib" \
--log=${UNIT_LOGFILE} \
--modules=libexec/unit/modules \
--logdir=${UNIT_LOGDIR} \
--modulesdir=${PREFIX}/libexec/unit/modules \
--pid=${UNIT_PIDFILE} \
--state=${UNIT_DBDIR} \
--tmp=${UNIT_TMPDIR} \
--runstatedir=${UNIT_RUNDIR} \
--statedir=${UNIT_DBDIR} \
--tmpdir=${UNIT_TMPDIR} \
--user=${WWWOWN} --group=${WWWGRP}
USERS?= ${WWWOWN}
@ -84,6 +86,7 @@ CONFIGURE_ARGS+=--no-ipv6
.endif
.if ${PORT_OPTIONS:MNJS}
USES+= pkgconfig
BUILD_DEPENDS+= ${LOCALBASE}/lib/libnjs.a:devel/libnjs
CONFIGURE_ARGS+=--njs \
--cc-opt="-I${LOCALBASE}/include" \
@ -132,7 +135,8 @@ post-install:
${ECHO_CMD} @dir ${UNIT_RUNDIR} >> ${TMPPLIST}
${ECHO_CMD} @dir ${UNIT_TMPDIR} >> ${TMPPLIST}
${MKDIR} ${STAGEDIR}${PREFIX}/libexec/unit/modules
${INSTALL_MAN} ${WRKSRC}/build/unitd.8 ${STAGEDIR}${MAN8PREFIX}/share/man/man8
${INSTALL_MAN} ${WRKSRC}/build/share/man/man8/unitd.8 \
${STAGEDIR}${MAN8PREFIX}/share/man/man8
.endif
.include "../../www/unit/version.mk"

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1677622904
SHA256 (unit-1.29.1.tar.gz) = 7d756cff8c1a40b38c313fdbe8748333ffce034a3916fa1b502d63cc10623437
SIZE (unit-1.29.1.tar.gz) = 906654
TIMESTAMP = 1683828429
SHA256 (unit-1.30.0.tar.gz) = 129ba1b3c4e33dfadbd38683f0634152d8ecf770cacf3af50ee50b5683dc498b
SIZE (unit-1.30.0.tar.gz) = 894843

View File

@ -2,6 +2,6 @@
UNITVERSION_MK= defined
# Define NGINX Unit's version.
UNIT_VERSION= 1.29.1
UNIT_VERSION= 1.30.0
.endif # UNITVERSION_MK

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1677622904
SHA256 (unit-1.29.1.tar.gz) = 7d756cff8c1a40b38c313fdbe8748333ffce034a3916fa1b502d63cc10623437
SIZE (unit-1.29.1.tar.gz) = 906654
TIMESTAMP = 1683845953
SHA256 (unit-1.30.0.tar.gz) = 129ba1b3c4e33dfadbd38683f0634152d8ecf770cacf3af50ee50b5683dc498b
SIZE (unit-1.30.0.tar.gz) = 894843