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 40CE91581D3 for ; Wed, 22 May 2024 19:24:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B1ED7E2A41; Wed, 22 May 2024 19:24:44 +0000 (UTC) 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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8E2A9E2A41 for ; Wed, 22 May 2024 19:24:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 smtp.gentoo.org (Postfix) with ESMTPS id 71444341C4B for ; Wed, 22 May 2024 19:24:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A9D231B32 for ; Wed, 22 May 2024 19:24:41 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1716405822.c1e7bdd155b69ff97ea45bbf8fb7c876893aafac.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sec-keys/openpgp-keys-libmicrohttpd/ X-VCS-Repository: repo/gentoo X-VCS-Files: sec-keys/openpgp-keys-libmicrohttpd/Manifest sec-keys/openpgp-keys-libmicrohttpd/metadata.xml sec-keys/openpgp-keys-libmicrohttpd/openpgp-keys-libmicrohttpd-201906.ebuild sec-keys/openpgp-keys-libmicrohttpd/openpgp-keys-libmicrohttpd-999999.ebuild X-VCS-Directories: sec-keys/openpgp-keys-libmicrohttpd/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: c1e7bdd155b69ff97ea45bbf8fb7c876893aafac X-VCS-Branch: master Date: Wed, 22 May 2024 19:24:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d38cded2-de0d-4173-9900-4f442e514de5 X-Archives-Hash: 10f899eb6b511eb77caefec6ce4be9be commit: c1e7bdd155b69ff97ea45bbf8fb7c876893aafac Author: Karlson2k (Evgeny Grin) narod ru> AuthorDate: Fri Jan 12 07:38:19 2024 +0000 Commit: Sam James gentoo org> CommitDate: Wed May 22 19:23:42 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1e7bdd1 sec-keys/openpgp-keys-libmicrohttpd: new package Signed-off-by: Karlson2k (Evgeny Grin) narod.ru> Signed-off-by: Sam James gentoo.org> sec-keys/openpgp-keys-libmicrohttpd/Manifest | 2 + sec-keys/openpgp-keys-libmicrohttpd/metadata.xml | 14 ++++++ .../openpgp-keys-libmicrohttpd-201906.ebuild | 52 ++++++++++++++++++++++ .../openpgp-keys-libmicrohttpd-999999.ebuild | 52 ++++++++++++++++++++++ 4 files changed, 120 insertions(+) diff --git a/sec-keys/openpgp-keys-libmicrohttpd/Manifest b/sec-keys/openpgp-keys-libmicrohttpd/Manifest new file mode 100644 index 000000000000..25ea757d3e37 --- /dev/null +++ b/sec-keys/openpgp-keys-libmicrohttpd/Manifest @@ -0,0 +1,2 @@ +DIST christiangrothoff-D8423BCB326C7907033929C7939E6BE1E29FC3CC.asc 3914 BLAKE2B 1d36acfa9bfe998987084f9aa81bb6090525405128347bdf7e47ccdab6b6632918ef794a951dddab8a6e5e1eaac6ae41c32317265a166ece75532d1f0ed7ab13 SHA512 d26dc34a028d075063822db7d2ff64288b6345cc9d135ae14532b30deae30ee3b809e2075fc2de981bc2c4d3181e76a6d89b6155bec9d2aa690a29c472f338f1 +DIST karlson2k-EA812DBEFA5A7EF17DA8F2C1460A317C3326D2AE.asc 4994 BLAKE2B 1f9eb0aa78fa3637e8de3a10ca1bb9a88a964e87ec08cc5929a885dbe079bc2e5e44edf2a918a84f5633f5a5c00927d0d83fd98e1cc06172154e3d8694e2c7a1 SHA512 3935313ae8f0cb8af6fd280fd02c2eec426b2bcd14c79ff8aaa8ed2bb2ee9259de2ea15eb7f93018963bd23c08916c5cca9e2266f67b5d2cd5b3c2aa4bd1a3e3 diff --git a/sec-keys/openpgp-keys-libmicrohttpd/metadata.xml b/sec-keys/openpgp-keys-libmicrohttpd/metadata.xml new file mode 100644 index 000000000000..d0f452215942 --- /dev/null +++ b/sec-keys/openpgp-keys-libmicrohttpd/metadata.xml @@ -0,0 +1,14 @@ + + + + + k2k@narod.ru + Evgeny Grin + + + proxy-maint@gentoo.org + Proxy Maintainers + + + + diff --git a/sec-keys/openpgp-keys-libmicrohttpd/openpgp-keys-libmicrohttpd-201906.ebuild b/sec-keys/openpgp-keys-libmicrohttpd/openpgp-keys-libmicrohttpd-201906.ebuild new file mode 100644 index 000000000000..a06c93a26f9a --- /dev/null +++ b/sec-keys/openpgp-keys-libmicrohttpd/openpgp-keys-libmicrohttpd-201906.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="OpenPGP keys used to sign GNU libmicrohttpd releases" +HOMEPAGE="https://savannah.gnu.org/projects/libmicrohttpd/" +if [[ ${PV} == 9999* ]] ; then + PROPERTIES="live" + + BDEPEND="|| ( net-misc/wget[gnutls] net-misc/wget[ssl] )" +else + KARLSON2K_ID='EA812DBEFA5A7EF17DA8F2C1460A317C3326D2AE' + CHRISTIAN_ID='D8423BCB326C7907033929C7939E6BE1E29FC3CC' + # Technically public keys are not stable. + # While the fingerprint is stable, the contents of the key can be + # changed at any time by an additional user ID (email address), + # an additional signature or updated date of expiration. + SRC_URI="https://keys.openpgp.org/vks/v1/by-fingerprint/${CHRISTIAN_ID} -> christiangrothoff-${CHRISTIAN_ID}.asc + https://keys.openpgp.org/vks/v1/by-fingerprint/${KARLSON2K_ID} -> karlson2k-${KARLSON2K_ID}.asc" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +S="${WORKDIR}" + +LICENSE="public-domain" +SLOT="${PV}" + +src_unpack() { + if [[ ${PV} == 9999* ]] ; then + # The release keyring can be changed at any moment and should always match the latest release + wget 'https://savannah.gnu.org/project/release-gpgkeys.php?group=libmicrohttpd&download=1' -O libmicrohttpd-keyring.gpg || die + else + default + fi +} + +src_install() { + local files + local key_file + + if [[ ${PV} == 9999* ]] ; then + files=( "${WORKDIR}/libmicrohttpd-keyring.gpg" ) + else + for key_file in ${A} ; do + files+=( "${DISTDIR}/${key_file}" ) + done + fi + + insinto /usr/share/openpgp-keys + newins - libmicrohttpd-${PV}.asc < <(cat "${files[@]}" || die) +} diff --git a/sec-keys/openpgp-keys-libmicrohttpd/openpgp-keys-libmicrohttpd-999999.ebuild b/sec-keys/openpgp-keys-libmicrohttpd/openpgp-keys-libmicrohttpd-999999.ebuild new file mode 100644 index 000000000000..a06c93a26f9a --- /dev/null +++ b/sec-keys/openpgp-keys-libmicrohttpd/openpgp-keys-libmicrohttpd-999999.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="OpenPGP keys used to sign GNU libmicrohttpd releases" +HOMEPAGE="https://savannah.gnu.org/projects/libmicrohttpd/" +if [[ ${PV} == 9999* ]] ; then + PROPERTIES="live" + + BDEPEND="|| ( net-misc/wget[gnutls] net-misc/wget[ssl] )" +else + KARLSON2K_ID='EA812DBEFA5A7EF17DA8F2C1460A317C3326D2AE' + CHRISTIAN_ID='D8423BCB326C7907033929C7939E6BE1E29FC3CC' + # Technically public keys are not stable. + # While the fingerprint is stable, the contents of the key can be + # changed at any time by an additional user ID (email address), + # an additional signature or updated date of expiration. + SRC_URI="https://keys.openpgp.org/vks/v1/by-fingerprint/${CHRISTIAN_ID} -> christiangrothoff-${CHRISTIAN_ID}.asc + https://keys.openpgp.org/vks/v1/by-fingerprint/${KARLSON2K_ID} -> karlson2k-${KARLSON2K_ID}.asc" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +S="${WORKDIR}" + +LICENSE="public-domain" +SLOT="${PV}" + +src_unpack() { + if [[ ${PV} == 9999* ]] ; then + # The release keyring can be changed at any moment and should always match the latest release + wget 'https://savannah.gnu.org/project/release-gpgkeys.php?group=libmicrohttpd&download=1' -O libmicrohttpd-keyring.gpg || die + else + default + fi +} + +src_install() { + local files + local key_file + + if [[ ${PV} == 9999* ]] ; then + files=( "${WORKDIR}/libmicrohttpd-keyring.gpg" ) + else + for key_file in ${A} ; do + files+=( "${DISTDIR}/${key_file}" ) + done + fi + + insinto /usr/share/openpgp-keys + newins - libmicrohttpd-${PV}.asc < <(cat "${files[@]}" || die) +}