diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2005-09-26 10:02:39 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2005-09-26 10:02:39 +0000 |
commit | 5be3eef73cfff0c7c7222ee14b21760640a503bb (patch) | |
tree | 66758c7656f3242d3cb9f95dc4a3c08e0fbe39c1 | |
parent | 874f8fddb2e1e7fa58d92bc62ab9cc5194abb0e0 (diff) | |
download | ports-5be3eef73cfff0c7c7222ee14b21760640a503bb.tar.gz ports-5be3eef73cfff0c7c7222ee14b21760640a503bb.zip |
Notes
-rw-r--r-- | net/freenx/Makefile | 1 | ||||
-rw-r--r-- | net/freenx/files/patch-freenx-nxsetup | 6 |
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 |