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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Wed Dec 20 12:20:39 2000 UTC (18 years, 10 months ago) by drobbins
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
fixed it

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-r1.ebuild,v 1.3 2000/12/13 15:13:59 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 insinto /etc/pam.d
37 donewins ${FILESDIR}/sshd.pam sshd
38 exeinto /etc/rc.d/init.d
39 doexe ${FILESDIR}/sshd
40 exeinto /etc/svc.d/services/sshd
41 touch ${D}/etc/svc.d/services/sshd/down
42 newexe ${FILESDIR}/sshd-run run
43 dodir /etc/svc.d/control
44 dosym ../services/sshd /etc/svc.d/control/sshd
45 }
46
47
48 pkg_postinst() {
49 # Make ssh start at boot
50 . ${ROOT}/etc/rc.d/config/functions
51 einfo ">>> Generating symlinks"
52 ${ROOT}/usr/sbin/rc-update add sshd
53 }
54

  ViewVC Help
Powered by ViewVC 1.1.20