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 /net-misc/nxserver-freenx
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
Diffstat (limited to 'net-misc/nxserver-freenx')
-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
13 files changed, 1009 insertions, 0 deletions
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
+}