Lines 1-15
Link Here
|
1 |
# Copyright 1999-2005 Gentoo Foundation |
1 |
# Copyright 1999-2006 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freenx/nxserver-freenx-0.4.4.ebuild,v 1.1 2005/05/23 19:10:14 stuart Exp $ |
3 |
# $Header: $ |
4 |
|
4 |
|
5 |
inherit eutils |
5 |
inherit multilib eutils |
6 |
|
6 |
|
7 |
DESCRIPTION="An X11/RDP/VNC proxy server especially well suited to low bandwidth links such as ISDN or modem" |
7 |
DESCRIPTION="An X11/RDP/VNC proxy server especially well suited to low bandwidth links such as ISDN or modem" |
8 |
HOMEPAGE="http://freenx.berlios.de/" |
8 |
HOMEPAGE="http://freenx.berlios.de/" |
9 |
SRC_URI="http://debian.tu-bs.de/knoppix/nx/freenx-${PV}.tar.gz" |
9 |
SRC_URI="http://debian.tu-bs.de/knoppix/nx/freenx-${PV}.tar.gz" |
10 |
LICENSE="GPL-2" |
10 |
LICENSE="GPL-2" |
11 |
SLOT="0" |
11 |
SLOT="0" |
12 |
KEYWORDS="~x86 ~ppc" |
12 |
KEYWORDS="~x86 ~amd64 ~ppc" |
13 |
RESTRICT="nomirror strip" |
13 |
RESTRICT="nomirror strip" |
14 |
IUSE="commercial" |
14 |
IUSE="commercial" |
15 |
DEPEND="virtual/ssh |
15 |
DEPEND="virtual/ssh |
Lines 17-25
Link Here
|
17 |
net-analyzer/gnu-netcat |
17 |
net-analyzer/gnu-netcat |
18 |
x86? ( commercial? ( >=net-misc/nxclient-1.4* ) |
18 |
x86? ( commercial? ( >=net-misc/nxclient-1.4* ) |
19 |
!commercial? ( !net-misc/nxclient ) ) |
19 |
!commercial? ( !net-misc/nxclient ) ) |
20 |
!x86? ( !net-misc/nxclient ) |
20 |
amd64? ( commercial? ( >=net-misc/nxclient-1.4* ) |
|
|
21 |
!commercial? ( !net-misc/nxclient ) ) |
22 |
!x86? ( !amd64? ( !net-misc/nxclient ) ) |
21 |
>=net-misc/nxproxy-1.4.0 |
23 |
>=net-misc/nxproxy-1.4.0 |
22 |
>=net-misc/nx-x11-1.4.0 |
24 |
|| ( >=net-misc/nx-x11-1.4.0 >=net-misc/nx-x11-bin-1.4.0 ) |
23 |
!net-misc/nxserver-personal |
25 |
!net-misc/nxserver-personal |
24 |
!net-misc/nxserver-business |
26 |
!net-misc/nxserver-business |
25 |
!net-misc/nxserver-enterprise" |
27 |
!net-misc/nxserver-enterprise" |
Lines 36-45
Link Here
|
36 |
epatch gentoo-nomachine.diff |
38 |
epatch gentoo-nomachine.diff |
37 |
# Patch to fix the adduser error |
39 |
# Patch to fix the adduser error |
38 |
epatch $FILESDIR/freenx-0.4.4-adduser-fix.patch |
40 |
epatch $FILESDIR/freenx-0.4.4-adduser-fix.patch |
39 |
|
41 |
epatch $FILESDIR/freenx-0.4.4-xorg7.patch |
40 |
cp ${FILESDIR}/nxserver-freenx-xorg7.patch ${T}/nxserver-freenx-xorg7.patch |
42 |
# fix to make sure 32 bit libraries are used by nx-x11 on amd64 |
41 |
sed -i 's/\-a "$1" != "\-\-agent" //' ${T}/nxserver-freenx-xorg7.patch |
43 |
has_multilib_profile && \ |
42 |
epatch ${T}/nxserver-freenx-xorg7.patch |
44 |
sed -i "/PATH_LIB=/s/lib/$(get_abi_LIBDIR x86)/" nxloadconfig |
43 |
} |
45 |
} |
44 |
|
46 |
|
45 |
src_compile() { |
47 |
src_compile() { |
Lines 60-67
Link Here
|
60 |
dobin nxkeygen |
62 |
dobin nxkeygen |
61 |
dobin nxloadconfig |
63 |
dobin nxloadconfig |
62 |
dobin nxsetup |
64 |
dobin nxsetup |
63 |
( use x86 && use commercial ) || dobin nxprint |
65 |
( ( use x86 || use amd64 ) && use commercial ) || dobin nxprint |
64 |
( use x86 && use commercial ) || dobin nxclient |
66 |
( ( use x86 || use amd64 ) && use commercial ) || dobin nxclient |
65 |
|
67 |
|
66 |
dodir ${NX_ETC_DIR} |
68 |
dodir ${NX_ETC_DIR} |
67 |
for x in passwords passwords.orig ; do |
69 |
for x in passwords passwords.orig ; do |