Security fix. === v0.9.15.1 15/03/2012 === * Corrected security bug allowing user to get out of the restricted shell. Thank you bui from NBS System for reporting this grave issue! === v0.9.15 13/03/2012 === * Set the hostname to the "short hostname" in the prompt. * Corrected traceback when "sudo" command was entered alone. Thank you Kiran Reddy for reporting this. * Added support for python2.3 as subprocess is not included by default. * Corrected the 'strict' behavior when entering a forbidden path. * Added short path promp support using the 'prompt_short' variable. * Corrected stacktrace when group did not exist. * Add support for empty prompt. * Fixed bugs when using $() and ``. * Corrected strict behavior to apply to forbidden path. * Added support for wildcard '*' when using 'cd'. * Added support for "cd -" to return to previous directory. * Updated security issue with non printable characters permitting user to get out of the limited shell. * Now lshell automatically reload its configuration if the configuration file is modified. * Added possibility to have no "intro" when user logs in. (by setting the intro configuration field to "") * Corrected multiple commands over ssh, and aliases interpretation. * Added possibility to use wildcards in path definitions. * Finally corrected the alias replacement loop.
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.9 2012/04/12 19:44:21 gls Exp $
|
|
#
|
|
|
|
DISTNAME= lshell-0.9.15.1
|
|
CATEGORIES= shells python
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lshell/}
|
|
|
|
MAINTAINER= imil@gcu.info
|
|
HOMEPAGE= http://ghantoos.org/limited-shell-lshell/
|
|
COMMENT= Lshell restricts user's environment to specified commands
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
PKG_GROUPS= lshellg
|
|
PKG_SHELL= bin/lshell
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
PYDISTUTILSPKG= yes
|
|
|
|
EGDIR= share/examples/lshell
|
|
|
|
REPLACE_INTERPRETER+= python
|
|
REPLACE.python.old= /usr/bin/env python
|
|
REPLACE.python.new= ${PYTHONBIN}
|
|
REPLACE_FILES.python= lshellmodule/lshell.py
|
|
|
|
SUBST_CLASSES+= setup
|
|
SUBST_STAGE.setup= post-patch
|
|
SUBST_FILES.setup= setup.py
|
|
SUBST_SED.setup= -e 's,/etc,${EGDIR},'
|
|
SUBST_SED.setup+= -e 's,share/man,${PKGMANDIR},'
|
|
|
|
INSTALLATION_DIRS+= ${EGDIR} ${EGDIR}/logrotate.d ${PKGMANDIR}/man1
|
|
|
|
CONF_FILES= ${PREFIX}/${EGDIR}/lshell.conf \
|
|
${PKG_SYSCONFDIR}/lshell.conf
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../devel/py-readline/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|