LICENSE= gnu-gpl-v2
EXTRACT_USING= gtar
+
USE_TOOLS+= gtar aclocal automake autoconf gm4 gmake autoheader
USE_LANGUAGES= c
USE_LIBTOOL= yes
+
GNU_CONFIGURE= yes
.include "../../mk/bsd.prefs.mk"
SUBST_CLASSES+= sib
SUBST_STAGE.sib= pre-configure
-SUBST_MESSAGE.sib= Fixing shellinaboxd user/group defaults
+SUBST_MESSAGE.sib= Crafting a shellinaboxd rc.d script with sane defaults
SUBST_FILES.sib+= ${WRKSRC}/shellinaboxd.in
SUBST_VARS.sib+= PREFIX SIB_USER SIB_GROUP
autoconf && \
automake --copy --add-missing --foreign
+.include "options.mk"
+
.include "../../mk/bsd.pkg.mk"
#!/bin/sh
-# $FreeBSD$
+# $NetBSD$
#
# Shell in a Box Daemon startup script
#
# KEYWORD: shutdown
#
-# Add the following to /etc/rc.conf[.local] to enable this service
+# Add the following to /etc/rc.conf to enable this service
#
# shellinaboxd="YES"
#
command="@PREFIX@/bin/${name}"
-load_rc_config $name
-
-shellinaboxd_enable=${shellinaboxd_enable:-"NO"}
+shellinaboxd=${shellinaboxd:-"NO"}
shellinaboxd_user=${shellinaboxd_user:-"@SIB_USER@"}
shellinaboxd_group=${shellinaboxd_group:-"@SIB_GROUP@"}
shellinaboxd_port=${shellinaboxd_port:-"4200"}