From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A9814159C96 for ; Mon, 29 Jul 2024 21:57:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D79FB2BC1A5; Mon, 29 Jul 2024 21:53:00 +0000 (UTC) Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id A8EBB2BC1A2 for ; Mon, 29 Jul 2024 21:53:00 +0000 (UTC) Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-58f9874aeb4so5294947a12.0 for ; Mon, 29 Jul 2024 14:53:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722289979; x=1722894779; 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=u6B8H1Rvqj3qGTMDA8VD1x3pONzyjobEiJWGTpJuMKw=; b=N2znq536IE9VCkN64HO3k8Hrik+2HAEXtnY5ckSUsesm4NN5VALpfkKcQ+1CghtBAV AUZ0c7NOHnI1dxwBjYzzASX6MgVvDrmpwOonwBWneHEPFO9LP3fIOGtXBDUQ9bQTeq5S 9WWZul04C3PVRLOF+U369wbYZ6esRsPiirE3A3YOzOHBV6G6d3vYoJVZwXQ7rvRvmp5X 0b5qmbBZkV8fwCbyxjMfzdVZ/YuRgpPReKAOO8xIdoSMtady+vWavp0YNd830mTbhbRn DlM088lVMC2dTM4Hmw1kr8mQj5zgfsUZHKkjrYg/1uy9F2itW3HBNahl357bLYFLcIiQ W+Lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722289979; x=1722894779; 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=u6B8H1Rvqj3qGTMDA8VD1x3pONzyjobEiJWGTpJuMKw=; b=KqSk7sCE0y1X3k+5HgCYbgr/v8ZDacoWk/OWoNPrA6Pp+KxsrLwSlogd/Bvbr9he/+ vn2dKLuT/6EL+1oWt9o6UyFxRSaW8x3NmwArCU9ohTxs2j+a+pZnl90e5ZyOqorhCoSK +V+phzFHVP2fJzDYP9Pgb/bRBAz2IFtJlUN0E1EOLHuFnMNByyPcvW8P8Smh5Xk4Mxpk h4EcVJIIeWgEVjPVJNWcPrz9voKSQxsSQKip/JHPCEoH3/BPLS26d2NAYeIEHh/w3N7N ndB/HyeHAdYlPHDS0woX/0X8ochcC74T7FTT2fJgrfSzS5ROCoVQmlM5F/tktIKloD0q EjPg== X-Gm-Message-State: AOJu0Yw8J5KyzpVLT9JcTOtkmUpyO2pSdMp3vgwm282D4OlRzaoR43p5 YTu6j6336bp5o7g67BoO010I6eD2Q+/TEGSHWN3z3rJfdwHnFej5PZtWEw== X-Google-Smtp-Source: AGHT+IFmYWM1ON5xWtEdJlF3q0dDvi0Rw2rg8waIN5nVdmp0to06axepgfbbHoH1J4zMGJJKyzj20Q== X-Received: by 2002:a17:907:7f24:b0:a7a:a06b:eec8 with SMTP id a640c23a62f3a-a7d400ad8e6mr584039566b.37.1722289979275; Mon, 29 Jul 2024 14:52:59 -0700 (PDT) Received: from localhost.localdomain ([62.244.50.57]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a7acad9046fsm564748266b.147.2024.07.29.14.52.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jul 2024 14:52:58 -0700 (PDT) From: Zurab Kvachadze To: gentoo-dev@lists.gentoo.org Cc: conikost@gentoo.org, Zurab Kvachadze Subject: [gentoo-dev] [RFC PATCH v2 19/20] www-nginx/ngx-encrypted-session: new package, add 0.09 Date: Tue, 30 Jul 2024 00:52:35 +0300 Message-ID: <20240729215241.13243-20-zurabid2016@gmail.com> X-Mailer: git-send-email 2.44.2 In-Reply-To: <20240729215241.13243-1-zurabid2016@gmail.com> References: <20240729215241.13243-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: 25241d93-8474-4a24-b3ae-bdc09e95bbac X-Archives-Hash: 6458f1d91572b2d56143932bdc125fc6 Signed-off-by: Zurab Kvachadze --- www-nginx/ngx-encrypted-session/Manifest | 1 + .../ngx-encrypted-session}/metadata.xml | 2 +- .../ngx-encrypted-session-0.09.ebuild | 32 +++++++++++++++++++ 3 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 www-nginx/ngx-encrypted-session/Manifest copy {app-admin/apachetop => www-nginx/ngx-encrypted-session}/metadata.xml (70%) create mode 100644 www-nginx/ngx-encrypted-session/ngx-encrypted-session-0.09.ebuild diff --git a/www-nginx/ngx-encrypted-session/Manifest b/www-nginx/ngx-encrypted-session/Manifest new file mode 100644 index 000000000000..bf079459db04 --- /dev/null +++ b/www-nginx/ngx-encrypted-session/Manifest @@ -0,0 +1 @@ +DIST ngx-encrypted-session-0.09.tar.gz 11847 BLAKE2B 2e923054c34c9b2d3c799280c331c8288444c7f59bc6ea4858e680c81e28f7d8595006474326739c804d6949e3b74b67ce643ed9e196695affb8c275065a4fee SHA512 399ce2690e85ee27802e8031954a1a3aa3fdc9246e17323a72a298d235931a8dbebdcb121ac8788e074872df0ef5b5a8a3d512b17fbe860b38f696ce42de3655 diff --git a/app-admin/apachetop/metadata.xml b/www-nginx/ngx-encrypted-session/metadata.xml similarity index 70% copy from app-admin/apachetop/metadata.xml copy to www-nginx/ngx-encrypted-session/metadata.xml index 3e1e79272826..b2aff3f9f809 100644 --- a/app-admin/apachetop/metadata.xml +++ b/www-nginx/ngx-encrypted-session/metadata.xml @@ -3,6 +3,6 @@ - tessus/apachetop + openresty/encrypted-session-nginx-module diff --git a/www-nginx/ngx-encrypted-session/ngx-encrypted-session-0.09.ebuild b/www-nginx/ngx-encrypted-session/ngx-encrypted-session-0.09.ebuild new file mode 100644 index 000000000000..d74c968f7037 --- /dev/null +++ b/www-nginx/ngx-encrypted-session/ngx-encrypted-session-0.09.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +DESCRIPTION="An NGINX module that encrypts and decrypts NGINX variable values" +HOMEPAGE="https://github.com/openresty/encrypted-session-nginx-module" + +SRC_URI=" + https://github.com/openresty/encrypted-session-nginx-module/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz +" +LICENSE="BSD-2" + +SLOT=0 + +MY_PN="encrypted-session-nginx-module" +inherit nginx-module + +NGINX_MOD_S="${WORKDIR}/${MY_PN}-${PV}" + +DEPEND=" + dev-libs/openssl + www-nginx/ngx_devel_kit +" +RDEPEND="${DEPEND}" + +src_configure() { + append-cflags -DNDK + sed -E -i 's/^(\s*ngx_module_libs)=$/\1=-lcrypto/' "${NGINX_MOD_S}/config" || + die "sed failed" + export NDK_SRCS="ndk.c" + nginx-module_src_configure +} -- 2.44.2