git: 7ceb8b8e3066 - main - devel/p5-CPAN-YACSmoke: rework port to avoid Portscout false positives
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 30 Sep 2026 22:14:43 UTC
The branch main has been updated by rodrigo:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7ceb8b8e306641ab15f068fdc40d346ac9d3e29e
commit 7ceb8b8e306641ab15f068fdc40d346ac9d3e29e
Author: Rodrigo Osorio <rodrigo@FreeBSD.org>
AuthorDate: 2026-09-30 20:46:36 +0000
Commit: Rodrigo Osorio <rodrigo@FreeBSD.org>
CommitDate: 2026-09-30 22:13:04 +0000
devel/p5-CPAN-YACSmoke: rework port to avoid Portscout false positives
CPAN-YACSmoke uses an unconventional Major.Minor_Patch versioning scheme,
which can conflict with or break FreeBSD's port version comparison
mechanisms.
Rework the port to use a more standard Semantic Versioning scheme and
report the correct DISTNAME to Portscout, avoiding false positives.
---
devel/p5-CPAN-YACSmoke/Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/devel/p5-CPAN-YACSmoke/Makefile b/devel/p5-CPAN-YACSmoke/Makefile
index ed9894ab97a3..8ad4d002aa67 100644
--- a/devel/p5-CPAN-YACSmoke/Makefile
+++ b/devel/p5-CPAN-YACSmoke/Makefile
@@ -1,11 +1,10 @@
PORTNAME= CPAN-YACSmoke
-DISTVERSION= 0.03
-DISTVERSIONSUFFIX= _07
-PORTREVISION= 3
+DISTVERSION= 0.03.07
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:RRWO
PKGNAMEPREFIX= p5-
+DISTNAME= ${PORTNAME}-${DISTVERSION:R}_${DISTVERSION:E}
MAINTAINER= perl@FreeBSD.org
COMMENT= Yet Another CPAN Smoke Tester
@@ -31,5 +30,6 @@ TEST_DEPENDS= p5-CPANPLUS>=0:devel/p5-CPANPLUS \
USES= perl5
USE_PERL5= configure
+WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION:R}_${DISTVERSION:E}
.include <bsd.port.mk>