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 0C1391581C1 for ; Wed, 17 Jul 2024 09:24:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 451E5E2A13; Wed, 17 Jul 2024 09:24:54 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 2BC6FE2A13 for ; Wed, 17 Jul 2024 09:24:54 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 66C6D335D0F for ; Wed, 17 Jul 2024 09:24:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 05FBC1603 for ; Wed, 17 Jul 2024 09:24:52 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1721206772.2b8289c67eaa862443cd158c6f76bff47676bf66.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-base/gnome-keyring/ X-VCS-Repository: repo/gentoo X-VCS-Files: gnome-base/gnome-keyring/Manifest gnome-base/gnome-keyring/gnome-keyring-46.2.ebuild X-VCS-Directories: gnome-base/gnome-keyring/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 2b8289c67eaa862443cd158c6f76bff47676bf66 X-VCS-Branch: master Date: Wed, 17 Jul 2024 09:24:52 +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: 067c04dc-b7ee-4848-810a-c97b931eca51 X-Archives-Hash: f25a469f03231d754bb5812bad03f44a commit: 2b8289c67eaa862443cd158c6f76bff47676bf66 Author: Guillermo Joandet gmail com> AuthorDate: Fri Jul 12 12:56:31 2024 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Wed Jul 17 08:59:32 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b8289c6 gnome-base/gnome-keyring: Bump to 46.2 Signed-off-by: Guillermo Joandet gmail.com> Closes: https://github.com/gentoo/gentoo/pull/35360 Signed-off-by: Pacho Ramos gentoo.org> gnome-base/gnome-keyring/Manifest | 1 + gnome-base/gnome-keyring/gnome-keyring-46.2.ebuild | 84 ++++++++++++++++++++++ 2 files changed, 85 insertions(+) diff --git a/gnome-base/gnome-keyring/Manifest b/gnome-base/gnome-keyring/Manifest index d554a568c123..8bff71ca483b 100644 --- a/gnome-base/gnome-keyring/Manifest +++ b/gnome-base/gnome-keyring/Manifest @@ -1 +1,2 @@ DIST gnome-keyring-42.1.tar.xz 1346284 BLAKE2B ff6093cc16c649cda1e6cc2848c2198a502d8aa20a56f0a4dca00550e99f18820028427a7ec3979b6871648a7931da19fced3210558d5ca3de47983b7c94452d SHA512 560dc409c21768dcbdf42151986a5bbbfb9a092d2c36295cf76bd603cdf9650fa80670631c7fb8b3e1822bed6a1f55c34b2170a1419ce45fbe8ca08c7eaf3a57 +DIST gnome-keyring-46.2.tar.xz 1359500 BLAKE2B 47dad5b1eab387e600016828c99d7c829f509e9929e0e06d6427f6c84053050be1e79c4fb369caa1cdfc862e20677a518155b1a5496a64e118f461e81b60edcd SHA512 4229ca0606bdd1b84a3c737288df7f1fc1f8715734e3001964babd882201c3d818deabb3a7662dbf9b67316f03b234de84da3128fb991a500ef8305c2f962ba2 diff --git a/gnome-base/gnome-keyring/gnome-keyring-46.2.ebuild b/gnome-base/gnome-keyring/gnome-keyring-46.2.ebuild new file mode 100644 index 000000000000..922f67d84aed --- /dev/null +++ b/gnome-base/gnome-keyring/gnome-keyring-46.2.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{10..12} ) + +inherit gnome2 pam python-any-r1 virtualx + +DESCRIPTION="Password and keyring managing daemon" +HOMEPAGE="https://wiki.gnome.org/Projects/GnomeKeyring" + +LICENSE="GPL-2+ LGPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="pam selinux +ssh-agent systemd test valgrind" +RESTRICT="!test? ( test )" + +# Replace gkd gpg-agent with pinentry[gnome-keyring] one, bug #547456 +RDEPEND=" + >=app-crypt/gcr-3.27.90:0=[gtk] + >=app-crypt/gnupg-2.0.28:= + >=app-eselect/eselect-pinentry-0.5 + app-misc/ca-certificates + >=dev-libs/glib-2.44:2 + >=dev-libs/libgcrypt-1.2.2:0= + pam? ( sys-libs/pam ) + selinux? ( sec-policy/selinux-gnome ) + ssh-agent? ( virtual/openssh ) +" +DEPEND=" + ${RDEPEND} + valgrind? ( dev-debug/valgrind ) +" +BDEPEND=" + >=app-eselect/eselect-pinentry-0.5 + app-text/docbook-xml-dtd:4.3 + dev-libs/libxslt + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + test? ( ${PYTHON_DEPS} ) +" + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_prepare() { + # Disable stupid CFLAGS with debug enabled + sed -e 's/CFLAGS="$CFLAGS -g"//' \ + -e 's/CFLAGS="$CFLAGS -O0"//' \ + -i configure.ac configure || die + + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + --without-libcap-ng \ + $(use_enable pam) \ + $(use_with pam pam-dir $(getpam_mod_dir)) \ + $(use_enable selinux) \ + $(use_enable ssh-agent) \ + $(use_with systemd) \ + $(use_enable valgrind) \ + --enable-doc +} + +src_test() { + # Needs dbus-run-session to not get: + # ERROR: test-dbus-search process failed: -6 + "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/schema" || die + GSETTINGS_SCHEMA_DIR="${S}/schema" virtx dbus-run-session emake check +} + +pkg_postinst() { + # cap_ipc_lock only needed if building --with-libcap-ng, but that breaks with glib-2.70 + # Never install as suid root, this breaks dbus activation, see bug #513870 + gnome2_pkg_postinst + + if ! [[ $(eselect pinentry show | grep "pinentry-gnome3") ]] ; then + ewarn "Please select pinentry-gnome3 as default pinentry provider:" + ewarn " # eselect pinentry set pinentry-gnome3" + fi +}