summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-10-24 23:12:05 +0100
committerSam James <sam@gentoo.org>2023-10-24 23:35:49 +0100
commitc78890e30489a190f59b4f315f279e1f5dc5162f (patch)
tree46e40a0626b69d9690f73fd3728c5f25fa6594d2 /kde-plasma/ksshaskpass
parentkde-plasma/kscreenlocker: 5.27.9 version bump (diff)
downloadgentoo-c78890e30489a190f59b4f315f279e1f5dc5162f.tar.gz
gentoo-c78890e30489a190f59b4f315f279e1f5dc5162f.tar.bz2
gentoo-c78890e30489a190f59b4f315f279e1f5dc5162f.zip
kde-plasma/ksshaskpass: 5.27.9 version bump
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'kde-plasma/ksshaskpass')
-rw-r--r--kde-plasma/ksshaskpass/Manifest1
-rw-r--r--kde-plasma/ksshaskpass/ksshaskpass-5.27.9.ebuild52
2 files changed, 53 insertions, 0 deletions
diff --git a/kde-plasma/ksshaskpass/Manifest b/kde-plasma/ksshaskpass/Manifest
index 1cde7bb37445..df673017b7a9 100644
--- a/kde-plasma/ksshaskpass/Manifest
+++ b/kde-plasma/ksshaskpass/Manifest
@@ -1 +1,2 @@
DIST ksshaskpass-5.27.8.tar.xz 28024 BLAKE2B a96857fec5bbcf13dfa93dbbd8317c381a5533de6c86e8253ab5ebb4540fd8f5448f34e55101f04e8adb506e8d424cd15710572235a7390c815e0fd7c1f1b6b6 SHA512 814c6bdfb9ef7da0dafd23c414e131380a14061fb7060e1adb0c721554a2dfd1c57420d1089cd94bc96e5f0b02fca7725513bca57836294f2e8771e0ebe9390a
+DIST ksshaskpass-5.27.9.tar.xz 28032 BLAKE2B 3e120fd3bde294ea183e6531a6c6dff5140f2374dcc648b34255845e3d63577996f884405d769166da14e93e4ae9c515afb031a35615549bdf2ca68e727a2c1b SHA512 37032f6580d5f3f2d1b10a94c8abd83dd7a79c2920730b8f18a801706d7920e186d56d7edf7a62256c589792dd33e26f185c79c121acf0d27ee6585a474c34de
diff --git a/kde-plasma/ksshaskpass/ksshaskpass-5.27.9.ebuild b/kde-plasma/ksshaskpass/ksshaskpass-5.27.9.ebuild
new file mode 100644
index 000000000000..1d6d755de2e8
--- /dev/null
+++ b/kde-plasma/ksshaskpass/ksshaskpass-5.27.9.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.106.0
+QTMIN=5.15.9
+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
+}