[dnssec-tools/el6] new patch file

Wes Hardaker hardaker at fedoraproject.org
Wed Dec 19 23:13:21 UTC 2012


commit 8a7bb9a3745522943066cc61a1a0d93954d17686
Author: Wes Hardaker <opensource at hardakers.net>
Date:   Wed Dec 19 15:13:13 2012 -0800

    new patch file

 dnssec-tools-1.13-zonesigner-soa2.patch |   71 +++++++++++++++++++++++++++++++
 1 files changed, 71 insertions(+), 0 deletions(-)
---
diff --git a/dnssec-tools-1.13-zonesigner-soa2.patch b/dnssec-tools-1.13-zonesigner-soa2.patch
new file mode 100644
index 0000000..260e51e
--- /dev/null
+++ b/dnssec-tools-1.13-zonesigner-soa2.patch
@@ -0,0 +1,71 @@
+diff --git a/dnssec-tools/tools/scripts/zonesigner b/dnssec-tools/tools/scripts/zonesigner
+index beb6903..34f7bf4 100755
+--- a/dnssec-tools/tools/scripts/zonesigner
++++ b/dnssec-tools/tools/scripts/zonesigner
+@@ -2893,8 +2893,8 @@ sub serialincr
+ 
+ 		#
+ 		# Now we'll look through the line's tokens.  The serial number
+-		# is the sixth non-parenthesis token on a SOA line, so we've
+-		# got to look until we find the sixth token.  We're going to
++		# is the seventh non-parenthesis token on a SOA line, so we've
++		# got to look until we find the seventh token.  We're going to
+ 		# account for the previously found lparen, multiple lines, and
+ 		# the optional whitespace separating the lparen from the tokens
+ 		# before and after it.
+@@ -2958,18 +2958,18 @@ sub serialincr
+ 
+ 		#
+ 		# Handle the serial number in this lparenthesized token.
+-		# If we've reached the sixth token, which is the serial
+-		# number, we'll figure out which subtoken is the sixth.
++		# If we've reached the seventh token, which is the serial
++		# number, we'll figure out which subtoken is the seventh.
+ 		# If we've reached the seventh token, then the pre-lparen
+ 		# subtoken is the serial number.
+ 		# In both cases, we'll increment the appropriate subtoken,
+ 		# save it in $serialnew, and set a found flag.
+ 		#
+-						if($datacnt == 6)
++						if($datacnt == 7)
+ 						{
+ 
+ 			#
+-			# If we've hit six data items on this SOA line so far,
++			# If we've hit seven data items on this SOA line so far,
+ 			# the serial number must be the last subtoken in this
+ 			# token.  It will be the first subtoken iff there
+ 			# isn't a second subtoken.
+@@ -2991,7 +2991,7 @@ sub serialincr
+ 							#
+ 							$found = 1;
+ 						}
+-						elsif($datacnt == 7)
++						elsif($datacnt == 8)
+ 						{
+ 			#
+ 			# If we've hit seven data items on this SOA line
+@@ -3028,7 +3028,7 @@ sub serialincr
+ 					#
+ 					$datacnt++;
+ 
+-					if($datacnt == 6)
++					if($datacnt == 7)
+ 					{
+ 						$chgrps[$grind] = serialfix($chgrps[$grind]);
+ 						$serialnew = $chgrps[$grind];
+diff --git a/dnssec-tools/validator/apps/dnssec-check/dnssec_checks.cpp b/dnssec-tools/validator/apps/dnssec-check/dnssec_checks.cpp
+index c64776b..6080f5d 100644
+--- a/dnssec-tools/validator/apps/dnssec-check/dnssec_checks.cpp
++++ b/dnssec-tools/validator/apps/dnssec-check/dnssec_checks.cpp
+@@ -165,8 +165,8 @@ check_outstanding_async() {
+         FD_ZERO(&fds);
+         res_async_query_select_info(outstanding_queries[i].ea, &numfds, &fds, &tv);
+ 
+-//        if (!res_async_ea_isset(outstanding_queries[i].ea, &fds))
+-//            continue;
++        if (!res_async_ea_isset(outstanding_queries[i].ea, &fds))
++            continue;
+ 
+         /* much from _resolver_rcv_one -> val_resquery_async_rcv */
+         ret_val = res_async_query_handle(outstanding_queries[i].ea, &handled, &fds);


More information about the scm-commits mailing list