py-django2: updated to 2.2.16 Django 2.2.16 fixes two security issues and two data loss bugs in 2.2.15. CVE-2020-24583: Incorrect permissions on intermediate-level directories on Python 3.7+ On Python 3.7+, FILE_UPLOAD_DIRECTORY_PERMISSIONS mode was not applied to intermediate-level directories created in the process of uploading files and to intermediate-level collected static directories when using the collectstatic management command. You should review and manually fix permissions on existing intermediate-level directories. CVE-2020-24584: Permission escalation in intermediate-level directories of the file system cache on Python 3.7+ On Python 3.7+, the intermediate-level directories of the file system cache had the system窶冱 standard umask rather than 0o077 (no group or others permissions). Bugfixes Fixed a data loss possibility in the select_for_update(). When using related fields pointing to a proxy model in the of argument, the corresponding model was not locked. Fixed a data loss possibility, following a regression in Django 2.0, when copying model instances with a cached fields value. Django 2.2.15 fixes two bugs in 2.2.14. Bugfixes Allowed setting the SameSite cookie flag in HttpResponse.delete_cookie(). Fixed crash when sending emails to addresses with display names longer than 75 chars on Python 3.6.11+, 3.7.8+, and 3.8.4+.diff -r1.29 -r1.30 pkgsrc/www/py-django2/Makefile
(adam)
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.29 2020/07/08 15:11:23 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.30 2020/09/10 09:32:28 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= Django-2.2.14 | 3 | DISTNAME= Django-2.2.16 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} | |
5 | CATEGORIES= www python | 5 | CATEGORIES= www python | |
6 | MASTER_SITES= https://www.djangoproject.com/m/releases/${PKGVERSION_NOREV:R}/ | 6 | MASTER_SITES= https://www.djangoproject.com/m/releases/${PKGVERSION_NOREV:R}/ | |
7 | MASTER_SITES+= ${MASTER_SITE_PYPI:=D/Django/} | 7 | MASTER_SITES+= ${MASTER_SITE_PYPI:=D/Django/} | |
8 | 8 | |||
9 | MAINTAINER= joerg@NetBSD.org | 9 | MAINTAINER= joerg@NetBSD.org | |
10 | HOMEPAGE= https://www.djangoproject.com/ | 10 | HOMEPAGE= https://www.djangoproject.com/ | |
11 | COMMENT= Django, a high-level Python Web framework | 11 | COMMENT= Django, a high-level Python Web framework | |
12 | LICENSE= modified-bsd | 12 | LICENSE= modified-bsd | |
13 | 13 | |||
14 | DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz | 14 | DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz | |
15 | 15 | |||
16 | USE_LANGUAGES= # none | 16 | USE_LANGUAGES= # none |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.27 2020/07/08 15:11:23 adam Exp $ | 1 | $NetBSD: distinfo,v 1.28 2020/09/10 09:32:28 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (Django-2.2.14.tar.gz) = c8205f8572c0ef9f16aa3e0594e637b3b7954818 | 3 | SHA1 (Django-2.2.16.tar.gz) = db3c05849bd966b427c8af05aff2035811bf383f | |
4 | RMD160 (Django-2.2.14.tar.gz) = 71fd94d0db03a21b09d8f23d057adaab06780e33 | 4 | RMD160 (Django-2.2.16.tar.gz) = 5493e53569d93175a69d50a4c9386db664040827 | |
5 | SHA512 (Django-2.2.14.tar.gz) = 48ad065df161300920abe0c28c3f79cebe536de00fe60c8a7633caee149e0632aa564a848172bad0f254f2a98194cb625a5c169e51a89f3cab95c1213cfe485d | 5 | SHA512 (Django-2.2.16.tar.gz) = eabcdfc17e27c579001e4739268abd13bebbb018db1a7dbe4fb8482d32320b85bd16b3b18428084c0df947094f23f7cb4b12a3a55bc370748d7d8746af22bc3b | |
6 | Size (Django-2.2.14.tar.gz) = 9022051 bytes | 6 | Size (Django-2.2.16.tar.gz) = 8884774 bytes |