git: 8b92f08b39d5 - main - net/scapy: Silence cryptography warnings

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 12 Sep 2026 14:25:14 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8b92f08b39d5464b52272cd450f897f5bc3ea8db

commit 8b92f08b39d5464b52272cd450f897f5bc3ea8db
Author:     Jose Luis Duran <jlduran@FreeBSD.org>
AuthorDate: 2026-09-12 11:03:15 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2026-09-12 14:24:59 +0000

    net/scapy: Silence cryptography warnings
    
    Apply Scapy commit caa005d ("Handle cryptography FFDH warnings") to
    prevent cryptography warnings from causing test failures in our
    infrastructure.
    
    Once a new Scapy release is out, this patch will be included and this
    commit should be reverted.
    
    PR:             298387
---
 net/scapy/Makefile | 4 ++++
 net/scapy/distinfo | 4 +++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/net/scapy/Makefile b/net/scapy/Makefile
index 24e8c59d1c34..daefa2ed75bd 100644
--- a/net/scapy/Makefile
+++ b/net/scapy/Makefile
@@ -1,9 +1,13 @@
 PORTNAME=	scapy
 DISTVERSION=	2.7.0
+PORTREVISION=	1
 CATEGORIES=	net python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
+PATCH_SITES=	https://github.com/secdev/${PORTNAME}/commit/
+PATCHFILES=	caa005dae9bddeb93b11286327149c824db7732a.patch:-p1
+
 MAINTAINER=	bofh@FreeBSD.org
 COMMENT=	Powerful interactive packet manipulation program in python
 WWW=		https://scapy.net/
diff --git a/net/scapy/distinfo b/net/scapy/distinfo
index 0515f679b173..7d8b478d7aa4 100644
--- a/net/scapy/distinfo
+++ b/net/scapy/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1766916411
+TIMESTAMP = 1789204589
 SHA256 (scapy-2.7.0.tar.gz) = bfc1ef1b93280aea1ddee53be7f74232aa28ac3d891244d41ee85200d24aa446
 SIZE (scapy-2.7.0.tar.gz) = 2412897
+SHA256 (caa005dae9bddeb93b11286327149c824db7732a.patch) = d0f6df6d57c9bf0756181120556c3367362658c48c884a0a81d375d918bb4557
+SIZE (caa005dae9bddeb93b11286327149c824db7732a.patch) = 5311