From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1433649-garchives=archives.gentoo.org@lists.gentoo.org>
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 B5541158094
	for <garchives@archives.gentoo.org>; Mon,  5 Sep 2022 12:37:31 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id A8016E0867;
	Mon,  5 Sep 2022 12:37:29 +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))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 8B47DE0867
	for <gentoo-commits@lists.gentoo.org>; Mon,  5 Sep 2022 12:37:29 +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 7EC4B340F39
	for <gentoo-commits@lists.gentoo.org>; Mon,  5 Sep 2022 12:37:28 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id E03985D9
	for <gentoo-commits@lists.gentoo.org>; Mon,  5 Sep 2022 12:37:24 +0000 (UTC)
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" <juippis@gentoo.org>
Message-ID: <1662381434.8625205b4677dc7aa4fb2500aa835547ba2bdafd.juippis@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: gui-apps/tuigreet/
X-VCS-Repository: repo/gentoo
X-VCS-Files: gui-apps/tuigreet/tuigreet-0.8.0.ebuild gui-apps/tuigreet/tuigreet-9999.ebuild
X-VCS-Directories: gui-apps/tuigreet/
X-VCS-Committer: juippis
X-VCS-Committer-Name: Joonas Niilola
X-VCS-Revision: 8625205b4677dc7aa4fb2500aa835547ba2bdafd
X-VCS-Branch: master
Date: Mon,  5 Sep 2022 12:37:24 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 37493235-c6f1-4e86-93e6-95c4cbec50cb
X-Archives-Hash: 123a08ff1e4ed3932d7ae77820f7fb0b

commit:     8625205b4677dc7aa4fb2500aa835547ba2bdafd
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Fri Aug 19 18:34:55 2022 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Sep  5 12:37:14 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8625205b

gui-apps/tuigreet: fix remember username or session, bug 832445

Closes: https://bugs.gentoo.org/832445
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Portage 3.0.34 / pkgdev 0.2.1 / pkgcheck 0.10.12
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 gui-apps/tuigreet/tuigreet-0.8.0.ebuild | 7 +++++++
 gui-apps/tuigreet/tuigreet-9999.ebuild  | 7 +++++++
 2 files changed, 14 insertions(+)

diff --git a/gui-apps/tuigreet/tuigreet-0.8.0.ebuild b/gui-apps/tuigreet/tuigreet-0.8.0.ebuild
index 3f0c41e75fa4..0190a8c84c4b 100644
--- a/gui-apps/tuigreet/tuigreet-0.8.0.ebuild
+++ b/gui-apps/tuigreet/tuigreet-0.8.0.ebuild
@@ -151,3 +151,10 @@ SLOT="0"
 KEYWORDS="~amd64 ~ppc64 ~riscv"
 
 RDEPEND="gui-libs/greetd"
+
+src_install() {
+	dodir /var/cache/${PN}
+	fowners greetd:greetd /var/cache/${PN}
+
+	cargo_src_install
+}

diff --git a/gui-apps/tuigreet/tuigreet-9999.ebuild b/gui-apps/tuigreet/tuigreet-9999.ebuild
index 9d940f5e237f..ac34ba7607c4 100644
--- a/gui-apps/tuigreet/tuigreet-9999.ebuild
+++ b/gui-apps/tuigreet/tuigreet-9999.ebuild
@@ -34,3 +34,10 @@ LICENSE="Apache-2.0 Boost-1.0 GPL-3 MIT"
 SLOT="0"
 
 RDEPEND="gui-libs/greetd"
+
+src_install() {
+	dodir /var/cache/${PN}
+	fowners greetd:greetd /var/cache/${PN}
+
+	cargo_src_install
+}