notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
py-secure Adds security headers for python web frameworks
0.3.0 security on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.3.0Version of this port present on the latest quarterly branch.
Maintainer: acm@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2022-09-29 04:00:08
Last Update: 2023-06-27 19:34:34
Commit Hash: 3d9a815
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
Also Listed In: python
License: MIT
WWW:
https://github.com/cak/secure
Description:
secure.py lock is a lightweight package that adds optional security headers for Python web frameworks.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

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}secure>0:security/py-secure@${PY_FLAVOR}
To install the port:
cd /usr/ports/security/py-secure/ && make install clean
To add the package, run one of these commands:
  • pkg install security/py-secure
  • pkg install py39-secure
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-secure listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py39-secure
Package flavors (<flavor>: <package>)
  • py39: py39-secure
distinfo:
TIMESTAMP = 1647988144 SHA256 (secure-0.3.0.tar.gz) = 6e30939d8f95bf3b8effb8a36ebb5ed57f265daeeae905e3aa9677ea538ab64e SIZE (secure-0.3.0.tar.gz) = 12620

Packages (timestamps in pop-ups are UTC):
py39-secure
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--0.3.0--0.3.00.3.00.3.0
FreeBSD:14:latest--0.3.0--0.3.0-0.3.0
FreeBSD:14:quarterly-----0.3.00.3.00.3.0
FreeBSD:15:latest--n/a-n/a0.3.00.3.00.3.0
 

py311-secure
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.3.00.3.0-0.3.00.3.0---
FreeBSD:13:quarterly0.3.00.3.0-0.3.00.3.0---
FreeBSD:14:latest0.3.00.3.0-0.3.00.3.0---
FreeBSD:14:quarterly0.3.00.3.0-0.3.00.3.0---
FreeBSD:15:latest0.3.00.3.0n/a0.3.0n/a---
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  2. python3.9 : lang/python39
Test dependencies:
  1. python3.9 : lang/python39
Runtime dependencies:
  1. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  2. python3.9 : lang/python39
This port is required by:
for Run
  1. www/py-aiohttp-session

Configuration Options:
No options to configure
Options name:
security_py-secure
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/s/secure/
  2. https://pypi.org/packages/source/s/secure/
Collapse this list.

Number of commits found: 3

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.3.0
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
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>
0.3.0
11 Jan 2023 15:58:34
commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
0.3.0
29 Sep 2022 03:57:41
commit hash: bafd04a8f74b8058e889aad6b88258d844e76d4dcommit hash: bafd04a8f74b8058e889aad6b88258d844e76d4dcommit hash: bafd04a8f74b8058e889aad6b88258d844e76d4dcommit hash: bafd04a8f74b8058e889aad6b88258d844e76d4d files touched by this commit
Jose Alonso Cardenas Marquez (acm) search for other commits by this committer
security/py-secure: New port: Adds security headers for python web frameworks

secure.py lock is a lightweight package that adds optional security headers for
Python web frameworks.

Number of commits found: 3