/[gentoo-x86]/net-misc/openssh/openssh-3.0_p1.ebuild
Gentoo

Contents of /net-misc/openssh/openssh-3.0_p1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Fri Nov 9 04:10:42 2001 UTC (18 years, 2 months ago) by woodchip
Branch: MAIN
new update from openssh-2.9.9_p2 to openssh-3.0_p1.  Added --datadir
to the ./configure so the Ssh.bin file gets placed sanely.  Changed
spaces to tabs and slght dep tweakage.

1 woodchip 1.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     # $Header$
5    
6     P=openssh-3.0p1
7     S=${WORKDIR}/${P}
8     DESCRIPTION="Port of OpenBSD's free SSH release"
9     SRC_URI="ftp://ftp.openbsd.org/pub/unix/OpenBSD/OpenSSH/portable/${P}.tar.gz"
10     HOMEPAGE="http://www.openssh.com/"
11    
12     RDEPEND="virtual/glibc
13     pam? ( >=sys-libs/pam-0.73 )
14     >=dev-libs/openssl-0.9.6
15     sys-libs/zlib"
16    
17     DEPEND="${RDEPEND} sys-devel/perl sys-apps/groff
18     tcpd? ( >=sys-apps/tcp-wrappers-7.6 )"
19    
20     src_compile() {
21    
22     local myconf
23     use tcpd || myconf="${myconf} --without-tcp-wrappers"
24     use tcpd && myconf="${myconf} --with-tcp-wrappers"
25     use pam || myconf="${myconf} --without-pam"
26     use pam && myconf="${myconf} --with-pam"
27    
28     ./configure \
29     --prefix=/usr \
30     --sysconfdir=/etc/ssh \
31     --mandir=/usr/share/man \
32     --libexecdir=/usr/lib/misc \
33     --datadir=/usr/share/openssh \
34     --disable-suid-ssh \
35     --with-ipv4-default \
36     --host=${CHOST} ${myconf} || die "bad configure"
37    
38     make || die " compile problem"
39     }
40    
41     src_install() {
42    
43     make install-files DESTDIR=${D} || die
44     dodoc ChangeLog CREDITS OVERVIEW README* TODO sshd_config
45    
46     insinto /etc/pam.d ; newins ${FILESDIR}/sshd.pam.rc6 sshd
47     exeinto /etc/rc.d/init.d ; newexe ${FILESDIR}/sshd.rc5 sshd
48     }

  ViewVC Help
Powered by ViewVC 1.1.20