From 3fd1a86ff481748556a6d4656d3a858a9335fc8f Mon Sep 17 00:00:00 2001 From: bms Date: Thu, 25 Mar 2004 07:47:40 +0000 Subject: Fix home directory for the sandbox user. --- net-mgmt/bigsister/Makefile | 2 +- net-mgmt/bigsister/pkg-install | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'net-mgmt/bigsister') diff --git a/net-mgmt/bigsister/Makefile b/net-mgmt/bigsister/Makefile index 0c7c490..da44b9c 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 c0e7ef7..fc53876 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 -- cgit v1.1