aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Engberg <diizzy@FreeBSD.org>2023-02-27 20:15:02 +0000
committerDaniel Engberg <diizzy@FreeBSD.org>2023-02-27 20:45:17 +0000
commite545d81b045606f757d3573981a2c1eed46b7ee7 (patch)
tree75b4d1e4a4611d920e5fe7fc623dd27637a24672
parentb4c1a16d0d161e829e5115aeaf90376d2a865088 (diff)
downloadports-e545d81b045606f757d3573981a2c1eed46b7ee7.tar.gz
ports-e545d81b045606f757d3573981a2c1eed46b7ee7.zip
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)
-rw-r--r--dns/dnsperf/Makefile9
-rw-r--r--dns/dnsperf/distinfo6
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