git: 129d223ad6cb - main - dns/utdns: Use upstream release archive

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Mon, 16 Dec 2024 18:54:06 UTC
The branch main has been updated by ehaupt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=129d223ad6cbfc70dd7c2d3533549c401b88c8fd

commit 129d223ad6cbfc70dd7c2d3533549c401b88c8fd
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2024-12-16 18:53:53 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2024-12-16 18:53:53 +0000

    dns/utdns: Use upstream release archive
---
 dns/utdns/Makefile                 |  6 ++----
 dns/utdns/distinfo                 |  6 +++---
 dns/utdns/files/patch-configure.ac | 10 ----------
 3 files changed, 5 insertions(+), 17 deletions(-)

diff --git a/dns/utdns/Makefile b/dns/utdns/Makefile
index 9afee789c25c..6b56da67d582 100644
--- a/dns/utdns/Makefile
+++ b/dns/utdns/Makefile
@@ -1,7 +1,8 @@
 PORTNAME=	utdns
-DISTVERSIONPREFIX=	v
 DISTVERSION=	1.2
 CATEGORIES=	dns
+MASTER_SITES=	https://github.com/rahra/${PORTNAME}/releases/download/v${DISTVERSION}/
+DISTNAME=	${PORTNAME}-${DISTVERSION}.r1265
 
 MAINTAINER=	ehaupt@FreeBSD.org
 COMMENT=	Proxy UDP/DNS to TCP/DNS
@@ -10,9 +11,6 @@ WWW=		https://github.com/rahra/utdns
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		autoreconf
-USE_GITHUB=	yes
-GH_ACCOUNT=	rahra
 USE_RC_SUBR=	${PORTNAME}
 
 GNU_CONFIGURE=	yes
diff --git a/dns/utdns/distinfo b/dns/utdns/distinfo
index 734b0f37800c..4fa03acea6d7 100644
--- a/dns/utdns/distinfo
+++ b/dns/utdns/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1734188370
-SHA256 (rahra-utdns-v1.2_GH0.tar.gz) = 07abc1260b7a17de80b9c4a80319da0e177165b26273de503bec38d6f23e47b9
-SIZE (rahra-utdns-v1.2_GH0.tar.gz) = 22418
+TIMESTAMP = 1734227576
+SHA256 (utdns-1.2.r1265.tar.gz) = fa7d280a8460f094a12348f7dc9abaf425695ab5a42f0913fdc4a5dfd2a1096e
+SIZE (utdns-1.2.r1265.tar.gz) = 105442
diff --git a/dns/utdns/files/patch-configure.ac b/dns/utdns/files/patch-configure.ac
deleted file mode 100644
index 3df5c31bae2a..000000000000
--- a/dns/utdns/files/patch-configure.ac
+++ /dev/null
@@ -1,10 +0,0 @@
---- configure.ac.orig	2018-07-11 07:19:15 UTC
-+++ configure.ac
-@@ -1,6 +1,5 @@
- AC_PREREQ(2.67)
--define([revision], esyscmd([sh -c "echo -n `git log | wc -l`"]))dnl
--AC_INIT([utdns], [[1.1.r]revision], [bf@abenteuerland.at])
-+AC_INIT([utdns], [1.1], [bf@abenteuerland.at])
- AM_INIT_AUTOMAKE([foreign -Wall -Werror])
- AC_SUBST([CFLAGS], [["$CFLAGS -Wall -Wextra"]])
- AC_PROG_CC