Thu Jun 2 17:04:31 2022 UTC ()
www/unit*: update to 1.27.0

<ChangeLog>

*) Feature: ability to specify a custom index file name when serving
   static files.

*) Feature: variables support in the "location" option of the "return"
   action.

*) Feature: support empty strings in the "location" option of the
   "return" action.

*) Feature: added a new variable, $request_uri, that includes both the
   path and the query parts as per RFC 3986, sections 3-4.

*) Feature: Ruby Rack environment parameter "SCRIPT_NAME" support.

*) Feature: compatibility with GCC 12.

*) Bugfix: Ruby Sinatra applications don't work without custom logging.

*) Bugfix: the controller process could crash when a chain of more than
   four certificates was uploaded.

*) Bugfix: some Perl applications failed to process the request body,
   notably with Plack.

*) Bugfix: some Spring Boot applications failed to start, notably with
   Grails.

*) Bugfix: incorrect Python protocol auto detection (ASGI or WSGI) for
   native callable object, notably with Falcon.

*) Bugfix: ECMAScript modules did not work with the recent Node.js
   versions.

</ChangeLog>


(osa)
diff -r1.8 -r1.9 pkgsrc/www/unit/distinfo
diff -r1.4 -r1.5 pkgsrc/www/unit/version.mk
diff -r1.4 -r1.5 pkgsrc/www/unit-perl/Makefile

cvs diff -r1.8 -r1.9 pkgsrc/www/unit/distinfo (expand / switch to unified diff)

--- pkgsrc/www/unit/distinfo 2021/12/13 23:10:22 1.8
+++ pkgsrc/www/unit/distinfo 2022/06/02 17:04:31 1.9
@@ -1,12 +1,12 @@ @@ -1,12 +1,12 @@
1$NetBSD: distinfo,v 1.8 2021/12/13 23:10:22 gutteridge Exp $ 1$NetBSD: distinfo,v 1.9 2022/06/02 17:04:31 osa Exp $
2 2
3BLAKE2s (unit-1.26.1.tar.gz) = 0f04392b663019aadd40213b0cc6342e9077c3324f9348e9f59a909db31a1d3c 3BLAKE2s (unit-1.27.0.tar.gz) = 76f22e36ff5b3bb5723be2c417247a7b47f6820c5f21daed45fa2abe369da264
4SHA512 (unit-1.26.1.tar.gz) = 1caadb35cb208067a5d437e1f649c9f9a833a39c4344b2c3a5ae94d9fcd811913e2f23114cf8d7886030306e036da18c55f09044b8a575c1616568321b8d84ec 4SHA512 (unit-1.27.0.tar.gz) = 2f34ceccc966bffb790e3149f02c3769f6a41e6bb3cbaf4c5a9bcc512d9f1baf919e13b6d87fa29885561a449f72afd32b771206aa5d71daff9604bdbd7725a6
5Size (unit-1.26.1.tar.gz) = 865811 bytes 5Size (unit-1.27.0.tar.gz) = 871783 bytes
6SHA1 (patch-auto_events) = 0347dfefbedaacd206c8c2bfd8ea38b18995dd9f 6SHA1 (patch-auto_events) = 0347dfefbedaacd206c8c2bfd8ea38b18995dd9f
7SHA1 (patch-auto_os_conf) = 6d1cd7aef662a60d4288014eb6fadbe8c1268e55 7SHA1 (patch-auto_os_conf) = 6d1cd7aef662a60d4288014eb6fadbe8c1268e55
8SHA1 (patch-auto_shmem) = cb37c368c19205c2cc1750f4a847af23be8bfa25 8SHA1 (patch-auto_shmem) = cb37c368c19205c2cc1750f4a847af23be8bfa25
9SHA1 (patch-src_nxt__kqueue__engine.c) = c341425f4b21d4cff6e003958f88a04b53dc4ee1 9SHA1 (patch-src_nxt__kqueue__engine.c) = c341425f4b21d4cff6e003958f88a04b53dc4ee1
10SHA1 (patch-src_nxt__php__sapi.c) = 2d5e557ff2066bec78f5bfbca6a64688f60da01b 10SHA1 (patch-src_nxt__php__sapi.c) = 2d5e557ff2066bec78f5bfbca6a64688f60da01b
11SHA1 (patch-src_nxt__unix.h) = c0db5bc4d9c45a3ead48627567284d8b3041b0a0 11SHA1 (patch-src_nxt__unix.h) = c0db5bc4d9c45a3ead48627567284d8b3041b0a0
12SHA1 (patch-src_nxt__websocket__header.h) = 1b50405b187cc8a662372a1c20ab7737278135ae 12SHA1 (patch-src_nxt__websocket__header.h) = 1b50405b187cc8a662372a1c20ab7737278135ae

