diff options
author | Grant Goodyear <g2boojum@gentoo.org> | 2001-06-21 15:52:58 +0000 |
---|---|---|
committer | Grant Goodyear <g2boojum@gentoo.org> | 2001-06-21 15:52:58 +0000 |
commit | 1d000e123a914be0941f4949a76c8be9dfdf9f69 (patch) | |
tree | a763c4a3f47ca634d6c29e4db6c2d9e74c7d782c /net-misc | |
parent | New version with optional motif and aalib interface (diff) | |
download | historical-1d000e123a914be0941f4949a76c8be9dfdf9f69.tar.gz historical-1d000e123a914be0941f4949a76c8be9dfdf9f69.tar.bz2 historical-1d000e123a914be0941f4949a76c8be9dfdf9f69.zip |
New patched version (fixes x-forwarding tmplink bug).
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/openssh/files/digest-openssh-2.9_p2 | 1 | ||||
-rw-r--r-- | net-misc/openssh/openssh-2.9_p2.ebuild | 63 |
2 files changed, 64 insertions, 0 deletions
diff --git a/net-misc/openssh/files/digest-openssh-2.9_p2 b/net-misc/openssh/files/digest-openssh-2.9_p2 new file mode 100644 index 000000000000..9c8a76bd9f29 --- /dev/null +++ b/net-misc/openssh/files/digest-openssh-2.9_p2 @@ -0,0 +1 @@ +MD5 fb5ea44cb5a894bed7b610c5a517542d openssh-2.9p2.tar.gz diff --git a/net-misc/openssh/openssh-2.9_p2.ebuild b/net-misc/openssh/openssh-2.9_p2.ebuild new file mode 100644 index 000000000000..c65b48fbf760 --- /dev/null +++ b/net-misc/openssh/openssh-2.9_p2.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/openssh-2.9_p2.ebuild,v 1.1 2001/06/21 15:52:58 g2boojum Exp $ + +P=openssh-2.9p2 +A=${P}.tar.gz +S=${WORKDIR}/${P} +DESCRIPTION="Port of OpenBSD's free SSH release" +SRC_URI="ftp://ftp.de.openbsd.org/pub/unix/OpenBSD/OpenSSH/portable/"${A} +HOMEPAGE="http://www.openssh.com/" + +DEPEND="virtual/glibc sys-devel/perl sys-apps/groff + tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) + pam? ( >=sys-libs/pam-0.73 ) + >=dev-libs/openssl-0.9.6" + +RDEPEND="virtual/glibc + pam? ( >=sys-libs/pam-0.73 ) + >=dev-libs/openssl-0.9.6" + +src_compile() { + local myconf + if [ "`use tcpd`" ] + then + myconf="--with-tcp-wrappers" + else + myconf="--without-tcp-wrappers" + fi + if [ "`use pam`" ] + then + myconf="${myconf} --with-pam" + else + myconf="${myconf} --without-pam" + fi + + try ./configure --prefix=/usr --sysconfdir=/etc/ssh \ + --libexecdir=/usr/lib/misc --mandir=/usr/share/man \ + --with-ipv4-default --disable-suid-ssh --host=${CHOST} ${myconf} + try make +} + +src_install() { + + try make install-files DESTDIR=${D} + dodoc ChangeLog CREDITS OVERVIEW README* TODO + insinto /etc/pam.d + donewins ${FILESDIR}/sshd.pam sshd + exeinto /etc/rc.d/init.d + newexe ${FILESDIR}/openssh sshd + newexe ${FILESDIR}/svc-openssh svc-sshd + exeinto /var/lib/supervise/services/sshd + newexe ${FILESDIR}/sshd-run run +} + + +pkg_postinst() { + # Make ssh start at boot + . /etc/rc.d/config/functions + einfo ">>> Generating symlinks" + ${ROOT}/usr/sbin/rc-update add svc-sshd +} + |