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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Wed Jul 3 00:14:50 2002 UTC (17 years, 2 months ago) by lostlogic
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
New revision for bugs 4169 4170 4193, removing all old versions as there are various security exploits that are known in them.

1 # Copyright 1999-2002 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2 or later
3 # $Header: /home/cvsroot/gentoo-x86/net-misc/openssh/openssh-3.2.3_p1.ebuild,v 1.3 2002/05/31 02:32:58 agenkin Exp $
4
5 DESCRIPTION="Port of OpenBSD's free SSH release"
6 HOMEPAGE="http://www.openssh.com/"
7
8 # openssh recognizes when openssl has been slightly upgraded and refuses to run.
9 # This new rev will use the new openssl.
10 RDEPEND="virtual/glibc
11 pam? ( >=sys-libs/pam-0.73 >=sys-apps/shadow-4.0.2-r2 )
12 >=dev-libs/openssl-0.9.6d
13 sys-libs/zlib"
14
15 DEPEND="${RDEPEND}
16 sys-devel/perl
17 sys-apps/groff
18 tcpd? ( >=sys-apps/tcp-wrappers-7.6 )"
19
20 # Make it more portable between straight releases
21 # and _p? releases.
22 PARCH=${P/_/}
23
24 SRC_URI="ftp://ftp.openbsd.org/pub/unix/OpenBSD/OpenSSH/portable/${PARCH}.tar.gz"
25 S=${WORKDIR}/${PARCH}
26
27 src_compile() {
28 local myconf
29 use tcpd || myconf="${myconf} --without-tcp-wrappers"
30 use tcpd && myconf="${myconf} --with-tcp-wrappers"
31 use pam || myconf="${myconf} --without-pam"
32 use pam && myconf="${myconf} --with-pam"
33
34 ./configure \
35 --prefix=/usr \
36 --sysconfdir=/etc/ssh \
37 --mandir=/usr/share/man \
38 --libexecdir=/usr/lib/misc \
39 --datadir=/usr/share/openssh \
40 --disable-suid-ssh \
41 --with-ipv4-default \
42 --host=${CHOST} ${myconf} || die "bad configure"
43
44 if [ "`use static`" ]
45 then
46 # statically link to libcrypto -- good for the boot cd
47 perl -pi -e "s|-lcrypto|/usr/lib/libcrypto.a|g" Makefile
48 fi
49
50 make || die " compile problem"
51 }
52
53 src_install() {
54 make install-files DESTDIR=${D} || die
55 dodoc ChangeLog CREDITS OVERVIEW README* TODO sshd_config
56 insinto /etc/pam.d ; newins ${FILESDIR}/sshd.pam sshd
57 exeinto /etc/init.d ; newexe ${FILESDIR}/sshd.rc6 sshd
58 }

  ViewVC Help
Powered by ViewVC 1.1.20