diff options
author | bms <bms@FreeBSD.org> | 2004-03-25 07:47:40 +0000 |
---|---|---|
committer | bms <bms@FreeBSD.org> | 2004-03-25 07:47:40 +0000 |
commit | 3fd1a86ff481748556a6d4656d3a858a9335fc8f (patch) | |
tree | 632114580087b5feb9751a35bfff508642b986b8 /net-mgmt/bigsister | |
parent | be1aaeafe15f8ffbcff694e047ed04f76437ffcd (diff) | |
download | FreeBSD-ports-3fd1a86ff481748556a6d4656d3a858a9335fc8f.zip FreeBSD-ports-3fd1a86ff481748556a6d4656d3a858a9335fc8f.tar.gz |
Fix home directory for the sandbox user.
Diffstat (limited to 'net-mgmt/bigsister')
-rw-r--r-- | net-mgmt/bigsister/Makefile | 2 | ||||
-rw-r--r-- | net-mgmt/bigsister/pkg-install | 4 |
2 files changed, 3 insertions, 3 deletions
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 |