summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2009-12-15 20:35:41 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2009-12-15 20:35:41 +0000
commita78e7479f38d9715255b6864cc34fb42d7c6640b (patch)
treefd06932826847e3d6cdf3d0845d1c4fb9fe2449f /net-misc/nxserver-freenx
parentChange Gnome start command, bug #292480 (diff)
downloadhistorical-a78e7479f38d9715255b6864cc34fb42d7c6640b.tar.gz
historical-a78e7479f38d9715255b6864cc34fb42d7c6640b.tar.bz2
historical-a78e7479f38d9715255b6864cc34fb42d7c6640b.zip
Clean some versions, EAPI2, fix Gnome start command for bug #292480
Package-Manager: portage-2.2_rc59/cvs/Linux x86_64
Diffstat (limited to 'net-misc/nxserver-freenx')
-rw-r--r--net-misc/nxserver-freenx/ChangeLog17
-rw-r--r--net-misc/nxserver-freenx/Manifest24
-rw-r--r--net-misc/nxserver-freenx/files/nxserver-freenx-0.7.2-exitstatus.patch33
-rw-r--r--net-misc/nxserver-freenx/files/nxserver-freenx-0.7.2-nolistentcp.patch11
-rw-r--r--net-misc/nxserver-freenx/files/nxserver-freenx-0.7.2-nxloadconfig.patch54
-rw-r--r--net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3-cflags.patch22
-rw-r--r--net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3-nxloadconfig.patch51
-rw-r--r--net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3-roundrobin.patch143
-rw-r--r--net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3_p104-nxloadconfig.patch47
-rw-r--r--net-misc/nxserver-freenx/nxserver-freenx-0.7.3-r2.ebuild123
-rw-r--r--net-misc/nxserver-freenx/nxserver-freenx-0.7.3-r3.ebuild125
-rw-r--r--net-misc/nxserver-freenx/nxserver-freenx-0.7.3_p104-r3.ebuild (renamed from net-misc/nxserver-freenx/nxserver-freenx-0.7.3_p104-r1.ebuild)12
12 files changed, 71 insertions, 591 deletions
diff --git a/net-misc/nxserver-freenx/ChangeLog b/net-misc/nxserver-freenx/ChangeLog
index b72b6ea16599..8f2fc5ae6348 100644
--- a/net-misc/nxserver-freenx/ChangeLog
+++ b/net-misc/nxserver-freenx/ChangeLog
@@ -1,6 +1,21 @@
# 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.68 2009/11/25 14:00:53 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freenx/ChangeLog,v 1.69 2009/12/15 20:35:41 voyageur Exp $
+
+*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:
diff --git a/net-misc/nxserver-freenx/Manifest b/net-misc/nxserver-freenx/Manifest
index 714f59c762b6..71f0efb762ce 100644
--- a/net-misc/nxserver-freenx/Manifest
+++ b/net-misc/nxserver-freenx/Manifest
@@ -1,30 +1,12 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX nxserver-freenx-0.7.2-cups.patch 1312 RMD160 c6f0a0675fe7902cc2e53123e708f17e36c44dcd SHA1 3bcd5c4a8bd5ed560f91a705c5f45d3f756c16e9 SHA256 50d0ae81b1bf86aecb0eec82920db481633ae0181dfe2894ac1b10faf5b8644d
-AUX nxserver-freenx-0.7.2-exitstatus.patch 1015 RMD160 446f7e0fd5317fb0b62ec0e1666080889152fdb5 SHA1 b0b72c5c86d9a9281575edb2659ca3f4f7d63c6e SHA256 556bae4afe6f8c28e5c3f2ede7454928a4b7875ff3a1f38ea4a7a78d1290c84a
-AUX nxserver-freenx-0.7.2-nolistentcp.patch 610 RMD160 1a1625bb2b5840cddf0c927567640a32295206d4 SHA1 adcb471f196294aacc682db449dcf94b178b34ba SHA256 e133da25a6a57a8e8097c4eaef4de2d0a1f45919f1d39af822e4c26b9d6b6fdf
-AUX nxserver-freenx-0.7.2-nxloadconfig.patch 3235 RMD160 a781432921cd62c2c705a83b2efcd76dccf5472d SHA1 6a9e9c8538effd16d4911431fdbcf8200d43a0e6 SHA256 954c77d2629c0c430c036bcedd1ef4be217f73448536378c306b902fa1737666
-AUX nxserver-freenx-0.7.3-cflags.patch 573 RMD160 fee4ca54ec92b945510da592709dc8936c836ca6 SHA1 8c39527466d30ede77b0faa7a0cda060177ef8ec SHA256 ae6c753a12100b580d89b7d09162aa2ac34dc04cc5a0fb8ebd1beb03848e24f2
-AUX nxserver-freenx-0.7.3-nxloadconfig.patch 2849 RMD160 fafa9dea7324d2c20dc099242cec34a1b828a920 SHA1 d97f5780a06870441ba2506b0d5cce435f1d9fbc SHA256 8a9c0f16cfd5079cfc055dc7c52b88fb4c5c4c9e45a929189ea6a9c3915ca1de
-AUX nxserver-freenx-0.7.3-roundrobin.patch 4130 RMD160 605a87e06ad4626d78abdcfa15ec1f73d3ea0a18 SHA1 c3407eef092b3432c9aba82a6b38e52c45b3dc34 SHA256 4d08d5a75c56f3b976282e191ed8041b6e776fe028f38dce23a2360f911279ed
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-freenx-0.7.3_p104-nxloadconfig.patch 2127 RMD160 42c749dc2b8c35f47693c1b0158fcb714b417e74 SHA1 1072496ae6bc91fae462225fbf583e11c688e8af SHA256 82bb31a23fff5b5a4333a0a8703d39c7375ffba7db0b261de2e44241e6de96bf
AUX nxserver-freenx-0.7.3_p104-nxnode_setup_samba.patch 2709 RMD160 973befb2e3c3c92b844b585aca1624f4f506ce79 SHA1 534041c2a3f7a02552f75f021b0ba50cf94a5bbf SHA256 ccc3464e6ae44353f98dda81b2ab8cd6fec2d8994586f6991ec823f9ea5ed658
AUX nxserver-freenx-0.7.3_p104-pam_ssh.patch 441 RMD160 f1adcb881d23cb7f950f67210f5842fc91a27b01 SHA1 bfac4b1cdf01ad3b3886dba631b733e8ec7ba2a8 SHA256 854d17b3656ac2382d84b32ed9de893b291217648f08f1f496e3d09a32b8d857
AUX nxserver.init 568 RMD160 a48a0d4853fcd28c0ec6dd2e0366bc69ac1e4b28 SHA1 3980df2e35c594a806b18062e781fa5e52131ff9 SHA256 eda452183da56f6ef5730f1f9e7c968c462b2d3ad31c58ed6100d90c7533c4f2
-DIST freenx-server-0.7.3.tar.gz 114680 RMD160 7a635b2d4796f4ab405c974c881985ea66e8efaf SHA1 888344f946cfb0802e2532e6b93601248c909eb8 SHA256 1afa8a64def93ee95a10f9105de2e6a6ff18076ee187c8ad20b34dc54116a3e4
DIST freenx-server_0.7.3+teambzr104.orig.tar.gz 118242 RMD160 6dc846efa3953516110a212fe6030ba4936ad21d SHA1 47046b08b1f329a00feaccd3fff9129b1aee0b9e SHA256 0d8b8ea883d67551f40c6e1c3a4a280d5bd663f27147a054e879c58b31873c71
-EBUILD nxserver-freenx-0.7.3-r2.ebuild 3609 RMD160 64c3ade18b69ea925ee7dd82d92c81d0d26d9d51 SHA1 8a31b98bda4bb50b76849bfb2de5011ab7349e10 SHA256 250b51ef18e12059eeff1fb2518647567c7252a98117fc0bed4873a3a24572b0
-EBUILD nxserver-freenx-0.7.3-r3.ebuild 3620 RMD160 d6db2d61fff95508069bcf15783e776ed14b0a2a SHA1 22e787b7b53d0c9e8d367cbc870c8fc429209349 SHA256 50b9211d8fe9fd30cbba14fc6cd10f15b63ac95dc71fa4cdca7ec29d8c79d9a1
-EBUILD nxserver-freenx-0.7.3_p104-r1.ebuild 3667 RMD160 3723594676749dcff40ba6a3ff3f6b0f6d33a5dd SHA1 698713bfd4aed06e427cf27cba0cb387625e411c SHA256 b5fdfa4897dbeec20f6ec0285f6af666a0af661eaf076480fc3872d33e3df2a5
EBUILD nxserver-freenx-0.7.3_p104-r2.ebuild 3715 RMD160 130a7498741e7df6323f287ac323547eb998330c SHA1 a6b591887251d54348181bc0a0416e013050dd6f SHA256 bf6d07b2345d390f7c358e91e80e341e90ff78dc2e9006aaf39cc67378142d19
-MISC ChangeLog 15922 RMD160 b756fa3ea5abb5588085a00d6ad62dcff1e80fd9 SHA1 0fee533773e909a57b3fed5bfcfe7f8a717375ff SHA256 98328e473756506153708004b5250684e98a4b4ecd1787c5e99b8821dc6a541f
+EBUILD nxserver-freenx-0.7.3_p104-r3.ebuild 3683 RMD160 d344d25931a8bd6a53833305a02e3e538558e2ba SHA1 450d7d4cfccf44c9f3b5fefbc558c3d072d22f2e SHA256 49e473f9e04bda249962ac2cb1c41806a1aa4c09a012ab048c295427b54a949c
+MISC ChangeLog 16599 RMD160 0b0eba19022cfa671a2d117f66dd5c32c7d36ab9 SHA1 7e129d2e8ca6398e8f4679a5c16dd9f36ddf0259 SHA256 e847677f5b449ede10b38641315748cddee4a7eddbe9c8538a8799d7a6e4f6c7
MISC metadata.xml 525 RMD160 6b438e37f35775bbce33bbb1a04494049956aa04 SHA1 cf904293a398fd2acb8492d4c0a6c43045d71ea5 SHA256 50af7f059bc7dbf3a4040618c7c9bfa9a6f57ce7eeb2d135ed912a60bcc373bc
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
-
-iEYEARECAAYFAksNOKYACgkQkKaRLQcq0GIG1gCeKZTORvslT3x7sQwmWWwwQ5fH
-z0cAnA3PSBuhVqQjZw7XxjZ/UFJZx71X
-=N3uN
------END PGP SIGNATURE-----
diff --git a/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.2-exitstatus.patch b/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.2-exitstatus.patch
deleted file mode 100644
index cbc768455692..000000000000
--- a/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.2-exitstatus.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- nxserver.orig 2008-04-09 17:40:33.000000000 +0200
-+++ nxserver 2008-04-09 17:43:10.000000000 +0200
-@@ -1594,6 +1594,13 @@
- exit 1
- }
-
-+cmd_abort_success()
-+{
-+ echo "NX> 500" "$@" 1>&2
-+ echo "NX> 999 Bye" 1>&2
-+ exit 0
-+}
-+
- cmd_user_passwd()
- {
- echo "NX> 100 NXSERVER - Version $NX_VERSION $NX_LICENSE"
-@@ -1653,14 +1660,14 @@
- cmd_start()
- {
-
-- [ -f $NX_HOME_DIR/.ssh/$SSH_AUTHORIZED_KEYS ] && cmd_abort "ERROR: Service already running"
-+ [ -f $NX_HOME_DIR/.ssh/$SSH_AUTHORIZED_KEYS ] && cmd_abort_success "ERROR: Service already running"
- mv $NX_HOME_DIR/.ssh/$SSH_AUTHORIZED_KEYS.disabled $NX_HOME_DIR/.ssh/$SSH_AUTHORIZED_KEYS
- echo "NX> 122 Service started"
- }
-
- cmd_stop()
- {
-- [ -f $NX_HOME_DIR/.ssh/$SSH_AUTHORIZED_KEYS ] || cmd_abort "Service was already stopped"
-+ [ -f $NX_HOME_DIR/.ssh/$SSH_AUTHORIZED_KEYS ] || cmd_abort_success "Service was already stopped"
- mv $NX_HOME_DIR/.ssh/$SSH_AUTHORIZED_KEYS $NX_HOME_DIR/.ssh/$SSH_AUTHORIZED_KEYS.disabled
- echo "NX> 123 Service stopped"
- }
diff --git a/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.2-nolistentcp.patch b/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.2-nolistentcp.patch
deleted file mode 100644
index 35311c3f16ed..000000000000
--- a/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.2-nolistentcp.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- nxnode.orig 2008-03-31 14:08:56.000000000 +0200
-+++ nxnode 2008-03-31 14:08:58.000000000 +0200
-@@ -525,7 +525,7 @@
-
- # Start the agent
-
-- PATH="$PATH_BIN:$PATH" $PATH_BIN/nxagent $P $R -name "NX - $user@$SERVER_NAME:$display - $session (GPL Edition)" -option "$USER_FAKE_HOME/.nx/C-$sess_id/options" $K $G $B $FP $AGENT_EXTRA_OPTIONS_X :$display 2>&3 &
-+ PATH="$PATH_BIN:$PATH" $PATH_BIN/nxagent $P $R -nolisten tcp -name "NX - $user@$SERVER_NAME:$display - $session (GPL Edition)" -option "$USER_FAKE_HOME/.nx/C-$sess_id/options" $K $G $B $FP $AGENT_EXTRA_OPTIONS_X :$display 2>&3 &
- fi
-
- #
diff --git a/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.2-nxloadconfig.patch b/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.2-nxloadconfig.patch
deleted file mode 100644
index fa8b60e3f9aa..000000000000
--- a/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.2-nxloadconfig.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-diff -Naur freenx-server-0.7.2.orig/nxloadconfig freenx-server-0.7.2/nxloadconfig
---- freenx-server-0.7.2.orig/nxloadconfig 2008-03-19 00:26:08.000000000 +0100
-+++ freenx-server-0.7.2/nxloadconfig 2008-03-19 00:27:44.000000000 +0100
-@@ -58,7 +58,8 @@
- # 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
-+REAL_PATH_BIN=$NX_DIR/lib/NX/bin
-+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
-@@ -179,7 +180,7 @@
- DEFAULT_X_WM=""
- KILL_DEFAULT_X_WM="1"
- USER_X_STARTUP_SCRIPT=.Xclients
--DEFAULT_X_SESSION=/etc/X11/xdm/Xsession
-+DEFAULT_X_SESSION=/etc/X11/Sessions/Xsession
- COMMAND_START_KDE=startkde
- COMMAND_START_GNOME=gnome-session
- COMMAND_START_CDE=cdwm
-@@ -307,9 +308,9 @@
- [ -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 $PATH_BIN/nxagent 2>/dev/null | egrep 'NXAGENT - Version' | sed 's/.*Version //g')
-+NX_BACKEND_VERSION=$(strings $REAL_PATH_BIN/nxagent 2>/dev/null | egrep 'NXAGENT - Version' | sed 's/.*Version //g')
-
- [ "$ENABLE_1_5_0_BACKEND" = "1" ] && NX_BACKEND_VERSION="1.5.0" # forced the backend
-
-@@ -346,7 +347,7 @@
- ERROR="yes" && echo "Error: Invalid value \"PATH_BIN=$PATH_BIN\""
- # Check for NX agents ...
-
-- [ ! -x "$PATH_BIN/nxagent" ] && \
-+ [ ! -x "$REAL_PATH_BIN/nxagent" ] && \
- ERROR="yes" && echo "Error: Could not find nxagent in $PATH_BIN. Please install some OSS components."
-
- if [ "ENABLE_EXTERNAL_NXDESKTOP" = "1" ]
-@@ -598,8 +599,8 @@
- [ -z $(echo "$ENABLE_ROOTLESS_MODE" | egrep "^[0|1]$") ] && \
- ERROR="yes" && echo "Error: Invalid value \"ENABLE_ROOTLESS_MODE=$ENABLE_ROOTLESS_MODE\""
-
-- [ -z "$(strings $PATH_BIN/nxagent | egrep 'NXAGENT - Version 1.5.0|NXAGENT - Version 2.[01].0|NXAGENT - Version 3.[01].0')" ] && \
-- ERROR="yes" && echo "Error: Could not find 1.5.0 or 2.[01].0 or 3.[01].0 version string in nxagent. NX 1.5.0 or 2.[01].0 or 3.[01].0 backend is needed for this version of FreeNX."
-+ [ -z "$(strings $REAL_PATH_BIN/nxagent | egrep 'NXAGENT - Version 1.5.0|NXAGENT - Version 2.[01].0|NXAGENT - Version 3.[012].0')" ] && \
-+ ERROR="yes" && echo "Error: Could not find 1.5.0 or 2.[01].0 or 3.[012].0 version string in nxagent. NX 1.5.0 or 2.[01].0 or 3.[012].0 backend is needed for this version of FreeNX."
-
- [ -z $(echo "$ENABLE_USESSION" | egrep "^[0|1]$") ] && \
- ERROR="yes" && echo "Error: Invalid value \"ENABLE_USESSION=$ENABLE_USESSION\""
diff --git a/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3-cflags.patch b/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3-cflags.patch
deleted file mode 100644
index cfb71f139439..000000000000
--- a/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3-cflags.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- 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.0
-
--CC=gcc
--CFLAGS=-g -O2 -Wall -fPIC
-+CFLAGS+=-fPIC
- LIBNAME=libnxredir.so.0
-
- libnxredir.so.0: nxredir.o
diff --git a/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3-nxloadconfig.patch b/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3-nxloadconfig.patch
deleted file mode 100644
index 6bb57bf777a8..000000000000
--- a/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3-nxloadconfig.patch
+++ /dev/null
@@ -1,51 +0,0 @@
---- nxloadconfig.orig 2008-08-22 02:44:43.000000000 +0200
-+++ nxloadconfig 2008-08-22 14:29:30.000000000 +0200
-@@ -58,7 +58,8 @@
- # 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
-+REAL_PATH_BIN=$NX_DIR/lib/NX/bin
-+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
-@@ -185,7 +186,7 @@
- DEFAULT_X_WM=""
- KILL_DEFAULT_X_WM="1"
- USER_X_STARTUP_SCRIPT=.Xclients
--DEFAULT_X_SESSION=/etc/X11/xdm/Xsession
-+DEFAULT_X_SESSION=/etc/X11/Sessions/Xsession
- COMMAND_START_KDE=startkde
- COMMAND_START_GNOME=gnome-session
- COMMAND_START_CDE=cdwm
-@@ -315,9 +316,9 @@
- [ -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 $PATH_BIN/nxagent 2>/dev/null | egrep 'NXAGENT - Version' | sed 's/.*Version //g')
-+NX_BACKEND_VERSION=$(strings $REAL_PATH_BIN/nxagent 2>/dev/null | egrep 'NXAGENT - Version' | sed 's/.*Version //g')
-
- [ "$ENABLE_1_5_0_BACKEND" = "1" ] && NX_BACKEND_VERSION="1.5.0" # forced the backend
-
-@@ -354,7 +355,7 @@
- ERROR="yes" && echo "Error: Invalid value \"PATH_BIN=$PATH_BIN\""
- # Check for NX agents ...
-
-- [ ! -x "$PATH_BIN/nxagent" ] && \
-+ [ ! -x "$REAL_PATH_BIN/nxagent" ] && \
- ERROR="yes" && echo "Error: Could not find nxagent in $PATH_BIN. Please install some OSS components."
-
- if [ "ENABLE_EXTERNAL_NXDESKTOP" = "1" ]
-@@ -606,7 +607,7 @@
- [ -z $(echo "$ENABLE_ROOTLESS_MODE" | egrep "^[0|1]$") ] && \
- ERROR="yes" && echo "Error: Invalid value \"ENABLE_ROOTLESS_MODE=$ENABLE_ROOTLESS_MODE\""
-
-- [ -z "$(strings $PATH_BIN/nxagent | egrep 'NXAGENT - Version 1.5.0|NXAGENT - Version 2.[01].0|NXAGENT - Version 3.[012].0')" ] && \
-+ [ -z "$(strings $REAL_PATH_BIN/nxagent | egrep 'NXAGENT - Version 1.5.0|NXAGENT - Version 2.[01].0|NXAGENT - Version 3.[012].0')" ] && \
- WARNING="yes" && echo "Error: Could not find 1.5.0 or 2.[01].0 or 3.[01].0 version string in nxagent. NX 1.5.0 or 2.[01].0 or 3.[012].0 backend is needed for this version of FreeNX."
-
- [ -z $(echo "$ENABLE_USESSION" | egrep "^[0|1]$") ] && \
diff --git a/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3-roundrobin.patch b/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3-roundrobin.patch
deleted file mode 100644
index b584f33df0ed..000000000000
--- a/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.3-roundrobin.patch
+++ /dev/null
@@ -1,143 +0,0 @@
---- trunk/freenx-server/nxserver 2008/08/22 00:44:43 580
-+++ trunk/freenx-server/nxserver 2008/08/25 03:28:15 612
-@@ -1192,7 +1192,7 @@
- # Lock held
-
- SERVER_LB_NR=$(cat $NX_SESS_DIR/round-robin 2>/dev/null)
-- let SERVER_LB_NR=(SERVER_LB_NR+1) % SERVER_LB_NR_OF_HOSTS
-+ let SERVER_LB_NR=(SERVER_LB_NR+1)%SERVER_LB_NR_OF_HOSTS
- echo $SERVER_LB_NR >$NX_SESS_DIR/round-robin
-
- # Exit critical section
-@@ -1961,71 +1961,71 @@
- session_history "$user" "$sessid"
- }
-
--cmd_terminate()
-+cmd_execute()
- {
-- CMD_PARAMS=$(cmd_parse_3_params "$2")
-- [ -z "$CMD_PARAMS" ] && exit 1
-- for i in $CMD_PARAMS;
-+ cmd_host="$1"
-+ cmd_user="$2"
-+ cmd_cmd="$3"
-+
-+ if [ "$ENABLE_USERMODE_AUTHENTICATION" = "1" ]
-+ then
-+ sh -c "$cmd_cmd"
-+ elif [ "$cmd_host" = "127.0.0.1" -o "$cmd_host" = "localhost" ]
-+ then
-+ su - "$cmd_user" -c "$cmd_cmd"
-+ else
-+ ssh "$cmd_host" su - "$cmd_user" -c "'$cmd_cmd'"
-+ fi
-+}
-+
-+cmd_terminate_or_send()
-+{
-+ CMD="$1"
-+
-+ if [ "$CMD" = "--broadcast" ]
-+ then
-+ CMD_PARAMS=$(session_find_all)
-+ [ -z "$CMD_PARAMS" ] && cmd_abort "Error: No running session could be found."
-+ else
-+ CMD_PARAMS=$(cmd_parse_3_params "$2")
-+ [ -z "$CMD_PARAMS" ] && exit 1
-+ shift
-+ fi
-+ shift
-+
-+ for i in $CMD_PARAMS
- do
- CMDLINE=$(session_get_cmdline $i)
- cmd_sessionid=$(getparam sessionId)
-+ cmd_display=$(getparam display)
- cmd_user=$(getparam userName)
- cmd_type=$(getparam type)
- cmd_status=$(getparam status)
-+ cmd_host=$(getparam host)
-
- # is it a "good" session?
-- case "$1" in
-+ case "$CMD" in
- --suspend)
- if [ "$cmd_status" = "Running" ] && stringinstring "unix-" "$cmd_type"
- then
-- echo "sessionid=$cmd_sessionid" | su - "$cmd_user" -c "$PATH_BIN/nxnode --suspend"
-+ echo "sessionid=$cmd_sessionid" | cmd_execute "$cmd_host" "$cmd_user" "$PATH_BIN/nxnode --suspend"
- fi
- ;;
- --terminate)
-- echo "sessionid=$cmd_sessionid" | su - "$cmd_user" -c "$PATH_BIN/nxnode --terminate"
-+ echo "sessionid=$cmd_sessionid" | cmd_execute "$cmd_host" "$cmd_user" "$PATH_BIN/nxnode --terminate"
- ;;
- --force-terminate)
-- echo "sessionid=$cmd_sessionid" | su - "$cmd_user" -c "$PATH_BIN/nxnode --terminate"
-+ echo "sessionid=$cmd_sessionid" | cmd_execute "$cmd_host" "$cmd_user" "$PATH_BIN/nxnode --terminate"
- session_close $cmd_sessionid
- ;;
-- esac
-- done
--
--}
--
--cmd_send()
--{
-- if [ "$1" = "--broadcast" ]
-- then
-- CMD_PARAMS=$(session_find_all)
-- [ -z "$CMD_PARAMS" ] && cmd_abort "Error: No running session could be found."
-- else
-- CMD_PARAMS=$(cmd_parse_3_params "$2")
-- [ -z "$CMD_PARAMS" ] && exit 1
-- shift
-- fi
-- shift
-- for i in $CMD_PARAMS;
-- do
-- CMDLINE=$(session_get_cmdline $i)
-- cmd_display=$(getparam display)
-- cmd_user=$(getparam userName)
-- cmd_type=$(getparam type)
-- cmd_status=$(getparam status)
-- cmd_host=$(getparam host)
--
-- # is it a "good" session?
-- if [ "$cmd_status" = "Running" ] && stringinstring "unix-" "$cmd_type"
-- then
-- if [ "$cmd_host" = "127.0.0.1" -o "$cmd_host" = "localhost" ]
-+ --send|--broadcast)
-+ # is it a "good" session?
-+ if [ "$cmd_status" = "Running" ] && stringinstring "unix-" "$cmd_type"
- then
-- su - "$cmd_user" -c "$PATH_BIN/nxdialog --dialog ok --caption \"NX Administrator Message\" --message \"$@\" -display \":$cmd_display\" &"
-- else
-- ssh $cmd_host su - "$cmd_user" -c "'$PATH_BIN/nxdialog --dialog ok --caption \"NX Administrator Message\" --message \"$@\" -display \":$cmd_display\" &'"
-+ cmd_execute "$cmd_host" "$cmd_user" "$PATH_BIN/nxdialog --dialog ok --caption \"NX Administrator Message\" --message \"$@\" -display \":$cmd_display\" &"
- fi
-- fi
-+ esac
- done
-- #nxnode_start --send "$CMD_PARAMS"
- }
-
- #
-@@ -2099,13 +2099,13 @@
- cmd_history "$@"
- ;;
- --terminate|--suspend|--force-terminate)
-- cmd_terminate "$@"
-+ cmd_terminate_or_send "$@"
- ;;
- --cleanup)
-- cmd_terminate "--force-terminate" "*"
-+ cmd_terminate_or_send "--force-terminate" "*"
- ;;
- --send|--broadcast)
-- cmd_send "$@"
-+ cmd_terminate_or_send "$@"
- ;;
- *)
- cmd_abort "Error: Function $CMD not implemented yet."
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 000000000000..56c025572867
--- /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/nxserver-freenx-0.7.3-r2.ebuild b/net-misc/nxserver-freenx/nxserver-freenx-0.7.3-r2.ebuild
deleted file mode 100644
index 3d06a889d265..000000000000
--- a/net-misc/nxserver-freenx/nxserver-freenx-0.7.3-r2.ebuild
+++ /dev/null
@@ -1,123 +0,0 @@
-# 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-r2.ebuild,v 1.3 2009/11/10 23:17:34 cla Exp $
-
-inherit multilib eutils toolchain-funcs
-
-MY_PN="freenx-server"
-DESCRIPTION="Free Software Implementation of the NX Server"
-HOMEPAGE="http://freenx.berlios.de/"
-SRC_URI="mirror://berlios/freenx/${MY_PN}-${PV}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-RESTRICT="strip"
-IUSE="cups esd nxclient"
-
-DEPEND="x11-misc/gccmakedep
- x11-misc/imake"
-RDEPEND="dev-tcltk/expect
- media-fonts/font-misc-misc
- media-fonts/font-cursor-misc
- net-analyzer/gnu-netcat
- >=net-misc/nx-2.1.0
- sys-apps/gawk
- virtual/ssh
- x11-apps/xauth
- x11-apps/xrdb
- x11-apps/sessreg
- cups? ( net-print/cups )
- esd? ( media-sound/esound )
- nxclient? ( net-misc/nxclient )
- !nxclient? ( !net-misc/nxclient
- || ( x11-misc/xdialog
- x11-apps/xmessage ) )
- !net-misc/nxserver-freeedition
- !net-misc/nxserver-2xterminalserver"
-
-S=${WORKDIR}/${MY_PN}-${PV}
-
-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}"/${P}-nxloadconfig.patch
- epatch "${FILESDIR}"/${P}-roundrobin.patch
- epatch "${FILESDIR}"/${P}-cflags.patch
- epatch "${FILESDIR}"/${PN}-0.7.2-cups.patch
-
- sed -e "s/3\.\[012\]/3.[0123]/g" \
- -e "/PATH_LIB=/s/lib/$(get_libdir)/g" \
- -e "/REAL_PATH_BIN=/s/lib/$(get_libdir)/g" \
- -i nxloadconfig || die "nxloadconfig sed failed"
-
- # Change the defaults in nxloadconfig to meet the users needs.
- if use esd ; then
- einfo "Enabling esd support."
- sed -i '/ENABLE_ESD_PRELOAD=/s/"0"/"1"/' nxloadconfig || die
- sed -i '/ENABLE_ESD_PRELOAD=/s/"0"/"1"/' node.conf.sample || die
- fi
- if use cups ; then
- einfo "Enabling cups support."
- sed -i '/ENABLE_KDE_CUPS=/s/"0"/"1"/' nxloadconfig || die
- sed -i '/ENABLE_KDE_CUPS=/s/"0"/"1"/' node.conf.sample || die
- fi
-}
-
-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 -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 --clean --purge"
- elog "This will use the default Nomachine SSH key"
-}
diff --git a/net-misc/nxserver-freenx/nxserver-freenx-0.7.3-r3.ebuild b/net-misc/nxserver-freenx/nxserver-freenx-0.7.3-r3.ebuild
deleted file mode 100644
index dc23a11297b0..000000000000
--- a/net-misc/nxserver-freenx/nxserver-freenx-0.7.3-r3.ebuild
+++ /dev/null
@@ -1,125 +0,0 @@
-# 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-r3.ebuild,v 1.2 2009/11/10 23:17:34 cla Exp $
-
-EAPI=1
-
-inherit multilib eutils toolchain-funcs
-
-MY_PN="freenx-server"
-DESCRIPTION="Free Software Implementation of the NX Server"
-HOMEPAGE="http://freenx.berlios.de/"
-SRC_URI="mirror://berlios/freenx/${MY_PN}-${PV}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-RESTRICT="strip"
-IUSE="cups esd +nxclient"
-
-DEPEND="x11-misc/gccmakedep
- x11-misc/imake"
-RDEPEND="dev-tcltk/expect
- media-fonts/font-misc-misc
- media-fonts/font-cursor-misc
- net-analyzer/gnu-netcat
- >=net-misc/nx-2.1.0
- sys-apps/gawk
- virtual/ssh
- x11-apps/xauth
- x11-apps/xrdb
- x11-apps/sessreg
- cups? ( net-print/cups )
- esd? ( media-sound/esound )
- nxclient? ( net-misc/nxclient )
- !nxclient? ( !net-misc/nxclient
- || ( x11-misc/xdialog
- x11-apps/xmessage ) )
- !net-misc/nxserver-freeedition
- !net-misc/nxserver-2xterminalserver"
-
-S=${WORKDIR}/${MY_PN}-${PV}
-
-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}"/${P}-nxloadconfig.patch
- epatch "${FILESDIR}"/${P}-roundrobin.patch
- epatch "${FILESDIR}"/${P}-cflags.patch
- epatch "${FILESDIR}"/${PN}-0.7.2-cups.patch
-
- sed -e "s/3\.\[012\]/3.[0123]/g" \
- -e "/PATH_LIB=/s/lib/$(get_libdir)/g" \
- -e "/REAL_PATH_BIN=/s/lib/$(get_libdir)/g" \
- -i nxloadconfig || die "nxloadconfig sed failed"
-
- # Change the defaults in nxloadconfig to meet the users needs.
- if use esd ; then
- einfo "Enabling esd support."
- sed -i '/ENABLE_ESD_PRELOAD=/s/"0"/"1"/' nxloadconfig || die
- sed -i '/ENABLE_ESD_PRELOAD=/s/"0"/"1"/' node.conf.sample || die
- fi
- if use cups ; then
- einfo "Enabling cups support."
- sed -i '/ENABLE_KDE_CUPS=/s/"0"/"1"/' nxloadconfig || die
- sed -i '/ENABLE_KDE_CUPS=/s/"0"/"1"/' node.conf.sample || die
- fi
-}
-
-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 -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 --clean --purge"
- elog "This will use the default Nomachine SSH key"
-}
diff --git a/net-misc/nxserver-freenx/nxserver-freenx-0.7.3_p104-r1.ebuild b/net-misc/nxserver-freenx/nxserver-freenx-0.7.3_p104-r3.ebuild
index 3a817d8e3ef3..b070a9a8bb03 100644
--- a/net-misc/nxserver-freenx/nxserver-freenx-0.7.3_p104-r1.ebuild
+++ b/net-misc/nxserver-freenx/nxserver-freenx-0.7.3_p104-r3.ebuild
@@ -1,8 +1,8 @@
# 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_p104-r1.ebuild,v 1.2 2009/09/17 09:23:19 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freenx/nxserver-freenx-0.7.3_p104-r3.ebuild,v 1.1 2009/12/15 20:35:41 voyageur Exp $
-EAPI=1
+EAPI=2
inherit multilib eutils toolchain-funcs versionator
@@ -46,12 +46,10 @@ pkg_setup () {
enewuser nx -1 -1 ${NX_HOME_DIR}
}
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
+src_prepare() {
epatch "${FILESDIR}"/${P}-pam_ssh.patch
- epatch "${FILESDIR}"/${PN}-0.7.3_p102-nxloadconfig.patch
+ epatch "${FILESDIR}"/${P}-nxnode_setup_samba.patch
+ epatch "${FILESDIR}"/${P}-nxloadconfig.patch
epatch "${FILESDIR}"/${PN}-0.7.3_p102-cflags.patch
epatch "${FILESDIR}"/${PN}-0.7.2-cups.patch