1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

Update from 1.20.0 to 1.21.0.

<ChangeLog>

*) Change: procfs is mounted by default for all languages when "rootfs"
   isolation is used.

*) Change: any characters valid according to RFC 7230 are now allowed in
   HTTP header field names.

*) Change: HTTP header fields with underscores ("_") are now discarded
   from requests by default.

*) Feature: optional multithreaded request processing for Java, Python,
   Perl, and Ruby apps.

*) Feature: regular expressions in route matching patterns.

*) Feature: compatibility with Python 3.9.

*) Feature: the Python module now supports ASGI 2.0 legacy applications.

*) Feature: the "protocol" option in Python applications aids choice
   between ASGI and WSGI.

*) Feature: the fastcgi_finish_request() PHP function that finalizes
   request processing and continues code execution without holding onto
   the client connection.

*) Feature: the "discard_unsafe_fields" HTTP option that enables
   discarding request header fields with irregular (but still valid)
   characters in the field name.

*) Feature: the "procfs" and "tmpfs" automount isolation options to
   disable automatic mounting of eponymous filesystems.

*) Bugfix: the router process could crash when running Go applications
   under high load; the bug had appeared in 1.19.0.

*) Bugfix: some language dependencies could remain mounted after using
   "rootfs" isolation.

*) Bugfix: various compatibility issues in Java applications.

*) Bugfix: the Java module built with the musl C library couldn't run
   applications that use "rootfs" isolation.

</ChangeLog>
This commit is contained in:
Sergey A. Osokin 2020-11-19 20:31:33 +00:00
parent 3d3dbf1cd7
commit 38a3d22e15
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=555714
6 changed files with 49 additions and 42 deletions

View File

@ -42,11 +42,11 @@ COMMENT= Java module for NGINX Unit
RUN_DEPENDS= unitd:www/unit
UNIT_MODNAME= java${JAVA_PORT_VERSION}
CLASSGRAPH_VERSION= 4.4.11
ECJ_VERSION= 3.13.102
JETTY_VERSION= 9.4.12.v20180830
TOMCAT_VERSION= 9.0.13
UNIT_VERSION= 1.20.0
CLASSGRAPH_VERSION= 4.8.90
ECJ_VERSION= 3.23.0
JETTY_VERSION= 9.4.33.v20201020
TOMCAT_VERSION= 9.0.39
UNIT_VERSION= 1.21.0
PLIST_FILES= libexec/unit/modules/${UNIT_MODNAME}.unit.so \
%%JAVAJARDIR%%/classgraph-${CLASSGRAPH_VERSION}.jar \
@ -68,6 +68,7 @@ PLIST_FILES= libexec/unit/modules/${UNIT_MODNAME}.unit.so \
USE_JAVA= yes
JAVA_VERSION= 8+
#JAVA_VERSION= 8 11 12 13 14 15
USE_RC_SUBR?= # reset to empty

View File

