summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-06-23 02:20:55 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2021-06-23 08:26:11 +0200
commitee84caaeb93ac7b8c593aef13aac34db7d63265b (patch)
tree22ea2cf75819b5a46b4eff1ffc6c336eefc71eb6 /kde-plasma/ksshaskpass
parentkde-plasma/kscreenlocker: 5.22.2 version bump (diff)
downloadgentoo-ee84caaeb93ac7b8c593aef13aac34db7d63265b.tar.gz
gentoo-ee84caaeb93ac7b8c593aef13aac34db7d63265b.tar.bz2
gentoo-ee84caaeb93ac7b8c593aef13aac34db7d63265b.zip
kde-plasma/ksshaskpass: 5.22.2 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.22.2.ebuild52
2 files changed, 53 insertions, 0 deletions
diff --git a/kde-plasma/ksshaskpass/Manifest b/kde-plasma/ksshaskpass/Manifest
index f0fb221308d8..cd82c4bccc5c 100644
--- a/kde-plasma/ksshaskpass/Manifest
+++ b/kde-plasma/ksshaskpass/Manifest
@@ -1,2 +1,3 @@
DIST ksshaskpass-5.21.5.tar.xz 24148 BLAKE2B 8cae47375a883948cfff373b1bf113359ce4c1d548c982dc6c9d8a9a28c16661813c1d8077f463a6ec1dc80c69b2736391c56382bf3ff2b7d2f3da24d6e64f2b SHA512 c342723383d13b8df977bb4ab3c6b50c15007d12fdd27c0e51ad41cf77bbc5ddae404a9fe10669ea22933140a55bc293e7296d8e3e488cbce36158475403d7ff
DIST ksshaskpass-5.22.1.tar.xz 23664 BLAKE2B fc7c696409db6a0bb6739ce88ce4d050dfe1ddcfba8529d6b141df6ec8847c3337c0245b136fcafc056662ab9fb858a9378d5c372c1f077d8dbd932b1d22afd7 SHA512 54942b74ff7b22b695506d87024063dedf08646808774acc34f6dbaab53b8c8ab5bd2cadfeeabdfd70fab3267eb3c5f5ae94b925252fe54979665f62adab2480
+DIST ksshaskpass-5.22.2.tar.xz 23668 BLAKE2B 6faf9f106bf4cbc277bfb895d4c9352796c56e221b8857f88eb11accf6a64c9dff8e4778e9a82eb6ff8f027a4132691a26a002f159b63643bd0e55f4eaa6d367 SHA512 271faa77d8c7cefe1fb6c7d874b4967ff279af1da3cf5224986ae61fc9e8b310e0594be08c8d952c24b57b9a5a9cf6aca24f9bd2bad147787ac97856b7abb97d
diff --git a/kde-plasma/ksshaskpass/ksshaskpass-5.22.2.ebuild b/kde-plasma/ksshaskpass/ksshaskpass-5.22.2.ebuild
new file mode 100644
index 000000000000..696527628879
--- /dev/null
+++ b/kde-plasma/ksshaskpass/ksshaskpass-5.22.2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+KFMIN=5.82.0
+QTMIN=5.15.2
+inherit ecm 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 ~ppc64 ~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
+}