From nobody Mon Jul 11 17:44:12 2022 X-Original-To: dev-commits-ports-main@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 25B971D0380D; Mon, 11 Jul 2022 17:44:13 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LhWTn0Y1Zz3RkS; Mon, 11 Jul 2022 17:44:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657561453; 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=4+64yrXz8L70/GEoLhx9V5prgrtNdN3CDoz1FyhMe7s=; b=UqQw3JoiklqHm/1tKhL2LpgCTZQp0vPQLgauEzsTdlyX6T7h95t75eIh4paLwKxF+WbD9d FljnFVPU+fL1TOVUmowmI8zilm4nwjlFkFAGJvjnMxDrIZvCyBlKRdQWh7xE7+Zqat2Z+Z 8pRkq4SdxpsIs9yap70vvIirpT+XIJ6p4FP7OJNNDzzSt6bljqgQk7P50r7iIEU4gfoyLd CpkTiaL1fx0MbN5F+YdX90+7eu0lc8aRMbOc88M+ZKkbnptWlwx2O2lEVcDW52UAssxShT cvMCO5VaHzRbPaZwAuYYBUbXMlzCYHjdZujfsZudjZO3AxxGZ2vfjiSb8rizAQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4LhWTm6gtGz1BsR; Mon, 11 Jul 2022 17:44:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 26BHiC0A026514; Mon, 11 Jul 2022 17:44:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26BHiC0l026513; Mon, 11 Jul 2022 17:44:12 GMT (envelope-from git) Date: Mon, 11 Jul 2022 17:44:12 GMT Message-Id: <202207111744.26BHiC0l026513@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Sergey A. Osokin" Subject: git: 3364325c8af3 - main - www/nginx-devel: add third-party clojure module back List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: osa X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3364325c8af3d113d8f29cc36fc1e15f22d12b9c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657561453; 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=4+64yrXz8L70/GEoLhx9V5prgrtNdN3CDoz1FyhMe7s=; b=wJsTk3tVeVLn3vVv1g87MLY9y06UgIn1K7N+Yz156JZXc3Fi9HKFI3VUW81W+P+cyJY7Fh 2jSQ/+MR0enxQ8tWIS4gzJg9N0GJduXFWSGoBwnieVZA1aNnTrNE9ZRgKojdQXf4IVLvsm fAFpTecOGd65NJPSUCxUNZdvK9w2PUs8IzVaiS4L3WgwSRivQUeI08NY6fwwibP4xAalzV qHN8kTdBs9jlULlPMy+XcdhjCPN3ReLblaHdmjTRo2MMiVApx+oYHyKjOtNRebaV9XGgKX 2B5urcBDgrME6BxCl9pJfbIm1883/S3FcKNkS9i9EP6po4k4SIhZdGb8E6/RUQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657561453; a=rsa-sha256; cv=none; b=Bu4+NFYRhcdCgrL8BPkmIqZ9+qPS/4p5Dw1pEXjnVQyvLu/jJqx9BHz65MQ3ukj3mz8L9d 0u1vEPX1j2dxblnq1s8GP7yDFaj3hKUItAG7VnsEBOO5e1IolvLD+n6XdK4+sTvDY2JNBS jImO/TSOhzrt8LL974NZi8R6617jtKJQxHBC9tkJH8ZBoSw26oY74gkQwOIsigal2QIu/n GV/VnR4XozBh8pt6YZaR3PCl0Yf5cPWl2jTNdL3Dd3e6YkmKFILc1woFcKO+8gOyLzKN41 4kFYr3ci4w7bPTwU3RbRBdT6Nac5p9LcWXqoOfSqmqIWZvKs/PK7frbjsm0bug== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by osa: URL: https://cgit.FreeBSD.org/ports/commit/?id=3364325c8af3d113d8f29cc36fc1e15f22d12b9c commit 3364325c8af3d113d8f29cc36fc1e15f22d12b9c Author: Sergey A. Osokin AuthorDate: 2022-07-11 17:42:22 +0000 Commit: Sergey A. Osokin CommitDate: 2022-07-11 17:42:22 +0000 www/nginx-devel: add third-party clojure module back Bump PORTREVISION. Thanks to pluknet. --- www/nginx-devel/Makefile | 2 +- www/nginx-devel/Makefile.extmod | 10 +++++++++- www/nginx-devel/Makefile.options.desc | 1 - www/nginx-devel/distinfo | 4 +++- www/nginx-devel/files/extra-patch-ngx_http_clojure_mem.h | 11 +++++++++++ www/nginx-devel/pkg-plist | 1 + 6 files changed, 25 insertions(+), 4 deletions(-) diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile index c725a2460089..d43d707557db 100644 --- a/www/nginx-devel/Makefile +++ b/www/nginx-devel/Makefile @@ -2,7 +2,7 @@ PORTNAME?= nginx PORTVERSION= 1.23.0 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= www MASTER_SITES= https://nginx.org/download/ \ LOCAL/osa diff --git a/www/nginx-devel/Makefile.extmod b/www/nginx-devel/Makefile.extmod index 8c8c7ee37c18..60701db8fed8 100644 --- a/www/nginx-devel/Makefile.extmod +++ b/www/nginx-devel/Makefile.extmod @@ -2,7 +2,7 @@ OPTIONS_GROUP+= THIRDPARTYGRP # External modules (arrayvar MUST appear after devel_kit for build-dep) -OPTIONS_GROUP_THIRDPARTYGRP= AJP AWS_AUTH BROTLI CACHE_PURGE COOKIE_FLAG CT \ +OPTIONS_GROUP_THIRDPARTYGRP= AJP AWS_AUTH BROTLI CACHE_PURGE CLOJURE COOKIE_FLAG CT \ DEVEL_KIT ARRAYVAR DRIZZLE DYNAMIC_HC DYNAMIC_UPSTREAM ECHO ENCRYPTSESSION \ FORMINPUT GRIDFS HEADERS_MORE HTTP_ACCEPT_LANGUAGE HTTP_AUTH_DIGEST \ HTTP_AUTH_KRB5 HTTP_AUTH_LDAP HTTP_AUTH_PAM HTTP_DAV_EXT HTTP_EVAL \ @@ -32,6 +32,14 @@ BROTLI_VARS= DSO_EXTMODS+=brotli CACHE_PURGE_GH_TUPLE= torden:ngx_cache_purge:2b977cf:cache_purge CACHE_PURGE_VARS= DSO_EXTMODS+=cache_purge +CLOJURE_CATEGORIES+= java +CLOJURE_USE= JAVA=yes JAVA_OS=native JAVA_VERSION=1.8 \ + JAVA_VENDOR=openjdk JAVA_BUILD=yes JAVA_RUN=yes +CLOJURE_GH_TUPLE= nginx-clojure:nginx-clojure:4347955:clojure +CLOJURE_CONFIGURE_ENV= "JNI_INCS=-I${LOCALBASE}/openjdk8/include -I${LOCALBASE}/openjdk8/include/freebsd" +CLOJURE_VARS= DSO_EXTMODS+=clojure CLOJURE_SUBDIR=/src/c +CLOJURE_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ngx_http_clojure_mem.h + COOKIE_FLAG_GH_TUPLE= AirisX:nginx_cookie_flag_module:c4ff449:cookie_flag COOKIE_FLAG_VARS= DSO_EXTMODS+=cookie_flag diff --git a/www/nginx-devel/Makefile.options.desc b/www/nginx-devel/Makefile.options.desc index b6067fe10827..78fc48559cb9 100644 --- a/www/nginx-devel/Makefile.options.desc +++ b/www/nginx-devel/Makefile.options.desc @@ -58,7 +58,6 @@ HTTP_PUSH_STREAM_DESC= 3rd party push stream module HTTP_RANDOM_INDEX_DESC= Enable http_random_index module HTTP_REALIP_DESC= Enable http_realip module HTTP_REDIS_DESC= 3rd party http_redis module -HTTP_RESPONSE_DESC= 3rd party http_response module HTTP_SECURE_LINK_DESC= Enable http_secure_link module HTTP_SLICE_DESC= Enable http_slice module HTTP_SLICE_AHEAD_DESC= 3rd party http_slice_ahead module diff --git a/www/nginx-devel/distinfo b/www/nginx-devel/distinfo index d086ad5aa5a7..abc59ec467da 100644 --- a/www/nginx-devel/distinfo +++ b/www/nginx-devel/distinfo @@ -1,4 +1,4 @@ -TIMESTAMP = 1657504169 +TIMESTAMP = 1657561075 SHA256 (nginx-1.23.0.tar.gz) = 820acaa35b9272be9e9e72f6defa4a5f2921824709f8aa4772c78ab31ed94cd1 SIZE (nginx-1.23.0.tar.gz) = 1102940 SHA256 (nginx_mogilefs_module-1.0.4.tar.gz) = 7ac230d30907f013dff8d435a118619ea6168aa3714dba62c6962d350c6295ae @@ -19,6 +19,8 @@ SHA256 (google-ngx_brotli-9aec15e_GH0.tar.gz) = 0177b1158ff7092b9996346de28a0b29 SIZE (google-ngx_brotli-9aec15e_GH0.tar.gz) = 16194 SHA256 (torden-ngx_cache_purge-2b977cf_GH0.tar.gz) = 9de7dad5827edf37e803435ee764f6815562053daa0821aedaf539580307ff93 SIZE (torden-ngx_cache_purge-2b977cf_GH0.tar.gz) = 16739 +SHA256 (nginx-clojure-nginx-clojure-4347955_GH0.tar.gz) = 9f0fc3b479936fc5b20101c6d238bff5a6f4a32b28d8ec4a511f902abe2abc1f +SIZE (nginx-clojure-nginx-clojure-4347955_GH0.tar.gz) = 756519 SHA256 (AirisX-nginx_cookie_flag_module-c4ff449_GH0.tar.gz) = 4b8c1c1e1ed59ed85751f4bd7d68026ad5051103c8b983e05ad17eb0cdab138e SIZE (AirisX-nginx_cookie_flag_module-c4ff449_GH0.tar.gz) = 4713 SHA256 (grahamedgecombe-nginx-ct-93e9884_GH0.tar.gz) = 72fdd125b9207cdda135f368095f85b943a78a4ff004d1cd217972e12b1571b2 diff --git a/www/nginx-devel/files/extra-patch-ngx_http_clojure_mem.h b/www/nginx-devel/files/extra-patch-ngx_http_clojure_mem.h new file mode 100644 index 000000000000..8ccf7ea4ba2b --- /dev/null +++ b/www/nginx-devel/files/extra-patch-ngx_http_clojure_mem.h @@ -0,0 +1,11 @@ +--- ../nginx-clojure-4347955/src/c/ngx_http_clojure_mem.h.orig 2022-07-11 13:38:32.426478000 -0400 ++++ ../nginx-clojure-4347955/src/c/ngx_http_clojure_mem.h 2022-07-11 13:38:45.346434000 -0400 +@@ -421,7 +421,7 @@ + #define NGX_HTTP_CLOJURE_HEADERSI_PASSWD_IDX 90 + #define NGX_HTTP_CLOJURE_HEADERSI_PASSWD_OFFSET offsetof(ngx_http_headers_in_t, passwd) + #define NGX_HTTP_CLOJURE_HEADERSI_COOKIE_IDX 91 +-#define NGX_HTTP_CLOJURE_HEADERSI_COOKIE_OFFSET offsetof(ngx_http_headers_in_t, cookies) ++#define NGX_HTTP_CLOJURE_HEADERSI_COOKIE_OFFSET offsetof(ngx_http_headers_in_t, cookie) + #define NGX_HTTP_CLOJURE_HEADERSI_SERVER_IDX 92 + #define NGX_HTTP_CLOJURE_HEADERSI_SERVER_OFFSET offsetof(ngx_http_headers_in_t, server) + #define NGX_HTTP_CLOJURE_HEADERSI_CONTENT_LENGTH_N_IDX 93 diff --git a/www/nginx-devel/pkg-plist b/www/nginx-devel/pkg-plist index 70df030bff30..0580ca5cd00e 100644 --- a/www/nginx-devel/pkg-plist +++ b/www/nginx-devel/pkg-plist @@ -14,6 +14,7 @@ %%DSO%%%%BROTLI%%libexec/nginx/ngx_http_brotli_filter_module.so %%DSO%%%%BROTLI%%libexec/nginx/ngx_http_brotli_static_module.so %%DSO%%%%CACHE_PURGE%%libexec/nginx/ngx_http_cache_purge_module.so +%%DSO%%%%CLOJURE%%libexec/nginx/ngx_http_clojure_module.so %%DSO%%%%COOKIE_FLAG%%libexec/nginx/ngx_http_cookie_flag_filter_module.so %%DSO%%%%CT%%libexec/nginx/ngx_http_ssl_ct_module.so %%DSO%%%%CT%%libexec/nginx/ngx_ssl_ct_module.so