www/py-advocate: add new port

An SSRF-preventing wrapper around Python's requests library.
2024Q1
Dries Michiels 2023-11-18 11:59:20 +01:00
parent 741f1d5fc3
commit 493ad975e9
4 changed files with 26 additions and 0 deletions

View File

@ -1444,6 +1444,7 @@
SUBDIR += py-WebError
SUBDIR += py-WebFlash
SUBDIR += py-adblock
SUBDIR += py-advocate
SUBDIR += py-aioh2
SUBDIR += py-aiohttp
SUBDIR += py-aiohttp-jinja2

19
www/py-advocate/Makefile Normal file
View File

@ -0,0 +1,19 @@
PORTNAME= advocate
DISTVERSION= 1.0.0
CATEGORIES= www security
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= driesm@FreeBSD.org
COMMENT= Wrapper around requests library for safely making HTTP requests
WWW= https://github.com/JordanMilne/Advocate
LICENSE= APACHE20
USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
NO_BUILD= yes
.include <bsd.port.mk>

3
www/py-advocate/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1700304953
SHA256 (advocate-1.0.0.tar.gz) = 1bf1170e41334279996580329c594e017540ab0eaf7a152323e743f0a85a353d
SIZE (advocate-1.0.0.tar.gz) = 39981

View File

@ -0,0 +1,3 @@
Advocate is a set of tools based around the requests library for
safely making HTTP requests on behalf of a third party. Specifically,
it aims to prevent common techniques that enable SSRF attacks.