aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/xymon-server
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2009-01-11 21:04:12 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2009-01-11 21:04:12 +0000
commit2bd9531e93d23305990f0a0d69701c717d053c55 (patch)
tree03b2f57ce2a89959f5972f7fb80be7ee883a16e5 /net-mgmt/xymon-server
parentd36193480242405d20f5dfb7d5e85fbb94e96ad8 (diff)
downloadports-2bd9531e93d23305990f0a0d69701c717d053c55.tar.gz
ports-2bd9531e93d23305990f0a0d69701c717d053c55.zip
Notes
Diffstat (limited to 'net-mgmt/xymon-server')
-rw-r--r--net-mgmt/xymon-server/Makefile2
-rw-r--r--net-mgmt/xymon-server/pkg-plist2
2 files changed, 2 insertions, 2 deletions
diff --git a/net-mgmt/xymon-server/Makefile b/net-mgmt/xymon-server/Makefile
index fe16be01bf41..690901d36450 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 3fd1ab9322b0..521753a451fd 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