ports/169247: New port security/py-django-openid-auth

Matthew X. Economou xenophon+fbsdports at irtnog.org
Tue Jun 19 22:20:13 UTC 2012


>Number:         169247
>Category:       ports
>Synopsis:       New port security/py-django-openid-auth
>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:   Tue Jun 19 22:20:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Matthew X. Economou
>Release:        9.0
>Organization:
IRTNOG
>Environment:
FreeBSD cinep001bsdgw.irtnog.net 9.0-RELEASE-p1 FreeBSD 9.0-RELEASE-p1 #8: Fri May 11 17:08:28 EDT 2012     root at cinep001bsdgw.irtnog.net:/usr/obj/usr/src/sys/FIREWALL  amd64
>Description:
Attached is a new Python/Django package named django-openid-auth.
>From the web site:

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 transferred 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.

Regarding the portlint errors - I couldn't find another distribution site for it, and the hyphens in the name seem unavoidable.  Please let me know if there's a better way to repackage this.

>How-To-Repeat:
N/A
>Fix:
N/A

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-django-openid-auth
#	py-django-openid-auth/Makefile
#	py-django-openid-auth/distinfo
#	py-django-openid-auth/pkg-descr
#	py-django-openid-auth/pkg-plist
#	py-django-openid-auth/pkg-message
#
echo c - py-django-openid-auth
mkdir -p py-django-openid-auth > /dev/null 2>&1
echo x - py-django-openid-auth/Makefile
sed 's/^X//' >py-django-openid-auth/Makefile << '30c87a93d13f40db011b74a35aa4c6ae'
X# New ports collection makefile for:	py-django-openid-auth
X# Date created:				31 Jan 2012
X# Whom:					Matthew X. Economou <xenophon+fbsdports at irtnog.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	django-openid-auth
XPORTVERSION=	0.4
XCATEGORIES=	security python
XMASTER_SITES=	http://launchpadlibrarian.net/80020365/
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
XDISTNAME=	${PORTNAME}_${PORTVERSION}
X
XMAINTAINER=	xenophon+fbsdports at irtnog.org
XCOMMENT=	OpenID integration for django.contrib.auth
X
XLICENSE=	BSD
X
XRUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django>=1.3.1:${PORTSDIR}/www/py-django \
X		${PYTHON_PKGNAMEPREFIX}openid>=2.2.5:${PORTSDIR}/security/py-openid
X
XUSE_PYTHON=	yes
XUSE_PYDISTUTILS=	yes
X
XNO_WRKSUBDIR=	yes
X
XPORTDOCS=	*.txt *.html
XPORTEXAMPLES=	example_consumer
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_MAN} ${WRKSRC}/README.txt	${DOCSDIR}
X	${INSTALL_MAN} ${WRKSRC}/TODO.txt	${DOCSDIR}
X	${INSTALL_MAN} ${WRKSRC}/openid.html	${DOCSDIR}
X	${INSTALL_MAN} ${WRKSRC}/openid.txt	${DOCSDIR}
X.endif
X.if !defined(NOPORTEXAMPLES)
X	${MKDIR} ${EXAMPLESDIR}/example_consumer
X	${INSTALL_MAN} ${WRKSRC}/example_consumer/* ${EXAMPLESDIR}/example_consumer
X.endif
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
30c87a93d13f40db011b74a35aa4c6ae
echo x - py-django-openid-auth/distinfo
sed 's/^X//' >py-django-openid-auth/distinfo << '6354b4e8dc8d29f90f8dcaf0a6ccd892'
XSHA256 (django-openid-auth_0.4.tar.gz) = 923c2a9652f23bee367a6578f39d0881eaeb7aca2ec8f810f523b16e38679d05
XSIZE (django-openid-auth_0.4.tar.gz) = 77703
6354b4e8dc8d29f90f8dcaf0a6ccd892
echo x - py-django-openid-auth/pkg-descr
sed 's/^X//' >py-django-openid-auth/pkg-descr << '98aa1b80df7e1218a95fa537db235712'
XA library that can be used to add OpenID support to Django
Xapplications.  The library integrates with Django's builtin
Xauthentication system, so most applications require minimal changes to
Xsupport OpenID login.
X
XThe library also includes the following features:
X * Basic user details are transferred from the OpenID server via the
X   Simple Registration extension.
X * It can be configured to use a fixed OpenID server URL, for use in
X   single sign on deployments.
X * It supports the Launchpad teams extension to request team
X   membership information.
X
XWWW: https://launchpad.net/django-openid-auth
98aa1b80df7e1218a95fa537db235712
echo x - py-django-openid-auth/pkg-plist
sed 's/^X//' >py-django-openid-auth/pkg-plist << 'a0c79b6c29b4d00d01b9dcebd40fbd1f'
X%%PYTHON_SITELIBDIR%%/django_openid_auth/__init__.py
X%%PYTHON_SITELIBDIR%%/django_openid_auth/__init__.pyc
X%%PYTHON_SITELIBDIR%%/django_openid_auth/__init__.pyo
X%%PYTHON_SITELIBDIR%%/django_openid_auth/admin.py
X%%PYTHON_SITELIBDIR%%/django_openid_auth/admin.pyc
X%%PYTHON_SITELIBDIR%%/django_openid_auth/admin.pyo
X%%PYTHON_SITELIBDIR%%/django_openid_auth/auth.py
X%%PYTHON_SITELIBDIR%%/django_openid_auth/auth.pyc
X%%PYTHON_SITELIBDIR%%/django_openid_auth/auth.pyo
X%%PYTHON_SITELIBDIR%%/django_openid_auth/exceptions.py
X%%PYTHON_SITELIBDIR%%/django_openid_auth/exceptions.pyc
X%%PYTHON_SITELIBDIR%%/django_openid_auth/exceptions.pyo
X%%PYTHON_SITELIBDIR%%/django_openid_auth/forms.py
X%%PYTHON_SITELIBDIR%%/django_openid_auth/forms.pyc
X%%PYTHON_SITELIBDIR%%/django_openid_auth/forms.pyo
X%%PYTHON_SITELIBDIR%%/django_openid_auth/management/__init__.py
X%%PYTHON_SITELIBDIR%%/django_openid_auth/management/__init__.pyc
X%%PYTHON_SITELIBDIR%%/django_openid_auth/management/__init__.pyo
X%%PYTHON_SITELIBDIR%%/django_openid_auth/management/commands/__init__.py
X%%PYTHON_SITELIBDIR%%/django_openid_auth/management/commands/__init__.pyc
X%%PYTHON_SITELIBDIR%%/django_openid_auth/management/commands/__init__.pyo
X%%PYTHON_SITELIBDIR%%/django_openid_auth/management/commands/openid_cleanup.py
X%%PYTHON_SITELIBDIR%%/django_openid_auth/management/commands/openid_cleanup.pyc
X%%PYTHON_SITELIBDIR%%/django_openid_auth/management/commands/openid_cleanup.pyo
X%%PYTHON_SITELIBDIR%%/django_openid_auth/models.py
X%%PYTHON_SITELIBDIR%%/django_openid_auth/models.pyc
X%%PYTHON_SITELIBDIR%%/django_openid_auth/models.pyo
X%%PYTHON_SITELIBDIR%%/django_openid_auth/signals.py
X%%PYTHON_SITELIBDIR%%/django_openid_auth/signals.pyc
X%%PYTHON_SITELIBDIR%%/django_openid_auth/signals.pyo
X%%PYTHON_SITELIBDIR%%/django_openid_auth/store.py
X%%PYTHON_SITELIBDIR%%/django_openid_auth/store.pyc
X%%PYTHON_SITELIBDIR%%/django_openid_auth/store.pyo
X%%PYTHON_SITELIBDIR%%/django_openid_auth/teams.py
X%%PYTHON_SITELIBDIR%%/django_openid_auth/teams.pyc
X%%PYTHON_SITELIBDIR%%/django_openid_auth/teams.pyo
X%%PYTHON_SITELIBDIR%%/django_openid_auth/templates/openid/failure.html
X%%PYTHON_SITELIBDIR%%/django_openid_auth/templates/openid/login.html
X%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/__init__.py
X%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/__init__.pyc
X%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/__init__.pyo
X%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/test_auth.py
X%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/test_auth.pyc
X%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/test_auth.pyo
X%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/test_store.py
X%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/test_store.pyc
X%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/test_store.pyo
X%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/test_views.py
X%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/test_views.pyc
X%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/test_views.pyo
X%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/urls.py
X%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/urls.pyc
X%%PYTHON_SITELIBDIR%%/django_openid_auth/tests/urls.pyo
X%%PYTHON_SITELIBDIR%%/django_openid_auth/urls.py
X%%PYTHON_SITELIBDIR%%/django_openid_auth/urls.pyc
X%%PYTHON_SITELIBDIR%%/django_openid_auth/urls.pyo
X%%PYTHON_SITELIBDIR%%/django_openid_auth/views.py
X%%PYTHON_SITELIBDIR%%/django_openid_auth/views.pyc
X%%PYTHON_SITELIBDIR%%/django_openid_auth/views.pyo
X at dirrmtry %%PYTHON_SITELIBDIR%%/django_openid_auth/tests
X at dirrmtry %%PYTHON_SITELIBDIR%%/django_openid_auth/management/commands
X at dirrmtry %%PYTHON_SITELIBDIR%%/django_openid_auth/management
X at dirrmtry %%PYTHON_SITELIBDIR%%/django_openid_auth/templates/openid
X at dirrmtry %%PYTHON_SITELIBDIR%%/django_openid_auth/templates
X at dirrmtry %%PYTHON_SITELIBDIR%%/django_openid_auth
X at dirrmtry %%PYTHON_SITELIBDIR%%
X at dirrmtry %%PYTHON_LIBDIR%%
a0c79b6c29b4d00d01b9dcebd40fbd1f
echo x - py-django-openid-auth/pkg-message
sed 's/^X//' >py-django-openid-auth/pkg-message << 'fbad694d255208db17b0bfccbc79bac0'
X**********************************************************************
X
XTo activate OpenID authentication within your Django installation, you
Xwill need to:
X
X    * add 'django_openid_auto' to INSTALLED_APPS,
X
X    * add 'django_auth_openid.auth.OpenIDBackend' to
X      AUTHENTICATION_BACKENDS,
X
X    * (optional) enable user creation when a new OpenID is used,
X
X    * (optional) have user details updated from SREG or AE extention
X      data,
X
X    * hook up the login URLs to your application's urlconf and
X      configure the LOGIN_URL and LOGIN_REDIRECT_URL, and
X
X    * re-run "python manage.py syncdb" to add the UserOpenID table to
X      your database.
X
XFor detailed instructions see the "README.txt" file that came with
Xthis package; an example Django project with OpenID configured is also
Xincluded.
X
X**********************************************************************
fbad694d255208db17b0bfccbc79bac0
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list