aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorbms <bms@FreeBSD.org>2004-03-25 15:47:40 +0800
committerbms <bms@FreeBSD.org>2004-03-25 15:47:40 +0800
commit3fd1a86ff481748556a6d4656d3a858a9335fc8f (patch)
tree632114580087b5feb9751a35bfff508642b986b8 /net-mgmt
parentbe1aaeafe15f8ffbcff694e047ed04f76437ffcd (diff)
downloadfreebsd-ports-gnome-3fd1a86ff481748556a6d4656d3a858a9335fc8f.tar.gz
freebsd-ports-gnome-3fd1a86ff481748556a6d4656d3a858a9335fc8f.tar.zst
freebsd-ports-gnome-3fd1a86ff481748556a6d4656d3a858a9335fc8f.zip
Fix home directory for the sandbox user.
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/bigsister/Makefile2
-rw-r--r--net-mgmt/bigsister/pkg-install4
2 files changed, 3 insertions, 3 deletions
diff --git a/net-mgmt/bigsister/Makefile b/net-mgmt/bigsister/Makefile
index 0c7c4906a4b0..da44b9c99321 100644
--- a/net-mgmt/bigsister/Makefile
+++ b/net-mgmt/bigsister/Makefile
@@ -42,7 +42,7 @@ post-configure:
@${SED} ${SED_SCRIPT} < ${FILESDIR}/${PORTNAME}.sh > ${WRKDIR}/${PORTNAME}.sh
pre-install:
- @${SETENV} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
+ @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/etc/rc.d
diff --git a/net-mgmt/bigsister/pkg-install b/net-mgmt/bigsister/pkg-install
index c0e7ef7b691b..fc53876aba6b 100644
--- a/net-mgmt/bigsister/pkg-install
+++ b/net-mgmt/bigsister/pkg-install
@@ -2,7 +2,7 @@
PATH=/bin:/usr/sbin
-SANDBOX_DIR="/disabled"
+SANDBOX_DIR="${PKG_PREFIX}/bigsister"
if [ -z "${BS_USER}" ]; then
BS_USER=bs
@@ -38,7 +38,7 @@ case $2 in
fi
else
if pw useradd ${BS_USER} -u ${UID} -g ${BS_GROUP} -h - \
- -d ${SANDBOX_DIR} -s /sbin/nologin -c "Big Sister"
+ -d ${SANDBOX_DIR} -s /bin/sh -c "Big Sister"
then
echo "Added user \"${BS_USER}\"."
else