summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-12-01 15:26:24 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-12-01 17:07:13 +0100
commit14fb27095d2bafb805903ab5204b85536d8168cb (patch)
tree1ec0502355a01cd741deee28f1130e0bb44f682b /kde-plasma/ksshaskpass
parentkde-plasma/kscreenlocker: 5.20.4 version bump (diff)
downloadgentoo-14fb27095d2bafb805903ab5204b85536d8168cb.tar.gz
gentoo-14fb27095d2bafb805903ab5204b85536d8168cb.tar.bz2
gentoo-14fb27095d2bafb805903ab5204b85536d8168cb.zip
kde-plasma/ksshaskpass: 5.20.4 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.20.4.ebuild52
2 files changed, 53 insertions, 0 deletions
diff --git a/kde-plasma/ksshaskpass/Manifest b/kde-plasma/ksshaskpass/Manifest
index 281a5a8cc766..bd33a5693e6f 100644
--- a/kde-plasma/ksshaskpass/Manifest
+++ b/kde-plasma/ksshaskpass/Manifest
@@ -1,2 +1,3 @@
DIST ksshaskpass-5.19.5.tar.xz 23572 BLAKE2B c399be04e33a51968c7c3d962039f7aaff176c7a14bb5d8d2da36e999908aba1f3fa07337412390470cab1342a70bd37b2241b750e7bf852980c77810f311873 SHA512 7bd70985cb4a133e49d58b27c9266222913097154b78f60fc55b7ea3e684723b3ae55cdd0b44f58dd7c2cb54cc2f6046907b7881355b437689d9e470c2aafdd4
DIST ksshaskpass-5.20.3.tar.xz 23516 BLAKE2B a8c868df495307003765488bb8a2b1ac4c39470905944d696a24f1b8dd49fd7f03e8eae7b10556fe94d8a8ff29e949357dd92aa208f075a15666aad637cb96c7 SHA512 e072f04b187f0047a12ac0e1ee02c28bbaffcd89650a98f9e16bef36c074a1ac9b84a861c6a9e379e8bdc1329cca5afbb1b03ec7dbec36b4027297e7fa988992
+DIST ksshaskpass-5.20.4.tar.xz 23488 BLAKE2B 898ec022f1da19e1c3d4b9aca8b07d43a7f9e2c0c8499f01d2285400adc9bae8f9dc1cac2b0c5ea12f2253655b73ac0249eb3a5e460cbd7bb7441b6f893fcba4 SHA512 f3fb2559152fe316017b400b9c08527ab913bb12060dcebc27a56f2bfc9ecaba998423e7dfe0bf174736e84896313cebcf2dc4f01854cc1dce1b25ba22162426
diff --git a/kde-plasma/ksshaskpass/ksshaskpass-5.20.4.ebuild b/kde-plasma/ksshaskpass/ksshaskpass-5.20.4.ebuild
new file mode 100644
index 000000000000..004a7a7eb33f
--- /dev/null
+++ b/kde-plasma/ksshaskpass/ksshaskpass-5.20.4.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+KFMIN=5.74.0
+QTMIN=5.15.1
+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
+}