Port details |
- py-django-csp Adds Content-Security-Policy headers to Django
- 3.8 www =0 3.8Version of this port present on the latest quarterly branch.
- Maintainer: kai@FreeBSD.org
- Port Added: 2020-06-10 11:50:11
- Last Update: 2024-03-09 14:20:53
- Commit Hash: 6579571
- Also Listed In: python
- License: BSD3CLAUSE
- WWW:
- https://github.com/mozilla/django-csp
- Description:
- Django-CSP adds Content-Security-Policy headers to Django.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}django-csp>0:www/py-django-csp@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/www/py-django-csp/ && make install clean
- To add the package, run one of these commands:
- pkg install www/py-django-csp
- pkg install py39-django-csp
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-django-csp listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-django-csp
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1709978451
SHA256 (django_csp-3.8.tar.gz) = ef0f1a9f7d8da68ae6e169c02e9ac661c0ecf04db70e0d1d85640512a68471c0
SIZE (django_csp-3.8.tar.gz) = 13341
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>0 : devel/py-setuptools@py39
- py39-wheel>0 : devel/py-wheel@py39
- python3.9 : lang/python39
- py39-build>=0 : devel/py-build@py39
- py39-installer>=0 : devel/py-installer@py39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-django32>=3.2 : www/py-django32@py39
- py39-Jinja2>=2.9.6 : devel/py-Jinja2@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- www/py-django-dpaste
Configuration Options:
- ===> The following configuration options are available for py39-django-csp-3.8:
JINJA2=on: Support for Django templates via Jinja2
===> Use 'make config' to modify these settings
- Options name:
- www_py-django-csp
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
3.8 09 Mar 2024 14:20:53 |
Kai Knoblich (kai) |
www/py-django-csp: Update to 3.8
* Switch to the PEP517 build framework.
Changelog:
https://github.com/mozilla/django-csp/blob/3.8/CHANGES |
3.7_1 27 Jun 2023 19:34:34 |
Rene Ladan (rene) |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
3.7_1 11 Jan 2023 15:58:34 |
Dmitry Marakasov (amdmi3) |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
3.7_1 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
3.7_1 28 Apr 2022 10:02:15 |
Kai Knoblich (kai) |
www/py-django32: Switch consumers over to Django 3.2
Django 2.2 became End-of-Life on 11th April 2022 and Django 3.2 is the
new LTS (= Long Term Support) release which will be supported until
April 2024.
* Switch the most ports that use www/py-django22 to www/py-django32
* Switch www/seahub over to www/py-djangorestframework
* Ports that are not yet ready for Django 3.2 (only three so far) or
those that have already been set with an expiration date were not
taken into account.
* Bump PORTREVISION due dependency change where necessary.
PR: 261313
Reviewed by: bofh, dvl, koobs, ultima
Approved by: bofh, dvl, koobs, ultima, sunpoet, Kevin Golding, Ivan Rozhuk,
Alexander Sieg (maintainers)
maintainer timeout (remaining maintainers)
Differential Revision: https://reviews.freebsd.org/D34859 |
3.7 27 Feb 2022 11:08:30 |
Kai Knoblich (kai) |
www/py-django-csp: Update to 3.7
* Take maintainership.
Changelog:
https://github.com/mozilla/django-csp/compare/3.5...3.7
PR: 261963
Approved by: Alexander Sieg (maintainer) |
3.5 07 Apr 2021 08:09:01 |
Mathieu Arnold (mat) |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
3.5 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
3.5 10 Jun 2020 11:50:05 |
kai |
www/py-dj22-django_csp: Rename port to www/py-django-csp
* The port was added with the "dj22-" prefix to use Django 2.2 explicitly.
In the meantime most Django ports have been switched from Django 1.11
(End-of-Life) to Django 2.2 (current LTS release). Thus rename the port
to be consistent with the names of the other Django ports and use this
opportunity to match the package name at PyPI as well.
* Bump PORTREVISION of www/py-django-dpaste due changed dependencies.
PR: 247031
Approved by: Alexander Sieg (maintainer) |