summary refs log tree commit diff
path: root/pkgs/tools/admin
diff options
context:
space:
mode:
authorMarc Weber <marco-oweber@gmx.de>2007-11-05 09:17:05 +0000
committerMarc Weber <marco-oweber@gmx.de>2007-11-05 09:17:05 +0000
commit82ed95c0cc35dd396020af84f7c37add75a97749 (patch)
treed1a733a3b5b474e7e1ea9e8225ddb90f09d5418a /pkgs/tools/admin
parent7b1c9a7a82343b693aacd5769e748b7c2f06bff7 (diff)
downloadnixlib-82ed95c0cc35dd396020af84f7c37add75a97749.tar
nixlib-82ed95c0cc35dd396020af84f7c37add75a97749.tar.gz
nixlib-82ed95c0cc35dd396020af84f7c37add75a97749.tar.bz2
nixlib-82ed95c0cc35dd396020af84f7c37add75a97749.tar.lz
nixlib-82ed95c0cc35dd396020af84f7c37add75a97749.tar.xz
nixlib-82ed95c0cc35dd396020af84f7c37add75a97749.tar.zst
nixlib-82ed95c0cc35dd396020af84f7c37add75a97749.zip
Hardwiring in xauth path so that user does not have to install xauth to run the tightvnc server
svn path=/nixpkgs/trunk/; revision=9580
Diffstat (limited to 'pkgs/tools/admin')
-rw-r--r--pkgs/tools/admin/tightvnc/builder.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tools/admin/tightvnc/builder.sh b/pkgs/tools/admin/tightvnc/builder.sh
index 1b22238de4ee..3474d3eeb0de 100644
--- a/pkgs/tools/admin/tightvnc/builder.sh
+++ b/pkgs/tools/admin/tightvnc/builder.sh
@@ -9,6 +9,10 @@ buildPhase() {
 	cd Xvnc
 	sed -e 's@.* CppCmd .*@#define CppCmd		'$gcc'/bin/cpp@' -i config/cf/linux.cf 
 	sed -e 's@.* CppCmd .*@#define CppCmd		'$gcc'/bin/cpp@' -i config/cf/Imake.tmpl 
+        sed -i \
+               -e 's@"uname","xauth","Xvnc","vncpasswd"@"uname","Xvnc","vncpasswd"@g' \
+               -e "s@\<xauth\>@$xauth/bin/xauth@g" \
+               ../vncserver
 	./configure
 	make
 	cd ..