Up to [cvs.NetBSD.org] / pkgsrc / shells / lshell
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
lshell: convert to egg.mk Bump PKGREVISION.
Update shells/lshell to 0.19.6 Upstream changes: ----------------- === v0.9.16 14/08/2013 === * Added support to login script. Thank you Laurent Debacker for the patch. * Fixed auto-complete failing with "-" * Fixed bug where forbidden commands still execute if strict=1 * Fixed auto-completion complete of forbidden paths * Fixed wrong parsing &, | or ; characters * Added urandom function definition for python 2.3 compat * Corrected env variable expansion * Add support for cd command in aliases * Split lshellmodule in multiple files under the lshell directory * Fixed check_secure function to ignore quoted text * Fixed multiple spaces escaping forbidden filtering * Fixed log file permissions 644 -> 600 * Added possibility to override config file option via command-line * Enabled job control when executing command * Code cleanup === v0.9.15.2 08/05/2012 === * Corrected mismatch in aliaskey variable.
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
Remove @dirrm entries from PLISTs
Limited Shell (lshell) provides a configurable shell per user. This is done quite simply using a configuration file. It becomes easy to restrict user's access to a limited set of commands, chosing to allow any command over SSH (e.g. SCP,SFTP,rsync,etc.). OK'd by seb@
Initial revision