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
cleanup: Remove expired ports:
2022-06-30 www/py-django-common-helpers: No longer maintained, doesn't work with
newer versions of Django
2022-06-30 www/py-django: Was used as a metaport, no longer required
2022-06-30 www/py-django-sudo: Abandoned upstream, not compatible with newer
versions of Django
2022-06-30 www/py-django-bootstrap-form: No longer maintained, not compatible
with newer versions of Django
2022-06-30 www/py-django-babel: Upstream no longer maintained, please use
www/py-enmerkar instead
2022-06-30 www/py-django-bulk-update: No longer maintained, not compatible with
newer versions of Django
2022-06-30 www/py-django-happenings-update: Upstream no longer maintained, not
compatible with newer versions of Django
2022-06-30 www/py-django-compat: No longer maintained, doesn't work with newer
versions of Django
2022-06-30 www/py-django-modern-rpc: Not compatible with newer versions of
Django
www/py-django-sudo: Deprecate and set to expire
* The upstream project was abandoned and there's no compatibility for
newer versions of Django.
PR: 261313
Approved by: kai (python, maintainer)
www/py-django-sudo: Change RUN_DEPENDS
* Assign the port to Django 2.2 (current LTS release) because Django 1.11 is
End-of-Life since April.
* Bump PORTREVISION due changed dependencies.
PR: 245309
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above )
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