summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2006-10-30 07:57:49 +0000
committerStuart Herbert <stuart@gentoo.org>2006-10-30 07:57:49 +0000
commit436dcde39b0713c0ad9f3c8f09918f8cd6956cd4 (patch)
tree89eeca1c35468d63b8e761813207b13adca4cfbe /net-misc/nxserver-freenx/files
parentMoved NX 2.x stuff into experimental (diff)
downloadnx-436dcde39b0713c0ad9f3c8f09918f8cd6956cd4.tar.gz
nx-436dcde39b0713c0ad9f3c8f09918f8cd6956cd4.tar.bz2
nx-436dcde39b0713c0ad9f3c8f09918f8cd6956cd4.zip
Added existing NX packages from Portage
svn path=/testing/; revision=98
Diffstat (limited to 'net-misc/nxserver-freenx/files')
-rw-r--r--net-misc/nxserver-freenx/files/50nxserver3
-rw-r--r--net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.2.71
-rw-r--r--net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.2.81
-rw-r--r--net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.4.01
-rw-r--r--net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.4.4-r11
-rw-r--r--net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.5.01
-rw-r--r--net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.5.0.20060311-r11
-rw-r--r--net-misc/nxserver-freenx/files/fixes.diff26
-rw-r--r--net-misc/nxserver-freenx/files/freenx-0.4.4-adduser-fix.patch16
-rw-r--r--net-misc/nxserver-freenx/files/nxserver-freenx-0.4.4-xorg7.patch18
-rw-r--r--net-misc/nxserver-freenx/files/nxserver-freenx-xorg7.patch18
-rw-r--r--net-misc/nxserver-freenx/files/nxserver-path.diff11
12 files changed, 98 insertions, 0 deletions
diff --git a/net-misc/nxserver-freenx/files/50nxserver b/net-misc/nxserver-freenx/files/50nxserver
new file mode 100644
index 0000000..a791ca2
--- /dev/null
+++ b/net-misc/nxserver-freenx/files/50nxserver
@@ -0,0 +1,3 @@
+PATH=/usr/NX/bin
+ROOTPATH=/usr/NX/bin
+CONFIG_PROTECT="/usr/NX/etc /usr/NX/home"
diff --git a/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.2.7 b/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.2.7
new file mode 100644
index 0000000..3377908
--- /dev/null
+++ b/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.2.7
@@ -0,0 +1 @@
+MD5 982a4828417d15bce0b0096c22f85ec3 freenx-0.2.7.tar.gz 26013
diff --git a/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.2.8 b/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.2.8
new file mode 100644
index 0000000..19a9654
--- /dev/null
+++ b/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.2.8
@@ -0,0 +1 @@
+MD5 db4c4a9f91619f4d9ac30fdea10925e8 freenx-0.2.8.tar.gz 26180
diff --git a/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.4.0 b/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.4.0
new file mode 100644
index 0000000..0009e06
--- /dev/null
+++ b/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.4.0
@@ -0,0 +1 @@
+MD5 a57046e79fb980b4720ec6ae67ed1f19 freenx-0.4.0.tar.gz 42771
diff --git a/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.4.4-r1 b/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.4.4-r1
new file mode 100644
index 0000000..3197a7a
--- /dev/null
+++ b/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.4.4-r1
@@ -0,0 +1 @@
+MD5 4d92f80718edbaacd875404bcb2850b6 freenx-0.4.4.tar.gz 46111
diff --git a/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.5.0 b/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.5.0
new file mode 100644
index 0000000..93aa9bd
--- /dev/null
+++ b/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.5.0
@@ -0,0 +1 @@
+MD5 83ae22508076bdae2a45f7900dea071e FreeNX-0_5_0-LWE.tar.gz 347935
diff --git a/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.5.0.20060311-r1 b/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.5.0.20060311-r1
new file mode 100644
index 0000000..09651dd
--- /dev/null
+++ b/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.5.0.20060311-r1
@@ -0,0 +1 @@
+MD5 b627433904cd6eed38b14524d3b45cbd freenx-0.5.0-test-2006-03-11-7.tar.gz 50703
diff --git a/net-misc/nxserver-freenx/files/fixes.diff b/net-misc/nxserver-freenx/files/fixes.diff
new file mode 100644
index 0000000..b82e9ce
--- /dev/null
+++ b/net-misc/nxserver-freenx/files/fixes.diff
@@ -0,0 +1,26 @@
+diff -u --recursive freenx-0.2.8-orig/nxclient freenx-0.2.8/nxclient
+--- freenx-0.2.8-orig/nxclient 2005-02-17 20:03:15.000000000 +0000
++++ freenx-0.2.8/nxclient 2005-02-18 18:59:20.843775240 +0000
+@@ -8,7 +8,9 @@
+ # it does check it someday.
+
+ # First check if the commercial nxclient is available and use it
+-[ -x /usr/NX/bin/nxclient ] && exec /usr/NX/bin/nxclient "$@"
++# but check that it isn't this script to prevent a loop!
++NXCLIENT="/usr/NX/bin/nxclient"
++[ -x ${NXCLIENT} -a "`file -bi ${NXCLIENT}`" != 'application/x-shellscript' ] && exec ${NXCLIENT} "$@"
+
+ TEMP=`getopt -a -o d: --long local,noautokill,dialog:,caption:,message:,display: -n $(basename $0) -- "$@"`
+
+diff -u --recursive freenx-0.2.8-orig/nxserver freenx-0.2.8/nxserver
+--- freenx-0.2.8-orig/nxserver 2005-02-17 20:03:15.000000000 +0000
++++ freenx-0.2.8/nxserver 2005-02-18 19:01:54.465015048 +0000
+@@ -495,7 +495,7 @@
+
+ server_nxnode_start_wait()
+ {
+- server_nxnode_start $@ | while read CMD
++ server_nxnode_start "$@" | while read CMD
+ do
+ case "$CMD" in
+ "NX> 1006"*|"NX> 1005"*)
diff --git a/net-misc/nxserver-freenx/files/freenx-0.4.4-adduser-fix.patch b/net-misc/nxserver-freenx/files/freenx-0.4.4-adduser-fix.patch
new file mode 100644
index 0000000..773ef3a
--- /dev/null
+++ b/net-misc/nxserver-freenx/files/freenx-0.4.4-adduser-fix.patch
@@ -0,0 +1,16 @@
+diff -purN freenx-0.4.4.org/nxsetup freenx-0.4.4.new/nxsetup
+--- freenx-0.4.4.org/nxsetup 2005-08-02 12:29:59.000000000 -0500
++++ freenx-0.4.4.new/nxsetup 2005-08-07 19:17:08.000000000 -0500
+@@ -116,7 +116,11 @@ useradd_nx()
+ # no, its a "normal" useradd
+ else
+ USERADD_OPTIONS="-d $NX_HOME_DIR -s $PATH_BIN/nxserver"
+- [ -n $SETUP_GID ] && USERADD_OPTIONS="-g $SETUP_GID $USERADD_OPTIONS"
++ # gid specified?
++ if [ -n "$SETUP_GID" ]
++ then
++ USERADD_OPTIONS="-g $SETUP_GID $USERADD_OPTIONS"
++ fi
+ # uid specified?
+ if [ -n "$SETUP_UID" ]
+ then
diff --git a/net-misc/nxserver-freenx/files/nxserver-freenx-0.4.4-xorg7.patch b/net-misc/nxserver-freenx/files/nxserver-freenx-0.4.4-xorg7.patch
new file mode 100644
index 0000000..297befe
--- /dev/null
+++ b/net-misc/nxserver-freenx/files/nxserver-freenx-0.4.4-xorg7.patch
@@ -0,0 +1,18 @@
+--- freenx-server/nxnode 2005-08-07 12:53:57.000000000 +0300
++++ freenx-server/nxnode 2006-02-02 00:00:25.000000000 +0200
+@@ -22,6 +22,15 @@
+
+ echo "NX> 1000 NXNODE - Version $NX_VERSION $NX_LICENSE"
+
++### Patch for Xorg-x11 >=7.0 by Oskari Rauta begins here ###
++
++if test `X -version 2>&1 | grep "X Window System Version" | awk '{ print $5 }' | awk -F. '{ print $1 }'` -ge 7
++ then
++ export XKEYSYMDB=/usr/share/X11/XKeysymDB
++ fi
++
++### Patch for Xorg-x11 >= 7.0 by Oskari Rauta ends here..
++
+ if [ "$1" != "--check" -a "$1" != "--setkey" ]
+ then
+ read CMDLINE
diff --git a/net-misc/nxserver-freenx/files/nxserver-freenx-xorg7.patch b/net-misc/nxserver-freenx/files/nxserver-freenx-xorg7.patch
new file mode 100644
index 0000000..9884756
--- /dev/null
+++ b/net-misc/nxserver-freenx/files/nxserver-freenx-xorg7.patch
@@ -0,0 +1,18 @@
+--- freenx-server/nxnode 2005-08-07 12:53:57.000000000 +0300
++++ freenx-server/nxnode 2006-02-02 00:00:25.000000000 +0200
+@@ -22,6 +22,15 @@
+
+ echo "NX> 1000 NXNODE - Version $NX_VERSION $NX_LICENSE"
+
++### Patch for Xorg-x11 >=7.0 by Oskari Rauta begins here ###
++
++if test `X -version 2>&1 | grep "X Window System Version" | awk '{ print $5 }' | awk -F. '{ print $1 }'` -ge 7
++ then
++ export XKEYSYMDB=/usr/share/X11/XKeysymDB
++ fi
++
++### Patch for Xorg-x11 >= 7.0 by Oskari Rauta ends here..
++
+ if [ "$1" != "--check" -a "$1" != "--setkey" -a "$1" != "--agent" ]
+ then
+ read CMDLINE
diff --git a/net-misc/nxserver-freenx/files/nxserver-path.diff b/net-misc/nxserver-freenx/files/nxserver-path.diff
new file mode 100644
index 0000000..1e734c9
--- /dev/null
+++ b/net-misc/nxserver-freenx/files/nxserver-path.diff
@@ -0,0 +1,11 @@
+--- nxserver.orig 2004-12-12 15:51:12.283474376 -0500
++++ nxserver 2004-12-12 15:51:46.385290112 -0500
+@@ -487,7 +487,7 @@
+ # Use nxnode-login?
+ if [ "$PAM_LOGIN_METHOD" = "1" ]
+ then
+- echo $PAM_PASS | nxnode-login "$USER" 127.0.0.1 "-p$SSHD_AUTH_PORT" "$CMD" "$@" 2>&1 | log_tee
++ echo $PAM_PASS | $NX_DIR/bin/nxnode-login "$USER" 127.0.0.1 "-p$SSHD_AUTH_PORT" "$CMD" "$@" 2>&1 | log_tee
+ else
+ echo "$@" | ssh -l "$USER" 127.0.0.1 -p $SSHD_AUTH_PORT -x -2 -i $NX_ETC_DIR/users.id_dsa -o 'PubkeyAuthentication yes' -o 'RSAAuthentication yes' -o 'RhostsAuthentication no' -o 'PasswordAuthentication no' -o 'RhostsRSAAuthentication no' -o 'StrictHostKeyChecking no' $NX_DIR/bin/nxnode "$CMD" | log_tee
+ fi