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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed Oct 3 16:31:50 2001 UTC (18 years, 2 months ago) by woodchip
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +0 -0 lines
FILE REMOVED
old, sploity versions launched

1 # Copyright 1999-2001 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2 or later
3 # Maintainer: System Team <system@gentoo.org>
4 # /home/cvsroot/gentoo-x86/net-misc/openssh/openssh-2.9_p2.ebuild,v 1.3 2001/09/07 09:07:37 woodchip Exp
5
6 P=openssh-2.9p2
7 A=${P}.tar.gz
8 S=${WORKDIR}/${P}
9 DESCRIPTION="Port of OpenBSD's free SSH release"
10 SRC_URI="ftp://ftp.openbsd.org/pub/unix/OpenBSD/OpenSSH/portable/${A}"
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
26 local myconf
27 use tcpd && myconf="${myconf} --with-tcp-wrappers"
28 use tcpd || myconf="${myconf} --without-tcp-wrappers"
29 use pam && myconf="${myconf} --with-pam"
30 use pam || myconf="${myconf} --without-pam"
31
32 ./configure --prefix=/usr --sysconfdir=/etc/ssh --host=${CHOST} \
33 --libexecdir=/usr/lib/misc --mandir=/usr/share/man \
34 --with-ipv4-default --disable-suid-ssh ${myconf}
35 assert
36 make || die
37 }
38
39 src_install() {
40
41 make install-files DESTDIR=${D} || die
42 dodoc ChangeLog CREDITS OVERVIEW README* TODO sshd_config
43
44 insinto /etc/pam.d
45 newins ${FILESDIR}/sshd.pam.rc5 sshd
46 exeinto /etc/rc.d/init.d
47 newexe ${FILESDIR}/sshd.rc5 sshd
48 }

  ViewVC Help
Powered by ViewVC 1.1.20