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 C657D15806E for ; Sun, 21 May 2023 11:33:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 04281E0805; Sun, 21 May 2023 11:33:06 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 E3CDBE0805 for ; Sun, 21 May 2023 11:33:05 +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 209DC340CE1 for ; Sun, 21 May 2023 11:33:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7D955A67 for ; Sun, 21 May 2023 11:33:03 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1684668779.f53f2544f9a924ab3e7cd1eb38e662875e795e01.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libevent/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libevent/Manifest dev-libs/libevent/libevent-2.1.12-r1.ebuild X-VCS-Directories: dev-libs/libevent/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: f53f2544f9a924ab3e7cd1eb38e662875e795e01 X-VCS-Branch: master Date: Sun, 21 May 2023 11:33:03 +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: 04cd2b73-bcbd-4b7a-8537-d602306cb58b X-Archives-Hash: 68d4163993c876dee60ea309a83c8f67 commit: f53f2544f9a924ab3e7cd1eb38e662875e795e01 Author: Michał Górny gentoo org> AuthorDate: Sun May 21 11:29:54 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun May 21 11:32:59 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f53f2544 dev-libs/libevent: Enable verify-sig Signed-off-by: Michał Górny gentoo.org> dev-libs/libevent/Manifest | 3 ++- dev-libs/libevent/libevent-2.1.12-r1.ebuild | 21 ++++++++++++++++----- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/dev-libs/libevent/Manifest b/dev-libs/libevent/Manifest index 204afbbb1bb2..2aaf3cb60e24 100644 --- a/dev-libs/libevent/Manifest +++ b/dev-libs/libevent/Manifest @@ -1 +1,2 @@ -DIST libevent-2.1.12.tar.gz 1100847 BLAKE2B bc1ace15f639ecef2e6b3f95976b8830c1d86f1d06606dd949e2978611fdf9859ed4eb9292d13e6e90e3835063edb94aae64a15c518d5dabe680f37d5a7f5290 SHA512 88d8944cd75cbe78bc4e56a6741ca67c017a3686d5349100f1c74f8a68ac0b6410ce64dff160be4a4ba0696ee29540dfed59aaf3c9a02f0c164b00307fcfe84f +DIST libevent-2.1.12-stable.tar.gz 1100847 BLAKE2B bc1ace15f639ecef2e6b3f95976b8830c1d86f1d06606dd949e2978611fdf9859ed4eb9292d13e6e90e3835063edb94aae64a15c518d5dabe680f37d5a7f5290 SHA512 88d8944cd75cbe78bc4e56a6741ca67c017a3686d5349100f1c74f8a68ac0b6410ce64dff160be4a4ba0696ee29540dfed59aaf3c9a02f0c164b00307fcfe84f +DIST libevent-2.1.12-stable.tar.gz.asc 488 BLAKE2B 629109913fe57110d0d78f5a7f18f36a7556b6b438ca65d9ce7c8f1d46e04cb9af4df8d7504d31165b510869154ea3a546e55a83bd7b1247bcfdf7c7d9509312 SHA512 841b57a0f6ba645b1871f257b9929093b11b7d6fd03332e6339adceddda233e78f6190faa2339e2b67b26dc2a56ddd7ce622792820b582168b31a2d1d1854f1f diff --git a/dev-libs/libevent/libevent-2.1.12-r1.ebuild b/dev-libs/libevent/libevent-2.1.12-r1.ebuild index 52b0dc8fd562..4171ba58ee19 100644 --- a/dev-libs/libevent/libevent-2.1.12-r1.ebuild +++ b/dev-libs/libevent/libevent-2.1.12-r1.ebuild @@ -3,18 +3,24 @@ EAPI=7 -inherit libtool multilib-minimal +inherit libtool multilib-minimal verify-sig +MY_P="${P}-stable" DESCRIPTION="Library to execute a function when a specific event occurs on a file descriptor" HOMEPAGE=" https://libevent.org/ https://github.com/libevent/libevent/ " +BASE_URI="https://github.com/libevent/libevent/releases/download/release-${MY_P#*-}" SRC_URI=" - https://github.com/${PN}/${PN}/releases/download/release-${PV/_/-}-stable/${P/_/-}-stable.tar.gz -> ${P}.tar.gz + ${BASE_URI}/${MY_P}.tar.gz + verify-sig? ( + ${BASE_URI}/${MY_P}.tar.gz.asc + ) " -LICENSE="BSD" +S=${WORKDIR}/${MY_P} +LICENSE="BSD" SLOT="0/2.1-7" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE=" @@ -32,15 +38,20 @@ RDEPEND=" ${DEPEND} !<=dev-libs/9libs-1.0 " +BDEPEND=" + verify-sig? ( + sec-keys/openpgp-keys-libevent + ) +" + MULTILIB_WRAPPED_HEADERS=( /usr/include/event2/event-config.h ) -S=${WORKDIR}/${P/_/-}-stable - PATCHES=( "${FILESDIR}"/${P}-clang16.patch #880381 "${FILESDIR}"/${P}-libressl.patch #903001 ) +VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/libevent.asc src_prepare() { default