@ -1,31 +1,31 @@
TIMESTAMP = 1603377477
SHA256 (unit-1.20.0.tar.gz) = ee39a801f83aff5dfff94336f688fd9cfbd02fee270edd8711b10be4fe298d32
SIZE (unit-1.20.0.tar.gz) = 787607
SHA256 (tomcat-servlet-api-9.0.13.jar) = fa3a1033f9dc667ee9ebd73730c7a77d4d4fc0be308ab9bfce4712bd8b53a230
SIZE (tomcat-servlet-api-9.0.13.jar) = 282576
SHA256 (tomcat-el-api-9.0.13.jar) = dca3f1ea1c74d0405dc878756a5220504158e4e12d5fd1f6e04b9e816859736c
SIZE (tomcat-el-api-9.0.13.jar) = 87515
SHA256 (tomcat-jsp-api-9.0.13.jar) = adbd132ea8e3fb9e5ae8f4e3e6a7e5f1165334dbaaeef21df448e72d5682240d
SIZE (tomcat-jsp-api-9.0.13.jar) = 63167
SHA256 (tomcat-jasper-9.0.13.jar) = 75857eb4f272a0b9ebacc613ac206bbfae2bc0206f4dc436af9e9aef49434b60
SIZE (tomcat-jasper-9.0.13.jar) = 557374
SHA256 (tomcat-jasper-el-9.0.13.jar) = c5c4adf83900eb254933ab18bec442050241324143a80339c9a11dafa83d85fe
SIZE (tomcat-jasper-el-9.0.13.jar) = 167490
SHA256 (tomcat-juli-9.0.13.jar) = a5dbeb4cb972ab2b48e74ada1248a88baccade811b4c3d1a93b5f2dcdeb405b2
SIZE (tomcat-juli-9.0.13.jar) = 47122
SHA256 (tomcat-api-9.0.13.jar) = 90d6dc48bccaeab1c9ffcb745e439344cd4d5c234a9ea33d58a9ef313b186179
SIZE (tomcat-api-9.0.13.jar) = 11212
SHA256 (tomcat-util-scan-9.0.13.jar) = 18a13ec3f8d0a1511babf4f97b357f379da5b7efb9a92694b2dfa8aa85067252
SIZE (tomcat-util-scan-9.0.13.jar) = 208966
SHA256 (tomcat-util-9.0.13.jar) = 44d57b3a4ea8500fd43cc60c6e07ebd8f2024204fe6c9ac9b03022a5c8835986
SIZE (tomcat-util-9.0.13.jar) = 165171
SHA256 (ecj-3.13.102.jar) = e6b938338b7bb12388ca32ba8dfe91c6ab1c56bf5bd8dab6d6e6265fec3b9be3
SIZE (ecj-3.13.102.jar) = 2769774
SHA256 (jetty-http-9.4.12.v20180830.jar) = 20547da653be9942cc63f57e632a732608559aebde69753bc7312cfe16e8d9c0
SIZE (jetty-http-9.4.12.v20180830.jar) = 195664
SHA256 (jetty-server-9.4.12.v20180830.jar) = 4833644e5c5a09bbddc85f75c53e0c8ed750de120ba248fffd8508028528252d
SIZE (jetty-server-9.4.12.v20180830.jar) = 609290
SHA256 (jetty-util-9.4.12.v20180830.jar) = 60ad53e118a3e7d10418b155b9944d90b2e4e4c732e53ef4f419473288d3f48c
SIZE (jetty-util-9.4.12.v20180830.jar) = 502985
SHA256 (classgraph-4.4.11.jar) = 8942c74972f682fcc515e7b4d36ffe7962cbb89cc28a24cc28ea764e870b7bd1
SIZE (classgraph-4.4.11.jar) = 385664
TIMESTAMP = 1605817236
SHA256 (unit-1.21.0.tar.gz) = 9830b66f55fbcb5ef4ee514e558831350e680c0240349541050eee2f6f6ba70d
SIZE (unit-1.21.0.tar.gz) = 802826
SHA256 (classgraph-4.8.90.jar) = 8c371cf781d7bf1c6f3e38715a0c89cab387d940f07f8d4eeb90caa665b2acb0
SIZE (classgraph-4.8.90.jar) = 508342
SHA256 (ecj-3.23.0.jar) = 6ab0535758e324fad3e7c976685bcf87d1d584fe6196194e54edd9fd94da713c
SIZE (ecj-3.23.0.jar) = 3083084
SHA256 (jetty-http-9.4.33.v20201020.jar) = cd276f1499beda609ed7d7f9dcf254f1b279303fd0af4df891d9ff8ebcacc688
SIZE (jetty-http-9.4.33.v20201020.jar) = 214249
SHA256 (jetty-server-9.4.33.v20201020.jar) = 2e4992b669c3c30677c8d1619dd1053050c5886dae6192fa2e6da472eb229fdc
SIZE (jetty-server-9.4.33.v20201020.jar) = 706442
SHA256 (jetty-util-9.4.33.v20201020.jar) = ba22ac5bc1adfd571fdfa12f17b87941b13709f861ee7e65fcea623b44529e64
SIZE (jetty-util-9.4.33.v20201020.jar) = 565436
SHA256 (tomcat-api-9.0.39.jar) = 1974bed6b086101daf821d6dd96d8a4d8421de238f0004564e880af2e4cbe463
SIZE (tomcat-api-9.0.39.jar) = 11651
SHA256 (tomcat-el-api-9.0.39.jar) = fc965b181d8a3b67a8d048ce811560cef0655494a220b7b0ece6c29f09f801ef
SIZE (tomcat-el-api-9.0.39.jar) = 91195
SHA256 (tomcat-jsp-api-9.0.39.jar) = ff5d850539b2e07735e9d91da467d4d88261a8f4cf2fa56fb950140c4fd8ad2a
SIZE (tomcat-jsp-api-9.0.39.jar) = 63812
SHA256 (tomcat-jasper-9.0.39.jar) = 264eeecd0312ee6e74f6e09faed329fd24cb8161da8dec6b9e95e5905d890c60
SIZE (tomcat-jasper-9.0.39.jar) = 564686
SHA256 (tomcat-jasper-el-9.0.39.jar) = e2155f4e52b3d66fb3f9cf6bf9e318b7337c64040959de2ce1337b5260a8fc89
SIZE (tomcat-jasper-el-9.0.39.jar) = 171359
SHA256 (tomcat-juli-9.0.39.jar) = 50abdb2f4a5775f5125e354dea986d0497d8bb0527c614817b7bdb63b392fc0b
SIZE (tomcat-juli-9.0.39.jar) = 49769
SHA256 (tomcat-servlet-api-9.0.39.jar) = 0da705690cf9f2c31c8142b8abcb5fd0183cc989a8dcda9abcfa22e4c38a1c28
SIZE (tomcat-servlet-api-9.0.39.jar) = 283771
SHA256 (tomcat-util-9.0.39.jar) = 2eae96699792f18d4f5f5692c21a44b130a0dde8d0bd953975cc976fee82350b
SIZE (tomcat-util-9.0.39.jar) = 197175
SHA256 (tomcat-util-scan-9.0.39.jar) = c1b26d6628e6ee474e0e40283ea49eef7a5b11c951c7eaea19ce33730920521c
SIZE (tomcat-util-scan-9.0.39.jar) = 224504

