git: 35de7f2e4187 - main - net/dhcpcd: Use upstream release archive

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sat, 15 Feb 2025 16:31:32 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=35de7f2e4187fa8564ce6cdcac501347c7994c9d

commit 35de7f2e4187fa8564ce6cdcac501347c7994c9d
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2025-02-15 14:43:28 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2025-02-15 16:31:03 +0000

    net/dhcpcd: Use upstream release archive
    
    * Switch to upstream release archive
    
    Reference:
    https://docs.freebsd.org/en/books/porters-handbook/book/#makefile-master_sites-github
    
    PR:             284507
    Approved by:    portmgr (maintainer timeout, 2+ weeks)
---
 net/dhcpcd/Makefile | 6 ++----
 net/dhcpcd/distinfo | 6 +++---
 2 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/net/dhcpcd/Makefile b/net/dhcpcd/Makefile
index 04d0f63d1185..a232102d956f 100644
--- a/net/dhcpcd/Makefile
+++ b/net/dhcpcd/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	dhcpcd
-DISTVERSIONPREFIX=	v
 DISTVERSION=	10.2.0
 CATEGORIES=	net
+MASTER_SITES=	https://github.com/NetworkConfiguration/${PORTNAME}/releases/download/v${DISTVERSION}/
 
 MAINTAINER=	driesm@FreeBSD.org
 COMMENT=	DHCP/IPv4LL/IPv6RS/DHCPv6 client
@@ -10,10 +10,8 @@ WWW=		https://roy.marples.name/projects/dhcpcd
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		compiler:c11 cpe
+USES=		compiler:c11 cpe tar:xz
 CPE_VENDOR=	dhcpcd_project
-USE_GITHUB=	yes
-GH_ACCOUNT=	NetworkConfiguration
 USE_RC_SUBR=	dhcpcd
 
 HAS_CONFIGURE=	yes
diff --git a/net/dhcpcd/distinfo b/net/dhcpcd/distinfo
index 9c60410b0a81..670df194ec69 100644
--- a/net/dhcpcd/distinfo
+++ b/net/dhcpcd/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1739447874
-SHA256 (NetworkConfiguration-dhcpcd-v10.2.0_GH0.tar.gz) = 16808706a866e17b90966db822e82968bc55e264fc2fd7834c400d351ef9bf2c
-SIZE (NetworkConfiguration-dhcpcd-v10.2.0_GH0.tar.gz) = 371302
+TIMESTAMP = 1739628276
+SHA256 (dhcpcd-10.2.0.tar.xz) = 7916fed1560835b5b9d70d27604c3858e501c5a177eef027f96eb7ab0f711399
+SIZE (dhcpcd-10.2.0.tar.xz) = 274896