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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Jul 3 00:14:50 2002 UTC (17 years, 3 months ago) by lostlogic
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +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.2_p1.ebuild,v 1.1 2002/05/18 14:25:23 woodchip Exp $
4
5 # Make it more portable between straight releases
6 # and _p? releases.
7 PARCH=${P/_/}
8 S=${WORKDIR}/${PARCH}
9 DESCRIPTION="Port of OpenBSD's free SSH release"
10 SRC_URI="ftp://ftp.openbsd.org/pub/unix/OpenBSD/OpenSSH/portable/${PARCH}.tar.gz"
11 HOMEPAGE="http://www.openssh.com/"
12
13 #openssh recognizes when openssl has been slightly upgraded and refuses to run. This new rev
14 #will use the new openssl.
15 RDEPEND="virtual/glibc pam? ( >=sys-libs/pam-0.73 >=sys-apps/shadow-4.0.2-r2 ) >=dev-libs/openssl-0.9.6d sys-libs/zlib"
16 DEPEND="${RDEPEND} sys-devel/perl sys-apps/groff tcpd? ( >=sys-apps/tcp-wrappers-7.6 )"
17
18 src_compile() {
19 local myconf
20 use tcpd || myconf="${myconf} --without-tcp-wrappers"
21 use tcpd && myconf="${myconf} --with-tcp-wrappers"
22 use pam || myconf="${myconf} --without-pam"
23 use pam && myconf="${myconf} --with-pam"
24
25 ./configure \
26 --prefix=/usr \
27 --sysconfdir=/etc/ssh \
28 --mandir=/usr/share/man \
29 --libexecdir=/usr/lib/misc \
30 --datadir=/usr/share/openssh \
31 --disable-suid-ssh \
32 --with-ipv4-default \
33 --host=${CHOST} ${myconf} || die "bad configure"
34
35 if [ "`use static`" ]
36 then
37 # statically link to libcrypto -- good for the boot cd
38 perl -pi -e "s|-lcrypto|/usr/lib/libcrypto.a|g" Makefile
39 fi
40
41 make || die " compile problem"
42 }
43
44 src_install() {
45 make install-files DESTDIR=${D} || die
46 dodoc ChangeLog CREDITS OVERVIEW README* TODO sshd_config
47 insinto /etc/pam.d ; newins ${FILESDIR}/sshd.pam sshd
48 exeinto /etc/init.d ; newexe ${FILESDIR}/sshd.rc6 sshd
49 }

  ViewVC Help
Powered by ViewVC 1.1.20