diff options
author | miwi <miwi@FreeBSD.org> | 2012-04-11 11:38:17 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2012-04-11 11:38:17 +0800 |
commit | 73d251704805778caefba44aa78737cd511bb6f6 (patch) | |
tree | 5cd9bb08da51520e8e1c75a78b7221984c74bccf /www | |
parent | 77a46114862249f75403b2c3b806b0dbb274f247 (diff) | |
download | freebsd-ports-gnome-73d251704805778caefba44aa78737cd511bb6f6.tar.gz freebsd-ports-gnome-73d251704805778caefba44aa78737cd511bb6f6.tar.zst freebsd-ports-gnome-73d251704805778caefba44aa78737cd511bb6f6.zip |
A library that can be used to add OpenID support to Django
applications. The library integrates with Django's builtin
authentication system, so most applications require minimal changes to
support OpenID login.
The library also includes the following features:
* Basic user details are transfered from the OpenID server via the
Simple Registration extension.
* It can be configured to use a fixed OpenID server URL, for use in
single sign on deployments.
* It supports the Launchpad teams extension to request team
membership information.
WWW: https://launchpad.net/django-openid-auth
PR: ports/164670
Submitted by: Matthew X. Economou <xenophon+fbsdports@irtnog.org>
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/py-django-openid-auth/Makefile | 45 | ||||
-rw-r--r-- | www/py-django-openid-auth/distinfo | 2 | ||||
-rw-r--r-- | www/py-django-openid-auth/pkg-descr | 14 | ||||
-rw-r--r-- | www/py-django-openid-auth/pkg-message | 26 | ||||
-rw-r--r-- | www/py-django-openid-auth/pkg-plist | 67 |
6 files changed, 155 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index cd98a5092f60..27b127d40e8c 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1451,6 +1451,7 @@ SUBDIR += py-django-keyedcache SUBDIR += py-django-livesettings SUBDIR += py-django-mptt + SUBDIR += py-django-openid-auth SUBDIR += py-django-photologue SUBDIR += py-django-pipeline SUBDIR += py-django-piston diff --git a/www/py-django-openid-auth/Makefile b/www/py-django-openid-auth/Makefile new file mode 100644 index 000000000000..3837969ec310 --- /dev/null +++ b/www/py-django-openid-auth/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: py-django-openid-auth +# Date created: 31 Jan 2012 +# Whom: Matthew X. Economou <xenophon+fbsdports@irtnog.org> +# +# $FreeBSD$ +# + +PORTNAME= django-openid-auth +PORTVERSION= 0.4 +CATEGORIES= www security python +MASTER_SITES= http://launchpadlibrarian.net/80020365/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME}_${PORTVERSION} + +MAINTAINER= xenophon+fbsdports@irtnog.org +COMMENT= OpenID integration for django.contrib.auth + +LICENSE= BSD + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django>=1.3.1:${PORTSDIR}/www/py-django \ + ${PYTHON_PKGNAMEPREFIX}openid>=2.2.5:${PORTSDIR}/security/py-openid + +USE_PYTHON= yes +USE_PYDISTUTILS= yes + +NO_WRKSUBDIR= yes + +PORTDOCS= *.txt *.html +PORTEXAMPLES= example_consumer + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/README.txt ${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/TODO.txt ${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/openid.html ${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/openid.txt ${DOCSDIR} +.endif +.if !defined(NOPORTEXAMPLES) + ${MKDIR} ${EXAMPLESDIR}/example_consumer + ${INSTALL_MAN} ${WRKSRC}/example_consumer/* ${EXAMPLESDIR}/example_consumer +.endif + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/www/py-django-openid-auth/distinfo b/www/py-django-openid-auth/distinfo new file mode 100644 index 000000000000..b26f6b7f6a50 --- /dev/null +++ b/www/py-django-openid-auth/distinfo @@ -0,0 +1,2 @@ +SHA256 (django-openid-auth_0.4.tar.gz) = 923c2a9652f23bee367a6578f39d0881eaeb7aca2ec8f810f523b16e38679d05 +SIZE (django-openid-auth_0.4.tar.gz) = 77703 diff --git a/www/py-django-openid-auth/pkg-descr b/www/py-django-openid-auth/pkg-descr new file mode 100644 index 000000000000..e4d59e180e17 --- /dev/null +++ b/www/py-django-openid-auth/pkg-descr @@ -0,0 +1,14 @@ +A library that can be used to add OpenID support to Django +applications. The library integrates with Django's builtin +authentication system, so most applications require minimal changes to +support OpenID login. + +The library also includes the following features: + * Basic user details are transfered from the OpenID server via the + Simple Registration extension. + * It can be configured to use a fixed OpenID server URL, for use in + single sign on deployments. + * It supports the Launchpad teams extension to request team + membership information. + +WWW: https://launchpad.net/django-openid-auth diff --git a/www/py-django-openid-auth/pkg-message b/www/py-django-openid-auth/pkg-message new file mode 100644 index 000000000000..50c33f5bdbf3 --- /dev/null +++ b/www/py-django-openid-auth/pkg-message @@ -0,0 +1,26 @@ +********************************************************************** + +To activate OpenID authentication within your Django installation, you +will need to: + + * add 'django_openid_auto' to INSTALLED_APPS, + + * add 'django_auth_openid.auth.OpenIDBackend' to + AUTHENTICATION_BACKENDS, + + * (optional) enable user creation when a new OpenID is used, + + * (optional) have user details updated from SREG or AE extention + data, + + * hook up the login URLs to your application's urlconf and + configure the LOGIN_URL and LOGIN_REDIRECT_URL, and + + * re-run "python manage.py syncdb" to add the UserOpenID table to + your database. + +For detailed instructions see the "README.txt" file that came with +this package; an example Django project with OpenID configured is also +included. + +********************************************************************** diff --git a/www/py-django-openid-auth/pkg-plist b/www/py-django-openid-auth/pkg-plist new file mode 100644 index 000000000000..a4a52d1a53d7 --- /dev/null +++ b/www/py-django-openid-auth/pkg-plist @@ -0,0 +1,67 @@ +%%PYTHON_SITELIBDIR%%/django_openid_auth/__init__.py +%%PYTHON_SITELIBDIR%%/django_openid_auth/__init__.pyc +%%PYTHON_SITELIBDIR%%/django_openid_auth/__init__.pyo +%%PYTHON_SITELIBDIR%%/django_openid_auth/admin.py +%%PYTHON_SITELIBDIR%%/django_openid_auth/admin.pyc +%%PYTHON_SITELIBDIR%%/django_openid_auth/admin.pyo +%%PYTHON_SITELIBDIR%%/django_openid_auth/auth.py +%%PYTHON_SITELIBDIR%%/django_openid_auth/auth.pyc +%%PYTHON_SITELIBDIR%%/django_openid_auth/auth.pyo +%%PYTHON_SITELIBDIR%%/django_openid_auth/exceptions.py +%%PYTHON_SITELIBDIR%%/django_openid_auth/exceptions.pyc +%%PYTHON_SITELIBDIR%%/django_openid_auth/exceptions.pyo +%%PYTHON_SITELIBDIR%%/django_openid_auth/forms.py +%%PYTHON_SITELIBDIR%%/django_openid_auth/forms.pyc +%%PYTHON_SITELIBDIR%%/django_openid_auth/forms.pyo +%%PYTHON_SITELIBDIR%%/django_openid_auth/management/__init__.py +%%PYTHON_SITELIBDIR%%/django_openid_auth/management/__init__.pyc +%%PYTHON_SITELIBDIR%%/django_openid_auth/management/__init__.pyo +%%PYTHON_SITELIBDIR%%/django_openid_auth/management/commands/__init__.py +%%PYTHON_SITELIBDIR%%/django_openid_auth/management/commands/__init__.pyc +%%PYTHON_SITELIBDIR%%/django_openid_auth/management/commands/__init__.pyo +%%PYTHON_SITELIBDIR%%/django_openid_auth/management/commands/openid_cleanup.py +%%PYTHON_SITELIBDIR%%/django_openid_auth/management/commands/openid_cleanup.pyc +%%PYTHON_SITELIBDIR%%/django_openid_auth/management/commands/openid_cleanup.pyo +%%PYTHON_SITELIBDIR%%/django_openid_auth/models.py +%%PYTHON_SITELIBDIR%%/django_openid_auth/models.pyc +%%PYTHON_SITELIBDIR%%/django_openid_auth/models.pyo +%%PYTHON_SITELIBDIR%%/django_openid_auth/signals.py +%%PYTHON_SITELIBDIR%%/django_openid_auth/signals.pyc +%%PYTHON_SITELIBDIR%%/django_openid_auth/signals.pyo +%%PYTHON_SITELIBDIR%%/django_openid_auth/store.py +%%PYTHON_SITELIBDIR%%/django_openid_auth/store.pyc +%%PYTHON_SITELIBDIR%%/django_openid_auth/store.pyo +%%PYTHON_SITELIBDIR%%/django_openid_auth/teams.py +%%PYTHON_SITELIBDIR%%/django_openid_auth/teams.pyc +%%PYTHON_SITELIBDIR%%/django_openid_auth/teams.pyo +%%PYTHON_SITELIBDIR%%/django_openid_auth/templates/openid/failure.html +%%PYTHON_SITELIBDIR%%/django_openid_auth/templates/openid/login.html +%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/__init__.py +%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/__init__.pyc +%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/__init__.pyo +%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/test_auth.py +%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/test_auth.pyc +%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/test_auth.pyo +%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/test_store.py +%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/test_store.pyc +%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/test_store.pyo +%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/test_views.py +%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/test_views.pyc +%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/test_views.pyo +%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/urls.py +%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/urls.pyc +%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/urls.pyo +%%PYTHON_SITELIBDIR%%/django_openid_auth/urls.py +%%PYTHON_SITELIBDIR%%/django_openid_auth/urls.pyc +%%PYTHON_SITELIBDIR%%/django_openid_auth/urls.pyo +%%PYTHON_SITELIBDIR%%/django_openid_auth/views.py +%%PYTHON_SITELIBDIR%%/django_openid_auth/views.pyc +%%PYTHON_SITELIBDIR%%/django_openid_auth/views.pyo +@dirrmtry %%PYTHON_SITELIBDIR%%/django_openid_auth/tests +@dirrmtry %%PYTHON_SITELIBDIR%%/django_openid_auth/management/commands +@dirrmtry %%PYTHON_SITELIBDIR%%/django_openid_auth/management +@dirrmtry %%PYTHON_SITELIBDIR%%/django_openid_auth/templates/openid +@dirrmtry %%PYTHON_SITELIBDIR%%/django_openid_auth/templates +@dirrmtry %%PYTHON_SITELIBDIR%%/django_openid_auth +@dirrmtry %%PYTHON_SITELIBDIR%% +@dirrmtry %%PYTHON_LIBDIR%% |