Date: Wed, 5 Aug 2009 14:25:43 GMT From: Wen Heping <wenheping@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/137459: [NEW PORT]devel/py-repoze.what:Authorization for WSGI applications Message-ID: <200908051425.n75EPhSj082238@www.freebsd.org> Resent-Message-ID: <200908051430.n75EU4Rr068052@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 137459 >Category: ports >Synopsis: [NEW PORT]devel/py-repoze.what:Authorization for WSGI applications >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Aug 05 14:30:04 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Wen Heping >Release: FreeBSD 8.0-Current >Organization: ChangAn Middle School >Environment: FreeBSD fb8.wenjing.com 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sun Mar 22 22:12:06 CST 2009 root@fb8.wenjing.com:/usr/obj/usr/src/sys/GENERIC i386 >Description: repoze.what is an authorization framework for WSGI applications, based on repoze.who (which deals with authentication and identification). On the one hand, it enables an authorization system based on the groups to which the `authenticated or anonymous` user belongs and the permissions granted to such groups by loading these groups and permissions into the request on the way in to the downstream WSGI application. And on the other hand, it enables you to manage your groups and permissions from the application itself or another program, under a backend-independent API. For example, it would be easy for you to switch from one back-end to another, and even use this framework to migrate the data. WWW: http://what.repoze.org/docs/1.x/ (It require the PR above) (It is prepared for tg2) >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: # # py-repoze.what # py-repoze.what/pkg-descr # py-repoze.what/Makefile # py-repoze.what/distinfo # py-repoze.what/pkg-plist # echo c - py-repoze.what mkdir -p py-repoze.what > /dev/null 2>&1 echo x - py-repoze.what/pkg-descr sed 's/^X//' >py-repoze.what/pkg-descr << '9dbb13b87ee30b275ee74adf7ff40a4b' Xrepoze.what is an authorization framework for WSGI applications, Xbased on repoze.who (which deals with authentication and Xidentification). X XOn the one hand, it enables an authorization system based on the Xgroups to which the `authenticated or anonymous` user belongs and Xthe permissions granted to such groups by loading these groups Xand permissions into the request on the way in to the downstream XWSGI application. X XAnd on the other hand, it enables you to manage your groups and Xpermissions from the application itself or another program, under Xa backend-independent API. For example, it would be easy for you Xto switch from one back-end to another, and even use this framework Xto migrate the data. X XWWW: http://what.repoze.org/docs/1.x/ 9dbb13b87ee30b275ee74adf7ff40a4b echo x - py-repoze.what/Makefile sed 's/^X//' >py-repoze.what/Makefile << 'a15b618f82da8fb15772a7e75e2c5dca' X# New ports collection makefile for: py-repoze.what X# Date created: 3rd August,2009 X# Whom: Wen Heping <wenheping@gmail.com> X# X# $FreeBSD$ X# X XPORTNAME= repoze.what XPORTVERSION= 1.0.8 XCATEGORIES= devel python XMASTER_SITES= CHEESESHOP XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} X XMAINTAINER= wenheping@gmail.com XCOMMENT= Authorization for WSGI applications X XBUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Paste>=1.7.2:${PORTSDIR}/www/py-paste \ X ${PYTHON_PKGNAMEPREFIX}repoze.who-testutil>=0:${PORTSDIR}/devel/py-repoze.who-testutil XRUN_DEPENDS= ${BUILD_DEPENDS} X XUSE_PYTHON= yes XUSE_PYDISTUTILS= easy_install X X.include <bsd.port.mk> a15b618f82da8fb15772a7e75e2c5dca echo x - py-repoze.what/distinfo sed 's/^X//' >py-repoze.what/distinfo << 'badd9e68a420104cd904e90f6443da5b' XMD5 (repoze.what-1.0.8.tar.gz) = 2e9659f4d23711f41017cd4a26d76848 XSHA256 (repoze.what-1.0.8.tar.gz) = b4fb50d444866dc1410a4b9d04f9a05762f756b58f4f67b767b470f77f74a6db XSIZE (repoze.what-1.0.8.tar.gz) = 58980 badd9e68a420104cd904e90f6443da5b echo x - py-repoze.what/pkg-plist sed 's/^X//' >py-repoze.what/pkg-plist << '99804a59eb8085983f5069bd590a35bd' X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/entry_points.txt X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/namespace_packages.txt X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/__init__.py X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/__init__.pyc X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/__init__.pyo X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/__init__.py X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/__init__.pyc X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/__init__.pyo X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/adapters/__init__.py X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/adapters/__init__.pyc X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/adapters/__init__.pyo X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/adapters/testutil.py X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/adapters/testutil.pyc X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/adapters/testutil.pyo X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/authorize.py X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/authorize.pyc X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/authorize.pyo X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/middleware.py X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/middleware.pyc X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/middleware.pyo X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/plugins/__init__.py X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/plugins/__init__.pyc X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/plugins/__init__.pyo X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/predicates.py X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/predicates.pyc X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/predicates.pyo X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/release.py X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/release.pyc X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/release.pyo X@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO X@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/adapters X@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/plugins X@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what X@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze X@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% 99804a59eb8085983f5069bd590a35bd exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908051425.n75EPhSj082238>