1 |
commit: ddcd66e8ec682ea289964112ff8fd5021c13037d |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 24 18:23:20 2015 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 24 18:23:20 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=ddcd66e8 |
7 |
|
8 |
kde-plasma/ksshaskpass: export SSH_ASKPASS |
9 |
|
10 |
Gentoo-bug: 558938 |
11 |
|
12 |
Package-Manager: portage-2.2.20.1 |
13 |
|
14 |
kde-plasma/ksshaskpass/files/ksshaskpass.sh | 1 + |
15 |
.../ksshaskpass/ksshaskpass-5.4.49.9999.ebuild | 26 ++++++++++++++++++++++ |
16 |
kde-plasma/ksshaskpass/ksshaskpass-9999.ebuild | 26 ++++++++++++++++++++++ |
17 |
3 files changed, 53 insertions(+) |
18 |
|
19 |
diff --git a/kde-plasma/ksshaskpass/files/ksshaskpass.sh b/kde-plasma/ksshaskpass/files/ksshaskpass.sh |
20 |
new file mode 100644 |
21 |
index 0000000..664c173 |
22 |
--- /dev/null |
23 |
+++ b/kde-plasma/ksshaskpass/files/ksshaskpass.sh |
24 |
@@ -0,0 +1 @@ |
25 |
+export SSH_ASKPASS="/usr/bin/ksshaskpass" |
26 |
|
27 |
diff --git a/kde-plasma/ksshaskpass/ksshaskpass-5.4.49.9999.ebuild b/kde-plasma/ksshaskpass/ksshaskpass-5.4.49.9999.ebuild |
28 |
index 24b0588..51675d0 100644 |
29 |
--- a/kde-plasma/ksshaskpass/ksshaskpass-5.4.49.9999.ebuild |
30 |
+++ b/kde-plasma/ksshaskpass/ksshaskpass-5.4.49.9999.ebuild |
31 |
@@ -22,3 +22,29 @@ RDEPEND=" |
32 |
${DEPEND} |
33 |
!net-misc/ksshaskpass |
34 |
" |
35 |
+ |
36 |
+src_install() { |
37 |
+ kde5_src_install |
38 |
+ |
39 |
+ insinto /etc/plasma/startup |
40 |
+ doins "${FILESDIR}/ksshaskpass.sh" |
41 |
+} |
42 |
+ |
43 |
+pkg_postinst() { |
44 |
+ kde5_pkg_postinst |
45 |
+ |
46 |
+ elog "" |
47 |
+ elog "In order to have ssh-agent start at kde startup," |
48 |
+ elog "edit /etc/plasma/startup/agent-startup.sh and uncomment" |
49 |
+ elog "the lines enabling ssh-agent." |
50 |
+ elog |
51 |
+ elog "If you do so, do not forget to uncomment the respective" |
52 |
+ elog "lines in /etc/plasma/shutdown/agent-shutdown.sh to" |
53 |
+ elog "properly kill the agent when the session ends." |
54 |
+ elog |
55 |
+ elog "${PN} has been installed as your default askpass application" |
56 |
+ elog "for Plasma 5 sessions." |
57 |
+ elog "If that's not desired, select the one you want to use in" |
58 |
+ elog "/etc/plasma/startup/ksshaskpass.sh" |
59 |
+ elog "" |
60 |
+} |
61 |
|
62 |
diff --git a/kde-plasma/ksshaskpass/ksshaskpass-9999.ebuild b/kde-plasma/ksshaskpass/ksshaskpass-9999.ebuild |
63 |
index 24b0588..51675d0 100644 |
64 |
--- a/kde-plasma/ksshaskpass/ksshaskpass-9999.ebuild |
65 |
+++ b/kde-plasma/ksshaskpass/ksshaskpass-9999.ebuild |
66 |
@@ -22,3 +22,29 @@ RDEPEND=" |
67 |
${DEPEND} |
68 |
!net-misc/ksshaskpass |
69 |
" |
70 |
+ |
71 |
+src_install() { |
72 |
+ kde5_src_install |
73 |
+ |
74 |
+ insinto /etc/plasma/startup |
75 |
+ doins "${FILESDIR}/ksshaskpass.sh" |
76 |
+} |
77 |
+ |
78 |
+pkg_postinst() { |
79 |
+ kde5_pkg_postinst |
80 |
+ |
81 |
+ elog "" |
82 |
+ elog "In order to have ssh-agent start at kde startup," |
83 |
+ elog "edit /etc/plasma/startup/agent-startup.sh and uncomment" |
84 |
+ elog "the lines enabling ssh-agent." |
85 |
+ elog |
86 |
+ elog "If you do so, do not forget to uncomment the respective" |
87 |
+ elog "lines in /etc/plasma/shutdown/agent-shutdown.sh to" |
88 |
+ elog "properly kill the agent when the session ends." |
89 |
+ elog |
90 |
+ elog "${PN} has been installed as your default askpass application" |
91 |
+ elog "for Plasma 5 sessions." |
92 |
+ elog "If that's not desired, select the one you want to use in" |
93 |
+ elog "/etc/plasma/startup/ksshaskpass.sh" |
94 |
+ elog "" |
95 |
+} |