pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/py-django
Module Name: pkgsrc
Committed By: adam
Date: Fri Sep 6 07:08:44 UTC 2024
Modified Files:
pkgsrc/www/py-django: Makefile PLIST distinfo
Log Message:
py-django: updated to 5.1.1
Django 5.1.1 fixes one security issue with severity “moderate”, one security issue with severity “low”, and several bugs in 5.1.
CVE-2024-45230: Potential denial-of-service vulnerability in django.utils.html.urlize()
urlize and urlizetrunc were subject to a potential denial-of-service attack via very large inputs with a specific sequence of characters.
CVE-2024-45231: Potential user email enumeration via response status on password reset
Due to unhandled email sending failures, the PasswordResetForm class allowed remote attackers to enumerate user emails by issuing password reset requests and observing the outcomes.
To mitigate this risk, exceptions occurring during password reset email sending are now handled and logged using the django.contrib.auth logger.
Bugfixes
Fixed a regression in Django 5.1 that caused a crash of Window() when passing an empty sequence to the order_by parameter, and a crash of Prefetch() for a sliced queryset without ordering.
Fixed a regression in Django 5.1 where a new usable_password field was included in BaseUserCreationForm (and children). A new AdminUserCreationForm including this field was added, isolating the
feature to the admin where it was intended.
Adjusted the deprecation warning stacklevel in Model.save() and Model.asave() to correctly point to the offending call site.
Adjusted the deprecation warning stacklevel when using OS_OPEN_FLAGS in FileSystemStorage to correctly point to the offending call site.
Adjusted the deprecation warning stacklevel in FieldCacheMixin.get_cache_name() to correctly point to the offending call site.
Restored, following a regression in Django 5.1, the ability to override the timezone and role setting behavior used within the init_connection_state method of the PostgreSQL backend.
Fixed a bug in Django 5.1 where variable lookup errors were logged when rendering admin fieldsets.
To generate a diff of this commit:
cvs rdiff -u -r1.131 -r1.132 pkgsrc/www/py-django/Makefile
cvs rdiff -u -r1.49 -r1.50 pkgsrc/www/py-django/PLIST
cvs rdiff -u -r1.107 -r1.108 pkgsrc/www/py-django/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/py-django/Makefile
diff -u pkgsrc/www/py-django/Makefile:1.131 pkgsrc/www/py-django/Makefile:1.132
--- pkgsrc/www/py-django/Makefile:1.131 Tue Aug 6 20:14:10 2024
+++ pkgsrc/www/py-django/Makefile Fri Sep 6 07:08:44 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.131 2024/08/06 20:14:10 adam Exp $
+# $NetBSD: Makefile,v 1.132 2024/09/06 07:08:44 adam Exp $
-DISTNAME= Django-5.0.8
+DISTNAME= Django-5.1.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
CATEGORIES= www python
MASTER_SITES= https://www.djangoproject.com/m/releases/${PKGVERSION_NOREV:R}/
@@ -13,12 +13,12 @@ LICENSE= modified-bsd
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=40.8.0:../../devel/py-setuptools
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
-DEPENDS+= ${PYPKGPREFIX}-asgiref>=3.7.0:../../www/py-asgiref
+DEPENDS+= ${PYPKGPREFIX}-asgiref>=3.8.1:../../www/py-asgiref
DEPENDS+= ${PYPKGPREFIX}-sqlparse>=0.3.1:../../databases/py-sqlparse
USE_LANGUAGES= # none
-PYTHON_VERSIONS_INCOMPATIBLE= 27 38 39
+PYTHON_VERSIONS_INCOMPATIBLE= 38 39
REPLACE_PYTHON+= django/conf/project_template/manage.py-tpl
Index: pkgsrc/www/py-django/PLIST
diff -u pkgsrc/www/py-django/PLIST:1.49 pkgsrc/www/py-django/PLIST:1.50
--- pkgsrc/www/py-django/PLIST:1.49 Thu Feb 8 22:43:53 2024
+++ pkgsrc/www/py-django/PLIST Fri Sep 6 07:08:44 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.49 2024/02/08 22:43:53 adam Exp $
+@comment $NetBSD: PLIST,v 1.50 2024/09/06 07:08:44 adam Exp $
bin/django-admin-${PYVERSSUFFIX}
${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
@@ -175,6 +175,12 @@ ${PYSITELIB}/django/conf/locale/en_AU/__
${PYSITELIB}/django/conf/locale/en_AU/formats.py
${PYSITELIB}/django/conf/locale/en_AU/formats.pyc
${PYSITELIB}/django/conf/locale/en_AU/formats.pyo
+${PYSITELIB}/django/conf/locale/en_CA/__init__.py
+${PYSITELIB}/django/conf/locale/en_CA/__init__.pyc
+${PYSITELIB}/django/conf/locale/en_CA/__init__.pyo
+${PYSITELIB}/django/conf/locale/en_CA/formats.py
+${PYSITELIB}/django/conf/locale/en_CA/formats.pyc
+${PYSITELIB}/django/conf/locale/en_CA/formats.pyo
${PYSITELIB}/django/conf/locale/en_GB/LC_MESSAGES/django.mo
${PYSITELIB}/django/conf/locale/en_GB/LC_MESSAGES/django.po
${PYSITELIB}/django/conf/locale/en_GB/__init__.py
@@ -1198,6 +1204,7 @@ ${PYSITELIB}/django/contrib/admin/static
${PYSITELIB}/django/contrib/admin/static/admin/css/responsive.css
${PYSITELIB}/django/contrib/admin/static/admin/css/responsive_rtl.css
${PYSITELIB}/django/contrib/admin/static/admin/css/rtl.css
+${PYSITELIB}/django/contrib/admin/static/admin/css/unusable_password_field.css
${PYSITELIB}/django/contrib/admin/static/admin/css/vendor/select2/LICENSE-SELECT2.md
${PYSITELIB}/django/contrib/admin/static/admin/css/vendor/select2/select2.css
${PYSITELIB}/django/contrib/admin/static/admin/css/vendor/select2/select2.min.css
@@ -1234,7 +1241,6 @@ ${PYSITELIB}/django/contrib/admin/static
${PYSITELIB}/django/contrib/admin/static/admin/js/calendar.js
${PYSITELIB}/django/contrib/admin/static/admin/js/cancel.js
${PYSITELIB}/django/contrib/admin/static/admin/js/change_form.js
-${PYSITELIB}/django/contrib/admin/static/admin/js/collapse.js
${PYSITELIB}/django/contrib/admin/static/admin/js/core.js
${PYSITELIB}/django/contrib/admin/static/admin/js/filters.js
${PYSITELIB}/django/contrib/admin/static/admin/js/inlines.js
@@ -1244,6 +1250,7 @@ ${PYSITELIB}/django/contrib/admin/static
${PYSITELIB}/django/contrib/admin/static/admin/js/prepopulate.js
${PYSITELIB}/django/contrib/admin/static/admin/js/prepopulate_init.js
${PYSITELIB}/django/contrib/admin/static/admin/js/theme.js
+${PYSITELIB}/django/contrib/admin/static/admin/js/unusable_password_field.js
${PYSITELIB}/django/contrib/admin/static/admin/js/urlify.js
${PYSITELIB}/django/contrib/admin/static/admin/js/vendor/jquery/LICENSE.txt
${PYSITELIB}/django/contrib/admin/static/admin/js/vendor/jquery/jquery.js
@@ -2640,15 +2647,9 @@ ${PYSITELIB}/django/contrib/gis/gdal/ras
${PYSITELIB}/django/contrib/gis/gdal/srs.py
${PYSITELIB}/django/contrib/gis/gdal/srs.pyc
${PYSITELIB}/django/contrib/gis/gdal/srs.pyo
-${PYSITELIB}/django/contrib/gis/geoip2/__init__.py
-${PYSITELIB}/django/contrib/gis/geoip2/__init__.pyc
-${PYSITELIB}/django/contrib/gis/geoip2/__init__.pyo
-${PYSITELIB}/django/contrib/gis/geoip2/base.py
-${PYSITELIB}/django/contrib/gis/geoip2/base.pyc
-${PYSITELIB}/django/contrib/gis/geoip2/base.pyo
-${PYSITELIB}/django/contrib/gis/geoip2/resources.py
-${PYSITELIB}/django/contrib/gis/geoip2/resources.pyc
-${PYSITELIB}/django/contrib/gis/geoip2/resources.pyo
+${PYSITELIB}/django/contrib/gis/geoip2.py
+${PYSITELIB}/django/contrib/gis/geoip2.pyc
+${PYSITELIB}/django/contrib/gis/geoip2.pyo
${PYSITELIB}/django/contrib/gis/geometry.py
${PYSITELIB}/django/contrib/gis/geometry.pyc
${PYSITELIB}/django/contrib/gis/geometry.pyo
Index: pkgsrc/www/py-django/distinfo
diff -u pkgsrc/www/py-django/distinfo:1.107 pkgsrc/www/py-django/distinfo:1.108
--- pkgsrc/www/py-django/distinfo:1.107 Tue Aug 6 20:14:10 2024
+++ pkgsrc/www/py-django/distinfo Fri Sep 6 07:08:44 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.107 2024/08/06 20:14:10 adam Exp $
+$NetBSD: distinfo,v 1.108 2024/09/06 07:08:44 adam Exp $
-BLAKE2s (Django-5.0.8.tar.gz) = 9db67be171c6c3f7bf2ecfec9fdd411041a8bf340edfc8ba94f04b331b09ad0b
-SHA512 (Django-5.0.8.tar.gz) = b835d01f76f0e0082f299c2b15483aa3a8aef79f873b09dac546d3b4ecfa8a6fb84d9377e06e18a858bd24bcdd2db89c4cf05811b3af133b7da6609f6c2d917c
-Size (Django-5.0.8.tar.gz) = 10630791 bytes
+BLAKE2s (Django-5.1.1.tar.gz) = e9aa0077bcd8c707795d61ad6853f533fc4b992f5bfe83fa2ed7df2b7916b360
+SHA512 (Django-5.1.1.tar.gz) = c5c75f0b36ef4316c4b7306ec4f8cb612ec554c79f1ac2346b56485ca025b1ca7c048a294568b71f989f2f19cb2c3849f01e5fe62dad00b6591989f274ec8c5b
+Size (Django-5.1.1.tar.gz) = 10675933 bytes
Home |
Main Index |
Thread Index |
Old Index