From 7a344fb5bd0548f3d7a7b4efeae517af30ff6472 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arsen=20Arsenovi=C4=87?= Date: Mon, 6 Oct 2025 22:36:56 +0200 Subject: [PATCH] app-crypt/gnupg: fix systemd unit using now-renamed option in 2.5.12 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://dev.gnupg.org/rGa019a0fcd8dfb9d1eae5bc991fdd54b7cf55641e for discussion. In the future, we will likely need to emulate this functionality somehow. Signed-off-by: Arsen Arsenović --- .../gnupg/{gnupg-2.5.12.ebuild => gnupg-2.5.12-r1.ebuild} | 4 ++++ 1 file changed, 4 insertions(+) rename app-crypt/gnupg/{gnupg-2.5.12.ebuild => gnupg-2.5.12-r1.ebuild} (96%) diff --git a/app-crypt/gnupg/gnupg-2.5.12.ebuild b/app-crypt/gnupg/gnupg-2.5.12-r1.ebuild similarity index 96% rename from app-crypt/gnupg/gnupg-2.5.12.ebuild rename to app-crypt/gnupg/gnupg-2.5.12-r1.ebuild index 23e268a6fe6e0..c281b4e7c30ad 100644 --- a/app-crypt/gnupg/gnupg-2.5.12.ebuild +++ b/app-crypt/gnupg/gnupg-2.5.12-r1.ebuild @@ -93,6 +93,10 @@ src_prepare() { # which in turn requires discovery in Autoconf, something that upstream deeply resents. sed -e "/DirectoryMode=/a ExecStartPost=-${EPREFIX}/bin/systemctl --user set-environment SSH_AUTH_SOCK=%t/gnupg/S.gpg-agent.ssh" \ -i "${T}"/gpg-agent-ssh.socket || die + + # Since 2.5.3, --supervised is called --deprecated-supervised. See + # https://dev.gnupg.org/rGa019a0fcd8dfb9d1eae5bc991fdd54b7cf55641e + sed -i "s/--supervised/--deprecated-supervised/g" "${T}"/*.service || die } my_src_configure() {