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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Wed Jan 10 06:05:31 2001 UTC (18 years, 9 months ago) by drobbins
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
supervise and initscript update

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-r3.ebuild,v 1.3 2000/12/24 05:26:02 drobbins 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 insinto /etc/pam.d
37 donewins ${FILESDIR}/sshd.pam sshd
38 exeinto /etc/rc.d/init.d
39 doexe ${FILESDIR}/sshd
40 exeinto /var/supervise/sshd
41 newexe ${FILESDIR}/sshd-run run
42 dodir /etc/supervise
43 dosym /var/supervise/sshd /etc/supervise/sshd
44 }
45
46
47 pkg_postinst() {
48 # Make ssh start at boot
49 . ${ROOT}/etc/rc.d/config/functions
50 einfo ">>> Generating symlinks"
51 ${ROOT}/usr/sbin/rc-update add sshd
52 }
53

  ViewVC Help
Powered by ViewVC 1.1.20