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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu Jun 21 18:36:00 2001 UTC (18 years, 4 months ago) by drobbins
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
several packages removed now that we've updated to versions with all known
vulnerabilities fixed.

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.9_p1-r1.ebuild,v 1.2 2001/06/18 12:24:00 achim Exp $
5
6 P=openssh-2.9p1
7 A=${P}.tar.gz
8 S=${WORKDIR}/${P}
9 DESCRIPTION="Port of OpenBSD's free SSH release"
10 SRC_URI="ftp://ftp.de.openbsd.org/pub/unix/OpenBSD/OpenSSH/portable/"${A}
11 HOMEPAGE="http://www.openssh.com/"
12
13 DEPEND="virtual/glibc sys-devel/perl sys-apps/groff
14 tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
15 pam? ( >=sys-libs/pam-0.73 )
16 >=dev-libs/openssl-0.9.6"
17
18 RDEPEND="virtual/glibc
19 pam? ( >=sys-libs/pam-0.73 )
20 >=dev-libs/openssl-0.9.6"
21
22 src_compile() {
23 local myconf
24 if [ "`use tcpd`" ]
25 then
26 myconf="--with-tcp-wrappers"
27 else
28 myconf="--without-tcp-wrappers"
29 fi
30 if [ "`use pam`" ]
31 then
32 myconf="${myconf} --with-pam"
33 else
34 myconf="${myconf} --without-pam"
35 fi
36
37 try ./configure --prefix=/usr --sysconfdir=/etc/ssh \
38 --libexecdir=/usr/lib/misc --mandir=/usr/share/man \
39 --with-ipv4-default --disable-suid-ssh --host=${CHOST} ${myconf}
40 try make
41 }
42
43 src_install() {
44
45 try make install-files DESTDIR=${D}
46 dodoc ChangeLog CREDITS OVERVIEW README* TODO
47 insinto /etc/pam.d
48 donewins ${FILESDIR}/sshd.pam sshd
49 exeinto /etc/rc.d/init.d
50 newexe ${FILESDIR}/openssh sshd
51 newexe ${FILESDIR}/svc-openssh svc-sshd
52 exeinto /var/lib/supervise/services/sshd
53 newexe ${FILESDIR}/sshd-run run
54 }
55
56
57 pkg_postinst() {
58 # Make ssh start at boot
59 . /etc/rc.d/config/functions
60 einfo ">>> Generating symlinks"
61 ${ROOT}/usr/sbin/rc-update add svc-sshd
62 }
63

  ViewVC Help
Powered by ViewVC 1.1.20