f80b08f89a
2.2.8: * CVE-2019-19118: Privilege escalation in the Django admin. * Fixed a data loss possibility in the admin changelist view when a custom formset’s prefix contains regular expression special characters, e.g. ‘$’. * Fixed a regression in Django 2.2.1 that caused a crash when migrating permissions for proxy models with a multiple database setup if the default entry was empty. * Fixed a data loss possibility in the select_for_update(). When using 'self' in the of argument with multi-table inheritance, a parent model was locked instead of the queryset’s model
30 lines
911 B
Makefile
30 lines
911 B
Makefile
# $NetBSD: Makefile,v 1.23 2019/12/02 11:46:56 adam Exp $
|
|
|
|
DISTNAME= Django-2.2.8
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
|
|
CATEGORIES= www python
|
|
MASTER_SITES= https://www.djangoproject.com/m/releases/${PKGVERSION_NOREV:R}/
|
|
MASTER_SITES+= ${MASTER_SITE_PYPI:=D/Django/}
|
|
|
|
MAINTAINER= joerg@NetBSD.org
|
|
HOMEPAGE= https://www.djangoproject.com/
|
|
COMMENT= Django, a high-level Python Web framework
|
|
LICENSE= modified-bsd
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
|
|
REPLACE_PYTHON+= django/bin/django-admin.py
|
|
REPLACE_PYTHON+= django/conf/project_template/manage.py-tpl
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} django-admin django-admin-${PYVERSSUFFIX} && \
|
|
${MV} django-admin.py django-admin-${PYVERSSUFFIX}.py || ${TRUE}
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|