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 EEE2D158074 for ; Wed, 02 Jul 2025 22:31:11 +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) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id D79D8342496 for ; Wed, 02 Jul 2025 22:31:11 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 59202110693; Wed, 02 Jul 2025 22:07:27 +0000 (UTC) Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) (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 A9F43110685 for ; Wed, 02 Jul 2025 22:07:26 +0000 (UTC) Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-451d6ade159so35306955e9.1 for ; Wed, 02 Jul 2025 15:07:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1751494045; x=1752098845; 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=r9CaHb05zOWyMw75hMbmrNuS0Y4ENVbp1JBoEPZU9Hw=; b=Eyfcib8h30PgZLpfm/U1ZVTKHsVJgPZy7gArlvPNvZ7sfgiW1qs8vFK186Z6hL8Znb OXKD0cPubTq9nYIrNC8OCDZh+DklPec3XbEns2z4W6ZcNfavo7Z9uXatCMLmtRI1gy/Q H1xoeav43X4Qx2z2Vg8AAqekPh0YMxJkvOMakrD0VeW7e+qbndY0ZGX+r4KKIOEgbnp1 1hVIFNtmhTsZj6Q3EnCfyaYOPDQKrnsKXN/lJkqwEH9ObRfUH7iiZ5Zud7pP/h2vYWaI m1s/ye+R2QvUeU6jt6kbRMLD2Q+lZCg/WMmW0/NE8/0/pYZTZaU71YHppxWVIRtJ10Lx 45Jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751494045; x=1752098845; 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=r9CaHb05zOWyMw75hMbmrNuS0Y4ENVbp1JBoEPZU9Hw=; b=mxFKukjUsfTvBrQH1lHzdfIoPHTvJ0DH6Du3TYgLRA11Rk/LxHKClOGVtbr7BFarng t2xYuptWMTUx0d3b3ej/2I/lSRP7zidQm0JImat0vEFhJAdmUUgsZf7Zma7iwCImCQPY 8tkVrsmXs1Yk8oZM0ZLBA4jVDCLFHtwea8ol8N6y3Wf+lIm9lY1Kboss2lGDsnyv2oM3 8hTzVlgoRpbPvTbWf8t/kbuGmwJ+RSUtLQAXRxmpLMAqdI9Jo8LWutTA2ksTq993ya6k SkJDrQXDgrnwyuWTE8RvQdBeY+K2DbMBx00DWHWVSyjZk0SoqjMV9hkeMhdzZMn2SUy+ 1J5Q== X-Gm-Message-State: AOJu0YxpItW08Hxszew31CIPV27ijbsV/2S9gqOcBBcAHgdkzyJI9NPQ 8Yo2FwA+6oQHLENULPC0/eKolSyY60O+FGkBokychwpn6VwerjyMcizNZzcmdnwt X-Gm-Gg: ASbGnctg3GhygmGB2Oqb+mry3aJpa05gEoMHsiDYka5xGeFBnqin0/PdDefb3SA0Oyn dNZ4mFrAflmNwn1hG7O0LkRQaXaBZTccmG5zOXZxeQQDRDdk0aQq3Bs4egv94s83jxF9ZmTBbZb YzU6/NJvnrHyLdAtWa5EN/ZJTwLkC1bnhxmCTCuqhVh3nCaqxkSmmt6823QvXPgaszMsUz11w4m SfNx5YmTYU7JCKENdFsGao8qLNDu8h6Gs60KT1EyqTmeiWPyzpqZwxaJ+3xfc9j4V/RicEcI/Qr iBWkMPVYRCVJ+pm5NJw4L6KBHuSqnRwDyBAdqvbuLcuDRCc4svGHgAGtOQwJMBz73T08/EyVjzg HoIhtw0+WPrCJj8dqN/dJpIhKQZe+hb6dFd+VqXXqzw3EgiyJApKm6HFa8xiRdPQL3oGcmQdn X-Google-Smtp-Source: AGHT+IEmwT/r5alQDOsUeQgmdwxikM211OZyfQkaKtZLf0lwlOOa1NbzR0fDcf3kVRxuSteTKIuTnw== X-Received: by 2002:a05:600c:c4ab:b0:43d:17f1:2640 with SMTP id 5b1f17b1804b1-454a3728b01mr41482475e9.26.1751494044835; Wed, 02 Jul 2025 15:07:24 -0700 (PDT) Received: from gentoo-framework.fritz.box (p200300e3670fa900e88f375122fffbb3.dip0.t-ipconnect.de. [2003:e3:670f:a900:e88f:3751:22ff:fbb3]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-454a9989fcesm8921495e9.16.2025.07.02.15.07.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Jul 2025 15:07:24 -0700 (PDT) From: Zurab Kvachadze To: gentoo-dev@lists.gentoo.org Cc: Zurab Kvachadze Subject: [gentoo-dev] [PATCH v4 25/44] www-nginx/ngx-headers-more: new package, add 0.37 Date: Thu, 3 Jul 2025 00:06:45 +0200 Message-ID: <20250702220705.4649-26-zurabid2016@gmail.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250702220705.4649-1-zurabid2016@gmail.com> References: <20250702220705.4649-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: 3b5aee69-ddea-4ff9-90dc-dcbe5c6a4d9c X-Archives-Hash: 4faeddc13f1d5b31a1894f001daa8b6e 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.49.0