aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-02-09 13:57:44 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2023-02-09 14:19:51 +0100
commitb4eb99ab665c065a37194af396975a9bc753347c (patch)
tree7b6ced8af94f12a42a4c42c79f77708509202d7b /kde-plasma/ksshaskpass
parentkde-plasma/kscreenlocker: 5.27.0 version bump (diff)
downloadkde-b4eb99ab665c065a37194af396975a9bc753347c.tar.gz
kde-b4eb99ab665c065a37194af396975a9bc753347c.tar.bz2
kde-b4eb99ab665c065a37194af396975a9bc753347c.zip
kde-plasma/ksshaskpass: 5.27.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma/ksshaskpass')
-rw-r--r--kde-plasma/ksshaskpass/Manifest1
-rw-r--r--kde-plasma/ksshaskpass/ksshaskpass-5.27.0.ebuild52
2 files changed, 53 insertions, 0 deletions
diff --git a/kde-plasma/ksshaskpass/Manifest b/kde-plasma/ksshaskpass/Manifest
new file mode 100644
index 0000000000..3a393f69d6
--- /dev/null
+++ b/kde-plasma/ksshaskpass/Manifest
@@ -0,0 +1 @@
+DIST ksshaskpass-5.27.0.tar.xz 27752 BLAKE2B 1d81f7d6302b59551351e0cd49c01b49fd77563207606248832495afdd1132b453cc45f56262aa24f90fb8d1c4eb6eeb84565717a22482dc8688f50d2394f109 SHA512 2311d43f7dbd3187ae5406a8a0da522bfdcf438bfcec5748f5b3ca8f98d6caa6ecd23cb081bcc0a3ae7b2e9e182d1bba9df7a558c00f914cac5dd2527782933a
diff --git a/kde-plasma/ksshaskpass/ksshaskpass-5.27.0.ebuild b/kde-plasma/ksshaskpass/ksshaskpass-5.27.0.ebuild
new file mode 100644
index 0000000000..406a6e3e35
--- /dev/null
+++ b/kde-plasma/ksshaskpass/ksshaskpass-5.27.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+KFMIN=5.102.0
+QTMIN=5.15.7
+inherit ecm plasma.kde.org
+
+DESCRIPTION="Implementation of ssh-askpass with KDE Wallet integration"
+HOMEPAGE+=" https://invent.kde.org/plasma/ksshaskpass"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="5"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE=""
+
+DEPEND="
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kwallet-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+"
+RDEPEND="${DEPEND}"
+
+src_install() {
+ ecm_src_install
+
+ insinto /etc/xdg/plasma-workspace/env/
+ doins "${FILESDIR}/05-ksshaskpass.sh"
+}
+
+pkg_postinst() {
+ ecm_pkg_postinst
+
+ elog "In order to have ssh-agent start with Plasma 5,"
+ elog "edit /etc/xdg/plasma-workspace/env/10-agent-startup.sh"
+ elog "and uncomment the lines enabling ssh-agent."
+ elog
+ elog "If you do so, do not forget to uncomment the respective"
+ elog "lines in /etc/xdg/plasma-workspace/shutdown/10-agent-shutdown.sh"
+ elog "to properly kill the agent when the session ends."
+ elog
+ elog "${PN} has been installed as your default askpass application"
+ elog "for Plasma 5 sessions."
+ elog "If that's not desired, select the one you want to use in"
+ elog "/etc/xdg/plasma-workspace/env/05-ksshaskpass.sh"
+
+ # Clean up pre-5.17.4 dirs
+ rmdir -v "${EROOT}"/etc/plasma{/startup,} 2> /dev/null
+}