/[gentoo-x86]/net-misc/ksshaskpass/ksshaskpass-0.5.3.ebuild
Gentoo

Contents of /net-misc/ksshaskpass/ksshaskpass-0.5.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri May 13 09:44:18 2011 UTC (2 years, 11 months ago) by scarabeus
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -3 lines
Stable on x86 and amd64.

(Portage version: 2.2.0_alpha32/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/ksshaskpass/ksshaskpass-0.5.3.ebuild,v 1.1 2011/01/12 23:34:51 tampakrap Exp $
4
5 EAPI=4
6
7 inherit kde4-base
8
9 DESCRIPTION="KDE implementation of ssh-askpass with Kwallet integration."
10 HOMEPAGE="http://www.kde-apps.org/content/show.php?content=50971&forumpage=0"
11 SRC_URI="http://www.kde-apps.org/CONTENT/content-files/50971-${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 KEYWORDS="amd64 x86"
15 SLOT="4"
16 IUSE="debug"
17
18 RDEPEND="net-misc/openssh"
19
20 CFG="ksshaskpass.sh"
21
22 src_prepare() {
23 STARTUPDIR=/etc/kde/startup
24 SHUTDOWNDIR=/etc/kde/shutdown
25
26 kde4-base_src_prepare
27 }
28
29 src_install() {
30 kde4-base_src_install
31
32 cat <<-EOF > "${T}/${CFG}"
33 export SSH_ASKPASS="${PREFIX}/bin/ksshaskpass"
34 EOF
35 insinto "${STARTUPDIR}"
36 doins "${T}/${CFG}"
37 }
38
39 pkg_postinst() {
40 kde4-base_pkg_postinst
41
42 elog
43 elog "In order to have ksshagent start at kde startup,"
44 elog "edit ${STARTUPDIR}/agent-startup.sh and uncomment"
45 elog "the lines enabling ssh-agent."
46 elog
47 elog "If you do so, do not forget to uncomment the respective"
48 elog "lines in ${SHUTDOWNDIR}/agent-shutdown.sh to"
49 elog "properly kill the agent when the session ends."
50 elog
51 elog "${P} has been installed as your default askpass application in KDE4 session."
52 elog "If it's not desired, point the one you want to use in ${STARTUPDIR}/${CFG}"
53 elog
54 }

  ViewVC Help
Powered by ViewVC 1.1.20