summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2004-09-08 19:08:32 +0000
committerStuart Herbert <stuart@gentoo.org>2004-09-08 19:08:32 +0000
commit549d2e4f70177ce32d58455100b240a04f7bd036 (patch)
tree457a7346c542edba9e0735d309633c970943533c /net-misc/nxserver-freenx
parentMarked unstable on x86, #63235 (diff)
downloadgentoo-2-549d2e4f70177ce32d58455100b240a04f7bd036.tar.gz
gentoo-2-549d2e4f70177ce32d58455100b240a04f7bd036.tar.bz2
gentoo-2-549d2e4f70177ce32d58455100b240a04f7bd036.zip
Version bump
Diffstat (limited to 'net-misc/nxserver-freenx')
-rw-r--r--net-misc/nxserver-freenx/ChangeLog8
-rw-r--r--net-misc/nxserver-freenx/Manifest2
-rw-r--r--net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.2.11
-rw-r--r--net-misc/nxserver-freenx/nxserver-freenx-0.2.1.ebuild83
4 files changed, 93 insertions, 1 deletions
diff --git a/net-misc/nxserver-freenx/ChangeLog b/net-misc/nxserver-freenx/ChangeLog
index f101337dd7c9..230f7662d028 100644
--- a/net-misc/nxserver-freenx/ChangeLog
+++ b/net-misc/nxserver-freenx/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/nxserver-freenx
# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freenx/ChangeLog,v 1.2 2004/09/07 19:28:31 stuart Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freenx/ChangeLog,v 1.3 2004/09/08 19:08:32 stuart Exp $
+
+*nxserver-freenx-0.2.1 (08 Sep 2004)
+
+ 08 Sep 2004; Stuart Herbert <stuart@gentoo.org>
+ +nxserver-freenx-0.2.1.ebuild:
+ Version bump; still no fix for suspend / resume problems yet
*nxserver-freenx-0.2 (07 Sep 2004)
diff --git a/net-misc/nxserver-freenx/Manifest b/net-misc/nxserver-freenx/Manifest
index fedf8bba4a16..1483622ca225 100644
--- a/net-misc/nxserver-freenx/Manifest
+++ b/net-misc/nxserver-freenx/Manifest
@@ -2,7 +2,9 @@ MD5 b332c4edaffac2a88659b7a82482a421 ChangeLog 709
MD5 77fd36d93b0a1b9f35abbe6a1c146561 metadata.xml 482
MD5 1e03302a3cedcbce0732be6149990026 nxserver-freenx-0.1.ebuild 2265
MD5 b1fe0f35fe48861becd7828d6a2967d3 nxserver-freenx-0.2.ebuild 2799
+MD5 763b57bf6c055df0122373b4a1701f1d nxserver-freenx-0.2.1.ebuild 2595
MD5 00eb0a54ca1f6c92c78f076b5dfe8e30 files/digest-nxserver-freenx-0.1 67
MD5 51446469a3dc970b28b816487003ab9f files/freenx-0.1-gentoo.patch 2749
MD5 5b10cd6429812bc5db1fba2dd45bdd48 files/digest-nxserver-freenx-0.2 61
+MD5 d388064e3dc5e12382a5df38d2963a7b files/digest-nxserver-freenx-0.2.1 63
MD5 31c1525d41a0503e50d849466edbc386 files/freenx-0.2-gentoo.patch 693
diff --git a/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.2.1 b/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.2.1
new file mode 100644
index 000000000000..0b162f8ef521
--- /dev/null
+++ b/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.2.1
@@ -0,0 +1 @@
+MD5 5338f54ab55f41fe7a8735b392bb5bee freenx-0.2-1.tar.gz 22065
diff --git a/net-misc/nxserver-freenx/nxserver-freenx-0.2.1.ebuild b/net-misc/nxserver-freenx/nxserver-freenx-0.2.1.ebuild
new file mode 100644
index 000000000000..f6791c5b7821
--- /dev/null
+++ b/net-misc/nxserver-freenx/nxserver-freenx-0.2.1.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freenx/nxserver-freenx-0.2.1.ebuild,v 1.1 2004/09/08 19:08:32 stuart Exp $
+
+inherit eutils
+
+DESCRIPTION="Windows Remote Desktop for X11"
+HOMEPAGE="http://www.kalyxo.org/twiki/bin/view/Main/FreeNX"
+SRC_URI="http://debian.tu-bs.de/knoppix/nx/freenx-0.2-1.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND="net-misc/nx-x11
+ >=net-misc/nxclient-1.4
+ >=net-misc/nxssh-1.4.0
+ dev-tcltk/expect"
+
+S=${WORKDIR}/freenx-0.2-1
+
+pkg_setup () {
+ enewuser nx -1 /usr/NX/bin/nxserver /usr/NX/home/nx
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch gentoo-nomachine.diff
+}
+
+src_compile() {
+ einfo "Nothing to compile"
+}
+
+src_install() {
+
+ NX_ROOT_DIR="/usr/NX"
+ NX_BIN_DIR=${NX_ROOT_DIR}/bin
+ NX_ETC_DIR=${NX_ROOT_DIR}/etc
+ NX_HOME_ROOT=${NX_ROOT_DIR}/home
+ NX_HOME_DIR=${NX_HOME_ROOT}/nx
+ NX_SSH_DIR=${NX_HOME_DIR}/.ssh
+ NX_SESS_DIR=${NX_ROOT_DIR}/var/db
+
+ # our job here is to make this package look as much like the commercial
+ # nxserver as possible
+ #
+ # this means we only have to maintain the one pkg_postinst() function
+ # for both the commercial and gpl'd servers :)
+
+ into $NX_ROOT_DIR
+ dobin nxserver
+ dobin nxnode
+ dobin nxnode-login
+
+ dodir ${NX_ETC_DIR}
+ for x in passwords passwords.orig ; do
+ touch ${D}${NX_ETC_DIR}/$x
+ chmod 600 ${D}${NX_ETC_DIR}/$x
+ done
+
+ ssh-keygen -f ${D}${NX_ETC_DIR}/users.id_dsa -t dsa -N "" -q
+
+ for x in closed running failed ; do
+ keepdir ${NX_SESS_DIR}/$x
+ fperms 0701 ${NX_SESS_DIR}/$x
+ done
+
+ dodir ${NX_SSH_DIR}
+ fperms 0700 ${NX_HOME_DIR}
+ fperms 0700 ${NX_SSH_DIR}
+
+ cat << EOF >${D}${NX_SSH_DIR}/server.id_dsa.pub.key
+ssh-dss AAAAB3NzaC1kc3MAAACBAJe/0DNBePG9dYLWq7cJ0SqyRf1iiZN/IbzrmBvgPTZnBa5FT/0Lcj39sRYt1paAlhchwUmwwIiSZaON5JnJOZ6jKkjWIuJ9MdTGfdvtY1aLwDMpxUVoGwEaKWOyin02IPWYSkDQb6cceuG9NfPulS9iuytdx0zIzqvGqfvudtufAAAAFQCwosRXR2QA8OSgFWSO6+kGrRJKiwAAAIEAjgvVNAYWSrnFD+cghyJbyx60AAjKtxZ0r/Pn9k94Qt2rvQoMnGgt/zU0v/y4hzg+g3JNEmO1PdHh/wDPVOxlZ6Hb5F4IQnENaAZ9uTZiFGqhBO1c8Wwjiq/MFZy3jZaidarLJvVs8EeT4mZcWxwm7nIVD4lRU2wQ2lj4aTPcepMAAACANlgcCuA4wrC+3Cic9CFkqiwO/Rn1vk8dvGuEQqFJ6f6LVfPfRTfaQU7TGVLk2CzY4dasrwxJ1f6FsT8DHTNGnxELPKRuLstGrFY/PR7KeafeFZDf+fJ3mbX5nxrld3wi5titTnX+8s4IKv29HJguPvOK/SI7cjzA+SqNfD7qEo8= root@nettuno
+EOF
+ fperms 0600 ${NX_SSH_DIR}/server.id_dsa.pub.key
+ cp ${D}${NX_SSH_DIR}/server.id_dsa.pub.key ${D}${NX_SSH_DIR}/authorized_keys2
+ fperms 0600 ${NX_SSH_DIR}/authorized_keys2
+
+ echo -n "127.0.0.1" ${D}${NX_SSH_DIR}/known_hosts
+
+ chown -R nx:root ${D}/usr/NX
+}