aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2022-09-29 03:57:41 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2022-09-29 03:57:41 +0000
commitbafd04a8f74b8058e889aad6b88258d844e76d4d (patch)
tree8af7649a034e97d5bf459e2c67930112acdb09bd
parent76c36620bd8fe1ea251252bddf6b7fd3755e0c35 (diff)
downloadports-bafd04a8f74b8058e889aad6b88258d844e76d4d.tar.gz
ports-bafd04a8f74b8058e889aad6b88258d844e76d4d.zip
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.
-rw-r--r--security/Makefile1
-rw-r--r--security/py-secure/Makefile19
-rw-r--r--security/py-secure/distinfo3
-rw-r--r--security/py-secure/pkg-descr2
4 files changed, 25 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 6570949932aa..5770350685b9 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -975,6 +975,7 @@
SUBDIR += py-scp
SUBDIR += py-scramp
SUBDIR += py-scrypt
+ SUBDIR += py-secure
SUBDIR += py-securesystemslib
SUBDIR += py-sequoia
SUBDIR += py-service_identity
diff --git a/security/py-secure/Makefile b/security/py-secure/Makefile
new file mode 100644
index 000000000000..f0e3be9b788d
--- /dev/null
+++ b/security/py-secure/Makefile
@@ -0,0 +1,19 @@
+PORTNAME= secure
+PORTVERSION= 0.3.0
+CATEGORIES= security python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= acm@FreeBSD.org
+COMMENT= Adds security headers for python web frameworks
+WWW= https://github.com/cak/secure
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= python:3.7+
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/security/py-secure/distinfo b/security/py-secure/distinfo
new file mode 100644
index 000000000000..f4232fe4839f
--- /dev/null
+++ b/security/py-secure/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1647988144
+SHA256 (secure-0.3.0.tar.gz) = 6e30939d8f95bf3b8effb8a36ebb5ed57f265daeeae905e3aa9677ea538ab64e
+SIZE (secure-0.3.0.tar.gz) = 12620
diff --git a/security/py-secure/pkg-descr b/security/py-secure/pkg-descr
new file mode 100644
index 000000000000..df8000659b30
--- /dev/null
+++ b/security/py-secure/pkg-descr
@@ -0,0 +1,2 @@
+secure.py lock is a lightweight package that adds optional security headers for
+Python web frameworks.