MFH: r433496

shells/lshell: update to 0.9.18.20160916

- pass maintainership to submitter
- switch to github
- add NO_ARCH, update project web-page and remove unneded patch

This release fixing some vulnerabilities, that defeats the purpose
of the package entirely, so this is why MFH is requested.

PR:		215989
Submitted by:	Damien Fleuriot <dam@my.gd>

Approved by:	ports-secteam (feld)
This commit is contained in:
Ruslan Makhmatkhanov 2017-02-06 17:15:59 +00:00
parent b1e2b985c3
commit 2aa135e0e4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2017Q1/; revision=433499
6 changed files with 31 additions and 21 deletions

View File

@ -2,17 +2,24 @@
# $FreeBSD$
PORTNAME= lshell
PORTVERSION= 0.9.16
PORTREVISION= 2
PORTVERSION= 0.9.18.20160916
CATEGORIES= shells
MASTER_SITES= SF
DISTNAME= ${PORTNAME}_0.9.18
MAINTAINER= ports@FreeBSD.org
MAINTAINER= dam@my.gd
COMMENT= Shell environment to limited sets of commands to users
LICENSE= GPLv3+
GH_ACCOUNT= ghantoos
GH_PROJECT= lshell
GH_TAGNAME= 279d7ab
WRKSRC= ${WRKDIR}/${PORTNAME}-${GH_TAGNAME}
NO_ARCH= yes
USES= python
USE_GITHUB= yes
USE_PYTHON= distutils
post-patch:

View File

@ -1,2 +1,3 @@
SHA256 (lshell-0.9.16.tar.gz) = 22b28f22eb3445ed1514953c24e30bf3feaacc1225a19332f50245982537c35f
SIZE (lshell-0.9.16.tar.gz) = 41766
TIMESTAMP = 1486360979
SHA256 (lshell_0.9.18_GH0.tar.gz) = a922653348bf5c66b3bb63dab5ae8d0e667d6a819110bed407258e3a20ddfae5
SIZE (lshell_0.9.18_GH0.tar.gz) = 54561

View File

@ -1,6 +1,6 @@
--- lshell/checkconfig.py.orig 2013-08-19 19:59:37 UTC
--- lshell/checkconfig.py 2017-01-11 18:12:28 UTC
+++ lshell/checkconfig.py
@@ -307,7 +307,7 @@ class CheckConfig:
@@ -238,7 +238,7 @@
try:
if logfilename == "syslog":
from logging.handlers import SysLogHandler

View File

@ -1,11 +0,0 @@
--- lshell/shellcmd.py.orig 2013-09-07 23:07:08 UTC
+++ lshell/shellcmd.py
@@ -134,7 +134,7 @@ class ShellCmd(cmd.Cmd, object):
self.g_arg = ' '.join(self.g_line.split()[1:])
self.cd()
else:
- os.system('set -m; %s' % self.g_line)
+ os.system('%s' % self.g_line)
elif self.g_cmd not in ['', '?', 'help', None]:
self.log.warn('INFO: unknown syntax -> "%s"' %self.g_line)
self.stderr.write('*** unknown syntax: %s\n' %self.g_cmd)

View File

@ -3,4 +3,4 @@ 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.
WWW: http://lshell.ghantoos.org
WWW: https://github.com/ghantoos/lshell/

View File

@ -5,14 +5,27 @@ man/man1/lshell.1.gz
%%PYTHON_SITELIBDIR%%/lshell/__init__.py
%%PYTHON_SITELIBDIR%%/lshell/__init__.pyc
%%PYTHON_SITELIBDIR%%/lshell/__init__.pyo
%%PYTHON_SITELIBDIR%%/lshell/builtins.py
%%PYTHON_SITELIBDIR%%/lshell/builtins.pyc
%%PYTHON_SITELIBDIR%%/lshell/builtins.pyo
%%PYTHON_SITELIBDIR%%/lshell/checkconfig.py
%%PYTHON_SITELIBDIR%%/lshell/checkconfig.pyc
%%PYTHON_SITELIBDIR%%/lshell/checkconfig.pyo
%%PYTHON_SITELIBDIR%%/lshell/sec.py
%%PYTHON_SITELIBDIR%%/lshell/sec.pyc
%%PYTHON_SITELIBDIR%%/lshell/sec.pyo
%%PYTHON_SITELIBDIR%%/lshell/shellcmd.py
%%PYTHON_SITELIBDIR%%/lshell/shellcmd.pyc
%%PYTHON_SITELIBDIR%%/lshell/shellcmd.pyo
%%PYTHON_SITELIBDIR%%/lshell/utils.py
%%PYTHON_SITELIBDIR%%/lshell/utils.pyc
%%PYTHON_SITELIBDIR%%/lshell/utils.pyo
%%PYTHON_SITELIBDIR%%/lshell/variables.py
%%PYTHON_SITELIBDIR%%/lshell/variables.pyc
%%PYTHON_SITELIBDIR%%/lshell/variables.pyo
%%PYTHON_SITELIBDIR%%/lshell-0.9.18-py%%PYTHON_VER%%.egg-info/PKG-INFO
%%PYTHON_SITELIBDIR%%/lshell-0.9.18-py%%PYTHON_VER%%.egg-info/SOURCES.txt
%%PYTHON_SITELIBDIR%%/lshell-0.9.18-py%%PYTHON_VER%%.egg-info/dependency_links.txt
%%PYTHON_SITELIBDIR%%/lshell-0.9.18-py%%PYTHON_VER%%.egg-info/top_level.txt
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/README.md