1 |
# Copyright 1999-2005 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/nxssh/nxssh-1.4.0.ebuild,v 1.2 2005/01/02 09:40:02 stuart Exp $ |
4 |
|
5 |
MY_P="${PN}-${PV}-15" |
6 |
DESCRIPTION="Modified openssh client, used by nxclient" |
7 |
HOMEPAGE="http://www.nomachine.com/" |
8 |
SRC_URI="http://www.nomachine.com/download/snapshot/nxsources/${MY_P}.tar.gz" |
9 |
LICENSE="as-is" |
10 |
SLOT="0" |
11 |
KEYWORDS="~x86 ~ppc -sparc -mips -alpha" |
12 |
DEPEND=">=dev-libs/openssl-0.9.7d-r1 |
13 |
>=sys-libs/glibc-2.3.3.20040420-r1 |
14 |
>=sys-libs/zlib-1.2.1-r2" |
15 |
# Run-time dependencies, same as DEPEND if RDEPEND isn't defined: |
16 |
#RDEPEND="" |
17 |
IUSE="ipv6 kerberos pam tcpd" |
18 |
|
19 |
S=${WORKDIR}/${PN} |
20 |
|
21 |
src_compile() { |
22 |
local myconf |
23 |
|
24 |
use tcpd || myconf="${myconf} --without-tcp-wrappers" |
25 |
use tcpd && myconf="${myconf} --with-tcp-wrappers" |
26 |
use pam || myconf="${myconf} --without-pam" |
27 |
use pam && myconf="${myconf} --with-pam" |
28 |
use ipv6 || myconf="${myconf} --with-ipv4-default" |
29 |
|
30 |
# app-crypt/mit-krb5 |
31 |
use kerberos && myconf="${myconf} --with-kerberos5" |
32 |
|
33 |
./configure \ |
34 |
--prefix=/usr \ |
35 |
--sysconfdir=/etc/ssh \ |
36 |
--mandir=/usr/share/man \ |
37 |
--libexecdir=/usr/lib/misc \ |
38 |
--datadir=/usr/share/openssh \ |
39 |
--disable-suid-ssh \ |
40 |
--with-privsep-path=/var/empty \ |
41 |
--with-privsep-user=sshd \ |
42 |
--with-md5-passwords \ |
43 |
--host=${CHOST} ${myconf} || die "bad configure" |
44 |
|
45 |
emake || die "compile problem" |
46 |
} |
47 |
|
48 |
src_install() { |
49 |
exeinto /usr/NX/bin |
50 |
doexe nxssh |
51 |
} |