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 870E51582EF for ; Fri, 21 Feb 2025 16:31:27 +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 705DA344149 for ; Fri, 21 Feb 2025 16:31:27 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id F016F1105A5; Fri, 21 Feb 2025 16:09:11 +0000 (UTC) Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) (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 3BD2B11058D for ; Fri, 21 Feb 2025 16:09:11 +0000 (UTC) Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-abadccdfe5aso389809266b.0 for ; Fri, 21 Feb 2025 08:09:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740154149; x=1740758949; 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=MrEt87LBuWFX+b1FlOEVRakKYyHcAxp2Z5wLnty1Av8=; b=h61emsIlUrsA8zPskHv25OhziJ9Rnytlcw+Qls9pOtTKujxevXewXaGVMalELFCiX0 KwjD7hHK799WnV5a4TbjZmlnhy1iFG/g9CLEp95jd8f/53esznGIhLDhrXITTVOy24p2 PKWA+x1l7DzVnikCWomHz9pCySnxXnkZBgHYCbzEU/vfoyrR/RNObkcNwbvhDDvlRrVH OmJzD/OTq8pUZrykKIupPLn2zKMWZwzs6/3/IAYmDzD7u0sqcofy6Op7WD8SSJaZ0SyD QHVI2MWLzBTzCH13G2EAl2GgZxjBgIWVOxhIb2gYzp9vM2HLlhX+eqcPqTzp3VvkcOHA EhdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740154149; x=1740758949; 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=MrEt87LBuWFX+b1FlOEVRakKYyHcAxp2Z5wLnty1Av8=; b=VlS+imSQeYpc5pDrLz2SkSlljQjJa4RKFi3xwvnN0faWEkCI+EY4/D+ZFbTPc47cch tTYymWP440oRMHXQrBB5ECaabHD7V7EUGbYmLCh8GAcDso4MGh3sgy/MZ0P344Fen+J4 2DA9xRb48p5UZ3HoqhPlfSiSX/TqG/LdIaqHmXH+KF242blK5xZD1xXn3BtvSFw1XExC nvm98qYifXs68rKrab/q8VFMdtd8uHzk4OdRWxBuQvT7WpQ1bi7q/KtM8e2YEqMZ0rH/ nxhPXCZ6uRhTtZvC7oAbIx+yMV8mnUD/Kn5yjuls7DiCH5gQF9v9HN161iq2tfVdZOsW PMXg== X-Gm-Message-State: AOJu0YwMJtDasdkEkyihJpqufjuHtlEcNx/Fn7EQzJ6070UHcs26541o SHKOfJr9CATSYJhIMzPwGSA0EoJV1B9r/Nbi0i7B5KPl+ojkVkufE1iPnTl9 X-Gm-Gg: ASbGncuJ/1fCQzcHsC6DWWWl6BtKNYLnlvI+d83/VkoL0BEdxhrQYuCedQn/G9XXXt1 tsQv3MyKXYNTwI41tG1RjHMqf4fVRYXhGNIGefURw3reqgWChJeW2xPYRI1ppwM++Uxsan5vhPY aEqg9yFHyY2AyoQhT2oYWA66ftCln0F1Z8Lx4oe5Dh125imozOaWEwfEWDjYMoQcRA1HB9CvdL5 yyT/cXV4VLNUUiCNoxhdKQSkGUcIVWN8p+LjNamGGpEmX8aCRT2EKd0VF9nyb09Ob7zh6I0xABm 0wBdvGm2HsaLAe3FnVB+K9iWHItKkMdK62lMyllzsHLbGF32cpTunND4TUS3Db7UTX++TlgeRSA = X-Google-Smtp-Source: AGHT+IFleK10jBXzEYBK9x49uAX185lsAeyNUH60PpSU0Nun7+FMmhcB6kfNZzzrRDAZk2IsOd6rRw== X-Received: by 2002:a17:907:97d5:b0:ab3:4c32:aa6c with SMTP id a640c23a62f3a-abc0d9e5b0amr297629466b.20.1740154149445; Fri, 21 Feb 2025 08:09:09 -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.08 (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 25/40] www-nginx/ngx-brotli: new package, add 20231109 Date: Fri, 21 Feb 2025 17:08:22 +0100 Message-ID: <20250221160839.29308-26-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: a776229e-1810-4149-ad87-a1d757a94278 X-Archives-Hash: 38ea132fa4eac9e2fb13ae512e9a52f3 Signed-off-by: Zurab Kvachadze --- www-nginx/ngx-brotli/Manifest | 2 ++ www-nginx/ngx-brotli/metadata.xml | 24 +++++++++++++++ .../ngx-brotli/ngx-brotli-20231109.ebuild | 30 +++++++++++++++++++ 3 files changed, 56 insertions(+) create mode 100644 www-nginx/ngx-brotli/Manifest create mode 100644 www-nginx/ngx-brotli/metadata.xml create mode 100644 www-nginx/ngx-brotli/ngx-brotli-20231109.ebuild diff --git a/www-nginx/ngx-brotli/Manifest b/www-nginx/ngx-brotli/Manifest new file mode 100644 index 000000000000..9a3492068a39 --- /dev/null +++ b/www-nginx/ngx-brotli/Manifest @@ -0,0 +1,2 @@ +DIST brotli-ed738e842d2fbdf2d6459e39267a633c4a9b2f5d.tar.gz 512305 BLAKE2B b646e4565386870443d006a97a13b295c2c66de448e501f809700c303bb3daf5e4f84a2dacec16c43a534879243e4cda9292072630f13d5f7ca54f2c4372e560 SHA512 f493e7f15ca2804ae8715e48bdc954680f527533e684ec3762a7d49d05890915194289ed948c8cce95644274e1dcab952dcfbc84c0108aaf79f35f20270ffe6a +DIST ngx-brotli-a71f9312c2deb28875acc7bacfdd5695a111aa53.tar.gz 16387 BLAKE2B 2883711581ff5073f8e6451078c046f70323e1c893c3b70f8feb1abfc6ccb420ddb5f5d3b5131eb127538cf9b0cd0d9843d450cacd49b7fc7dfeb0a8c8865de8 SHA512 62a904f1a8e63e169cf09517189d65dd9ee1a6cca2a8461bc4ea29d72f97b940048e34f8dcc4a332785ab603be79f1830e371d920f06bdaa460d7e57915cafdc diff --git a/www-nginx/ngx-brotli/metadata.xml b/www-nginx/ngx-brotli/metadata.xml new file mode 100644 index 000000000000..258827550a02 --- /dev/null +++ b/www-nginx/ngx-brotli/metadata.xml @@ -0,0 +1,24 @@ + + + + + zurabid2016@gmail.com + Zurab Kvachadze + + + proxy-maint@gentoo.org + Proxy Maintainers + + + ngx-brotli provides support for Brotli compression in NGINX server. Brotli is a + generic-purpose lossless compression algorithm that compresses data using a + combination of a modern variant of the LZ77 algorithm, Huffman coding and 2nd order context + modeling, with a compression ratio comparable to the best currently available + general-purpose compression methods. It is similar in speed with deflate but offers more + dense compression. + + + https://github.com/google/ngx_brotli/issues + google/ngx_brotli + + diff --git a/www-nginx/ngx-brotli/ngx-brotli-20231109.ebuild b/www-nginx/ngx-brotli/ngx-brotli-20231109.ebuild new file mode 100644 index 000000000000..61db19a9a98c --- /dev/null +++ b/www-nginx/ngx-brotli/ngx-brotli-20231109.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +NGX_BROTLI_P="ngx-brotli-a71f9312c2deb28875acc7bacfdd5695a111aa53" +# A submodule. +BROTLI_P="brotli-ed738e842d2fbdf2d6459e39267a633c4a9b2f5d" + +MY_PN="${PN//-/_}" +NGINX_MOD_S="${WORKDIR}/${MY_PN}-${NGX_BROTLI_P#ngx-brotli-}" +inherit nginx-module + +DESCRIPTION="NGINX module for Brotli compression" +HOMEPAGE="https://github.com/google/ngx_brotli" +SRC_URI=" + https://github.com/google/ngx_brotli/archive/${NGX_BROTLI_P#ngx-brotli-}.tar.gz -> ${NGX_BROTLI_P}.tar.gz + https://github.com/google/brotli/archive/${BROTLI_P#brotli-}.tar.gz -> ${BROTLI_P}.tar.gz +" + +LICENSE="BSD-2" +SLOT="0" + +src_unpack() { + nginx-module_src_unpack + + # Move the submodule to its place. + rmdir "${NGINX_MOD_S}/deps/brotli" || die "rmdir failed" + mv "./${BROTLI_P}" "${NGINX_MOD_S}/deps/brotli" || die "mv failed" +} -- 2.45.3