git: 1c53e3a6bc19 - main - www/tinyproxy: Fix integer overflow in port number processing

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 09 Dec 2025 11:28:16 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1c53e3a6bc1985d7bab3eb40e152aaf6afbccf77

commit 1c53e3a6bc1985d7bab3eb40e152aaf6afbccf77
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-12-09 06:43:34 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-12-09 11:22:24 +0000

    www/tinyproxy: Fix integer overflow in port number processing
    
    - Bump PORTREVISION for package change
    
    PR:             291297
    Reported by:    diizzy
    Obtained from:  https://github.com/tinyproxy/tinyproxy/commit/3c0fde94981b025271ffa1788ae425257841bf5a
    Security:       CVE-2025-63938
---
 www/tinyproxy/Makefile | 5 ++++-
 www/tinyproxy/distinfo | 4 +++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/www/tinyproxy/Makefile b/www/tinyproxy/Makefile
index b93af2e9b88b..078e1759bc0a 100644
--- a/www/tinyproxy/Makefile
+++ b/www/tinyproxy/Makefile
@@ -1,10 +1,13 @@
 PORTNAME=	tinyproxy
 PORTVERSION=	1.11.2
-PORTREVISION=	2
+PORTREVISION=	3
 PORTEPOCH=	1
 CATEGORIES=	www
 MASTER_SITES=	https://github.com/tinyproxy/tinyproxy/releases/download/${PORTVERSION}/
 
+PATCH_SITES=	https://github.com/tinyproxy/tinyproxy/commit/
+PATCHFILES=	3c0fde94981b025271ffa1788ae425257841bf5a.patch:-p1
+
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Small, efficient HTTP proxy server
 WWW=		https://tinyproxy.github.io/ \
diff --git a/www/tinyproxy/distinfo b/www/tinyproxy/distinfo
index 13ac76670db2..08260ee17cd3 100644
--- a/www/tinyproxy/distinfo
+++ b/www/tinyproxy/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1715842564
+TIMESTAMP = 1765033050
 SHA256 (tinyproxy-1.11.2.tar.xz) = 6a126880706691c987e2957b1c99b522efb1964a75eb767af4b30aac0b88a26a
 SIZE (tinyproxy-1.11.2.tar.xz) = 185864
+SHA256 (3c0fde94981b025271ffa1788ae425257841bf5a.patch) = 7b5fdcd85f55ed784e77f8bd40e24765ce24c3cb3139d9fa895c0559b5506c7d
+SIZE (3c0fde94981b025271ffa1788ae425257841bf5a.patch) = 1053