FreeBSD Bugzilla – Attachment 201438 Details for
Bug 235237
dns/dnsperf: update 2.1.0 -> 2.2.1, MASTER_SITE moved to github
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
dnsperf.diff (text/plain), 11.16 KB, created by
Kurt Jaeger
on 2019-01-27 11:09:35 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Kurt Jaeger
Created:
2019-01-27 11:09:35 UTC
Size:
11.16 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 491321) >+++ Makefile (working copy) >@@ -2,11 +2,9 @@ > # $FreeBSD$ > > PORTNAME= dnsperf >-PORTVERSION= 2.1.0.0 >-PORTREVISION= 2 >+PORTVERSION= 2.2.0 >+DISTVERSIONPREFIX=v > CATEGORIES= dns benchmarks net >-MASTER_SITES= ftp://ftp.nominum.com/pub/nominum/${PORTNAME}/${PORTVERSION}/ >-DISTNAME= ${PORTNAME}-src-${PORTVERSION}-1 > > MAINTAINER= hrs@FreeBSD.org > COMMENT= Performance measurement of Domain Name System (DNS) servers >@@ -15,10 +13,13 @@ > > BUILD_DEPENDS= isc-config.sh:dns/bind912 > LIB_DEPENDS= liblmdb.so:databases/lmdb \ >- libjson-c.so:devel/json-c >+ libjson-c.so:devel/json-c \ >+ libxml2.so:textproc/libxml2 > >-USES= iconv ssl >-USE_GNOME= libxml2 >+USES= autoreconf gnome iconv libtool ssl >+USE_GITHUB= yes >+ >+GH_ACCOUNT= DNS-OARC > GNU_CONFIGURE= yes > MAKE_ENV= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ > INSTALL_SCRIPT="${INSTALL_SCRIPT}" \ >@@ -29,14 +30,5 @@ > bin/resperf-report \ > man/man1/dnsperf.1.gz \ > man/man1/resperf.1.gz >-PORTDOCS= caching-dns-performance.pdf \ >- dnsperf.pdf \ >- resperf.pdf > >-OPTIONS_DEFINE= DOCS >- >-post-install-DOCS-on: >- @${MKDIR} ${STAGEDIR}${DOCSDIR} >- cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} >- > .include <bsd.port.mk> >Index: distinfo >=================================================================== >--- distinfo (revision 491321) >+++ distinfo (working copy) >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1524326968 >-SHA256 (dnsperf-src-2.1.0.0-1.tar.gz) = 64b5f0a680e1ad60bca5fd709f1a9a8404ac2fd85af6138bd22ca9a28b616e0e >-SIZE (dnsperf-src-2.1.0.0-1.tar.gz) = 561502 >+TIMESTAMP = 1548578598 >+SHA256 (DNS-OARC-dnsperf-v2.2.0_GH0.tar.gz) = 5de04bc7b9c838746a4d8c3128eb96888d0fa890e391a1a8fe867e3e99350514 >+SIZE (DNS-OARC-dnsperf-v2.2.0_GH0.tar.gz) = 66535 >Index: files/patch-Makefile.in >=================================================================== >--- files/patch-Makefile.in (revision 491321) >+++ files/patch-Makefile.in (nonexistent) >@@ -1,24 +0,0 @@ >---- Makefile.in.orig 2015-12-16 00:46:49 UTC >-+++ Makefile.in >-@@ -7,8 +7,6 @@ mandir = @mandir@ >- datarootdir = @datarootdir@ >- >- INSTALL = @INSTALL@ >--INSTALL_PROGRAM = @INSTALL_PROGRAM@ >--INSTALL_DATA = @INSTALL_DATA@ >- RANLIB = @RANLIB@ >- >- CC = @PTHREAD_CC@ >-@@ -41,9 +39,9 @@ installdirs: >- install: all installdirs >- ${INSTALL_PROGRAM} dnsperf ${DESTDIR}${bindir} >- ${INSTALL_PROGRAM} resperf ${DESTDIR}${bindir} >-- ${INSTALL_PROGRAM} resperf-report ${DESTDIR}${bindir} >-- ${INSTALL_DATA} dnsperf.1 ${DESTDIR}${mandir}/man1 >-- ${INSTALL_DATA} resperf.1 ${DESTDIR}${mandir}/man1 >-+ ${INSTALL_SCRIPT} resperf-report ${DESTDIR}${bindir} >-+ ${INSTALL_MAN} dnsperf.1 ${DESTDIR}${mandir}/man1 >-+ ${INSTALL_MAN} resperf.1 ${DESTDIR}${mandir}/man1 >- >- clean: >- rm -f *.o dnsperf resperf libperf.a > >Property changes on: files/patch-Makefile.in >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: files/patch-datafile.c >=================================================================== >--- files/patch-datafile.c (revision 491321) >+++ files/patch-datafile.c (nonexistent) >@@ -1,12 +0,0 @@ >---- datafile.c.orig 2015-12-16 00:46:49 UTC >-+++ datafile.c >-@@ -23,7 +23,9 @@ >- >- #define ISC_BUFFER_USEINLINE >- >-+#include <isc/boolean.h> >- #include <isc/buffer.h> >-+#include <isc/int.h> >- #include <isc/mem.h> >- >- #include "datafile.h" > >Property changes on: files/patch-datafile.c >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: files/patch-dns.c >=================================================================== >--- files/patch-dns.c (revision 491321) >+++ files/patch-dns.c (nonexistent) >@@ -1,14 +0,0 @@ >---- dns.c.orig 2015-12-16 00:46:50 UTC >-+++ dns.c >-@@ -41,9 +41,11 @@ >- #define ISC_BUFFER_USEINLINE >- >- #include <isc/base64.h> >-+#include <isc/boolean.h> >- #include <isc/buffer.h> >- #include <isc/hmacmd5.h> >- #include <isc/hmacsha.h> >-+#include <isc/int.h> >- #include <isc/lex.h> >- #include <isc/mem.h> >- #include <isc/region.h> > >Property changes on: files/patch-dns.c >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: files/patch-dnsperf.c >=================================================================== >--- files/patch-dnsperf.c (revision 491321) >+++ files/patch-dnsperf.c (nonexistent) >@@ -1,43 +0,0 @@ >---- dnsperf.c.orig 2015-12-16 00:46:49 UTC >-+++ dnsperf.c >-@@ -52,8 +52,10 @@ >- >- #define ISC_BUFFER_USEINLINE >- >-+#include <isc/boolean.h> >- #include <isc/buffer.h> >- #include <isc/file.h> >-+#include <isc/int.h> >- #include <isc/list.h> >- #include <isc/mem.h> >- #include <isc/netaddr.h> >-@@ -280,16 +282,16 @@ print_statistics(const config_t *config, const times_t >- >- printf("Statistics:\n\n"); >- >-- printf(" %s sent: %" ISC_PRINT_QUADFORMAT "u\n", >-+ printf(" %s sent: %" PRIu64 "\n", >- units, stats->num_sent); >-- printf(" %s completed: %" ISC_PRINT_QUADFORMAT "u (%.2lf%%)\n", >-+ printf(" %s completed: %" PRIu64 " (%.2lf%%)\n", >- units, stats->num_completed, >- SAFE_DIV(100.0 * stats->num_completed, stats->num_sent)); >-- printf(" %s lost: %" ISC_PRINT_QUADFORMAT "u (%.2lf%%)\n", >-+ printf(" %s lost: %" PRIu64 " (%.2lf%%)\n", >- units, stats->num_timedout, >- SAFE_DIV(100.0 * stats->num_timedout, stats->num_sent)); >- if (stats->num_interrupted > 0) >-- printf(" %s interrupted: %" ISC_PRINT_QUADFORMAT "u " >-+ printf(" %s interrupted: %" PRIu64 " " >- "(%.2lf%%)\n", >- units, stats->num_interrupted, >- SAFE_DIV(100.0 * stats->num_interrupted, >-@@ -305,7 +307,7 @@ print_statistics(const config_t *config, const times_t >- first_rcode = ISC_FALSE; >- else >- printf(", "); >-- printf("%s %" ISC_PRINT_QUADFORMAT "u (%.2lf%%)", >-+ printf("%s %" PRIu64 " (%.2lf%%)", >- perf_dns_rcode_strings[i], stats->rcodecounts[i], >- (stats->rcodecounts[i] * 100.0) / stats->num_completed); >- } > >Property changes on: files/patch-dnsperf.c >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: files/patch-log.c >=================================================================== >--- files/patch-log.c (revision 491321) >+++ files/patch-log.c (nonexistent) >@@ -1,11 +0,0 @@ >---- log.c.orig 2015-12-16 00:46:50 UTC >-+++ log.c >-@@ -20,6 +20,8 @@ >- #include <stdio.h> >- #include <stdlib.h> >- >-+#include <isc/int.h> >-+ >- #include "log.h" >- #include "util.h" >- > >Property changes on: files/patch-log.c >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: files/patch-opt.c >=================================================================== >--- files/patch-opt.c (revision 491321) >+++ files/patch-opt.c (nonexistent) >@@ -1,12 +0,0 @@ >---- opt.c.orig 2015-12-16 00:46:50 UTC >-+++ opt.c >-@@ -22,7 +22,9 @@ >- >- #include <netinet/in.h> >- >-+#include <isc/boolean.h> >- #include <isc/file.h> >-+#include <isc/int.h> >- #include <isc/parseint.h> >- #include <isc/result.h> >- > >Property changes on: files/patch-opt.c >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: files/patch-os.c >=================================================================== >--- files/patch-os.c (revision 491321) >+++ files/patch-os.c (nonexistent) >@@ -1,11 +0,0 @@ >---- os.c.orig 2015-12-16 00:46:49 UTC >-+++ os.c >-@@ -22,6 +22,8 @@ >- >- #include <sys/select.h> >- >-+#include <isc/boolean.h> >-+#include <isc/int.h> >- #include <isc/result.h> >- #include <isc/types.h> >- > >Property changes on: files/patch-os.c >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: files/patch-resperf.c >=================================================================== >--- files/patch-resperf.c (revision 491321) >+++ files/patch-resperf.c (nonexistent) >@@ -1,37 +0,0 @@ >---- resperf.c.orig 2015-12-16 00:46:50 UTC >-+++ resperf.c >-@@ -46,8 +46,10 @@ >- >- #include <sys/time.h> >- >-+#include <isc/boolean.h> >- #include <isc/buffer.h> >- #include <isc/file.h> >-+#include <isc/int.h> >- #include <isc/list.h> >- #include <isc/mem.h> >- #include <isc/print.h> >-@@ -389,11 +391,11 @@ print_statistics(void) { >- >- printf("\nStatistics:\n\n"); >- >-- printf(" Queries sent: %" ISC_PRINT_QUADFORMAT "u\n", >-+ printf(" Queries sent: %" PRIu64 "\n", >- num_queries_sent); >-- printf(" Queries completed: %" ISC_PRINT_QUADFORMAT "u\n", >-+ printf(" Queries completed: %" PRIu64 "\n", >- num_responses_received); >-- printf(" Queries lost: %" ISC_PRINT_QUADFORMAT "u\n", >-+ printf(" Queries lost: %" PRIu64 "\n", >- num_queries_sent - num_responses_received); >- printf(" Response codes: "); >- first_rcode = ISC_TRUE; >-@@ -404,7 +406,7 @@ print_statistics(void) { >- first_rcode = ISC_FALSE; >- else >- printf(", "); >-- printf("%s %" ISC_PRINT_QUADFORMAT "u (%.2lf%%)", >-+ printf("%s %" PRIu64 " (%.2lf%%)", >- perf_dns_rcode_strings[i], rcodecounts[i], >- (rcodecounts[i] * 100.0) / num_responses_received); >- } > >Property changes on: files/patch-resperf.c >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: pkg-descr >=================================================================== >--- pkg-descr (revision 491321) >+++ pkg-descr (working copy) >@@ -15,4 +15,4 @@ > ResPerf systematically increases the query rate and monitors the > response rate to simulate caching DNS services. > >-WWW: https://www.akamai.com/us/en/products/network-operator/measurement-tools.jsp >+WWW: https://www.dns-oarc.net/tools/dnsperf
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 235237
:
201438
|
201476