[validns/el6] * Updated to 0.7

Paul Wouters pwouters at fedoraproject.org
Tue Apr 16 18:57:38 UTC 2013


commit 832f417ad843789ee8bd65dfde3bffb374caba07
Author: Paul Wouters <pwouters at redhat.com>
Date:   Tue Apr 16 14:56:18 2013 -0400

    * Updated to 0.7

 .gitignore               |    1 +
 sources                  |    3 +-
 validns-0.7-timing.patch |   81 ++++++++++++++++++++++++++++++++++++++++++++++
 validns.spec             |    9 +++--
 4 files changed, 89 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d03be81..9708017 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
 /validns-0.4.tar.gz
 /validns-0.5.tar.gz
 /validns-0.6.tar.gz
+/validns-0.7.tar.gz
diff --git a/sources b/sources
index 7d4f199..0c87f8f 100644
--- a/sources
+++ b/sources
@@ -1,2 +1 @@
-de8ad86d7a87dc20ef800c9286090985  validns-0.5.tar.gz
-c1f43e1fdc26e1f5a94497451325ad49  validns-0.6.tar.gz
+40b0641ca9dad5669cb0bf0473611d2d  validns-0.7.tar.gz
diff --git a/validns-0.7-timing.patch b/validns-0.7-timing.patch
new file mode 100644
index 0000000..77710c8
--- /dev/null
+++ b/validns-0.7-timing.patch
@@ -0,0 +1,81 @@
+diff -Naur validns-0.7-orig/common.h validns-0.7/common.h
+--- validns-0.7-orig/common.h	2013-02-21 09:36:04.000000000 -0500
++++ validns-0.7/common.h	2013-04-16 12:49:00.211645012 -0400
+@@ -51,6 +51,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.7-orig/main.c validns-0.7/main.c
+--- validns-0.7-orig/main.c	2013-04-11 14:33:53.000000000 -0400
++++ validns-0.7/main.c	2013-04-16 12:50:46.210022408 -0400
+@@ -251,6 +251,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");
+@@ -325,7 +326,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);
+@@ -339,6 +340,9 @@
+ 		case 's':
+ 			G.opt.summary = 1;
+ 			break;
++		case 'x':
++			G.opt.notiming = 1;
++			break;
+ 		case 'v':
+ 			G.opt.verbose = 1;
+ 			break;
+@@ -426,8 +430,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.7-orig/usage.mdwn validns-0.7/usage.mdwn
+--- validns-0.7-orig/usage.mdwn	2013-04-16 06:36:45.000000000 -0400
++++ validns-0.7/usage.mdwn	2013-04-16 12:51:12.528364293 -0400
+@@ -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.7-orig/validns.1 validns-0.7/validns.1
+--- validns-0.7-orig/validns.1	2013-04-16 06:36:58.000000000 -0400
++++ validns-0.7/validns.1	2013-04-16 12:51:36.963681678 -0400
+@@ -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 3c68586..8e1cf05 100644
--- a/validns.spec
+++ b/validns.spec
@@ -1,11 +1,11 @@
 Summary: DNS and DNSSEC zone file validator
 Name: validns
-Version: 0.6
-Release: 2%{?dist}
+Version: 0.7
+Release: 1%{?dist}
 License: BSD
 Url:  http://www.validns.net/
 Source: http://www.validns.net/download/%{name}-%{version}.tar.gz
-Patch1: validns-0.6-timing.patch
+Patch1: validns-0.7-timing.patch
 Group: Applications/Internet
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: Judy-devel, openssl-devel
@@ -37,6 +37,9 @@ rm -rf %{buildroot}
 %{_mandir}/man1/validns.1.gz
 
 %changelog
+* Tue Apr 16 2013 Paul Wouters <pwouters at redhat.com> - 0.7-1
+- Updated to 0.7
+
 * Fri Oct 12 2012 Paul Wouters <pwouters at redhat.com> - 0.6-2
 - Added -x option to skip timing info in statistics
 


More information about the scm-commits mailing list