aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2005-09-26 10:02:39 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2005-09-26 10:02:39 +0000
commit5be3eef73cfff0c7c7222ee14b21760640a503bb (patch)
tree66758c7656f3242d3cb9f95dc4a3c08e0fbe39c1
parent874f8fddb2e1e7fa58d92bc62ab9cc5194abb0e0 (diff)
downloadports-5be3eef73cfff0c7c7222ee14b21760640a503bb.tar.gz
ports-5be3eef73cfff0c7c7222ee14b21760640a503bb.zip
Notes
-rw-r--r--net/freenx/Makefile1
-rw-r--r--net/freenx/files/patch-freenx-nxsetup6
2 files changed, 4 insertions, 3 deletions
diff --git a/net/freenx/Makefile b/net/freenx/Makefile
index 5cbf887c8995..5f69e398cc89 100644
--- a/net/freenx/Makefile
+++ b/net/freenx/Makefile
@@ -7,6 +7,7 @@
PORTNAME= freenx
PORTVERSION= 0.4.4
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://download.berlios.de/freenx/ \
http://debian.tu-bs.de/knoppix/nx/
diff --git a/net/freenx/files/patch-freenx-nxsetup b/net/freenx/files/patch-freenx-nxsetup
index 90140e274196..299ba2dd9a76 100644
--- a/net/freenx/files/patch-freenx-nxsetup
+++ b/net/freenx/files/patch-freenx-nxsetup
@@ -24,9 +24,9 @@
+ elif [ "$(uname)" = "FreeBSD" ]
+ then
+ USERADD_OPTIONS="-d $NX_HOME_DIR -s $PATH_BIN/nxserver"
-+ [ -n $SETUP_UID ] && USERADD_OPTIONS="-u $SETUP_UID $USERADD_OPTIONS"
-+ [ -n $SETUP_GID ] && USERADD_OPTIONS="-g $SETUP_GID $USERADD_OPTIONS"
-+ [ -n $SETUP_GID ] && pw groupadd nx -g $SETUP_GID
++ [ -n "$SETUP_UID" ] && USERADD_OPTIONS="-u $SETUP_UID $USERADD_OPTIONS"
++ [ -n "$SETUP_GID" ] && USERADD_OPTIONS="-g $SETUP_GID $USERADD_OPTIONS"
++ [ -n "$SETUP_GID" ] && pw groupadd nx -g $SETUP_GID
+ pw useradd nx $USERADD_OPTIONS
+
# no, its a "normal" useradd