aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2009-01-12 05:04:12 +0800
committerdinoex <dinoex@FreeBSD.org>2009-01-12 05:04:12 +0800
commit479555b1aa89a0a6d44a8a57a2cec46c503c58b6 (patch)
tree9183609295d39481f62bde20e79824a40ac4f97d /net-mgmt
parentb4013d05ab03a8243b5e034d3332e1d8518f3cef (diff)
downloadfreebsd-ports-graphics-479555b1aa89a0a6d44a8a57a2cec46c503c58b6.tar.gz
freebsd-ports-graphics-479555b1aa89a0a6d44a8a57a2cec46c503c58b6.tar.zst
freebsd-ports-graphics-479555b1aa89a0a6d44a8a57a2cec46c503c58b6.zip
- set homedir
PR: 125081
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/xymon-client/Makefile2
-rw-r--r--net-mgmt/xymon-client/pkg-plist2
-rw-r--r--net-mgmt/xymon-server/Makefile2
-rw-r--r--net-mgmt/xymon-server/pkg-plist2
4 files changed, 4 insertions, 4 deletions
diff --git a/net-mgmt/xymon-client/Makefile b/net-mgmt/xymon-client/Makefile
index 1a071dbb82c..d934d920a55 100644
--- a/net-mgmt/xymon-client/Makefile
+++ b/net-mgmt/xymon-client/Makefile
@@ -35,7 +35,7 @@ do-configure:
pre-install:
if ! pw groupshow ${BBUSER}; then pw groupadd ${BBUSER} -g 280; fi
if ! pw usershow ${BBUSER}; then pw useradd ${BBUSER} -g ${BBUSER} -u 280 \
- -h - -d ${NONEXISTENT} -s /usr/sbin/nologin -c "Hobbit Monitor"; fi
+ -h - -d ${WWWDIR} -s /usr/sbin/nologin -c "Hobbit Monitor"; fi
post-install:
.for i in ${CONFIG_FILES}
diff --git a/net-mgmt/xymon-client/pkg-plist b/net-mgmt/xymon-client/pkg-plist
index 68a253276fa..4db73c450cf 100644
--- a/net-mgmt/xymon-client/pkg-plist
+++ b/net-mgmt/xymon-client/pkg-plist
@@ -1,5 +1,5 @@
@exec if ! pw groupshow %%BBUSER%% 2>/dev/null; then pw groupadd %%BBUSER%% -g 280; fi
-@exec if ! pw usershow %%BBUSER%% 2>/dev/null; then pw useradd %%BBUSER%% -g %%BBUSER%% -u 280 -h - -d /nonexistent -s /usr/sbin/nologin -c "Hobbit Monitor"; fi
+@exec if ! pw usershow %%BBUSER%% 2>/dev/null; then pw useradd %%BBUSER%% -g %%BBUSER%% -u 280 -h - -d %%WWWDIR%% -s /usr/sbin/nologin -c "Hobbit Monitor"; fi
@unexec if pw usershow %%BBUSER%%; then pw userdel %%BBUSER%%; fi
%%WWWDIR%%/client/bin/bb
%%WWWDIR%%/client/bin/bbcmd
diff --git a/net-mgmt/xymon-server/Makefile b/net-mgmt/xymon-server/Makefile
index fe16be01bf4..690901d3645 100644
--- a/net-mgmt/xymon-server/Makefile
+++ b/net-mgmt/xymon-server/Makefile
@@ -73,7 +73,7 @@ do-configure:
pre-install:
if ! pw groupshow ${BBUSER}; then pw groupadd ${BBUSER} -g 280; fi
if ! pw usershow ${BBUSER}; then pw useradd ${BBUSER} -g ${BBUSER} -u 280 \
- -h - -d ${NONEXISTENT} -s /usr/sbin/nologin -c "Hobbit Monitor"; fi
+ -h - -d ${WWWDIR} -s /usr/sbin/nologin -c "Hobbit Monitor"; fi
post-install:
.for i in ${FIXME1}
diff --git a/net-mgmt/xymon-server/pkg-plist b/net-mgmt/xymon-server/pkg-plist
index 3fd1ab9322b..521753a451f 100644
--- a/net-mgmt/xymon-server/pkg-plist
+++ b/net-mgmt/xymon-server/pkg-plist
@@ -1,5 +1,5 @@
@exec if ! pw groupshow %%BBUSER%% 2>/dev/null; then pw groupadd %%BBUSER%% -g 280; fi
-@exec if ! pw usershow %%BBUSER%% 2>/dev/null; then pw useradd %%BBUSER%% -g %%BBUSER%% -u 280 -h - -d /nonexistent -s /usr/sbin/nologin -c "Hobbit Monitor"; fi
+@exec if ! pw usershow %%BBUSER%% 2>/dev/null; then pw useradd %%BBUSER%% -g %%BBUSER%% -u 280 -h - -d %%WWWDIR%% -s /usr/sbin/nologin -c "Hobbit Monitor"; fi
@unexec if pw usershow %%BBUSER%%; then pw userdel %%BBUSER%%; fi
%%WWWDIR%%/cgi-bin/bb-csvinfo.sh
%%WWWDIR%%/cgi-bin/bb-datepage.sh