Date: Sun, 2 Aug 2009 22:29:40 GMT From: Sylvio Cesar <scjamorim@bsd.com.br> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/137369: New Port: lshell, shell environment to limited sets of commands to user's Message-ID: <200908022229.n72MTeiX080351@www.freebsd.org> Resent-Message-ID: <200908022230.n72MU3qf025206@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 137369 >Category: ports >Synopsis: New Port: lshell, shell environment to limited sets of commands to user's >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Aug 02 22:30:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Sylvio Cesar >Release: 7.2-RELEASE >Organization: >Environment: reeBSD fbsd72-amd64.scjamorim.org 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 07:18:07 UTC 2009 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: lshell lets you restrict a user's shell environment to limited sets of commands, choose to enable or disable any command over SSH (e.g. SCP, SFTP, rsync, etc.), log user's commands, implement timing restrictions, and more. License: GPLv3 >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # . # ./pkg-descr # ./Makefile # ./pkg-plist # ./distinfo # ./files # ./files/patch-setup.py # ./lshell # echo c - . mkdir -p . > /dev/null 2>&1 echo x - ./pkg-descr sed 's/^X//' >./pkg-descr << '0e313719ff012ceaf97a028d51caa8f5' Xlshell lets you restrict a user's shell environment to limited sets of commands, Xchoose to enable or disable any command over SSH (e.g. SCP, SFTP, rsync, etc.) Xlog user's commands, implement timing restrictions, and more. X XWWW: http://lshell.ghantoos.org 0e313719ff012ceaf97a028d51caa8f5 echo x - ./Makefile sed 's/^X//' >./Makefile << '464ef7c6571951809b23e262cbe26e19' X# New ports collection makefile for: lshell X# Date created: 2009-08-01 X# Whom: Sylvio Cesar <scjamorim@bsd.com.br> X# X# $FreeBSD$ X# X XPORTNAME= lshell XPORTVERSION= 0.9.5 XCATEGORIES= shells XMASTER_SITES= SF XMASTER_SITE_SUBDIR= ${PORTNAME} X XMAINTAINER= scjamorim@bsd.com.br XCOMMENT= Shell environment to limited sets of commands to user's X XRUN_DEPENDS= python:${PORTSDIR}/lang/python XBUILD_DEPENDS= python:${PORTSDIR}/lang/python X XUSE_PYDISTUTILS= yes XUSE_PYTHON= yes X XMAN1= lshell.1 X XPORTDOCS= README COPYING CHANGES X X.include <bsd.port.mk> 464ef7c6571951809b23e262cbe26e19 echo x - ./pkg-plist sed 's/^X//' >./pkg-plist << 'ef3e7f63841ae908ba397c2bef1fbad6' X@comment $FreeBSD$ Xbin/lshell Xetc/lshell.conf Xlib/python2.6/site-packages/lshell.py Xlib/python2.6/site-packages/lshell.pyc Xlib/python2.6/site-packages/lshell.pyo ef3e7f63841ae908ba397c2bef1fbad6 echo x - ./distinfo sed 's/^X//' >./distinfo << 'aec8793adfd5b7c3f00e62ae41a09ac2' XMD5 (lshell-0.9.5.tar.gz) = 89f0a93725f762f31e3b0c5ac2599df2 XSHA256 (lshell-0.9.5.tar.gz) = 9261ceb5b076cdde576c946bc0b1dc8f1c6e8a23dca7629f61479f7c6d9f59da XSIZE (lshell-0.9.5.tar.gz) = 30524 aec8793adfd5b7c3f00e62ae41a09ac2 echo c - ./files mkdir -p ./files > /dev/null 2>&1 echo x - ./files/patch-setup.py sed 's/^X//' >./files/patch-setup.py << '6a3a2d1daf69a038a35d278559b9cd59' X--- setup.py.orig 2009-07-28 15:20:50.000000000 -0300 X+++ setup.py 2009-08-02 17:46:32.000000000 -0300 X@@ -40,9 +40,9 @@ X scripts = ['bin/lshell'], X package_dir = {'':'lshellmodule'}, X packages = [''], X- data_files = [('/etc', ['etc/lshell.conf']), X+ data_files = [('etc', ['etc/lshell.conf']), X ('share/doc/lshell',['README', 'COPYING', 'CHANGES']), X- ('share/man/man1/', ['man/lshell.1']) ], X+ ('man/man1/', ['man/lshell.1']) ], X classifiers=[ X 'Development Status :: 4 - Beta', X 'Environment :: Console' 6a3a2d1daf69a038a35d278559b9cd59 echo x - ./lshell sed 's/^X//' >./lshell << '981f65ef953acddd6d7aea8f1f9eebe3' X# This is a shell archive. Save it in a file, remove anything before X# this line, and then unpack it by entering "sh file". Note, it may X# create directories; files and directories will be owned by you and X# have default permissions. X# X# This archive contains: X# X# . X# ./pkg-descr X# ./Makefile X# ./pkg-plist X# ./distinfo X# ./files X# ./files/patch-setup.py X# ./lshell X# Xecho c - . Xmkdir -p . > /dev/null 2>&1 Xecho x - ./pkg-descr Xsed 's/^X//' >./pkg-descr << '0e313719ff012ceaf97a028d51caa8f5' XXlshell lets you restrict a user's shell environment to limited sets of commands, XXchoose to enable or disable any command over SSH (e.g. SCP, SFTP, rsync, etc.) XXlog user's commands, implement timing restrictions, and more. XX XXWWW: http://lshell.ghantoos.org X0e313719ff012ceaf97a028d51caa8f5 Xecho x - ./Makefile Xsed 's/^X//' >./Makefile << '464ef7c6571951809b23e262cbe26e19' XX# New ports collection makefile for: lshell XX# Date created: 2009-08-01 XX# Whom: Charlie & <root@fbsd72-i386.scjamorim.org> XX# XX# $FreeBSD$ XX# XX XXPORTNAME= lshell XXPORTVERSION= 0.9.5 XXCATEGORIES= shells XXMASTER_SITES= SF XXMASTER_SITE_SUBDIR= ${PORTNAME} XX XXMAINTAINER= scjamorim@bsd.com.br XXCOMMENT= Shell environment to limited sets of commands to user's XX XXRUN_DEPENDS= python:${PORTSDIR}/lang/python XXBUILD_DEPENDS= python:${PORTSDIR}/lang/python XX XXUSE_PYDISTUTILS= yes XXUSE_PYTHON= yes XX XXMAN1= lshell.1 XX XXPORTDOCS= README COPYING CHANGES XX XX.include <bsd.port.mk> X464ef7c6571951809b23e262cbe26e19 Xecho x - ./pkg-plist Xsed 's/^X//' >./pkg-plist << 'ef3e7f63841ae908ba397c2bef1fbad6' XX@comment $FreeBSD$ XXbin/lshell XXetc/lshell.conf XXlib/python2.6/site-packages/lshell.py XXlib/python2.6/site-packages/lshell.pyc XXlib/python2.6/site-packages/lshell.pyo Xef3e7f63841ae908ba397c2bef1fbad6 Xecho x - ./distinfo Xsed 's/^X//' >./distinfo << 'aec8793adfd5b7c3f00e62ae41a09ac2' XXMD5 (lshell-0.9.5.tar.gz) = 89f0a93725f762f31e3b0c5ac2599df2 XXSHA256 (lshell-0.9.5.tar.gz) = 9261ceb5b076cdde576c946bc0b1dc8f1c6e8a23dca7629f61479f7c6d9f59da XXSIZE (lshell-0.9.5.tar.gz) = 30524 Xaec8793adfd5b7c3f00e62ae41a09ac2 Xecho c - ./files Xmkdir -p ./files > /dev/null 2>&1 Xecho x - ./files/patch-setup.py Xsed 's/^X//' >./files/patch-setup.py << '6a3a2d1daf69a038a35d278559b9cd59' XX--- setup.py.orig 2009-07-28 15:20:50.000000000 -0300 XX+++ setup.py 2009-08-02 17:46:32.000000000 -0300 XX@@ -40,9 +40,9 @@ XX scripts = ['bin/lshell'], XX package_dir = {'':'lshellmodule'}, XX packages = [''], XX- data_files = [('/etc', ['etc/lshell.conf']), XX+ data_files = [('etc', ['etc/lshell.conf']), XX ('share/doc/lshell',['README', 'COPYING', 'CHANGES']), XX- ('share/man/man1/', ['man/lshell.1']) ], XX+ ('man/man1/', ['man/lshell.1']) ], XX classifiers=[ XX 'Development Status :: 4 - Beta', XX 'Environment :: Console' X6a3a2d1daf69a038a35d278559b9cd59 Xecho x - ./lshell Xsed 's/^X//' >./lshell << '981f65ef953acddd6d7aea8f1f9eebe3' 981f65ef953acddd6d7aea8f1f9eebe3 exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908022229.n72MTeiX080351>