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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Nov 20 21:03:17 2001 UTC (17 years, 10 months ago) by woodchip
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Newest openssh release.  See changelog in the docs for detailed notes.
Ive not provided separate ebuild for rc5 system.  The rc6 init system
is the only supported one starting now. :)  This lets us totally
focus on rc6, and frees us from making two versions of every single
ebuild that provides an initscript.  The rc5 initscript is still in
the files directory should you want it for now.

So you'll start to see all the -r6 version kludge stuff dissappear as
that was really only to allow a small buffer zone so everybody could
be supported at the same time.

I've deleted the old openssh-3.0_p1 ebuilds as they're causing portage
to barf when comparing them to this ebuild.  I guess it should have
been originally added as openssh-3.0.0_p1 ;)  Might wanna keep this
in mind till the version parse bugs in portage are gone.

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: /home/cvsroot/gentoo-x86/net-misc/openssh/openssh-3.0_p1-r6.ebuild,v 1.2 2001/11/17 07:35:22 drobbins Exp $
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 pam? ( >=sys-libs/pam-0.73 ) >=dev-libs/openssl-0.9.6 sys-libs/zlib "
13 DEPEND="${RDEPEND} sys-devel/perl sys-apps/groff tcpd? ( >=sys-apps/tcp-wrappers-7.6 )"
14
15 src_compile() {
16
17 local myconf
18 use tcpd || myconf="${myconf} --without-tcp-wrappers"
19 use tcpd && myconf="${myconf} --with-tcp-wrappers"
20 use pam || myconf="${myconf} --without-pam"
21 use pam && myconf="${myconf} --with-pam"
22
23 ./configure \
24 --prefix=/usr \
25 --sysconfdir=/etc/ssh \
26 --mandir=/usr/share/man \
27 --libexecdir=/usr/lib/misc \
28 --datadir=/usr/share/openssh \
29 --disable-suid-ssh \
30 --with-ipv4-default \
31 --host=${CHOST} ${myconf} || die "bad configure"
32
33 if [ "`use static`" ]
34 then
35 # statically link to libcrypto -- good for the boot cd
36 perl -pi -e "s|-lcrypto|/usr/lib/libcrypto.a|g" Makefile
37 fi
38
39 make || die " compile problem"
40 }
41
42 src_install() {
43
44 make install-files DESTDIR=${D} || die
45 dodoc ChangeLog CREDITS OVERVIEW README* TODO sshd_config
46
47 insinto /etc/pam.d ; newins ${FILESDIR}/sshd.pam.rc6 sshd
48 exeinto /etc/init.d ; newexe ${FILESDIR}/sshd.rc6 sshd
49 }

  ViewVC Help
Powered by ViewVC 1.1.20