summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2006-10-31 08:51:24 +0000
committerStuart Herbert <stuart@gentoo.org>2006-10-31 08:51:24 +0000
commit7e2e79c5bb2c7f1461177605d14ce585b634f323 (patch)
tree212bbe99d894764fccad0a779af4821261396e12 /net-misc/nxserver-freenx
parentChanged install locations for nx-x11 (to help nxserver-freenx) - VERY EXPERIM... (diff)
downloadnx-7e2e79c5bb2c7f1461177605d14ce585b634f323.tar.gz
nx-7e2e79c5bb2c7f1461177605d14ce585b634f323.tar.bz2
nx-7e2e79c5bb2c7f1461177605d14ce585b634f323.zip
Progress on getting nxserver-freenx working
svn path=/testing/; revision=101
Diffstat (limited to 'net-misc/nxserver-freenx')
-rw-r--r--net-misc/nxserver-freenx/ChangeLog7
-rw-r--r--net-misc/nxserver-freenx/Manifest46
-rw-r--r--net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.2.71
-rw-r--r--net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.2.81
-rw-r--r--net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.4.01
-rw-r--r--net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.4.4-r11
-rw-r--r--net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.5.01
-rw-r--r--net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.5.0-r13
-rw-r--r--net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.5.0.20060311-r11
-rw-r--r--net-misc/nxserver-freenx/nxserver-freenx-0.2.7.ebuild90
-rw-r--r--net-misc/nxserver-freenx/nxserver-freenx-0.2.8.ebuild92
-rw-r--r--net-misc/nxserver-freenx/nxserver-freenx-0.4.0.ebuild94
-rw-r--r--net-misc/nxserver-freenx/nxserver-freenx-0.4.4-r1.ebuild134
-rw-r--r--net-misc/nxserver-freenx/nxserver-freenx-0.5.0-r1.ebuild124
-rw-r--r--net-misc/nxserver-freenx/nxserver-freenx-0.5.0.20060311-r1.ebuild127
-rw-r--r--net-misc/nxserver-freenx/nxserver-freenx-0.5.0.ebuild101
16 files changed, 167 insertions, 657 deletions
diff --git a/net-misc/nxserver-freenx/ChangeLog b/net-misc/nxserver-freenx/ChangeLog
index 56d28da..35c7d9f 100644
--- a/net-misc/nxserver-freenx/ChangeLog
+++ b/net-misc/nxserver-freenx/ChangeLog
@@ -2,6 +2,13 @@
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freenx/ChangeLog,v 1.17 2006/04/30 19:38:46 stuart Exp $
+*nxserver-freenx-0.5.0-r1 (30 Oct 2006)
+
+ 30 Oct 2006; Stuart Herbert <stuart@gentoo.org>
+ +nxserver-freenx-0.5.0-r1.ebuild
+
+ Version bump; use freenx as shipped by Fedora 5
+
*nxserver-freenx-0.5.0.20060311-r1 (30 Apr 2006)
*nxserver-freenx-0.4.4-r1 (30 Apr 2006)
diff --git a/net-misc/nxserver-freenx/Manifest b/net-misc/nxserver-freenx/Manifest
index 188477d..f75a446 100644
--- a/net-misc/nxserver-freenx/Manifest
+++ b/net-misc/nxserver-freenx/Manifest
@@ -1,20 +1,40 @@
-MD5 dbe48705a3554638d1b89bca42c05198 ChangeLog 4366
+AUX 50nxserver 80 RMD160 204c4cffc4832609451e69a78a75d0572b74b0f1 SHA1 02c98a293297819e1f28dab13c49f0aa30d27d4b SHA256 7572b8195b5b1ba83f429ddc11be44b3496810e05adbc1c233788085bcf8e365
MD5 41f95f92c9e230d7cd356504a8e56269 files/50nxserver 80
-MD5 3210d19111775fb0cf59fb578879c5c2 files/digest-nxserver-freenx-0.2.7 63
-MD5 68fcece75aaa5f55ad36a18960a56806 files/digest-nxserver-freenx-0.2.8 63
-MD5 113c67a0f8b1fb7bc3d06e118148b5cc files/digest-nxserver-freenx-0.4.0 63
-MD5 02eda4039532351fcb86f05b76ec6c71 files/digest-nxserver-freenx-0.4.4-r1 63
-MD5 af8c0526caa55cfa9351550578b7dd6e files/digest-nxserver-freenx-0.5.0 68
-MD5 19bb7ae9f3a37a3e034a5dfb99de610d files/digest-nxserver-freenx-0.5.0.20060311-r1 81
+RMD160 204c4cffc4832609451e69a78a75d0572b74b0f1 files/50nxserver 80
+SHA256 7572b8195b5b1ba83f429ddc11be44b3496810e05adbc1c233788085bcf8e365 files/50nxserver 80
+AUX fixes.diff 1078 RMD160 780b0dd88789dc57c7ac7e412f5e17747f220dec SHA1 e0ce545cef2b9c1ff895286dcf74b47ef8b9adf1 SHA256 d611a7bb9065f6731f03fd59db52dfd72faef8d63219ac279f0764543d329b81
MD5 8f0fb766970dd9dce29e468cec2e796e files/fixes.diff 1078
+RMD160 780b0dd88789dc57c7ac7e412f5e17747f220dec files/fixes.diff 1078
+SHA256 d611a7bb9065f6731f03fd59db52dfd72faef8d63219ac279f0764543d329b81 files/fixes.diff 1078
+AUX freenx-0.4.4-adduser-fix.patch 562 RMD160 a6dcc853d73cf13cf395cc346fa5da86a00ec4ec SHA1 3334d2bd2d5617891ed04481ea88472829a1f41d SHA256 f5cbff53a8fe403e7068b43bc4c3005132e578e14effcbd3063ccf5da112ed17
MD5 925fd2cad3adceb556bf1de6cf866ed0 files/freenx-0.4.4-adduser-fix.patch 562
+RMD160 a6dcc853d73cf13cf395cc346fa5da86a00ec4ec files/freenx-0.4.4-adduser-fix.patch 562
+SHA256 f5cbff53a8fe403e7068b43bc4c3005132e578e14effcbd3063ccf5da112ed17 files/freenx-0.4.4-adduser-fix.patch 562
+AUX nxserver-freenx-0.4.4-xorg7.patch 569 RMD160 b67f4245d974cc1ea632797832d68effd7a43c12 SHA1 89d6f214e91e5d0ae634309b283242c9613329b7 SHA256 2495be930c061b4389e5287979e78ada02c754d6252c33af5a2e6564d2df2dc5
MD5 0fcfdb1adc7a94eece68cfd65a522b7f files/nxserver-freenx-0.4.4-xorg7.patch 569
+RMD160 b67f4245d974cc1ea632797832d68effd7a43c12 files/nxserver-freenx-0.4.4-xorg7.patch 569
+SHA256 2495be930c061b4389e5287979e78ada02c754d6252c33af5a2e6564d2df2dc5 files/nxserver-freenx-0.4.4-xorg7.patch 569
+AUX nxserver-freenx-xorg7.patch 590 RMD160 ad610f08f19fed4365903883e9ac58c8765566ba SHA1 21444d5e71e66f8cf24b9292d8aa35dec6c98c49 SHA256 f690fa88b718e47c9d545f185bfa88ce8cf2c96ed0de26cd2ca27118c711e225
MD5 2a253055c0eef647a0a8b922f321842d files/nxserver-freenx-xorg7.patch 590
+RMD160 ad610f08f19fed4365903883e9ac58c8765566ba files/nxserver-freenx-xorg7.patch 590
+SHA256 f690fa88b718e47c9d545f185bfa88ce8cf2c96ed0de26cd2ca27118c711e225 files/nxserver-freenx-xorg7.patch 590
+AUX nxserver-path.diff 718 RMD160 6ddec39e9005fefd475e208f369b231e9501c5c7 SHA1 c84fc802a151bbc64a56548b9f49a095868b12e7 SHA256 7fd2616f3f9a3165fbd12a1a05ab1081d7da8c6efe139029b5d401b04bbe1985
MD5 f58cf7014a645ce96afd27989a893c2f files/nxserver-path.diff 718
+RMD160 6ddec39e9005fefd475e208f369b231e9501c5c7 files/nxserver-path.diff 718
+SHA256 7fd2616f3f9a3165fbd12a1a05ab1081d7da8c6efe139029b5d401b04bbe1985 files/nxserver-path.diff 718
+DIST freenx-0.5.0-5.fc5.i386.rpm 62859 RMD160 1c7bef90d5610ab265d9a66253d2bda1663e6e1a SHA1 b8845b592ee3818f028b3201b17912ce1820d45b SHA256 8d5224e825191d330e85996815f1b2ecb8b733853c24e7704cf0ea7b52237016
+EBUILD nxserver-freenx-0.5.0-r1.ebuild 4169 RMD160 c81ef871a41262215b176ec12a73d38c67acf46b SHA1 638dddca562a48c32708a4d89cde955ec7d8f701 SHA256 ee93fdbbfff5d236902e6be05022e4d1670a1950b90377b80cf0b4c5bfe8ea3a
+MD5 c0ee91e4993ccc947abf825accc6d22d nxserver-freenx-0.5.0-r1.ebuild 4169
+RMD160 c81ef871a41262215b176ec12a73d38c67acf46b nxserver-freenx-0.5.0-r1.ebuild 4169
+SHA256 ee93fdbbfff5d236902e6be05022e4d1670a1950b90377b80cf0b4c5bfe8ea3a nxserver-freenx-0.5.0-r1.ebuild 4169
+MISC ChangeLog 4546 RMD160 f081e2d7f56201d4b35c27e5b23b9f22d5f0cf8f SHA1 7d607f526d861cb4c362bfc4424a512113f07a2c SHA256 0d07a96e80392326930e8338c311803cf40fe6224a22db3321f8037cf18937cd
+MD5 b49057c3ec7febd008b3b4f81492ee5d ChangeLog 4546
+RMD160 f081e2d7f56201d4b35c27e5b23b9f22d5f0cf8f ChangeLog 4546
+SHA256 0d07a96e80392326930e8338c311803cf40fe6224a22db3321f8037cf18937cd ChangeLog 4546
+MISC metadata.xml 482 RMD160 43d7ffbdffac6f9862dfea8535446439e8c03cc7 SHA1 a2003ef81f5113c3b1bffd54510a0b5417e30c0e SHA256 a057fa4844b9a4b9a6213a3dad7e620bee77a1e36bc0571ea948ecf585c17e45
MD5 77fd36d93b0a1b9f35abbe6a1c146561 metadata.xml 482
-MD5 95bc5eb4659bbab6c1b40fe962683ee5 nxserver-freenx-0.2.7.ebuild 2744
-MD5 04d7b917ab2c64f2732141f4e8af10ec nxserver-freenx-0.2.8.ebuild 2932
-MD5 8e4563ab87d9d2099bcb111d74c4a0b2 nxserver-freenx-0.4.0.ebuild 2905
-MD5 aac5b06dcaff3997372d3ad50e4d9004 nxserver-freenx-0.4.4-r1.ebuild 4436
-MD5 b499beadc1cab73a28850abf506feb2b nxserver-freenx-0.5.0.20060311-r1.ebuild 4125
-MD5 bd9ca4ace1427f2cd7380549e5302a9b nxserver-freenx-0.5.0.ebuild 3116
+RMD160 43d7ffbdffac6f9862dfea8535446439e8c03cc7 metadata.xml 482
+SHA256 a057fa4844b9a4b9a6213a3dad7e620bee77a1e36bc0571ea948ecf585c17e45 metadata.xml 482
+MD5 6c95395d73159a977cb252ca79283e16 files/digest-nxserver-freenx-0.5.0-r1 259
+RMD160 e40911d7dbe507a6946045b0edf6adae50b6aea7 files/digest-nxserver-freenx-0.5.0-r1 259
+SHA256 32a053208d0c362191602daff58fecb0fae0fa297ff75ad39686e42de35b18d5 files/digest-nxserver-freenx-0.5.0-r1 259
diff --git a/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.2.7 b/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.2.7
deleted file mode 100644
index 3377908..0000000
--- a/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.2.7
+++ /dev/null
@@ -1 +0,0 @@
-MD5 982a4828417d15bce0b0096c22f85ec3 freenx-0.2.7.tar.gz 26013
diff --git a/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.2.8 b/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.2.8
deleted file mode 100644
index 19a9654..0000000
--- a/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.2.8
+++ /dev/null
@@ -1 +0,0 @@
-MD5 db4c4a9f91619f4d9ac30fdea10925e8 freenx-0.2.8.tar.gz 26180
diff --git a/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.4.0 b/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.4.0
deleted file mode 100644
index 0009e06..0000000
--- a/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.4.0
+++ /dev/null
@@ -1 +0,0 @@
-MD5 a57046e79fb980b4720ec6ae67ed1f19 freenx-0.4.0.tar.gz 42771
diff --git a/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.4.4-r1 b/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.4.4-r1
deleted file mode 100644
index 3197a7a..0000000
--- a/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.4.4-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 4d92f80718edbaacd875404bcb2850b6 freenx-0.4.4.tar.gz 46111
diff --git a/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.5.0 b/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.5.0
deleted file mode 100644
index 93aa9bd..0000000
--- a/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.5.0
+++ /dev/null
@@ -1 +0,0 @@
-MD5 83ae22508076bdae2a45f7900dea071e FreeNX-0_5_0-LWE.tar.gz 347935
diff --git a/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.5.0-r1 b/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.5.0-r1
new file mode 100644
index 0000000..183d59a
--- /dev/null
+++ b/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.5.0-r1
@@ -0,0 +1,3 @@
+MD5 eb90747bb64cbdb5079dd28c8086b511 freenx-0.5.0-5.fc5.i386.rpm 62859
+RMD160 1c7bef90d5610ab265d9a66253d2bda1663e6e1a freenx-0.5.0-5.fc5.i386.rpm 62859
+SHA256 8d5224e825191d330e85996815f1b2ecb8b733853c24e7704cf0ea7b52237016 freenx-0.5.0-5.fc5.i386.rpm 62859
diff --git a/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.5.0.20060311-r1 b/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.5.0.20060311-r1
deleted file mode 100644
index 09651dd..0000000
--- a/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.5.0.20060311-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 b627433904cd6eed38b14524d3b45cbd freenx-0.5.0-test-2006-03-11-7.tar.gz 50703
diff --git a/net-misc/nxserver-freenx/nxserver-freenx-0.2.7.ebuild b/net-misc/nxserver-freenx/nxserver-freenx-0.2.7.ebuild
deleted file mode 100644
index 79a0eff..0000000
--- a/net-misc/nxserver-freenx/nxserver-freenx-0.2.7.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2005 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.7.ebuild,v 1.2 2005/10/02 14:43:31 flameeyes 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-${PV}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86"
-IUSE=""
-DEPEND="net-misc/nx-x11
- =net-misc/nxclient-1.4*
- dev-tcltk/expect
- net-analyzer/gnu-netcat"
-
-S=${WORKDIR}/freenx-${PV}
-
-pkg_setup () {
- enewuser nx -1 -1 /usr/NX/home/nx
-}
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- epatch gentoo-nomachine.diff
- epatch ${FILESDIR}/nxserver-path.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
- dobin nxkeygen
-
- 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 0700 ${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
-
-}
-
-pkg_postinst () {
- usermod -s /usr/NX/bin/nxserver nx || die "Unable to set login shell of nx user!!"
-}
diff --git a/net-misc/nxserver-freenx/nxserver-freenx-0.2.8.ebuild b/net-misc/nxserver-freenx/nxserver-freenx-0.2.8.ebuild
deleted file mode 100644
index 90f6524..0000000
--- a/net-misc/nxserver-freenx/nxserver-freenx-0.2.8.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2005 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.8.ebuild,v 1.2 2005/10/02 14:43:31 flameeyes 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-${PV}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 ~ppc"
-IUSE="commercial"
-DEPEND="net-misc/nx-x11
- !ppc? ( commercial? ( =net-misc/nxclient-1.4* ) )
- !commercial? ( =net-misc/nxssh-1.4* =net-misc/nxproxy-1.4* !net-misc/nxclient )
- dev-tcltk/expect
- net-analyzer/gnu-netcat"
-
-S=${WORKDIR}/freenx-${PV}
-
-pkg_setup () {
- enewuser nx -1 -1 /usr/NX/home/nx
-}
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- epatch gentoo-nomachine.diff
- epatch ${FILESDIR}/nxserver-path.diff
- epatch ${FILESDIR}/fixes.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
- dobin nxkeygen
- useq commercial || dobin nxclient
-
- 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 0700 ${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
-}
-
-pkg_postinst () {
- usermod -s /usr/NX/bin/nxserver nx || die "Unable to set login shell of nx user!!"
-}
diff --git a/net-misc/nxserver-freenx/nxserver-freenx-0.4.0.ebuild b/net-misc/nxserver-freenx/nxserver-freenx-0.4.0.ebuild
deleted file mode 100644
index 29c591d..0000000
--- a/net-misc/nxserver-freenx/nxserver-freenx-0.4.0.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2006 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.4.0.ebuild,v 1.3 2006/01/11 04:43:26 weeve Exp $
-
-inherit eutils
-
-DESCRIPTION="An X11/RDP/VNC proxy server especially well suited to low bandwidth links such as ISDN or modem"
-HOMEPAGE="http://freenx.berlios.de/"
-SRC_URI="http://debian.tu-bs.de/knoppix/nx/freenx-${PV}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~ppc ~sparc ~x86"
-RESTRICT="nomirror strip"
-IUSE="commercial"
-DEPEND="virtual/ssh
- dev-tcltk/expect
- net-analyzer/gnu-netcat
- 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/nxserver-personal
- !net-misc/nxserver-business
- !net-misc/nxserver-enterprise"
-
-S=${WORKDIR}/freenx-${PV}
-
-pkg_setup () {
- enewuser nx -1 -1 /usr/NX/home/nx
-}
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- epatch gentoo-nomachine.diff
-}
-
-src_compile() {
- einfo "Nothing to compile"
-}
-
-src_install() {
-
- NX_DIR=/usr/NX
- NX_ETC_DIR=$NX_DIR/etc
- NX_SESS_DIR=$NX_DIR/var/db
- NX_HOME_DIR=$NX_DIR/home/nx
-
- into ${NX_DIR}
- dobin nxserver
- dobin nxnode
- dobin nxnode-login
- dobin nxkeygen
- dobin nxloadconfig
- dobin nxsetup
- ( use x86 && use commercial ) || dobin nxprint
- ( use x86 && use commercial ) || dobin nxclient
-
- 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
-
- insinto ${NX_ETC_DIR}
- doins node.conf.sample
-
- 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 0700 ${NX_SESS_DIR}/$x
- done
-
- dodir ${NX_HOME_DIR}/.ssh
- fperms 0700 ${NX_HOME_DIR}
- fperms 0700 ${NX_HOME_DIR}/.ssh
-
- cat << EOF >${D}${NX_HOME_DIR}/.ssh/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_HOME_DIR}/.ssh/server.id_dsa.pub.key
- cp ${D}${NX_HOME_DIR}/.ssh/server.id_dsa.pub.key ${D}${NX_HOME_DIR}/.ssh/authorized_keys2
- fperms 0600 ${NX_HOME_DIR}/.ssh/authorized_keys2
-
- echo -n "127.0.0.1" ${D}${NX_HOME_DIR}/.ssh/known_hosts
-
- chown -R nx:root ${D}${NX_DIR}
-}
-
-pkg_postinst () {
- usermod -s /usr/NX/bin/nxserver nx || die "Unable to set login shell of nx user!!"
-}
diff --git a/net-misc/nxserver-freenx/nxserver-freenx-0.4.4-r1.ebuild b/net-misc/nxserver-freenx/nxserver-freenx-0.4.4-r1.ebuild
deleted file mode 100644
index a070ccc..0000000
--- a/net-misc/nxserver-freenx/nxserver-freenx-0.4.4-r1.ebuild
+++ /dev/null
@@ -1,134 +0,0 @@
-# Copyright 1999-2006 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.4.4-r1.ebuild,v 1.1 2006/04/30 19:38:46 stuart Exp $
-
-inherit multilib eutils
-
-DESCRIPTION="An X11/RDP/VNC proxy server especially well suited to low bandwidth links such as wireless, WANS, and worse"
-HOMEPAGE="http://freenx.berlios.de/"
-SRC_URI="http://debian.tu-bs.de/knoppix/nx/freenx-${PV}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-RESTRICT="nomirror strip"
-IUSE="arts cups esd nxclient"
-DEPEND="virtual/ssh
- dev-tcltk/expect
- sys-apps/gawk
- net-analyzer/gnu-netcat
- x86? ( nxclient? ( >=net-misc/nxclient-1.4.0 )
- !nxclient? ( !net-misc/nxclient ) )
- amd64? ( nxclient? ( >=net-misc/nxclient-1.4.0 )
- !nxclient? ( !net-misc/nxclient ) )
- !x86? ( !amd64? ( !net-misc/nxclient ) )
- >=net-misc/nxproxy-1.4.0
- || ( >=net-misc/nx-x11-1.4.0
- >=net-misc/nx-x11-bin-1.4.0 )
- arts? ( kde-base/arts )
- cups? ( net-print/cups )
- esd? ( media-sound/esound )
- !net-misc/nxserver-personal
- !net-misc/nxserver-business
- !net-misc/nxserver-enterprise"
-
-RDEPEND="${DEPEND}"
-
-S=${WORKDIR}/freenx-${PV}
-
-pkg_setup () {
- enewuser nx -1 -1 /usr/NX/home/nx
-}
-
-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
- epatch $FILESDIR/nxserver-freenx-0.4.4-xorg7.patch
-
- # fix to make sure 32 bit libraries are used by nx-x11 on amd64
- has_multilib_profile && \
- sed -i "/PATH_LIB=/s/lib/$(get_abi_LIBDIR x86)/" nxloadconfig
-
- # Change the defaults in nxloadconfig to meet the users needs.
- if has_version "~net-misc/nx-x11-1.5.0" || has_version "~net-misc/nx-x11-bin-1.5.0" ; then
- einfo "Enabling the NX 1.5.0 backend support."
- sed -i '/ENABLE_1_5_0_BACKEND=/s/"0"/"1"/' nxloadconfig
- sed -i '/ENABLE_1_5_0_BACKEND=/s/"0"/"1"/' node.conf.sample
- fi
- if use arts ; then
- einfo "Enabling arts support."
- sed -i '/ENABLE_ARTSD_PRELOAD=/s/"0"/"1"/' nxloadconfig
- sed -i '/ENABLE_ARTSD_PRELOAD=/s/"0"/"1"/' node.conf.sample
- fi
- if use esd ; then
- einfo "Enabling esd support."
- sed -i '/ENABLE_ESD_PRELOAD=/s/"0"/"1"/' nxloadconfig
- sed -i '/ENABLE_ESD_PRELOAD=/s/"0"/"1"/' node.conf.sample
- fi
- if use cups ; then
- einfo "Enabling cups support."
- sed -i '/ENABLE_KDE_CUPS=/s/"0"/"1"/' nxloadconfig
- sed -i '/ENABLE_KDE_CUPS=/s/"0"/"1"/' node.conf.sample
- fi
-}
-
-src_compile() {
- einfo "Nothing to compile"
-}
-
-src_install() {
-
- NX_DIR=/usr/NX
- NX_ETC_DIR=$NX_DIR/etc
- NX_SESS_DIR=$NX_DIR/var/db
- NX_HOME_DIR=$NX_DIR/home/nx
-
- into ${NX_DIR}
- dobin nxserver
- dobin nxnode
- dobin nxnode-login
- dobin nxkeygen
- dobin nxloadconfig
- dobin nxsetup
- ( ( use x86 || use amd64 ) && use nxclient ) || dobin nxprint
- ( ( use x86 || use amd64 ) && use nxclient ) || dobin nxclient
-
- 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
-
- insinto ${NX_ETC_DIR}
- doins node.conf.sample
-
- 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 0700 ${NX_SESS_DIR}/$x
- done
-
- dodir ${NX_HOME_DIR}/.ssh
- fperms 0700 ${NX_HOME_DIR}
- fperms 0700 ${NX_HOME_DIR}/.ssh
-
- cat << EOF >${D}${NX_HOME_DIR}/.ssh/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_HOME_DIR}/.ssh/server.id_dsa.pub.key
- cp ${D}${NX_HOME_DIR}/.ssh/server.id_dsa.pub.key ${D}${NX_HOME_DIR}/.ssh/authorized_keys2
- fperms 0600 ${NX_HOME_DIR}/.ssh/authorized_keys2
-
- echo -n "127.0.0.1" ${D}${NX_HOME_DIR}/.ssh/known_hosts
-
- chown -R nx:root ${D}${NX_DIR}
-}
-
-pkg_postinst () {
- usermod -s /usr/NX/bin/nxserver nx || die "Unable to set login shell of nx user!!"
-
- ewarn "NOTE: The commercial use flag was changed to nxclient."
-}
diff --git a/net-misc/nxserver-freenx/nxserver-freenx-0.5.0-r1.ebuild b/net-misc/nxserver-freenx/nxserver-freenx-0.5.0-r1.ebuild
new file mode 100644
index 0000000..69757f1
--- /dev/null
+++ b/net-misc/nxserver-freenx/nxserver-freenx-0.5.0-r1.ebuild
@@ -0,0 +1,124 @@
+# Copyright 1999-2006 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.5.0.20060311-r1.ebuild,v 1.1 2006/04/30 19:38:46 stuart Exp $
+
+inherit multilib eutils rpm
+
+DESCRIPTION="An X11/RDP/VNC proxy server especially well suited to low bandwidth links such as wireless, WANS, and worse"
+HOMEPAGE="http://freenx.berlios.de/"
+SRC_URI="ftp://ftp.pbone.net/mirror/download.fedora.redhat.com/pub/fedora/linux/extras/5/i386/freenx-0.5.0-5.fc5.i386.rpm"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+RESTRICT="strip"
+IUSE="arts cups esd nxclient"
+DEPEND="virtual/ssh
+ dev-tcltk/expect
+ sys-apps/gawk
+ net-analyzer/gnu-netcat
+ x86? ( nxclient? ( =net-misc/nxclient-1.5* )
+ !nxclient? ( !net-misc/nxclient ) )
+ amd64? ( nxclient? ( =net-misc/nxclient-1.5* )
+ !nxclient? ( !net-misc/nxclient ) )
+ !x86? ( !amd64? ( !net-misc/nxclient ) )
+ || ( =net-misc/nx-x11-1.5*
+ =net-misc/nx-x11-bin-1.5* )
+ arts? ( kde-base/arts )
+ cups? ( net-print/cups )
+ esd? ( media-sound/esound )
+ !net-misc/nxserver-personal
+ !net-misc/nxserver-business
+ !net-misc/nxserver-enterprise"
+
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}
+
+export NX_HOME_DIR=/var/lib/nxserver/home
+
+pkg_setup () {
+ enewuser nx -1 -1 ${NX_HOME_DIR}
+}
+
+src_unpack() {
+ rpm_unpack ${DISTDIR}/${A}
+ cd ${S}
+
+ mv etc/nxserver/node.conf.sample etc/nxserver/node.conf
+
+ # fix to make sure 32 bit libraries are used by nx-x11 on amd64
+ has_multilib_profile && \
+ sed -i "/PATH_LIB=/s/lib/$(get_abi_LIBDIR x86)/" usr/bin/nxloadconfig
+
+ # Change the defaults in nxloadconfig to meet the users needs.
+ if use arts ; then
+ einfo "Enabling arts support."
+ sed -i '/ENABLE_ARTSD_PRELOAD=/s/"0"/"1"/' usr/bin/nxloadconfig
+ sed -i '/ENABLE_ARTSD_PRELOAD=/s/"0"/"1"/' etc/nxserver/node.conf
+ fi
+ if use esd ; then
+ einfo "Enabling esd support."
+ sed -i '/ENABLE_ESD_PRELOAD=/s/"0"/"1"/' usr/bin/nxloadconfig
+ sed -i '/ENABLE_ESD_PRELOAD=/s/"0"/"1"/' etc/nxserver/node.conf
+ fi
+ if use cups ; then
+ einfo "Enabling cups support."
+ sed -i '/ENABLE_KDE_CUPS=/s/"0"/"1"/' usr/bin/nxloadconfig
+ sed -i '/ENABLE_KDE_CUPS=/s/"0"/"1"/' etc/nxserver/node.conf
+ fi
+}
+
+src_compile() {
+ einfo "Nothing to compile"
+}
+
+src_install() {
+ NX_ETC_DIR=/etc/nxserver
+ NX_SESS_DIR=/var/lib/nxserver/db
+
+ dobin usr/bin/nxserver
+ dobin usr/bin/nxnode
+ dobin usr/bin/nxnode-login
+ dobin usr/bin/nxkeygen
+ dobin usr/bin/nxloadconfig
+ dobin usr/bin/nxsetup
+ ( ( use x86 || use amd64 ) && use nxclient ) || dobin usr/bin/nxprint
+ ( ( use x86 || use amd64 ) && use nxclient ) || dobin usr/bin/nxclient
+
+ 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
+
+ insinto ${NX_ETC_DIR}
+ doins etc/nxserver/node.conf
+
+ dodir ${NX_HOME_DIR}
+
+ # 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 0700 ${NX_SESS_DIR}/$x
+ done
+
+ #dodir ${NX_HOME_DIR}/.ssh
+ #fperms 0700 ${NX_HOME_DIR}
+ #fperms 0700 ${NX_HOME_DIR}/.ssh
+
+ #cat << EOF >${D}${NX_HOME_DIR}/.ssh/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_HOME_DIR}/.ssh/server.id_dsa.pub.key
+ #cp ${D}${NX_HOME_DIR}/.ssh/server.id_dsa.pub.key ${D}${NX_HOME_DIR}/.ssh/authorized_keys2
+ #fperms 0600 ${NX_HOME_DIR}/.ssh/authorized_keys2
+
+ #echo -n "127.0.0.1" ${D}${NX_HOME_DIR}/.ssh/known_hosts
+
+ #chown -R nx:root ${D}${NX_DIR}
+}
+
+pkg_postinst () {
+ usermod -s /usr/bin/nxserver nx || die "Unable to set login shell of nx user!!"
+}
diff --git a/net-misc/nxserver-freenx/nxserver-freenx-0.5.0.20060311-r1.ebuild b/net-misc/nxserver-freenx/nxserver-freenx-0.5.0.20060311-r1.ebuild
deleted file mode 100644
index 6fe60fc..0000000
--- a/net-misc/nxserver-freenx/nxserver-freenx-0.5.0.20060311-r1.ebuild
+++ /dev/null
@@ -1,127 +0,0 @@
-# Copyright 1999-2006 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.5.0.20060311-r1.ebuild,v 1.1 2006/04/30 19:38:46 stuart Exp $
-
-inherit multilib eutils
-
-DESCRIPTION="An X11/RDP/VNC proxy server especially well suited to low bandwidth links such as wireless, WANS, and worse"
-HOMEPAGE="http://freenx.berlios.de/"
-URI_BASE="http://studwww.ira.uka.de/~s_franz2/freenx"
-SRC_URI="$URI_BASE/freenx-0.5.0-test-2006-03-11-7.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-RESTRICT="nomirror strip"
-IUSE="arts cups esd nxclient"
-DEPEND="virtual/ssh
- dev-tcltk/expect
- sys-apps/gawk
- net-analyzer/gnu-netcat
- x86? ( nxclient? ( =net-misc/nxclient-1.5* )
- !nxclient? ( !net-misc/nxclient ) )
- amd64? ( nxclient? ( =net-misc/nxclient-1.5* )
- !nxclient? ( !net-misc/nxclient ) )
- !x86? ( !amd64? ( !net-misc/nxclient ) )
- || ( =net-misc/nx-x11-1.5*
- =net-misc/nx-x11-bin-1.5* )
- arts? ( kde-base/arts )
- cups? ( net-print/cups )
- esd? ( media-sound/esound )
- !net-misc/nxserver-personal
- !net-misc/nxserver-business
- !net-misc/nxserver-enterprise"
-
-RDEPEND="${DEPEND}"
-
-S=${WORKDIR}/freenx-0.5.0-test-2006-03-11-7
-
-pkg_setup () {
- enewuser nx -1 -1 /usr/NX/home/nx
-}
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- epatch gentoo-nomachine.diff
- epatch $FILESDIR/nxserver-freenx-xorg7.patch
-
- # fix to make sure 32 bit libraries are used by nx-x11 on amd64
- has_multilib_profile && \
- sed -i "/PATH_LIB=/s/lib/$(get_abi_LIBDIR x86)/" nxloadconfig
-
- # Change the defaults in nxloadconfig to meet the users needs.
- if use arts ; then
- einfo "Enabling arts support."
- sed -i '/ENABLE_ARTSD_PRELOAD=/s/"0"/"1"/' nxloadconfig
- sed -i '/ENABLE_ARTSD_PRELOAD=/s/"0"/"1"/' node.conf.sample
- fi
- if use esd ; then
- einfo "Enabling esd support."
- sed -i '/ENABLE_ESD_PRELOAD=/s/"0"/"1"/' nxloadconfig
- sed -i '/ENABLE_ESD_PRELOAD=/s/"0"/"1"/' node.conf.sample
- fi
- if use cups ; then
- einfo "Enabling cups support."
- sed -i '/ENABLE_KDE_CUPS=/s/"0"/"1"/' nxloadconfig
- sed -i '/ENABLE_KDE_CUPS=/s/"0"/"1"/' node.conf.sample
- fi
-}
-
-src_compile() {
- einfo "Nothing to compile"
-}
-
-src_install() {
-
- NX_DIR=/usr/NX
- NX_ETC_DIR=$NX_DIR/etc
- NX_SESS_DIR=$NX_DIR/var/db
- NX_HOME_DIR=$NX_DIR/home/nx
-
- into ${NX_DIR}
- dobin nxserver
- dobin nxnode
- dobin nxnode-login
- dobin nxkeygen
- dobin nxloadconfig
- dobin nxsetup
- ( ( use x86 || use amd64 ) && use nxclient ) || dobin nxprint
- ( ( use x86 || use amd64 ) && use nxclient ) || dobin nxclient
-
- 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
-
- insinto ${NX_ETC_DIR}
- doins node.conf.sample
-
- 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 0700 ${NX_SESS_DIR}/$x
- done
-
- dodir ${NX_HOME_DIR}/.ssh
- fperms 0700 ${NX_HOME_DIR}
- fperms 0700 ${NX_HOME_DIR}/.ssh
-
- cat << EOF >${D}${NX_HOME_DIR}/.ssh/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_HOME_DIR}/.ssh/server.id_dsa.pub.key
- cp ${D}${NX_HOME_DIR}/.ssh/server.id_dsa.pub.key ${D}${NX_HOME_DIR}/.ssh/authorized_keys2
- fperms 0600 ${NX_HOME_DIR}/.ssh/authorized_keys2
-
- echo -n "127.0.0.1" ${D}${NX_HOME_DIR}/.ssh/known_hosts
-
- chown -R nx:root ${D}${NX_DIR}
-}
-
-pkg_postinst () {
- usermod -s /usr/NX/bin/nxserver nx || die "Unable to set login shell of nx user!!"
-
- ewarn "NOTE: The commercial use flag was changed to nxclient."
-}
diff --git a/net-misc/nxserver-freenx/nxserver-freenx-0.5.0.ebuild b/net-misc/nxserver-freenx/nxserver-freenx-0.5.0.ebuild
deleted file mode 100644
index af4a1c9..0000000
--- a/net-misc/nxserver-freenx/nxserver-freenx-0.5.0.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2006 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.5.0.ebuild,v 1.3 2006/03/12 22:04:57 swegener Exp $
-
-inherit eutils
-
-DESCRIPTION="An X11/RDP/VNC proxy server especially well suited to low bandwidth links such as ISDN or modem"
-HOMEPAGE="http://freenx.berlios.de/"
-SRC_URI="http://debian.tu-bs.de/knoppix/nx/lwe-release/FreeNX-0_5_0-LWE.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86"
-RESTRICT="nomirror strip"
-IUSE="commercial"
-DEPEND="virtual/ssh
- dev-tcltk/expect
- net-analyzer/gnu-netcat
- 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.0
- !net-misc/nxserver-personal
- !net-misc/nxserver-business
- !net-misc/nxserver-enterprise"
-
-S=${WORKDIR}/FreeNX-0_5_0-LWE/freenx-server
-
-pkg_setup () {
- enewuser nx -1 -1 /usr/NX/home/nx
-}
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- epatch gentoo-nomachine.diff
-}
-
-src_compile() {
- einfo "Nothing to compile"
-}
-
-src_install() {
-
- NX_DIR=/usr/NX
- NX_ETC_DIR=$NX_DIR/etc
- NX_SESS_DIR=$NX_DIR/var/db
- NX_HOME_DIR=$NX_DIR/home/nx
-
- into ${NX_DIR}
- dobin nxserver
- dobin nxnode
- dobin nxnode-login
- dobin nxkeygen
- dobin nxloadconfig
- dobin nxsetup
- ( use x86 && use commercial ) || dobin nxprint
- ( use x86 && use commercial ) || dobin nxclient
-
- doenvd ${FILESDIR}/50nxserver
-
- 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
-
- insinto ${NX_ETC_DIR}
- doins node.conf.sample
-
- 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 0700 ${NX_SESS_DIR}/$x
- done
-
- dodir ${NX_HOME_DIR}/.ssh
- fperms 0700 ${NX_HOME_DIR}
- fperms 0700 ${NX_HOME_DIR}/.ssh
-
- cat << EOF >${D}${NX_HOME_DIR}/.ssh/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_HOME_DIR}/.ssh/server.id_dsa.pub.key
- cp ${D}${NX_HOME_DIR}/.ssh/server.id_dsa.pub.key ${D}${NX_HOME_DIR}/.ssh/authorized_keys2
- fperms 0600 ${NX_HOME_DIR}/.ssh/authorized_keys2
-
- echo -n "127.0.0.1" ${D}${NX_HOME_DIR}/.ssh/known_hosts
-
- chown -R nx:root ${D}${NX_DIR}
-}
-
-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
-}