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

Contents of /net-misc/openssh/openssh-2.2.0_p1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Nov 22 09:08:46 2000 UTC (18 years, 10 months ago) by jerry
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Upgrade OpenSSH to v2.3.0p1.
Remove older versions of OpenSSH since it has some security issues.

1 # Copyright 1999-2000 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2 or later
3 # Author Achim Gottinger <achim@gentoo.org>
4 # $Header: /home/cvsroot/gentoo-x86/net-misc/openssh/openssh-2.2.0_p1-r1.ebuild,v 1.1 2000/11/20 22:16:46 jerry Exp $
5
6 P=openssh-2.2.0p1
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/OpenBSD/OpenSSH/portable/"${A}
11 HOMEPAGE="http://www.openssh.com/"
12
13 DEPEND=">=sys-apps/bash-2.04
14 >=sys-apps/tcp-wrappers-7.6
15 >=sys-libs/glibc-2.1.3
16 >=sys-libs/pam-0.72
17 >=dev-libs/openssl-0.9.6"
18
19 src_compile() {
20 try ./configure --prefix=/usr --sysconfdir=/etc/ssh \
21 --libexecdir=/usr/libexec --mandir=/usr/man \
22 --enable-gnome-askpass \
23 --with-tcp-wrappers --with-ipv4-default --host=${CHOST}
24 try make
25 }
26
27 src_unpack() {
28 unpack ${A}
29 cd ${S}
30 # patch -p0 < contrib/chroot.diff
31 }
32
33 src_install() {
34 try make manpages install-files DESTDIR=${D}
35 prepman
36 dodoc ChangeLog COPYING.* CREDITS OVERVIEW README* TODO UPGRADING
37 cd ${O}/files
38 dodir /etc/rc.d/init.d/
39 insinto /etc/rc.d/init.d
40 doins sshd
41 insinto /etc/pam.d
42 donewins sshd.pam sshd
43 }
44
45 pkg_config() {
46
47 # Make ssh start at boot
48 echo "Generating symlinks"
49 ${ROOT}/usr/sbin/rc-update add sshd
50
51 }
52
53
54

  ViewVC Help
Powered by ViewVC 1.1.20