View File

@ -1,7 +1,6 @@
# Created by: Sergey Osokin <osa@FreeBSD.org>
# $FreeBSD$
PORTREVISION= 2
PKGNAMESUFFIX= -${UNIT_MODNAME}
UNIT_MODNAME= perl${PERL_VER}

View File

@ -1,7 +1,6 @@
# Created by: Li-Wen Hsu <lwhsu@FreeBSD.org>
# $FreeBSD$
PORTREVISION= 2
PKGNAMESUFFIX= -${UNIT_MODNAME}
UNIT_MODNAME= python${PYTHON_SUFFIX}

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= unit
PORTVERSION= 1.20.0
PORTVERSION= 1.21.0
CATEGORIES= www
MASTER_SITES?= https://unit.nginx.org/download/
@ -21,12 +21,14 @@ OPTIONS_DEFINE?= \
DEBUG \
DEVKIT \
IPV6 \
PCRE2 \
SSL \
UNIXSOCK
OPTIONS_DEFAULT?=UNIXSOCK
DEBUG_DESC= Enable debug logging
DEVKIT_DESC= Install headers and library
PCRE2_DESC= Enable PCRE2 support
SSL_DESC= Enable SSL/TLS
UNIXSOCK_DESC= Enable unix sockets
@ -89,6 +91,12 @@ PLIST_FILES+= include/nxt_unit_field.h \
CONFIGURE_ARGS+=--no-ipv6
.endif
.if empty(PORT_OPTIONS:MPCRE2)
CONFIGURE_ARGS+=--no-pcre2
.else
LIB_DEPENDS+= libpcre2-8.so:devel/pcre2
.endif
.if ${PORT_OPTIONS:MSSL}
CONFIGURE_ARGS+=--openssl
USES+= ssl

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1602178468
SHA256 (unit-1.20.0.tar.gz) = ee39a801f83aff5dfff94336f688fd9cfbd02fee270edd8711b10be4fe298d32
SIZE (unit-1.20.0.tar.gz) = 787607
TIMESTAMP = 1605816182
SHA256 (unit-1.21.0.tar.gz) = 9830b66f55fbcb5ef4ee514e558831350e680c0240349541050eee2f6f6ba70d
SIZE (unit-1.21.0.tar.gz) = 802826