git: 2a0407d461cf - main - benchmarks/ttcp: Canonicalize MASTER_SITES and DISTNAME

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Sun, 03 Mar 2024 18:39:23 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2a0407d461cfd4667961f73c36f4766f4c68262d

commit 2a0407d461cfd4667961f73c36f4766f4c68262d
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-03-03 18:38:01 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-03-03 18:38:01 +0000

    benchmarks/ttcp: Canonicalize MASTER_SITES and DISTNAME
    
    Reported by:    diizzy
---
 benchmarks/ttcp/Makefile | 3 ++-
 benchmarks/ttcp/distinfo | 6 +++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/benchmarks/ttcp/Makefile b/benchmarks/ttcp/Makefile
index 1b9fdb08e70f..1ae7c11e3eca 100644
--- a/benchmarks/ttcp/Makefile
+++ b/benchmarks/ttcp/Makefile
@@ -1,7 +1,8 @@
 PORTNAME=	ttcp
+DISTVERSIONPREFIX=	${PORTNAME}-
 PORTVERSION=	1.13
 CATEGORIES=	benchmarks net
-MASTER_SITES=	https://codeberg.org/BSDforge/${PORTNAME}/archive/
+MASTER_SITES=	https://codeberg.org/BSDforge/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
 
 MAINTAINER=	portmaster@BSDforge.com
 COMMENT=	Benchmarking tool for analysing TCP and UDP performance
diff --git a/benchmarks/ttcp/distinfo b/benchmarks/ttcp/distinfo
index 20f0333e9396..26a5d66062e2 100644
--- a/benchmarks/ttcp/distinfo
+++ b/benchmarks/ttcp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1706864630
-SHA256 (ttcp-1.13.tar.gz) = 809214c535175139897afba784e2e6d1eff02efc3d7b90a67f1bb52fb5082027
-SIZE (ttcp-1.13.tar.gz) = 10959
+TIMESTAMP = 1709490744
+SHA256 (ttcp-ttcp-1.13.tar.gz) = 809214c535175139897afba784e2e6d1eff02efc3d7b90a67f1bb52fb5082027
+SIZE (ttcp-ttcp-1.13.tar.gz) = 10959