diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-10-26 16:20:00 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-10-26 16:20:00 +0000 |
commit | a93f19d9f556a156123e647069549547ec6f49a4 (patch) | |
tree | 1ee131c1c3f8bde3fe619aa74ef230df93769637 /www/shellinabox | |
parent | 7f62556a4cc121d318cea6330394edc64260bec1 (diff) |
Notes
Diffstat (limited to 'www/shellinabox')
-rw-r--r-- | www/shellinabox/Makefile | 8 | ||||
-rw-r--r-- | www/shellinabox/files/shellinaboxd.in | 3 |
2 files changed, 7 insertions, 4 deletions
diff --git a/www/shellinabox/Makefile b/www/shellinabox/Makefile index f313431b2885..bc6551f7e375 100644 --- a/www/shellinabox/Makefile +++ b/www/shellinabox/Makefile @@ -7,13 +7,16 @@ PORTNAME= shellinabox PORTVERSION= 2.10 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www MASTER_SITES= GOOGLE_CODE MAINTAINER= olivier@cochard.me COMMENT= Publish command line shell through AJAX interface +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + OPTIONS= ENABLE_CORES "Patch shellinaboxd to enable core dumps." off HAS_CONFIGURE= yes @@ -22,9 +25,6 @@ CONFIGURE_ARGS= \ --infodir=${PREFIX}/${INFO_PATH} \ --mandir=${MANPREFIX}/man -LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/COPYING - USE_RC_SUBR= shellinaboxd USERS?= shellinabox GROUPS?= shellinabox diff --git a/www/shellinabox/files/shellinaboxd.in b/www/shellinabox/files/shellinaboxd.in index 5e00b709ff63..8e8e9f48c266 100644 --- a/www/shellinabox/files/shellinaboxd.in +++ b/www/shellinabox/files/shellinaboxd.in @@ -64,4 +64,7 @@ else command_args="$command_args --cert-fd=3 3< ${shellinaboxd_certfile}" fi +# avoid unnecessary su(1) initiated by rc.subr +unset shellinaboxd_user shellinaboxd_group + run_rc_command "$1" |