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 F2FD6158090 for ; Mon, 23 May 2022 19:45:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E037CE0923; Mon, 23 May 2022 19:45:50 +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 BF865E0923 for ; Mon, 23 May 2022 19:45:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 9FD123417CF for ; Mon, 23 May 2022 19:45:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ADD3F3C3 for ; Mon, 23 May 2022 19:45:47 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1653335131.4d7644d11c0a04a6b76cca934d13f458ced21825.mattst88@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-42.0.ebuild X-VCS-Directories: gnome-base/gnome-keyring/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 4d7644d11c0a04a6b76cca934d13f458ced21825 X-VCS-Branch: master Date: Mon, 23 May 2022 19:45:47 +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: 514592c6-5332-412f-af9a-07b2c2aacd85 X-Archives-Hash: 94a77365e90d42c025956b7d43234f9f commit: 4d7644d11c0a04a6b76cca934d13f458ced21825 Author: Matt Turner gentoo org> AuthorDate: Sun May 22 04:24:57 2022 +0000 Commit: Matt Turner gentoo org> CommitDate: Mon May 23 19:45:31 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d7644d1 gnome-base/gnome-keyring: Version bump to 42.0 Signed-off-by: Matt Turner gentoo.org> gnome-base/gnome-keyring/Manifest | 1 + gnome-base/gnome-keyring/gnome-keyring-42.0.ebuild | 80 ++++++++++++++++++++++ 2 files changed, 81 insertions(+) diff --git a/gnome-base/gnome-keyring/Manifest b/gnome-base/gnome-keyring/Manifest index c2dc4f46b753..9d5f2f76603d 100644 --- a/gnome-base/gnome-keyring/Manifest +++ b/gnome-base/gnome-keyring/Manifest @@ -1 +1,2 @@ DIST gnome-keyring-40.0.tar.xz 1333440 BLAKE2B 4ef74d982d85766e8d7f28b97ddf295ca546f48b980518be7e586bda607344bdb72c124f92b5c34310aeb2f3903cb39092ae7ca6e1b3baf34ab6a9c58d26aeef SHA512 c9cb0dca8c46ee712200c96c20663a8d5cd39f07801a04e1afca26550a04af6cb369b53a1f29638bf4c8a29f418a69f565befcf4d08df5b0d30fb31894ecf95e +DIST gnome-keyring-42.0.tar.xz 1346024 BLAKE2B 355d2552dda22c65058b338b9683ffa4500431c0d19e086663d80a5c5043ac9b06e7dfa9ceed84964ece9cc4da238469ffa559f885a2c9f9ee17d8e53d6e183b SHA512 edefee5fad69b621a5243e588d32e2d0d15577313001d9949989337a610fc52ff43295a99d7470628a7cf92b6f8a4c31f37bf424183a925e9ee92a202e7721e0 diff --git a/gnome-base/gnome-keyring/gnome-keyring-42.0.ebuild b/gnome-base/gnome-keyring/gnome-keyring-42.0.ebuild new file mode 100644 index 000000000000..29176850cc3d --- /dev/null +++ b/gnome-base/gnome-keyring/gnome-keyring-42.0.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{8..10} ) + +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" +IUSE="pam selinux +ssh-agent systemd test" +RESTRICT="!test? ( test )" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris" + +# Replace gkd gpg-agent with pinentry[gnome-keyring] one, bug #547456 +RDEPEND=" + >=app-crypt/gcr-3.27.90:=[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? ( net-misc/openssh ) +" +DEPEND="${RDEPEND}" +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_enable systemd) \ + --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 +}