summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-06-16 13:27:24 +0100
committerSam James <sam@gentoo.org>2021-06-16 13:31:45 +0100
commit566d2398c58ac9e5d96fc566d3eabb990d218c5b (patch)
treef928ffa63d3c228b9b38f3c2234a48f86049fb7e /kde-plasma
parentkde-plasma/kscreenlocker: 5.22.1 version bump (diff)
downloadgentoo-566d2398c58ac9e5d96fc566d3eabb990d218c5b.tar.gz
gentoo-566d2398c58ac9e5d96fc566d3eabb990d218c5b.tar.bz2
gentoo-566d2398c58ac9e5d96fc566d3eabb990d218c5b.zip
kde-plasma/ksshaskpass: 5.22.1 version bump
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'kde-plasma')
-rw-r--r--kde-plasma/ksshaskpass/Manifest1
-rw-r--r--kde-plasma/ksshaskpass/ksshaskpass-5.22.1.ebuild52
2 files changed, 53 insertions, 0 deletions
diff --git a/kde-plasma/ksshaskpass/Manifest b/kde-plasma/ksshaskpass/Manifest
index bacbe1f0c6a3..cd13d2abf2d7 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.0.tar.xz 23680 BLAKE2B d2e224c0e9952ab5da4c47c6337c07c0417043402d97520ff597aa532d85de2f6f31f7241b21a2112fc902df04805732fff35cc2645fe07d6faa873b29db1d5d SHA512 918c098c877fc48e6809e498e81b0ab1968371f58f1f89af65a45fb817829f8d44666c1fee4b84cae8a1f114b59698e48da683bc452151db57df0f2e4063fb3c
+DIST ksshaskpass-5.22.1.tar.xz 23664 BLAKE2B fc7c696409db6a0bb6739ce88ce4d050dfe1ddcfba8529d6b141df6ec8847c3337c0245b136fcafc056662ab9fb858a9378d5c372c1f077d8dbd932b1d22afd7 SHA512 54942b74ff7b22b695506d87024063dedf08646808774acc34f6dbaab53b8c8ab5bd2cadfeeabdfd70fab3267eb3c5f5ae94b925252fe54979665f62adab2480
diff --git a/kde-plasma/ksshaskpass/ksshaskpass-5.22.1.ebuild b/kde-plasma/ksshaskpass/ksshaskpass-5.22.1.ebuild
new file mode 100644
index 000000000000..696527628879
--- /dev/null
+++ b/kde-plasma/ksshaskpass/ksshaskpass-5.22.1.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
+}