/[gentoo-x86]/net-misc/openssh/openssh-2.9_p2-r2.ebuild
Gentoo

Contents of /net-misc/openssh/openssh-2.9_p2-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Fri Sep 7 09:09:37 2001 UTC (18 years, 1 month ago) by woodchip
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
forgot to blow away an old ebuild

1 # Copyright 1999-2001 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2 or later
3 # Team: System Team <system@gentoo.org>
4 # Author: Achim Gottinger <achim@gentoo.org>, Daniel Robbins <drobbins@gentoo.org>
5 # $Header: /home/cvsroot/gentoo-x86/net-misc/openssh/openssh-2.9_p2-r2.ebuild,v 1.8 2001/09/06 02:09:23 woodchip Exp $
6
7 MYP="openssh-2.9p2"
8 S=${WORKDIR}/${MYP}
9 DESCRIPTION="Port of OpenBSD's free SSH release"
10 SRC_URI="ftp://ftp.openbsd.org/pub/unix/OpenBSD/OpenSSH/portable/openssh-2.9p2.tar.gz"
11 HOMEPAGE="http://www.openssh.com/"
12
13 DEPEND="virtual/glibc sys-devel/perl sys-apps/groff
14 tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
15 pam? ( >=sys-libs/pam-0.73 )
16 >=dev-libs/openssl-0.9.6
17 sys-libs/zlib"
18
19 RDEPEND="virtual/glibc
20 pam? ( >=sys-libs/pam-0.73 )
21 >=dev-libs/openssl-0.9.6
22 sys-libs/zlib"
23
24 src_compile() {
25 local myconf
26 if [ "`use tcpd`" ]
27 then
28 myconf="--with-tcp-wrappers"
29 else
30 myconf="--without-tcp-wrappers"
31 fi
32 if [ "`use pam`" ]
33 then
34 myconf="${myconf} --with-pam"
35 else
36 myconf="${myconf} --without-pam"
37 fi
38
39 ./configure --prefix=/usr --sysconfdir=/etc/ssh \
40 --libexecdir=/usr/lib/misc --mandir=/usr/share/man \
41 --with-ipv4-default --disable-suid-ssh --host=${CHOST} ${myconf} || die
42 make || die
43 }
44
45 src_install() {
46 make install-files DESTDIR=${D} || die
47 dodoc ChangeLog CREDITS OVERVIEW README* TODO
48 insinto /etc/pam.d
49 donewins ${FILESDIR}/sshd.pam sshd
50 exeinto /etc/init.d
51 doexe ${FILESDIR}/sshd
52 }

  ViewVC Help
Powered by ViewVC 1.1.20