diff options
Diffstat (limited to 'net-misc/nxserver-freenx')
-rw-r--r-- | net-misc/nxserver-freenx/ChangeLog | 376 | ||||
-rw-r--r-- | net-misc/nxserver-freenx/Manifest | 8 | ||||
-rw-r--r-- | net-misc/nxserver-freenx/files/nxserver-freenx-0.7.2-cups.patch | 33 | ||||
-rw-r--r-- | net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3_p102-cflags.patch | 33 | ||||
-rw-r--r-- | net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3_p102-nxloadconfig.patch | 43 | ||||
-rw-r--r-- | net-misc/nxserver-freenx/files/nxserver.init | 24 | ||||
-rw-r--r-- | net-misc/nxserver-freenx/metadata.xml | 12 | ||||
-rw-r--r-- | net-misc/nxserver-freenx/nxserver-freenx-0.7.3_p104.ebuild | 114 |
8 files changed, 643 insertions, 0 deletions
diff --git a/net-misc/nxserver-freenx/ChangeLog b/net-misc/nxserver-freenx/ChangeLog new file mode 100644 index 0000000..1c19d5f --- /dev/null +++ b/net-misc/nxserver-freenx/ChangeLog @@ -0,0 +1,376 @@ +# ChangeLog for net-misc/nxserver-freenx +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freenx/ChangeLog,v 1.61 2009/03/20 16:39:05 voyageur Exp $ + + 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..505fa68 --- /dev/null +++ b/net-misc/nxserver-freenx/Manifest @@ -0,0 +1,8 @@ +AUX nxserver-freenx-0.7.2-cups.patch 1312 RMD160 c6f0a0675fe7902cc2e53123e708f17e36c44dcd SHA1 3bcd5c4a8bd5ed560f91a705c5f45d3f756c16e9 SHA256 50d0ae81b1bf86aecb0eec82920db481633ae0181dfe2894ac1b10faf5b8644d +AUX nxserver-freenx-0.7.3_p102-cflags.patch 925 RMD160 d735fffcac7500ed1329e273a97d4b5da5a3d825 SHA1 a28ad4001ec8a28b33a4646e48a453bd2e89ba02 SHA256 ca99ad30acaf356ece570ebbc0ca4e52e40590533173bc028872dffc1055066b +AUX nxserver-freenx-0.7.3_p102-nxloadconfig.patch 2007 RMD160 0bdbcb76de722284d1ba3f39786b31ae3e0cac0b SHA1 f5a8ad8912763a912270a9a83a52d74aefeb1842 SHA256 d241bde25650bd1613618c84aa05c6887f528e44a550fde165a16fb3b7c95396 +AUX nxserver.init 568 RMD160 a48a0d4853fcd28c0ec6dd2e0366bc69ac1e4b28 SHA1 3980df2e35c594a806b18062e781fa5e52131ff9 SHA256 eda452183da56f6ef5730f1f9e7c968c462b2d3ad31c58ed6100d90c7533c4f2 +DIST freenx-server_0.7.3+teambzr104.orig.tar.gz 118242 RMD160 6dc846efa3953516110a212fe6030ba4936ad21d SHA1 47046b08b1f329a00feaccd3fff9129b1aee0b9e SHA256 0d8b8ea883d67551f40c6e1c3a4a280d5bd663f27147a054e879c58b31873c71 +EBUILD nxserver-freenx-0.7.3_p104.ebuild 3438 RMD160 e7336805482fc18d01e242b1582d2fc5f675d9e9 SHA1 595aa08a95243c8ee6b36870fcc9e4715f1737af SHA256 28db5cd93382bce100f5871edaf5e2eb7f93adfb9e2b85a30d1517c2ae8575d3 +MISC ChangeLog 14196 RMD160 60f38a2dbe27b5b90bd673411204d2645f67d7c4 SHA1 d63a4b4bd7a08da20ae5738c2362dea5de30a35f SHA256 ceeae74dd885dc574c8263b6dc33049f0c4350c68fca039f8f0f2990a37c3576 +MISC metadata.xml 525 RMD160 6b438e37f35775bbce33bbb1a04494049956aa04 SHA1 cf904293a398fd2acb8492d4c0a6c43045d71ea5 SHA256 50af7f059bc7dbf3a4040618c7c9bfa9a6f57ce7eeb2d135ed912a60bcc373bc 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_p102-nxloadconfig.patch b/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3_p102-nxloadconfig.patch new file mode 100644 index 0000000..21a3326 --- /dev/null +++ b/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3_p102-nxloadconfig.patch @@ -0,0 +1,43 @@ +--- nxloadconfig.orig 2009-03-12 18:29:22.000000000 +0100 ++++ nxloadconfig 2009-03-12 18:29:53.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,11 +194,11 @@ + 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 +@@ -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.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..7023779 --- /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.ebuild b/net-misc/nxserver-freenx/nxserver-freenx-0.7.3_p104.ebuild new file mode 100644 index 0000000..f7f434e --- /dev/null +++ b/net-misc/nxserver-freenx/nxserver-freenx-0.7.3_p104.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2009 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_p102.ebuild,v 1.3 2009/03/20 16:39:05 voyageur Exp $ + +EAPI=1 + +inherit multilib eutils toolchain-funcs 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="http://freenx.berlios.de/ 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 + net-analyzer/gnu-netcat + >=net-misc/nx-2.1.0 + sys-apps/gawk + virtual/ssh + x11-apps/xauth + x11-apps/xrdb + x11-apps/sessreg + 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 net-misc/vnc ) ) + !net-misc/nxserver-freeedition + !net-misc/nxserver-2xterminalserver" + +S=${WORKDIR}/${MY_PN} + +export NX_HOME_DIR=/var/lib/nxserver/home + +pkg_setup () { + enewuser nx -1 -1 ${NX_HOME_DIR} +} + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${PN}-0.7.3_p102-nxloadconfig.patch + epatch "${FILESDIR}"/${PN}-0.7.3_p102-cflags.patch + epatch "${FILESDIR}"/${PN}-0.7.2-cups.patch + + sed -e "/PATH_LIB=/s/lib/$(get_libdir)/g" \ + -e "s#REAL_PATH_LIB#/usr/$(get_libdir)/NX/bin#" \ + -i nxloadconfig || die "nxloadconfig sed failed" +} + +src_compile() { + emake CC=$(tc-getCC) CDEBUGFLAGS="${CFLAGS}" || die "compilation failed" +} + +src_install() { + export NX_ETC_DIR=/etc/nxserver + export NX_SESS_DIR=/var/lib/nxserver/db + + emake DESTDIR="${D}" install || die "install failed" + + # This should be renamed to remove the blocker on net-misc/nxclient + use nxclient && rm "${D}"/usr/bin/nxprint + + mv "${D}"/etc/nxserver/node.conf.sample "${D}"/etc/nxserver/node.conf || + die "cannot find default configuration file" + + dodir ${NX_ETC_DIR} + for x in passwords passwords.orig ; do + touch "${D}"${NX_ETC_DIR}/$x + chmod 600 "${D}"${NX_ETC_DIR}/$x + done + + dodir ${NX_HOME_DIR} + + for x in closed running failed ; do + keepdir ${NX_SESS_DIR}/$x + fperms 0700 ${NX_SESS_DIR}/$x + done + + 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" +} |