diff options
-rw-r--r-- | kde-plasma/ksshaskpass/Manifest | 1 | ||||
-rw-r--r-- | kde-plasma/ksshaskpass/ksshaskpass-5.26.5.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/kde-plasma/ksshaskpass/Manifest b/kde-plasma/ksshaskpass/Manifest index 2873d174184a..673e29d3991e 100644 --- a/kde-plasma/ksshaskpass/Manifest +++ b/kde-plasma/ksshaskpass/Manifest @@ -1,2 +1,3 @@ DIST ksshaskpass-5.25.5.tar.xz 24904 BLAKE2B eac317c2c0658ade7607fdc73298f07312ac336e5fb4d69161a4c9c6d886c5b778858a26f8477a230068fe9d302097e34841b1c0c0e81809fea4ac63696f20f4 SHA512 ac055caca9c4bcfc6fa40d2eb54bbc72bbbd3b825bc8e831e8f1ec4fc089f334b70a9ba796901ce2c14b565e8519994655c0d32455ef90a1448e1ffdfaaf1c79 DIST ksshaskpass-5.26.4.tar.xz 27560 BLAKE2B 7fe142bdbb9ec51222bad3d9db3e60ec49ba428d8acf91a2a6fb06a2a4e5423eb50b721baed52220d9ace2721949ae648fd4fdd4ea413f3aa1f68f78cb28fc38 SHA512 2e1434aaa07542094f44cbf8655ffbc4876eb2240feb04c67fa07214f8fca0a77e602328941053f107abfb3c8a16282043a44a36a1aa3f1317f652aed10d0926 +DIST ksshaskpass-5.26.5.tar.xz 27580 BLAKE2B e5fed3921804b91f5f7e9a38a327a4b03cbf1fae2a6ba7a4ce123171ea70122f0c86a20f8c719c0459b5084098f042b731a912b9c0bd9979b80793043796184d SHA512 a1e50379415d006f5a2ca8292147e3bf33cb7588a6c03d5ed6dc11c0e77a3c2abf93e950f61391f464a9d17389b75dadc6e16721ec9cad7e71266ca7c0496bfd diff --git a/kde-plasma/ksshaskpass/ksshaskpass-5.26.5.ebuild b/kde-plasma/ksshaskpass/ksshaskpass-5.26.5.ebuild new file mode 100644 index 000000000000..ec8c4f41e51b --- /dev/null +++ b/kde-plasma/ksshaskpass/ksshaskpass-5.26.5.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.99.0 +QTMIN=5.15.5 +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 +} |