summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2015-03-26 17:09:10 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2015-03-26 17:09:10 +0100
commit6f4ac0dccdc732f67c1a393ca26c24c67dcb5f94 (patch)
tree317f2623cf99c87e37008c05da78799dbeecc4d9
parentnxplayer is in portage now (diff)
downloadnx-6f4ac0dccdc732f67c1a393ca26c24c67dcb5f94.tar.gz
nx-6f4ac0dccdc732f67c1a393ca26c24c67dcb5f94.tar.bz2
nx-6f4ac0dccdc732f67c1a393ca26c24c67dcb5f94.zip
Add old NX packages in the overlay
Last rites in progress in main tree, bug #537774
-rw-r--r--app-admin/eselect-nxserver/ChangeLog23
-rw-r--r--app-admin/eselect-nxserver/Manifest4
-rw-r--r--app-admin/eselect-nxserver/eselect-nxserver-0.3.ebuild24
-rw-r--r--app-admin/eselect-nxserver/metadata.xml5
-rw-r--r--metadata/md5-cache/app-admin/eselect-nxserver-0.310
-rw-r--r--metadata/md5-cache/net-misc/neatx-0.3.1_p59-r412
-rw-r--r--metadata/md5-cache/net-misc/nxcl-0.9-r213
-rw-r--r--metadata/md5-cache/net-misc/nxclient-3.5.0.713
-rw-r--r--metadata/md5-cache/net-misc/nxnode-3.5.0.913
-rw-r--r--metadata/md5-cache/net-misc/nxsadmin-0.2.1-r112
-rw-r--r--metadata/md5-cache/net-misc/nxserver-freeedition-3.5.0.11-r113
-rw-r--r--metadata/md5-cache/net-misc/nxserver-freenx-0.7.3_p104-r713
-rw-r--r--metadata/md5-cache/net-misc/qtnx-0.912
-rw-r--r--net-misc/neatx/ChangeLog109
-rw-r--r--net-misc/neatx/Manifest5
-rw-r--r--net-misc/neatx/files/neatx-0.3.1_p59-use_libexecdir.patch90
-rw-r--r--net-misc/neatx/metadata.xml6
-rw-r--r--net-misc/neatx/neatx-0.3.1_p59-r4.ebuild149
-rw-r--r--net-misc/nxcl/ChangeLog55
-rw-r--r--net-misc/nxcl/Manifest7
-rw-r--r--net-misc/nxcl/files/nxcl-0.9-gcc43.patch37
-rw-r--r--net-misc/nxcl/files/nxcl-0.9-gcc47.patch10
-rw-r--r--net-misc/nxcl/files/nxcl-0.9-no_nxssh.patch372
-rw-r--r--net-misc/nxcl/metadata.xml9
-rw-r--r--net-misc/nxcl/nxcl-0.9-r2.ebuild47
-rw-r--r--net-misc/nxclient/ChangeLog448
-rw-r--r--net-misc/nxclient/Manifest5
-rw-r--r--net-misc/nxclient/metadata.xml9
-rw-r--r--net-misc/nxclient/nxclient-3.5.0.7.ebuild71
-rw-r--r--net-misc/nxnode/ChangeLog339
-rw-r--r--net-misc/nxnode/Manifest8
-rw-r--r--net-misc/nxnode/files/nxnode-3.0.0-init68
-rw-r--r--net-misc/nxnode/files/nxnode-3.4.0-cups_path.patch12
-rw-r--r--net-misc/nxnode/files/nxnode-3.4.0-setup.patch61
-rw-r--r--net-misc/nxnode/metadata.xml6
-rw-r--r--net-misc/nxnode/nxnode-3.5.0.9.ebuild104
-rw-r--r--net-misc/nxsadmin/ChangeLog22
-rw-r--r--net-misc/nxsadmin/Manifest4
-rw-r--r--net-misc/nxsadmin/metadata.xml10
-rw-r--r--net-misc/nxsadmin/nxsadmin-0.2.1-r1.ebuild30
-rw-r--r--net-misc/nxserver-freeedition/ChangeLog346
-rw-r--r--net-misc/nxserver-freeedition/Manifest8
-rw-r--r--net-misc/nxserver-freeedition/files/nxserver-2.1.0-init31
-rw-r--r--net-misc/nxserver-freeedition/files/nxserver-3.3.0-dontupdatekeys.patch11
-rw-r--r--net-misc/nxserver-freeedition/files/nxserver-3.5.0.11-setup.patch79
-rw-r--r--net-misc/nxserver-freeedition/metadata.xml7
-rw-r--r--net-misc/nxserver-freeedition/nxserver-freeedition-3.5.0.11-r1.ebuild97
-rw-r--r--net-misc/nxserver-freenx/ChangeLog525
-rw-r--r--net-misc/nxserver-freenx/Manifest13
-rw-r--r--net-misc/nxserver-freenx/files/nxserver-freenx-0.7.2-cups.patch33
-rw-r--r--net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3_p102-cflags.patch33
-rw-r--r--net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3_p104-jobserver_fix.patch12
-rw-r--r--net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3_p104-md5sum.patch24
-rw-r--r--net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3_p104-nxloadconfig.patch47
-rw-r--r--net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3_p104-nxnode_setup_samba.patch106
-rw-r--r--net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3_p104-pam_ssh.patch10
-rw-r--r--net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3_p104-r7-QA-fixes.patch40
-rw-r--r--net-misc/nxserver-freenx/files/nxserver.init24
-rw-r--r--net-misc/nxserver-freenx/metadata.xml12
-rw-r--r--net-misc/nxserver-freenx/nxserver-freenx-0.7.3_p104-r7.ebuild130
-rw-r--r--net-misc/qtnx/ChangeLog30
-rw-r--r--net-misc/qtnx/Manifest4
-rw-r--r--net-misc/qtnx/metadata.xml6
-rw-r--r--net-misc/qtnx/qtnx-0.9.ebuild36
64 files changed, 3924 insertions, 0 deletions
diff --git a/app-admin/eselect-nxserver/ChangeLog b/app-admin/eselect-nxserver/ChangeLog
new file mode 100644
index 0000000..510bf15
--- /dev/null
+++ b/app-admin/eselect-nxserver/ChangeLog
@@ -0,0 +1,23 @@
+# ChangeLog for app-admin/eselect-nxserver
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-nxserver/ChangeLog,v 1.3 2012/08/23 12:43:03 voyageur Exp $
+
+*eselect-nxserver-0.3 (23 Aug 2012)
+
+ 23 Aug 2012; Bernard Cafarelli <voyageur@gentoo.org>
+ -eselect-nxserver-0.1.ebuild, +eselect-nxserver-0.3.ebuild:
+ Depend on new path for neatx, block older versions
+
+*eselect-nxserver-0.2 (07 Nov 2009)
+
+ 07 Nov 2009; Bernard Cafarelli <voyageur@gentoo.org>
+ +eselect-nxserver-0.2.ebuild:
+ Add brief output mode, bug #292108
+
+*eselect-nxserver-0.1 (08 Oct 2009)
+
+ 08 Oct 2009; Bernard Cafarelli <voyageur@gentoo.org>
+ +eselect-nxserver-0.1.ebuild, +metadata.xml:
+ Add module to easily switch between multiple installed NX servers through
+ eselect
+
diff --git a/app-admin/eselect-nxserver/Manifest b/app-admin/eselect-nxserver/Manifest
new file mode 100644
index 0000000..f3b491c
--- /dev/null
+++ b/app-admin/eselect-nxserver/Manifest
@@ -0,0 +1,4 @@
+DIST nxserver.eselect-0.3.bz2 1283 SHA256 c318946b0f196e47005996901e5dec28b9b446ee0154fd6aaa3f8422d4ed2217 SHA512 c392481643cbcb81971568157c3692f2a2a802fbd4cd0aadc6371e9bced29c077c14c480f3e2cd2052927414b3092d44d5d71a665aa6f4ae8ad9cb81648da768 WHIRLPOOL 1b9b551c9a9bb03d5a3bed4cdf3824da3056f1200e2fac6ddf0eea2f04d27712a23f6fd005f87561ee51dc771698ebcd564a3a742cccfab4f42dea3d8e64e463
+EBUILD eselect-nxserver-0.3.ebuild 670 SHA256 a7080628f3a2bb9cb9f7e86de86b6f1055a7adef7dbc40c2b74b696d925ad846 SHA512 4e4912d77923471d1f02632f045cc3dbcd57d894d5f86ddbe0a5cb711c72858ca804b2b925bf22f7bf420e5fa10f13281c211e6e0f516f5438d62183fbe2d840 WHIRLPOOL 38f02ff12cf77a7c7af2cc49d4bff1872328a23a589f0f7661e2e895b0fb99cf203f905cc563eaac6cae7e679dd22ac834ce43bcd17d37c3f77705d0c29ad917
+MISC ChangeLog 823 SHA256 d927b8b03777835da38b604b1683ef2bdbcc0840fa099b985c386f7db5a4736a SHA512 c7a2ef51615a07d3e0e385ec0c8b4e9e5a721659cd29fe2619667de4632a6ce12ad794b7110a715481b50313efbd4c785959f948096b771a4579734dbab3ce8f WHIRLPOOL 539c17b43447924131c30a6aaeb8e1b8f6365f8407f444b633dce63de5e3f85d72ba1984288a6bb04371ca85405675d0c8b6e2c25dd0f9121926e8400f2a607d
+MISC metadata.xml 156 SHA256 b9c2301297e0f8c82d38056e5925edc98e9da6edb15f47835a73ee0b987c6396 SHA512 b307f542d495482a88f8e7f6cca017dad2a0741b6066beccdc1b9acfa13cb7578e19d9e3495955414561fb205233ffcdb895dd6927285d31a4d033d486b8846c WHIRLPOOL aa347bda8ef66b979c0b56d18cd132b814c48bcdf275e3703af5aada4d894d417a21212aa011f3580b60dd47fb5cc6957ecd33e453513c3f155cd39f5ae7c28f
diff --git a/app-admin/eselect-nxserver/eselect-nxserver-0.3.ebuild b/app-admin/eselect-nxserver/eselect-nxserver-0.3.ebuild
new file mode 100644
index 0000000..89aa2ae
--- /dev/null
+++ b/app-admin/eselect-nxserver/eselect-nxserver-0.3.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-nxserver/eselect-nxserver-0.3.ebuild,v 1.1 2012/08/23 12:43:03 voyageur Exp $
+
+EAPI=4
+
+DESCRIPTION="Manages configuration of NX servers"
+HOMEPAGE="http://www.gentoo.org/proj/en/eselect/"
+SRC_URI="http://dev.gentoo.org/~voyageur/distfiles/nxserver.eselect-${PVR}.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=app-admin/eselect-1.2.3
+ !<net-misc/neatx-0.3.1_p59-r4"
+
+S=${WORKDIR}
+
+src_install() {
+ insinto /usr/share/eselect/modules
+ newins nxserver.eselect-${PVR} nxserver.eselect
+}
diff --git a/app-admin/eselect-nxserver/metadata.xml b/app-admin/eselect-nxserver/metadata.xml
new file mode 100644
index 0000000..60699f6
--- /dev/null
+++ b/app-admin/eselect-nxserver/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>nx</herd>
+</pkgmetadata>
diff --git a/metadata/md5-cache/app-admin/eselect-nxserver-0.3 b/metadata/md5-cache/app-admin/eselect-nxserver-0.3
new file mode 100644
index 0000000..7f096f9
--- /dev/null
+++ b/metadata/md5-cache/app-admin/eselect-nxserver-0.3
@@ -0,0 +1,10 @@
+DEFINED_PHASES=install
+DESCRIPTION=Manages configuration of NX servers
+EAPI=4
+HOMEPAGE=http://www.gentoo.org/proj/en/eselect/
+KEYWORDS=~amd64 ~x86
+LICENSE=GPL-2
+RDEPEND=>=app-admin/eselect-1.2.3 !<net-misc/neatx-0.3.1_p59-r4
+SLOT=0
+SRC_URI=http://dev.gentoo.org/~voyageur/distfiles/nxserver.eselect-0.3.bz2
+_md5_=ea71d37719f801f298f01b6cef55ac5e
diff --git a/metadata/md5-cache/net-misc/neatx-0.3.1_p59-r4 b/metadata/md5-cache/net-misc/neatx-0.3.1_p59-r4
new file mode 100644
index 0000000..cc744d4
--- /dev/null
+++ b/metadata/md5-cache/net-misc/neatx-0.3.1_p59-r4
@@ -0,0 +1,12 @@
+DEFINED_PHASES=compile install postinst postrm preinst prepare setup
+DEPEND=dev-python/docutils !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 =dev-lang/python-2*
+DESCRIPTION=Google implementation of NX server
+EAPI=4
+HOMEPAGE=http://code.google.com/p/neatx/
+KEYWORDS=amd64 ~ppc x86
+LICENSE=GPL-2
+RDEPEND=dev-python/pexpect dev-python/simplejson >=dev-python/pygtk-2.14 >=dev-python/pygobject-2.14:2 app-portage/portage-utils media-fonts/font-misc-misc media-fonts/font-cursor-misc || ( net-analyzer/gnu-netcat net-analyzer/netcat net-analyzer/netcat6 ) net-misc/nx =dev-lang/python-2*
+SLOT=0
+SRC_URI=http://dev.gentoo.org/~voyageur/distfiles/neatx-0.3.1_p59.tar.bz2
+_eclasses_=autotools 999c8f6cf5d91495cb0779588f20716c eutils 9fb270e417e0e83d64ca52586c4a79de libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf python cd022f89fef846d083fc994b9e3d8c04 toolchain-funcs b99aa37f734b5d426efd83b2f271cece user f54e098dd38ba1c0847a13e685b87747
+_md5_=103e831a3c42ebf9ec95a68296214dc6
diff --git a/metadata/md5-cache/net-misc/nxcl-0.9-r2 b/metadata/md5-cache/net-misc/nxcl-0.9-r2
new file mode 100644
index 0000000..ce49a0c
--- /dev/null
+++ b/metadata/md5-cache/net-misc/nxcl-0.9-r2
@@ -0,0 +1,13 @@
+DEFINED_PHASES=configure install prepare
+DEPEND=>=net-misc/nx-3.2.0-r5 dbus? ( sys-apps/dbus ) nxclient? ( net-misc/nxclient ) doc? ( app-doc/doxygen ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
+DESCRIPTION=A library for building NX clients
+EAPI=4
+HOMEPAGE=http://developer.berlios.de/projects/freenx/
+IUSE=dbus doc nxclient
+KEYWORDS=amd64 x86
+LICENSE=GPL-2
+RDEPEND=>=net-misc/nx-3.2.0-r5 dbus? ( sys-apps/dbus ) nxclient? ( net-misc/nxclient )
+SLOT=0
+SRC_URI=http://dev.gentoo.org/~voyageur/distfiles/freenx-client-0.9.tar.bz2
+_eclasses_=autotools 999c8f6cf5d91495cb0779588f20716c eutils 9fb270e417e0e83d64ca52586c4a79de libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs b99aa37f734b5d426efd83b2f271cece
+_md5_=0c05afbfe591f7406495b675bf4d4cde
diff --git a/metadata/md5-cache/net-misc/nxclient-3.5.0.7 b/metadata/md5-cache/net-misc/nxclient-3.5.0.7
new file mode 100644
index 0000000..c3ba24a
--- /dev/null
+++ b/metadata/md5-cache/net-misc/nxclient-3.5.0.7
@@ -0,0 +1,13 @@
+DEFINED_PHASES=install
+DESCRIPTION=X11/VNC/NXServer client (remote desktops over low-bandwidth links)
+EAPI=2
+HOMEPAGE=http://www.nomachine.com/
+IUSE=cups
+KEYWORDS=-* amd64 x86
+LICENSE=nomachine
+RDEPEND=dev-libs/expat =dev-libs/openssl-0.9.8* media-libs/audiofile || ( virtual/jpeg:62 media-libs/jpeg:62 ) =media-libs/libpng-1.2* media-libs/freetype media-libs/fontconfig cups? ( net-print/cups ) x11-libs/libXft x11-libs/libX11 x11-libs/libXdmcp x11-libs/libXrender x11-libs/libXau x11-libs/libXext sys-libs/zlib
+RESTRICT=strip
+SLOT=0
+SRC_URI=amd64? ( http://download.nomachine.com/download/3.5.0/Linux/nxclient-3.5.0-7.x86_64.tar.gz ) x86? ( http://download.nomachine.com/download/3.5.0/Linux/nxclient-3.5.0-7.i386.tar.gz )
+_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs b99aa37f734b5d426efd83b2f271cece versionator cd0bcdb170807e4a1984115e9d53a26f
+_md5_=b59c68603f5be72cccb15dab93f96a90
diff --git a/metadata/md5-cache/net-misc/nxnode-3.5.0.9 b/metadata/md5-cache/net-misc/nxnode-3.5.0.9
new file mode 100644
index 0000000..3cc319b
--- /dev/null
+++ b/metadata/md5-cache/net-misc/nxnode-3.5.0.9
@@ -0,0 +1,13 @@
+DEFINED_PHASES=install postinst preinst prepare
+DESCRIPTION=shared components between the different editions of NoMachine's NX Servers
+EAPI=4
+HOMEPAGE=http://www.nomachine.com/
+IUSE=rdesktop vnc
+KEYWORDS=-* amd64 x86
+LICENSE=nomachine GPL-2
+RDEPEND==net-misc/nxclient-3.5.0*[cups] sys-process/lsof x11-libs/libICE x11-libs/libXmu x11-libs/libSM x11-libs/libXt x11-libs/libXaw x11-libs/libXpm x11-apps/xrdb rdesktop? ( net-misc/rdesktop ) vnc? ( x11-misc/x11vnc net-misc/tightvnc )
+RESTRICT=strip
+SLOT=0
+SRC_URI=amd64? ( http://download.nomachine.com/download/3.5.0/Linux/nxnode-3.5.0-9.x86_64.tar.gz ) x86? ( http://download.nomachine.com/download/3.5.0/Linux/nxnode-3.5.0-9.i386.tar.gz )
+_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs b99aa37f734b5d426efd83b2f271cece user f54e098dd38ba1c0847a13e685b87747 versionator cd0bcdb170807e4a1984115e9d53a26f
+_md5_=83812ceac58294e2a6e1d219a868c1e9
diff --git a/metadata/md5-cache/net-misc/nxsadmin-0.2.1-r1 b/metadata/md5-cache/net-misc/nxsadmin-0.2.1-r1
new file mode 100644
index 0000000..bbd7474
--- /dev/null
+++ b/metadata/md5-cache/net-misc/nxsadmin-0.2.1-r1
@@ -0,0 +1,12 @@
+DEFINED_PHASES=install prepare
+DEPEND=dev-cpp/gtkmm:2.4 dev-util/intltool !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
+DESCRIPTION=graphical tool for management of active NX sessions on FreeNX server
+EAPI=5
+HOMEPAGE=http://sourceforge.net/projects/nxsadmin.berlios/
+KEYWORDS=~amd64 ~x86
+LICENSE=GPL-2
+RDEPEND=dev-cpp/gtkmm:2.4 net-misc/nxserver-freenx
+SLOT=0
+SRC_URI=mirror://sourceforge/nxsadmin.berlios/nxsadmin-0.2.1.tar.gz
+_eclasses_=autotools 999c8f6cf5d91495cb0779588f20716c libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs b99aa37f734b5d426efd83b2f271cece
+_md5_=f5554cf4a549535c5200230e76806e6d
diff --git a/metadata/md5-cache/net-misc/nxserver-freeedition-3.5.0.11-r1 b/metadata/md5-cache/net-misc/nxserver-freeedition-3.5.0.11-r1
new file mode 100644
index 0000000..9ed00b5
--- /dev/null
+++ b/metadata/md5-cache/net-misc/nxserver-freeedition-3.5.0.11-r1
@@ -0,0 +1,13 @@
+DEFINED_PHASES=install postinst preinst prepare
+DEPEND==net-misc/nxnode-3.5.0*
+DESCRIPTION=Free edition NX server from NoMachine
+EAPI=4
+HOMEPAGE=http://www.nomachine.com/
+KEYWORDS=-* amd64 x86
+LICENSE=nomachine GPL-2
+RDEPEND==net-misc/nxnode-3.5.0* media-fonts/font-misc-misc media-fonts/font-cursor-misc x11-apps/xauth x11-apps/xhost
+RESTRICT=strip
+SLOT=0
+SRC_URI=amd64? ( http://download.nomachine.com/download/3.5.0/Linux/FE/nxserver-3.5.0-11.x86_64.tar.gz ) x86? ( http://download.nomachine.com/download/3.5.0/Linux/FE/nxserver-3.5.0-11.i386.tar.gz )
+_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs b99aa37f734b5d426efd83b2f271cece user f54e098dd38ba1c0847a13e685b87747 versionator cd0bcdb170807e4a1984115e9d53a26f
+_md5_=66606d2d1d9cba1a3409d3b698ecff28
diff --git a/metadata/md5-cache/net-misc/nxserver-freenx-0.7.3_p104-r7 b/metadata/md5-cache/net-misc/nxserver-freenx-0.7.3_p104-r7
new file mode 100644
index 0000000..74bf17c
--- /dev/null
+++ b/metadata/md5-cache/net-misc/nxserver-freenx-0.7.3_p104-r7
@@ -0,0 +1,13 @@
+DEFINED_PHASES=compile install postinst prepare setup
+DEPEND=x11-misc/gccmakedep x11-misc/imake
+DESCRIPTION=Free Software Implementation of the NX Server
+EAPI=5
+HOMEPAGE=https://launchpad.net/~freenx-team
+IUSE=+nxclient rdesktop vnc
+KEYWORDS=amd64 x86
+LICENSE=GPL-2
+RDEPEND=dev-tcltk/expect media-fonts/font-cursor-misc media-fonts/font-misc-misc net-analyzer/gnu-netcat >=net-misc/nx-2.1.0 x11-apps/xauth x11-apps/xrdb x11-apps/sessreg virtual/awk virtual/ssh nxclient? ( net-misc/nxclient ) !nxclient? ( !net-misc/nxclient || ( x11-misc/xdialog x11-apps/xmessage ) ) rdesktop? ( net-misc/rdesktop ) vnc? ( x11-misc/x11vnc net-misc/tightvnc )
+SLOT=0
+SRC_URI=http://ppa.launchpad.net/freenx-team/ppa/ubuntu/pool/main/f/freenx-server/freenx-server_0.7.3+teambzr104.orig.tar.gz
+_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs b99aa37f734b5d426efd83b2f271cece user f54e098dd38ba1c0847a13e685b87747 versionator cd0bcdb170807e4a1984115e9d53a26f
+_md5_=c1eb0b5e363498fd3f78b4da59d2a413
diff --git a/metadata/md5-cache/net-misc/qtnx-0.9 b/metadata/md5-cache/net-misc/qtnx-0.9
new file mode 100644
index 0000000..54b35d8
--- /dev/null
+++ b/metadata/md5-cache/net-misc/qtnx-0.9
@@ -0,0 +1,12 @@
+DEFINED_PHASES=compile configure install prepare unpack
+DEPEND=net-misc/nxcl dev-qt/qtcore:4 dev-qt/qtgui:4
+DESCRIPTION=A Qt-based NX client using nxcl
+EAPI=4
+HOMEPAGE=http://developer.berlios.de/projects/freenx/
+KEYWORDS=amd64 x86
+LICENSE=GPL-2
+RDEPEND=net-misc/nxcl dev-qt/qtcore:4 dev-qt/qtgui:4
+SLOT=0
+SRC_URI=http://dev.gentoo.org/~voyageur/distfiles/freenx-client-0.9.tar.bz2
+_eclasses_=base 87f7447ccfc06fd0729ff4684e11e0d6 eutils 9fb270e417e0e83d64ca52586c4a79de multilib 3bf24e6abb9b76d9f6c20600f0b716bf qmake-utils ea709b525d28e3087eddedb2f884dbbe qt4-r2 7199e3db5b5908325487d379c6f67cf0 toolchain-funcs b99aa37f734b5d426efd83b2f271cece
+_md5_=ea26d8ab898e0f5543419f0486755601
diff --git a/net-misc/neatx/ChangeLog b/net-misc/neatx/ChangeLog
new file mode 100644
index 0000000..5ad06b6
--- /dev/null
+++ b/net-misc/neatx/ChangeLog
@@ -0,0 +1,109 @@
+# ChangeLog for net-misc/neatx
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/neatx/ChangeLog,v 1.22 2013/01/30 18:07:25 ago Exp $
+
+ 30 Jan 2013; Agostino Sarubbo <ago@gentoo.org> neatx-0.3.1_p59-r4.ebuild:
+ Stable for x86, wrt bug #441628
+
+ 18 Dec 2012; Bernard Cafarelli <voyageur@gentoo.org>
+ neatx-0.3.1_p59-r1.ebuild, -neatx-0.3.1_p59-r2.ebuild,
+ neatx-0.3.1_p59-r4.ebuild:
+ Drop -Werror, spotted by ago in bug #447374
+
+ 16 Dec 2012; Agostino Sarubbo <ago@gentoo.org> neatx-0.3.1_p59-r4.ebuild:
+ Stable for amd64, wrt bug #441628
+
+*neatx-0.3.1_p59-r4 (23 Aug 2012)
+
+ 23 Aug 2012; Bernard Cafarelli <voyageur@gentoo.org>
+ -neatx-0.3.1_p59-r3.ebuild, +neatx-0.3.1_p59-r4.ebuild,
+ files/neatx-0.3.1_p59-use_libexecdir.patch:
+ Fix missing parts for libexecdir migration, thanks Damien Granger in bug
+ #432274
+
+*neatx-0.3.1_p59-r3 (21 Aug 2012)
+
+ 21 Aug 2012; Bernard Cafarelli <voyageur@gentoo.org>
+ neatx-0.3.1_p59-r1.ebuild, neatx-0.3.1_p59-r2.ebuild,
+ +neatx-0.3.1_p59-r3.ebuild, +files/neatx-0.3.1_p59-use_libexecdir.patch:
+ Use libexecdir instead of libdir (error in newer automake), bug #428626.
+ Inherit user eclass
+
+ 05 Feb 2012; Mike Gilbert <floppym@gentoo.org> neatx-0.3.1_p59-r1.ebuild,
+ neatx-0.3.1_p59-r2.ebuild:
+ Inherit multilib.
+
+ 24 Oct 2011; Alexandre Rostovtsev <tetromino@gentoo.org>
+ neatx-0.3.1_p59-r1.ebuild, neatx-0.3.1_p59-r2.ebuild:
+ Depend on correct slot of pygobject.
+
+ 30 Jun 2011; Brent Baude <ranger@gentoo.org> neatx-0.3.1_p59-r2.ebuild:
+ Marking neatx-0.3.1_p59-r2 ~ppc for bug 344043
+
+ 05 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ neatx-0.3.1_p59-r1.ebuild, neatx-0.3.1_p59-r2.ebuild:
+ Don't use distutils.eclass. Don't install .pyc / .pyo files in Python
+ site-packages directories.
+
+ 05 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ neatx-0.3.1_p59-r1.ebuild, neatx-0.3.1_p59-r2.ebuild:
+ Fix deprecation warnings.
+
+*neatx-0.3.1_p59-r2 (14 Mar 2011)
+
+ 14 Mar 2011; S. Lockwood-Childs <wormo@gentoo.org>
+ +neatx-0.3.1_p59-r2.ebuild:
+ Protect custom $NX_HOME_DIR/.ssh/authorized_keys from being clobbered
+ by an upgrade/reinstall (bug #339366)
+
+ 05 Oct 2010; Markus Meier <maekke@gentoo.org> neatx-0.3.1_p59-r1.ebuild:
+ x86 stable, bug #336646
+
+ 16 Sep 2010; Richard Freeman <rich0@gentoo.org> neatx-0.3.1_p59-r1.ebuild:
+ amd64 stable - 336646
+
+*neatx-0.3.1_p59-r1 (26 Apr 2010)
+
+ 26 Apr 2010; Bernard Cafarelli <voyageur@gentoo.org>
+ +neatx-0.3.1_p59-r1.ebuild:
+ python-related enhancements, see bug #315833 for details
+
+*neatx-0.3.1_p59 (07 Apr 2010)
+
+ 07 Apr 2010; Bernard Cafarelli <voyageur@gentoo.org>
+ -neatx-0.3.1_p43-r2.ebuild, +neatx-0.3.1_p59.ebuild:
+ Version bump, bug #308737
+
+*neatx-0.3.1_p43-r2 (05 Jan 2010)
+
+ 05 Jan 2010; Bernard Cafarelli <voyageur@gentoo.org>
+ +neatx-0.3.1_p43-r2.ebuild:
+ Fix documentation install path, bug #297971
+
+ 25 Nov 2009; Markus Meier <maekke@gentoo.org> neatx-0.3.1_p43-r1.ebuild:
+ x86 stable, bug #291619
+
+ 10 Nov 2009; Richard Freeman <rich0@gentoo.org> neatx-0.3.1_p43-r1.ebuild:
+ amd64 stable - 291619
+
+ 30 Sep 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+ neatx-0.3.1_p43-r1.ebuild:
+ Fix typo in RDEPEND, thanks to Tim Harder in bug #286903.
+
+ 19 Sep 2009; Bernard Cafarelli <voyageur@gentoo.org>
+ neatx-0.3.1_p43-r1.ebuild:
+ Allow netcat6 too (with nc_path pointing to nc6), bug #285358
+
+*neatx-0.3.1_p43-r1 (15 Sep 2009)
+
+ 15 Sep 2009; Bernard Cafarelli <voyageur@gentoo.org>
+ -neatx-0.3.1_p43.ebuild, +neatx-0.3.1_p43-r1.ebuild:
+ Revision bump to fix a few things: neatx.conf default options,
+ netcat/gnu-netcat support, fix python objects precompilation. Thanks to
+ calchan for review and pointers
+
+*neatx-0.3.1_p43 (09 Sep 2009)
+
+ 09 Sep 2009; Bernard Cafarelli <voyageur@gentoo.org>
+ +neatx-0.3.1_p43.ebuild, +metadata.xml:
+ Initial commit from the NX overlay, ebuild by ikelos and me
diff --git a/net-misc/neatx/Manifest b/net-misc/neatx/Manifest
new file mode 100644
index 0000000..29fe3ac
--- /dev/null
+++ b/net-misc/neatx/Manifest
@@ -0,0 +1,5 @@
+AUX neatx-0.3.1_p59-use_libexecdir.patch 3098 SHA256 173bcf9f668ffc79d5e1feac9873dfb31a0e965be402c669b8add39c4bbfa881 SHA512 81d48ad92ff8d77b9483e38991e94194f72b01412fcff65d318417da201d775960c932c857bd5041a8742eafd71645afc54e4c4209bc663e8f9addc6924d80a6 WHIRLPOOL 9fd94db8de7dc14f73be366de7912c6cbbd52a1ed7a12dbeecafb5c278c14d1138659ebf1c5717776f2b9496f96c4d00dc6a69dbbe2ce30ef3db40efe0ba50a1
+DIST neatx-0.3.1_p59.tar.bz2 77036 SHA256 ed4eea8395ae884c9e4b206cbed0f54c4c7f4138ed608c7f6ad52c56b496e77d SHA512 62c81bbcba9ba3bdec6cd7660cf9ea431c15a700b091c3682a0d6f85b12cc22a9f730a4f57ba89ff6fda32b3502c130a5e857cb7d33c69e686dd5536247e4d9a WHIRLPOOL 5c0dfc6773fb13746c194134b269dce32e641f8716e7257824854535b366bb3dbc2c19099950b80339316ae541caabf84017d01ecafda7b86b10bd53103969e3
+EBUILD neatx-0.3.1_p59-r4.ebuild 4183 SHA256 1ec53f157c27f55d75ae37f9043f9cfe232a262d5a6967cc7564a6df1f83e545 SHA512 d4a5bc3770f70223b75900347abab3dedb83264e4cab1ccc1529ed993cf43e3ab5c24aa2aa9c7fdd4176e5c6b3a55d7911ab8a7b825b299d430a5060999e2e96 WHIRLPOOL c015a2590d706dac3f1ea28f68daca0837c2543e0ff6fd3d82bc5099d1ac85a488b6640d35c8499fa3c77a26deed023a86342bc61e265179d87b562d12fe07d7
+MISC ChangeLog 3966 SHA256 1e69e16b1a35de19c86dd2b9432d5a907e294d6532140ad60386bc05440801a4 SHA512 91d631b0b5f958b4b1a109c2706b7aee26872b8b6edbb9fe0ab5c4362daa4313f3413b424515950c6a9175d2bcd7fcf6800de5d8a9fb59a7ef4ad4bd0f412e89 WHIRLPOOL 0afa010fb6a0818888ac306339c02e86eca7a26012a1221413253c77227b01dc89b15e83985e44aa4558e54bb38eaf194befc62f3b48b07e590d591b9070092a
+MISC metadata.xml 334 SHA256 499f67f73f4048db1c41db8e934a720dd9cdc00b6a7a48bb774993ff40eb8d8a SHA512 03cf65aeb88cf3debdea302820a60a34b356a0da678b402393408890d8ca9db1c485a6860794c2c325807d195e556a099d311a4029a3b35981855badc17c6ec9 WHIRLPOOL 238cf0971bed408f5a66ff98fb5787d30b406478b1ba5be6884e5a489018e0897b0261a4c6fd33d070f81a025f2d3a2ce9ebb48117477eb69440a787f50b564a
diff --git a/net-misc/neatx/files/neatx-0.3.1_p59-use_libexecdir.patch b/net-misc/neatx/files/neatx-0.3.1_p59-use_libexecdir.patch
new file mode 100644
index 0000000..c481048
--- /dev/null
+++ b/net-misc/neatx/files/neatx-0.3.1_p59-use_libexecdir.patch
@@ -0,0 +1,90 @@
+diff -Naur neatx.orig/Makefile.am neatx/Makefile.am
+--- neatx.orig/Makefile.am 2012-08-23 12:01:14.290018757 +0200
++++ neatx/Makefile.am 2012-08-23 14:16:42.119497905 +0200
+@@ -16,7 +16,7 @@
+ appdir = $(pkgpythondir)/app
+ docdir = $(datadir)/doc/$(PACKAGE)
+
+-AM_CFLAGS = -Wall -Werror -DPKGLIBDIR=\"$(pkglibdir)\"
++AM_CFLAGS = -Wall -Werror -DPKGLIBEXECDIR=\"$(pkglibexecdir)\"
+
+ DIRS = \
+ autotools \
+@@ -70,14 +70,14 @@
+ lib/app/nxserver.py \
+ lib/app/nxserver_login.py
+
+-dist_pkglib_SCRIPTS = \
++dist_pkglibexec_SCRIPTS = \
+ src/ttysetup
+
+-nodist_pkglib_SCRIPTS = \
++nodist_pkglibexec_SCRIPTS = \
+ $(LOG_WRAPPER) \
+ $(PYTHON_BOOTSTRAP)
+
+-pkglib_PROGRAMS = \
++pkglibexec_PROGRAMS = \
+ src/fdcopy
+
+ dist_pkgdata_DATA = \
+@@ -173,7 +173,7 @@
+ echo "VERSION_FULL = '$(VERSION_FULL)'"; \
+ echo "LOCALSTATEDIR = '$(localstatedir)'"; \
+ echo "SYSCONFDIR = '$(sysconfdir)'"; \
+- echo "PKGLIBDIR = '$(pkglibdir)'"; \
++ echo "PKGLIBEXECDIR = '$(pkglibexecdir)'"; \
+ } > $@
+
+ $(REPLACE_VARS_SED): Makefile stamp-directories
+@@ -182,7 +182,7 @@
+ echo 's#@SYSCONFDIR@#$(sysconfdir)#g'; \
+ echo 's#@LOCALSTATEDIR@#$(localstatedir)#g'; \
+ echo 's#@SBINDIR@#$(sbindir)#g'; \
+- echo 's#@PKGLIBDIR@#$(pkglibdir)#g'; \
++ echo 's#@PKGLIBEXECDIR@#$(pkglibexecdir)#g'; \
+ echo 's#@PKGPYTHONDIR@#$(pkgpythondir)#g'; \
+ } > $@
+
+@@ -199,14 +199,14 @@
+ $(LOG_WRAPPER): Makefile stamp-directories $(GEN_LOG_WRAPPER)
+ set -e; \
+ progname=`basename $@ | sed -e 's/-wrapper//'`; \
+- $(GEN_LOG_WRAPPER) "$(pkglibdir)/$$progname" "$(DESTDIR)$(pythondir)" > $@ || rm -f $@
++ $(GEN_LOG_WRAPPER) "$(pkglibexecdir)/$$progname" "$(DESTDIR)$(pythondir)" > $@ || rm -f $@
+ chmod u+x $@
+
+ # We need to create symlinks because "make distcheck" will not install Python
+ # files when building.
+ srclinks: stamp-directories
+ set -e; \
+- for i in $(pkgpython_PYTHON) $(app_PYTHON) $(dist_pkglib_SCRIPTS); do \
++ for i in $(pkgpython_PYTHON) $(app_PYTHON) $(dist_pkglibexec_SCRIPTS); do \
+ if test ! -f $$i -a -f $(abs_top_srcdir)/$$i; then \
+ $(LN_S) $(abs_top_srcdir)/$$i $$i; \
+ fi; \
+diff -Naur neatx.orig/lib/constants.py neatx/lib/constants.py
+--- neatx.orig/lib/constants.py 2012-08-23 12:01:14.290018757 +0200
++++ neatx/lib/constants.py 2012-08-23 12:01:23.405734335 +0200
+@@ -40,14 +40,14 @@
+ START_GNOME_COMMAND = "gnome-session"
+
+ NXUSER = "nx"
+-NXSERVER = _autoconf.PKGLIBDIR + "/nxserver"
+-NXNODE = _autoconf.PKGLIBDIR + "/nxnode"
+-NXNODE_WRAPPER = _autoconf.PKGLIBDIR + "/nxnode-wrapper"
+-NXNC = _autoconf.PKGLIBDIR + "/nxnc"
+-NXDIALOG = _autoconf.PKGLIBDIR + "/nxdialog"
++NXSERVER = _autoconf.PKGLIBEXECDIR + "/nxserver"
++NXNODE = _autoconf.PKGLIBEXECDIR + "/nxnode"
++NXNODE_WRAPPER = _autoconf.PKGLIBEXECDIR + "/nxnode-wrapper"
++NXNC = _autoconf.PKGLIBEXECDIR + "/nxnc"
++NXDIALOG = _autoconf.PKGLIBEXECDIR + "/nxdialog"
+ NXAGENT_PKGNAME = "nxagent"
+-FDCOPY = _autoconf.PKGLIBDIR + "/fdcopy"
+-TTYSETUP = _autoconf.PKGLIBDIR + "/ttysetup"
++FDCOPY = _autoconf.PKGLIBEXECDIR + "/fdcopy"
++TTYSETUP = _autoconf.PKGLIBEXECDIR + "/ttysetup"
+
+ NXAGENT_VERSION_SEP = ".-~"
+
diff --git a/net-misc/neatx/metadata.xml b/net-misc/neatx/metadata.xml
new file mode 100644
index 0000000..18f1f87
--- /dev/null
+++ b/net-misc/neatx/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>nx</herd>
+ <longdescription>Neatx is an Open Source NX server, similar to the commercial NX server from NoMachine, originally developed by Google for an internal project</longdescription>
+</pkgmetadata>
diff --git a/net-misc/neatx/neatx-0.3.1_p59-r4.ebuild b/net-misc/neatx/neatx-0.3.1_p59-r4.ebuild
new file mode 100644
index 0000000..19d2ae3
--- /dev/null
+++ b/net-misc/neatx/neatx-0.3.1_p59-r4.ebuild
@@ -0,0 +1,149 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/neatx/neatx-0.3.1_p59-r4.ebuild,v 1.4 2013/01/30 18:07:25 ago Exp $
+
+EAPI=4
+
+PYTHON_DEPEND="2"
+inherit eutils autotools python user
+
+DESCRIPTION="Google implementation of NX server"
+HOMEPAGE="http://code.google.com/p/neatx/"
+SRC_URI="http://dev.gentoo.org/~voyageur/distfiles/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE=""
+
+DEPEND="dev-python/docutils"
+RDEPEND="dev-python/pexpect
+ dev-python/simplejson
+ >=dev-python/pygtk-2.14
+ >=dev-python/pygobject-2.14:2
+ app-portage/portage-utils
+ media-fonts/font-misc-misc
+ media-fonts/font-cursor-misc
+ || ( net-analyzer/gnu-netcat
+ net-analyzer/netcat
+ net-analyzer/netcat6 )
+ net-misc/nx"
+
+S=${WORKDIR}/${PN}
+
+pkg_setup () {
+ # configure script looks for latest python2 only,
+ # no multiple versions support
+ python_set_active_version 2
+ python_pkg_setup
+
+ if [ -z "${NX_HOME_DIR}" ];
+ then
+ export NX_HOME_DIR=/var/lib/neatx/home
+ fi
+ enewuser nx -1 -1 ${NX_HOME_DIR}
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-use_libexecdir.patch
+
+ sed -i -e "s/rst2html]/rst2html.py]/" configure.ac \
+ || die "configure.ac sed failed"
+ sed -e "s#/lib/neatx#/neatx#" \
+ -e "/^docdir/s#\$(PACKAGE)#${PF}#" \
+ -e "s#-Werror##" \
+ -i Makefile.am \
+ || die "Makefile.am sed failed"
+ sed -e "/DATA_DIR =/s#/lib/neatx#/neatx#" \
+ -i lib/constants.py || die "constants.py sed failed"
+
+ eautoreconf
+
+ echo "#!/bin/sh" > autotools/py-compile
+}
+
+src_compile() {
+ default_src_compile
+ # Scripts are automatically generated, fix them here
+ python_convert_shebangs 2 src/nx*
+}
+
+src_install() {
+ emake install DESTDIR="${D}"
+ fperms 777 /var/lib/neatx/sessions
+ dodir ${NX_HOME_DIR}/.ssh
+ fowners nx:nx ${NX_HOME_DIR}
+ fowners nx:nx ${NX_HOME_DIR}/.ssh
+
+ insinto /etc
+ newins doc/neatx.conf.example neatx.conf
+
+ # nc or netcat6 or netcat?
+ if has_version net-analyzer/gnu-netcat; then
+ nc_path="/usr/bin/netcat"
+ elif has_version net-analyzer/netcat6; then
+ nc_path="/usr/bin/nc6"
+ else
+ nc_path="/usr/bin/nc"
+ fi
+ cat >> "${D}"/etc/neatx.conf << EOF
+
+netcat-path = ${nc_path}
+use-xsession = false
+start-gnome-command = /etc/X11/Sessions/Gnome
+EOF
+
+ insinto /usr/share/neatx
+ insopts -m 600 -o nx
+ newins extras/authorized_keys.nomachine authorized_keys.nomachine
+
+ insinto ${NX_HOME_DIR}/.ssh
+ insopts -m 600 -o nx
+ newins extras/authorized_keys.nomachine authorized_keys
+
+ # protect ssh key from getting clobbered by future upgrade (bug #339366)
+ echo "CONFIG_PROTECT=\"${NX_HOME_DIR}\"" > "${T}/60${PN}"
+ doenvd "${T}/60${PN}"
+}
+
+pkg_preinst () {
+ # preserve custom ssh key if present (bug #339366)
+ # CONFIG_PROTECT entry created above will only work for future emerges,
+ # not the current one (until bug #276345 gets fixed)
+ if [ -e "${ROOT}/${NX_HOME_DIR}/.ssh/authorized_keys" ] ; then
+ einfo "Preserving existing ssh key: ${NX_HOME_DIR}/.ssh/authorized_keys"
+ insinto ${NX_HOME_DIR}/.ssh
+ insopts -m 600 -o nx
+ newins "${ROOT}/${NX_HOME_DIR}/.ssh/authorized_keys" authorized_keys
+ fi
+}
+
+pkg_postinst () {
+ python_mod_optimize neatx
+
+ # Other NX servers ebuilds may have already created the nx account
+ # However they use different login shell/home directory paths
+ if [[ ${ROOT} == "/" ]]; then
+ usermod -s /usr/libexec/neatx/nxserver-login nx || die "Unable to set login shell of nx user!!"
+ usermod -d ${NX_HOME_DIR} nx || die "Unable to set home directory of nx user!!"
+ else
+ elog "If you had another NX server installed before, please make sure"
+ elog "the nx user account is correctly set to:"
+ elog " * login shell: /usr/libexec/neatx/nxserver-login"
+ elog " * home directory: ${NX_HOME_DIR}"
+ fi
+
+ if has_version net-misc/openssh[-pam]; then
+ elog ""
+ elog "net-misc/openssh was not built with PAM support"
+ elog "You will need to unlock the nx account by setting a password for it"
+ fi
+
+ elog "If you want to use the default su authentication (rather than ssh)"
+ elog "you must ensure that the nx user is a member of the wheel group."
+ elog "You can add it via \"usermod -a -G wheel nx\""
+}
+
+pkg_postrm() {
+ python_mod_cleanup neatx
+}
diff --git a/net-misc/nxcl/ChangeLog b/net-misc/nxcl/ChangeLog
new file mode 100644
index 0000000..1a25042
--- /dev/null
+++ b/net-misc/nxcl/ChangeLog
@@ -0,0 +1,55 @@
+# ChangeLog for net-misc/nxcl
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nxcl/ChangeLog,v 1.14 2013/08/07 13:29:05 ago Exp $
+
+ 07 Aug 2013; Agostino Sarubbo <ago@gentoo.org> nxcl-0.9-r2.ebuild:
+ Stable for x86, wrt bug #477132
+
+ 03 Aug 2013; Agostino Sarubbo <ago@gentoo.org> nxcl-0.9-r2.ebuild:
+ Stable for amd64, wrt bug #477132
+
+ 18 Jun 2012; Bernard Cafarelli <voyageur@gentoo.org> nxcl-0.9-r2.ebuild,
+ +files/nxcl-0.9-gcc47.patch:
+ Fix compilation with GCC 4.7, bug #421731
+
+ 21 May 2012; Kacper Kowalik <xarthisius@gentoo.org> nxcl-0.9-r1.ebuild,
+ nxcl-0.9-r2.ebuild:
+ Add missing inheritance of eutils.eclass
+
+*nxcl-0.9-r2 (19 Feb 2010)
+
+ 19 Feb 2010; Bernard Cafarelli <voyageur@gentoo.org> -nxcl-0.9.ebuild,
+ +nxcl-0.9-r2.ebuild:
+ Fix documentation install path, bug #305579, EAPI2, and remove old
+
+ 08 Mar 2009; Markus Meier <maekke@gentoo.org> nxcl-0.9-r1.ebuild:
+ amd64/x86 stable, bug #256414
+
+*nxcl-0.9-r1 (15 Sep 2008)
+
+ 15 Sep 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ +files/nxcl-0.9-no_nxssh.patch, metadata.xml, +nxcl-0.9-r1.ebuild:
+ Upstream patch to allow nxcl to work without net-misc/nxclient, bug
+ #235023
+
+ 10 Sep 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ +files/nxcl-0.9-gcc43.patch, nxcl-0.9.ebuild:
+ Fix compilation with gcc-4.3, closes bug #235018
+
+ 05 Jun 2008; Peter Volkov <pva@gentoo.org> nxcl-0.9.ebuild:
+ amd64 stable, bug #222967.
+
+ 29 May 2008; Christian Faulhammer <opfer@gentoo.org> nxcl-0.9.ebuild:
+ x86 stable, bug #222967
+
+ 26 May 2008; Bernard Cafarelli <voyageur@gentoo.org> nxcl-0.9.ebuild:
+ Needs nxssh, currently provided by net-misc/nxclient. Spotted by pva
+
+ 13 May 2008; Bernard Cafarelli <voyageur@gentoo.org> nxcl-0.9.ebuild:
+ Do not runtime-depend on doxygen, thanks flameeyes in bug #221683
+
+*nxcl-0.9 (14 Mar 2008)
+
+ 14 Mar 2008; Bernard Cafarelli <voyageur@gentoo.org> +metadata.xml,
+ +nxcl-0.9.ebuild:
+ Initial version, from NX overlay and bug #213208
diff --git a/net-misc/nxcl/Manifest b/net-misc/nxcl/Manifest
new file mode 100644
index 0000000..03697ac
--- /dev/null
+++ b/net-misc/nxcl/Manifest
@@ -0,0 +1,7 @@
+AUX nxcl-0.9-gcc43.patch 931 SHA256 f07141589114982e4aec77dce92971037f57bf6cf8f56c481e978795c4d44bd3 SHA512 f9b1ab67e0d66d84765814322b30b6374c56aaefb9b303ff7cebfecae6a8eccf963cbc2126a33a54973c08abe38245d671d421aaca648c963a21571d056729b5 WHIRLPOOL 8fee98f7cf190a74e4d40d7c0d5e21137bec26fa11d537f38efdc83e79ebc45cebd5f82d7f5b9f9601ac61a00d7366ff0eed27a6c0f2e66994fa52f503ed7c21
+AUX nxcl-0.9-gcc47.patch 274 SHA256 5bb35a95b937d327ccbe66abcfe059a071959a498304427cff658bdcda951eed SHA512 0d3bbc658aeb118658d13fcf0bd81f7116c6ef55bf6d4d21f0a04364fd56be6d63f442f907f1d3fd06d338674f1fe0f518a8d1a2687fbaf790ee6b8b2510f663 WHIRLPOOL ac3d17add1cfc1ddd2dae01af95b0cc05157016d5fe10f76a9794506c6cbcafaca4b864cdf9aa107002a2ce8c08868bdfd62cf72755557acf5951d1916c24498
+AUX nxcl-0.9-no_nxssh.patch 11470 SHA256 a15875efae333eec432765ee4edb0d3cabfaf0d8130cd19d2ab5255cb6e9a687 SHA512 03fcc82364b6d5b6f7b1f21451456abf217c4f7b98e14418bd7ba41cc5941a1af1c1d231e164261a632f9c1a09c618ef4c545bd0c06b017cfc26d5b4d762bb57 WHIRLPOOL 0aab743ca4a38cca32b3e7c9e8bf216de0d6c586598e97e883e795504189638d789bf0745d1d6c65a78b55c5432d926acd9d57ed4da93c88086014e3fe703325
+DIST freenx-client-0.9.tar.bz2 46240 SHA256 dfc6c8dd89c26171411d8f7fa92613004eb8947ff509459151fdb03de7fe9608 SHA512 be56f594f13d0362c41391396db7d8a4807887622658c9e4a59e33e793625574dbc2a088b0c1ea28dfaa572f2d539d2a0a898459bd080609e120257845583df0 WHIRLPOOL fd15633bcf4128e89c0d74c2f94e62e13b0efbbc091407472609dff6bb7aad7183003a59272d1d0bda368374c2a7968d1b8efbba8900005e66a703a66c6e15fc
+EBUILD nxcl-0.9-r2.ebuild 1227 SHA256 89caefc1c39055d5247f036474b9ebfbdebeac2e8d51ed2e0bfb6f0614c3e294 SHA512 cfce9a0b13bb7b28d4af27ebfdec77dcbe38e2c3283a56c2fa55d521363455089e5bc9ff1c2bd400cfb1310bcce6f0106a31724bb10818e45a3971f5e8ddfacb WHIRLPOOL 8a25e1e736a67622812b2492f5e2a139dc7a60f5c6db23a925157924465ca46cd289e68b61b3f67b1796e15bd59ff8963c32dda03682731b0c70c6d88c14acbb
+MISC ChangeLog 2023 SHA256 93b07559008fff84bd000f162c6610f73fd0da9b89d3d7952395c2cac3ffcf0e SHA512 940e442246b6e1f46b90b3f398fd134e98dcff8ef3068f32b20f46c53a68c40102a18a162d1f539180fa55df17c47c41a514ca30c9f2ebe5d5c68eb1207392f0 WHIRLPOOL b3702d2a8dbe59755a50b8cb5cf8ba56b7cf68e2da5a6e682644d7871d5858874e5f846d3cd75516eab510a45e01766c97dda396a73ecdfa3747312b7ad2fdde
+MISC metadata.xml 340 SHA256 afdb0242dc9daf0db276be4f69861fde54eeca28395b2eab8def563cef228b74 SHA512 6436629db3535ebc16e51417e583bfd100f5291388793eea57faa18ea7fdd734b342e5e5f8276190eeaaa71b4e7279b2097e8a6c12786bb4bd449e2301bb3433 WHIRLPOOL 3be8e881b6c579a7ebd3957a65a1e4ee57b65bfdd5d6c1790d6efdc264a1fa4e8bb27343e48f56d6e7956b90df9755474b7e7d3955b9493b4054a73a40fbbbf8
diff --git a/net-misc/nxcl/files/nxcl-0.9-gcc43.patch b/net-misc/nxcl/files/nxcl-0.9-gcc43.patch
new file mode 100644
index 0000000..1961e26
--- /dev/null
+++ b/net-misc/nxcl/files/nxcl-0.9-gcc43.patch
@@ -0,0 +1,37 @@
+Index: nxcl/nxcl.cpp
+===================================================================
+--- nxcl/nxcl.cpp (révision 520)
++++ nxcl/nxcl.cpp (révision 545)
+@@ -30,6 +30,7 @@
+ #include <dbus/dbus.h>
+ #include <X11/Xlib.h>
+ }
++#include <stdlib.h>
+
+ using namespace nxcl;
+ using namespace std;
+Index: lib/notQt.cpp
+===================================================================
+--- lib/notQt.cpp (révision 520)
++++ lib/notQt.cpp (révision 545)
+@@ -29,6 +29,7 @@
+ #include <sys/socket.h>
+ #include <signal.h>
+ }
++#include <stdlib.h>
+
+ #include "../config.h"
+ #include "notQt.h"
+Index: lib/nxclientlib.cpp
+===================================================================
+--- lib/nxclientlib.cpp (révision 520)
++++ lib/nxclientlib.cpp (révision 545)
+@@ -43,6 +43,8 @@
+ #include <sys/stat.h>
+ #include <unistd.h>
+ }
++#include <stdlib.h>
++#include <string.h>
+
+ /*
+ * On the location of nxproxy and nxssh binaries
diff --git a/net-misc/nxcl/files/nxcl-0.9-gcc47.patch b/net-misc/nxcl/files/nxcl-0.9-gcc47.patch
new file mode 100644
index 0000000..d14c25e
--- /dev/null
+++ b/net-misc/nxcl/files/nxcl-0.9-gcc47.patch
@@ -0,0 +1,10 @@
+--- lib/notQt.h.orig 2012-06-18 17:15:02.139055813 +0200
++++ lib/notQt.h 2012-06-18 17:15:23.424070974 +0200
+@@ -34,6 +34,7 @@
+ #include <fstream>
+ extern "C" {
+ #include <sys/poll.h>
++#include <unistd.h>
+ }
+ #define NOTQTPROCESS_MAIN_APP 0
+ #define NOTQTPROCESS_FAILURE -1
diff --git a/net-misc/nxcl/files/nxcl-0.9-no_nxssh.patch b/net-misc/nxcl/files/nxcl-0.9-no_nxssh.patch
new file mode 100644
index 0000000..4142a0b
--- /dev/null
+++ b/net-misc/nxcl/files/nxcl-0.9-no_nxssh.patch
@@ -0,0 +1,372 @@
+Index: lib/notQt.cpp
+===================================================================
+--- lib/notQt.cpp (révision 519)
++++ lib/notQt.cpp (révision 520)
+@@ -26,6 +26,7 @@
+ #include <sys/wait.h>
+ #include <sys/stat.h>
+ #include <sys/poll.h>
++#include <sys/socket.h>
+ #include <signal.h>
+ }
+
+@@ -52,7 +53,8 @@
+ progName("unknown"),
+ error (NOTQPROCNOERROR),
+ pid(0),
+- signalledStart(false)
++ signalledStart(false),
++ parentFD(-1)
+ {
+ // Set up the polling structs
+ this->p = static_cast<struct pollfd*>(malloc (2*sizeof (struct pollfd)));
+@@ -62,6 +64,15 @@
+ notQProcess::~notQProcess ()
+ {
+ free (this->p);
++ if (parentFD != -1)
++ {
++ close(parentFD);
++ parentFD=-1;
++ }
++ // FIXME: this should be closed here
++ // close (parentToChild[READING_END]);
++ // close (childToParent[WRITING_END]);
++ // close (childErrToParent[WRITING_END]);
+ }
+
+ void
+@@ -84,10 +95,18 @@
+ // NB: The first item in the args list should be the program name.
+ this->progName = program;
+
++#ifdef NXCL_USE_NXSSH
+ // Set up our pipes
+ if (pipe(parentToChild) == -1 || pipe(childToParent) == -1 || pipe(childErrToParent) == -1) {
+ return NOTQTPROCESS_FAILURE;
+ }
++#else /* We need a socketpair for that to work */
++ if (socketpair(AF_UNIX, SOCK_STREAM, 0, parentToChild) == -1 || pipe(childErrToParent) == -1)
++ return NOTQTPROCESS_FAILURE;
++
++ childToParent[READING_END]=dup(parentToChild[WRITING_END]);
++ childToParent[WRITING_END]=dup(parentToChild[READING_END]);
++#endif
+
+ this->pid = fork();
+
+Index: lib/nxsession.cpp
+===================================================================
+--- lib/nxsession.cpp (révision 519)
++++ lib/nxsession.cpp (révision 520)
+@@ -69,6 +69,7 @@
+ int response = parseResponse (message);
+ string returnMessage;
+
++#ifdef NXCL_USE_NXSSH
+ if (response == 211) {
+ if (doSSH == true) {
+ returnMessage = "yes";
+@@ -80,6 +81,7 @@
+ if (response == 204) { // Authentication failed
+ returnMessage = "204";
+ }
++#endif
+
+ if (response == 147) { // Server capacity reached
+ returnMessage = "147";
+@@ -90,6 +92,17 @@
+ case HELLO_NXCLIENT:
+ dbgln ("HELLO_NXCLIENT stage");
+
++ if (message.find("Are you sure you want to continue connecting (yes/no)?") != string::npos)
++ returnMessage = "yes"; // FF-FIXME: Or 211?
++
++ if (message.find("assword") != string::npos)
++ returnMessage = nxPassword; // FF-FIXME: -> What to do? What to do?
++
++ if (message.find("Permission denied") != string::npos ||
++ message.find("su: Authentication failure") != string::npos ||
++ message.find("Unknown id:") != string::npos)
++ returnMessage = "204"; // Authentication failed
++
+ if (message.find("HELLO NXSERVER - Version") != string::npos) {
+ this->callbacks->authenticatedSignal();
+ returnMessage = "hello NXCLIENT - Version ";
+Index: lib/notQt.h
+===================================================================
+--- lib/notQt.h (révision 519)
++++ lib/notQt.h (révision 520)
+@@ -117,7 +117,19 @@
+ pid_t getPid (void) { return this->pid; }
+ int getError (void) { return this->error; }
+ void setError (int e) { this->error = e; }
++
++ int getParentFD()
++ {
++ this->parentFD = this->parentToChild[1];
++ close(this->childToParent[0]);
+
++ // Create new pipes
++ pipe(this->parentToChild);
++ pipe(this->childToParent);
++
++ return this->parentFD;
++ }
++
+ /*!
+ * Setter for the callbacks.
+ */
+@@ -180,6 +192,11 @@
+ * Pointer to a callback object
+ */
+ notQProcessCallbacks * callbacks;
++
++ /*!
++ * old parent FD for comm with child
++ */
++ int parentFD;
+ };
+
+ /*!
+Index: lib/nxclientlib.cpp
+===================================================================
+--- lib/nxclientlib.cpp (révision 519)
++++ lib/nxclientlib.cpp (révision 520)
+@@ -8,7 +8,8 @@
+ : Author: Sebastian James
+ : (C) 2008 Defuturo Ltd
+ : Author: George Wright
+- email : seb@esfnet.co.uk, gwright@kde.org
++ : (C) 2008 Fabian Franz
++ email : seb@esfnet.co.uk, gwright@kde.org, freenx@fabian-franz.de
+ ***************************************************************************/
+
+ /***************************************************************************
+@@ -28,6 +29,14 @@
+
+ #include <fstream>
+
++// Define to use nxssh
++#if defined(NXCL_CYGWIN) || defined(NXCL_DARWIN)
++
++// FF-FIXME That does not work.
++//#define NXCL_USE_NXSSH 1
++
++#endif
++
+ extern "C" {
+ #include <errno.h>
+ #include <sys/types.h>
+@@ -186,10 +195,14 @@
+
+ // Start to build the arguments for the nxssh command.
+ // notQProcess requires that argv[0] contains the program name
++#ifdef NXCL_USE_NXSSH
+ arguments.push_back ("nxssh");
+
+ argtmp << "-nx";
+ arguments.push_back (argtmp.str());
++#else
++ arguments.push_back ("ssh");
++#endif
+
+ argtmp.str("");
+ argtmp << "-p" << port;
+@@ -215,6 +228,7 @@
+ }
+
+ argtmp.str("");
++ // FF-FIXME: Perhaps the user wants to login as user directly
+ argtmp << "nx@" << serverHost;
+ arguments.push_back (argtmp.str());
+
+@@ -227,9 +241,13 @@
+ arguments.push_back ("-oRSAAuthentication no");
+ arguments.push_back ("-oRhostsRSAAuthentication no");
+ arguments.push_back ("-oPubkeyAuthentication yes");
++ // FF-FIXME: Perhaps the user wants to login as user directly
++ //arguments.push_back ("-c nxserver");
+
+ if (encryption == true) {
++#ifdef NXCL_USE_NXSSH
+ arguments.push_back("-B");
++#endif
+ session.setEncryption (true);
+ } else {
+ session.setEncryption (false);
+@@ -240,10 +258,16 @@
+ // nxssh -E gives this message when called:
+ // NX> 285 Enabling skip of SSH config files
+ // ...so there you have the meaning.
++#ifdef NXCL_USE_NXSSH
+ arguments.push_back ("-E");
++#endif
+
+ // Find a path for the nxssh process using getPath()
++#ifdef NXCL_USE_NXSSH
+ string nxsshPath = this->getPath ("nxssh");
++#else
++ string nxsshPath = this->getPath ("ssh");
++#endif
+
+ this->nxsshProcess->start(nxsshPath, arguments);
+
+@@ -365,8 +389,9 @@
+
+ // On some connections this is sent via stdout instead of stderr?
+ if (proxyData.encrypted && readyForProxy &&
+- ((*msgiter).find("NX> 999 Bye")!=string::npos)) {
+-
++ ((*msgiter).find("NX> 999 Bye")!=string::npos))
++#ifdef NXCL_USE_NXSSH
++ {
+ // This is "NX> 299 Switching connection to: " in
+ // version 1.5.0. This was changed in nxssh version
+ // 2.0.0-8 (see the nxssh CHANGELOG).
+@@ -388,6 +413,11 @@
+ this->externalCallbacks->connectedSuccessfullySignal();
+ this->sessionRunning = true;
+ }
++#else /* don't use nxssh, start nxproxy -stdin */
++ {
++ invokeProxy();
++ }
++#endif
+
+ if ((*msgiter).find("Password") != string::npos) {
+ this->externalCallbacks->write
+@@ -402,6 +432,9 @@
+ dbgln ("NXClientLib::processParseStdout: Got auth failed"
+ " or capacity reached, calling this->parseSSH.");
+ msg = this->parseSSH (*msgiter);
++#ifndef NXCL_USE_NXSSH
++ this->isFinished = true;
++#endif
+ }
+ if (msg.size() > 0) {
+ this->write (msg);
+@@ -436,7 +469,9 @@
+ + (*msgiter) + "'(end msg)");
+
+ if (proxyData.encrypted && readyForProxy &&
+- ((*msgiter).find("NX> 999 Bye") != string::npos)) {
++ ((*msgiter).find("NX> 999 Bye") != string::npos))
++#ifdef NXCL_USE_NXSSH
++ {
+
+ string switchCommand = "NX> 299 Switch connection to: ";
+ stringstream ss;
+@@ -478,6 +513,11 @@
+ _("SSH host key verification failed"));
+ this->isFinished = true;
+ }
++#else /* don't use nxssh, use nxproxy -stdin */
++ {
++ invokeProxy();
++ }
++#endif
+ }
+ }
+
+@@ -580,21 +620,41 @@
+ this->externalCallbacks->serverCapacitySignal();
+ this->isFinished = true;
+
+- } else if
++ }
++#ifdef NXCL_USE_NXSSH
++ else if
+ (message.find ("NX> 204 Authentication failed.") != string::npos) {
+
+ this->externalCallbacks->write
+ (204, _("NX SSH Authentication Failed, finishing"));
+ this->isFinished = true;
+ }
++#endif
+
+ if (message.find("NX> 710 Session status: running") != string::npos) {
+
+ this->externalCallbacks->write
+ (710, _("Session status is \"running\""));
++ }
++
++ // FF-FIXME: This is technically incorrect as the proxy is just ready once 1002 and 1006 have
++ // been sent.
++ if (message.find("NX> 710 Session status: running") != string::npos) {
++
++ //this->externalCallbacks->write
++ // (1006, _("Session status is \"running\""));
++
++#ifdef NXCL_USE_NXSSH
+ invokeProxy();
++#else
++ if (!proxyData.encrypted)
++ invokeProxy();
++#endif
+ session.wipeSessions();
+- rMessage = "bye\n";
++ if (proxyData.encrypted)
++ rMessage = "bye\n";
++ else
++ rMessage = "quit\n";
+ }
+
+ return rMessage;
+@@ -700,18 +760,24 @@
+ stringstream data;
+
+ if (proxyData.encrypted) {
++#ifdef NXCL_USE_NXSSH
+ data << "nx/nx" << x11Display << ",session=session,encryption=1,cookie="
+ << proxyData.cookie
+ << ",id=" << proxyData.id << ",listen="
+ << proxyData.port << ":" << proxyData.display << "\n";
+ // may also need shmem=1,shpix=1,font=1,product=...
++#else
++ data << "nx/nx" << x11Display << ",session=session,encryption=1,cookie="
++ << proxyData.cookie
++ << ",id=" << proxyData.id << ":" << proxyData.display << "\n";
++#endif
+
+ } else {
+- // Not tested yet
++ // Not tested yet, FF-FIXME: Test
+ data << "nx/nx" << x11Display << ",session=session,cookie=" << proxyData.cookie
+- << ",id=" << proxyData.id
+- // << ",connect=" << proxyData.server << ":" << proxyData.display
+- << ",listen=" << proxyData.port << ":" << proxyData.display
++ << ",connect=" << proxyData.server << ":" << proxyData.port
++ << ",id=" << proxyData.id << ":" << proxyData.display
++ //<< ",listen=" << proxyData.port << ":" << proxyData.display
+ << "\n";
+ }
+
+@@ -726,11 +792,24 @@
+ list<string> arguments;
+ arguments.push_back("nxproxy"); // argv[0] has to be the program name
+ arguments.push_back("-S");
++
+ ss.str("");
+- ss << "options=" << nxdir;
+- ss << ":" << proxyData.display;
+- arguments.push_back(ss.str());
++ ss << "nx/nx,options=" << nxdir << ":" << proxyData.display;
+
++ setenv("NX_DISPLAY", ss.str().c_str(), 1);
++
++#ifndef NXCL_USE_NXSSH
++ if (proxyData.encrypted)
++ {
++ ss.str("");
++ ss << this->nxsshProcess->getParentFD();
++ fprintf(stderr, "NX_COMMFD=%d", this->nxsshProcess->getParentFD());
++ setenv("NX_COMMFD", ss.str().c_str(), 1);
++ // FF-FIXME: need to wait for 2 secs due to race condition with "bye" in buffer
++ sleep(2);
++ }
++#endif
++
+ // Find a path for the nxproxy process using getPath()
+ string nxproxyPath = this->getPath ("nxproxy");
+ this->nxproxyProcess->start(nxproxyPath, arguments);
diff --git a/net-misc/nxcl/metadata.xml b/net-misc/nxcl/metadata.xml
new file mode 100644
index 0000000..8a376a9
--- /dev/null
+++ b/net-misc/nxcl/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>nx</herd>
+ <longdescription>A library for building NX clients</longdescription>
+ <use>
+ <flag name="nxclient">Use nxssh from <pkg>net-misc/nxclient</pkg> instead of standard ssh</flag>
+ </use>
+</pkgmetadata>
diff --git a/net-misc/nxcl/nxcl-0.9-r2.ebuild b/net-misc/nxcl/nxcl-0.9-r2.ebuild
new file mode 100644
index 0000000..3e876e6
--- /dev/null
+++ b/net-misc/nxcl/nxcl-0.9-r2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nxcl/nxcl-0.9-r2.ebuild,v 1.5 2013/08/07 13:29:05 ago Exp $
+
+EAPI=4
+
+inherit autotools eutils
+
+MY_P="freenx-client-${PV}"
+DESCRIPTION="A library for building NX clients"
+HOMEPAGE="http://developer.berlios.de/projects/freenx/"
+SRC_URI="http://dev.gentoo.org/~voyageur/distfiles/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="dbus doc nxclient"
+
+RDEPEND=">=net-misc/nx-3.2.0-r5
+ dbus? ( sys-apps/dbus )
+ nxclient? ( net-misc/nxclient )"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+S="${WORKDIR}/${MY_P}/${PN}"
+
+src_prepare() {
+ # Incorrect version
+ sed -i -e "s#1.0#0.9#" configure.ac || die "version sed failed"
+ # And doc path
+ sed -i -e "/^docdir =/s#doc/.*#share/doc/${PF}#" doc/Makefile.am ||
+ die "doc path sed failed"
+ if ! use nxclient; then
+ # Patch to use standard ssh instead of nxssh from nxclient
+ epatch "${FILESDIR}"/${P}-no_nxssh.patch
+ fi
+ epatch "${FILESDIR}"/${P}-gcc43.patch
+ epatch "${FILESDIR}"/${P}-gcc47.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_with doc doxygen)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+}
diff --git a/net-misc/nxclient/ChangeLog b/net-misc/nxclient/ChangeLog
new file mode 100644
index 0000000..c5cd37b
--- /dev/null
+++ b/net-misc/nxclient/ChangeLog
@@ -0,0 +1,448 @@
+# ChangeLog for net-misc/nxclient
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nxclient/ChangeLog,v 1.96 2013/08/01 20:54:56 ssuominen Exp $
+
+ 01 Aug 2013; Samuli Suominen <ssuominen@gentoo.org> nxclient-3.5.0.7.ebuild:
+ Fix libjpeg.so.62 dependency.
+
+ 23 Sep 2011; Bernard Cafarelli <voyageur@gentoo.org>
+ -nxclient-3.4.0.5.ebuild, -nxclient-3.4.0.7.ebuild,
+ -nxclient-3.4.0.7-r1.ebuild, -nxclient-3.5.0.6.ebuild:
+ Drop 3.4.0 versions
+
+ 23 Aug 2011; Markos Chandras <hwoarang@gentoo.org> nxclient-3.5.0.7.ebuild:
+ Stable on amd64 wrt bug #378345
+
+ 20 Aug 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> nxclient-3.5.0.7.ebuild:
+ x86 stable wrt security bug #378345
+
+*nxclient-3.5.0.7 (28 Jun 2011)
+
+ 28 Jun 2011; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxclient-3.5.0.7.ebuild:
+ Maintenance release bump, bugfixes only
+
+*nxclient-3.5.0.6 (22 May 2011)
+
+ 22 May 2011; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxclient-3.5.0.6.ebuild:
+ 3.5.0 version bump, mostly fixes consolidation from 3.4.0 branch
+
+*nxclient-3.4.0.7-r1 (22 Dec 2010)
+
+ 22 Dec 2010; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxclient-3.4.0.7-r1.ebuild:
+ Make nxprint install optional with USE=cups, bug #347011
+
+ 19 Jul 2010; Bernard Cafarelli <voyageur@gentoo.org>
+ nxclient-3.4.0.5.ebuild, nxclient-3.4.0.7.ebuild:
+ Depend on openssl 0.9.8, wrt bug #328355
+
+ 14 Jun 2010; Bernard Cafarelli <voyageur@gentoo.org>
+ -nxclient-3.3.0.6.ebuild:
+ Drop 3.3 NX versions
+
+ 11 May 2010; Samuli Suominen <ssuominen@gentoo.org>
+ nxclient-3.3.0.6.ebuild, nxclient-3.4.0.5.ebuild, nxclient-3.4.0.7.ebuild:
+ Fix libpng depend wrt #319247.
+
+ 10 May 2010; Bernard Cafarelli <voyageur@gentoo.org>
+ nxclient-3.3.0.6.ebuild, nxclient-3.4.0.5.ebuild, nxclient-3.4.0.7.ebuild:
+ Correct libpng 1.2 dependency
+
+ 10 Mar 2010; Bernard Cafarelli <voyageur@gentoo.org>
+ nxclient-3.3.0.6.ebuild, nxclient-3.4.0.5.ebuild, nxclient-3.4.0.7.ebuild:
+ Fix libpng depend to 1.2 (binary package)
+
+*nxclient-3.4.0.7 (10 Mar 2010)
+
+ 10 Mar 2010; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxclient-3.4.0.7.ebuild:
+ Maintenance release version bump
+
+ 17 Jan 2010; Samuli Suominen <ssuominen@gentoo.org>
+ nxclient-3.3.0.6.ebuild, nxclient-3.4.0.5.ebuild:
+ Replace jpeg-compat with slotted <jpeg-7.
+
+ 15 Dec 2009; Bernard Cafarelli <voyageur@gentoo.org>
+ -nxclient-3.3.0.3.ebuild:
+ Drop first 3.3.0 versions
+
+ 25 Nov 2009; Markus Meier <maekke@gentoo.org> nxclient-3.4.0.5.ebuild:
+ x86 stable, bug #291619
+
+ 10 Nov 2009; Richard Freeman <rich0@gentoo.org> nxclient-3.4.0.5.ebuild:
+ amd64 stable - 291619
+
+*nxclient-3.4.0.5 (30 Sep 2009)
+
+ 30 Sep 2009; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxclient-3.4.0.5.ebuild:
+ 3.4.0 version bump. This version brings new capabilities such as: support
+ for CUPS 1.4 printing system, better detection of system commands to run
+ KDE and Gnome sessions and the possibility of configuring the server to
+ allow run sessions as the root user, and bugfixes (nxagent crash, cut and
+ paste problems, text on the titlebar in rootless session, ...)
+
+ 23 Aug 2009; Bernard Cafarelli <voyageur@gentoo.org>
+ nxclient-3.3.0.3.ebuild, nxclient-3.3.0.6.ebuild:
+ Update dependency on media-libs/jpeg (package requires .62)
+
+ 29 May 2009; Bernard Cafarelli <voyageur@gentoo.org>
+ -nxclient-3.2.0.ebuild, -nxclient-3.2.0.13.ebuild,
+ -nxclient-3.2.0.14.ebuild:
+ Removing 3.2 versions
+
+ 04 Apr 2009; Markus Meier <maekke@gentoo.org> nxclient-3.3.0.6.ebuild:
+ amd64/x86 stable, bug #262910
+
+ 08 Mar 2009; Markus Meier <maekke@gentoo.org> nxclient-3.3.0.3.ebuild:
+ x86 stable, bug #256414
+
+ 05 Feb 2009; Richard Freeman <rich0@gentoo.org> nxclient-3.3.0.3.ebuild:
+ amd64 stable - 256414
+
+*nxclient-3.3.0.6 (16 Jan 2009)
+
+ 16 Jan 2009; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxclient-3.3.0.6.ebuild:
+ Maintenance release version bump
+
+*nxclient-3.3.0.3 (21 Nov 2008)
+
+ 21 Nov 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxclient-3.3.0.3.ebuild:
+ 3.3.0 version bump
+
+*nxclient-3.2.0.14 (26 Aug 2008)
+
+ 26 Aug 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxclient-3.2.0.14.ebuild:
+ Add 3.2.0-14, x86 only. Bug #232045
+
+ 21 Jul 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ -nxclient-3.0.0-r3.ebuild, -nxclient-3.0.0-r5.ebuild,
+ -nxclient-3.1.0.ebuild, -nxclient-3.1.0-r1.ebuild:
+ Remove old 3.0/3.1 versions
+
+*nxclient-3.2.0.13 (21 Jul 2008)
+
+ 21 Jul 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ -nxclient-3.2.0-r1.ebuild, +nxclient-3.2.0.13.ebuild:
+ Add minor release to ebuild version
+
+*nxclient-3.2.0-r1 (16 Jul 2008)
+
+ 16 Jul 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxclient-3.2.0-r1.ebuild:
+ First Maintenance Release, minor bugfixes
+
+ 05 Jun 2008; Peter Volkov <pva@gentoo.org> nxclient-3.2.0.ebuild:
+ amd64 stable, bug #222967.
+
+ 29 May 2008; Christian Faulhammer <opfer@gentoo.org>
+ nxclient-3.2.0.ebuild:
+ x86 stable, bug #222967
+
+*nxclient-3.2.0 (09 Apr 2008)
+
+ 09 Apr 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxclient-3.2.0.ebuild:
+ Version bump, new 3.2.0 series
+
+ 19 Mar 2008; Peter Volkov <pva@gentoo.org> nxclient-3.1.0-r1.ebuild:
+ amd64 stable, security bug #210317.
+
+ 18 Feb 2008; Christian Faulhammer <opfer@gentoo.org> ChangeLog:
+ stable x86, security bug 210317
+
+ 18 Feb 2008; Christian Faulhammer <opfer@gentoo.org>
+ nxclient-3.1.0.ebuild:
+ stable x86, security bug 210317
+
+*nxclient-3.1.0-r1 (08 Feb 2008)
+
+ 08 Feb 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ nxclient-3.0.0-r3.ebuild, nxclient-3.0.0-r5.ebuild, nxclient-3.1.0.ebuild,
+ +nxclient-3.1.0-r1.ebuild:
+ Maintenance release bump, shorten DESCRIPTION
+
+*nxclient-3.1.0 (14 Dec 2007)
+
+ 14 Dec 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxclient-3.1.0.ebuild:
+ Version bump
+
+*nxclient-3.0.0-r5 (03 Dec 2007)
+
+ 03 Dec 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ -nxclient-3.0.0-r4.ebuild, +nxclient-3.0.0-r5.ebuild:
+ Version bump
+
+*nxclient-3.0.0-r4 (21 Oct 2007)
+
+ 21 Oct 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxclient-3.0.0-r4.ebuild:
+ Version bump, closes bug #195663
+
+ 20 Sep 2007; Bernard Cafarelli <voyageur@gentoo.org> -files/nxwrapper,
+ -nxclient-2.1.0-r1.ebuild:
+ Remove vulnerable NX 2.1 versions, security bug #192712
+
+ 20 Sep 2007; Robert Buchholz <rbu@gentoo.org> nxclient-3.0.0-r3.ebuild:
+ amd64 stable (bug #180040)
+
+ 20 Sep 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ nxclient-3.0.0-r3.ebuild:
+ Force openssl-0.9.8e DEPEND
+
+ 20 Sep 2007; Christian Faulhammer <opfer@gentoo.org>
+ nxclient-3.0.0-r3.ebuild:
+ stable x86, security bug 192712
+
+ 13 Sep 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ nxclient-2.1.0-r1.ebuild, -nxclient-3.0.0-r2.ebuild,
+ nxclient-3.0.0-r3.ebuild:
+ Depend on >= 0.9.8 openssl
+ Thanks Adam Lassek <adam@doubleprime.net> in bug #192371
+
+ 07 Sep 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ files/digest-nxclient-3.0.0-r2, Manifest:
+ Fix Manifest, thanks Ben Maas <bmaas@open-techsys.com> in bug #191545
+
+ 06 Sep 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxclient-3.0.0-r2.ebuild:
+ Restore 3.0.0-r2, new release has problems in nxssh
+
+*nxclient-3.0.0-r3 (06 Sep 2007)
+
+ 06 Sep 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ -nxclient-3.0.0-r2.ebuild, +nxclient-3.0.0-r3.ebuild:
+ Maintenance release bump
+
+ 10 Aug 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ -files/1.5.0/50nxclient, -nxclient-1.5.0-r5.ebuild:
+ Removing old NX 1.5 version
+
+*nxclient-3.0.0-r2 (22 Jul 2007)
+
+ 22 Jul 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ -nxclient-3.0.0-r1.ebuild, +nxclient-3.0.0-r2.ebuild:
+ Second maintenance release
+
+*nxclient-3.0.0-r1 (06 Jul 2007)
+
+ 06 Jul 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ -nxclient-3.0.0.ebuild, +nxclient-3.0.0-r1.ebuild:
+ Maintenance release update
+
+ 03 Jul 2007; Christian Faulhammer <opfer@gentoo.org>
+ nxclient-2.1.0-r1.ebuild:
+ stable x86, bug 180040
+
+ 02 Jul 2007; Piotr Jaroszyński <peper@gentoo.org>
+ nxclient-1.5.0-r5.ebuild, nxclient-2.1.0-r1.ebuild, nxclient-3.0.0.ebuild:
+ (QA) RESTRICT clean up.
+
+ 25 Jun 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ nxclient-3.0.0.ebuild:
+ Better handling of the icon files
+ Thanks Henning Schild <henning@wh9.tu-dresden.de> in bug #183037
+
+ 23 Jun 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ nxclient-3.0.0.ebuild:
+ Fixed icons path and names
+
+*nxclient-3.0.0 (21 Jun 2007)
+
+ 21 Jun 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxclient-3.0.0.ebuild:
+ Version bump
+
+ 13 Jun 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ nxclient-1.5.0-r5.ebuild:
+ Drop qt dependency (statically linked binary)
+
+ 07 Jun 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ nxclient-2.1.0-r1.ebuild:
+ Get DESCRIPTION back in one line, bug #181184
+
+ 12 May 2007; Bernard Cafarelli <voyageur@gentoo.org> metadata.xml:
+ Fixed maintainer in metadata.xml
+
+ 26 Apr 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ nxclient-1.5.0-r5.ebuild, nxclient-2.1.0-r1.ebuild:
+ Updated blocker on nxclient-2xterminalserver
+
+ 27 Mar 2007; Zac Medico <zmedico@gentoo.org> ChangeLog:
+ Fix broken Manifest due to commit without repoman.
+
+ 27 Mar 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ -nxclient-2.1.0.ebuild:
+ Removed old version
+
+ 21 Mar 2007; Raúl Porcel <armin76@gentoo.org> nxclient-1.5.0-r5.ebuild:
+ x86 stable wrt bug 123386
+
+*nxclient-2.1.0-r1 (17 Mar 2007)
+
+ 17 Mar 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ -files/1.3.0/50nxclient, +nxclient-2.1.0-r1.ebuild:
+ Added ~amd64 dependency, closes bug #165978
+ Installs pixmaps and desktop shortcuts
+ Bumped to NoMachine 2.1.0-17 release
+ Removed leftover file from 1.3.0
+
+ 14 Dec 2006; Elfyn McBratney <beu@gentoo.org> nxclient-2.1.0.ebuild:
+ Kill redundant DEPEND on sys-libs/zlib.
+
+ 08 Nov 2006; Stuart Herbert <stuart@gentoo.org> metadata.xml,
+ -nxclient-1.4.0-r5.ebuild, -nxclient-1.5.0-r2.ebuild,
+ -nxclient-1.5.0-r4.ebuild:
+ Removed older packages; no longer supported
+
+*nxclient-2.1.0 (08 Nov 2006)
+*nxclient-1.5.0-r5 (08 Nov 2006)
+
+ 08 Nov 2006; Stuart Herbert <stuart@gentoo.org> +files/nxwrapper,
+ +nxclient-1.5.0-r5.ebuild, +nxclient-2.1.0.ebuild:
+ nxclient now uses its bundled binary libs once more.
+ Version bump to latest client
+
+ 23 Aug 2006; Caleb Tennis <caleb@gentoo.org> nxclient-1.4.0-r5.ebuild,
+ nxclient-1.5.0-r2.ebuild, nxclient-1.5.0-r4.ebuild:
+ Fix qt3 deps
+
+ 10 May 2006; Stuart Herbert <stuart@gentoo.org> nxclient-1.5.0-r4.ebuild:
+ Fixed USE=xft unpack bug
+
+*nxclient-1.5.0-r4 (30 Apr 2006)
+
+ 30 Apr 2006; Stuart Herbert <stuart@gentoo.org> +nxclient-1.5.0-r4.ebuild:
+ Huge thanks to Jon Scruggs for these changes:
+
+ * Added nxesd dependency.
+ * Added more amd64 depends. (Thanks to Jon Severinsson)
+ * Cleaned up the x86 depends
+ * Fixed comments regarding nxesd
+ * Added xft use flag to allow the installation of the xft version of the
+ client.
+
+ 21 Mar 2006; Aron Griffis <agriffis@gentoo.org> nxclient-1.4.0-r5.ebuild,
+ -nxclient-1.5.0.ebuild, -nxclient-1.5.0-r1.ebuild,
+ nxclient-1.5.0-r2.ebuild:
+ Add modular X deps, remove older 1.5.0 ebuilds
+
+ 05 Mar 2006; Stuart Herbert <stuart@gentoo.org> nxclient-1.5.0-r2.ebuild:
+ Added missing lib-compat DEP; see bug #115574
+
+*nxclient-1.5.0-r2 (11 Jan 2006)
+
+ 11 Jan 2006; Aron Griffis <agriffis@gentoo.org> +nxclient-1.5.0-r2.ebuild:
+ Switch to using rpm for both x86 and amd64; this has the advantage of
+ providing desktop files to install in /usr/share/applications.
+
+*nxclient-1.5.0-r1 (15 Dec 2005)
+
+ 15 Dec 2005; Aron Griffis <agriffis@gentoo.org> +nxclient-1.5.0-r1.ebuild:
+ Bump upstream sources from 1.5.0-113 to 1.5.0-135
+
+ 25 Oct 2005; Aron Griffis <agriffis@gentoo.org> +files/1.5.0/50nxclient,
+ -nxclient-1.3.2-r1.ebuild, -nxclient-1.4.0-r3.ebuild,
+ -nxclient-1.4.0-r4.ebuild, nxclient-1.5.0.ebuild:
+ Install env.d snippet for 1.5.0 to set PATH. Remove versions prior to 1.4.0-r5
+
+*nxclient-1.5.0 (20 Oct 2005)
+
+ 20 Oct 2005; Aron Griffis <agriffis@gentoo.org> +nxclient-1.5.0.ebuild:
+ Bump to 1.5.0 (from 1.4.0-r5)
+
+ 23 May 2005; Stuart Herbert <stuart@gentoo.org> :
+ Added missing nxprint binary; fixed up deps on other nx-packages; thanks to
+ bug #91409
+
+*nxclient-1.4.0-r4 (17 Feb 2005)
+
+ 17 Feb 2005; Stuart Herbert <stuart@gentoo.org> +nxclient-1.4.0-r4.ebuild:
+ Bug 81308: missing dep; Daniel Herzog <expose@luftgetrock.net>
+
+ 28 Jan 2005; Gregorio Guidi <greg_g@gentoo.org> nxclient-1.3.2-r1.ebuild,
+ nxclient-1.4.0-r3.ebuild:
+ Avoid installing things in /usr/kde (#63863).
+
+ 02 Jan 2005; Stuart Herbert <stuart@gentoo.org> -nxclient-1.3.0.ebuild,
+ -nxclient-1.3.2.ebuild, -nxclient-1.4.0-r1.ebuild,
+ -nxclient-1.4.0-r2.ebuild, -nxclient-1.4.0.ebuild:
+ Removed obsolete version
+
+*nxclient-1.4.0-r3 (02 Jan 2005)
+
+ 02 Jan 2005; Stuart Herbert <stuart@gentoo.org> +nxclient-1.4.0-r3.ebuild:
+ Version bump
+
+*nxclient-1.4.0-r2 (13 Sep 2004)
+
+ 13 Sep 2004; Stuart Herbert <stuart@gentoo.org> nxclient-1.4.0-r1.ebuild,
+ +nxclient-1.4.0-r2.ebuild:
+ Added missing dep on gnu-netcat; added support for snapshot 5 again after
+ feedback from zypher@gentoo.org
+
+ 13 Sep 2004; Stuart Herbert <stuart@gentoo.org> nxclient-1.4.0-r1.ebuild:
+ Downgraded to snapshot 4 client
+
+*nxclient-1.4.0-r1 (12 Sep 2004)
+
+ 12 Sep 2004; Stuart Herbert <stuart@gentoo.org> +nxclient-1.4.0-r1.ebuild:
+ Added dep on nxproxy-1.4.0
+
+ 07 Sep 2004; Stuart Herbert <stuart@gentoo.org> nxclient-1.4.0.ebuild:
+ Updated to use latest nxclient snapshot
+
+ 30 Aug 2004; Stuart Herbert <stuart@gentoo.org> nxclient-1.4.0.ebuild:
+ Added snapshot 4; needed by freenx
+
+ 07 Jul 2004; Stuart Herbert <stuart@gentoo.org> nxclient-1.3.0.ebuild,
+ nxclient-1.3.2.ebuild, nxclient-1.4.0.ebuild:
+ Made sure HOMEPAGE is a valid URL; fixes bug 55315
+
+ 26 Jun 2004; Stuart Herbert <stuart@gentoo.org> nxclient-1.3.2.ebuild:
+ Added missing libqt dependency; for bug #51105
+
+*nxclient-1.4.0 (26 Jun 2004)
+
+ 26 Jun 2004; Stuart Herbert <stuart@gentoo.org> nxclient-1.4.0.ebuild:
+ Added binary snapshot of NX Client 1.4
+
+ 13 Jun 2004; Donnie Berkholz <spyderous@gentoo.org>; nxclient-1.3.0.ebuild,
+ nxclient-1.3.2.ebuild:
+ Change x11-base/xfree dependency to virtual/x11 (#52153).
+
+*nxclient-1.3.2 (15 May 2004)
+
+ 15 May 2004; Stuart Herbert <stuart@gentoo.org> nxclient-1.3.2.ebuild:
+ Version bump
+
+ 15 May 2004; Stuart Herbert <stuart@gentoo.org> nxclient-1.2.2-r1.ebuild,
+ nxclient-1.2.2.ebuild, nxclient-1.3.0_beta2.ebuild:
+ Removed old versions; I'm not supporting them any more
+
+*nxclient-1.3.0 (21 dec 2003)
+
+ 21 Dec 2003; Stuart Herbert <stuart@gentoo.org> :
+ Version bump
+
+*nxclient-1.3.0_beta2 (13 Nov 2003)
+
+ 13 Nov 2003; Stuart Herbert <stuart@gentoo.org> nxclient-1.3.0_beta2.ebuild:
+ Added 1.3.0_beta2
+
+*nxclient-1.2.2-r1 (10 Sep 2003)
+
+ 10 Sep 2003; stuart metadata.xml, nxclient-1.2.2-r1.ebuild,
+ nxclient-1.2.2.ebuild:
+ Added ebuild for nxclient-1.2.2-42 release
+
+*nxclient-1.2.2 (27 Aug 2003)
+
+ 27 Aug 2003; stuart nxclient-1.2.2.ebuild, files/1.2.2/50nxclient:
+ Initial import
diff --git a/net-misc/nxclient/Manifest b/net-misc/nxclient/Manifest
new file mode 100644
index 0000000..b724e03
--- /dev/null
+++ b/net-misc/nxclient/Manifest
@@ -0,0 +1,5 @@
+DIST nxclient-3.5.0-7.i386.tar.gz 4390184 SHA256 3e4c5882f07ea408b3cf0e96aba6a06745a8838cccead8914ef2c96ba6a19953 SHA512 df14edc2cde518172439350407c23683b8275ec93b75d5da52108ef45deaf312cb56b872d76b9ff458fe187e9a0c3c8dfbb75bd0b12a2f1f424e1f629b89f397 WHIRLPOOL acdf791286e97aa6690b2decfffc0fcb18e843d81974098826b618c82941e8f83b9901f1702c6203fd105121297ff9b0f4c05f049f05fe98c43df4c6abeee9ce
+DIST nxclient-3.5.0-7.x86_64.tar.gz 4577325 SHA256 e1037f3bd5ccfaa376a6e6dca1c52d666bfd7ea813d3971e85a086e541141e71 SHA512 37fb1fe5f4ba5be20076a7e8f9a99e66c894dd8c884a7dc1e6d5a4393d25e7db829564c4666e86c0fc897786dde79565257bdfafcc244c64357ccb59717fa875 WHIRLPOOL 08a63b36e8bcceb53865eb32144441acbb21bbe21762a3e8b6f0e80ddc75c179610da936c053c47a8f6d2ce1159fe0fc03a7c61d5f58a11343bef0d057c2ec86
+EBUILD nxclient-3.5.0.7.ebuild 2129 SHA256 6b81f2f9a998b97ad5f3ee1fc503e14278556c3bdf0eea5e202ca42e519e1370 SHA512 b5930521eeb46a508a53c6dde98bf5457e538081fae7b8961320b1f0781c7b054ddfd2c53c4df2b907901d52d3e78091ebf0f4cb21a10a4a32c76c7de24e15b1 WHIRLPOOL 6a3bbe55a2ac78a288f7ef473bd5b987bf2614d4cd991757325898d60b3e3642438409543c238482ecbcc4d46b064855e3835744864b85aa18eb880b75c8dea4
+MISC ChangeLog 15010 SHA256 ac6b1437de6092919ded0280bcec51289c40347b39557388d96f7fce1052707c SHA512 060684caba65807322eafde070fbd9dcef2b57ebf89151f5be0559941260b4af9d07634d2c2991da722c3fc057aa6093a6464718bb36acbb918dd4da59d1888e WHIRLPOOL fa99feb0e8aaa85c81d7fce80980312b0ce0617f364ec26e66eaa3cedcc0f3d34b0cbcce7ae50c3cb49184e17a01201725cc1fe408d64c94ee77db351338a664
+MISC metadata.xml 323 SHA256 3fbfa47bc46788bf3261c36eb8c18dbf19b695a3a4a3317d23ae3481f1caed63 SHA512 e10fd82582bd8fef76357f59d6385b2d14d507f577e8bac3a55f1dcfb68df1e74dbe07e798fbac5ca7eae699e289222ea234df1f1c3dea5c920bc6eb1ea14894 WHIRLPOOL 122e4d2a2fc95ecfa6c76ce9e648e8a7d5156c90db952d8331cf411aa915e1fd07fa3505b02e3a5de8bb743d22511d45cd0a7e4d76ed88ef19e47641a704d96e
diff --git a/net-misc/nxclient/metadata.xml b/net-misc/nxclient/metadata.xml
new file mode 100644
index 0000000..1f377b6
--- /dev/null
+++ b/net-misc/nxclient/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>nx</herd>
+<longdescription>
+ NXClient is a X11/VNC/NXServer client especially tuned for using remote
+ desktops over low-bandwidth links such as the Internet
+</longdescription>
+</pkgmetadata>
diff --git a/net-misc/nxclient/nxclient-3.5.0.7.ebuild b/net-misc/nxclient/nxclient-3.5.0.7.ebuild
new file mode 100644
index 0000000..49754a2
--- /dev/null
+++ b/net-misc/nxclient/nxclient-3.5.0.7.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nxclient/nxclient-3.5.0.7.ebuild,v 1.4 2013/08/01 20:54:56 ssuominen Exp $
+
+EAPI=2
+inherit eutils versionator
+
+MAJOR_PV="$(get_version_component_range 1-3)"
+FULL_PV="${MAJOR_PV}-$(get_version_component_range 4)"
+DESCRIPTION="X11/VNC/NXServer client (remote desktops over low-bandwidth links)"
+HOMEPAGE="http://www.nomachine.com/"
+SRC_URI="amd64? ( http://download.nomachine.com/download/${MAJOR_PV}/Linux/nxclient-${FULL_PV}.x86_64.tar.gz )
+ x86? ( http://download.nomachine.com/download/${MAJOR_PV}/Linux/nxclient-${FULL_PV}.i386.tar.gz )"
+LICENSE="nomachine"
+SLOT="0"
+KEYWORDS="-* amd64 x86"
+IUSE="cups"
+RESTRICT="strip"
+
+DEPEND=""
+RDEPEND="dev-libs/expat
+ =dev-libs/openssl-0.9.8*
+ media-libs/audiofile
+ || ( virtual/jpeg:62 media-libs/jpeg:62 )
+ =media-libs/libpng-1.2*
+ media-libs/freetype
+ media-libs/fontconfig
+ cups? ( net-print/cups )
+ x11-libs/libXft
+ x11-libs/libX11
+ x11-libs/libXdmcp
+ x11-libs/libXrender
+ x11-libs/libXau
+ x11-libs/libXext
+ sys-libs/zlib"
+
+S=${WORKDIR}/NX
+
+src_install()
+{
+ # we install nxclient into /usr/NX, to make sure it doesn't clash
+ # with libraries installed for FreeNX
+ local binaries="nxclient nxesd nxkill nxservice nxssh"
+ use cups && binaries="$binaries nxprint"
+
+ for x in $binaries; do
+ into /usr/NX
+ dobin bin/$x
+ into /usr
+ make_wrapper $x ./$x /usr/NX/bin /usr/NX/lib || die
+ done
+
+ dodir /usr/NX/lib
+ cp -P lib/libXcompsh.so* lib/libXcomp.so* "${D}"/usr/NX/lib
+
+ dodir /usr/NX/share
+ cp -R share "${D}"/usr/NX
+
+ # Add icons/desktop entries (missing in the tarball)
+ cd share/icons
+ for size in *; do
+ dodir /usr/share/icons/hicolor/${size}/apps
+ for icon in admin desktop icon wizard; do
+ dosym /usr/NX/share/icons/${size}/nxclient-${icon}.png \
+ /usr/share/icons/hicolor/${size}/apps
+ done
+ done
+ make_desktop_entry "nxclient" "NX Client" nxclient-icon
+ make_desktop_entry "nxclient -admin" "NX Session Administrator" nxclient-admin
+ make_desktop_entry "nxclient -wizard" "NX Connection Wizard" nxclient-wizard
+}
diff --git a/net-misc/nxnode/ChangeLog b/net-misc/nxnode/ChangeLog
new file mode 100644
index 0000000..d59fa00
--- /dev/null
+++ b/net-misc/nxnode/ChangeLog
@@ -0,0 +1,339 @@
+# ChangeLog for net-misc/nxnode
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nxnode/ChangeLog,v 1.70 2012/07/12 08:49:36 voyageur Exp $
+
+ 12 Jul 2012; Bernard Cafarelli <voyageur@gentoo.org> nxnode-3.5.0.4.ebuild,
+ nxnode-3.5.0.7.ebuild, nxnode-3.5.0.9.ebuild:
+ Add GPL-2 to LICENSE for init script, bug #426078
+
+*nxnode-3.5.0.9 (07 Jun 2012)
+
+ 07 Jun 2012; Bernard Cafarelli <voyageur@gentoo.org> nxnode-3.5.0.4.ebuild,
+ -nxnode-3.5.0.6.ebuild, nxnode-3.5.0.7.ebuild, +nxnode-3.5.0.9.ebuild:
+ Maintenance release bump, mostly fixes for newer cairo support. Inherit user
+ eclass
+
+*nxnode-3.5.0.7 (04 Nov 2011)
+
+ 04 Nov 2011; Bernard Cafarelli <voyageur@gentoo.org> +nxnode-3.5.0.7.ebuild:
+ Maintenance release bump, mostly fixes for rootless, shadow and vnc sessions
+
+ 23 Sep 2011; Bernard Cafarelli <voyageur@gentoo.org> -nxnode-3.4.0.6.ebuild,
+ -nxnode-3.4.0.16-r1.ebuild, -nxnode-3.5.0.3.ebuild, nxnode-3.5.0.4.ebuild,
+ nxnode-3.5.0.6.ebuild:
+ Remove vulnerable versions, security bugs #378345 and #384097. Also remove
+ old blocker on <3.0 versions
+
+*nxnode-3.5.0.6 (24 Aug 2011)
+
+ 24 Aug 2011; Bernard Cafarelli <voyageur@gentoo.org> +nxnode-3.5.0.6.ebuild:
+ Maintenance release bump, mostly fixes to work with nxplayer
+
+ 23 Aug 2011; Markos Chandras <hwoarang@gentoo.org> nxnode-3.5.0.4.ebuild:
+ Stable on amd64 wrt bug #378345
+
+ 20 Aug 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> nxnode-3.5.0.4.ebuild:
+ x86 stable wrt security bug #378345
+
+*nxnode-3.5.0.4 (08 Aug 2011)
+
+ 08 Aug 2011; Bernard Cafarelli <voyageur@gentoo.org> nxnode-3.4.0.6.ebuild,
+ nxnode-3.4.0.16-r1.ebuild, nxnode-3.5.0.3.ebuild, +nxnode-3.5.0.4.ebuild:
+ Maintenance release bump, fix security issue on nxconfigure.sh script and may
+ fix bug #282117. Drop obsolete net-misc/vnc dependency
+
+*nxnode-3.5.0.3 (22 May 2011)
+
+ 22 May 2011; Bernard Cafarelli <voyageur@gentoo.org> -nxnode-3.4.0.14.ebuild,
+ -nxnode-3.4.0.16.ebuild, +nxnode-3.5.0.3.ebuild:
+ 3.5.0 version bump, mostly fixes consolidation from 3.4.0 branch. Drop some
+ 3.4.0 versions
+
+*nxnode-3.4.0.16-r1 (13 Mar 2011)
+
+ 13 Mar 2011; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxnode-3.4.0.16-r1.ebuild, +files/nxnode-3.4.0-cups_path.patch:
+ Fix cups backend detection, patch by Bruno Redondi <bruno.redondi@ngi.it> in
+ bug #341871
+
+*nxnode-3.4.0.16 (10 Feb 2011)
+
+ 10 Feb 2011; Bernard Cafarelli <voyageur@gentoo.org>
+ -nxnode-3.4.0.6-r1.ebuild, -nxnode-3.4.0.13.ebuild, +nxnode-3.4.0.16.ebuild:
+ Maintenance release bump, remove some old versions
+
+ 22 Dec 2010; Bernard Cafarelli <voyageur@gentoo.org> nxnode-3.4.0.14.ebuild:
+ Depend on nxclient with USE=cups
+
+*nxnode-3.4.0.14 (26 Aug 2010)
+
+ 26 Aug 2010; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxnode-3.4.0.14.ebuild:
+ Maintenance release bump
+
+ 14 Jun 2010; Bernard Cafarelli <voyageur@gentoo.org>
+ -nxnode-3.3.0.17.ebuild:
+ Drop 3.3 NX versions
+
+*nxnode-3.4.0.13 (14 Jun 2010)
+
+ 14 Jun 2010; Bernard Cafarelli <voyageur@gentoo.org>
+ -nxnode-3.4.0.11.ebuild, +nxnode-3.4.0.13.ebuild:
+ Second maintenance release bump, fixes bug #304743
+
+*nxnode-3.4.0.11 (09 Feb 2010)
+
+ 09 Feb 2010; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxnode-3.4.0.11.ebuild:
+ Maintenance release bump
+
+ 18 Jan 2010; Bernard Cafarelli <voyageur@gentoo.org>
+ nxnode-3.3.0.17.ebuild, nxnode-3.4.0.6.ebuild, nxnode-3.4.0.6-r1.ebuild:
+ Missing lsof rdepend, bug #301268
+
+*nxnode-3.4.0.6-r1 (15 Dec 2009)
+
+ 15 Dec 2009; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxnode-3.4.0.6-r1.ebuild, +files/nxnode-3.4.0-setup.patch:
+ Change Gnome start command, bug #292480
+
+ 15 Dec 2009; Bernard Cafarelli <voyageur@gentoo.org>
+ -nxnode-3.3.0.3.ebuild, -nxnode-3.3.0.12.ebuild, -nxnode-3.3.0.22.ebuild:
+ Drop first 3.3.0 versions
+
+ 25 Nov 2009; Markus Meier <maekke@gentoo.org> nxnode-3.4.0.6.ebuild:
+ amd64 stable, bug #291619
+
+ 25 Nov 2009; Markus Meier <maekke@gentoo.org> nxnode-3.4.0.6.ebuild:
+ x86 stable, bug #291619
+
+ 01 Oct 2009; Bernard Cafarelli <voyageur@gentoo.org>
+ nxnode-3.4.0.6.ebuild:
+ Fix dependency on nxclient, also drop blocker on freenx
+
+*nxnode-3.4.0.6 (30 Sep 2009)
+
+ 30 Sep 2009; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxnode-3.4.0.6.ebuild:
+ 3.4.0 version bump. This version brings new capabilities such as: support
+ for CUPS 1.4 printing system, better detection of system commands to run
+ KDE and Gnome sessions and the possibility of configuring the server to
+ allow run sessions as the root user, and bugfixes (nxagent crash, cut and
+ paste problems, text on the titlebar in rootless session, ...)
+
+ 17 Sep 2009; Bernard Cafarelli <voyageur@gentoo.org>
+ nxnode-3.3.0.22.ebuild:
+ Fix vnc depend, as discussed in bug #262147 for freenx
+
+ 07 Sep 2009; Markus Meier <maekke@gentoo.org> nxnode-3.3.0.17.ebuild:
+ amd64/x86 stable, bug #283075
+
+*nxnode-3.3.0.22 (01 Sep 2009)
+
+ 01 Sep 2009; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxnode-3.3.0.22.ebuild:
+ Third maintenance release bump for 3.3.0, bugfixes including a nxagent
+ crash on amd64
+
+ 28 Aug 2009; Petteri Räty <betelgeuse@gentoo.org> nxnode-3.3.0.17.ebuild:
+ Migrate to EAPI 2 in order to remove built_with_use usage.
+
+ 29 May 2009; Bernard Cafarelli <voyageur@gentoo.org> -nxnode-3.2.0.ebuild,
+ -nxnode-3.2.0-r3.ebuild, -nxnode-3.2.0.13.ebuild:
+ Removing 3.2 versions, including security-vulnerable 3.2.0, bug #271745
+
+ 04 Apr 2009; Markus Meier <maekke@gentoo.org> nxnode-3.3.0.12.ebuild:
+ amd64/x86 stable, bug #262910
+
+*nxnode-3.3.0.17 (25 Mar 2009)
+
+ 25 Mar 2009; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxnode-3.3.0.17.ebuild:
+ Version bump, third maintenance release. Bugfixes and a memory leak with
+ PNG compression
+
+ 08 Mar 2009; Markus Meier <maekke@gentoo.org> nxnode-3.3.0.3.ebuild:
+ x86 stable, bug #256414
+
+ 05 Feb 2009; Richard Freeman <rich0@gentoo.org> nxnode-3.3.0.3.ebuild:
+ amd64 stable - 256414
+
+*nxnode-3.3.0.12 (23 Jan 2009)
+
+ 23 Jan 2009; Bernard Cafarelli <voyageur@gentoo.org>
+ -nxnode-3.3.0.11.ebuild, +nxnode-3.3.0.12.ebuild:
+ Second 3.3.0 maintenance release, fixes session stability problems with
+ Firefox, OpenOffice, VMware, flickerings when updating the screen, and
+ other bugfixes
+
+*nxnode-3.3.0.11 (16 Jan 2009)
+
+ 16 Jan 2009; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxnode-3.3.0.11.ebuild:
+ Maintenance release version bump
+
+*nxnode-3.3.0.3 (21 Nov 2008)
+
+ 21 Nov 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxnode-3.3.0.3.ebuild:
+ 3.3.0 version bump
+
+*nxnode-3.2.0.13 (25 Aug 2008)
+
+ 25 Aug 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxnode-3.2.0.13.ebuild:
+ Maintenance release bump, add minor release to ebuild version
+
+ 21 Jul 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ -nxnode-3.1.0-r2.ebuild:
+ Remove old 3.1 version
+
+ 06 Jul 2008; Markus Meier <maekke@gentoo.org> nxnode-3.2.0-r3.ebuild:
+ amd64 stable, bug #230147
+
+ 03 Jul 2008; Christian Faulhammer <opfer@gentoo.org>
+ nxnode-3.2.0-r3.ebuild:
+ stable x86, security bug 230147
+
+*nxnode-3.2.0-r3 (30 Jun 2008)
+
+ 30 Jun 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ -nxnode-3.2.0-r1.ebuild, -nxnode-3.2.0-r2.ebuild, +nxnode-3.2.0-r3.ebuild:
+ Security bump, bug #230147
+
+*nxnode-3.2.0-r2 (16 Jun 2008)
+
+ 16 Jun 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxnode-3.2.0-r2.ebuild:
+ Maintenance release bump, minor bugfixes
+
+ 05 Jun 2008; Peter Volkov <pva@gentoo.org> nxnode-3.2.0.ebuild:
+ amd64 stable, bug #222967.
+
+ 29 May 2008; Christian Faulhammer <opfer@gentoo.org> nxnode-3.2.0.ebuild:
+ x86 stable, bug #222967
+
+*nxnode-3.2.0-r1 (28 May 2008)
+
+ 28 May 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxnode-3.2.0-r1.ebuild:
+ Maintenance release bump, minor bugfixes
+
+*nxnode-3.2.0 (09 Apr 2008)
+
+ 09 Apr 2008; Bernard Cafarelli <voyageur@gentoo.org> +nxnode-3.2.0.ebuild:
+ Version bump, new 3.2.0 series
+
+ 03 Apr 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ -nxnode-3.0.0-r3.ebuild:
+ Remove vulnerable version, security bug #210317
+
+ 19 Mar 2008; Peter Volkov <pva@gentoo.org> nxnode-3.1.0-r2.ebuild:
+ amd64 stable, security bug #210317.
+
+ 07 Mar 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ nxnode-3.0.0-r3.ebuild, -nxnode-3.0.0-r4.ebuild, -nxnode-3.1.0.ebuild,
+ -nxnode-3.1.0-r1.ebuild, nxnode-3.1.0-r2.ebuild:
+ Fix chown on license file (create nx user preventively, use nx:0), thanks pva
+ Remove some versions (security bug #210317)
+
+ 18 Feb 2008; Christian Faulhammer <opfer@gentoo.org>
+ nxnode-3.1.0-r2.ebuild:
+ stable x86, security bug 210317
+
+*nxnode-3.1.0-r2 (17 Feb 2008)
+
+ 17 Feb 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxnode-3.1.0-r2.ebuild:
+ Security update, bug #210317
+ Shorten DESCRIPTION
+
+*nxnode-3.1.0-r1 (24 Jan 2008)
+
+ 24 Jan 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxnode-3.1.0-r1.ebuild:
+ Maintenance release bump
+
+*nxnode-3.1.0 (14 Dec 2007)
+
+ 14 Dec 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ nxnode-3.0.0-r3.ebuild, nxnode-3.0.0-r4.ebuild, +nxnode-3.1.0.ebuild:
+ Version bump, update dependencies in 3.0.0 ebuilds
+
+*nxnode-3.0.0-r4 (03 Dec 2007)
+
+ 03 Dec 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxnode-3.0.0-r4.ebuild:
+ Version bump
+
+ 20 Sep 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ -files/nxnode-2.1.0-init, -files/nxnode-2.1.0-setup.patch,
+ -nxnode-2.1.0.ebuild, -nxnode-3.0.0-r2.ebuild:
+ Remove vulnerable NX 2.1 versions, security bug #192712
+
+ 20 Sep 2007; Robert Buchholz <rbu@gentoo.org> nxnode-3.0.0-r3.ebuild:
+ amd64 stable (bug #180040)
+
+ 20 Sep 2007; Christian Faulhammer <opfer@gentoo.org>
+ nxnode-3.0.0-r3.ebuild:
+ stable x86, security bug 192712
+
+*nxnode-3.0.0-r3 (18 Sep 2007)
+
+ 18 Sep 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxnode-3.0.0-r3.ebuild:
+ Third maintenance release
+
+*nxnode-3.0.0-r2 (22 Jul 2007)
+
+ 22 Jul 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ -nxnode-3.0.0-r1.ebuild, +nxnode-3.0.0-r2.ebuild:
+ Second maintenance release and security bump, bug #185398
+
+ 06 Jul 2007; Bernard Cafarelli <voyageur@gentoo.org> -nxnode-3.0.0.ebuild:
+ Removed old version
+
+ 03 Jul 2007; Christian Faulhammer <opfer@gentoo.org> nxnode-2.1.0.ebuild:
+ stable x86, bug 180040
+
+*nxnode-3.0.0-r1 (02 Jul 2007)
+
+ 02 Jul 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ +files/nxnode-3.0.0-init, +nxnode-3.0.0-r1.ebuild:
+ Maintenance release and nxsensor script fix
+
+ 02 Jul 2007; Bernard Cafarelli <voyageur@gentoo.org> nxnode-3.0.0.ebuild:
+ Fixed error message typo
+
+ 02 Jul 2007; Piotr Jaroszyński <peper@gentoo.org> nxnode-2.1.0.ebuild,
+ nxnode-3.0.0.ebuild:
+ (QA) RESTRICT clean up.
+
+ 21 Jun 2007; Bernard Cafarelli <voyageur@gentoo.org> nxnode-3.0.0.ebuild:
+ Only check VNC installation when vnc USE flag is set
+
+*nxnode-3.0.0 (21 Jun 2007)
+
+ 21 Jun 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ +files/nxnode-3.0.0-setup.patch, +nxnode-3.0.0.ebuild:
+ Version bump, thanks to Timo Gurr <psy@monsterserver.de> in bug #182779
+
+ 27 May 2007; Bernard Cafarelli <voyageur@gentoo.org> nxnode-2.1.0.ebuild:
+ Dropped glib-1.2 dependency
+
+ 12 May 2007; Bernard Cafarelli <voyageur@gentoo.org> metadata.xml:
+ Fixed maintainer in metadata.xml
+
+ 28 Apr 2007; Sven Wegener <swegener@gentoo.org> nxnode-2.1.0.ebuild:
+ Fix *initd, *confd and *envd calls (#17388, #174266)
+
+ 26 Apr 2007; Bernard Cafarelli <voyageur@gentoo.org> nxnode-2.1.0.ebuild:
+ Cleaning old blockers
+
+*nxnode-2.1.0 (30 Mar 2007)
+
+ 30 Mar 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ +files/nxnode-2.1.0-init, +files/nxnode-2.1.0-setup.patch, +metadata.xml,
+ +nxnode-2.1.0.ebuild:
+ Initial commit, bug #153866
+
diff --git a/net-misc/nxnode/Manifest b/net-misc/nxnode/Manifest
new file mode 100644
index 0000000..9332630
--- /dev/null
+++ b/net-misc/nxnode/Manifest
@@ -0,0 +1,8 @@
+AUX nxnode-3.0.0-init 1344 SHA256 d0da14f4dac0b3c325086a5b4b1929456681822011b0996d48cee5265e10cce5 SHA512 c92ef3e53755389b3598c1458dbc90dd6ecbca555912b4438032283d6b6c46dcf47f5965147a10baff25ad435b75804300d2a74d8124e3748f7b33ecca790eb8 WHIRLPOOL 288c10714e1aa5ca8e16eb703cd6ec39ba49bf834314b801f9f3e37d9b76674ad9c0e0f6670968635f78192a0446e3f54e139efc25dffc70f6ea31dcb5a50073
+AUX nxnode-3.4.0-cups_path.patch 528 SHA256 17bb5f2636de1ba5550fca8811f877c743ffaba9c5db20a1ce613aec8d5a3587 SHA512 8b20dfa2a2491f41d3739b283bc9d0d31fe5fdc703a9b0aacdf760182b1ce5713dbcbf905929d1d02c07a4a3049ef21cd8f7f4e7625662356f5b7d1dab02d16e WHIRLPOOL 8182a2033eb46385a540658e61223c5c41cee92e2df9f502a429f2a1be6cb236ccd8c0a04d23efbdf88d174beabd384ef02917a08f6a5964004e0a9e3808d887
+AUX nxnode-3.4.0-setup.patch 1874 SHA256 d5812c14ac593c9d8a337d12aacb329a59fc6b2c126aaa42107a9ff70cff562b SHA512 100d4d844113ee42da9ae4c04c74c27ee154800ec48eb96de2e3d2cd5984cfcd28e9770b1ebbf54ef39de771d4e0e1488e6679a86681d0c5fe80fc85168fde53 WHIRLPOOL ce3805918273464bdea32799c6fb51789dac51c0b32741cfbeed6a6ad9720b6b7bf486b959d13184546cf02566b83b5b12fa4b174a88de1a3ba7cc49a5b60fff
+DIST nxnode-3.5.0-9.i386.tar.gz 6047696 SHA256 93310cd78617ca3619fbf093d6760c00459367ebf824ec643c1c5f20202d8488 SHA512 6d35c0bbc436e1773349c2b2c54039c6c5caabdf95977e0281d1be66402e65a977cbcce6f384f42e068db788785f2722f0ed5a5564acbeef2a64cd7b23f52ef6 WHIRLPOOL 9bda55697ea59d9595ef763d73b6b8c4254941cfe4eb79c8fbfa537f5cdf8cc2ead1c5537daca7b995fbde7a003f2cd8f9c817ccad4c2cabedd15d0cedcce191
+DIST nxnode-3.5.0-9.x86_64.tar.gz 6748262 SHA256 555ed1d18280825075c617effec2cfdc83fd2d8be189b08b09288abefbe86238 SHA512 151858b7417abcbc42fffe55cff4bc43fa2d7245c10d77d83557ff68936d5cd2199e7a7c7b0156c580a1a0b3b6b218313138113c94354e969ce0c27b26fd86f9 WHIRLPOOL 8e824828f929dac83ddda076afd4e99e35dbe52354d265b8bae406f8de4c51f01e690afd547b83028f1bd6c90094631022b549f27bd0d5729fb31350003d5190
+EBUILD nxnode-3.5.0.9.ebuild 2838 SHA256 53eaffa29558d581bd2e177614540240603350865c156daa7e43f20b3fce3e1b SHA512 d0fbfc0fa36d66755e4a8c493be4e83ae3377af29f6abb6418d23540de385a6ae31c287d510d4689ca1145d988e9fdd94a594e95e4ae955291618c341031dd1a WHIRLPOOL f36efe0ca6113db08ed1e1bf33a8f399dcef40050d79f2b237a0947360b5daaef54cd23f85c185d611b1c1096d12b38787ce4a6be7daef1618067e99ea3efc30
+MISC ChangeLog 11585 SHA256 8dbb2a97a0693693ca7573dfebe2e5db607c8af755f01a976e2619be0ec360be SHA512 b960a113767274eb6eb8f8a3c5eee96d1787084f473390450d04121a767e6ae2a17195f87fafd592ef8b627d561f4176511b57bef61449db070904dbfcea31d0 WHIRLPOOL 3b378bb4e2c4ea7bab6608be409cd121d9db08aea545d7308f481062a836de16b1f4610d320371bab4a6f930b3e688c68e4d71fe62d8d16453ddecc2a1fd5011
+MISC metadata.xml 264 SHA256 3eaf6b268d16ec374617534bf70f0e96d2c6399ca1b0d4ffa3eeee619d775171 SHA512 f6cd27b05c66a2890b5b9474cb56820fdc44ebbb7c9e4d23c9581f9c79c11c41e86d16428a47fe12133db8e3f34fd88e815393729232c4a8ee90cf0c4cb5dc32 WHIRLPOOL feac429f964a1c9570264b391868649a23095c71dcec0e78cf233868e5d9ba2341e1228bbaf94db933fde2f85d2d91cd805ed175ea71175374a50138057817a1
diff --git a/net-misc/nxnode/files/nxnode-3.0.0-init b/net-misc/nxnode/files/nxnode-3.0.0-init
new file mode 100644
index 0000000..8b897db
--- /dev/null
+++ b/net-misc/nxnode/files/nxnode-3.0.0-init
@@ -0,0 +1,68 @@
+#!/sbin/runscript
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+NX_NODE_CFG="/usr/NX/etc/node.cfg"
+NX_SENSOR_CMD="/usr/NX/bin/nxsensor"
+NX_SENSOR_PID="/usr/NX/var/run/nxsensor.pid"
+NX_SENSOR_HOST="127.0.0.1"
+NX_SENSOR_PORT="19250"
+
+depend()
+{
+ need net
+}
+
+is_enabled()
+{
+ local tmp
+
+ if ! [[ -x $NX_SENSOR_CMD ]] ; then
+ eerror "$NX_SENSOR_CMD not found"
+ return 1
+ fi
+
+ tmp=`/usr/bin/awk -F'"' '/^EnableSensor/ {print $2}' $NX_NODE_CFG`
+ if [[ $tmp != "1" ]]; then
+ eerror "nxsensor is disabled in $NX_NODE_CFG"
+ return 1
+ fi
+
+ tmp=`/usr/bin/awk -F'"' '/^StatisticsHost/ {print $2}' $NX_NODE_CFG`
+ if [[ -n $tmp ]] ; then
+ NX_SENSOR_HOST="$tmp"
+ fi
+
+ tmp=`/usr/bin/awk -F'"' '/^NodeSensorPort/ {print $2}' $NX_NODE_CFG`
+ if [[ -n $tmp ]] ; then
+ NX_SENSOR_PORT="$tmp"
+ fi
+
+ return 0
+}
+
+start() {
+ is_enabled || return 1
+ ebegin "Starting nxsensor"
+ $NX_SENSOR_CMD -a $NX_SENSOR_HOST -a "::ffff:$NX_SENSOR_HOST" -P $NX_SENSOR_PORT -d
+ PID=`ps -ef | grep $NX_SENSOR_CMD | grep -v grep | awk '{print $2}'`
+ if [[ -z $PID ]] ; then
+ eend 1
+ else
+ echo $PID > $NX_SENSOR_PID
+ eend 0
+ fi
+}
+
+stop() {
+ ebegin "Stopping nxsensor"
+ PID=`cat $NX_SENSOR_PID`
+ if [[ -z $PID ]] ; then
+ eerror "nxsensor not started"
+ eend 1
+ else
+ kill $PID
+ rm -f $NX_SENSOR_PID
+ eend 0
+ fi
+}
diff --git a/net-misc/nxnode/files/nxnode-3.4.0-cups_path.patch b/net-misc/nxnode/files/nxnode-3.4.0-cups_path.patch
new file mode 100644
index 0000000..a4a3822
--- /dev/null
+++ b/net-misc/nxnode/files/nxnode-3.4.0-cups_path.patch
@@ -0,0 +1,12 @@
+diff -ruN NX~/scripts/setup/nxnode NX/scripts/setup/nxnode
+--- NX~/scripts/setup/nxnode 2010-08-04 12:34:28.000000000 +0200
++++ NX/scripts/setup/nxnode 2010-10-20 12:34:05.418016564 +0200
+@@ -25,7 +25,7 @@
+
+ WRAPPER="$NODE_ROOT/bin/nxuexec"
+
+-CUPS_PATH="/usr /opt/sfw/cups /usr/local /usr/lib /opt/csw"
++CUPS_PATH="/usr /opt/sfw/cups /usr/local /usr/lib /opt/csw /usr/libexec"
+ SMB_PATH="/sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin"
+ CUPS_CERTS_DIR="/var/run/cups/certs /var/lib/cups/certs /etc/cups/certs"
+
diff --git a/net-misc/nxnode/files/nxnode-3.4.0-setup.patch b/net-misc/nxnode/files/nxnode-3.4.0-setup.patch
new file mode 100644
index 0000000..f4a70f6
--- /dev/null
+++ b/net-misc/nxnode/files/nxnode-3.4.0-setup.patch
@@ -0,0 +1,61 @@
+--- scripts/setup/nxnode.orig 2009-09-24 18:12:36.000000000 +0200
++++ scripts/setup/nxnode 2009-12-15 21:22:27.000000000 +0100
+@@ -481,7 +481,7 @@
+ echo "#
+ # Specify path and name of the command to start the GNOME session.
+ #
+-CommandStartGnome=\"$DBUS_PATH --exit-with-session gnome-session\"
++CommandStartGnome=\"/etc/X11/Sessions/Gnome\"
+ " >> $CONFIG_FILE;
+ fi
+
+@@ -525,7 +525,7 @@
+ cmdGnome="/etc/X11/Xsession gnome-session"
+ elif [ $DBUS = "1" ] && [ "x$DBUS_PATH" != "x" ];
+ then
+- cmdGnome="$DBUS_PATH --exit-with-session gnome-session"
++ cmdGnome="/etc/X11/Sessions/Gnome"
+ else
+ cmdGnome="gnome-session"
+ fi
+@@ -1421,6 +1421,10 @@
+ runCommand "$RMCOMMAND -f /etc/rc0.d/K01nxsensor" "Unable to remove '/etc/rc0.d/K01nxsensor'" "warn"
+ fi
+
++ elif [ "$system" = "gentoo" ]; then
++ # do nothing; this is handled by Gentoo ebuild
++ echo > /dev/null
++
+ else
+ if [ -h /etc/rc.d/rc3.d/S99nxsensor ];
+ then
+@@ -1465,6 +1469,10 @@
+
+ addNXinit () {
+
++ if [ "$system" = "gentoo" ] ; then
++ return;
++ fi
++
+ runCommand "cat $NODE_ROOT/scripts/init/nxsensor > /etc/init.d/nxsensor" "Unable to create: '/etc/init.d/nxsensor'" "warn"
+ runCommand "chmod +x /etc/init.d/nxsensor" "Cannot set permissions of '/etc/init.d/nxsensor' file" "warn"
+
+@@ -2489,6 +2497,10 @@
+ system=fedora
+ fi
+
++if [ -d /usr/portage ]; then
++ system=gentoo
++fi
++
+ if [ "x$system" = "x" -a -f /etc/release ];
+ then
+ system=solaris
+@@ -2523,6 +2535,7 @@
+ "fedora" ) ;;
+ "debian" ) ;;
+ "solaris" ) ;;
++ "gentoo" );;
+ "" ) ARGS=-1 && errMsg="$PREFIX $ERROR ERROR: Unable to autodetect the operating system type, please specify it" ;;
+ * ) ARGS=-1 && errMsg="$PREFIX $ERROR ERROR: Unsupported operating system '$system'" ;;
+ esac
diff --git a/net-misc/nxnode/metadata.xml b/net-misc/nxnode/metadata.xml
new file mode 100644
index 0000000..88915d1
--- /dev/null
+++ b/net-misc/nxnode/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>nx</herd>
+<longdescription>Shared components between the different editions of NoMachine's NX Server</longdescription>
+</pkgmetadata>
diff --git a/net-misc/nxnode/nxnode-3.5.0.9.ebuild b/net-misc/nxnode/nxnode-3.5.0.9.ebuild
new file mode 100644
index 0000000..b2eebb1
--- /dev/null
+++ b/net-misc/nxnode/nxnode-3.5.0.9.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nxnode/nxnode-3.5.0.9.ebuild,v 1.2 2012/07/12 08:49:36 voyageur Exp $
+
+EAPI=4
+
+inherit eutils user versionator
+
+MAJOR_PV="$(get_version_component_range 1-3)"
+FULL_PV="${MAJOR_PV}-$(get_version_component_range 4)"
+DESCRIPTION="shared components between the different editions of NoMachine's NX Servers"
+HOMEPAGE="http://www.nomachine.com/"
+SRC_URI="amd64? ( http://download.nomachine.com/download/${MAJOR_PV}/Linux/nxnode-${FULL_PV}.x86_64.tar.gz )
+ x86? ( http://download.nomachine.com/download/${MAJOR_PV}/Linux/nxnode-${FULL_PV}.i386.tar.gz )"
+
+# GPL-2 for Gentoo init script
+LICENSE="nomachine GPL-2"
+SLOT="0"
+KEYWORDS="-* amd64 x86"
+IUSE="rdesktop vnc"
+RESTRICT="strip"
+
+DEPEND=""
+RDEPEND="=net-misc/nxclient-${MAJOR_PV}*[cups]
+ sys-process/lsof
+ x11-libs/libICE
+ x11-libs/libXmu
+ x11-libs/libSM
+ x11-libs/libXt
+ x11-libs/libXaw
+ x11-libs/libXpm
+ x11-apps/xrdb
+ rdesktop? ( net-misc/rdesktop )
+ vnc? ( x11-misc/x11vnc
+ net-misc/tightvnc )"
+
+S=${WORKDIR}/NX
+
+pkg_preinst()
+{
+ enewuser nx -1 -1 /usr/NX/home/nx
+}
+
+src_prepare()
+{
+ epatch "${FILESDIR}"/nxnode-3.4.0-setup.patch
+ epatch "${FILESDIR}"/nxnode-3.4.0-cups_path.patch
+}
+
+src_install()
+{
+ # we install nxnode into /usr/NX, to make sure it doesn't clash
+ # with libraries installed for FreeNX
+
+ into /usr/NX
+ for x in nxagent nxnode nxsensor nxspool nxuexec ; do
+ dobin bin/$x
+ done
+
+ dodir /usr/NX/etc
+ cp etc/node-debian.cfg.sample "${D}"/usr/NX/etc/node-gentoo.cfg.sample || die
+ sed -e 's|COMMAND_FUSER = .*|COMMAND_FUSER = "/usr/bin/fuser"|;' -i "${D}"/usr/NX/etc/node-gentoo.cfg.sample || die
+ cp etc/node.lic.sample "${D}"/usr/NX/etc/node.lic.sample || die
+
+ dodir /usr/NX/lib
+ cp -R lib "${D}"/usr/NX || die
+
+ dodir /usr/NX/scripts
+ cp -R scripts "${D}"/usr/NX || die
+
+ dodir /usr/NX/share
+ cp -R share "${D}"/usr/NX || die
+
+ dodir /usr/NX/var
+ cp -R var "${D}"/usr/NX || die
+
+ dodir /etc/init.d
+ newinitd "${FILESDIR}"/nxnode-3.0.0-init nxsensor
+}
+
+pkg_postinst()
+{
+ # Only install license file if none is found
+ if [ ! -f /usr/NX/etc/node.lic ]; then
+ cp "${ROOT}"/usr/NX/etc/node.lic.sample "${ROOT}"/usr/NX/etc/node.lic || die
+ chmod 0400 "${ROOT}"/usr/NX/etc/node.lic
+ chown nx:0 "${ROOT}"/usr/NX/etc/node.lic
+ fi
+
+ # only run install on the first time
+ if [ -f /usr/NX/etc/node.cfg ]; then
+ einfo "Running NoMachine's update script"
+ "${ROOT}"/usr/NX/scripts/setup/nxnode --update
+ else
+ einfo "Running NoMachine's setup script"
+ "${ROOT}"/usr/NX/scripts/setup/nxnode --install
+ fi
+
+ elog "If you want server statistics, please add nxsensor to your default runlevel"
+ elog
+ elog " rc-update add nxsensor default"
+ elog
+ elog "You will also need to change EnableSensor to 1 in /usr/NX/etc/node.cfg"
+}
diff --git a/net-misc/nxsadmin/ChangeLog b/net-misc/nxsadmin/ChangeLog
new file mode 100644
index 0000000..691e809
--- /dev/null
+++ b/net-misc/nxsadmin/ChangeLog
@@ -0,0 +1,22 @@
+# ChangeLog for net-misc/nxsadmin
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nxsadmin/ChangeLog,v 1.4 2015/02/23 20:37:02 mgorny Exp $
+
+ 23 Feb 2015; Michał Górny <mgorny@gentoo.org> nxsadmin-0.2.1-r1.ebuild:
+ Fix HOMEPAGE & SRC_URI, bug #537776. https://github.com/gentoo/gentoo-portage-
+ rsync-mirror/pull/54 by mm1ke.
+
+*nxsadmin-0.2.1-r1 (02 Jan 2015)
+
+ 02 Jan 2015; Manuel Rüger <mrueg@gentoo.org> +nxsadmin-0.2.1-r1.ebuild,
+ -nxsadmin-0.2.1.ebuild:
+ Bump to EAPI 5
+
+ 29 Mar 2011; Nirbheek Chauhan <nirbheek@gentoo.org> nxsadmin-0.2.1.ebuild:
+ Fix slot-dep on gnome-mm libs
+
+*nxsadmin-0.2.1 (07 Jan 2009)
+
+ 07 Jan 2009; Bernard Cafarelli <voyageur@gentoo.org> +metadata.xml,
+ +nxsadmin-0.2.1.ebuild:
+ Initial commit
diff --git a/net-misc/nxsadmin/Manifest b/net-misc/nxsadmin/Manifest
new file mode 100644
index 0000000..c98d9a9
--- /dev/null
+++ b/net-misc/nxsadmin/Manifest
@@ -0,0 +1,4 @@
+DIST nxsadmin-0.2.1.tar.gz 303503 SHA256 31945a04ab243e4f72faa8774da2c012928cf80c37eda3779e9d8c0e2bfca70a SHA512 569ca8bd65d0d4c3c1ca6a56ad3afe80fb8637a7ee3b01236a5ef4329d11e6edfb8aa308cc1ce0ccac10eb98df359b2facaaa68a4db5f43330f7cb206a7209c1 WHIRLPOOL 2484accd41ea1c4284427eeef40025080a98b79dd5e1ffd75144bdf80dc6151aaf49a18819bb16bb255676543a8d8d73a3dd4dacae2456e5e0e67a281078a51f
+EBUILD nxsadmin-0.2.1-r1.ebuild 719 SHA256 f3fabcfdc307a65e77c33e0f3fb88a118ac4278160e39107dcb9d8ca215444c0 SHA512 9904bc1608e17fe968ad5ab767ca9dce9b98a65c4e81419be6171761a3869b1f26fb66ef51e00c014b4ebd20b1b4cecfb10c3110cb07c3c5dab63da2592e9953 WHIRLPOOL 08554877926d27c12c3c9a3e26d2fa383f25a40b82be3403b80e9572abdee0b07a90bd751c968f8879e1b2e14dd347a573391e9fce5d91fc6a3065c2ab3f0c6f
+MISC ChangeLog 805 SHA256 d8de362cfe03a2850c8071a7b87e75be9b9e154e4853f13467b29d65cc808a1a SHA512 fa32d3fce4b249a1c15b6259a7543684189021fcc79d9a783ef967c3e075db2bc4d867a74c018d781126f8db75ae62dc114769677f84b3adbca9914f2cf14807 WHIRLPOOL 0b7eaaa6fc529eb15753827208fd62b27e4500ac227b64e8b45666999076b8835037b65ffc62eff2df49c6eed0d901de4dc73b1acae400f9fc598c529865e2bb
+MISC metadata.xml 360 SHA256 eacec9169edda2cf43dae5f5862550c3dd23592cfd09c557b734d11eb1783ad0 SHA512 bd3e8f8d61cac579d345a1fe23ce31b840871e2863dec66150c544f91cd961ce810b1edd0b8eee3f64e6d98756846dae2f571126ce8f0c4e722c0a9bc739f3b4 WHIRLPOOL 21b41dec153aac965901410749ee5a1811f84aa954d2b6d567f793b47ee02c80b54ae432e207b440df47d319a6cffc3b89875736f4948ba8e07c2a3bc712b180
diff --git a/net-misc/nxsadmin/metadata.xml b/net-misc/nxsadmin/metadata.xml
new file mode 100644
index 0000000..a44ad2b
--- /dev/null
+++ b/net-misc/nxsadmin/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>nx</herd>
+ <maintainer>
+ <email>voyageur@gentoo.org</email>
+ <name>Bernard Cafarelli</name>
+ </maintainer>
+ <longdescription>graphical tool for management of active NX sessions on FreeNX server</longdescription>
+</pkgmetadata>
diff --git a/net-misc/nxsadmin/nxsadmin-0.2.1-r1.ebuild b/net-misc/nxsadmin/nxsadmin-0.2.1-r1.ebuild
new file mode 100644
index 0000000..2fa4012
--- /dev/null
+++ b/net-misc/nxsadmin/nxsadmin-0.2.1-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nxsadmin/nxsadmin-0.2.1-r1.ebuild,v 1.2 2015/02/23 20:37:02 mgorny Exp $
+
+EAPI=5
+
+inherit autotools
+
+DESCRIPTION="graphical tool for management of active NX sessions on FreeNX server"
+HOMEPAGE="http://sourceforge.net/projects/nxsadmin.berlios/"
+SRC_URI="mirror://sourceforge/${PN}.berlios/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-cpp/gtkmm:2.4
+ dev-util/intltool"
+RDEPEND="dev-cpp/gtkmm:2.4
+ net-misc/nxserver-freenx"
+
+src_prepare() {
+ # Needs to be regenerated
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+}
diff --git a/net-misc/nxserver-freeedition/ChangeLog b/net-misc/nxserver-freeedition/ChangeLog
new file mode 100644
index 0000000..fb3dec1
--- /dev/null
+++ b/net-misc/nxserver-freeedition/ChangeLog
@@ -0,0 +1,346 @@
+# ChangeLog for net-misc/nxserver-freeedition
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freeedition/ChangeLog,v 1.62 2014/06/06 12:46:47 jer Exp $
+
+*nxserver-freeedition-3.5.0.11-r1 (22 Jan 2013)
+
+ 22 Jan 2013; Bernard Cafarelli <voyageur@gentoo.org>
+ -nxserver-freeedition-3.5.0.9.ebuild,
+ +nxserver-freeedition-3.5.0.11-r1.ebuild,
+ +files/nxserver-3.5.0.11-setup.patch:
+ Update nxserver patch to detect Gentoo based on /etc/os-release, fallback
+ /etc/gentoo-release, suggested by ssuominen in bug #380579
+
+ 12 Jul 2012; Bernard Cafarelli <voyageur@gentoo.org>
+ nxserver-freeedition-3.5.0.5.ebuild, nxserver-freeedition-3.5.0.9.ebuild,
+ nxserver-freeedition-3.5.0.11.ebuild:
+ Add GPL-2 to LICENSE for init script, bug #426080
+
+ 07 Jun 2012; Bernard Cafarelli <voyageur@gentoo.org>
+ nxserver-freeedition-3.5.0.5.ebuild, -nxserver-freeedition-3.5.0.8.ebuild,
+ nxserver-freeedition-3.5.0.9.ebuild, +nxserver-freeedition-3.5.0.11.ebuild:
+ Maintenance release bump, mostly fixes for newer cairo support. Inherit user
+ eclass
+
+*nxserver-freeedition-3.5.0.11 (07 Jun 2012)
+
+ 07 Jun 2012; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxserver-freeedition-3.5.0.11.ebuild:
+ Maintenance release bump, mostly fixes for newer cairo support
+
+*nxserver-freeedition-3.5.0.9 (04 Nov 2011)
+
+ 04 Nov 2011; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxserver-freeedition-3.5.0.9.ebuild:
+ Maintenance release bump, mostly fixes for rootless, shadow and vnc sessions
+
+ 23 Sep 2011; Bernard Cafarelli <voyageur@gentoo.org>
+ -nxserver-freeedition-3.4.0.8.ebuild, -nxserver-freeedition-3.4.0.17.ebuild,
+ -nxserver-freeedition-3.5.0.4.ebuild:
+ Remove vulnerable versions, security bugs #378345 and #384097
+
+*nxserver-freeedition-3.5.0.8 (24 Aug 2011)
+
+ 24 Aug 2011; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxserver-freeedition-3.5.0.8.ebuild:
+ Maintenance release bump, mostly fixes to work with nxplayer
+
+ 23 Aug 2011; Markos Chandras <hwoarang@gentoo.org>
+ nxserver-freeedition-3.5.0.5.ebuild:
+ Stable on amd64 wrt bug #378345
+
+ 20 Aug 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org>
+ nxserver-freeedition-3.5.0.5.ebuild:
+ x86 stable wrt security bug #378345
+
+*nxserver-freeedition-3.5.0.5 (08 Aug 2011)
+
+ 08 Aug 2011; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxserver-freeedition-3.5.0.5.ebuild:
+ Maintenance release bump, fix security issue on nxconfigure.sh script and may
+ fix bug #282117
+
+*nxserver-freeedition-3.5.0.4 (22 May 2011)
+
+ 22 May 2011; Bernard Cafarelli <voyageur@gentoo.org>
+ -nxserver-freeedition-3.4.0.15.ebuild, +nxserver-freeedition-3.5.0.4.ebuild:
+ 3.5.0 version bump, mostly fixes consolidation from 3.4.0 branch. Drop some
+ 3.4.0 versions
+
+*nxserver-freeedition-3.4.0.17 (02 Mar 2011)
+
+ 02 Mar 2011; Bernard Cafarelli <voyageur@gentoo.org>
+ -nxserver-freeedition-3.4.0.14.ebuild, +nxserver-freeedition-3.4.0.17.ebuild:
+ Maintenance release bump, remove some old versions
+
+*nxserver-freeedition-3.4.0.15 (10 Feb 2011)
+
+ 10 Feb 2011; Bernard Cafarelli <voyageur@gentoo.org>
+ -nxserver-freeedition-3.4.0.12.ebuild, +nxserver-freeedition-3.4.0.15.ebuild:
+ Maintenance release bump, remove some old versions
+
+*nxserver-freeedition-3.4.0.14 (26 Aug 2010)
+
+ 26 Aug 2010; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxserver-freeedition-3.4.0.14.ebuild:
+ Maintenance release bump
+
+ 14 Jun 2010; Bernard Cafarelli <voyageur@gentoo.org>
+ -nxserver-freeedition-3.3.0.14.ebuild:
+ Drop 3.3 NX versions
+
+*nxserver-freeedition-3.4.0.12 (09 Feb 2010)
+
+ 09 Feb 2010; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxserver-freeedition-3.4.0.12.ebuild:
+ Maintenance release bump, EAPI2 and remove built_with_use
+
+ 15 Dec 2009; Bernard Cafarelli <voyageur@gentoo.org>
+ -nxserver-freeedition-3.3.0.8-r1.ebuild,
+ -nxserver-freeedition-3.3.0.22.ebuild,
+ -nxserver-freeedition-3.3.0.27.ebuild,
+ nxserver-freeedition-3.4.0.8.ebuild:
+ Drop first 3.3.0 versions, add xhost RDEPEND for shadow support, spotted
+ by Patrick <mail@patrick-nagel.net> in bug #296877
+
+ 25 Nov 2009; Markus Meier <maekke@gentoo.org>
+ nxserver-freeedition-3.4.0.8.ebuild:
+ amd64 stable, bug #291619
+
+ 25 Nov 2009; Markus Meier <maekke@gentoo.org>
+ nxserver-freeedition-3.4.0.8.ebuild:
+ x86 stable, bug #291619
+
+ 01 Oct 2009; Bernard Cafarelli <voyageur@gentoo.org>
+ nxserver-freeedition-3.4.0.8.ebuild:
+ Fix dependency on nxnode
+
+*nxserver-freeedition-3.4.0.8 (30 Sep 2009)
+
+ 30 Sep 2009; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxserver-freeedition-3.4.0.8.ebuild:
+ 3.4.0 version bump. This version brings new capabilities such as: support
+ for CUPS 1.4 printing system, better detection of system commands to run
+ KDE and Gnome sessions and the possibility of configuring the server to
+ allow run sessions as the root user, and bugfixes (nxagent crash, cut and
+ paste problems, text on the titlebar in rootless session, ...)
+
+ 17 Sep 2009; Bernard Cafarelli <voyageur@gentoo.org>
+ nxserver-freeedition-3.3.0.27.ebuild:
+ Update pkg_postinst to match other NX servers, remove blocker as files do
+ not collide anymore for some time
+
+*nxserver-freeedition-3.3.0.27 (01 Sep 2009)
+
+ 01 Sep 2009; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxserver-freeedition-3.3.0.27.ebuild:
+ Third maintenance release bump for 3.3.0, bugfixes including a nxagent
+ crash on amd64
+
+ 29 May 2009; Bernard Cafarelli <voyageur@gentoo.org>
+ -nxserver-freeedition-3.2.0.ebuild, -nxserver-freeedition-3.2.0-r1.ebuild,
+ -nxserver-freeedition-3.2.0.13.ebuild,
+ -nxserver-freeedition-3.2.0.16.ebuild:
+ Removing 3.2 versions
+
+ 04 Apr 2009; Markus Meier <maekke@gentoo.org>
+ nxserver-freeedition-3.3.0.14.ebuild:
+ amd64/x86 stable, bug #262910
+
+*nxserver-freeedition-3.3.0.22 (25 Mar 2009)
+
+ 25 Mar 2009; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxserver-freeedition-3.3.0.22.ebuild:
+ Version bump, second maintenance release, mostly bugfixes
+
+ 08 Mar 2009; Markus Meier <maekke@gentoo.org>
+ nxserver-freeedition-3.3.0.8-r1.ebuild:
+ x86 stable, bug #256414
+
+ 05 Feb 2009; Richard Freeman <rich0@gentoo.org>
+ nxserver-freeedition-3.3.0.8-r1.ebuild:
+ amd64 stable - 256414
+
+*nxserver-freeedition-3.3.0.14 (16 Jan 2009)
+
+ 16 Jan 2009; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxserver-freeedition-3.3.0.14.ebuild:
+ Maintenance release version bump
+
+*nxserver-freeedition-3.3.0.8-r1 (24 Nov 2008)
+
+ 24 Nov 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ +files/nxserver-3.3.0-dontupdatekeys.patch,
+ -nxserver-freeedition-3.3.0.8.ebuild,
+ +nxserver-freeedition-3.3.0.8-r1.ebuild:
+ Prevent update script from failing and removing default ssh key, bug
+ #248049
+
+*nxserver-freeedition-3.3.0.8 (21 Nov 2008)
+
+ 21 Nov 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxserver-freeedition-3.3.0.8.ebuild:
+ 3.3.0 version bump
+
+*nxserver-freeedition-3.2.0.16 (25 Aug 2008)
+
+ 25 Aug 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxserver-freeedition-3.2.0.16.ebuild:
+ Maintenance release bump
+
+*nxserver-freeedition-3.2.0.13 (21 Jul 2008)
+
+ 21 Jul 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ -nxserver-freeedition-3.1.0.ebuild, -nxserver-freeedition-3.1.0-r1.ebuild,
+ -nxserver-freeedition-3.2.0-r2.ebuild,
+ +nxserver-freeedition-3.2.0.13.ebuild:
+ Remove old 3.0/3.1 versions, add minor release to ebuild version in latest
+ 3.2
+
+*nxserver-freeedition-3.2.0-r2 (16 Jun 2008)
+
+ 16 Jun 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxserver-freeedition-3.2.0-r2.ebuild:
+ Maintenance release bump, minor bugfixes
+
+ 05 Jun 2008; Peter Volkov <pva@gentoo.org>
+ nxserver-freeedition-3.2.0.ebuild:
+ amd64 stable, bug #222967.
+
+ 29 May 2008; Christian Faulhammer <opfer@gentoo.org>
+ nxserver-freeedition-3.2.0.ebuild:
+ x86 stable, bug #222967
+
+*nxserver-freeedition-3.2.0-r1 (28 May 2008)
+
+ 28 May 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxserver-freeedition-3.2.0-r1.ebuild:
+ Maintenance release bump, minor bugfixes
+
+*nxserver-freeedition-3.2.0 (09 Apr 2008)
+
+ 09 Apr 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxserver-freeedition-3.2.0.ebuild:
+ Version bump, new 3.2.0 series
+
+ 03 Apr 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ -files/nxserver-3.0.0-r3-setup.patch,
+ -nxserver-freeedition-3.0.0-r3.ebuild,
+ -nxserver-freeedition-3.0.0-r4.ebuild:
+ Removing 3.0 versions, they depend on vulnerable net-misc/nxnode versions
+
+ 19 Mar 2008; Peter Volkov <pva@gentoo.org>
+ nxserver-freeedition-3.1.0-r1.ebuild:
+ amd64 stable, security bug #210317.
+
+ 18 Feb 2008; Christian Faulhammer <opfer@gentoo.org>
+ nxserver-freeedition-3.1.0.ebuild:
+ stable x86, security bug 210317
+
+*nxserver-freeedition-3.1.0-r1 (24 Jan 2008)
+
+ 24 Jan 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxserver-freeedition-3.1.0-r1.ebuild:
+ Maintenance release bump
+
+*nxserver-freeedition-3.1.0 (14 Dec 2007)
+
+ 14 Dec 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxserver-freeedition-3.1.0.ebuild:
+ Version bump
+
+*nxserver-freeedition-3.0.0-r4 (03 Dec 2007)
+
+ 03 Dec 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ +files/nxserver-3.0.0-r4-setup.patch,
+ nxserver-freeedition-3.0.0-r3.ebuild,
+ +nxserver-freeedition-3.0.0-r4.ebuild:
+ Version bump, fix some quoting
+
+ 20 Sep 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ -files/nxserver-2.1.0-setup.patch, -files/nxserver-3.0.0-setup.patch,
+ -nxserver-freeedition-2.1.0.ebuild, -nxserver-freeedition-3.0.0-r2.ebuild:
+ Remove vulnerable NX 2.1 versions, security bug #192712
+
+ 20 Sep 2007; Robert Buchholz <rbu@gentoo.org>
+ nxserver-freeedition-3.0.0-r3.ebuild:
+ amd64 stable (bug #180040)
+
+ 20 Sep 2007; Christian Faulhammer <opfer@gentoo.org>
+ nxserver-freeedition-3.0.0-r3.ebuild:
+ stable x86, security bug 192712
+
+ 19 Sep 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ nxserver-freeedition-3.0.0-r3.ebuild:
+ Fix files installation mode, added check on postinst
+
+ 18 Sep 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ nxserver-freeedition-3.0.0-r3.ebuild:
+ Fix variables quoting, thanks opfer
+ Also clean up the install section
+
+*nxserver-freeedition-3.0.0-r3 (18 Sep 2007)
+
+ 18 Sep 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ +files/nxserver-3.0.0-r3-setup.patch,
+ +nxserver-freeedition-3.0.0-r3.ebuild:
+ Third maintenance release
+ Thanks Timo Gurr <timo.gurr@gmail.com> for the updated setup patch
+
+*nxserver-freeedition-3.0.0-r2 (22 Jul 2007)
+
+ 22 Jul 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ -nxserver-freeedition-3.0.0-r1.ebuild,
+ +nxserver-freeedition-3.0.0-r2.ebuild:
+ Second maintenance release
+
+ 06 Jul 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ -nxserver-freeedition-3.0.0.ebuild:
+ Removed old version
+
+ 03 Jul 2007; Christian Faulhammer <opfer@gentoo.org>
+ nxserver-freeedition-2.1.0.ebuild:
+ stable x86, bug 180040
+
+*nxserver-freeedition-3.0.0-r1 (02 Jul 2007)
+
+ 02 Jul 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxserver-freeedition-3.0.0-r1.ebuild:
+ Maintenance release
+
+ 02 Jul 2007; Piotr Jaroszyński <peper@gentoo.org>
+ nxserver-freeedition-2.1.0.ebuild, nxserver-freeedition-3.0.0.ebuild:
+ (QA) RESTRICT clean up.
+
+*nxserver-freeedition-3.0.0 (21 Jun 2007)
+
+ 21 Jun 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ +files/nxserver-3.0.0-setup.patch, +nxserver-freeedition-3.0.0.ebuild:
+ Version bump, thanks to Timo Gurr <psy@monsterserver.de> in bug #182779
+
+ 11 Jun 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ nxserver-freeedition-2.1.0.ebuild:
+ Added missing dependencies, bug #181614
+
+ 05 Jun 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ files/nxserver-2.1.0-init:
+ Init script cleanup, thanks to Christian Faulhammer <opfer@gentoo.org>
+
+ 12 May 2007; Bernard Cafarelli <voyageur@gentoo.org> metadata.xml:
+ Fixed maintainer in metadata.xml
+
+ 28 Apr 2007; Sven Wegener <swegener@gentoo.org>
+ nxserver-freeedition-2.1.0.ebuild:
+ Fix *initd, *confd and *envd calls (#17388, #174266)
+
+ 26 Apr 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ nxserver-freeedition-2.1.0.ebuild:
+ Updated blockers on other NX servers
+
+*nxserver-freeedition-2.1.0 (30 Mar 2007)
+
+ 30 Mar 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ +files/nxserver-2.1.0-init, +files/nxserver-2.1.0-setup.patch,
+ +metadata.xml, +nxserver-freeedition-2.1.0.ebuild:
+ Initial commit, bug #153866
+
diff --git a/net-misc/nxserver-freeedition/Manifest b/net-misc/nxserver-freeedition/Manifest
new file mode 100644
index 0000000..489545a
--- /dev/null
+++ b/net-misc/nxserver-freeedition/Manifest
@@ -0,0 +1,8 @@
+AUX nxserver-2.1.0-init 494 SHA256 4c937f114be2a2e5bfebf6f7b96d00e841c46a9104c300e6773aae5b9d3d75bf SHA512 7852082069d2ddc81e5055b931f6d91424aa6d6a2a0ec39e1a21e4347dd856ee3590cd17da1abfac1a0ec3b4132609f6c85b52888f007c033f21bd6f92f68e29 WHIRLPOOL 002d54742236dfb0d34c3a06ad35a7eca5231da935946de3cf365df203a0e318ebc511e43ecaca7965f1a5358144110a80445829a9842b56adddf2db7be97a67
+AUX nxserver-3.3.0-dontupdatekeys.patch 333 SHA256 4b4202a988d9b8841a5aef358b6ef50cc5864644ff4e9192cbd77cab54d1f298 SHA512 e04734582a1a125fa894bbbd49c8b8e78443ac8007df4b33b3f8ceae66a2e440350b814b22bf4719cfd37ba1ef84bd2d461757ae347d434bbad06a755f7dbec3 WHIRLPOOL 08ee75467e417bc169a4d05241192ade7059b27ef004955970a17ba810c73a254362d5a04615da2161cece623563de05cae18bdf6fb69d5bf4fdc72dc913ef6b
+AUX nxserver-3.5.0.11-setup.patch 2331 SHA256 6b88bde9f1309f99cf03756844987db377b41eb006657320933e2f1bc4c67550 SHA512 9b960076ca9d8ce9aa0a38e77a4ba0814b404d1e77b15ae034e6520e822ecc481f85cefa46c526e950fc4c677bc4553633676d60030333983ca7db780bb77d2d WHIRLPOOL 08a0e7432df4042c33c22badd2388f6edbf807bcc777ef7e98b513ba767304f02e9539bc4cda6bd99b7fef773c234bfb47d329e9f7007d22aad19ec428588e36
+DIST nxserver-3.5.0-11.i386.tar.gz 6866158 SHA256 860a5de07e247e38d951f77b87f4dae3eb338120d768f2098df6332e63910074 SHA512 c457f8b114b526058329c8925b6388d74b5c72221d2625c67eac81baacc9a8575daa1ec21f17fba2fbee3808b920e896aa5c140cea0acaf31504849444484448 WHIRLPOOL df37a856c30528e9239cc3072c10f00c198876b349db1e9a94acbc2b45e1b60d31f48b6d13f30151a4e288eb48724c22167f5fd00e4fd03caf0f8e92543420fa
+DIST nxserver-3.5.0-11.x86_64.tar.gz 7903110 SHA256 05b462bf6b888dbdd22246a521a0b6ed18ba5d55de673a53c5ae9d9c6dd68c63 SHA512 6a2483c874acbe824b766e06b01ad364d163380df02d9a36f7449762a1feeecf3106663503acd3d3435fe9bc6e7adea8e146b8d4d6d3d0a9c38c85c3c85a3d29 WHIRLPOOL 7d73064dffdcc231a72a9e8fdcdc9979b5c4c01af67923b50c2b9ea4a527a6b6d564876c61d607ad664d6ddec4e0a81835f5dee4eb0771e5c5c2c294a26bd41f
+EBUILD nxserver-freeedition-3.5.0.11-r1.ebuild 3195 SHA256 a37a5c510d5122594b97ffb270f4f7feb2ad247917c12070f1faaf1129f9601d SHA512 faea33fcfb82445c43cb9314d057a03dff00fdc1304c9a3ccb5a625b45e93ec56960de64f6c0643767d90ac83dff424da6813ed14b6119a182cf6dfe4e4828cf WHIRLPOOL afe691a4cf497eb451c17e8e7d1eedc021900a584334a0381c21cfb7475d69bfbaf353b1838781b6bc38265f85037d911717e02253c8c164aaf403487b91ed35
+MISC ChangeLog 12237 SHA256 ce247e8d0f4bb260f17ad2ca28148a4d618d710ca04879e4649e36a87b824ad6 SHA512 f0eeb62d1bc89db311d85ed883320dc13aa0334a344b76f881e81471b52585a95ae5b08c6a7619ba52fc1fbd1e7db59859981dbeb0fdc6f9937a13b2116f1b48 WHIRLPOOL 2fdc594e07c58f88d2ca5c01d96d28f511811963ba0149ad1661d6cb6e551c9323a3ccc0970ca9feb00bdd60db68b26fcb2d7114ec2758d6eba431a85094d5aa
+MISC metadata.xml 229 SHA256 445516ce54a07930b5cf708034023dddbc5fd8125be710709912ef849e623bc5 SHA512 25d354f2acdedcc4aacd99ded3c1ab0a88e038f87c8cbcd7bea1096c12e9450c9ec9666822157c9491483dfcb6d03eeeb31987d8639486ce46529a8121a04e9b WHIRLPOOL cba8e7212166ca371409754f9929209a5378f8b75d95ffaf67b7e2d1f38370f9dacbe2c4a0868e38dee117aee508ed2d782a2a12b3afa34d31703cff42aa966c
diff --git a/net-misc/nxserver-freeedition/files/nxserver-2.1.0-init b/net-misc/nxserver-freeedition/files/nxserver-2.1.0-init
new file mode 100644
index 0000000..e133d85
--- /dev/null
+++ b/net-misc/nxserver-freeedition/files/nxserver-2.1.0-init
@@ -0,0 +1,31 @@
+#!/sbin/runscript
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# opts="${opts} reload configtest"
+
+NX_SERVER_CMD="/usr/NX/bin/nxserver"
+
+depend()
+{
+ need net
+ use nxsensor
+}
+
+start() {
+ ebegin "Starting nxserver"
+ $NX_SERVER_CMD --start
+ if [ $? = 0 ]; then
+ $NX_SERVER_CMD --statistics start
+ eend $?
+ else
+ eend 1
+ fi
+}
+
+stop() {
+ ebegin "Stopping nxserver"
+ $NX_SERVER_CMD --stop
+ $NX_SERVER_CMD --statistics stop
+ eend 0
+}
diff --git a/net-misc/nxserver-freeedition/files/nxserver-3.3.0-dontupdatekeys.patch b/net-misc/nxserver-freeedition/files/nxserver-3.3.0-dontupdatekeys.patch
new file mode 100644
index 0000000..ff9d2b3
--- /dev/null
+++ b/net-misc/nxserver-freeedition/files/nxserver-3.3.0-dontupdatekeys.patch
@@ -0,0 +1,11 @@
+--- scripts/setup/nxserver.orig 2008-11-24 10:24:26.000000000 +0100
++++ scripts/setup/nxserver 2008-11-24 10:27:38.000000000 +0100
+@@ -3149,8 +3149,6 @@
+ # addNXinit
+ startNXStat
+
+- updateAutorizedKey
+-
+ checkStr=`$NXSHELL --upgradecheck 2>&1`
+ result=`echo "$checkStr" | grep -c "expired" 2>&1`
+ if [ "$result" != "0" ];
diff --git a/net-misc/nxserver-freeedition/files/nxserver-3.5.0.11-setup.patch b/net-misc/nxserver-freeedition/files/nxserver-3.5.0.11-setup.patch
new file mode 100644
index 0000000..cf8e24e
--- /dev/null
+++ b/net-misc/nxserver-freeedition/files/nxserver-3.5.0.11-setup.patch
@@ -0,0 +1,79 @@
+--- scripts/setup/nxserver.orig 2012-05-19 11:45:03.000000000 +0200
++++ scripts/setup/nxserver 2013-01-21 22:40:41.958166294 +0100
+@@ -679,6 +679,10 @@
+
+ printMsg "Verifying that all init scripts have been removed"
+
++ if [ "$system" = "gentoo" ]; then
++ return
++ fi
++
+ runCommand "$RMCOMMAND -f /etc/init.d/nxserver" "Unable to remove '/etc/init.d/nxserver'" "warn"
+
+ if [ "$system" = "solaris" ];
+@@ -853,6 +857,10 @@
+
+ addNXinit () {
+
++ if [ "$system" = "gentoo" ]; then
++ return
++ fi
++
+ runCommand "cat $NODE_ROOT/scripts/init/nxserver > /etc/init.d/nxserver" "Unable to create: '/etc/init.d/nxserver'" "warn"
+ runCommand "chmod +x /etc/init.d/nxserver" "Cannot set permissions of '/etc/init.d/nxserver' file" "warn"
+
+@@ -967,6 +975,12 @@
+ }
+
+ addNXUserLinux () {
++
++ # does the NX user already exist?
++ if id nx > /dev/null 2>&1 ; then
++ return
++ fi
++
+ if [ "x$system" != "xdebian" ]
+ then
+ sysuser=`useradd --help 2>&1|grep "\-r"`;
+@@ -2679,6 +2693,11 @@
+ system=fedora
+ fi
+
++if grep -q "ID=gentoo" /etc/os-release || [ -f /etc/gentoo-release ];
++then
++ system=gentoo
++fi
++
+ if [ "x$system" = "x" -a -f /etc/release ];
+ then
+ system=solaris
+@@ -2713,6 +2732,7 @@
+ "mandrake" ) ;;
+ "fedora" ) ;;
+ "debian" ) ;;
++ "gentoo" ) ;;
+ "solaris" ) ;;
+ "" ) ARGS=-1 && errMsg="$PREFIX $ERROR ERROR: Unable to autodetect the operating system type, please specify it" ;;
+ * ) ARGS=-1 && errMsg="$PREFIX $ERROR ERROR: Unsupported operating system '$system'" ;;
+@@ -2892,21 +2912,6 @@
+ fi
+ fi
+
+-
+- result=`id nx 2>&1`
+- if [ $? = 0 ];
+- then
+-# printMsg "Cannot add user: nx. User: nx already exists" "error"
+-# printMsg "Please try to fix the problem by reinstalling the server" "error"
+- printMsg "Cannot add user: nx" "error"
+- printMsg "User: nx already exists" "error"
+- printMsgNoDot "To fix the problem, you may try to completely uninstall NX"
+- printMsgNoDot "Server and install it from scratch. If this is not enough,"
+- printMsgNoDot "please delete the nx user by using the system commands and"
+- printMsg "proceed with a new installation of NX Server"
+- exit 1
+- fi
+-
+ LOGFILE="$INSTALLOG"
+ createLogdirectory
+ startLog
diff --git a/net-misc/nxserver-freeedition/metadata.xml b/net-misc/nxserver-freeedition/metadata.xml
new file mode 100644
index 0000000..acb35c3
--- /dev/null
+++ b/net-misc/nxserver-freeedition/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>nx</herd>
+<longdescription>Free edition NX server from NoMachine</longdescription>
+</pkgmetadata>
+
diff --git a/net-misc/nxserver-freeedition/nxserver-freeedition-3.5.0.11-r1.ebuild b/net-misc/nxserver-freeedition/nxserver-freeedition-3.5.0.11-r1.ebuild
new file mode 100644
index 0000000..67266ef
--- /dev/null
+++ b/net-misc/nxserver-freeedition/nxserver-freeedition-3.5.0.11-r1.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freeedition/nxserver-freeedition-3.5.0.11-r1.ebuild,v 1.1 2013/01/22 00:15:11 voyageur Exp $
+
+EAPI=4
+
+inherit eutils user versionator
+
+MAJOR_PV="$(get_version_component_range 1-3)"
+FULL_PV="${MAJOR_PV}-$(get_version_component_range 4)"
+DESCRIPTION="Free edition NX server from NoMachine"
+HOMEPAGE="http://www.nomachine.com/"
+SRC_URI="amd64? ( http://download.nomachine.com/download/${MAJOR_PV}/Linux/FE/nxserver-${FULL_PV}.x86_64.tar.gz )
+ x86? ( http://download.nomachine.com/download/${MAJOR_PV}/Linux/FE/nxserver-${FULL_PV}.i386.tar.gz )"
+
+# GPL-2 for Gentoo init script
+LICENSE="nomachine GPL-2"
+SLOT="0"
+KEYWORDS="-* amd64 x86"
+IUSE=""
+RESTRICT="strip"
+
+DEPEND="=net-misc/nxnode-${MAJOR_PV}*"
+RDEPEND="${DEPEND}
+ media-fonts/font-misc-misc
+ media-fonts/font-cursor-misc
+ x11-apps/xauth
+ x11-apps/xhost"
+
+S="${WORKDIR}"/NX
+
+pkg_preinst() {
+ enewuser nx -1 -1 /usr/NX/home/nx
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/nxserver-3.3.0-dontupdatekeys.patch
+ epatch "${FILESDIR}"/nxserver-3.5.0.11-setup.patch
+}
+
+src_install() {
+ # we install nxserver into /usr/NX, to make sure it doesn't clash
+ # with libraries installed for FreeNX
+
+ into /usr/NX
+ dobin bin/nxserver
+
+ dodir /usr/NX/etc/keys
+ insinto /usr/NX/etc
+ doins etc/administrators.db.sample
+ doins etc/guests.db.sample
+ doins etc/passwords.db.sample
+ doins etc/profiles.db.sample
+ doins etc/users.db.sample
+ doins etc/server.lic.sample
+
+ newins etc/server-debian.cfg.sample server-gentoo.cfg.sample
+
+ cp -R home "${D}"/usr/NX || die "Unable to install home folder"
+ cp -R lib "${D}"/usr/NX || die "Unable to install lib folder"
+ cp -R scripts "${D}"/usr/NX || die "Unable to install scripts folder"
+ cp -R share "${D}"/usr/NX || die "Unable to install share folder"
+ cp -R var "${D}"/usr/NX || die "Unable to install var folder"
+
+ newinitd "${FILESDIR}"/nxserver-2.1.0-init nxserver
+}
+
+pkg_postinst () {
+ # Other NX servers ebuilds may have already created the nx account
+ # However they use different login shell/home directory paths
+ if [[ ${ROOT} == "/" ]]; then
+ usermod -s /usr/NX/bin/nxserver nx || die "Unable to set login shell of nx user!!"
+ usermod -d /usr/NX/home/nx nx || die "Unable to set home directory of nx user!!"
+ else
+ elog "If you had another NX server installed before, please make sure"
+ elog "the nx user account is correctly set to:"
+ elog " * login shell: /usr/NX/bin/nxserver"
+ elog " * home directory: /usr/NX/home/nx"
+ fi
+
+ # only run install when no configuration file is found
+ if [ -f /usr/NX/etc/server.cfg ]; then
+ einfo "Running NoMachine's update script"
+ "${ROOT}"/usr/NX/scripts/setup/nxserver --update || die "Update script failed"
+ else
+ einfo "Running NoMachine's setup script"
+ "${ROOT}"/usr/NX/scripts/setup/nxserver --install || die "Installation script failed"
+ fi
+
+ if ! has_version net-misc/openssh[pam]; then
+ elog ""
+ elog "net-misc/openssh was not built with PAM support"
+ elog "You will need to unlock the nx account by setting a password for it"
+ fi
+
+ elog "Remember to add nxserver to your default runlevel"
+}
diff --git a/net-misc/nxserver-freenx/ChangeLog b/net-misc/nxserver-freenx/ChangeLog
new file mode 100644
index 0000000..b9bfd36
--- /dev/null
+++ b/net-misc/nxserver-freenx/ChangeLog
@@ -0,0 +1,525 @@
+# ChangeLog for net-misc/nxserver-freenx
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freenx/ChangeLog,v 1.86 2015/03/01 15:04:04 jlec Exp $
+
+ 01 Mar 2015; Justin Lecher <jlec@gentoo.org> metadata.xml,
+ nxserver-freenx-0.7.3_p104-r6.ebuild, nxserver-freenx-0.7.3_p104-r7.ebuild:
+ Drop dead HOMEPAGE
+
+ 08 Jan 2015; Andreas Schuerch <nativemad@gentoo.org>
+ nxserver-freenx-0.7.3_p104-r7.ebuild:
+ x86 stable, see bug 246819
+
+ 27 Dec 2014; Agostino Sarubbo <ago@gentoo.org>
+ nxserver-freenx-0.7.3_p104-r7.ebuild:
+ Stable for amd64, wrt bug #246819
+
+*nxserver-freenx-0.7.3_p104-r7 (09 Apr 2014)
+
+ 09 Apr 2014; Tom Wijsman <TomWij@gentoo.org>
+ +files/nxserver-freenx-0.7.3_p104-r7-QA-fixes.patch,
+ +nxserver-freenx-0.7.3_p104-r7.ebuild:
+ [QA] Revision bump. EAPI 5. Prefix support. Respect user's CC, CFLAGS and
+ LDFLAGS and other QA issues with a newer patch. Sorted some dependencies.
+ Fixes bug #246819, filed by Peter Volkov (pva).
+
+ 02 Mar 2013; Christoph Junghans <ottxor@gentoo.org>
+ nxserver-freenx-0.7.3_p104-r6.ebuild:
+ switched to virtual/awk (bug #455676) + added user.eclass due to enewuser
+
+ 24 Nov 2011; Bernard Cafarelli <voyageur@gentoo.org>
+ -nxserver-freenx-0.7.3_p104-r5.ebuild, nxserver-freenx-0.7.3_p104-r6.ebuild:
+ Remove old net-misc/vnc dep, spotted by ago. Also remove previous stable
+ ebuild
+
+ 13 Nov 2011; Markus Meier <maekke@gentoo.org>
+ nxserver-freenx-0.7.3_p104-r6.ebuild:
+ x86 stable, bug #388403
+
+ 07 Nov 2011; Tony Vroon <chainsaw@gentoo.org>
+ nxserver-freenx-0.7.3_p104-r6.ebuild:
+ Marked stable on AMD64 based on arch testing by Agostino "ago" Sarubbo & Ian
+ "idella4" Delaney in bug #388403 filed by Michael Mol.
+
+*nxserver-freenx-0.7.3_p104-r6 (22 May 2011)
+
+ 22 May 2011; Bernard Cafarelli <voyageur@gentoo.org>
+ -nxserver-freenx-0.7.3_p104-r4.ebuild, nxserver-freenx-0.7.3_p104-r5.ebuild,
+ +nxserver-freenx-0.7.3_p104-r6.ebuild:
+ Limit stable to NX 3.4.0, bump to support 3.5.0
+
+ 05 Oct 2010; Markus Meier <maekke@gentoo.org>
+ nxserver-freenx-0.7.3_p104-r5.ebuild:
+ x86 stable, bug #336646
+
+ 30 Sep 2010; Markos Chandras <hwoarang@gentoo.org>
+ nxserver-freenx-0.7.3_p104-r5.ebuild:
+ Stable on amd64 wrt bug #336646
+
+*nxserver-freenx-0.7.3_p104-r5 (19 Jul 2010)
+
+ 19 Jul 2010; Bernard Cafarelli <voyageur@gentoo.org>
+ nxserver-freenx-0.7.3_p104-r4.ebuild,
+ +nxserver-freenx-0.7.3_p104-r5.ebuild,
+ +files/nxserver-freenx-0.7.3_p104-md5sum.patch:
+ openssl 1.0 changed output of 'openssl md5', fall back to md5sum and block
+ 1.0 in current version, bug #328965
+
+ 26 May 2010; Bernard Cafarelli <voyageur@gentoo.org>
+ -nxserver-freenx-0.7.3_p104-r2.ebuild,
+ -files/nxserver-freenx-0.7.3_p102-nxloadconfig.patch:
+ Drop previous version
+
+ 26 May 2010; Pacho Ramos <pacho@gentoo.org>
+ nxserver-freenx-0.7.3_p104-r4.ebuild:
+ stable amd64, bug 314727
+
+ 09 May 2010; Bernard Cafarelli <voyageur@gentoo.org>
+ -nxserver-freenx-0.7.3_p104-r3.ebuild,
+ nxserver-freenx-0.7.3_p104-r4.ebuild,
+ +files/nxserver-freenx-0.7.3_p104-jobserver_fix.patch:
+ Fix jobserver unavailable QA notice, patch by Myckel Habets
+ <myckel@sdf.lonestar.org> in bug #314873
+
+ 26 Apr 2010; Christian Faulhammer <fauli@gentoo.org>
+ nxserver-freenx-0.7.3_p104-r4.ebuild:
+ stable x86, bug 314727
+
+*nxserver-freenx-0.7.3_p104-r4 (11 Apr 2010)
+
+ 11 Apr 2010; Bernard Cafarelli <voyageur@gentoo.org>
+ nxserver-freenx-0.7.3_p104-r2.ebuild,
+ nxserver-freenx-0.7.3_p104-r3.ebuild,
+ +nxserver-freenx-0.7.3_p104-r4.ebuild:
+ Revision bump to fix support for current stable net-misc/nx-3.4.0, bug
+ #312879
+
+*nxserver-freenx-0.7.3_p104-r3 (15 Dec 2009)
+
+ 15 Dec 2009; Bernard Cafarelli <voyageur@gentoo.org>
+ -files/nxserver-freenx-0.7.2-exitstatus.patch,
+ -files/nxserver-freenx-0.7.2-nolistentcp.patch,
+ -files/nxserver-freenx-0.7.2-nxloadconfig.patch,
+ -nxserver-freenx-0.7.3-r2.ebuild, -nxserver-freenx-0.7.3-r3.ebuild,
+ -nxserver-freenx-0.7.3_p104-r1.ebuild,
+ +nxserver-freenx-0.7.3_p104-r3.ebuild,
+ -files/nxserver-freenx-0.7.3-cflags.patch,
+ -files/nxserver-freenx-0.7.3-nxloadconfig.patch,
+ -files/nxserver-freenx-0.7.3-roundrobin.patch,
+ +files/nxserver-freenx-0.7.3_p104-nxloadconfig.patch:
+ Clean some versions, EAPI2, fix Gnome start command for bug #292480
+
+ 25 Nov 2009; Markus Meier <maekke@gentoo.org>
+ nxserver-freenx-0.7.3_p104-r2.ebuild:
+ amd64 stable, bug #291619
+
+ 25 Nov 2009; Markus Meier <maekke@gentoo.org>
+ nxserver-freenx-0.7.3_p104-r2.ebuild:
+ x86 stable, bug #291619
+
+*nxserver-freenx-0.7.3_p104-r2 (09 Oct 2009)
+
+ 09 Oct 2009; Bernard Cafarelli <voyageur@gentoo.org>
+ +nxserver-freenx-0.7.3_p104-r2.ebuild,
+ +files/nxserver-freenx-0.7.3_p104-nxnode_setup_samba.patch:
+ Fix samba parameters setting in nxnode, patch by and thanks to Bruno
+ Redondi <bruno.redondi@altarisoluzione.com> in bug #269593
+
+ 17 Sep 2009; Bernard Cafarelli <voyageur@gentoo.org>
+ nxserver-freenx-0.7.3_p104-r1.ebuild:
+ Remove blocker as files do not collide anymore for some time
+
+ 29 May 2009; Bernard Cafarelli <voyageur@gentoo.org>
+ -nxserver-freenx-0.7.2-r2.ebuild, -nxserver-freenx-0.7.3_p102.ebuild:
+ Clean some versions
+
+*nxserver-freenx-0.7.3_p104-r1 (14 May 2009)
+
+ 14 May 2009; Bernard Cafarelli <voyageur@gentoo.org>
+ -nxserver-freenx-0.7.3_p104.ebuild, +nxserver-freenx-0.7.3_p104-r1.ebuild:
+ Bump to restore media-fonts/font-cursor-misc and
+ media-fonts/font-misc-misc dependency, thanks Lum
+ <gentoo-bugzilla@lum.co.uk> in bug #269769
+
+*nxserver-freenx-0.7.3_p104 (20 Apr 2009)
+
+ 20 Apr 2009; Bernard Cafarelli <voyageur@gentoo.org>
+ +files/nxserver-freenx-0.7.3_p104-pam_ssh.patch,
+ +nxserver-freenx-0.7.3_p104.ebuild:
+ Version bump, with some ebuild changes: dropped arts/cups/esd USE flags,
+ better to manually enable them in configuration if needed; change
+ recommanded nxsetup line, warn users without PAM that they need to unlock
+ the nx account (bug #262496); add patch to support pam_ssh (i.e pambase
+ with USE=ssh), bugs #142694 and #266572
+
+ 20 Mar 2009; Bernard Cafarelli <voyageur@gentoo.org>
+ nxserver-freenx-0.7.3_p102.ebuild:
+ Add rdesktop and vnc USE flags, change depends for vnc as discussed in bug
+ #262147
+
+ 16 Mar 2009; Bernard Cafarelli <voyageur@gentoo.org>
+ nxserver-freenx-0.7.3_p102.ebuild:
+ Append utmp group to nx user, instead of resetting the additional groups
+ (usermod -a option). Thanks Alexander Bezrukov <phmagic@mail.ru> in bug
+ #262481
+
+*nxserver-freenx-0.7.3_p102 (12 Mar 2009)
+
+ 12 Mar 2009; Bernard Cafarelli <voyageur@gentoo.org>
+ +files/nxserver-freenx-0.7.3_p102-cflags.patch,
+ +files/nxserver-freenx-0.7.3_p102-nxloadconfig.patch,
+ +nxserver-freenx-0.7.3_p102.ebuild:
+ Update to use freenx-team tarballs, includes some interesting patches and
+ fixes (including fixing keyboard keys for some people, and shadow
+ sessions)
+
+ 08 Mar 2009; Markus Meier <maekke@gentoo.org>
+ nxserver-freenx-0.7.3-r2.ebuild:
+ amd64/x86 stable, bug #256414
+
+*nxserver-freenx-0.7.3-r3 (23 Jan 2009)
+
+ 23 Jan 2009; Bernard Cafarelli <voyageur@gentoo.org> metadata.xml,
+ -nxserver-freenx-0.7.3-r1.ebuild, +nxserver-freenx-0.7.3-r3.ebuild:
+ EAPI 1, enabling nxclient USE-flag by default, update the flag description
+
+*nxserver-freenx-0.7.3-r2 (19 Dec 2008)
+
+ 19 Dec 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ +files/nxserver-freenx-0.7.3-cflags.patch,
+ +nxserver-freenx-0.7.3-r2.ebuild:
+ Ebuild cleanup, fix depend, and CC/CFLAGS handling, closes bug #246819
+
+ 24 Nov 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ -nxserver-freenx-0.7.3.ebuild, nxserver-freenx-0.7.3-r1.ebuild:
+ Allow nxagent 3.3.0 usage
+
+*nxserver-freenx-0.7.3-r1 (25 Aug 2008)
+
+ 25 Aug 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ +files/nxserver-freenx-0.7.3-roundrobin.patch,
+ +nxserver-freenx-0.7.3-r1.ebuild:
+ Fix round-robin loadbalance, patch from upstream SVN, thanks to Simon Gao
+ <gao@schrodinger.com> in bug #235204
+
+*nxserver-freenx-0.7.3 (22 Aug 2008)
+
+ 22 Aug 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ -files/nxserver-freenx-0.6.0-nxloadconfig.patch,
+ -files/nxserver-freenx-0.7.0-kdecups.patch,
+ -files/nxserver-freenx-0.7.0-nx3support.patch,
+ -files/nxserver-freenx-0.7.0-xfsfonts.patch,
+ +files/nxserver-freenx-0.7.3-nxloadconfig.patch,
+ -nxserver-freenx-0.7.0-r1.ebuild, +nxserver-freenx-0.7.3.ebuild:
+ Version bump, remove old 0.7.0
+
+ 05 Jun 2008; Peter Volkov <pva@gentoo.org>
+ nxserver-freenx-0.7.2-r2.ebuild:
+ amd64 stable, bug #222967.
+
+ 29 May 2008; Christian Faulhammer <opfer@gentoo.org>
+ nxserver-freenx-0.7.2-r2.ebuild:
+ x86 stable, bug #222967
+
+ 02 May 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ -files/nxserver-freenx-0.7.1-cups.patch,
+ -files/nxserver-freenx-0.7.1-nscd.patch,
+ -files/nxserver-freenx-0.7.1-nxdialog.patch,
+ -files/nxserver-freenx-0.7.1-nxloadconfig.patch,
+ -files/nxserver-freenx-0.7.1-nxserver_fixes.patch,
+ -files/nxserver-freenx-0.7.1-samba.patch,
+ -files/nxserver-freenx-0.7.1-usession_fixes.patch,
+ nxserver-freenx-0.7.0-r1.ebuild, -nxserver-freenx-0.7.1-r1.ebuild,
+ -nxserver-freenx-0.7.1-r2.ebuild, nxserver-freenx-0.7.2-r2.ebuild:
+ Use mirror:// for SRC_URI, bug #218657. Also remove 0.7.1 versions
+
+ 10 Apr 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ files/nxserver-freenx-0.7.2-nxloadconfig.patch,
+ -nxserver-freenx-0.7.2.ebuild, -nxserver-freenx-0.7.2-r1.ebuild:
+ Add NX 3.2 libs support, remove previous 0.7.2 ebuilds
+
+*nxserver-freenx-0.7.2-r2 (09 Apr 2008)
+
+ 09 Apr 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ +files/nxserver-freenx-0.7.2-exitstatus.patch,
+ +nxserver-freenx-0.7.2-r2.ebuild:
+ Fix start/stop return code, bug #216155
+
+ 07 Apr 2008; Bernard Cafarelli <voyageur@gentoo.org> files/nxserver.init:
+ Clean sessions when stopping server
+
+*nxserver-freenx-0.7.2-r1 (02 Apr 2008)
+
+ 02 Apr 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ +files/nxserver-freenx-0.7.2-nolistentcp.patch,
+ +nxserver-freenx-0.7.2-r1.ebuild:
+ Add a patch to disable tcp listening in nxagent, thanks pappy
+
+ 18 Mar 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ nxserver-freenx-0.7.0-r1.ebuild, nxserver-freenx-0.7.1-r1.ebuild,
+ nxserver-freenx-0.7.1-r2.ebuild, nxserver-freenx-0.7.2.ebuild:
+ Shorten DESCRIPTION
+
+*nxserver-freenx-0.7.2 (18 Mar 2008)
+
+ 18 Mar 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ +files/nxserver-freenx-0.7.2-cups.patch,
+ +files/nxserver-freenx-0.7.2-nxloadconfig.patch,
+ +nxserver-freenx-0.7.2.ebuild:
+ Version bump, "Priscilla Edition"
+
+ 09 Jan 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ files/nxserver-freenx-0.7.1-nxloadconfig.patch:
+ Update nxloadconfig patch for nx 3.1.0 detection
+
+ 03 Jan 2008; Bernard Cafarelli <voyageur@gentoo.org> files/nxserver.init:
+ Make init script POSIX-compliant, bug #203451
+
+*nxserver-freenx-0.7.1-r2 (14 Dec 2007)
+
+ 14 Dec 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ +files/nxserver-freenx-0.7.1-samba.patch, -nxserver-freenx-0.7.1.ebuild,
+ +nxserver-freenx-0.7.1-r2.ebuild:
+ Fix mounting smb shares, thanks again Bruno Redondi in bug #202045
+
+*nxserver-freenx-0.7.1-r1 (03 Dec 2007)
+
+ 03 Dec 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ +files/nxserver-freenx-0.7.1-nxserver_fixes.patch,
+ +files/nxserver-freenx-0.7.1-usession_fixes.patch, +files/nxserver.init,
+ +nxserver-freenx-0.7.1-r1.ebuild:
+ Add init script (bug #198929), usession support (bug #198934)
+ Force update for bug #198927
+ Thanks to Bruno Redondi <bruno@altarisoluzione.com>
+
+ 26 Nov 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ files/nxserver-freenx-0.7.1-nxloadconfig.patch:
+ Fix nxloadconfig patch, thanks Bruno Redondi <bruno@altarisoluzione.com> in
+ bug #198927
+
+ 07 Nov 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ nxserver-freenx-0.7.1.ebuild:
+ Revert enewuser change, this does not work for new installs
+
+ 05 Nov 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ nxserver-freenx-0.7.1.ebuild:
+ Use correct shell in enewuser
+
+ 01 Nov 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ nxserver-freenx-0.7.1.ebuild:
+ Check ${ROOT} before issuing usermod commands
+
+*nxserver-freenx-0.7.1 (31 Oct 2007)
+
+ 31 Oct 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ +files/nxserver-freenx-0.7.1-cups.patch,
+ +files/nxserver-freenx-0.7.1-nscd.patch,
+ +files/nxserver-freenx-0.7.1-nxdialog.patch,
+ +files/nxserver-freenx-0.7.1-nxloadconfig.patch,
+ +nxserver-freenx-0.7.1.ebuild:
+ Version bump, closes bug #197505
+
+ 20 Sep 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ -files/nxserver-freenx-0.6.0-rdesktop.patch,
+ -files/nxserver-freenx-0.6.0-rootless-mode.patch,
+ -nxserver-freenx-0.6.0.ebuild, -nxserver-freenx-0.7.0.ebuild:
+ Remove vulnerable NX 2.1 versions, security bug #192712
+
+ 20 Sep 2007; Christian Faulhammer <opfer@gentoo.org>
+ nxserver-freenx-0.7.0-r1.ebuild:
+ stable x86, security bug 192712
+
+ 19 Sep 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ files/nxserver-freenx-0.7.0-nx3support.patch:
+ Fix nx3support patch, closes bug #193031
+
+*nxserver-freenx-0.7.0-r1 (18 Sep 2007)
+
+ 18 Sep 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ +files/nxserver-freenx-0.7.0-nx3support.patch,
+ +nxserver-freenx-0.7.0-r1.ebuild:
+ Add nx 3.0 libraries support, security bug #192712
+
+*nxserver-freenx-0.7.0 (10 Aug 2007)
+
+ 10 Aug 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ +files/nxserver-freenx-0.7.0-kdecups.patch,
+ +files/nxserver-freenx-0.7.0-xfsfonts.patch,
+ +nxserver-freenx-0.7.0.ebuild:
+ Version bump, bug #186226
+ Also added a patch to fix font size
+
+ 10 Aug 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ -files/freenx-0.5.0-backingstore.patch, -files/freenx-0.5.0-startup.patch,
+ -files/50nxserver, -files/freenx-0.5.0-fullscreen.patch,
+ -nxserver-freenx-0.5.0-r2.ebuild:
+ Remove old version
+
+ 03 Jul 2007; Christian Faulhammer <opfer@gentoo.org>
+ nxserver-freenx-0.6.0.ebuild:
+ stable x86, bug 180040
+
+ 11 Jun 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ nxserver-freenx-0.6.0.ebuild:
+ Update dependencies, wrt bug #181614
+
+ 12 May 2007; Bernard Cafarelli <voyageur@gentoo.org> metadata.xml:
+ Fixed maintainer in metadata.xml
+
+ 26 Apr 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ nxserver-freenx-0.5.0-r2.ebuild, nxserver-freenx-0.6.0.ebuild:
+ Updated blockers on other NX servers
+
+ 18 Apr 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ nxserver-freenx-0.6.0.ebuild:
+ Added xauth and font-alias deps, bug #172333
+
+ 02 Apr 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ nxserver-freenx-0.5.0-r2.ebuild:
+ Updated blockers on NoMachine servers
+
+*nxserver-freenx-0.5.0-r2 (21 Mar 2007)
+
+ 21 Mar 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ +files/freenx-0.5.0-backingstore.patch, -nxserver-freenx-0.5.0-r1.ebuild,
+ +nxserver-freenx-0.5.0-r2.ebuild:
+ Added support for 2.x NX clients, closes bug #155063
+
+*nxserver-freenx-0.6.0 (21 Mar 2007)
+
+ 21 Mar 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ +files/nxserver-freenx-0.6.0-nxloadconfig.patch,
+ +files/nxserver-freenx-0.6.0-rdesktop.patch,
+ +files/nxserver-freenx-0.6.0-rootless-mode.patch,
+ +nxserver-freenx-0.6.0.ebuild:
+ Revision bump, including:
+ * NX 2.x support
+ * amd64 support
+ * rootless mode compression patch
+ * rdesktop/VNC proxying fix
+
+ 08 Nov 2006; Stuart Herbert <stuart@gentoo.org>
+ -files/freenx-0.4.4-adduser-fix.patch,
+ -files/nxserver-freenx-0.4.4-xorg7.patch, -files/fixes.diff,
+ -files/nxserver-freenx-xorg7.patch, -files/nxserver-path.diff,
+ -nxserver-freenx-0.2.7.ebuild, -nxserver-freenx-0.2.8.ebuild,
+ -nxserver-freenx-0.4.0.ebuild, -nxserver-freenx-0.4.4-r1.ebuild,
+ -nxserver-freenx-0.5.0.ebuild, -nxserver-freenx-0.5.0.20060311-r1.ebuild:
+ Remove old, broken versions
+
+*nxserver-freenx-0.5.0-r1 (08 Nov 2006)
+
+ 08 Nov 2006; Stuart Herbert <stuart@gentoo.org>
+ +files/freenx-0.5.0-fullscreen.patch, +files/freenx-0.5.0-startup.patch,
+ +nxserver-freenx-0.5.0-r1.ebuild:
+ Version bump; fix known bugs on x86
+
+*nxserver-freenx-0.5.0.20060311-r1 (30 Apr 2006)
+*nxserver-freenx-0.4.4-r1 (30 Apr 2006)
+
+ 30 Apr 2006; Stuart Herbert <stuart@gentoo.org>
+ +files/nxserver-freenx-xorg7.patch, +files/freenx-0.4.4-adduser-fix.patch,
+ +files/nxserver-freenx-0.4.4-xorg7.patch,
+ +nxserver-freenx-0.4.4-r1.ebuild,
+ +nxserver-freenx-0.5.0.20060311-r1.ebuild:
+ Huge thanks to Jon Scruggs for the following changes:
+
+ * Added the xorg 7 keyboard fix.
+ * Fixed the dependencies
+ * The ebuilds now work with nx-x11-bin
+ * Added the xorg 7 fix patch for 0.4.4 instead of sed'ing the patch.
+ * FreeNX 0.4.x ebuilds: I added a feature so that the ebuilds will enable the
+ 1.5.0 backend if it's detected.
+ * Changed the detection of various componets and turn them on in nxloadconfig.
+ * Fixed the description in all the ebuilds. #128866
+
+ 05 Mar 2006; Stuart Herbert <stuart@gentoo.org> +files/50nxserver,
+ nxserver-freenx-0.5.0.ebuild:
+ Add CONFIG_PROTECT settings; thanks to Zeek <gentoo_ml@burninghusk.com>; see
+ bug #117316
+
+*nxserver-freenx-0.5.0 (05 Mar 2006)
+
+ 05 Mar 2006; Stuart Herbert <stuart@gentoo.org>
+ +nxserver-freenx-0.5.0.ebuild:
+ Version bump; thanks to Jon <scruggsj@sbcglobal.net>; see bug #101691
+
+ 11 Jan 2006; Jason Wever <weeve@gentoo.org> nxserver-freenx-0.4.0.ebuild:
+ Added ~sparc keyword wrt bug #117825.
+
+ 02 Oct 2005; Diego Pettenò <flameeyes@gentoo.org>
+ nxserver-freenx-0.2.7.ebuild, nxserver-freenx-0.2.8.ebuild,
+ nxserver-freenx-0.4.0.ebuild:
+ Don't use /bin/false as shell for nx user. Use -1 instead.
+
+*nxserver-freenx-0.4.0 (23 May 2005)
+
+ 23 May 2005; Stuart Herbert <stuart@gentoo.org>
+ +nxserver-freenx-0.4.0.ebuild:
+ Version bump; thanks to Jon Severinsson <jon@severingsson.net>; see bug #84299
+
+*nxserver-freenx-0.2.8 (19 Feb 2005)
+
+ 19 Feb 2005; Stuart Herbert <stuart@gentoo.org> +files/fixes.diff,
+ +nxserver-freenx-0.2.8.ebuild:
+ Version bump; Bug 76449: shell script loop patch; Neil Wilson
+ <neil@aldur.co.uk> Bug 76449: support for session names with spaces; Neil
+ Wilson <neil@aldur.co.uk> New USE flag 'commercial' if you want to use freenx
+ w/ NoMachine's nxclient
+ stable on x86
+
+ 02 Jan 2005; Stuart Herbert <stuart@gentoo.org>
+ -nxserver-freenx-0.2.1.ebuild, -nxserver-freenx-0.2.2.ebuild,
+ -nxserver-freenx-0.2.3.ebuild, -nxserver-freenx-0.2.4.ebuild:
+ Removed obsolete version
+
+ 02 Jan 2005; Stuart Herbert <stuart@gentoo.org> +files/nxserver-path.diff,
+ nxserver-freenx-0.2.4.ebuild:
+ Version bump; thanks to Christian Oyarzun for the patch; see bug #71694
+
+ 24 Nov 2004; Sven Wegener <swegener@gentoo.org>
+ nxserver-freenx-0.2.2.ebuild:
+ Fixed SRC_URI to match real file name.
+
+ 13 Sep 2004; Stuart Herbert <stuart@gentoo.org>
+ nxserver-freenx-0.2.4.ebuild:
+ Changed dep from netcat to gnu-netcat
+
+*nxserver-freenx-0.2.2 (12 Sep 2004)
+
+ 12 Sep 2004; Stuart Herbert <stuart@gentoo.org>
+ +nxserver-freenx-0.2.2.ebuild, +nxserver-freenx-0.2.3.ebuild,
+ +nxserver-freenx-0.2.4.ebuild:
+ New versions; released for wider testing
+
+ 08 Sep 2004; Stuart Herbert <stuart@gentoo.org>
+ -files/freenx-0.1-gentoo.patch, -nxserver-freenx-0.1.ebuild,
+ -nxserver-freenx-0.2.ebuild:
+ Obsolete version; removed by eversionrm tool
+
+ 08 Sep 2004; Stuart Herbert <stuart@gentoo.org> -nxserver-freenx-0.1.ebuild:
+ Obsolete version; removed by eversionrm tool
+
+ 08 Sep 2004; Stuart Herbert <stuart@gentoo.org>
+ nxserver-freenx-0.2.1.ebuild:
+ Fix for problem w/ creating the nx user in pkg_setup()
+
+*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)
+
+ 07 Sep 2004; Stuart Herbert <stuart@gentoo.org>
+ +files/freenx-0.2-gentoo.patch, nxserver-freenx-0.1.ebuild,
+ +nxserver-freenx-0.2.ebuild:
+ Version bump; more compatibility fixes to the ebuild
+
+*nxserver-freenx-0.1 (30 Aug 2004)
+
+ 30 Aug 2004; Stuart Herbert <stuart@gentoo.org>
+ +files/freenx-0.1-gentoo.patch, +nxserver-freenx-0.1.ebuild:
+ Initial import; based on an ebuild from Martin Honermeyer
+ <maze@strahlungsfrei.de>; see bug #61874
diff --git a/net-misc/nxserver-freenx/Manifest b/net-misc/nxserver-freenx/Manifest
new file mode 100644
index 0000000..63350d3
--- /dev/null
+++ b/net-misc/nxserver-freenx/Manifest
@@ -0,0 +1,13 @@
+AUX nxserver-freenx-0.7.2-cups.patch 1312 SHA256 50d0ae81b1bf86aecb0eec82920db481633ae0181dfe2894ac1b10faf5b8644d SHA512 bda533189e2e220cc45c0f672eef2b68f0ad7d2d85463e6deccd812fbe3356765b4d141db73fc213c2cc306c9b54fbb7ec2ffbf3fac8f9f606517fc01568de07 WHIRLPOOL 93bcee5a30311bfa309bb9ee57e2c3acf2397c3710079dd73622f4c7eeb8f069fe08dea6a125343ae0828e454a9e19553829f821bfa2b6cb4400a365608a2149
+AUX nxserver-freenx-0.7.3_p102-cflags.patch 925 SHA256 ca99ad30acaf356ece570ebbc0ca4e52e40590533173bc028872dffc1055066b SHA512 68abce1023fabcbbf0f6bdbb78d00c80134e12d83ab5e7ead2bfae8c5d6611482e1123ec7f09efb3b9953bb0aea011cc515d43f647f2aff56e3b2be38301f314 WHIRLPOOL 9ed350eb44274d511cc2118287da294f5b66ea9a3aff01a768eb5c9c83039fda6045eec6ebbf5067cc1bd9eadb0f10a68a263f01811080ebf0f154416b551118
+AUX nxserver-freenx-0.7.3_p104-jobserver_fix.patch 828 SHA256 99e0840b1ce4f2c56cfdbf823166737b609e437fb8ca26212f521126d6326cdc SHA512 dca1eec96a249c1239d0f50122492d5251aba2d966810f8a140e778e202195aa8c61575ef5923c4c8bc4fdbb6cf887840800806694b2086b08035187ba4915ab WHIRLPOOL 6fda416e9c09d74d63acf15eacb6673e8ea15d2bf66d4df0e3fb633209580d8eb9329dc947c5cc0d65752d7a74d7740ce4db86abae6507a779ea284f2c6ec88f
+AUX nxserver-freenx-0.7.3_p104-md5sum.patch 931 SHA256 57f87c221e76380340856a0770be05f5c47c33b33cd324c810f7aefdda833788 SHA512 f14f54e8d6cad7a04cf9abc774a0615ff25648578a0f283f9810a514afab294f1dc54a1c321ab75ba0107b1b0d12d1c18c74401c22d82f636f670d4b057bab1b WHIRLPOOL c5182398feab38035be4b161ea6522530e0efe279825d8c047f6210d1552febb1b07c37046289a340c723c84b5c2c9c6e25c47d71dd73933834c1ab5f1010167
+AUX nxserver-freenx-0.7.3_p104-nxloadconfig.patch 2127 SHA256 82bb31a23fff5b5a4333a0a8703d39c7375ffba7db0b261de2e44241e6de96bf SHA512 4e4e6e0b08b891cd613fd6f7a75f4bd20a624e8f85817c269c3d3dd845da51a6873128c9ae1b646bf7d24161964b63bd5d4737f75ac21b7b692449c878d89827 WHIRLPOOL 713131fcb64586aeb713f0a94ec9f1cb2c03ac0c425f070fc573f196f4e03032e38393dbc12586d93b332cdede26c0ecc93b7f094af1cb6efcf7fb2f11f71217
+AUX nxserver-freenx-0.7.3_p104-nxnode_setup_samba.patch 2709 SHA256 ccc3464e6ae44353f98dda81b2ab8cd6fec2d8994586f6991ec823f9ea5ed658 SHA512 63c362262a0fe51db3c300ac76295d162b8d9a005d53da3233411fa5fa5d9179b702077524f3dc23c5a166a5a7f70e1267608fcc5d54a7a21294488f6952b79f WHIRLPOOL ef634c1f2c0770c0dbc75e508a99d4d943b1fd1491e7d422eedbdb3eef21ee4af892ecc4e3bf0c1f6fd10d75ac1b4460a56fc871b66860107b1d8afd6de79ac7
+AUX nxserver-freenx-0.7.3_p104-pam_ssh.patch 441 SHA256 854d17b3656ac2382d84b32ed9de893b291217648f08f1f496e3d09a32b8d857 SHA512 4cf292a3b5d7caa526536da99a389573373e835572f1ecea29725aa7cab35debe774fa169cd41712314d51007036eaeb75e539d22ffa73593def76da132afef6 WHIRLPOOL 5631109eb067e981b011a0e3cdd7243fabd337cbb6c8a6c1cd0e0ea376f3bf20d51aeee9966fe0434e43a416959d3523a0654ee8912cf49621d43ff85d974182
+AUX nxserver-freenx-0.7.3_p104-r7-QA-fixes.patch 1190 SHA256 1a6327bb595a2734377254e4c82d33090ab47d47fbb3b4e91267c020ba8ee594 SHA512 7148edfb31effd1a5bf2a76e46a2d746e060a9f40d98cd76ef5a7fda92608ab641f359c0d28fbf9f53f1488be693b3b4405acd61b6bc1ffbbabfd0a07c593991 WHIRLPOOL d20af3b7119d7c89c70af861a2ed1f2aa0daa2675f4ce004b7798a6308eedd9685fef27a8391c6112c5f0f10fa9745d0b743e07830275955d59018a9ba04379d
+AUX nxserver.init 568 SHA256 eda452183da56f6ef5730f1f9e7c968c462b2d3ad31c58ed6100d90c7533c4f2 SHA512 adca8d9eca173e64c426bc7bb2df63f8b22111c6ba560b7a8a2f51ee9738eb7f33976bd26a3c9685c44d7faaeca8874d547605c77aa14663fb122ab00408fc3c WHIRLPOOL f84430aabee263c5c2662ff77e0e053ac0159c702f7ac2c0e1e683f5187f07ecb3269c5b235c7ffa8984d21c4ea0b641553b26cc328665d650bcfe2bcbaea5ba
+DIST freenx-server_0.7.3+teambzr104.orig.tar.gz 118242 SHA256 0d8b8ea883d67551f40c6e1c3a4a280d5bd663f27147a054e879c58b31873c71 SHA512 1e4f64cc2b9e8a38b8796c950418e89fae77d9acbbd57af00e2d3aea3ae86aa6a9cbc42c8b0bed9ff9ba8687f3ec1e252b4b3a6bb74e495840e5698092163627 WHIRLPOOL d3ac5ef7c05480e4bad336904b24333fdc30fc86a717c4e722c0fc64ee7883be747d3f4d54a9cdf044ccefd9598ac243a2ce96f7a360bfec48171c4e975115ea
+EBUILD nxserver-freenx-0.7.3_p104-r7.ebuild 3850 SHA256 9aeef0a802a2aed0918bf244bdf5398c00d727d0cd36b14f76fb922ffa8e56bb SHA512 ff6ff44f2a8eaf4f8460d73438da88ea067291d17b556cda0aab7316d1265d2316e65fdc6ea061d3bc9a11e557b4af19780df4f93be873cfc524838fd612696d WHIRLPOOL 7b0e1fa3f77e7e9098caa81438eb3f447688790f56f79c741436e71ddb5069305fce3e4460c322eb9091cd757bf0d0dd125e9f902e8b909dfbae2023e89dada6
+MISC ChangeLog 20008 SHA256 1461188f9cab18736dcd3aa33232984a8c64c98239fe866e61a4a1d89e0df828 SHA512 90cfae86ec5f946ffd99551e6d0bed07d18c7a8e11aecd7eb5aedcc1cba672ed0f124c7c0e8812f4be8c1fd0266bf73a06d43376d112f33df28f54e29e9719cf WHIRLPOOL 1558c9a8efbb95412e0b59abf523e8c1672933f927f7699e69285ee048f31c31ef610be406995ca8e96db36d1c7d80aa8ce41951b87e37ed9da10f8d5e651a25
+MISC metadata.xml 526 SHA256 afad906a78b9ad9f35586b662395056d23f66d4459cf2273f2059050be60147f SHA512 750e74f6913a74137891b5113cf38f17a4102698c8948528b37c27237fb67f498c0a4758ceb9ad7411bc36ca600b9b77c946be644356a7f69893e5a7b222fdb1 WHIRLPOOL 05e764e0f163f995987f80dc98a595421e939ea4c2e7d79acf24b8b75e821ce08196b366d49fccc4f7341b1f6c019ff988b4a45c5b68e0ba704cd3eaaf82782c
diff --git a/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.2-cups.patch b/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.2-cups.patch
new file mode 100644
index 0000000..d64b302
--- /dev/null
+++ b/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.2-cups.patch
@@ -0,0 +1,33 @@
+diff -Naur freenx-0.7.1.orig/node.conf.sample freenx-0.7.1/node.conf.sample
+--- freenx-0.7.1.orig/node.conf.sample 2007-10-31 13:47:45.000000000 +0100
++++ freenx-0.7.1/node.conf.sample 2007-10-31 13:48:35.000000000 +0100
+@@ -319,12 +319,12 @@
+ # of available ppd drivers via the $COMMAND_FOOMATIC command.
+
+ #ENABLE_FOOMATIC="1"
+-#COMMAND_FOOMATIC="/usr/lib/cups/driver/foomatic-ppdfile"
++#COMMAND_FOOMATIC="/usr/bin/foomatic-ppdfile"
+
+ # CUPS_BACKEND and CUPS_ETC are the corresponding paths of your CUPS
+ # installation.
+
+-#CUPS_BACKEND="/usr/lib/cups/backend"
++#CUPS_BACKEND="/usr/libexec/cups/backend"
+ #CUPS_IPP_BACKEND="$CUPS_BACKEND/nxipp"
+ #CUPS_DEFAULT_SOCK="/var/run/cups/cups.sock"
+ #CUPS_ETC="/etc/cups"
+diff -Naur freenx-0.7.1.orig/nxloadconfig freenx-0.7.1/nxloadconfig
+--- freenx-0.7.1.orig/nxloadconfig 2007-10-31 13:47:45.000000000 +0100
++++ freenx-0.7.1/nxloadconfig 2007-10-31 13:48:43.000000000 +0100
+@@ -155,9 +155,9 @@
+ ENABLE_CUPS_SEAMLESS="0"
+ CUPS_SEAMLESS_DELAY="10"
+ ENABLE_FOOMATIC="1"
+-COMMAND_FOOMATIC="/usr/lib/cups/driver/foomatic-ppdfile"
++COMMAND_FOOMATIC="/usr/bin/foomatic-ppdfile"
+
+-CUPS_BACKEND="/usr/lib/cups/backend"
++CUPS_BACKEND="/usr/libexec/cups/backend"
+ CUPS_IPP_BACKEND="$CUPS_BACKEND/nxipp"
+ CUPS_DEFAULT_SOCK="/var/run/cups/cups.sock"
+ CUPS_ETC="/etc/cups/"
diff --git a/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3_p102-cflags.patch b/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3_p102-cflags.patch
new file mode 100644
index 0000000..e57cf84
--- /dev/null
+++ b/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3_p102-cflags.patch
@@ -0,0 +1,33 @@
+--- nx-session-launcher/Makefile.orig 2008-12-19 16:34:02.000000000 +0100
++++ nx-session-launcher/Makefile 2008-12-19 16:34:55.000000000 +0100
+@@ -1,7 +1,6 @@
+ .PHONY: all install
+
+-CC=gcc
+-CFLAGS=-g -O2 -Wall -fPIC
++CFLAGS+=-fPIC
+
+ SOURCES = nx-session-launcher-suid.c
+ PROGRAMS = nx-session-launcher-suid
+--- nxredir/Makefile.orig 2008-12-19 16:33:53.000000000 +0100
++++ nxredir/Makefile 2008-12-19 16:34:48.000000000 +0100
+@@ -1,7 +1,6 @@
+ all: libnxredir.so
+
+-CC=gcc
+-CFLAGS=-g -O2 -Wall -fPIC
++CFLAGS+=-fPIC
+ LIBNAME=libnxredir.so
+ VERSION=0
+
+@@ -14,8 +13,8 @@
+ rm -f *.o
+
+ ifneq ($(NX_VERSION),)
+-install: all
+- install -m755 $(LIBNAME) $(DESTDIR)/$$PATH_LIB/
++install:
++ install -m755 $(LIBNAME).$(VERSION) $(DESTDIR)/$$PATH_LIB/
+ install -m755 nxredir $(DESTDIR)/$$PATH_BIN/
+ install -m755 nxsmb $(DESTDIR)/$$CUPS_BACKEND/
+ perl -pi -e "s,PATH_LIB=.*,PATH_LIB=\"$$PATH_LIB\",g" $(DESTDIR)/$$PATH_BIN/nxredir
diff --git a/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3_p104-jobserver_fix.patch b/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3_p104-jobserver_fix.patch
new file mode 100644
index 0000000..385f96a
--- /dev/null
+++ b/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3_p104-jobserver_fix.patch
@@ -0,0 +1,12 @@
+diff -ru freenx-server_orig/Makefile freenx-server/Makefile
+--- freenx-server_orig/Makefile 2009-03-29 14:07:27.000000000 +0200
++++ freenx-server/Makefile 2010-05-09 09:18:36.000000000 +0200
+@@ -6,7 +6,7 @@
+ PROGRAMS=nxacl.sample nxcheckload.sample nxcups-gethost nxdesktop_helper nxdialog nxkeygen nxloadconfig nxnode nxnode-login nxprint nxserver nxserver-helper/nxserver-helper nxsetup nxviewer_helper nxviewer-passwd/nxpasswd/nxpasswd nx-session-launcher/nx-session-launcher nx-session-launcher/nx-session-launcher-suid nxserver-usermode nxserver-suid/nxserver-suid
+
+ all:
+- cd nxviewer-passwd && xmkmf && make Makefiles && make depend
++ cd nxviewer-passwd && xmkmf && $(MAKE) Makefiles && $(MAKE) depend
+ source nxloadconfig &&\
+ export PATH_BIN PATH_LIB CUPS_BACKEND NX_VERSION NX_ETC_DIR &&\
+ for i in $(SUBDIRS) ; \
diff --git a/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3_p104-md5sum.patch b/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3_p104-md5sum.patch
new file mode 100644
index 0000000..b62c0ff
--- /dev/null
+++ b/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3_p104-md5sum.patch
@@ -0,0 +1,24 @@
+diff -Naur freenx-server.orig//node.conf.sample freenx-server/node.conf.sample
+--- freenx-server.orig//node.conf.sample 2010-07-19 17:01:24.146731690 +0200
++++ freenx-server/node.conf.sample 2010-07-19 17:03:04.910481227 +0200
+@@ -560,7 +560,7 @@
+ #COMMAND_CUPSD=/usr/sbin/cupsd
+
+ # The tool to generate md5sums with
+-#COMMAND_MD5SUM="openssl md5"
++#COMMAND_MD5SUM="md5sum"
+
+ # The key that contains the name of the complete path of the 'rdesktop' command.
+ #COMMAND_RDESKTOP=rdesktop
+diff -Naur freenx-server.orig//nxloadconfig freenx-server/nxloadconfig
+--- freenx-server.orig//nxloadconfig 2010-07-19 17:01:24.146731690 +0200
++++ freenx-server/nxloadconfig 2010-07-19 17:03:14.234544279 +0200
+@@ -213,7 +213,7 @@
+ COMMAND_SSH=ssh
+ COMMAND_SSH_KEYGEN=ssh-keygen
+ COMMAND_CUPSD=/usr/sbin/cupsd
+-COMMAND_MD5SUM="openssl md5"
++COMMAND_MD5SUM="md5sum"
+ COMMAND_PERL=perl
+ COMMAND_RDESKTOP="rdesktop"
+ COMMAND_VNCVIEWER="vncviewer"
diff --git a/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3_p104-nxloadconfig.patch b/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3_p104-nxloadconfig.patch
new file mode 100644
index 0000000..56c0255
--- /dev/null
+++ b/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3_p104-nxloadconfig.patch
@@ -0,0 +1,47 @@
+--- nxloadconfig.orig 2009-12-15 21:31:45.000000000 +0100
++++ nxloadconfig 2009-12-15 21:32:21.000000000 +0100
+@@ -58,7 +58,7 @@
+ # Where can different nx components be found
+ NX_DIR=/usr
+ PATH_BIN=$NX_DIR/bin # if you change that, be sure to also change the public keys
+-PATH_LIB=$NX_DIR/lib
++PATH_LIB=$NX_DIR/lib/NX/lib
+ NX_ETC_DIR=/etc/nxserver
+ NX_SESS_DIR=/var/lib/nxserver/db
+ NX_HOME_DIR=/var/lib/nxserver/home
+@@ -194,14 +194,14 @@
+ KILL_DEFAULT_X_WM="1"
+ BOOTSTRAP_X_SESSION="0"
+ USER_X_STARTUP_SCRIPT=.Xclients
+-DEFAULT_X_SESSION=/etc/X11/xdm/Xsession
++DEFAULT_X_SESSION=/etc/X11/Sessions/Xsession
+ COMMAND_GDM_X_SESSION="/etc/gdm/Xsession custom"
+ if [ ! -x "$COMMAND_GDM_X_SESSION" ]
+ then
+- COMMAND_GDM_X_SESSION="/etc/X11/Xsession"
++ COMMAND_GDM_X_SESSION="/etc/X11/Sessions/Xsession"
+ fi
+ COMMAND_START_KDE=startkde
+-COMMAND_START_GNOME=gnome-session
++COMMAND_START_GNOME=/etc/X11/Sessions/Gnome
+ COMMAND_START_CDE=cdwm
+ COMMAND_XTERM=xterm
+ COMMAND_XAUTH=/usr/bin/xauth
+@@ -224,7 +224,7 @@
+ COMMAND_NXSHADOWACL="$PATH_BIN/nxshadowacl"
+ COMMAND_NXACL="$PATH_BIN/nxacl"
+ COMMAND_NXCHECKLOAD="$PATH_BIN/nxcheckload"
+-COMMAND_NXAGENT="$PATH_BIN/nxagent"
++COMMAND_NXAGENT="REAL_PATH_LIB/nxagent"
+
+ # Guest directives
+ ENABLE_GUEST_LOGIN="0"
+@@ -357,7 +357,7 @@
+ [ -z "$AGENT_LIBRARY_PATH" ] && AGENT_LIBRARY_PATH=$PATH_LIB
+ [ -z "$PROXY_LIBRARY_PATH" ] && PROXY_LIBRARY_PATH=$PATH_LIB
+ [ -z "$APPLICATION_LIBRARY_PATH" ] && APPLICATION_LIBRARY_PATH=$PATH_LIB
+-[ -z "$APPLICATION_LIBRARY_PRELOAD" ] && APPLICATION_LIBRARY_PRELOAD="$APPLICATION_LIBRARY_PATH/libX11.so.6.2:$APPLICATION_LIBRARY_PATH/libXext.so.6.4:$APPLICATION_LIBRARY_PATH/libXcomp.so:$APPLICATION_LIBRARY_PATH/libXcompext.so:$APPLICATION_LIBRARY_PATH/libXrender.so.1.2"
++[ -z "$APPLICATION_LIBRARY_PRELOAD" ] && APPLICATION_LIBRARY_PRELOAD="$APPLICATION_LIBRARY_PATH/libX11.so:$APPLICATION_LIBRARY_PATH/libXext.so:$APPLICATION_LIBRARY_PATH/libXcomp.so:$APPLICATION_LIBRARY_PATH/libXcompext.so:$APPLICATION_LIBRARY_PATH/libXrender.so"
+
+ NX_BACKEND_VERSION=$(strings $COMMAND_NXAGENT 2>/dev/null | egrep 'NXAGENT - Version' | sed 's/.*Version //g')
+
diff --git a/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3_p104-nxnode_setup_samba.patch b/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3_p104-nxnode_setup_samba.patch
new file mode 100644
index 0000000..543cc16
--- /dev/null
+++ b/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3_p104-nxnode_setup_samba.patch
@@ -0,0 +1,106 @@
+diff -ruN freenx-server.orig/nxnode freenx-server/nxnode
+--- freenx-server.orig/nxnode 2009-03-29 14:07:27.000000000 +0200
++++ freenx-server/nxnode 2009-05-12 19:19:28.090537066 +0200
+@@ -85,6 +85,45 @@
+ echo $sessionid
+ }
+
++setup_samba()
++{
++ smbport=""
++
++ # We know from protocol traces that client=linux,winnt,macosx are valid values.
++ # I hope with smbclientproto=smb on default and smbclientproto=cifs on all valid
++ # values we get support for all those systems.
++
++ smbproto="$SAMBA_MOUNT_SHARE_PROTOCOL"
++
++ if [ "$smbproto" = "both" ]
++ then
++ smbproto="smbfs"
++
++ [ "$client" = "linux" ] && smbproto="cifs"
++ [ "$client" = "winnt" ] && smbproto="cifs"
++ [ "$client" = "macosx" ] && smbproto="cifs"
++
++ # FIXME: This is a rather wild guess
++ [ "$client" = "win9x" ] && smbproto="smbfs"
++ fi
++
++ if [ "$smbproto" = "cifs" ]
++ then
++ smbport=445
++ COMMAND_SMBMOUNT=$COMMAND_SMBMOUNT_CIFS
++ COMMAND_SMBUMOUNT=$COMMAND_SMBUMOUNT_CIFS
++ elif [ "$smbproto" = "none" ] # none
++ then
++ # we set this to true so that the
++ # SMB mount does not give an error message.
++
++ COMMAND_SMBMOUNT=/bin/true
++ COMMAND_SMBUMOUNT=/bin/true
++ else # smbfs
++ smbport=139
++ fi
++}
++
+ #
+ # -----------------------------------------------------------------------------
+ # Node functions module
+@@ -735,6 +774,7 @@
+
+ node_umount_smb()
+ {
++ setup_samba
+ [ -e "$USER_FAKE_HOME/.nx/C-$sess_id/scripts/mpoint" ] || return
+ cat "$USER_FAKE_HOME/.nx/C-$sess_id/scripts/mpoint" | while read mpoint
+ do
+@@ -1136,39 +1176,7 @@
+
+ if [ "$samba" = "1" ]
+ then
+- # We know from protocol traces that client=linux,winnt,macosx are valid values.
+- # I hope with smbclientproto=smb on default and smbclientproto=cifs on all valid
+- # values we get support for all those systems.
+-
+- smbproto="$SAMBA_MOUNT_SHARE_PROTOCOL"
+-
+- if [ "$smbproto" = "both" ]
+- then
+- smbproto="smbfs"
+-
+- [ "$client" = "linux" ] && smbproto="cifs"
+- [ "$client" = "winnt" ] && smbproto="cifs"
+- [ "$client" = "macosx" ] && smbproto="cifs"
+-
+- # FIXME: This is a rather wild guess
+- [ "$client" = "win9x" ] && smbproto="smbfs"
+- fi
+-
+- if [ "$smbproto" = "cifs" ]
+- then
+- smbport=445
+- COMMAND_SMBMOUNT=$COMMAND_SMBMOUNT_CIFS
+- COMMAND_SMBUMOUNT=$COMMAND_SMBUMOUNT_CIFS
+- elif [ "$smbproto" = "none" ] # none
+- then
+- # we set this to true so that the
+- # SMB mount does not give an error message.
+-
+- COMMAND_SMBMOUNT=/bin/true
+- COMMAND_SMBUMOUNT=/bin/true
+- else # smbfs
+- smbport=139
+- fi
++ setup_samba
+ fi
+
+ # FreeNX specific variables
+@@ -1430,6 +1438,7 @@
+
+ cmd_node_smbmount()
+ {
++ setup_samba
+ sessionid=$(getparam_sessionid)
+ port=$(getparam port)
+ username=$(getparam username)
diff --git a/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3_p104-pam_ssh.patch b/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3_p104-pam_ssh.patch
new file mode 100644
index 0000000..71a3177
--- /dev/null
+++ b/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3_p104-pam_ssh.patch
@@ -0,0 +1,10 @@
+--- ./nxnode-login 2009-04-20 16:54:24.000000000 +0200
++++ /usr/bin/nxnode-login 2009-04-20 16:54:27.000000000 +0200
+@@ -73,6 +73,7 @@
+ expect {
+ "Are you sure you want to continue connecting (yes/no)?" { send "yes\r" }
+ "assword*:" { sleep 0.3; send "$password\r" }
++ "SSH passphrase:" { sleep 0.3; send "$password\r" }
+ "Permission denied*" { exit 1 }
+ "su: Authentication failure" { exit 1 }
+ "NX> 1000 NXNODE - Version" {
diff --git a/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3_p104-r7-QA-fixes.patch b/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3_p104-r7-QA-fixes.patch
new file mode 100644
index 0000000..7490ace
--- /dev/null
+++ b/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3_p104-r7-QA-fixes.patch
@@ -0,0 +1,40 @@
+--- a/nx-session-launcher/Makefile.orig 2008-12-19 16:34:02.000000000 +0100
++++ b/nx-session-launcher/Makefile 2008-12-19 16:34:55.000000000 +0100
+@@ -1,7 +1,6 @@
+ .PHONY: all install
+
+-CC=gcc
+-CFLAGS=-g -O2 -Wall -fPIC
++CFLAGS+=-fPIC
+
+ SOURCES = nx-session-launcher-suid.c
+ PROGRAMS = nx-session-launcher-suid
+--- a/nxredir/Makefile
++++ b/nxredir/Makefile
+@@ -1,12 +1,11 @@
+ all: libnxredir.so
+
+-CC=gcc
+-CFLAGS=-g -O2 -Wall -fPIC
++CFLAGS+=-fPIC
+ LIBNAME=libnxredir.so
+ VERSION=0
+
+-libnxredir.so: nxredir.o
+- $(CC) -fPIC $(CFLAGS) -nostdlib -shared -Wl,-soname,$(LIBNAME).$(VERSION) -o $(LIBNAME).$(VERSION) nxredir.o -ldl -lc
++libnxredir.so: nxredir.c
++ $(CC) -fPIC $(CFLAGS) $(LDFLAGS) -nostdlib -shared -Wl,-soname,$(LIBNAME).$(VERSION) -o $(LIBNAME).$(VERSION) nxredir.c -ldl -lc
+
+ clean:
+ rm -f $(LIBNAME)
+@@ -14,8 +13,8 @@
+ rm -f *.o
+
+ ifneq ($(NX_VERSION),)
+-install: all
+- install -m755 $(LIBNAME) $(DESTDIR)/$$PATH_LIB/
++install:
++ install -m755 $(LIBNAME).$(VERSION) $(DESTDIR)/$$PATH_LIB/
+ install -m755 nxredir $(DESTDIR)/$$PATH_BIN/
+ install -m755 nxsmb $(DESTDIR)/$$CUPS_BACKEND/
+ perl -pi -e "s,PATH_LIB=.*,PATH_LIB=\"$$PATH_LIB\",g" $(DESTDIR)/$$PATH_BIN/nxredir
diff --git a/net-misc/nxserver-freenx/files/nxserver.init b/net-misc/nxserver-freenx/files/nxserver.init
new file mode 100644
index 0000000..564d0d6
--- /dev/null
+++ b/net-misc/nxserver-freenx/files/nxserver.init
@@ -0,0 +1,24 @@
+#!/sbin/runscript
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freenx/files/nxserver.init,v 1.3 2008/04/07 14:45:19 voyageur Exp $
+
+depend() {
+ before sshd
+}
+
+start() {
+ ebegin "Starting FreeNX server"
+ /usr/bin/nxserver --cleanup >/dev/null 2>&1
+ /usr/bin/nxserver --start >/dev/null 2>&1
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping FreeNX server"
+ /usr/bin/nxserver --stop >/dev/null 2>&1
+ /usr/bin/nxserver --cleanup >/dev/null 2>&1
+ eend 0
+}
+
+# vim:ts=4
diff --git a/net-misc/nxserver-freenx/metadata.xml b/net-misc/nxserver-freenx/metadata.xml
new file mode 100644
index 0000000..29eb0eb
--- /dev/null
+++ b/net-misc/nxserver-freenx/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>nx</herd>
+ <longdescription>
+ NXServer is an X11/VNC/NXServer proxy server especially tuned for using remote
+ desktops over low-bandwidth links such as the Internet, WANS, and wireless
+</longdescription>
+ <use>
+ <flag name="nxclient">Allow to install <pkg>net-misc/nxclient</pkg> in parallel with this package, using it to display messages in the sessions</flag>
+ </use>
+</pkgmetadata>
diff --git a/net-misc/nxserver-freenx/nxserver-freenx-0.7.3_p104-r7.ebuild b/net-misc/nxserver-freenx/nxserver-freenx-0.7.3_p104-r7.ebuild
new file mode 100644
index 0000000..e3219e9
--- /dev/null
+++ b/net-misc/nxserver-freenx/nxserver-freenx-0.7.3_p104-r7.ebuild
@@ -0,0 +1,130 @@
+# Copyright 1999-2015 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.7.3_p104-r7.ebuild,v 1.4 2015/03/01 15:04:04 jlec Exp $
+
+EAPI="5"
+
+inherit multilib eutils toolchain-funcs user versionator
+
+MAJOR_PV="$(get_version_component_range 1-3)"
+PATCH_VER="$(get_version_component_range 4)"
+MY_PN="freenx-server"
+
+DESCRIPTION="Free Software Implementation of the NX Server"
+HOMEPAGE="https://launchpad.net/~freenx-team"
+SRC_URI="http://ppa.launchpad.net/freenx-team/ppa/ubuntu/pool/main/f/${MY_PN}/freenx-server_${MAJOR_PV}+teambzr${PATCH_VER/p}.orig.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+IUSE="+nxclient rdesktop vnc"
+
+DEPEND="x11-misc/gccmakedep
+ x11-misc/imake"
+
+RDEPEND="dev-tcltk/expect
+ media-fonts/font-cursor-misc
+ media-fonts/font-misc-misc
+ net-analyzer/gnu-netcat
+ >=net-misc/nx-2.1.0
+ x11-apps/xauth
+ x11-apps/xrdb
+ x11-apps/sessreg
+ virtual/awk
+ virtual/ssh
+ nxclient? ( net-misc/nxclient )
+ !nxclient? ( !net-misc/nxclient
+ || ( x11-misc/xdialog
+ x11-apps/xmessage ) )
+ rdesktop? ( net-misc/rdesktop )
+ vnc? ( x11-misc/x11vnc
+ net-misc/tightvnc )"
+
+S=${WORKDIR}/${MY_PN}
+
+export NX_HOME_DIR=/var/lib/nxserver/home
+
+pkg_setup () {
+ enewuser nx -1 -1 ${NX_HOME_DIR}
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-pam_ssh.patch
+ epatch "${FILESDIR}"/${P}-nxnode_setup_samba.patch
+ epatch "${FILESDIR}"/${P}-nxloadconfig.patch
+ epatch "${FILESDIR}"/${PN}-0.7.2-cups.patch
+ epatch "${FILESDIR}"/${P}-jobserver_fix.patch
+ epatch "${FILESDIR}"/${P}-md5sum.patch
+
+ # Path to net-misc/nx files, support for nx >= 3.4.0
+ sed -e "/PATH_LIB=/s/lib/$(get_libdir)/g" \
+ -e "s#REAL_PATH_LIB#/usr/$(get_libdir)/NX/bin#" \
+ -e "s#3.\[0123\].0#3.\[012345\].0#g" \
+ -i nxloadconfig || die
+
+ # Respect user's CC, CFLAGS and LDFLAGS and do other QA fixes.
+ epatch "${FILESDIR}"/${P}-r7-QA-fixes.patch
+}
+
+src_compile() {
+ emake CDEBUGFLAGS="${CFLAGS}" CC="$(tc-getCC)" EXTRA_LDOPTIONS="${LDFLAGS}"
+}
+
+src_install() {
+ export NX_ETC_DIR=/etc/nxserver
+ export NX_SESS_DIR=/var/lib/nxserver/db
+
+ default
+
+ # This should be renamed to remove the blocker on net-misc/nxclient
+ if use nxclient ; then
+ rm "${ED}"/usr/bin/nxprint || die
+ fi
+
+ mv "${ED}"/etc/nxserver/node.conf.sample "${ED}"/etc/nxserver/node.conf ||
+ die "cannot find default configuration file"
+
+ dodir ${NX_ETC_DIR}
+ for x in passwords passwords.orig ; do
+ touch "${ED}"/${NX_ETC_DIR}/$x
+ fperms 600 ${NX_ETC_DIR}/$x
+ done
+
+ dodir ${NX_SESS_DIR}
+ for x in closed running failed ; do
+ keepdir ${NX_SESS_DIR}/$x
+ fperms 0700 ${NX_SESS_DIR}/$x
+ done
+
+ dodir ${NX_HOME_DIR}
+
+ newinitd "${FILESDIR}"/nxserver.init nxserver
+}
+
+pkg_postinst () {
+ # Other NX servers ebuilds may have already created the nx account
+ # However they use different login shell/home directory paths
+ if [[ ${ROOT} == "/" ]]; then
+ usermod -s /usr/bin/nxserver nx || die "Unable to set login shell of nx user!!"
+ usermod -d ${NX_HOME_DIR} nx || die "Unable to set home directory of nx user!!"
+ usermod -a -G utmp nx || die "Unable to add nx user to utmp group!!"
+ else
+ elog "If you had another NX server installed before, please make sure"
+ elog "the nx user account is correctly set to:"
+ elog " * login shell: /usr/bin/nxserver"
+ elog " * home directory: ${NX_HOME_DIR}"
+ elog " * supplementary groups: utmp"
+ fi
+
+ elog "To complete the installation, run:"
+ elog " nxsetup --install --setup-nomachine-key"
+ elog "This will use the default Nomachine SSH key"
+ elog "If you had older NX servers installed, you may need to add \"--clean --purge\" to the nxsetup command"
+
+ if has_version net-misc/openssh[-pam]; then
+ elog ""
+ elog "net-misc/openssh was not built with PAM support"
+ elog "You will need to unlock the nx account by setting a password for it"
+ fi
+}
diff --git a/net-misc/qtnx/ChangeLog b/net-misc/qtnx/ChangeLog
new file mode 100644
index 0000000..d784b9e
--- /dev/null
+++ b/net-misc/qtnx/ChangeLog
@@ -0,0 +1,30 @@
+# ChangeLog for net-misc/qtnx
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/qtnx/ChangeLog,v 1.8 2013/03/02 23:05:56 hwoarang Exp $
+
+ 02 Mar 2013; Markos Chandras <hwoarang@gentoo.org> qtnx-0.9.ebuild:
+ Move Qt dependencies to the new category
+
+ 30 Mar 2012; Bernard Cafarelli <voyageur@gentoo.org> qtnx-0.9.ebuild:
+ Migrate to qt4-r2 eclass, thanks Michael Kensington in bug #410169
+
+ 06 Oct 2009; Dominik Kapusta <ayoy@gentoo.org> qtnx-0.9.ebuild:
+ Removed alternative dependency on Qt metapackage
+
+ 08 Mar 2009; Markus Meier <maekke@gentoo.org> ChangeLog:
+ amd64/x86 stable, bug #256414
+
+ 05 Jun 2008; Peter Volkov <pva@gentoo.org> qtnx-0.9.ebuild:
+ amd64 stable, bug #222967.
+
+ 04 Jun 2008; Bernard Cafarelli <voyageur@gentoo.org> qtnx-0.9.ebuild:
+ Actually depend on qt-4 (both monolithic and splitted versions), thanks pva
+
+ 29 May 2008; Christian Faulhammer <opfer@gentoo.org> qtnx-0.9.ebuild:
+ x86 stable, bug #222967
+
+*qtnx-0.9 (14 Mar 2008)
+
+ 14 Mar 2008; Bernard Cafarelli <voyageur@gentoo.org> +metadata.xml,
+ +qtnx-0.9.ebuild:
+ Initial version, from NX overlay and bug #213210
diff --git a/net-misc/qtnx/Manifest b/net-misc/qtnx/Manifest
new file mode 100644
index 0000000..307499b
--- /dev/null
+++ b/net-misc/qtnx/Manifest
@@ -0,0 +1,4 @@
+DIST freenx-client-0.9.tar.bz2 46240 SHA256 dfc6c8dd89c26171411d8f7fa92613004eb8947ff509459151fdb03de7fe9608 SHA512 be56f594f13d0362c41391396db7d8a4807887622658c9e4a59e33e793625574dbc2a088b0c1ea28dfaa572f2d539d2a0a898459bd080609e120257845583df0 WHIRLPOOL fd15633bcf4128e89c0d74c2f94e62e13b0efbbc091407472609dff6bb7aad7183003a59272d1d0bda368374c2a7968d1b8efbba8900005e66a703a66c6e15fc
+EBUILD qtnx-0.9.ebuild 788 SHA256 83f88cdefe6c5b21328b85533c46c701cd4531fbf0859a2263b391882c03370a SHA512 cf56612fff20c262d8ec85821cbb62f1a4eb670dc91621b695e170783738d8b7f7a45ee0bd54504d455a1b3d5d461b1d86226a4fda91c56ebe393710e259f5c2 WHIRLPOOL d70fda63809fcb47e3820bc8fa80ff13b0416c4d0aa8c598120e7f66c3e033aebedc41afb6c0cea21f1d9c8577aa80f57f616e480948e655fb602f32b84a385a
+MISC ChangeLog 1175 SHA256 a7c4525bd89df07efabd13a45569992f90068e5a0fd05e9ee7b7d7d14e264709 SHA512 56f2a0eb03eed1d675da0e3fee4f2f8a524e0e8b8641338b780a5ef54fb54326173a2581a2f3fc45f83f9d9149039802ec5c2811c412d87cefcb031dd9d8fa82 WHIRLPOOL 25648b6854bcb25b793592c99e3425c46332aea692bdc054cc8edf9eb66ce7426e77e68666e686b8bf60e626f9ad1b926c6e7cbf67c170fdece83a2909069bfb
+MISC metadata.xml 224 SHA256 837a7a5b7fc01e7ff828ae2d0fa9c6838e7fa3ae73be7a96d8497464a9e489d2 SHA512 ae84dde2f3fdb32e415a300df6ef5ea880e7f84b1849251674b613adcebd01e0a0a4d361cf891df31bcbf5e68644f109fcc60182b2507f69371e5da6cffe0ba8 WHIRLPOOL b3b4b51479e5279db391403cb1f58d95cd136270f04d609e92e3adeee11a670b41f35beb93037250c5c7e684002ab9d0a26bb57117f99dccaf4474a90d976ca7
diff --git a/net-misc/qtnx/metadata.xml b/net-misc/qtnx/metadata.xml
new file mode 100644
index 0000000..f4751cd
--- /dev/null
+++ b/net-misc/qtnx/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>nx</herd>
+ <longdescription>A Qt-based NX client using nxcl</longdescription>
+</pkgmetadata>
diff --git a/net-misc/qtnx/qtnx-0.9.ebuild b/net-misc/qtnx/qtnx-0.9.ebuild
new file mode 100644
index 0000000..fc0850e
--- /dev/null
+++ b/net-misc/qtnx/qtnx-0.9.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/qtnx/qtnx-0.9.ebuild,v 1.7 2013/03/02 23:05:56 hwoarang Exp $
+
+EAPI="4"
+inherit qt4-r2
+
+MY_P="freenx-client-${PV}"
+
+DESCRIPTION="A Qt-based NX client using nxcl"
+HOMEPAGE="http://developer.berlios.de/projects/freenx/"
+SRC_URI="http://dev.gentoo.org/~voyageur/distfiles/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="net-misc/nxcl
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}/${PN}"
+
+src_prepare() {
+ sed -i -e "s#id\.key#/usr/share/${PN}/id.key#" qtnxwindow.cpp || die "sed failed"
+}
+
+src_install() {
+ dobin ${PN}
+ dodoc README
+
+ insinto /usr/share/${PN}
+ doins id.key
+}