--- nxserver-freenx-0.4.0.ebuild 2005-05-23 14:10:14.000000000 -0500 +++ nxserver-freenx-0.4.4.ebuild 2005-08-08 10:54:56.076128736 -0500 @@ -9,17 +9,17 @@ HOMEPAGE="http://freenx.berlios.de/" SRC_URI="http://debian.tu-bs.de/knoppix/nx/freenx-${PV}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86 ~ppc" +KEYWORDS="x86 ~ppc" RESTRICT="nomirror strip" IUSE="commercial" DEPEND="virtual/ssh dev-tcltk/expect net-analyzer/gnu-netcat - x86? ( commercial? ( =net-misc/nxclient-1.4* ) + x86? ( commercial? ( >=net-misc/nxclient-1.4* ) !commercial? ( !net-misc/nxclient ) ) !x86? ( !net-misc/nxclient ) >=net-misc/nxproxy-1.4.0 - =net-misc/nx-x11-1.4* + >=net-misc/nx-x11-1.4.0 !net-misc/nxserver-personal !net-misc/nxserver-business !net-misc/nxserver-enterprise" @@ -34,6 +34,9 @@ src_unpack() { unpack ${A} cd ${S} epatch gentoo-nomachine.diff + + # Patch to fix the adduser error + epatch $FILESDIR/freenx-0.4.4-adduser-fix.patch } src_compile() { @@ -91,4 +94,9 @@ EOF pkg_postinst () { usermod -s /usr/NX/bin/nxserver nx || die "Unable to set login shell of nx user!!" + + echo + einfo "If you are using NX version 1.5.0, make sure you edit the file:" + einfo "/usr/NX/etc/node.conf and set ENABLE_1_5_0_BACKEND to 1." + echo }