Updated from 0.9.4 to 0.9.10

0.9.10

        . Corrected minor bug in the aliases function that appeared in the
          previous version. Thank you Piotr Minkina for reporting this.

0.9.9

        . Added the possibility to configure introduction prompt.
        . Replaced "joker" by "warnings" (more elegant)
        . Possibility of limiting the history file size.
        . Added lpath built-in command to list allowed and denied path.
          Thanks to Adrien Urban.
        . Corrected bug when using "~" was not parsed as "home directory" when
          used in a command other than "cd". Thank you Adrien Urban finding
          this.
        . Corrected minor typo when warning for a forbidden path.
        . If $(foo) is present in the line, check if foo is allowed before
          executing the line. Thank you Adrien Urban for pointing this out!
        . Added the possibility to list commands allowed to be executed using
          sudo.
          The new configuration field is sudo_commands.
        . Added the clear(1) command as a built-in command.
        . Added '$(' and '${' in the forbidden list by default in the
          configuration
          file.
        . Now check the content of curly braces withariables '${}'. Thank you
          Adrien Urban for reporting this.
        . Added possibility to set history file name using history_file in the
          configuration file.
        . Corrected the bug when using '|', '&' or ';' over ssh. Over ssh
          forbidden
          characters refers now to the list provided in the "forbidden" field.
          Thank you Jools Wills for reporting this!
        . It now possible to use "&&" and "||" even if "&" and/or "|" are in the
          forbidden list. In order to forbid them too, you must add them
          explicitely in the forbidden list. Thank you Adrien Urban for this
          suggestion.
        . Fixed aliases bug that replaced part of commands rendering them
          unusable.

          e.g. aliasei:vim replaced the view command by vimew.
        . Added a logrotate file for lshell log files.
        . Corrected parsing of commands overssh to be checked by the same
          function
          used by the lshell CLI.

        Thank you Adrien Urban for you security audit and excellent ideas!

0.9.8

        . Major bug fix. lshell did not launch on python 2.4 and 2.5
          (https://sourceforge.net/projects/lshell/forums/forum/778301/topic/347
4668)
        . Added aliases for commands over SSH.

0.9.7

        . Cleaned up the Python code
        . Corrected crash when directory permission denied
          (Closes: https://sourceforge.net/tracker/?func=detail&aid=2875374&grou
p_id=215792&atid=1035093)
        . Added possibility to set the home_path option using the '%u' flag.
          (e.g. '/var/chroot/%u' where '%u' will be replaced by the user's
          username)
        . Now replaces "~" by user's home directory.

0.9.6

        . Major security fix. User had access to all files located in forbidden
          directories
          (Closes: https://sourceforge.net/tracker/?func=detail&aid=2838542&grou
p_id=215792&atid=1035093)
        . Corrects RPM generation bug
          (Closes: https://sourceforge.net/tracker/index.php?func=detail&aid=283
8283&group_id=215792&atid=1035093)
        . lshell exits gracefully when user home directory doesn't exist

0.9.5

        . Minor release
        . Changed lshell's group from lshellg to lshell (this should not have
          an impact on older installations)
        . Minor typo correction in the lshell.py code
This commit is contained in:
imil 2010-04-11 14:37:25 +00:00
parent 6b90ecb605
commit 31080c8540
3 changed files with 20 additions and 20 deletions

View file

@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.3 2010/02/10 19:17:45 joerg Exp $
# $NetBSD: Makefile,v 1.4 2010/04/11 14:37:25 imil Exp $
#
DISTNAME= lshell-0.9.4
PKGREVISION= 1
DISTNAME= lshell-0.9.10
CATEGORIES= shells python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lshell/}
@ -13,24 +12,24 @@ COMMENT= Lshell restricts user's environment to specified commands
PKG_GROUPS= lshellg
PKG_SHELL= bin/lshell
PKG_DESTDIR_SUPPORT= user-destdir
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= # none
USE_LANGUAGES= # none
PYDISTUTILSPKG= yes
PYDISTUTILSPKG= yes
EGDIR= share/examples/lshell
EGDIR= share/examples/lshell
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},'
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} ${PKGMANDIR}/man1
INSTALLATION_DIRS+= ${EGDIR} ${EGDIR}/logrotate.d ${PKGMANDIR}/man1
CONF_FILES= ${PREFIX}/${EGDIR}/lshell.conf \
${PKG_SYSCONFDIR}/lshell.conf
CONF_FILES= ${PREFIX}/${EGDIR}/lshell.conf \
${PKG_SYSCONFDIR}/lshell.conf
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:14:21 joerg Exp $
@comment $NetBSD: PLIST,v 1.3 2010/04/11 14:37:25 imil Exp $
bin/lshell
${PYSITELIB}/lshell.py
${PYSITELIB}/lshell.pyc
@ -7,4 +7,5 @@ man/man1/lshell.1
share/doc/lshell/CHANGES
share/doc/lshell/COPYING
share/doc/lshell/README
share/examples/lshell/logrotate.d/lshell
share/examples/lshell/lshell.conf

View file

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.2 2009/06/10 08:34:07 imil Exp $
$NetBSD: distinfo,v 1.3 2010/04/11 14:37:25 imil Exp $
SHA1 (lshell-0.9.4.tar.gz) = 4330be3d1b25b77de050d599cf37eb8ae0b84f41
RMD160 (lshell-0.9.4.tar.gz) = 3e5f9191b446a1c1465be1b44e6f7353ac7ac5db
Size (lshell-0.9.4.tar.gz) = 32203 bytes
SHA1 (lshell-0.9.10.tar.gz) = b006a181bc44934e76a16215d0e08583a42e74bd
RMD160 (lshell-0.9.10.tar.gz) = 7125d433cf1245253e959b4621bc4fce2083e23a
Size (lshell-0.9.10.tar.gz) = 34751 bytes