From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 089011582EF for ; Fri, 21 Feb 2025 16:34:06 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id E64B834501A for ; Fri, 21 Feb 2025 16:34:05 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 2D8A91105D0; Fri, 21 Feb 2025 16:09:14 +0000 (UTC) Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) (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) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 6116E1105B2 for ; Fri, 21 Feb 2025 16:09:13 +0000 (UTC) Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-aaee2c5ee6eso387780166b.1 for ; Fri, 21 Feb 2025 08:09:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740154152; x=1740758952; darn=lists.gentoo.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=uhxjM8O1xyyaYJbWByPDUH7Im7O96wg1veAPnWV04TA=; b=KKLfag1rdu1kOynpPPmI0cAIUSn4sebK8vQE/NIgdU3VzOX2J3ptwmLrKyhkDv9Tsf RsnfkVFnVZuNGwMxOTJN6g+ZiQZLvS83ge/blxAVZKFx8dCsk9522Xk0m3r9FOcDgTV0 U9M/Kswv+zKQCbF9ButgYZ/o2GF3hweVdr0uoeoePZqnyK/wMYQB6sOSPcCb2EMjw7NL i+9E64m3EAWbi6fRQysLYuTMqclRumJgP5X2uaXWnOjn6D6QeQLfVkR9c6EXFkk8zd7w DixMBY2NG7CGpwwg6DkcI4Xp541GIZSn5DY6w9R3y8GzCdFgcTYXkZupZ68zkV/Sw8vz rylQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740154152; x=1740758952; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uhxjM8O1xyyaYJbWByPDUH7Im7O96wg1veAPnWV04TA=; b=nD703diVRnM0VVNbtT5KkH/umIGNOdW+GdcdL07Q+o6G1NHPSzlcusZBoHM5LMWrcP 0eB1mB6Pa5gZ0Dt7JxJKY1L005lTuMpux5YSzHyTz1BGmyBpKdTwOecbqpOq5d+o8O1u hnnaMNuH8cdodDjWuoRP0N2wejpBGMaS8KR5tv4PbdTCpbs2wukBhdOgTusNWDLAbe0a 0MMkAAalKSUPeP46s8RGQlYe1H1uu1c1qui0LtoLtU35KvlZSodErQBd2mL6cKRJkhjk 2sfqmgUQnXjsosqDcKtsaUzf2E6yrmgoNohKP0mEiCOTcSXp6IKgsy3OggeUIBjlIM9F 1Etg== X-Gm-Message-State: AOJu0YzvbKvs3jLUFOILthkMsIFpgoMP2HUK904+ofjtHDqqz484XHCo ZVGrlbgYJ9X72aikUuG5C9v22t9L3STYQJNB5zp4wnxtrgq9EK3pxJDyB9WD X-Gm-Gg: ASbGncv6XBHjcfnXh2W868oyDVLAjEdZLuQd4YQ9SGuUtVRg/FgIdNyaEW60eQoQfde tp0KMeYzoV2VZw1zL7K81ecFwpxIk6u/Qabqaa22LfHRLdcEBiYeIp3gDuzhwblC5b6Qb8GbEbs zPvYr4oBMsX0MbG3Y+InznaOoU4zdJ3sytQfAu3ay3bcipdM02hNww1RXhaEbLrxITNt1m9913x HYQUZT/weRxDU3qVHTzB0vfDQOeGWi4sl1lKjXSFADGIw74lX/qUzJFvCPk8d3BJ0MVu+Vn5vNB prGiBVumRuyMCg0jSWEObbuKfeLFM0WTStWC/6hVZFYsLmnt4YpjV5hCf3RmVXxF73mTt2KFSDI = X-Google-Smtp-Source: AGHT+IFNfkPdtg7yPwfrNeCS4GJsMZOnmeKIq33wCtLznWi/3Cro55V+pYfd98QAFSzAUbGsBp9AWQ== X-Received: by 2002:a17:906:2801:b0:abc:ca9:45af with SMTP id a640c23a62f3a-abc0ca94fb1mr304431566b.18.1740154150068; Fri, 21 Feb 2025 08:09:10 -0800 (PST) Received: from localhost.localdomain (92-70-146-242.biz.kpn.net. [92.70.146.242]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-abbac781b78sm862154466b.60.2025.02.21.08.09.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Feb 2025 08:09:09 -0800 (PST) From: Zurab Kvachadze To: gentoo-dev@lists.gentoo.org Cc: Zurab Kvachadze Subject: [gentoo-dev] [PATCH v3 26/40] www-nginx/ngx-headers-more: new package, add 0.37 Date: Fri, 21 Feb 2025 17:08:23 +0100 Message-ID: <20250221160839.29308-27-zurabid2016@gmail.com> X-Mailer: git-send-email 2.45.3 In-Reply-To: <20250221160839.29308-1-zurabid2016@gmail.com> References: <20250221160839.29308-1-zurabid2016@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: 382ece57-d4d0-419f-bde6-dd99e14c8546 X-Archives-Hash: dc6ca14cce27357832115ba286983689 Signed-off-by: Zurab Kvachadze --- www-nginx/ngx-headers-more/Manifest | 1 + .../metadata.xml | 13 +++++++------ .../ngx-headers-more-0.37.ebuild | 19 +++++++++++++++++++ 3 files changed, 27 insertions(+), 6 deletions(-) create mode 100644 www-nginx/ngx-headers-more/Manifest copy www-nginx/{ngx-encrypted-session => ngx-headers-more}/metadata.xml (50%) create mode 100644 www-nginx/ngx-headers-more/ngx-headers-more-0.37.ebuild diff --git a/www-nginx/ngx-headers-more/Manifest b/www-nginx/ngx-headers-more/Manifest new file mode 100644 index 000000000000..ce0a7423c736 --- /dev/null +++ b/www-nginx/ngx-headers-more/Manifest @@ -0,0 +1 @@ +DIST ngx-headers-more-0.37.tar.gz 29433 BLAKE2B 0029eac59ee7182dbcb9be93f2f25684bae200e1ee897e2d4dde6abc304b4c7e7373a4cdd3059c5ec1b199a3d5467e034889a4cf1f133d26194acbc4374a1054 SHA512 0cc2fffe506194d439e3669644d41b7943e2c3cffa3483eb70b92067930b358d506a14646eff8362b191a11c624db29f6b53d830876929dcb4ce1c9d7b2bc40d diff --git a/www-nginx/ngx-encrypted-session/metadata.xml b/www-nginx/ngx-headers-more/metadata.xml similarity index 50% copy from www-nginx/ngx-encrypted-session/metadata.xml copy to www-nginx/ngx-headers-more/metadata.xml index 2691b306a130..cbcfe86571ca 100644 --- a/www-nginx/ngx-encrypted-session/metadata.xml +++ b/www-nginx/ngx-headers-more/metadata.xml @@ -10,13 +10,14 @@ Proxy Maintainers - The encrypted-session module provides encryption and decryption support for nginx variables - based on AES-256 with Mac. It is usually used with the ngx_set_misc module and the - standard rewrite module's directives. This module can be used to implement simple user login - and ACL. + The ngx-headers-more module allows adding, settin, or clearing any output or input header. + + This is an enhanced version of the standard headers module since it provides more + utilities like resetting or clearing "builtin headers" like Content-Type, Content-Length, + and Server. - https://github.com/openresty/encrypted-session-nginx-module/issues - openresty/encrypted-session-nginx-module + https://github.com/openresty/headers-more-nginx-module/issues + openresty/headers-more-nginx-module diff --git a/www-nginx/ngx-headers-more/ngx-headers-more-0.37.ebuild b/www-nginx/ngx-headers-more/ngx-headers-more-0.37.ebuild new file mode 100644 index 000000000000..606446a9641e --- /dev/null +++ b/www-nginx/ngx-headers-more/ngx-headers-more-0.37.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="headers-more-nginx-module" +NGINX_MOD_S="${WORKDIR}/${MY_PN}-${PV}" +inherit nginx-module + +DESCRIPTION="Set, add, and clear arbitrary output headers in NGINX HTTP servers" +HOMEPAGE="https://github.com/openresty/headers-more-nginx-module" +SRC_URI=" + https://github.com/openresty/headers-more-nginx-module/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz +" + +LICENSE="BSD-2" +SLOT="0" + +RESTRICT="test" -- 2.45.3