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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Jun 9 02:10:53 2001 UTC (18 years, 4 months ago) by achim
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +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-r5.ebuild,v 1.1 2001/03/06 06:20:41 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="virtual/glibc
14 tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
15 pam? ( >=sys-libs/pam-0.73 )
16 >=dev-libs/openssl-0.9.6"
17
18 src_compile() {
19 local myconf
20 if [ "`use tcpd`" ]
21 then
22 myconf="--with-tcp-wrappers"
23 fi
24 if [ "`use pam`" ]
25 then
26 myconf="${myconf} --without-shadow"
27 else
28 myconf="${myconf} --without-pam"
29 fi
30
31 try ./configure --prefix=/usr --sysconfdir=/etc/ssh \
32 --libexecdir=/usr/lib/misc --mandir=/usr/share/man \
33 --with-ipv4-default --host=${CHOST} ${myconf}
34 try make
35 }
36
37 src_install() {
38
39 try make manpages install-files DESTDIR=${D}
40 dodoc ChangeLog COPYING.* CREDITS OVERVIEW README* TODO
41 insinto /etc/pam.d
42 donewins ${FILESDIR}/sshd.pam sshd
43 exeinto /etc/rc.d/init.d
44 newexe ${FILESDIR}/openssh sshd
45 newexe ${FILESDIR}/svc-openssh svc-sshd
46 exeinto /var/lib/supervise/services/sshd
47 newexe ${FILESDIR}/sshd-run run
48 }
49
50
51 pkg_postinst() {
52 # Make ssh start at boot
53 . ${ROOT}/etc/rc.d/config/functions
54 einfo ">>> Generating symlinks"
55 ${ROOT}/usr/sbin/rc-update add svc-sshd
56 }
57

  ViewVC Help
Powered by ViewVC 1.1.20