[validns/el6] * Tue Feb 11 2014 Paul Wouters <pwouters at redhat.com> - 0.8-1 - Update to 0.8 for sha-384 DS record s
Paul Wouters
pwouters at fedoraproject.org
Tue Feb 11 21:29:25 UTC 2014
commit 980ced6b05d5fe24a2dacfe5c425364a8bfd15d6
Author: Paul Wouters <pwouters at redhat.com>
Date: Tue Feb 11 16:29:54 2014 -0500
* Tue Feb 11 2014 Paul Wouters <pwouters at redhat.com> - 0.8-1
- Update to 0.8 for sha-384 DS record support
validns-0.8-timing.patch | 81 ++++++++++++++++++++++++++++++++++++++++++++++
validns.spec | 5 ++-
2 files changed, 85 insertions(+), 1 deletions(-)
---
diff --git a/validns-0.8-timing.patch b/validns-0.8-timing.patch
new file mode 100644
index 0000000..ef3984a
--- /dev/null
+++ b/validns-0.8-timing.patch
@@ -0,0 +1,81 @@
+diff -Naur validns-0.8-orig/common.h validns-0.8/common.h
+--- validns-0.8-orig/common.h 2014-02-11 15:45:02.000000000 -0500
++++ validns-0.8/common.h 2014-02-11 16:18:03.578140738 -0500
+@@ -53,6 +53,7 @@
+ int die_on_first_error;
+ int no_output;
+ int summary;
++ int notiming;
+ int verbose;
+ char *include_path;
+ char *current_origin;
+diff -Naur validns-0.8-orig/main.c validns-0.8/main.c
+--- validns-0.8-orig/main.c 2014-02-11 15:47:10.000000000 -0500
++++ validns-0.8/main.c 2014-02-11 16:18:03.579140774 -0500
+@@ -253,6 +253,7 @@
+ fprintf(stderr, "\t-n N\t\tuse N worker threads\n");
+ fprintf(stderr, "\t-q\t\tquiet - do not produce any output\n");
+ fprintf(stderr, "\t-s\t\tprint validation summary/stats\n");
++ fprintf(stderr, "\t-x\t\tskip printing 'time taken' entry in summary/stats\n");
+ fprintf(stderr, "\t-v\t\tbe extra verbose\n");
+ fprintf(stderr, "\t-I path\tuse this path for $INCLUDE files\n");
+ fprintf(stderr, "\t-z origin\tuse this origin as initial $ORIGIN\n");
+@@ -328,7 +329,7 @@
+ struct timeval start, stop;
+
+ initialize_globals();
+- while ((o = getopt(argc, argv, "fhqsvI:z:t:p:n:")) != -1) {
++ while ((o = getopt(argc, argv, "fhqsxvI:z:t:p:n:")) != -1) {
+ switch(o) {
+ case 'h':
+ usage(NULL);
+@@ -342,6 +343,9 @@
+ case 's':
+ G.opt.summary = 1;
+ break;
++ case 'x':
++ G.opt.notiming = 1;
++ break;
+ case 'v':
+ G.opt.verbose = 1;
+ break;
+@@ -431,8 +435,10 @@
+ " %d\n", G.stats.not_authoritative);
+ printf("validation errors: %d\n", G.stats.error_count);
+ printf("signatures verified: %d\n", G.stats.signatures_verified);
+- printf("time taken: %.3fs\n",
++ if (!G.opt.notiming) {
++ printf("time taken: %.3fs\n",
+ stop.tv_sec - start.tv_sec + (stop.tv_usec - start.tv_usec)/1000000.);
++ }
+ }
+ return G.exit_code;
+ }
+diff -Naur validns-0.8-orig/usage.mdwn validns-0.8/usage.mdwn
+--- validns-0.8-orig/usage.mdwn 2014-02-11 15:42:32.000000000 -0500
++++ validns-0.8/usage.mdwn 2014-02-11 16:18:03.579140774 -0500
+@@ -61,6 +61,9 @@
+ -s
+ : print validation summary/stats
+
++-x
++: skip printing 'time taken' in summary/stats
++
+ -v
+ : be extra verbose
+
+diff -Naur validns-0.8-orig/validns.1 validns-0.8/validns.1
+--- validns-0.8-orig/validns.1 2014-02-11 15:43:21.000000000 -0500
++++ validns-0.8/validns.1 2014-02-11 16:18:45.445846013 -0500
+@@ -73,6 +73,11 @@
+ .RS
+ .RE
+ .TP
++.B -x
++skip printing timing summary/stats
++.RS
++.RE
++.TP
+ .B \-v
+ be extra verbose
+ .RS
diff --git a/validns.spec b/validns.spec
index 8e1cf05..07f3e17 100644
--- a/validns.spec
+++ b/validns.spec
@@ -1,6 +1,6 @@
Summary: DNS and DNSSEC zone file validator
Name: validns
-Version: 0.7
+Version: 0.8
Release: 1%{?dist}
License: BSD
Url: http://www.validns.net/
@@ -37,6 +37,9 @@ rm -rf %{buildroot}
%{_mandir}/man1/validns.1.gz
%changelog
+* Tue Feb 11 2014 Paul Wouters <pwouters at redhat.com> - 0.8-1
+- Update to 0.8 for sha-384 DS record support
+
* Tue Apr 16 2013 Paul Wouters <pwouters at redhat.com> - 0.7-1
- Updated to 0.7
More information about the scm-commits
mailing list