commit: ddcd66e8ec682ea289964112ff8fd5021c13037d Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> AuthorDate: Thu Sep 24 18:23:20 2015 +0000 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> CommitDate: Thu Sep 24 18:23:20 2015 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=ddcd66e8
kde-plasma/ksshaskpass: export SSH_ASKPASS Gentoo-bug: 558938 Package-Manager: portage-2.2.20.1 kde-plasma/ksshaskpass/files/ksshaskpass.sh | 1 + .../ksshaskpass/ksshaskpass-5.4.49.9999.ebuild | 26 ++++++++++++++++++++++ kde-plasma/ksshaskpass/ksshaskpass-9999.ebuild | 26 ++++++++++++++++++++++ 3 files changed, 53 insertions(+) diff --git a/kde-plasma/ksshaskpass/files/ksshaskpass.sh b/kde-plasma/ksshaskpass/files/ksshaskpass.sh new file mode 100644 index 0000000..664c173 --- /dev/null +++ b/kde-plasma/ksshaskpass/files/ksshaskpass.sh @@ -0,0 +1 @@ +export SSH_ASKPASS="/usr/bin/ksshaskpass" diff --git a/kde-plasma/ksshaskpass/ksshaskpass-5.4.49.9999.ebuild b/kde-plasma/ksshaskpass/ksshaskpass-5.4.49.9999.ebuild index 24b0588..51675d0 100644 --- a/kde-plasma/ksshaskpass/ksshaskpass-5.4.49.9999.ebuild +++ b/kde-plasma/ksshaskpass/ksshaskpass-5.4.49.9999.ebuild @@ -22,3 +22,29 @@ RDEPEND=" ${DEPEND} !net-misc/ksshaskpass " + +src_install() { + kde5_src_install + + insinto /etc/plasma/startup + doins "${FILESDIR}/ksshaskpass.sh" +} + +pkg_postinst() { + kde5_pkg_postinst + + elog "" + elog "In order to have ssh-agent start at kde startup," + elog "edit /etc/plasma/startup/agent-startup.sh and uncomment" + elog "the lines enabling ssh-agent." + elog + elog "If you do so, do not forget to uncomment the respective" + elog "lines in /etc/plasma/shutdown/agent-shutdown.sh to" + elog "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/plasma/startup/ksshaskpass.sh" + elog "" +} diff --git a/kde-plasma/ksshaskpass/ksshaskpass-9999.ebuild b/kde-plasma/ksshaskpass/ksshaskpass-9999.ebuild index 24b0588..51675d0 100644 --- a/kde-plasma/ksshaskpass/ksshaskpass-9999.ebuild +++ b/kde-plasma/ksshaskpass/ksshaskpass-9999.ebuild @@ -22,3 +22,29 @@ RDEPEND=" ${DEPEND} !net-misc/ksshaskpass " + +src_install() { + kde5_src_install + + insinto /etc/plasma/startup + doins "${FILESDIR}/ksshaskpass.sh" +} + +pkg_postinst() { + kde5_pkg_postinst + + elog "" + elog "In order to have ssh-agent start at kde startup," + elog "edit /etc/plasma/startup/agent-startup.sh and uncomment" + elog "the lines enabling ssh-agent." + elog + elog "If you do so, do not forget to uncomment the respective" + elog "lines in /etc/plasma/shutdown/agent-shutdown.sh to" + elog "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/plasma/startup/ksshaskpass.sh" + elog "" +}