From b0bab803d2f1c96af5760374e2684f9a85591916 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 2 Oct 2022 01:11:51 +0100 Subject: gentoo auto-resync : 02:10:2022 - 01:11:51 --- gnome-base/gnome-keyring/Manifest | 2 +- .../gnome-keyring/gnome-keyring-42.1-r1.ebuild | 80 ++++++++++++++++++++++ gnome-base/gnome-keyring/gnome-keyring-42.1.ebuild | 80 ---------------------- 3 files changed, 81 insertions(+), 81 deletions(-) create mode 100644 gnome-base/gnome-keyring/gnome-keyring-42.1-r1.ebuild delete mode 100644 gnome-base/gnome-keyring/gnome-keyring-42.1.ebuild (limited to 'gnome-base/gnome-keyring') diff --git a/gnome-base/gnome-keyring/Manifest b/gnome-base/gnome-keyring/Manifest index 502d03cc9250..26072757dbe7 100644 --- a/gnome-base/gnome-keyring/Manifest +++ b/gnome-base/gnome-keyring/Manifest @@ -1,3 +1,3 @@ DIST gnome-keyring-42.1.tar.xz 1346284 BLAKE2B ff6093cc16c649cda1e6cc2848c2198a502d8aa20a56f0a4dca00550e99f18820028427a7ec3979b6871648a7931da19fced3210558d5ca3de47983b7c94452d SHA512 560dc409c21768dcbdf42151986a5bbbfb9a092d2c36295cf76bd603cdf9650fa80670631c7fb8b3e1822bed6a1f55c34b2170a1419ce45fbe8ca08c7eaf3a57 -EBUILD gnome-keyring-42.1.ebuild 2195 BLAKE2B e64a90d92cc44ee814758efe57c8a5c5ef28dab396896633cfe66a2b3e1549910ed900db1d2bb3facdf677bcfb7193951cb49dfb13a5bfb97bc14ab269fd3a18 SHA512 b0a6acd4b1e893945de8dc838202e79742fa178bbdf6900b3b341e1958a5307adcdb4ecc6cea6e5468a77c2f6cca3349e2092e6bdac7a45e1c436f0edba7074a +EBUILD gnome-keyring-42.1-r1.ebuild 2196 BLAKE2B af4c1fcc51677144a9e6c3caff9be9b2f7cd9806b3c7a7ac37b79f1d86e478af31bc507780b5c7013722aadd1d2087271b1b285fd31f48a75b9a0c4a7567d1d0 SHA512 a7775a6238cd586d3959a5311596c0244da1c4550e5b6d941bd54ef12a419b0ccf70dcfb52f430dcb06f095382c6047af10bc65628628ad452c429c8a4f60cb3 MISC metadata.xml 884 BLAKE2B 7453133f82b652fce07202db1a10c488a32355dd9398847e3d2f7d1cc62ad466c25febb6713318ba6d77d006e3f87b15c593c5020d1f187e2d7704a4c676dade SHA512 d5419c6a5b09fc57cb877210e59f82717374ea5ca7914fe305b2f3625e190c4438f76b24503698dffd00633ba17bcd70a0068765284ccfab730c5b7e8c1b768d diff --git a/gnome-base/gnome-keyring/gnome-keyring-42.1-r1.ebuild b/gnome-base/gnome-keyring/gnome-keyring-42.1-r1.ebuild new file mode 100644 index 000000000000..f8b566d42999 --- /dev/null +++ b/gnome-base/gnome-keyring/gnome-keyring-42.1-r1.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: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? ( 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_with 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 +} diff --git a/gnome-base/gnome-keyring/gnome-keyring-42.1.ebuild b/gnome-base/gnome-keyring/gnome-keyring-42.1.ebuild deleted file mode 100644 index 1d0950fba608..000000000000 --- a/gnome-base/gnome-keyring/gnome-keyring-42.1.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# 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_with 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 -} -- cgit v1.2.3