aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2022-06-02 16:40:55 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2022-06-02 16:40:55 +0000
commit11d9a3ffb12a45d4f757d899af3db29ddfca10ca (patch)
treec9b2c65e35ecbe11463739e98557db78942d123a
parentda25f8506445a7b9276a3c7c51ef7e5c7f993ef7 (diff)
downloadports-11d9a3ffb12a45d4f757d899af3db29ddfca10ca.tar.gz
ports-11d9a3ffb12a45d4f757d899af3db29ddfca10ca.zip
www/unit*: update from 1.26.1* 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>
-rw-r--r--www/unit-java/Makefile1
-rw-r--r--www/unit-java/distinfo6
-rw-r--r--www/unit-perl/Makefile1
-rw-r--r--www/unit-php/Makefile1
-rw-r--r--www/unit-python/Makefile3
-rw-r--r--www/unit-ruby/Makefile1
-rw-r--r--www/unit/Makefile4
-rw-r--r--www/unit/distinfo6
-rw-r--r--www/unit/version.mk2
9 files changed, 10 insertions, 15 deletions
diff --git a/www/unit-java/Makefile b/www/unit-java/Makefile
index c2be7d8b0a9c..d6529843b1db 100644
--- a/www/unit-java/Makefile
+++ b/www/unit-java/Makefile
@@ -16,7 +16,6 @@ MASTER_SITES= https://unit.nginx.org/download/:unit \
https://repo1.maven.org/maven2/org/eclipse/jetty/jetty-server/${JETTY_VERSION}/:server \
https://repo1.maven.org/maven2/org/eclipse/jetty/jetty-util/${JETTY_VERSION}/:jutil
PKGNAMESUFFIX= -${UNIT_MODNAME}
-PORTREVISION= 1
DISTFILES= unit-${UNIT_VERSION}.tar.gz:unit \
classgraph-${CLASSGRAPH_VERSION}.jar:classgraph \
ecj-${ECJ_VERSION}.jar:ecj \
diff --git a/www/unit-java/distinfo b/www/unit-java/distinfo
index 63bbb9dc1a61..1f8154cd9577 100644
--- a/www/unit-java/distinfo
+++ b/www/unit-java/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1638466002
-SHA256 (unit-1.26.1.tar.gz) = fd2d9576ee925df9b399b7fe69996b922fbc5e4bdc87e6c8c46ab03864ff872b
-SIZE (unit-1.26.1.tar.gz) = 865811
+TIMESTAMP = 1654187945
+SHA256 (unit-1.27.0.tar.gz) = dfa882ff7f74aa1d5e92a7c2d718bda62c4046186e04d465b7c028ab30fd4e66
+SIZE (unit-1.27.0.tar.gz) = 871783
SHA256 (classgraph-4.8.112.jar) = 67804d0bf709131d7ce7e7aaf4b944d4f3e71f36b0359e4c2bbb394d9832dae6
SIZE (classgraph-4.8.112.jar) = 535546
SHA256 (ecj-3.26.0.jar) = ac0ba5876eaf7ebb47749a0d1be179c51f194b9dd0b875d1c09e1b530f5a2db5
diff --git a/www/unit-perl/Makefile b/www/unit-perl/Makefile
index d62dfe12ffd7..99a00bae3542 100644
--- a/www/unit-perl/Makefile
+++ b/www/unit-perl/Makefile
@@ -1,7 +1,6 @@
# Created by: Sergey Osokin <osa@FreeBSD.org>
PKGNAMESUFFIX= -${UNIT_MODNAME}
-PORTREVISION= 1
UNIT_MODNAME= perl${PERL_VER}
diff --git a/www/unit-php/Makefile b/www/unit-php/Makefile
index a662d2b30f32..835a141735a0 100644
--- a/www/unit-php/Makefile
+++ b/www/unit-php/Makefile
@@ -1,7 +1,6 @@
# Created by: Li-Wen Hsu <lwhsu@FreeBSD.org>
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
-PORTREVISION= 1
UNIT_MODNAME= php${PHP_VER}
diff --git a/www/unit-python/Makefile b/www/unit-python/Makefile
index c3071d68cc67..e7c6cfb0be5c 100644
--- a/www/unit-python/Makefile
+++ b/www/unit-python/Makefile
@@ -1,13 +1,12 @@
# Created by: Li-Wen Hsu <lwhsu@FreeBSD.org>
PKGNAMESUFFIX= -${UNIT_MODNAME}
-PORTREVISION= 1
UNIT_MODNAME= python${PYTHON_SUFFIX}
COMMENT= Python module for NGINX Unit
-USES= python:3.6-3.10 gettext-runtime
+USES= python:3.7-3.10 gettext-runtime
USE_PYTHON= flavors
PLIST_FILES= libexec/unit/modules/${UNIT_MODNAME}.unit.so
diff --git a/www/unit-ruby/Makefile b/www/unit-ruby/Makefile
index 4455996fc9ef..564c65fd7900 100644
--- a/www/unit-ruby/Makefile
+++ b/www/unit-ruby/Makefile
@@ -1,7 +1,6 @@
# Created by: Sergey Osokin <osa@FreeBSD.org>
PKGNAMESUFFIX= -${UNIT_MODNAME}
-PORTREVISION= 1
UNIT_MODNAME= ruby${RUBY_VER}
diff --git a/www/unit/Makefile b/www/unit/Makefile
index 8b80ce335356..e8f055ba5510 100644
--- a/www/unit/Makefile
+++ b/www/unit/Makefile
@@ -107,8 +107,8 @@ CONFIGURE_ARGS+=--control=unix:${UNIT_SOCK}
.endif
.if defined(UNIT_MODNAME) && ${UNIT_MODNAME:Mperl*}
-# Fix build failure on clang12
-.if ${OSVERSION} >= 1400023
+# Fix build failure on clang >= 12
+.if ${OSVERSION} >= 1301000
CFLAGS+= -Wno-compound-token-split-by-macro
.endif
.endif
diff --git a/www/unit/distinfo b/www/unit/distinfo
index e5a11a218101..eddedcfbed0d 100644
--- a/www/unit/distinfo
+++ b/www/unit/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1638465901
-SHA256 (unit-1.26.1.tar.gz) = fd2d9576ee925df9b399b7fe69996b922fbc5e4bdc87e6c8c46ab03864ff872b
-SIZE (unit-1.26.1.tar.gz) = 865811
+TIMESTAMP = 1654181281
+SHA256 (unit-1.27.0.tar.gz) = dfa882ff7f74aa1d5e92a7c2d718bda62c4046186e04d465b7c028ab30fd4e66
+SIZE (unit-1.27.0.tar.gz) = 871783
diff --git a/www/unit/version.mk b/www/unit/version.mk
index 7a261d5f3e2d..fe1542ba4478 100644
--- a/www/unit/version.mk
+++ b/www/unit/version.mk
@@ -2,6 +2,6 @@
UNITVERSION_MK= defined
# Define NGINX Unit's version.
-UNIT_VERSION= 1.26.1
+UNIT_VERSION= 1.27.0
.endif # UNITVERSION_MK