From a93f19d9f556a156123e647069549547ec6f49a4 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Wed, 26 Oct 2011 16:20:00 +0000 Subject: - Unset shellinaboxd_user and shellinaboxd_group at the end of rc script to avoid unnecessary su(1) initiated by rc.subr - Pet portlint - Bump PORTREVISION for package change Reported by: ed (in the followup of ports/151314) Approved by: Olivier Cochard-Labbe (maintainer) --- www/shellinabox/Makefile | 8 ++++---- www/shellinabox/files/shellinaboxd.in | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'www/shellinabox') 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" -- cgit v1.2.3