From owner-svn-ports-all@freebsd.org Thu Mar 31 20:17:29 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A3357AE4014; Thu, 31 Mar 2016 20:17:29 +0000 (UTC) (envelope-from tj@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7D5001FE3; Thu, 31 Mar 2016 20:17:29 +0000 (UTC) (envelope-from tj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u2VKHSYd031640; Thu, 31 Mar 2016 20:17:28 GMT (envelope-from tj@FreeBSD.org) Received: (from tj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u2VKHSYx031636; Thu, 31 Mar 2016 20:17:28 GMT (envelope-from tj@FreeBSD.org) Message-Id: <201603312017.u2VKHSYx031636@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tj set sender to tj@FreeBSD.org using -f From: Tom Judge Date: Thu, 31 Mar 2016 20:17:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r412299 - in head/www: . py-django-sudo X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Mar 2016 20:17:29 -0000 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 +# $FreeBSD$ + +PORTNAME= sudo +PORTVERSION= 1.2.0 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}django- +DISTNAME= django-${PORTNAME}-${PORTVERSION} + +MAINTAINER= tj@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 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