svn commit: r412299 - in head/www: . py-django-sudo
Tom Judge
tj at FreeBSD.org
Thu Mar 31 20:17:29 UTC 2016
Author: tj
Date: Thu Mar 31 20:17:28 2016
New Revision: 412299
URL: https://svnweb.freebsd.org/changeset/ports/412299
Log:
New port www/py-django-sudo 1.2.0
django-sudo provides an extra layer of security for after a user is already
logged in. Views can be decorated with @sudo_required, and then a user must
re-enter their password to view that page. After verifying their password, that
user has elevated permissions for the duration of SUDO_COOKIE_AGE. This
duration is independent of the normal session duration allowing short elevated
permission durations, but retain long user sessions.
WWW: https://github.com/mattrobenolt/django-sudo
Added:
head/www/py-django-sudo/
head/www/py-django-sudo/Makefile (contents, props changed)
head/www/py-django-sudo/distinfo (contents, props changed)
head/www/py-django-sudo/pkg-descr (contents, props changed)
Modified:
head/www/Makefile
Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile Thu Mar 31 20:14:35 2016 (r412298)
+++ head/www/Makefile Thu Mar 31 20:17:28 2016 (r412299)
@@ -1581,6 +1581,7 @@
SUBDIR += py-django-statici18n
SUBDIR += py-django-storages
SUBDIR += py-django-subdomains
+ SUBDIR += py-django-sudo
SUBDIR += py-django-tables2
SUBDIR += py-django-tagging
SUBDIR += py-django-taggit
Added: head/www/py-django-sudo/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/py-django-sudo/Makefile Thu Mar 31 20:17:28 2016 (r412299)
@@ -0,0 +1,20 @@
+# Created by: Tom Judge <tj at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= sudo
+PORTVERSION= 1.2.0
+CATEGORIES= www python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}django-
+DISTNAME= django-${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= tj at FreeBSD.org
+COMMENT= Sudo mode is an extra layer of security for Django
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django18>=0:${PORTSDIR}/www/py-django18
+
+USES= python
+USE_PYTHON= distutils autoplist
+NO_ARCH= yes
+
+.include <bsd.port.mk>
Added: head/www/py-django-sudo/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/py-django-sudo/distinfo Thu Mar 31 20:17:28 2016 (r412299)
@@ -0,0 +1,2 @@
+SHA256 (django-sudo-1.2.0.tar.gz) = 7e5e0bd896bd864ccbe57849338afc488e66ead565eda9a2a26dde80b5e4dfdb
+SIZE (django-sudo-1.2.0.tar.gz) = 7357
Added: head/www/py-django-sudo/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/py-django-sudo/pkg-descr Thu Mar 31 20:17:28 2016 (r412299)
@@ -0,0 +1,8 @@
+django-sudo provides an extra layer of security for after a user is already
+logged in. Views can be decorated with @sudo_required, and then a user must
+re-enter their password to view that page. After verifying their password, that
+user has elevated permissions for the duration of SUDO_COOKIE_AGE. This
+duration is independent of the normal session duration allowing short elevated
+permission durations, but retain long user sessions.
+
+WWW: https://github.com/mattrobenolt/django-sudo
More information about the svn-ports-head
mailing list