/[gentoo-x86]/net-misc/ssh/ssh-3.2.9.1.ebuild
Gentoo

Contents of /net-misc/ssh/ssh-3.2.9.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Mon Feb 14 16:33:37 2005 UTC (14 years, 7 months ago) by humpback
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +1 -1 lines
FILE REMOVED
cleaning up the house
(Portage version: 2.0.51-r15)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/ssh/ssh-3.2.9.1.ebuild,v 1.9 2005/01/04 16:17:49 humpback Exp $
4
5 inherit gnuconfig
6
7 DESCRIPTION="SSH.COM free for Non-Commercial Use ssh version"
8 HOMEPAGE="http://www.ssh.com/"
9 SRC_URI="ftp://ftp.ssh.com/pub/ssh/${P}.tar.gz"
10
11 LICENSE="ssh"
12 SLOT="0"
13 KEYWORDS="x86 ~amd64"
14 IUSE="X ipv6 crypt openssh"
15
16 DEPEND="X? ( virtual/x11 )
17 !openssh? ( !virtual/ssh )"
18 PROVIDE="virtual/ssh"
19
20 src_compile() {
21 gnuconfig_update
22
23 econf \
24 `use_with ipv6 ipv6` \
25 `use_with X` \
26 `use_with crypt gpg` \
27 || die "configure failed"
28 make || die "make failed"
29 }
30
31 src_install() {
32 if [ -e ${ROOT}/etc/ssh2/hostkey ] ; then
33 # this keeps the install from generating these keys again
34 insinto /etc/ssh2
35 doins ${ROOT}/etc/ssh2/hostkey{,.pub}
36 fperms go-rwx /etc/ssh2/hostkey
37 fi
38 #this is ugly but helps on some problems on fresh installs see bug #57915
39 addwrite /root/.ssh2
40 make install DESTDIR=${D} || die "install failed"
41 chmod 600 ${D}/etc/ssh2/sshd2_config
42 dodoc CHANGES FAQ HOWTO.anonymous.sftp README* SSH2.QUICKSTART
43
44 insinto /etc/pam.d
45 newins ${FILESDIR}/pamd.sshd2 sshd2
46 exeinto /etc/init.d
47 newexe ${FILESDIR}/sshd2 sshd2
48
49 cd ${D}/usr
50 use openssh && find bin sbin share/man -type l -exec rm '{}' \;
51 }

  ViewVC Help
Powered by ViewVC 1.1.20