aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2011-10-10 10:46:28 +0800
committerwen <wen@FreeBSD.org>2011-10-10 10:46:28 +0800
commit4355ed3238283e6d93d1e9368a8de62c541beb3b (patch)
tree53d87fce7d14ef1fc53f26df57843a940f3e842d /security
parent7f042898c1ca9f12e6a42b5e5d7d617bef572ad2 (diff)
downloadfreebsd-ports-gnome-4355ed3238283e6d93d1e9368a8de62c541beb3b.tar.gz
freebsd-ports-gnome-4355ed3238283e6d93d1e9368a8de62c541beb3b.tar.zst
freebsd-ports-gnome-4355ed3238283e6d93d1e9368a8de62c541beb3b.zip
RestrictedPython provides a restricted execution environment for Python,
e.g. for running untrusted code. WWW: http://pypi.python.org/pypi/ExtensionClass Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru> (via GitHub)
Diffstat (limited to 'security')
-rw-r--r--security/Makefile1
-rw-r--r--security/py-RestrictedPython/Makefile24
-rw-r--r--security/py-RestrictedPython/distinfo2
-rw-r--r--security/py-RestrictedPython/pkg-descr4
-rw-r--r--security/py-RestrictedPython/pkg-plist96
5 files changed, 127 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 3aa2ca1416a0..3b98b7cffef7 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -681,6 +681,7 @@
SUBDIR += pwman3
SUBDIR += pxytest
SUBDIR += py-PF
+ SUBDIR += py-RestrictedPython
SUBDIR += py-bcrypt
SUBDIR += py-cerealizer
SUBDIR += py-clamav
diff --git a/security/py-RestrictedPython/Makefile b/security/py-RestrictedPython/Makefile
new file mode 100644
index 000000000000..e189d393e0f6
--- /dev/null
+++ b/security/py-RestrictedPython/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: py-RestrictedPython
+# Date created: 10 October, 2011
+# Whom: Ruslan Mahmatkhanov <cvs-src@yandex.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= RestrictedPython
+PORTVERSION= 3.6.0
+CATEGORIES= security python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DIST_SUBDIR= zope
+
+MAINTAINER= cvs-src@yandex.ru
+COMMENT= Restricted execution environment for Python
+
+LICENSE= ZPL21
+
+USE_PYTHON= yes
+USE_PYDISTUTILS=easy_install
+USE_ZIP= yes
+
+.include <bsd.port.mk>
diff --git a/security/py-RestrictedPython/distinfo b/security/py-RestrictedPython/distinfo
new file mode 100644
index 000000000000..83054ff824c1
--- /dev/null
+++ b/security/py-RestrictedPython/distinfo
@@ -0,0 +1,2 @@
+SHA256 (zope/RestrictedPython-3.6.0.zip) = 0edb2579b4174282bee3997abc6316d122c7ca6dcd02f4423352213cde571434
+SIZE (zope/RestrictedPython-3.6.0.zip) = 56739
diff --git a/security/py-RestrictedPython/pkg-descr b/security/py-RestrictedPython/pkg-descr
new file mode 100644
index 000000000000..0b90e45da2cb
--- /dev/null
+++ b/security/py-RestrictedPython/pkg-descr
@@ -0,0 +1,4 @@
+RestrictedPython provides a restricted execution environment for Python,
+e.g. for running untrusted code.
+
+WWW: http://pypi.python.org/pypi/ExtensionClass
diff --git a/security/py-RestrictedPython/pkg-plist b/security/py-RestrictedPython/pkg-plist
new file mode 100644
index 000000000000..0713359aeb4c
--- /dev/null
+++ b/security/py-RestrictedPython/pkg-plist
@@ -0,0 +1,96 @@
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/Eval.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/Eval.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/Eval.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/Guards.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/Guards.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/Guards.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/Limits.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/Limits.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/Limits.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/MutatingWalker.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/MutatingWalker.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/MutatingWalker.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/PrintCollector.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/PrintCollector.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/PrintCollector.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/RCompile.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/RCompile.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/RCompile.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/README.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/RestrictionMutator.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/RestrictionMutator.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/RestrictionMutator.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/SelectCompiler.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/SelectCompiler.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/SelectCompiler.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/Utilities.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/Utilities.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/Utilities.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/notes.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/before_and_after.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/before_and_after.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/before_and_after.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/before_and_after24.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/before_and_after24.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/before_and_after24.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/before_and_after25.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/before_and_after25.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/before_and_after25.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/before_and_after26.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/before_and_after26.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/before_and_after26.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/before_and_after27.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/before_and_after27.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/before_and_after27.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/class.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/class.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/class.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/lambda.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/lambda.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/lambda.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/restricted_module.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/restricted_module.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/restricted_module.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/security_in_syntax.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/security_in_syntax.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/security_in_syntax.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/security_in_syntax26.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/security_in_syntax26.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/security_in_syntax26.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/security_in_syntax27.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/security_in_syntax27.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/security_in_syntax27.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/testCompile.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/testCompile.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/testCompile.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/testREADME.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/testREADME.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/testREADME.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/testRestrictions.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/testRestrictions.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/testRestrictions.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/testUtiliities.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/testUtiliities.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/testUtiliities.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/unpack.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/unpack.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/unpack.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/verify.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/verify.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests/verify.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython/tests
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/RestrictedPython
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%