1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-04 11:23:46 +00:00

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>
This commit is contained in:
Martin Wilke 2012-04-11 03:38:17 +00:00
parent b3630c6d8f
commit 6fa7546cc0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=294593
6 changed files with 155 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -0,0 +1,2 @@
SHA256 (django-openid-auth_0.4.tar.gz) = 923c2a9652f23bee367a6578f39d0881eaeb7aca2ec8f810f523b16e38679d05
SIZE (django-openid-auth_0.4.tar.gz) = 77703

View File

@ -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

View File

@ -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.
**********************************************************************

View File

@ -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%%