From nobody Mon Mar 9 19:19:49 2026 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4fV6K213QNz6TmhJ for ; Mon, 09 Mar 2026 19:19:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fV6K15GRzz3sXF for ; Mon, 09 Mar 2026 19:19:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1773083989; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0EXGKY0U+pD2I0HguIEPb5SJps2g8uXTRINT1P1oZdI=; b=tuoffjDrfyuTh7Ta9HKrbgGgCkPZpasNyOJB5TUaFNYsevA8ZzWyvT8EIEIpKitKXDX1rx T3uaB3fiYCqEdOPk1NDuYuStk49ExTk2CSG9Ku4HBn3ecvsAYc2txzNtNy90H+N8quogy6 TyT4k7mHRB4SClGJG5AvxVRvYQK+1jyLF6VjBvw+OEdhtkeOC/mPJ3eWoQxEQ2fahF5AKN 6q3ElkneBWPTozr5H2XCTdUxGXBO9EK9oXKlEeUyWF5x4vsj++786FDHcbRnQUpd66qNUh fnL6R+mbiXc6gFxeyKhE9M1B0/jXMisVKL2NyxyAiL2EGByc3Nxz4e5nku4n0Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1773083989; a=rsa-sha256; cv=none; b=kMzcWYq9MZj4dFAfSbmOGNX1QRGranPcfCKkD95yCjpVCnOvieWLljGzs9Z0KVFxgLccid XX5dot9FrPol3AdsXQdBdkk/mCJge8C1oSo35t3aFG4JCT+kW/IIxusughcI0bReipO0zU TOKM/2r1KWtvMZdwaMuE5id6b6Mv85iplDIb7mflxm+KbfBnUEaJhCjzZ/PdiI1U7LBOHQ 2K8fJ/k2SGMCCuK3hJevEHViS0aMuMyMyniwCpjCakRorbqdK1qqAv0fiDNmwYxhyxtYEG 9aOJNHBLb+Tyq6Sr4quTjJ1i1lyr6vU3SkxLhpm/rxFCYunrTOsR1QWqPfhgVg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1773083989; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0EXGKY0U+pD2I0HguIEPb5SJps2g8uXTRINT1P1oZdI=; b=gG0+itBij9LjJN53iJdy/YAwYZvtt4ok/yxSqLz3DJ9J/jq71ydhJwS5TPwoglj3Atzx3C dpeU9XC1JoMDn9Iua6zblNCcx4ghhB1gGFfZNNrGEmgmM99eKWHx6l7uymVsV8eQbJpIy4 o8+oOtq5bRaOWpwmeHylW2XfrHImlLJuFYcJcNLfY5ePxA9K+Gg8peEZA1Wih1Kjp4PyKE 20OiCsURHWopwrWUUu0Z/ch0svWgwW2jsh+eup6fzW5+950rMwOl1UL6UEeZdGUZLXjH+H p4sYokag5OUNybC9VwJOqQrfc+VcA+N54oE4qxmVGPLom2TvthX8cGOUwsb5dw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fV6K14HFrzfc0 for ; Mon, 09 Mar 2026 19:19:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 2277f by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 09 Mar 2026 19:19:49 +0000 To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jochen Neumeister Subject: git: 59b4b5b7ad82 - main - www/*nginx*: Update 3-party modul passenger List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: joneum X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 59b4b5b7ad8252574160961acdc37d760a148722 Auto-Submitted: auto-generated Date: Mon, 09 Mar 2026 19:19:49 +0000 Message-Id: <69af1d55.2277f.3b876b6a@gitrepo.freebsd.org> The branch main has been updated by joneum: URL: https://cgit.FreeBSD.org/ports/commit/?id=59b4b5b7ad8252574160961acdc37d760a148722 commit 59b4b5b7ad8252574160961acdc37d760a148722 Author: Jochen Neumeister AuthorDate: 2026-03-09 19:17:26 +0000 Commit: Jochen Neumeister CommitDate: 2026-03-09 19:19:40 +0000 www/*nginx*: Update 3-party modul passenger Update third-party modul passenger to 6.1.2 PR: 292546 Sponsored by: Netzkommune GmbH --- www/freenginx/Makefile.extmod | 21 ++++++++++++--------- www/freenginx/distinfo | 6 +++--- .../files/extra-patch-passenger-Configuration.c | 22 ++++++++++++++++++++++ .../files/extra-patch-passenger-build-nginx.rb | 4 ++-- .../files/extra-patch-passenger-disable-telemetry | 4 ++-- www/nginx-devel/Makefile.extmod | 17 ++++++++++------- www/nginx-devel/distinfo | 6 +++--- .../files/extra-patch-passenger-Configuration.c | 20 ++++++++++++++++++++ .../files/extra-patch-passenger-build-nginx.rb | 4 ++-- .../files/extra-patch-passenger-disable-telemetry | 4 ++-- www/nginx-full/Makefile | 2 +- www/nginx/Makefile.extmod | 17 ++++++++++------- www/nginx/distinfo | 6 +++--- .../files/extra-patch-passenger-Configuration.c | 20 ++++++++++++++++++++ .../files/extra-patch-passenger-build-nginx.rb | 4 ++-- .../files/extra-patch-passenger-disable-telemetry | 4 ++-- 16 files changed, 116 insertions(+), 45 deletions(-) diff --git a/www/freenginx/Makefile.extmod b/www/freenginx/Makefile.extmod index 95a9d0b53a75..08de7c14f85d 100644 --- a/www/freenginx/Makefile.extmod +++ b/www/freenginx/Makefile.extmod @@ -258,17 +258,20 @@ OTEL_LIB_DEPENDS= libabsl_base.so:devel/abseil \ OTEL_BUILD_DEPENDS= ${LOCALBASE}/include/opentelemetry/proto/common/v1/common.proto:devel/opentelemetry-proto OTEL_CONFIGURE_ENV+= NGX_OTEL_PROTO_DIR=${PREFIX}/include -PASSENGER_NGINX_VER= 6.0.23 -PASSENGER_CATEGORIES= ruby -PASSENGER_USES= ruby +PASSENGER_NGINX_VER= 6.1.2 +PASSENGER_MASTER_SITES= https://s3.amazonaws.com/phusion-passenger/releases/:passenger +PASSENGER_DISTFILES= passenger-${PASSENGER_NGINX_VER}.tar.gz:passenger PASSENGER_BUILD_DEPENDS=${LOCALBASE}/bin/rake:devel/rubygem-rake -PASSENGER_RAKE_BIN= ${LOCALBASE}/bin/rake -PASSENGER_MASTER_SITES= https://s3.amazonaws.com/phusion-passenger/releases/:passenger -PASSENGER_DISTFILES= passenger-${PASSENGER_NGINX_VER}.tar.gz:passenger -PASSENGER_VARS= WRKSRC_passenger=${WRKDIR}/passenger-${PASSENGER_NGINX_VER} \ - DSO_EXTDIRS+=passenger-${PASSENGER_NGINX_VER}/src/nginx_module +PASSENGER_CATEGORIES= ruby +PASSENGER_CFLAGS= -DNDEBUG +PASSENGER_CONFIGURE_ENV=OPTIMIZE="yes" EXTRA_PRE_CXXFLAGS="-std=c++14" PASSENGER_EXTRA_PATCHES=${PATCHDIR}/extra-patch-passenger-build-nginx.rb \ - ${PATCHDIR}/extra-patch-passenger-disable-telemetry + ${PATCHDIR}/extra-patch-passenger-disable-telemetry \ + ${PATCHDIR}/extra-patch-passenger-Configuration.c +PASSENGER_RAKE_BIN= ${LOCALBASE}/bin/rake +PASSENGER_USES= ruby +PASSENGER_VARS= WRKSRC_passenger=${WRKDIR}/passenger-${PASSENGER_NGINX_VER} \ + DSO_EXTDIRS+=passenger-${PASSENGER_NGINX_VER}/src/nginx_module POSTGRES_USES= pgsql POSTGRES_GH_TUPLE= konstruxi:ngx_postgres:8aa7359:postgres diff --git a/www/freenginx/distinfo b/www/freenginx/distinfo index 1e88423bf92c..c485dfca78dd 100644 --- a/www/freenginx/distinfo +++ b/www/freenginx/distinfo @@ -1,12 +1,12 @@ -TIMESTAMP = 1772658418 +TIMESTAMP = 1773079744 SHA256 (freenginx-1.28.0.tar.gz) = 28651bf51ff95de027262d7af23000e5862fb3d1b2252ac83d97ce4c9a4a18a2 SIZE (freenginx-1.28.0.tar.gz) = 1228344 SHA256 (nginx_mogilefs_module-1.0.4.tar.gz) = 7ac230d30907f013dff8d435a118619ea6168aa3714dba62c6962d350c6295ae SIZE (nginx_mogilefs_module-1.0.4.tar.gz) = 11208 SHA256 (ngx_http_redis-0.3.9.tar.gz) = 21f87540f0a44b23ffa5df16fb3d788bc90803b255ef14f9c26e3847a6f26f46 SIZE (ngx_http_redis-0.3.9.tar.gz) = 13051 -SHA256 (passenger-6.0.23.tar.gz) = 897555224fb11340677780d929b5099da62303b1ae15f2e7c65cd3f6d3e7920c -SIZE (passenger-6.0.23.tar.gz) = 8298217 +SHA256 (passenger-6.1.2.tar.gz) = 94400a52e536cfdd8acf2accb47badb7a67dc309452f1b05600da67343f25bf8 +SIZE (passenger-6.1.2.tar.gz) = 7429067 SHA256 (msva-nginx_ajp_module-fcbb2cc_GH0.tar.gz) = 522e94c59f5783f281d868ede2adf325bf2f8ffb9e62cf8451d4b9ac0516916c SIZE (msva-nginx_ajp_module-fcbb2cc_GH0.tar.gz) = 110807 SHA256 (openresty-array-var-nginx-module-v0.05_GH0.tar.gz) = c949d4be6f3442c8e2937046448dc8d8def25c0e0fa6f4e805144cea45eabe80 diff --git a/www/freenginx/files/extra-patch-passenger-Configuration.c b/www/freenginx/files/extra-patch-passenger-Configuration.c new file mode 100644 index 000000000000..5b2b4f45b103 --- /dev/null +++ b/www/freenginx/files/extra-patch-passenger-Configuration.c @@ -0,0 +1,22 @@ +--- ../passenger-6.1.2/src/nginx_module/Configuration.c.orig 2026-03-09 20:02:40.671082000 +0100 ++++ ../passenger-6.1.2/src/nginx_module/Configuration.c 2026-03-09 20:07:45.710035000 +0100 +@@ -225,7 +225,7 @@ passenger_create_loc_conf(ngx_conf_t *cf) + conf->upstream_config.send_lowat = NGX_CONF_UNSET_SIZE; + conf->upstream_config.buffer_size = NGX_CONF_UNSET_SIZE; + #if NGINX_VERSION_NUM >= 1027000 +- conf->upstream_config.limit_rate = NGX_CONF_UNSET_PTR; ++ conf->upstream_config.limit_rate = NGX_CONF_UNSET_SIZE; + #elif NGINX_VERSION_NUM >= 1007007 + conf->upstream_config.limit_rate = NGX_CONF_UNSET_SIZE; + #endif +@@ -468,8 +468,8 @@ passenger_merge_loc_conf(ngx_conf_t *cf, void *parent, + 16 * 1024); + + #if NGINX_VERSION_NUM >= 1027000 +- ngx_conf_merge_ptr_value(conf->upstream_config.limit_rate, +- prev->upstream_config.limit_rate, NULL); ++ ngx_conf_merge_size_value(conf->upstream_config.limit_rate, ++ prev->upstream_config.limit_rate, 0); + #elif NGINX_VERSION_NUM >= 1007007 + ngx_conf_merge_size_value(conf->upstream_config.limit_rate, + prev->upstream_config.limit_rate, 0); diff --git a/www/freenginx/files/extra-patch-passenger-build-nginx.rb b/www/freenginx/files/extra-patch-passenger-build-nginx.rb index 34ad92f207b2..8676c67d119c 100644 --- a/www/freenginx/files/extra-patch-passenger-build-nginx.rb +++ b/www/freenginx/files/extra-patch-passenger-build-nginx.rb @@ -1,5 +1,5 @@ ---- ../passenger-6.0.23/build/nginx.rb.orig 2013-10-26 18:00:00.000000000 -0400 -+++ ../passenger-6.0.23/build/nginx.rb 2016-05-09 18:21:22.426777000 -0400 +--- ../passenger-6.1.2/build/nginx.rb.orig 2013-10-26 18:00:00.000000000 -0400 ++++ ../passenger-6.1.2/build/nginx.rb 2016-05-09 18:21:22.426777000 -0400 @@ -33,13 +33,12 @@ desc "Build Nginx support files" task :nginx => [ diff --git a/www/freenginx/files/extra-patch-passenger-disable-telemetry b/www/freenginx/files/extra-patch-passenger-disable-telemetry index 302ae5bf765d..90f70bb7c2c4 100644 --- a/www/freenginx/files/extra-patch-passenger-disable-telemetry +++ b/www/freenginx/files/extra-patch-passenger-disable-telemetry @@ -1,5 +1,5 @@ ---- ../passenger-6.0.23/src/ruby_supportlib/phusion_passenger/nginx/config_options.rb.orig 2018-12-03 12:23:06.980728000 -0500 -+++ ../passenger-6.0.23/src/ruby_supportlib/phusion_passenger/nginx/config_options.rb 2018-12-03 12:23:32.978924000 -0500 +--- ../passenger-6.1.2/src/ruby_supportlib/phusion_passenger/nginx/config_options.rb.orig 2018-12-03 12:23:06.980728000 -0500 ++++ ../passenger-6.1.2/src/ruby_supportlib/phusion_passenger/nginx/config_options.rb 2018-12-03 12:23:32.978926000 -0500 @@ -204,7 +204,7 @@ :name => 'passenger_disable_anonymous_telemetry', :scope => :global, diff --git a/www/nginx-devel/Makefile.extmod b/www/nginx-devel/Makefile.extmod index 83fcba4a2e39..91473d542f12 100644 --- a/www/nginx-devel/Makefile.extmod +++ b/www/nginx-devel/Makefile.extmod @@ -261,17 +261,20 @@ OTEL_LIB_DEPENDS= libabsl_base.so:devel/abseil \ OTEL_BUILD_DEPENDS= ${LOCALBASE}/include/opentelemetry/proto/common/v1/common.proto:devel/opentelemetry-proto OTEL_CONFIGURE_ENV+= NGX_OTEL_PROTO_DIR=${PREFIX}/include -PASSENGER_NGINX_VER= 6.0.27 -PASSENGER_CATEGORIES= ruby -PASSENGER_USES= ruby -PASSENGER_BUILD_DEPENDS=${LOCALBASE}/bin/rake:devel/rubygem-rake -PASSENGER_RAKE_BIN= ${LOCALBASE}/bin/rake +PASSENGER_NGINX_VER= 6.1.2 PASSENGER_MASTER_SITES= https://s3.amazonaws.com/phusion-passenger/releases/:passenger PASSENGER_DISTFILES= passenger-${PASSENGER_NGINX_VER}.tar.gz:passenger +PASSENGER_BUILD_DEPENDS=${LOCALBASE}/bin/rake:devel/rubygem-rake +PASSENGER_CATEGORIES= ruby +PASSENGER_CFLAGS= -DNDEBUG +PASSENGER_CONFIGURE_ENV=OPTIMIZE="yes" EXTRA_PRE_CXXFLAGS="-std=c++14" +PASSENGER_EXTRA_PATCHES=${PATCHDIR}/extra-patch-passenger-build-nginx.rb \ + ${PATCHDIR}/extra-patch-passenger-disable-telemetry \ + ${PATCHDIR}/extra-patch-passenger-Configuration.c +PASSENGER_RAKE_BIN= ${LOCALBASE}/bin/rake +PASSENGER_USES= ruby PASSENGER_VARS= WRKSRC_passenger=${WRKDIR}/passenger-${PASSENGER_NGINX_VER} \ DSO_EXTDIRS+=passenger-${PASSENGER_NGINX_VER}/src/nginx_module -PASSENGER_EXTRA_PATCHES=${PATCHDIR}/extra-patch-passenger-build-nginx.rb \ - ${PATCHDIR}/extra-patch-passenger-disable-telemetry POSTGRES_USES= pgsql POSTGRES_GH_TUPLE= konstruxi:ngx_postgres:8aa7359:postgres diff --git a/www/nginx-devel/distinfo b/www/nginx-devel/distinfo index bc7058d48562..35e99b35265f 100644 --- a/www/nginx-devel/distinfo +++ b/www/nginx-devel/distinfo @@ -1,10 +1,10 @@ -TIMESTAMP = 1772874509 +TIMESTAMP = 1772887796 SHA256 (nginx-1.29.5.tar.gz) = 6744768a4114880f37b13a0443244e731bcb3130c0a065d7e37d8fd589ade374 SIZE (nginx-1.29.5.tar.gz) = 1310203 SHA256 (nginx_mogilefs_module-1.0.4.tar.gz) = 7ac230d30907f013dff8d435a118619ea6168aa3714dba62c6962d350c6295ae SIZE (nginx_mogilefs_module-1.0.4.tar.gz) = 11208 -SHA256 (passenger-6.0.27.tar.gz) = 82c830aee98feece09e84309c2d0c6bb3f7b22a3c8e33cfe93b5e0d498615d0f -SIZE (passenger-6.0.27.tar.gz) = 7548637 +SHA256 (passenger-6.1.2.tar.gz) = 94400a52e536cfdd8acf2accb47badb7a67dc309452f1b05600da67343f25bf8 +SIZE (passenger-6.1.2.tar.gz) = 7429067 SHA256 (msva-nginx_ajp_module-fcbb2cc_GH0.tar.gz) = 522e94c59f5783f281d868ede2adf325bf2f8ffb9e62cf8451d4b9ac0516916c SIZE (msva-nginx_ajp_module-fcbb2cc_GH0.tar.gz) = 110807 SHA256 (openresty-array-var-nginx-module-v0.06_GH0.tar.gz) = 2c3577265d1d51a2d0646311b9c651520a74455253b6f7a5776af79e9bff5cb1 diff --git a/www/nginx-devel/files/extra-patch-passenger-Configuration.c b/www/nginx-devel/files/extra-patch-passenger-Configuration.c new file mode 100644 index 000000000000..9cf6f6d37488 --- /dev/null +++ b/www/nginx-devel/files/extra-patch-passenger-Configuration.c @@ -0,0 +1,20 @@ +--- ../passenger-6.1.2/src/nginx_module/Configuration.c.orig 2013-10-26 20:00:00.000000000 -0400 ++++ ../passenger-6.1.2/src/nginx_module/Configuration.c 2025-11-02 20:09:05.651562000 -0500 +@@ -224,7 +224,7 @@ + + conf->upstream_config.send_lowat = NGX_CONF_UNSET_SIZE; + conf->upstream_config.buffer_size = NGX_CONF_UNSET_SIZE; +- #if NGINX_VERSION_NUM >= 1027000 ++ #if NGINX_VERSION_NUM >= 1027000 && !defined freenginx + conf->upstream_config.limit_rate = NGX_CONF_UNSET_PTR; + #elif NGINX_VERSION_NUM >= 1007007 + conf->upstream_config.limit_rate = NGX_CONF_UNSET_SIZE; +@@ -467,7 +467,7 @@ + prev->upstream_config.buffer_size, + 16 * 1024); + +- #if NGINX_VERSION_NUM >= 1027000 ++ #if NGINX_VERSION_NUM >= 1027000 && !defined freenginx + ngx_conf_merge_ptr_value(conf->upstream_config.limit_rate, + prev->upstream_config.limit_rate, NULL); + #elif NGINX_VERSION_NUM >= 1007007 diff --git a/www/nginx-devel/files/extra-patch-passenger-build-nginx.rb b/www/nginx-devel/files/extra-patch-passenger-build-nginx.rb index 73223329c8a7..8676c67d119c 100644 --- a/www/nginx-devel/files/extra-patch-passenger-build-nginx.rb +++ b/www/nginx-devel/files/extra-patch-passenger-build-nginx.rb @@ -1,5 +1,5 @@ ---- ../passenger-6.0.27/build/nginx.rb.orig 2013-10-26 18:00:00.000000000 -0400 -+++ ../passenger-6.0.27/build/nginx.rb 2016-05-09 18:21:22.426777000 -0400 +--- ../passenger-6.1.2/build/nginx.rb.orig 2013-10-26 18:00:00.000000000 -0400 ++++ ../passenger-6.1.2/build/nginx.rb 2016-05-09 18:21:22.426777000 -0400 @@ -33,13 +33,12 @@ desc "Build Nginx support files" task :nginx => [ diff --git a/www/nginx-devel/files/extra-patch-passenger-disable-telemetry b/www/nginx-devel/files/extra-patch-passenger-disable-telemetry index b676e7f886c9..90f70bb7c2c4 100644 --- a/www/nginx-devel/files/extra-patch-passenger-disable-telemetry +++ b/www/nginx-devel/files/extra-patch-passenger-disable-telemetry @@ -1,5 +1,5 @@ ---- ../passenger-6.0.27/src/ruby_supportlib/phusion_passenger/nginx/config_options.rb.orig 2018-12-03 12:23:06.980728000 -0500 -+++ ../passenger-6.0.27/src/ruby_supportlib/phusion_passenger/nginx/config_options.rb 2018-12-03 12:23:32.978926000 -0500 +--- ../passenger-6.1.2/src/ruby_supportlib/phusion_passenger/nginx/config_options.rb.orig 2018-12-03 12:23:06.980728000 -0500 ++++ ../passenger-6.1.2/src/ruby_supportlib/phusion_passenger/nginx/config_options.rb 2018-12-03 12:23:32.978926000 -0500 @@ -204,7 +204,7 @@ :name => 'passenger_disable_anonymous_telemetry', :scope => :global, diff --git a/www/nginx-full/Makefile b/www/nginx-full/Makefile index 12cdc6c3156d..2aa07336f5d9 100644 --- a/www/nginx-full/Makefile +++ b/www/nginx-full/Makefile @@ -1,5 +1,5 @@ PORTNAME= nginx -PORTREVISION= 0 +PORTREVISION= 1 PKGNAMESUFFIX= -full MAINTAINER= joneum@FreeBSD.org diff --git a/www/nginx/Makefile.extmod b/www/nginx/Makefile.extmod index cb1569e468d3..ef50adae79cc 100644 --- a/www/nginx/Makefile.extmod +++ b/www/nginx/Makefile.extmod @@ -253,17 +253,20 @@ OTEL_LIB_DEPENDS= libabsl_base.so:devel/abseil \ OTEL_BUILD_DEPENDS= ${LOCALBASE}/include/opentelemetry/proto/common/v1/common.proto:devel/opentelemetry-proto OTEL_CONFIGURE_ENV+= NGX_OTEL_PROTO_DIR=${PREFIX}/include -PASSENGER_NGINX_VER= 6.0.27 -PASSENGER_CATEGORIES= ruby -PASSENGER_USES= ruby -PASSENGER_BUILD_DEPENDS=${LOCALBASE}/bin/rake:devel/rubygem-rake -PASSENGER_RAKE_BIN= ${LOCALBASE}/bin/rake +PASSENGER_NGINX_VER= 6.1.2 PASSENGER_MASTER_SITES= https://s3.amazonaws.com/phusion-passenger/releases/:passenger PASSENGER_DISTFILES= passenger-${PASSENGER_NGINX_VER}.tar.gz:passenger +PASSENGER_BUILD_DEPENDS=${LOCALBASE}/bin/rake:devel/rubygem-rake +PASSENGER_CATEGORIES= ruby +PASSENGER_CFLAGS= -DNDEBUG +PASSENGER_CONFIGURE_ENV=OPTIMIZE="yes" EXTRA_PRE_CXXFLAGS="-std=c++14" +PASSENGER_EXTRA_PATCHES=${PATCHDIR}/extra-patch-passenger-build-nginx.rb \ + ${PATCHDIR}/extra-patch-passenger-disable-telemetry \ + ${PATCHDIR}/extra-patch-passenger-Configuration.c +PASSENGER_RAKE_BIN= ${LOCALBASE}/bin/rake +PASSENGER_USES= ruby PASSENGER_VARS= WRKSRC_passenger=${WRKDIR}/passenger-${PASSENGER_NGINX_VER} \ DSO_EXTDIRS+=passenger-${PASSENGER_NGINX_VER}/src/nginx_module -PASSENGER_EXTRA_PATCHES=${PATCHDIR}/extra-patch-passenger-build-nginx.rb \ - ${PATCHDIR}/extra-patch-passenger-disable-telemetry POSTGRES_USES= pgsql POSTGRES_GH_TUPLE= konstruxi:ngx_postgres:8aa7359:postgres diff --git a/www/nginx/distinfo b/www/nginx/distinfo index 09136d4d45da..2cef4d7b31cd 100644 --- a/www/nginx/distinfo +++ b/www/nginx/distinfo @@ -1,12 +1,12 @@ -TIMESTAMP = 1772225455 +TIMESTAMP = 1772887627 SHA256 (nginx-1.28.2.tar.gz) = 20e5e0f2c917acfb51120eec2fba9a4ba4e1e10fd28465067cc87a7d81a829a3 SIZE (nginx-1.28.2.tar.gz) = 1282351 SHA256 (nginx_mogilefs_module-1.0.4.tar.gz) = 7ac230d30907f013dff8d435a118619ea6168aa3714dba62c6962d350c6295ae SIZE (nginx_mogilefs_module-1.0.4.tar.gz) = 11208 SHA256 (ngx_http_redis-0.3.9.tar.gz) = 21f87540f0a44b23ffa5df16fb3d788bc90803b255ef14f9c26e3847a6f26f46 SIZE (ngx_http_redis-0.3.9.tar.gz) = 13051 -SHA256 (passenger-6.0.27.tar.gz) = 82c830aee98feece09e84309c2d0c6bb3f7b22a3c8e33cfe93b5e0d498615d0f -SIZE (passenger-6.0.27.tar.gz) = 7548637 +SHA256 (passenger-6.1.2.tar.gz) = 94400a52e536cfdd8acf2accb47badb7a67dc309452f1b05600da67343f25bf8 +SIZE (passenger-6.1.2.tar.gz) = 7429067 SHA256 (msva-nginx_ajp_module-fcbb2cc_GH0.tar.gz) = 522e94c59f5783f281d868ede2adf325bf2f8ffb9e62cf8451d4b9ac0516916c SIZE (msva-nginx_ajp_module-fcbb2cc_GH0.tar.gz) = 110807 SHA256 (openresty-array-var-nginx-module-v0.05_GH0.tar.gz) = c949d4be6f3442c8e2937046448dc8d8def25c0e0fa6f4e805144cea45eabe80 diff --git a/www/nginx/files/extra-patch-passenger-Configuration.c b/www/nginx/files/extra-patch-passenger-Configuration.c new file mode 100644 index 000000000000..9cf6f6d37488 --- /dev/null +++ b/www/nginx/files/extra-patch-passenger-Configuration.c @@ -0,0 +1,20 @@ +--- ../passenger-6.1.2/src/nginx_module/Configuration.c.orig 2013-10-26 20:00:00.000000000 -0400 ++++ ../passenger-6.1.2/src/nginx_module/Configuration.c 2025-11-02 20:09:05.651562000 -0500 +@@ -224,7 +224,7 @@ + + conf->upstream_config.send_lowat = NGX_CONF_UNSET_SIZE; + conf->upstream_config.buffer_size = NGX_CONF_UNSET_SIZE; +- #if NGINX_VERSION_NUM >= 1027000 ++ #if NGINX_VERSION_NUM >= 1027000 && !defined freenginx + conf->upstream_config.limit_rate = NGX_CONF_UNSET_PTR; + #elif NGINX_VERSION_NUM >= 1007007 + conf->upstream_config.limit_rate = NGX_CONF_UNSET_SIZE; +@@ -467,7 +467,7 @@ + prev->upstream_config.buffer_size, + 16 * 1024); + +- #if NGINX_VERSION_NUM >= 1027000 ++ #if NGINX_VERSION_NUM >= 1027000 && !defined freenginx + ngx_conf_merge_ptr_value(conf->upstream_config.limit_rate, + prev->upstream_config.limit_rate, NULL); + #elif NGINX_VERSION_NUM >= 1007007 diff --git a/www/nginx/files/extra-patch-passenger-build-nginx.rb b/www/nginx/files/extra-patch-passenger-build-nginx.rb index 73223329c8a7..8676c67d119c 100644 --- a/www/nginx/files/extra-patch-passenger-build-nginx.rb +++ b/www/nginx/files/extra-patch-passenger-build-nginx.rb @@ -1,5 +1,5 @@ ---- ../passenger-6.0.27/build/nginx.rb.orig 2013-10-26 18:00:00.000000000 -0400 -+++ ../passenger-6.0.27/build/nginx.rb 2016-05-09 18:21:22.426777000 -0400 +--- ../passenger-6.1.2/build/nginx.rb.orig 2013-10-26 18:00:00.000000000 -0400 ++++ ../passenger-6.1.2/build/nginx.rb 2016-05-09 18:21:22.426777000 -0400 @@ -33,13 +33,12 @@ desc "Build Nginx support files" task :nginx => [ diff --git a/www/nginx/files/extra-patch-passenger-disable-telemetry b/www/nginx/files/extra-patch-passenger-disable-telemetry index 935f6a5425e5..82f4f1acba3a 100644 --- a/www/nginx/files/extra-patch-passenger-disable-telemetry +++ b/www/nginx/files/extra-patch-passenger-disable-telemetry @@ -1,5 +1,5 @@ ---- ../passenger-6.0.27/src/ruby_supportlib/phusion_passenger/nginx/config_options.rb.orig 2018-12-03 12:23:06.980728000 -0500 -+++ ../passenger-6.0.27/src/ruby_supportlib/phusion_passenger/nginx/config_options.rb 2018-12-03 12:23:32.978924000 -0500 +--- ../passenger-6.1.2/src/ruby_supportlib/phusion_passenger/nginx/config_options.rb.orig 2018-12-03 12:23:06.980728000 -0500 ++++ ../passenger-6.1.2/src/ruby_supportlib/phusion_passenger/nginx/config_options.rb 2018-12-03 12:23:32.978924000 -0500 @@ -204,7 +204,7 @@ :name => 'passenger_disable_anonymous_telemetry', :scope => :global,