[arch-commits] Commit in freenx/trunk (PKGBUILD)

Tobias Powalowski tpowa at archlinux.org
Mon Sep 29 17:04:30 EDT 2008


    Date: Monday, September 29, 2008 @ 17:04:29
  Author: tpowa
Revision: 13919

upgpkg: freenx 0.7.3-2

Modified:
  freenx/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++-----------
 1 file changed, 8 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-09-29 20:59:34 UTC (rev 13918)
+++ PKGBUILD	2008-09-29 21:04:29 UTC (rev 13919)
@@ -3,7 +3,7 @@
 #Contributed: eliott <eliott at solarblue.net>, Andre Naumann <anaumann at SPARCed.org> 
 pkgname=freenx
 pkgver=0.7.3
-pkgrel=1
+pkgrel=2
 pkgdesc="Free Software (GPL) Implementation of the NX Server"
 arch=(i686 x86_64)
 url="http://freenx.berlios.de"
@@ -21,17 +21,15 @@
   # fixed for archlinux
   ### Broken by kde4 at the moment!
   #patch -Np0 -i ../kde-config.patch || return 1
-  #sed -i -e 's,/usr/NX/bin/nxclient,/opt/NX/bin/nxclient-nomachine,g' nxdialog
   sed -i -e 's,authorized_keys2,authorized_keys,g' nxloadconfig
   sed -i -e 's,/usr/NX,/opt/NX,g' nxloadconfig
-  sed -i 's,netcat,nc,g' nxloadconfig
+  sed -i -e 's,netcat,nc,g' nxloadconfig
   sed -i -e 's/utmp/nx/g' nxsetup
-  sed -i 's,/usr/X11R6/bin/xauth,/usr/bin/xauth,g' nxloadconfig
-  #sed -i 's,COMMAND_MD5SUM=openssl md5,COMMAND_MD5SUM=md5sum,g' nxloadconfig
-  sed -i 's,COMMAND_FOOMATIC="/usr/lib/cups/driver/foomatic-ppdfile",COMMAND_FOOMATIC="/usr/bin/foomatic-ppdfile",g' nxloadconfig
-  sed -i 's|AGENT_EXTRA_OPTIONS_X=""|AGENT_EXTRA_OPTIONS_X="-co /usr/share/X11/rgb -fp /usr/share/fonts/misc,/usr/share/fonts/75dpi,/usr/share/fonts/100dpi,/usr/share/fonts/TTF,/usr/share/fonts/Type1 -xkbdir /usr/share/X11/xkb"|g' nxloadconfig
-  sed -i 's,/etc/init.d/ssh,/etc/rc.d/sshd,g' nxsetup
-  sed -i -e 's,#ENABLE_2_0_0_BACKEND="0",ENABLE_2_0_0_BACKEND="1",g' node.conf.sample 
+  sed -i -e 's,/usr/X11R6/bin/xauth,/usr/bin/xauth,g' nxloadconfig
+  sed -i -e 's,COMMAND_FOOMATIC="/usr/lib/cups/driver/foomatic-ppdfile",COMMAND_FOOMATIC="/usr/bin/foomatic-ppdfile",g' nxloadconfig
+  sed -i -e 's|AGENT_EXTRA_OPTIONS_X=""|AGENT_EXTRA_OPTIONS_X="-co /usr/share/X11/rgb -fp /usr/share/fonts/misc,/usr/share/fonts/75dpi,/usr/share/fonts/100dpi,/usr/share/fonts/TTF,/usr/share/fonts/Type1 -xkbdir /usr/share/X11/xkb"|g' nxloadconfig
+  sed -i -e 's/ENABLE_AUTORECONNECT_BEFORE_140="1"/ENABLE_AUTORECONNECT_BEFORE_140="0"/g' nxloadconfig
+  sed -i -e 's,/etc/init.d/ssh,/etc/rc.d/sshd,g' nxsetup
   # fix key generation
   sed -i -e 's,AUTOMATIC="no",AUTOMATIC="yes",g' nxsetup
   install -D -m755 nxnode $startdir/pkg/opt/NX/bin/nxnode
@@ -50,9 +48,8 @@
   cd nxserver-helper
   make
   install -D -m755 nxserver-helper $startdir/pkg/opt/NX/bin/nxserver-helper
-
   # create nxserver homedir
-  mkdir -p $startdir/pkg/opt/NX/home/nx
+  mkdir -m700 -p $startdir/pkg/opt/NX/home/nx
 }
 md5sums=('856f597e139018f7ed62713c9d6c9ed5'
          '70788a41f6c965ce117e9f5a8809df2a')




More information about the arch-commits mailing list