pkgsrc/shells/lshell/Makefile

38 lines
1,016 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.17 2017/01/01 14:43:56 wiz Exp $
DISTNAME= lshell-0.9.16
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
DEPENDS+= ${PYPKGPREFIX}-readline>=0nb2:../../devel/py-readline
PKG_GROUPS= lshellg
PKG_SHELL= bin/lshell
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
2010-04-11 16:37:25 +02:00
USE_LANGUAGES= # none
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
2010-04-11 16:37:25 +02:00
PYDISTUTILSPKG= yes
PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # not yet ported as of 0.9.16
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
2010-04-11 16:37:25 +02:00
EGDIR= share/examples/lshell
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
2010-04-11 16:37:25 +02:00
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},'
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
2010-04-11 16:37:25 +02:00
INSTALLATION_DIRS+= ${EGDIR} ${EGDIR}/logrotate.d ${PKGMANDIR}/man1
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
2010-04-11 16:37:25 +02:00
CONF_FILES= ${PREFIX}/${EGDIR}/lshell.conf \
${PKG_SYSCONFDIR}/lshell.conf
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"