diff options
author | Michael Palimaka <kensington@gentoo.org> | 2015-09-25 04:23:20 +1000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2015-09-25 04:23:20 +1000 |
commit | ddcd66e8ec682ea289964112ff8fd5021c13037d (patch) | |
tree | bddca278c87d298ab1b4ad1eae766989d98eb09f | |
parent | media-video/kamoso: remove unused dependency (diff) | |
download | kde-ddcd66e8.tar.gz kde-ddcd66e8.tar.bz2 kde-ddcd66e8.zip |
kde-plasma/ksshaskpass: export SSH_ASKPASS
Gentoo-bug: 558938
Package-Manager: portage-2.2.20.1
-rw-r--r-- | kde-plasma/ksshaskpass/files/ksshaskpass.sh | 1 | ||||
-rw-r--r-- | kde-plasma/ksshaskpass/ksshaskpass-5.4.49.9999.ebuild | 26 | ||||
-rw-r--r-- | kde-plasma/ksshaskpass/ksshaskpass-9999.ebuild | 26 |
3 files changed, 53 insertions, 0 deletions
diff --git a/kde-plasma/ksshaskpass/files/ksshaskpass.sh b/kde-plasma/ksshaskpass/files/ksshaskpass.sh new file mode 100644 index 0000000000..664c173054 --- /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 24b05889f1..51675d01f0 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 24b05889f1..51675d01f0 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 "" +} |