Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Feb 2023 20:45:35 GMT
From:      Daniel Engberg <diizzy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e545d81b0456 - main - dns/dnsperf: Use upstream release archive
Message-ID:  <202302272045.31RKjZ42081115@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by diizzy:

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

commit e545d81b045606f757d3573981a2c1eed46b7ee7
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-02-27 20:15:02 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-02-27 20:45:17 +0000

    dns/dnsperf: Use upstream release archive
    
    Use upstream release archive instead of GitHub generated archive as
    recommended by Porters Handbook. While at it add LICENSE_FILE
    definition and switch to DISTVERSION instead of PORTVERSION.
    
    PR:             269483
    Approved by:    portmgr (maintainer timeout, 2+ weeks)
---
 dns/dnsperf/Makefile | 9 ++++-----
 dns/dnsperf/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/dns/dnsperf/Makefile b/dns/dnsperf/Makefile
index 82d2b9ab03bb..737dbaaec33f 100644
--- a/dns/dnsperf/Makefile
+++ b/dns/dnsperf/Makefile
@@ -1,21 +1,20 @@
 PORTNAME=	dnsperf
-PORTVERSION=	2.11.0
-DISTVERSIONPREFIX=v
+DISTVERSION=	2.11.0
 CATEGORIES=	dns benchmarks net
+MASTER_SITES=	https://www.dns-oarc.net/files/${PORTNAME}/
 
 MAINTAINER=	hrs@FreeBSD.org
 COMMENT=	Performance measurement of Domain Name System (DNS) servers
 WWW=		https://www.dns-oarc.net/tools/dnsperf
 
 LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 LIB_DEPENDS=	libnghttp2.so:www/libnghttp2 \
 		libck.so:devel/concurrencykit \
 		libldns.so:dns/ldns
 
-USES=		autoreconf compiler:c11 libtool pkgconfig ssl
-USE_GITHUB=	yes
-GH_ACCOUNT=	DNS-OARC
+USES=		compiler:c11 libtool pkgconfig ssl
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	libssl_LIBS="-lssl -L${OPENSSLLIB}" \
diff --git a/dns/dnsperf/distinfo b/dns/dnsperf/distinfo
index 359e4fca6a20..ad66983d824e 100644
--- a/dns/dnsperf/distinfo
+++ b/dns/dnsperf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1676098482
-SHA256 (DNS-OARC-dnsperf-v2.11.0_GH0.tar.gz) = d9e21213be1bf8d525162c4c0d3e75d68ddd0212c9d240f0f4e26acfdc6c36fd
-SIZE (DNS-OARC-dnsperf-v2.11.0_GH0.tar.gz) = 123834
+TIMESTAMP = 1676099775
+SHA256 (dnsperf-2.11.0.tar.gz) = b216ca0855beefe9cefc58af2ccef6819fc2cf45e1efe50e1e131387f26272a1
+SIZE (dnsperf-2.11.0.tar.gz) = 457834



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302272045.31RKjZ42081115>