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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Apr 30 11:40:12 2001 UTC (18 years, 7 months ago) by achim
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Cleanup

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-r4.ebuild,v 1.2 2001/01/18 18:22:11 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
36 insinto /etc/pam.d
37 donewins ${FILESDIR}/sshd.pam sshd
38 exeinto /etc/rc.d/init.d
39 newexe ${FILESDIR}/openssh sshd
40 newexe ${FILESDIR}/svc-openssh svc-sshd
41 exeinto /var/lib/supervise/services/sshd
42 newexe ${FILESDIR}/sshd-run run
43 }
44
45
46 pkg_postinst() {
47 # Make ssh start at boot
48 . ${ROOT}/etc/rc.d/config/functions
49 einfo ">>> Generating symlinks"
50 ${ROOT}/usr/sbin/rc-update add svc-sshd
51 }
52

  ViewVC Help
Powered by ViewVC 1.1.20