cvs diff -r1.4 -r1.5 pkgsrc/www/unit/version.mk (expand / switch to unified diff)

--- pkgsrc/www/unit/version.mk 2021/12/03 01:05:21 1.4
+++ pkgsrc/www/unit/version.mk 2022/06/02 17:04:31 1.5
@@ -1,20 +1,20 @@ @@ -1,20 +1,20 @@
1# $NetBSD: version.mk,v 1.4 2021/12/03 01:05:21 gutteridge Exp $ 1# $NetBSD: version.mk,v 1.5 2022/06/02 17:04:31 osa Exp $
2# 2#
3# UNIT_EXTENSION_DIR 3# UNIT_EXTENSION_DIR
4# Relative path to ${PREFIX} for NGINX Unit's modules. 4# Relative path to ${PREFIX} for NGINX Unit's modules.
5# 5#
6# Example: libexec/unit/modules 6# Example: libexec/unit/modules
7# 7#
8# Keywords: unit 8# Keywords: unit
9# 9#
10 10
11.if !defined(UNITVERSION_MK) 11.if !defined(UNITVERSION_MK)
12UNITVERSION_MK= defined 12UNITVERSION_MK= defined
13 13
14# Define NGINX Unit's version. 14# Define NGINX Unit's version.
15UNIT_VERSION= 1.26.1 15UNIT_VERSION= 1.27.0
16 16
17# Define NGINX Unit's modules directory 17# Define NGINX Unit's modules directory
18UNIT_EXTENSION_DIR= libexec/unit/modules 18UNIT_EXTENSION_DIR= libexec/unit/modules
19 19
20.endif # UNITVERSION_MK 20.endif # UNITVERSION_MK

cvs diff -r1.4 -r1.5 pkgsrc/www/unit-perl/Makefile (expand / switch to unified diff)

--- pkgsrc/www/unit-perl/Makefile 2022/02/23 04:24:37 1.4
+++ pkgsrc/www/unit-perl/Makefile 2022/06/02 17:04:31 1.5
@@ -1,17 +1,16 @@ @@ -1,17 +1,16 @@
1# $NetBSD: Makefile,v 1.4 2022/02/23 04:24:37 osa Exp $ 1# $NetBSD: Makefile,v 1.5 2022/06/02 17:04:31 osa Exp $
2 2
3PKGNAME= unit-${LANG}-${UNIT_VERSION} 3PKGNAME= unit-${LANG}-${UNIT_VERSION}
4PKGREVISION= 1 
5COMMENT= Perl module for NGINX Unit 4COMMENT= Perl module for NGINX Unit
6 5
7LANG= perl 6LANG= perl
8MODNAME= ${LANG} 7MODNAME= ${LANG}
9 8
10MAINTAINER= osa@NetBSD.org 9MAINTAINER= osa@NetBSD.org
11 10
12USE_TOOLS+= perl 11USE_TOOLS+= perl
13 12
14post-configure: 13post-configure:
15 ${RUN} cd ${WRKSRC} && ${PKGSRC_SETENV} ${_CONFIGURE_SCRIPT_ENV} \ 14 ${RUN} cd ${WRKSRC} && ${PKGSRC_SETENV} ${_CONFIGURE_SCRIPT_ENV} \
16 ${CONFIG_SHELL} ${CONFIG_SHELL_FLAGS} ${CONFIGURE_SCRIPT} \ 15 ${CONFIG_SHELL} ${CONFIG_SHELL_FLAGS} ${CONFIGURE_SCRIPT} \
17 ${LANG} --module=${MODNAME} 16 ${LANG} --module=${MODNAME}