diff options
author | Bruce M Simpson <bms@FreeBSD.org> | 2004-03-25 07:47:40 +0000 |
---|---|---|
committer | Bruce M Simpson <bms@FreeBSD.org> | 2004-03-25 07:47:40 +0000 |
commit | 413950aef1d0357f029ba6897e59fd38d953b522 (patch) | |
tree | bb179babfab2db4a1e520ef4b5853a88381cd6d2 /net-mgmt | |
parent | c33e9331ce97c120ec3d4365a2d00164c84646c5 (diff) | |
download | ports-413950aef1d0357f029ba6897e59fd38d953b522.tar.gz ports-413950aef1d0357f029ba6897e59fd38d953b522.zip |
Notes
Diffstat (limited to 'net-mgmt')
-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 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 |