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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Dec 11 18:53:39 2000 UTC (18 years, 10 months ago) by achim
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
*** empty log message ***

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.3.0_p1.ebuild,v 1.2 2000/12/05 18:34:25 achim Exp $
5
6 P=openssh-2.3.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 dodoc ChangeLog COPYING.* CREDITS OVERVIEW README* TODO UPGRADING
36 cd ${O}/files
37 dodir /etc/rc.d/init.d/
38 insinto /etc/rc.d/init.d
39 insopts -m755
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