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)
This commit is contained in:
Daniel Engberg 2023-02-27 21:15:02 +01:00
parent b4c1a16d0d
commit e545d81b04
2 changed files with 7 additions and 8 deletions

View file

@ -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}" \

View file

@ -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