summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorscruggsj <scruggsj@localhost>2006-03-07 01:19:11 +0000
committerscruggsj <scruggsj@localhost>2006-03-07 01:19:11 +0000
commit1de2038362d53803061ff6a4877043fec0dc4d24 (patch)
treee22068279648616001d63e1de7183e7252140f1c /net-misc/nxserver-freenx/files
parentsvn path=/testing/; revision=6 (diff)
downloadnx-1de2038362d53803061ff6a4877043fec0dc4d24.tar.gz
nx-1de2038362d53803061ff6a4877043fec0dc4d24.tar.bz2
nx-1de2038362d53803061ff6a4877043fec0dc4d24.zip
FreeNX versions 0.4.5 and 0.5.0 are not officially released yet, so version 0.4.4 is being offered as well.
svn path=/testing/; revision=8
Diffstat (limited to 'net-misc/nxserver-freenx/files')
-rw-r--r--net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.4.43
-rw-r--r--net-misc/nxserver-freenx/files/freenx-0.4.4-adduser-fix.patch16
-rw-r--r--net-misc/nxserver-freenx/files/nxserver-path.diff11
3 files changed, 30 insertions, 0 deletions
diff --git a/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.4.4 b/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.4.4
new file mode 100644
index 0000000..472e56b
--- /dev/null
+++ b/net-misc/nxserver-freenx/files/digest-nxserver-freenx-0.4.4
@@ -0,0 +1,3 @@
+MD5 4d92f80718edbaacd875404bcb2850b6 freenx-0.4.4.tar.gz 46111
+RMD160 37fd095f6e208b881df5b40dc4cb2fabd1a91456 freenx-0.4.4.tar.gz 46111
+SHA256 8f661edbf9137e31df4c5e6134cabc89921c0e9a742943264f3d7e9dbeae8674 freenx-0.4.4.tar.gz 46111
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-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