blob: 9e81941eff1f0eae17c6d880f4311f282ef0c888 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/nxssh/nxssh-1.5.0.ebuild,v 1.2 2005/10/20 21:54:54 agriffis Exp $
inherit multilib flag-o-matic
DESCRIPTION="Modified openssh client, used by nxclient"
HOMEPAGE="http://www.nomachine.com/"
IUSE="ipv6 pam tcpd"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
SRC_URI="http://web04.nomachine.com/download/1.5.0/sources/nxssh-$PV-21.tar.gz"
DEPEND="
=net-misc/nxcomp-1.5*
dev-libs/openssl
virtual/libc
sys-libs/zlib
tcpd? ( sys-apps/tcp-wrappers )
pam? ( sys-libs/pam )"
S=${WORKDIR}/${PN}
src_compile() {
append-flags -I/usr/NX/include
append-ldflags -L/usr/NX/$(get_libdir)
./configure \
--prefix=/usr \
--sysconfdir=/etc/ssh \
--mandir=/usr/share/man \
--libexecdir=/usr/lib/misc \
--datadir=/usr/share/openssh \
--disable-suid-ssh \
--with-privsep-path=/var/empty \
--with-privsep-user=sshd \
--with-md5-passwords \
$(use_with tcpd tcp-wrappers) \
$(use_with pam) \
$(use_with !ipv6 ipv4-default) \
|| die "configure nxssh failed"
emake || die "emake nxssh failed"
}
src_install() {
into /usr/NX
dobin nxssh
}
|