From nobody Sat Nov 18 11:04:14 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SXW9p2HKyz50x6W; Sat, 18 Nov 2023 11:04:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SXW9p1ddNz4MxN; Sat, 18 Nov 2023 11:04:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700305454; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ga7m1OrUxipsp8mw895vrSmZNFyHsHCgGZ19Y1RQFTw=; b=ktIH+bA12l8C+kXojZLur5M0uzIBZd+gOhseUuJ8oj1BB8bfJNtUaOZzMlzJ7Q2C/dK+NU 7H5f/uETuvkTcrYKCoPijyWztditWNRXf9xijUTjk1u/Tlq9K09nsnSF0AK4/ystwg8nTH NQa2/LThK8sylrgkN6Qu9DfO1Q5Vq6qv00bVSOwCQjo4wJD+6mLSKAiMcYK5QIeMrzKHOx nmDuMRKXvQT/OmD4wNWyw4AoCRgCvUyrYeeos+GWf60Mex+JJ763PYwgWM9ks1clC9ZrbS I4vHue5RJljbWZc4NhiKpgp237Gd0Znqw1Yoe3kk5Psn3qK76rEcZWejTkqSQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700305454; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ga7m1OrUxipsp8mw895vrSmZNFyHsHCgGZ19Y1RQFTw=; b=INmhp1R7Y4KrBWjMME88jwfdtia/+uY8N4NQkQJmoZWWnVQ7/LvtGpdiWCAQHDlEb0L6Ev NLOr/4gqsAeVtpwNbMYxTPQ/h+1Y6NiZg9k7ChCroia5wUMfuWIwUzJ5RnJE0TOatwHQj+ 89oDABUi2daIl955mJ2zeOtXMW5K76pQ/qW2Evshz9Vlxpj4bjNXuhfspBC9fCzhlbhmv1 qj057W3raMaHPv+s/O5viFHiqHH8ut6eYgW+wRflgYAUSAywbkf9RqthVJVJHJ146zduQS pPnOo2kfNQWOxkLKchE0Is8/z0d6DO+V19BnNiLRfNAHkOyLJApGsVApq6/xUQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700305454; a=rsa-sha256; cv=none; b=gB9IdLwbUUikIFPlZq7ZoNpUq87ev8jREYwyw/AhbZh87vr+DLeV7RA23e08oZvfyTbiS1 ORHrUp2TAJDg4Ky/8Mid1HciM5z/smBdr7EDJc89uziB8Sa6ZbFM+MTFKSEOlxkpv3bMHM 34t6KCXv/TPDu/NGkTT9tUIzk/uq/yOK8qDrO9RuSgSS/7stp91mNpTNIXinImmDK+5PJL Sm5Nc2P9lTbzQ/lFncXpvhxVID7hKWVNLREwVZtRU3GlFUTkXTEwyAV7gPW5ZHjJvICh+R Zu6CEhl0ZUkKLax2CpFDZ4QzIZXAwzBCIvgUY6DepuMKvPAKzUbBxNu5T3aG4Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SXW9p0hxKz9HL; Sat, 18 Nov 2023 11:04:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3AIB4EJH081049; Sat, 18 Nov 2023 11:04:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3AIB4EBX081046; Sat, 18 Nov 2023 11:04:14 GMT (envelope-from git) Date: Sat, 18 Nov 2023 11:04:14 GMT Message-Id: <202311181104.3AIB4EBX081046@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dries Michiels Subject: git: 493ad975e9bb - main - www/py-advocate: add new port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: driesm X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 493ad975e9bb794dd1a4ef0ce45375bd691e5b7d Auto-Submitted: auto-generated The branch main has been updated by driesm: URL: https://cgit.FreeBSD.org/ports/commit/?id=493ad975e9bb794dd1a4ef0ce45375bd691e5b7d commit 493ad975e9bb794dd1a4ef0ce45375bd691e5b7d Author: Dries Michiels AuthorDate: 2023-11-18 10:59:20 +0000 Commit: Dries Michiels CommitDate: 2023-11-18 11:03:57 +0000 www/py-advocate: add new port An SSRF-preventing wrapper around Python's requests library. --- www/Makefile | 1 + www/py-advocate/Makefile | 19 +++++++++++++++++++ www/py-advocate/distinfo | 3 +++ www/py-advocate/pkg-descr | 3 +++ 4 files changed, 26 insertions(+) diff --git a/www/Makefile b/www/Makefile index 54f309fce63d..437a80bea771 100644 --- a/www/Makefile +++ b/www/Makefile @@ -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 diff --git a/www/py-advocate/Makefile b/www/py-advocate/Makefile new file mode 100644 index 000000000000..350c4992b32e --- /dev/null +++ b/www/py-advocate/Makefile @@ -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 diff --git a/www/py-advocate/distinfo b/www/py-advocate/distinfo new file mode 100644 index 000000000000..6f8e2c8f09ab --- /dev/null +++ b/www/py-advocate/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1700304953 +SHA256 (advocate-1.0.0.tar.gz) = 1bf1170e41334279996580329c594e017540ab0eaf7a152323e743f0a85a353d +SIZE (advocate-1.0.0.tar.gz) = 39981 diff --git a/www/py-advocate/pkg-descr b/www/py-advocate/pkg-descr new file mode 100644 index 000000000000..29dee341d7ed --- /dev/null +++ b/www/py-advocate/pkg-descr @@ -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.