From 40b038c826bcb9cc91411b06af038cf702b6f4b0 Mon Sep 17 00:00:00 2001 From: Automatic Updater Date: Thu, 3 Jun 2010 06:35:45 +0000 Subject: [PATCH 01/65] update --- doc/private/SRCID | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/private/SRCID b/doc/private/SRCID index 7a62c0109e..474b104f37 100644 --- a/doc/private/SRCID +++ b/doc/private/SRCID @@ -1,6 +1,6 @@ -# $Id: SRCID,v 1.266 2010/06/03 06:18:01 tbox Exp $ +# $Id: SRCID,v 1.267 2010/06/03 06:35:45 tbox Exp $ # # This file must follow /bin/sh rules. It is imported directly via # configure. # -SRCID="( $Date: 2010/06/03 06:18:01 $ )" +SRCID="( $Date: 2010/06/03 06:35:45 $ )" From a7f02c9c6b1df09037baed4e68e4bb31fe4c23e0 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 3 Jun 2010 13:27:46 +0000 Subject: [PATCH 02/65] add -lkrb5 --- configure | 8 ++++---- configure.in | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/configure b/configure index e16746ea04..fbd24d0659 100755 --- a/configure +++ b/configure @@ -14,7 +14,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. # -# $Id: configure,v 1.479 2010/06/03 03:55:07 marka Exp $ +# $Id: configure,v 1.480 2010/06/03 13:27:46 marka Exp $ # # Portions Copyright (C) 1996-2001 Nominum, Inc. # @@ -29,7 +29,7 @@ # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT # OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -# From configure.in Revision: 1.496 . +# From configure.in Revision: 1.497 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.62. # @@ -24091,7 +24091,7 @@ $as_echo "$as_me: error: krb5.h not found" >&2;} "-lgssapi" \ "-lgssapi -lkrb5 -ldes -lcrypt -lasn1 -lroken -lcom_err" \ "-lgssapi -lkrb5 -lcrypto -lcrypt -lasn1 -lroken -lcom_err" \ - "-lgss" + "-lgss -lkrb5" do # Note that this does not include $saved_libs, because # on FreeBSD machines this configure script has added @@ -24111,7 +24111,7 @@ cat >>conftest.$ac_ext <<_ACEOF int main () { -gss_acquire_cred(); +gss_acquire_cred();krb5_init_context() ; return 0; } diff --git a/configure.in b/configure.in index 4ae8f27af7..cbbea5333f 100644 --- a/configure.in +++ b/configure.in @@ -18,7 +18,7 @@ AC_DIVERT_PUSH(1)dnl esyscmd([sed "s/^/# /" COPYRIGHT])dnl AC_DIVERT_POP()dnl -AC_REVISION($Revision: 1.496 $) +AC_REVISION($Revision: 1.497 $) AC_INIT(lib/dns/name.c) AC_PREREQ(2.59) @@ -822,7 +822,7 @@ case "$use_gssapi" in "-lgssapi" \ "-lgssapi -lkrb5 -ldes -lcrypt -lasn1 -lroken -lcom_err" \ "-lgssapi -lkrb5 -lcrypto -lcrypt -lasn1 -lroken -lcom_err" \ - "-lgss" + "-lgss -lkrb5" do # Note that this does not include $saved_libs, because # on FreeBSD machines this configure script has added @@ -831,7 +831,7 @@ case "$use_gssapi" in # when you are trying to build with KTH in /usr/lib. LIBS="-L$use_gssapi/lib $TRY_LIBS" AC_MSG_CHECKING(linking as $TRY_LIBS) - AC_TRY_LINK( , [gss_acquire_cred();], + AC_TRY_LINK( , [gss_acquire_cred();krb5_init_context()], gssapi_linked=yes, gssapi_linked=no) case $gssapi_linked in yes) AC_MSG_RESULT(yes); break ;; From 21bade5e85fb34ad1792e5200a5b60764c133c85 Mon Sep 17 00:00:00 2001 From: Automatic Updater Date: Thu, 3 Jun 2010 14:01:15 +0000 Subject: [PATCH 03/65] update --- doc/private/SRCID | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/private/SRCID b/doc/private/SRCID index 474b104f37..8cbd316a7a 100644 --- a/doc/private/SRCID +++ b/doc/private/SRCID @@ -1,6 +1,6 @@ -# $Id: SRCID,v 1.267 2010/06/03 06:35:45 tbox Exp $ +# $Id: SRCID,v 1.268 2010/06/03 14:01:15 tbox Exp $ # # This file must follow /bin/sh rules. It is imported directly via # configure. # -SRCID="( $Date: 2010/06/03 06:35:45 $ )" +SRCID="( $Date: 2010/06/03 14:01:15 $ )" From e74c3a0f59135eb7f62fdecc7ee2b7d23eadc56e Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 3 Jun 2010 21:44:49 +0000 Subject: [PATCH 04/65] specify NSEC3 iterations --- bin/tests/system/dnssec/tests.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/tests/system/dnssec/tests.sh b/bin/tests/system/dnssec/tests.sh index 3156b302ee..75e38cabd8 100644 --- a/bin/tests/system/dnssec/tests.sh +++ b/bin/tests/system/dnssec/tests.sh @@ -15,7 +15,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: tests.sh,v 1.59 2010/06/03 03:13:32 marka Exp $ +# $Id: tests.sh,v 1.60 2010/06/03 21:44:49 marka Exp $ SYSTEMTESTTOP=.. . $SYSTEMTESTTOP/conf.sh @@ -927,8 +927,8 @@ zone=example key1=`$KEYGEN -r $RANDFILE -a NSEC3RSASHA1 -b 1024 -n zone $zone` key2=`$KEYGEN -r $RANDFILE -f KSK -a NSEC3RSASHA1 -b 1024 -n zone $zone` cat example.db.in $key1.key $key2.key > example.db -$SIGNER -3 - -o example -f example.db example.db > /dev/null 2>&1 -grep "JIEIDARU68SM01LPOROGNS2AUEE8ERCP.example. 0 IN NSEC3 1 0 100 - JIEIDARU68SM01LPOROGNS2AUEE8ERCP A NS SOA RRSIG DNSKEY NSEC3PARAM" example.db > /dev/null +$SIGNER -3 - -i 10 -o example -f example.db example.db > /dev/null 2>&1 +grep "IQF9LQTLKKNFK0KVIFELRAK4IC4QLTMG.example. 0 IN NSEC3 1 0 10 - IQF9LQTLKKNFK0KVIFELRAK4IC4QLTMG A NS SOA RRSIG DNSKEY NSEC3PARAM" example.db > /dev/null ) || ret=1 if [ $ret != 0 ]; then echo "I:failed"; fi status=`expr $status + $ret` From 49d8f901409f44f5f99829dc3c7f13e92c68e86c Mon Sep 17 00:00:00 2001 From: Automatic Updater Date: Thu, 3 Jun 2010 22:18:48 +0000 Subject: [PATCH 05/65] update --- doc/private/SRCID | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/private/SRCID b/doc/private/SRCID index 8cbd316a7a..9939f0d380 100644 --- a/doc/private/SRCID +++ b/doc/private/SRCID @@ -1,6 +1,6 @@ -# $Id: SRCID,v 1.268 2010/06/03 14:01:15 tbox Exp $ +# $Id: SRCID,v 1.269 2010/06/03 22:18:48 tbox Exp $ # # This file must follow /bin/sh rules. It is imported directly via # configure. # -SRCID="( $Date: 2010/06/03 14:01:15 $ )" +SRCID="( $Date: 2010/06/03 22:18:48 $ )" From bbc312f167eae60831d209edd9232ce5c3f9db35 Mon Sep 17 00:00:00 2001 From: Automatic Updater Date: Thu, 3 Jun 2010 23:20:22 +0000 Subject: [PATCH 06/65] auto update --- doc/private/branches | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/private/branches b/doc/private/branches index 08cdeb111d..c5d501cae5 100644 --- a/doc/private/branches +++ b/doc/private/branches @@ -342,6 +342,8 @@ rt21394 new marka // 2010-05-27 00:51 +0000 rt21409 new marka // 2010-06-01 03:49 +0000 rt21416 new marka // 2010-05-29 10:32 +0000 rt21444 new marka // 2010-06-01 22:07 +0000 +rt21444a new marka // 2010-06-03 05:40 +0000 +rt21451 new marka // 2010-06-03 12:34 +0000 shane_dbbackend open skan open explorer skan-metazones1 private explorer From 9d80d23172c30fd63e5046a7e69b8445e564ff31 Mon Sep 17 00:00:00 2001 From: Automatic Updater Date: Thu, 3 Jun 2010 23:31:51 +0000 Subject: [PATCH 07/65] newcopyrights --- util/copyrights | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/util/copyrights b/util/copyrights index 39efe390dd..46a5f3eb2d 100644 --- a/util/copyrights +++ b/util/copyrights @@ -653,7 +653,7 @@ ./bin/tests/system/dlv/setup.sh SH 2004,2007,2009 ./bin/tests/system/dlv/tests.sh SH 2004,2007,2010 ./bin/tests/system/dnssec/README TXT.BRIEF 2000,2001,2002,2004 -./bin/tests/system/dnssec/clean.sh SH 2000,2001,2002,2004,2007,2008,2009 +./bin/tests/system/dnssec/clean.sh SH 2000,2001,2002,2004,2007,2008,2009,2010 ./bin/tests/system/dnssec/dnssec_update_test.pl PERL 2002,2004,2007 ./bin/tests/system/dnssec/ns1/.cvsignore X 2000,2001 ./bin/tests/system/dnssec/ns1/named.conf CONF-C 2000,2001,2004,2006,2007 @@ -705,6 +705,7 @@ ./bin/tests/system/dnssec/ns7/named.conf CONF-C 2006,2008 ./bin/tests/system/dnssec/prereq.sh SH 2000,2001,2002,2004,2006,2007,2009 ./bin/tests/system/dnssec/setup.sh SH 2000,2001,2004,2007,2009 +./bin/tests/system/dnssec/signer/example.db.in ZONE 2010 ./bin/tests/system/dnssec/tests.sh SH 2000,2001,2002,2004,2005,2006,2007,2008,2009,2010 ./bin/tests/system/forward/clean.sh SH 2000,2001,2004,2007 ./bin/tests/system/forward/ns1/.cvsignore X 2000,2001 @@ -2323,7 +2324,7 @@ ./lib/isc/include/isc/ondestroy.h C 2000,2001,2004,2005,2006,2007 ./lib/isc/include/isc/os.h C 2000,2001,2004,2005,2006,2007 ./lib/isc/include/isc/parseint.h C 2001,2002,2004,2005,2006,2007 -./lib/isc/include/isc/platform.h.in C 1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009 +./lib/isc/include/isc/platform.h.in C 1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010 ./lib/isc/include/isc/portset.h C 2008,2009 ./lib/isc/include/isc/print.h C 1999,2000,2001,2003,2004,2005,2006,2007 ./lib/isc/include/isc/quota.h C 2000,2001,2004,2005,2007 From 6e13ffa21813940f09389f2e9a2d14e7dd3516d9 Mon Sep 17 00:00:00 2001 From: Automatic Updater Date: Thu, 3 Jun 2010 23:51:05 +0000 Subject: [PATCH 08/65] update copyright notice --- bin/dnssec/dnssec-signzone.c | 38 +++++++++++++++---------------- bin/tests/system/dnssec/clean.sh | 4 ++-- lib/isc/include/isc/platform.h.in | 4 ++-- 3 files changed, 23 insertions(+), 23 deletions(-) diff --git a/bin/dnssec/dnssec-signzone.c b/bin/dnssec/dnssec-signzone.c index 96b896d507..390748cbed 100644 --- a/bin/dnssec/dnssec-signzone.c +++ b/bin/dnssec/dnssec-signzone.c @@ -29,7 +29,7 @@ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: dnssec-signzone.c,v 1.261 2010/06/03 03:13:31 marka Exp $ */ +/* $Id: dnssec-signzone.c,v 1.262 2010/06/03 23:51:04 tbox Exp $ */ /*! \file */ @@ -2112,9 +2112,9 @@ nsecify(void) { check_result(result, "dns_dbiterator_next()"); dns_db_detachnode(gdb, &node); continue; - } + } - if (dns_name_equal(name, gorigin)) + if (dns_name_equal(name, gorigin)) remove_records(node, dns_rdatatype_nsec3param); if (delegation(name, node, &nsttl)) { @@ -2516,21 +2516,21 @@ nsec3ify(unsigned int hashalg, unsigned int iterations, while (!done) { result = dns_dbiterator_current(dbiter, &node, name); check_dns_dbiterator_current(result); - /* - * Skip out-of-zone records. - */ - if (!dns_name_issubdomain(name, gorigin)) { - result = dns_dbiterator_next(dbiter); - if (result == ISC_R_NOMORE) - done = ISC_TRUE; - else - check_result(result, "dns_dbiterator_next()"); - dns_db_detachnode(gdb, &node); - continue; - } - - if (dns_name_equal(name, gorigin)) - remove_records(node, dns_rdatatype_nsec); + /* + * Skip out-of-zone records. + */ + if (!dns_name_issubdomain(name, gorigin)) { + result = dns_dbiterator_next(dbiter); + if (result == ISC_R_NOMORE) + done = ISC_TRUE; + else + check_result(result, "dns_dbiterator_next()"); + dns_db_detachnode(gdb, &node); + continue; + } + + if (dns_name_equal(name, gorigin)) + remove_records(node, dns_rdatatype_nsec); result = dns_dbiterator_next(dbiter); nextnode = NULL; @@ -2659,7 +2659,7 @@ nsec3ify(unsigned int hashalg, unsigned int iterations, check_result(result, "dns_dbiterator_next()"); dns_db_detachnode(gdb, &node); continue; - } + } result = dns_dbiterator_next(dbiter); nextnode = NULL; while (result == ISC_R_SUCCESS) { diff --git a/bin/tests/system/dnssec/clean.sh b/bin/tests/system/dnssec/clean.sh index 0842eeaa7d..d8b338829c 100644 --- a/bin/tests/system/dnssec/clean.sh +++ b/bin/tests/system/dnssec/clean.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright (C) 2004, 2007-2009 Internet Systems Consortium, Inc. ("ISC") +# Copyright (C) 2004, 2007-2010 Internet Systems Consortium, Inc. ("ISC") # Copyright (C) 2000-2002 Internet Software Consortium. # # Permission to use, copy, modify, and/or distribute this software for any @@ -15,7 +15,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: clean.sh,v 1.26 2010/06/03 03:13:32 marka Exp $ +# $Id: clean.sh,v 1.27 2010/06/03 23:51:05 tbox Exp $ rm -f */K* */keyset-* */dsset-* */dlvset-* */signedkey-* */*.signed */trusted.conf */tmp* */*.jnl */*.bk rm -f ns1/root.db ns2/example.db ns3/secure.example.db diff --git a/lib/isc/include/isc/platform.h.in b/lib/isc/include/isc/platform.h.in index c392bb2bfd..02b8d868c6 100644 --- a/lib/isc/include/isc/platform.h.in +++ b/lib/isc/include/isc/platform.h.in @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2003 Internet Software Consortium. * * Permission to use, copy, modify, and/or distribute this software for any @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: platform.h.in,v 1.54 2010/06/03 02:27:11 marka Exp $ */ +/* $Id: platform.h.in,v 1.55 2010/06/03 23:51:05 tbox Exp $ */ #ifndef ISC_PLATFORM_H #define ISC_PLATFORM_H 1 From 5ee4d3f2ee297b719189dc1fd4c537edf8ef5bb0 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Fri, 4 Jun 2010 00:04:39 +0000 Subject: [PATCH 09/65] iterations is -H --- bin/tests/system/dnssec/tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/tests/system/dnssec/tests.sh b/bin/tests/system/dnssec/tests.sh index 75e38cabd8..3cd05ee357 100644 --- a/bin/tests/system/dnssec/tests.sh +++ b/bin/tests/system/dnssec/tests.sh @@ -15,7 +15,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: tests.sh,v 1.60 2010/06/03 21:44:49 marka Exp $ +# $Id: tests.sh,v 1.61 2010/06/04 00:04:39 marka Exp $ SYSTEMTESTTOP=.. . $SYSTEMTESTTOP/conf.sh @@ -927,7 +927,7 @@ zone=example key1=`$KEYGEN -r $RANDFILE -a NSEC3RSASHA1 -b 1024 -n zone $zone` key2=`$KEYGEN -r $RANDFILE -f KSK -a NSEC3RSASHA1 -b 1024 -n zone $zone` cat example.db.in $key1.key $key2.key > example.db -$SIGNER -3 - -i 10 -o example -f example.db example.db > /dev/null 2>&1 +$SIGNER -3 - -H 10 -o example -f example.db example.db > /dev/null 2>&1 grep "IQF9LQTLKKNFK0KVIFELRAK4IC4QLTMG.example. 0 IN NSEC3 1 0 10 - IQF9LQTLKKNFK0KVIFELRAK4IC4QLTMG A NS SOA RRSIG DNSKEY NSEC3PARAM" example.db > /dev/null ) || ret=1 if [ $ret != 0 ]; then echo "I:failed"; fi From ec58c4ca54b49be2dd2e8cd8a8e3837c172b5df0 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Fri, 4 Jun 2010 00:12:54 +0000 Subject: [PATCH 10/65] remove trailing comma --- lib/dns/include/dns/diff.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dns/include/dns/diff.h b/lib/dns/include/dns/diff.h index a3b969630b..edef145fe0 100644 --- a/lib/dns/include/dns/diff.h +++ b/lib/dns/include/dns/diff.h @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: diff.h,v 1.17 2009/01/17 23:47:43 tbox Exp $ */ +/* $Id: diff.h,v 1.18 2010/06/04 00:12:54 marka Exp $ */ #ifndef DNS_DIFF_H #define DNS_DIFF_H 1 @@ -70,7 +70,7 @@ typedef enum { DNS_DIFFOP_DEL = 1, /*%< Delete an RR. */ DNS_DIFFOP_EXISTS = 2, /*%< Assert RR existence. */ DNS_DIFFOP_ADDRESIGN = 4, /*%< ADD + RESIGN. */ - DNS_DIFFOP_DELRESIGN = 5, /*%< DEL + RESIGN. */ + DNS_DIFFOP_DELRESIGN = 5 /*%< DEL + RESIGN. */ } dns_diffop_t; typedef struct dns_difftuple dns_difftuple_t; From a694635ee91948a7618063b6fdc2101265f1c793 Mon Sep 17 00:00:00 2001 From: Automatic Updater Date: Fri, 4 Jun 2010 00:20:50 +0000 Subject: [PATCH 11/65] update --- doc/private/SRCID | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/private/SRCID b/doc/private/SRCID index 9939f0d380..deecdd9dd8 100644 --- a/doc/private/SRCID +++ b/doc/private/SRCID @@ -1,6 +1,6 @@ -# $Id: SRCID,v 1.269 2010/06/03 22:18:48 tbox Exp $ +# $Id: SRCID,v 1.270 2010/06/04 00:20:50 tbox Exp $ # # This file must follow /bin/sh rules. It is imported directly via # configure. # -SRCID="( $Date: 2010/06/03 22:18:48 $ )" +SRCID="( $Date: 2010/06/04 00:20:50 $ )" From 478d64f58f5ce7a5e3ea08426d72faca8427c96d Mon Sep 17 00:00:00 2001 From: Automatic Updater Date: Fri, 4 Jun 2010 23:31:43 +0000 Subject: [PATCH 12/65] newcopyrights --- util/copyrights | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/copyrights b/util/copyrights index 46a5f3eb2d..abe20dd3ed 100644 --- a/util/copyrights +++ b/util/copyrights @@ -1898,7 +1898,7 @@ ./lib/dns/include/dns/db.h C 1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009 ./lib/dns/include/dns/dbiterator.h C 1999,2000,2001,2004,2005,2006,2007 ./lib/dns/include/dns/dbtable.h C 1999,2000,2001,2004,2005,2006,2007 -./lib/dns/include/dns/diff.h C 2000,2001,2004,2005,2006,2007,2008,2009 +./lib/dns/include/dns/diff.h C 2000,2001,2004,2005,2006,2007,2008,2009,2010 ./lib/dns/include/dns/dispatch.h C 1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009 ./lib/dns/include/dns/dlz.h C.PORTION 1999,2000,2001,2005,2006,2007,2009 ./lib/dns/include/dns/dnssec.h C 1999,2000,2001,2002,2004,2005,2006,2007,2009,2010 From 3f2280d2fc4d72ec6d5c18716432d92f0d9149a0 Mon Sep 17 00:00:00 2001 From: Automatic Updater Date: Fri, 4 Jun 2010 23:51:14 +0000 Subject: [PATCH 13/65] update copyright notice --- lib/dns/include/dns/diff.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dns/include/dns/diff.h b/lib/dns/include/dns/diff.h index edef145fe0..d522feb6f9 100644 --- a/lib/dns/include/dns/diff.h +++ b/lib/dns/include/dns/diff.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 2000, 2001 Internet Software Consortium. * * Permission to use, copy, modify, and/or distribute this software for any @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: diff.h,v 1.18 2010/06/04 00:12:54 marka Exp $ */ +/* $Id: diff.h,v 1.19 2010/06/04 23:51:14 tbox Exp $ */ #ifndef DNS_DIFF_H #define DNS_DIFF_H 1 From e0cc71935af436142abd16fcdeb55c098b5632b7 Mon Sep 17 00:00:00 2001 From: Automatic Updater Date: Sat, 5 Jun 2010 00:20:59 +0000 Subject: [PATCH 14/65] update --- doc/private/SRCID | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/private/SRCID b/doc/private/SRCID index deecdd9dd8..c1bc3d6406 100644 --- a/doc/private/SRCID +++ b/doc/private/SRCID @@ -1,6 +1,6 @@ -# $Id: SRCID,v 1.270 2010/06/04 00:20:50 tbox Exp $ +# $Id: SRCID,v 1.271 2010/06/05 00:20:59 tbox Exp $ # # This file must follow /bin/sh rules. It is imported directly via # configure. # -SRCID="( $Date: 2010/06/04 00:20:50 $ )" +SRCID="( $Date: 2010/06/05 00:20:59 $ )" From 63af1a646a006867dbd99dc0aa74559d832a420f Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Mon, 7 Jun 2010 03:42:37 +0000 Subject: [PATCH 15/65] 2913. [func] Add pkcs#11 system tests. [RT #20784] --- CHANGES | 2 + bin/tests/system/cleanpkcs11.sh | 21 +++++++ bin/tests/system/conf.sh.in | 16 +++-- bin/tests/system/pkcs11/clean.sh | 21 +++++++ bin/tests/system/pkcs11/ns1/example.db.in | 13 ++++ bin/tests/system/pkcs11/ns1/named.conf | 46 +++++++++++++++ bin/tests/system/pkcs11/prereq.sh | 27 +++++++++ bin/tests/system/pkcs11/setup.sh | 40 +++++++++++++ bin/tests/system/pkcs11/tests.sh | 72 +++++++++++++++++++++++ bin/tests/system/pkcs11/usepkcs11 | 1 + bin/tests/system/run.sh | 14 ++++- lib/tests/include/tests/t_api.h | 3 +- lib/tests/t_api.c | 5 +- 13 files changed, 272 insertions(+), 9 deletions(-) create mode 100644 bin/tests/system/cleanpkcs11.sh create mode 100644 bin/tests/system/pkcs11/clean.sh create mode 100644 bin/tests/system/pkcs11/ns1/example.db.in create mode 100644 bin/tests/system/pkcs11/ns1/named.conf create mode 100644 bin/tests/system/pkcs11/prereq.sh create mode 100644 bin/tests/system/pkcs11/setup.sh create mode 100644 bin/tests/system/pkcs11/tests.sh create mode 100644 bin/tests/system/pkcs11/usepkcs11 diff --git a/CHANGES b/CHANGES index db87ed2d74..eba165c6a5 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,5 @@ +2913. [func] Add pkcs#11 system tests. [RT #20784] + 2912. [func] Windows clients don't like UPDATE responses that clear the zone section. [RT #20986] diff --git a/bin/tests/system/cleanpkcs11.sh b/bin/tests/system/cleanpkcs11.sh new file mode 100644 index 0000000000..986175d0d6 --- /dev/null +++ b/bin/tests/system/cleanpkcs11.sh @@ -0,0 +1,21 @@ +#!/bin/sh +# +# Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC") +# +# Permission to use, copy, modify, and/or distribute this software for any +# purpose with or without fee is hereby granted, provided that the above +# copyright notice and this permission notice appear in all copies. +# +# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH +# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, +# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE +# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +# PERFORMANCE OF THIS SOFTWARE. + +# $Id: cleanpkcs11.sh,v 1.2 2010/06/07 03:42:37 marka Exp $ + +if [ ! -x ../../pkcs11/pkcs11-destroy ]; then exit 1; fi + +../../pkcs11/pkcs11-destroy -s 0 -p 1234 diff --git a/bin/tests/system/conf.sh.in b/bin/tests/system/conf.sh.in index 5eb94c9a8f..8da20c84c8 100644 --- a/bin/tests/system/conf.sh.in +++ b/bin/tests/system/conf.sh.in @@ -15,7 +15,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: conf.sh.in,v 1.46 2010/05/26 06:28:00 marka Exp $ +# $Id: conf.sh.in,v 1.47 2010/06/07 03:42:37 marka Exp $ # # Common configuration data for system tests, to be sourced into @@ -37,23 +37,27 @@ RNDC=$TOP/bin/rndc/rndc NSUPDATE=$TOP/bin/nsupdate/nsupdate DDNSCONFGEN=$TOP/bin/confgen/ddns-confgen KEYGEN=$TOP/bin/dnssec/dnssec-keygen +KEYFRLAB=$TOP/bin/dnssec/dnssec-keyfromlabel SIGNER=$TOP/bin/dnssec/dnssec-signzone REVOKE=$TOP/bin/dnssec/dnssec-revoke SETTIME=$TOP/bin/dnssec/dnssec-settime DSFROMKEY=$TOP/bin/dnssec/dnssec-dsfromkey CHECKZONE=$TOP/bin/check/named-checkzone CHECKCONF=$TOP/bin/check/named-checkconf +PK11GEN="$TOP/bin/pkcs11/pkcs11-keygen -s 0 -p 1234" +PK11LIST="$TOP/bin/pkcs11/pkcs11-list -s 0 -p 1234" +PK11DEL="$TOP/bin/pkcs11/pkcs11-destroy -s 0 -p 1234" # The "stress" test is not run by default since it creates enough # load on the machine to make it unusable to other users. # v6synth SUBDIRS="acl autosign cacheclean checkconf checknames dlv dnssec forward glue - ixfr limits lwresd masterfile masterformat metadata notify nsupdate pending - resolver rrsetorder sortlist smartsign stub tkey unknown upforwd views - xfer xferquota zonechecks" + ixfr limits lwresd masterfile masterformat metadata notify nsupdate + pending pkcs11 resolver rrsetorder sortlist smartsign stub tkey + unknown upforwd views xfer xferquota zonechecks" # PERL will be an empty string if no perl interpreter was found. PERL=@PERL@ -export NAMED LWRESD DIG NSUPDATE KEYGEN SIGNER KEYSIGNER KEYSETTOOL PERL \ - SUBDIRS RNDC CHECKZONE +export NAMED LWRESD DIG NSUPDATE KEYGEN KEYFRLAB SIGNER KEYSIGNER KEYSETTOOL \ + PERL SUBDIRS RNDC CHECKZONE PK11GEN PK11LIST PK11DEL diff --git a/bin/tests/system/pkcs11/clean.sh b/bin/tests/system/pkcs11/clean.sh new file mode 100644 index 0000000000..ec7abba4d3 --- /dev/null +++ b/bin/tests/system/pkcs11/clean.sh @@ -0,0 +1,21 @@ +#!/bin/sh +# +# Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC") +# +# Permission to use, copy, modify, and/or distribute this software for any +# purpose with or without fee is hereby granted, provided that the above +# copyright notice and this permission notice appear in all copies. +# +# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH +# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, +# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE +# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +# PERFORMANCE OF THIS SOFTWARE. + +# $Id: clean.sh,v 1.2 2010/06/07 03:42:37 marka Exp $ + +rm -f K* ns1/K* keyset-* dsset-* ns1/*.db ns1/*.signed ns1/*.jnl +rm -f dig.out random.data +rm -f ns1/key ns1/named.memstats diff --git a/bin/tests/system/pkcs11/ns1/example.db.in b/bin/tests/system/pkcs11/ns1/example.db.in new file mode 100644 index 0000000000..f26494d19e --- /dev/null +++ b/bin/tests/system/pkcs11/ns1/example.db.in @@ -0,0 +1,13 @@ +$TTL 300 ; 5 minutes +@ IN SOA ns root ( + 2000082401 ; serial + 1800 ; refresh (30 minutes) + 1800 ; retry (30 minutes) + 1814400 ; expire (3 weeks) + 3600 ; minimum (1 hour) + ) + NS ns +ns A 10.53.0.1 + +txt TXT "recursed" + diff --git a/bin/tests/system/pkcs11/ns1/named.conf b/bin/tests/system/pkcs11/ns1/named.conf new file mode 100644 index 0000000000..587010b2d3 --- /dev/null +++ b/bin/tests/system/pkcs11/ns1/named.conf @@ -0,0 +1,46 @@ +/* + * Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC") + * + * Permission to use, copy, modify, and/or distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH + * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, + * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE + * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + * PERFORMANCE OF THIS SOFTWARE. + */ + +/* $Id: named.conf,v 1.2 2010/06/07 03:42:37 marka Exp $ */ + +controls { /* empty */ }; + +options { + query-source address 10.53.0.1; + notify-source 10.53.0.1; + transfer-source 10.53.0.1; + port 5300; + pid-file "named.pid"; + listen-on { 10.53.0.1; }; + listen-on-v6 { none; }; + recursion no; + notify no; +}; + +key rndc_key { + secret "1234abcd8765"; + algorithm hmac-md5; +}; + +controls { + inet 10.53.0.1 port 9953 allow { any; } keys { rndc_key; }; +}; + +zone "example." { + type master; + file "example.db.signed"; + allow-update { any; }; +}; diff --git a/bin/tests/system/pkcs11/prereq.sh b/bin/tests/system/pkcs11/prereq.sh new file mode 100644 index 0000000000..93f3e6c61f --- /dev/null +++ b/bin/tests/system/pkcs11/prereq.sh @@ -0,0 +1,27 @@ +#!/bin/sh +# +# Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC") +# +# Permission to use, copy, modify, and/or distribute this software for any +# purpose with or without fee is hereby granted, provided that the above +# copyright notice and this permission notice appear in all copies. +# +# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH +# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, +# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE +# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +# PERFORMANCE OF THIS SOFTWARE. + +# $Id: prereq.sh,v 1.2 2010/06/07 03:42:37 marka Exp $ + +../../../tools/genrandom 400 random.data + +if $KEYGEN -q -a RSAMD5 -b 512 -n zone -r random.data foo > /dev/null 2>&1 +then + rm -f Kfoo* +else + echo "I:This test requires that --with-openssl was used." >&2 + exit 1 +fi diff --git a/bin/tests/system/pkcs11/setup.sh b/bin/tests/system/pkcs11/setup.sh new file mode 100644 index 0000000000..0816be6e98 --- /dev/null +++ b/bin/tests/system/pkcs11/setup.sh @@ -0,0 +1,40 @@ +#!/bin/sh +# +# Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC") +# +# Permission to use, copy, modify, and/or distribute this software for any +# purpose with or without fee is hereby granted, provided that the above +# copyright notice and this permission notice appear in all copies. +# +# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH +# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, +# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE +# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +# PERFORMANCE OF THIS SOFTWARE. + +# $Id: setup.sh,v 1.2 2010/06/07 03:42:37 marka Exp $ + +SYSTEMTESTTOP=.. +. $SYSTEMTESTTOP/conf.sh + +RANDFILE=random.data + +zone=example +infile=ns1/example.db.in +zonefile=ns1/example.db + +$PK11GEN -b 1024 -l robie-zsk1 -i 01 +$PK11GEN -b 1024 -l robie-zsk2 -i 02 +$PK11GEN -b 2048 -l robie-ksk + +zsk1=`$KEYFRLAB -a RSASHA1 -l robie-zsk1 example` +zsk2=`$KEYFRLAB -a RSASHA1 -l robie-zsk2 example` +ksk=`$KEYFRLAB -a RSASHA1 -f ksk -l robie-ksk example` + +cat $infile $zsk1.key $ksk.key > $zonefile +$SIGNER -a -P -g -r $RANDFILE -o $zone $zonefile > /dev/null 2>&1 + +cp $zsk2.key ns1/key +mv Kexample* ns1 diff --git a/bin/tests/system/pkcs11/tests.sh b/bin/tests/system/pkcs11/tests.sh new file mode 100644 index 0000000000..f05331ecea --- /dev/null +++ b/bin/tests/system/pkcs11/tests.sh @@ -0,0 +1,72 @@ +#!/bin/sh +# +# Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC") +# +# Permission to use, copy, modify, and/or distribute this software for any +# purpose with or without fee is hereby granted, provided that the above +# copyright notice and this permission notice appear in all copies. +# +# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH +# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, +# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE +# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +# PERFORMANCE OF THIS SOFTWARE. + +# $Id: tests.sh,v 1.2 2010/06/07 03:42:37 marka Exp $ + +SYSTEMTESTTOP=.. +. $SYSTEMTESTTOP/conf.sh + +RANDFILE=random.data + +DIGOPTS="+tcp +noadd +nosea +nostat +nocmd +dnssec -p 5300" + +status=0 +ret=0 + +zonefile=ns1/example.db + +echo "I:testing PKCS#11 key generation" + +count=`$PK11LIST | grep robie-ksk | wc -l` +if [ $count != 2 ]; then echo "I:failed"; status=1; fi + +echo "I:testing offline signing with PKCS#11 keys" + +count=`grep RRSIG $zonefile.signed | wc -l` +if [ $count != 12 ]; then echo "I:failed"; status=1; fi + +echo "I:testing inline signing with PKCS#11 keys" + +$NSUPDATE > /dev/null < dig.out || ret=1 +if [ $ret != 0 ]; then echo "I:failed"; fi +status=`expr $status + $ret` +count=`grep RRSIG dig.out | wc -l` +if [ $count != 4 ]; then echo "I:failed"; status=1; fi + +echo "I:testing PKCS#11 key destroy" + +ret=0 +$PK11DEL -l robie-zsk1 || ret=1 +$PK11DEL -i 02 || ret=1 +if [ $ret != 0 ]; then echo "I:failed"; fi +status=`expr $status + $ret` +count=`$PK11LIST | grep robie-zsk | wc -l` +if [ $count != 0 ]; then echo "I:failed"; fi +status=`expr $status + $count` + +echo "I:exit status: $status" +exit $status diff --git a/bin/tests/system/pkcs11/usepkcs11 b/bin/tests/system/pkcs11/usepkcs11 new file mode 100644 index 0000000000..ef4641287c --- /dev/null +++ b/bin/tests/system/pkcs11/usepkcs11 @@ -0,0 +1 @@ +This test relies on PKCS#11! diff --git a/bin/tests/system/run.sh b/bin/tests/system/run.sh index 8d4a6ad951..fbca93b342 100644 --- a/bin/tests/system/run.sh +++ b/bin/tests/system/run.sh @@ -15,7 +15,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: run.sh,v 1.42 2007/06/19 23:47:00 tbox Exp $ +# $Id: run.sh,v 1.43 2010/06/07 03:42:37 marka Exp $ # # Run a system test. @@ -70,6 +70,18 @@ else exit 0 fi +# Check for PKCS#11 support +if + test ! -f $test/usepkcs11 || sh cleanpkcs11.sh +then + : pkcs11 ok +else + echo "I:Need PKCS#11 for $test, skipping test." >&2 + echo "R:PKCS11ONLY" >&2 + echo "E:$test:`date`" >&2 + exit 0 +fi + # Set up any dynamically generated test data if test -f $test/setup.sh then diff --git a/lib/tests/include/tests/t_api.h b/lib/tests/include/tests/t_api.h index b1769e3d2b..3c3893ef43 100644 --- a/lib/tests/include/tests/t_api.h +++ b/lib/tests/include/tests/t_api.h @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: t_api.h,v 1.22 2007/06/19 23:47:24 tbox Exp $ */ +/* $Id: t_api.h,v 1.23 2010/06/07 03:42:37 marka Exp $ */ #ifndef TESTS_T_API_H #define TESTS_T_API_H 1 @@ -40,6 +40,7 @@ #define T_UNSUPPORTED 0x4 #define T_UNTESTED 0x5 #define T_THREADONLY 0x6 +#define T_PKCS11ONLY 0x7 /* * diff --git a/lib/tests/t_api.c b/lib/tests/t_api.c index 07f06390fd..89dbfbfdda 100644 --- a/lib/tests/t_api.c +++ b/lib/tests/t_api.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: t_api.c,v 1.65 2009/03/02 23:47:43 tbox Exp $ */ +/* $Id: t_api.c,v 1.66 2010/06/07 03:42:37 marka Exp $ */ /*! \file */ @@ -400,6 +400,9 @@ t_result(int result) { case T_THREADONLY: p = "THREADONLY"; break; + case T_PKCS11ONLY: + p = "PKCS11ONLY"; + break; default: p = "UNKNOWN"; break; From cb1aaddd1997700e39e8c99aa195dd339285cdcb Mon Sep 17 00:00:00 2001 From: Automatic Updater Date: Mon, 7 Jun 2010 04:24:40 +0000 Subject: [PATCH 16/65] update --- doc/private/SRCID | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/private/SRCID b/doc/private/SRCID index c1bc3d6406..cc18aea5cf 100644 --- a/doc/private/SRCID +++ b/doc/private/SRCID @@ -1,6 +1,6 @@ -# $Id: SRCID,v 1.271 2010/06/05 00:20:59 tbox Exp $ +# $Id: SRCID,v 1.272 2010/06/07 04:24:40 tbox Exp $ # # This file must follow /bin/sh rules. It is imported directly via # configure. # -SRCID="( $Date: 2010/06/05 00:20:59 $ )" +SRCID="( $Date: 2010/06/07 04:24:40 $ )" From e24ccb512c110d181e01f977196e518b0e72e451 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Mon, 7 Jun 2010 04:45:43 +0000 Subject: [PATCH 17/65] 2914. [bug] Make the "autosign" system test more portable. [RT #20997] --- CHANGES | 3 + .../system/autosign/ns2/Xbar.+005+30676.key | 5 + .../autosign/ns2/Xbar.+005+30676.private | 13 + .../system/autosign/ns2/Xbar.+005+30804.key | 5 + .../autosign/ns2/Xbar.+005+30804.private | 13 + bin/tests/system/autosign/ns2/keygen.sh | 8 +- bin/tests/system/autosign/ns2/revkeys.shar | 231 ------------------ bin/tests/system/autosign/tests.sh | 39 ++- 8 files changed, 73 insertions(+), 244 deletions(-) create mode 100644 bin/tests/system/autosign/ns2/Xbar.+005+30676.key create mode 100644 bin/tests/system/autosign/ns2/Xbar.+005+30676.private create mode 100644 bin/tests/system/autosign/ns2/Xbar.+005+30804.key create mode 100644 bin/tests/system/autosign/ns2/Xbar.+005+30804.private delete mode 100644 bin/tests/system/autosign/ns2/revkeys.shar diff --git a/CHANGES b/CHANGES index eba165c6a5..562c3d45ec 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +2914. [bug] Make the "autosign" system test more portable. + [RT #20997] + 2913. [func] Add pkcs#11 system tests. [RT #20784] 2912. [func] Windows clients don't like UPDATE responses that clear diff --git a/bin/tests/system/autosign/ns2/Xbar.+005+30676.key b/bin/tests/system/autosign/ns2/Xbar.+005+30676.key new file mode 100644 index 0000000000..7428d5caf7 --- /dev/null +++ b/bin/tests/system/autosign/ns2/Xbar.+005+30676.key @@ -0,0 +1,5 @@ +; This is a key-signing key, keyid 30676, for bar. +; Created: Sat Dec 26 03:13:10 2009 +; Publish: Sat Dec 26 03:13:10 2009 +; Activate: Sat Dec 26 03:13:10 2009 +bar. IN DNSKEY 257 3 5 AwEAAc7ppysDZjlldTwsvcXcTTOYJd5TvW5RUWWYKRsee+ozwY6C7vNI 0Xp1PiY+H31GhcnNMCjQU00y8Vezo42oJ4kpRTDevL0STksExXi1/wG+ M4j1CFMh2wgJ/9XLFzHaEWzt4sflVBAVZVXa/qNkRWDXYjsr30MWyylA wHCIxEuyA+NxAL6UL+ZuFo1j84AvfwkGcMbXTcOBSCaHT6AJToSXAcCa X4fnKJIzG4RyJoN2GK4TVdj4qSzLxL1lRkYHNqJvcmMjezxUs9A5fHNI iBEBRPs7NKrQJxegAGVn9ALylKHyhJW6uyBjleOWUDom4ej2J1vGrpQT /KCA35toCvU= diff --git a/bin/tests/system/autosign/ns2/Xbar.+005+30676.private b/bin/tests/system/autosign/ns2/Xbar.+005+30676.private new file mode 100644 index 0000000000..dcc0fbdf17 --- /dev/null +++ b/bin/tests/system/autosign/ns2/Xbar.+005+30676.private @@ -0,0 +1,13 @@ +Private-key-format: v1.3 +Algorithm: 5 (RSASHA1) +Modulus: zumnKwNmOWV1PCy9xdxNM5gl3lO9blFRZZgpGx576jPBjoLu80jRenU+Jj4ffUaFyc0wKNBTTTLxV7OjjagniSlFMN68vRJOSwTFeLX/Ab4ziPUIUyHbCAn/1csXMdoRbO3ix+VUEBVlVdr+o2RFYNdiOyvfQxbLKUDAcIjES7ID43EAvpQv5m4WjWPzgC9/CQZwxtdNw4FIJodPoAlOhJcBwJpfh+cokjMbhHImg3YYrhNV2PipLMvEvWVGRgc2om9yYyN7PFSz0Dl8c0iIEQFE+zs0qtAnF6AAZWf0AvKUofKElbq7IGOV45ZQOibh6PYnW8aulBP8oIDfm2gK9Q== +PublicExponent: AQAB +PrivateExponent: BcfjYsFCjuH1x4ucdbW09ncOv8ppJXbiJkt9AoP0hFOT2c5wrJ1hNOGnrdvYd2CMBlpUOR+w5BxDP+cF78Q97ogXpcjjTwj+5PuqJLg4+qx8thvacrAkdXIKEsgMytjD2d4/ksQmeBiQ7zgiGyCHC7CYzvxnzXEKlgl4FuzLRy4SH1YiSTxKfw1ANKKHxmw8Xvav9ljubrzNdBEQNs6eJNkC6c3aGqiPFyTWGa90s6t1mwTXSxFqBUR1WlbfyYfuiAK2CAvFHeNo7VuC934ri7ceEq8jeOSuY0IqDq2pA3gVWVOyR4NFLXJWeDA3pjqi109t/WGg9IGydD/hsleP4Q== +Prime1: /hz+WxAL+9bO1l/857ME/OhxImSp86Xi7eA920sAo5ukOIQAQ6hbaKemYxyUbwBmGHEX9d0GOU+xAgZWUU9PbZgXw0fdf+uw6Hrgfce0rWY+uJpUcVHfjLPFgMC/XYrfcVQ8tsCXqRsIbqL+ynsEkQ4vybLhlSAyFqGqYFk/Qt0= +Prime2: 0HLxXynoSxUcNW15cbuMRHD34ri8sUQsqCtezofPWcCo/17jqf42W7X9YGO70+BvmG3awSr3LaLf862ovCR5+orwE2MqamAV6JZMyR7nvMNGSHTdg3Kk7Jv7T5Gu7Cg6K+on8pMRW3aIms4gs/Z16j0Gxz74ES9IP3vsvC+q6vk= +Exponent1: NLeXHRUrJ0fdCSRIt1iwRDeEoPn5OA7GEUtgCcp5i3eSjhb0ZxTaQc/l+NHJCW4vwApWSi9cRy99LUpbResKM1ZGN8EE9rDStqgnQnDXztFTWcDKm+e8VNhGtPtHuARDbqNnJRK3Y+Gz0iAGc8Mpo14qE9IEcoeHXKKVUf+x3BE= +Exponent2: dKCbJB+SdM/u5IXH+TZyGKkMSLIMATKfucfqV6vs+86rv5Yb0zUEvPNqPNAQe0+LoMF2L7YWblY+71wumHXgOaobAP3u8W2pVGUjuTOtfRPU8x1QAwfV9vye87oTINaxFXkBuNtITuBXNiY2bfprpw9WB4zXxuWpiruPjQsumiE= +Coefficient: qk8HX5fy74Sx6z3niBfTM/SUEjcsnJCTTmsXy6e7nOXWBK5ihKkmMw7LDhaY4OwjXvaVQH0Z190dfyOkWYTbXInIyNNnqCD+xZXkuzuvsUwLNgvXEFhVnzrrj3ozNiizZsyeAhFCKcITz3ci15HB3y8ZLChGYBPFU1ui7MsSkc8= +Created: 20091226021310 +Publish: 20091226021310 +Activate: 20091226021310 diff --git a/bin/tests/system/autosign/ns2/Xbar.+005+30804.key b/bin/tests/system/autosign/ns2/Xbar.+005+30804.key new file mode 100644 index 0000000000..ab53d8c607 --- /dev/null +++ b/bin/tests/system/autosign/ns2/Xbar.+005+30804.key @@ -0,0 +1,5 @@ +; This is a key-signing key, keyid 30804, for bar. +; Created: Sat Dec 26 03:13:10 2009 +; Publish: Sat Dec 26 03:13:10 2009 +; Activate: Sat Dec 26 03:13:10 2009 +bar. IN DNSKEY 257 3 5 AwEAgc7ppysDZjlldTwsvcXcTTOYJd5TvW5RUWWYKRsee+ozwY6C7vNI 0Xp1PiY+H31GhcnNMCjQU00y8Vezo42oJ4kpRTDevL0STksExXi1/wG+ M4j1CFMh2wgJ/9XLFzHaEWzt4sflVBAVZVXa/qNkRWDXYjsr30MWyylA wHCIxEuyA+NxAL6UL+ZuFo1j84AvfwkGcMbXTcOBSCaHT6AJToSXAcCa X4fnKJIzG4RyJoN2GK4TVdj4qSzLxL1lRkYHNqJvcmMjezxUs9A5fHNI iBEBRPs7NKrQJxegAGVn9ALylKHyhJW6uyBjleOWUDom4ej2J1vGrpQT /KCA35toCvU= diff --git a/bin/tests/system/autosign/ns2/Xbar.+005+30804.private b/bin/tests/system/autosign/ns2/Xbar.+005+30804.private new file mode 100644 index 0000000000..79f8d3b4cf --- /dev/null +++ b/bin/tests/system/autosign/ns2/Xbar.+005+30804.private @@ -0,0 +1,13 @@ +Private-key-format: v1.3 +Algorithm: 5 (RSASHA1) +Modulus: zumnKwNmOWV1PCy9xdxNM5gl3lO9blFRZZgpGx576jPBjoLu80jRenU+Jj4ffUaFyc0wKNBTTTLxV7OjjagniSlFMN68vRJOSwTFeLX/Ab4ziPUIUyHbCAn/1csXMdoRbO3ix+VUEBVlVdr+o2RFYNdiOyvfQxbLKUDAcIjES7ID43EAvpQv5m4WjWPzgC9/CQZwxtdNw4FIJodPoAlOhJcBwJpfh+cokjMbhHImg3YYrhNV2PipLMvEvWVGRgc2om9yYyN7PFSz0Dl8c0iIEQFE+zs0qtAnF6AAZWf0AvKUofKElbq7IGOV45ZQOibh6PYnW8aulBP8oIDfm2gK9Q== +PublicExponent: AQCB +PrivateExponent: I5TcRq2sbSi1u5a+jL6VVBBu3nyY7p3NXeD1WYYYD66b8RWbgJdTtsZxgixD5sKKrW/xT68d3FUsIjs36w7yp5+g99q7lJ3v35VcMuLXbaKitS/LJdTZF/GIWwRs+DHdt+chh0QeNLzclq8ZfBeTAycFxwC7zVDLsqqcL6/JHiJhHT+dNEqj6/AIOgSYJzVeBI34LtZLW94IKf4dHLzREnLK6+64PFjpwjOG12O9klKfwHRIRN9WUsDG4AuzDSABH+qo2Zc6uJusC/D6HADbiG7tXmLYL6IxanWTbTrx4Hfp01fF+JQCuyOCRmN47X/nCumvDXKMn9Ve5+OlYi0vAQ== +Prime1: /hz+WxAL+9bO1l/857ME/OhxImSp86Xi7eA920sAo5ukOIQAQ6hbaKemYxyUbwBmGHEX9d0GOU+xAgZWUU9PbZgXw0fdf+uw6Hrgfce0rWY+uJpUcVHfjLPFgMC/XYrfcVQ8tsCXqRsIbqL+ynsEkQ4vybLhlSAyFqGqYFk/Qt0= +Prime2: 0HLxXynoSxUcNW15cbuMRHD34ri8sUQsqCtezofPWcCo/17jqf42W7X9YGO70+BvmG3awSr3LaLf862ovCR5+orwE2MqamAV6JZMyR7nvMNGSHTdg3Kk7Jv7T5Gu7Cg6K+on8pMRW3aIms4gs/Z16j0Gxz74ES9IP3vsvC+q6vk= +Exponent1: JDLRyjRz53hTP7H2oaKgQYADs/UDswN2lwWpuag0wsPwQmeRAZZY2TiISPSu+3Mvh4XJ6r5UHQd5FbAN1v2mG4aYgWwoYwoxyvdTLcnQXciX2z+7877GcEyKHPno4fYXRqhVH4i1QjKaQl8dw9LFvzbVvGvvwsHGwQeqPprw7hk= +Exponent2: vbnob7AZKqKhiVdEcnnhbeZBGcaKkTpE+RAkUL7spNQDiTPvJgo5fcTk/h6G7ijAXK0j62ZHZ3RS7RnaRa+KhO7usPcYMFiJ/VdAyRlIivhyi+WNQ2x4vSygwDy2VV9elljFeNe4dV1Cb+ssE8kAmbP52JjJD6MkhvVLd0u/jMk= +Coefficient: qk8HX5fy74Sx6z3niBfTM/SUEjcsnJCTTmsXy6e7nOXWBK5ihKkmMw7LDhaY4OwjXvaVQH0Z190dfyOkWYTbXInIyNNnqCD+xZXkuzuvsUwLNgvXEFhVnzrrj3ozNiizZsyeAhFCKcITz3ci15HB3y8ZLChGYBPFU1ui7MsSkc8= +Created: 20091226021310 +Publish: 20091226021310 +Activate: 20091226021310 diff --git a/bin/tests/system/autosign/ns2/keygen.sh b/bin/tests/system/autosign/ns2/keygen.sh index 31554bafbf..f41e8ab9af 100644 --- a/bin/tests/system/autosign/ns2/keygen.sh +++ b/bin/tests/system/autosign/ns2/keygen.sh @@ -14,7 +14,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: keygen.sh,v 1.6 2010/01/18 23:48:40 tbox Exp $ +# $Id: keygen.sh,v 1.7 2010/06/07 04:45:43 marka Exp $ SYSTEMTESTTOP=../.. . $SYSTEMTESTTOP/conf.sh @@ -52,6 +52,10 @@ zone=bar zonefile="${zone}.db" infile="${zonefile}.in" cat $infile > $zonefile -sh revkeys.shar > /dev/null +for i in Xbar.+005+30676.key Xbar.+005+30804.key Xbar.+005+30676.private \ + Xbar.+005+30804.private +do + cp $i `echo $i | sed s/X/K/` +done $KEYGEN -3 -q -r $RANDFILE $zone > /dev/null $DSFROMKEY Kbar.+005+30804.key > dsset-bar. diff --git a/bin/tests/system/autosign/ns2/revkeys.shar b/bin/tests/system/autosign/ns2/revkeys.shar deleted file mode 100644 index beb6d472d2..0000000000 --- a/bin/tests/system/autosign/ns2/revkeys.shar +++ /dev/null @@ -1,231 +0,0 @@ -#!/bin/sh -# This is a shell archive (produced by GNU sharutils 4.6.3). -# To extract the files from this archive, save it to some FILE, remove -# everything before the `#!/bin/sh' line above, then type `sh FILE'. -# -lock_dir=_sh31052 -# Made on 2010-01-08 23:17 PST by . -# Source directory was `/home/each/isc/bind9/bin/tests/system/autosign/ns2/keys'. -# -# Existing files will *not* be overwritten, unless `-c' is specified. -# -# This shar contains: -# length mode name -# ------ ---------- ------------------------------------------ -# 538 -rw-r--r-- Kbar.+005+30676.key -# 1774 -rw-r--r-- Kbar.+005+30676.private -# 538 -rw-r--r-- Kbar.+005+30804.key -# 1774 -rw-r--r-- Kbar.+005+30804.private -# -MD5SUM=${MD5SUM-md5sum} -f=`${MD5SUM} --version | egrep '^md5sum .*(core|text)utils'` -test -n "${f}" && md5check=true || md5check=false -${md5check} || \ - echo 'Note: not verifying md5sums. Consider installing GNU coreutils.' -save_IFS="${IFS}" -IFS="${IFS}:" -gettext_dir=FAILED -locale_dir=FAILED -first_param="$1" -for dir in $PATH -do - if test "$gettext_dir" = FAILED && test -f $dir/gettext \ - && ($dir/gettext --version >/dev/null 2>&1) - then - case `$dir/gettext --version 2>&1 | sed 1q` in - *GNU*) gettext_dir=$dir ;; - esac - fi - if test "$locale_dir" = FAILED && test -f $dir/shar \ - && ($dir/shar --print-text-domain-dir >/dev/null 2>&1) - then - locale_dir=`$dir/shar --print-text-domain-dir` - fi -done -IFS="$save_IFS" -if test "$locale_dir" = FAILED || test "$gettext_dir" = FAILED -then - echo=echo -else - TEXTDOMAINDIR=$locale_dir - export TEXTDOMAINDIR - TEXTDOMAIN=sharutils - export TEXTDOMAIN - echo="$gettext_dir/gettext -s" -fi -if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null -then if (echo -n test; echo 1,2,3) | grep n >/dev/null - then shar_n= shar_c=' -' - else shar_n=-n shar_c= ; fi -else shar_n= shar_c='\c' ; fi -f=shar-touch.$$ -st1=200112312359.59 -st2=123123592001.59 -st2tr=123123592001.5 # old SysV 14-char limit -st3=1231235901 - -if touch -am -t ${st1} ${f} >/dev/null 2>&1 && \ - test ! -f ${st1} && test -f ${f}; then - shar_touch='touch -am -t $1$2$3$4$5$6.$7 "$8"' - -elif touch -am ${st2} ${f} >/dev/null 2>&1 && \ - test ! -f ${st2} && test ! -f ${st2tr} && test -f ${f}; then - shar_touch='touch -am $3$4$5$6$1$2.$7 "$8"' - -elif touch -am ${st3} ${f} >/dev/null 2>&1 && \ - test ! -f ${st3} && test -f ${f}; then - shar_touch='touch -am $3$4$5$6$2 "$8"' - -else - shar_touch=: - echo - ${echo} 'WARNING: not restoring timestamps. Consider getting and' - ${echo} 'installing GNU `touch'\'', distributed in GNU coreutils...' - echo -fi -rm -f ${st1} ${st2} ${st2tr} ${st3} ${f} -# -if test ! -d ${lock_dir} -then : ; else ${echo} 'lock directory '${lock_dir}' exists' - exit 1 -fi -if mkdir ${lock_dir} -then ${echo} 'x - created lock directory `'${lock_dir}\''.' -else ${echo} 'x - failed to create lock directory `'${lock_dir}\''.' - exit 1 -fi -# ============= Kbar.+005+30676.key ============== -if test -f 'Kbar.+005+30676.key' && test "$first_param" != -c; then - ${echo} 'x -SKIPPING Kbar.+005+30676.key (file already exists)' -else -${echo} 'x - extracting Kbar.+005+30676.key (text)' - sed 's/^X//' << 'SHAR_EOF' > 'Kbar.+005+30676.key' && -; This is a key-signing key, keyid 30676, for bar. -; Created: Sat Dec 26 03:13:10 2009 -; Publish: Sat Dec 26 03:13:10 2009 -; Activate: Sat Dec 26 03:13:10 2009 -bar. IN DNSKEY 257 3 5 AwEAAc7ppysDZjlldTwsvcXcTTOYJd5TvW5RUWWYKRsee+ozwY6C7vNI 0Xp1PiY+H31GhcnNMCjQU00y8Vezo42oJ4kpRTDevL0STksExXi1/wG+ M4j1CFMh2wgJ/9XLFzHaEWzt4sflVBAVZVXa/qNkRWDXYjsr30MWyylA wHCIxEuyA+NxAL6UL+ZuFo1j84AvfwkGcMbXTcOBSCaHT6AJToSXAcCa X4fnKJIzG4RyJoN2GK4TVdj4qSzLxL1lRkYHNqJvcmMjezxUs9A5fHNI iBEBRPs7NKrQJxegAGVn9ALylKHyhJW6uyBjleOWUDom4ej2J1vGrpQT /KCA35toCvU= -SHAR_EOF - (set 20 10 01 08 23 14 29 'Kbar.+005+30676.key'; eval "$shar_touch") && - chmod 0644 'Kbar.+005+30676.key' -if test $? -ne 0 -then ${echo} 'restore of Kbar.+005+30676.key failed' -fi - if ${md5check} - then ( - ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'Kbar.+005+30676.key: MD5 check failed' - ) << SHAR_EOF -9c89adb7c9e6d5e2fd34f694b8752c95 Kbar.+005+30676.key -SHAR_EOF - else -test `LC_ALL=C wc -c < 'Kbar.+005+30676.key'` -ne 538 && \ - ${echo} 'restoration warning: size of Kbar.+005+30676.key is not 538' - fi -fi -# ============= Kbar.+005+30676.private ============== -if test -f 'Kbar.+005+30676.private' && test "$first_param" != -c; then - ${echo} 'x -SKIPPING Kbar.+005+30676.private (file already exists)' -else -${echo} 'x - extracting Kbar.+005+30676.private (text)' - sed 's/^X//' << 'SHAR_EOF' > 'Kbar.+005+30676.private' && -Private-key-format: v1.3 -Algorithm: 5 (RSASHA1) -Modulus: zumnKwNmOWV1PCy9xdxNM5gl3lO9blFRZZgpGx576jPBjoLu80jRenU+Jj4ffUaFyc0wKNBTTTLxV7OjjagniSlFMN68vRJOSwTFeLX/Ab4ziPUIUyHbCAn/1csXMdoRbO3ix+VUEBVlVdr+o2RFYNdiOyvfQxbLKUDAcIjES7ID43EAvpQv5m4WjWPzgC9/CQZwxtdNw4FIJodPoAlOhJcBwJpfh+cokjMbhHImg3YYrhNV2PipLMvEvWVGRgc2om9yYyN7PFSz0Dl8c0iIEQFE+zs0qtAnF6AAZWf0AvKUofKElbq7IGOV45ZQOibh6PYnW8aulBP8oIDfm2gK9Q== -PublicExponent: AQAB -PrivateExponent: BcfjYsFCjuH1x4ucdbW09ncOv8ppJXbiJkt9AoP0hFOT2c5wrJ1hNOGnrdvYd2CMBlpUOR+w5BxDP+cF78Q97ogXpcjjTwj+5PuqJLg4+qx8thvacrAkdXIKEsgMytjD2d4/ksQmeBiQ7zgiGyCHC7CYzvxnzXEKlgl4FuzLRy4SH1YiSTxKfw1ANKKHxmw8Xvav9ljubrzNdBEQNs6eJNkC6c3aGqiPFyTWGa90s6t1mwTXSxFqBUR1WlbfyYfuiAK2CAvFHeNo7VuC934ri7ceEq8jeOSuY0IqDq2pA3gVWVOyR4NFLXJWeDA3pjqi109t/WGg9IGydD/hsleP4Q== -Prime1: /hz+WxAL+9bO1l/857ME/OhxImSp86Xi7eA920sAo5ukOIQAQ6hbaKemYxyUbwBmGHEX9d0GOU+xAgZWUU9PbZgXw0fdf+uw6Hrgfce0rWY+uJpUcVHfjLPFgMC/XYrfcVQ8tsCXqRsIbqL+ynsEkQ4vybLhlSAyFqGqYFk/Qt0= -Prime2: 0HLxXynoSxUcNW15cbuMRHD34ri8sUQsqCtezofPWcCo/17jqf42W7X9YGO70+BvmG3awSr3LaLf862ovCR5+orwE2MqamAV6JZMyR7nvMNGSHTdg3Kk7Jv7T5Gu7Cg6K+on8pMRW3aIms4gs/Z16j0Gxz74ES9IP3vsvC+q6vk= -Exponent1: NLeXHRUrJ0fdCSRIt1iwRDeEoPn5OA7GEUtgCcp5i3eSjhb0ZxTaQc/l+NHJCW4vwApWSi9cRy99LUpbResKM1ZGN8EE9rDStqgnQnDXztFTWcDKm+e8VNhGtPtHuARDbqNnJRK3Y+Gz0iAGc8Mpo14qE9IEcoeHXKKVUf+x3BE= -Exponent2: dKCbJB+SdM/u5IXH+TZyGKkMSLIMATKfucfqV6vs+86rv5Yb0zUEvPNqPNAQe0+LoMF2L7YWblY+71wumHXgOaobAP3u8W2pVGUjuTOtfRPU8x1QAwfV9vye87oTINaxFXkBuNtITuBXNiY2bfprpw9WB4zXxuWpiruPjQsumiE= -Coefficient: qk8HX5fy74Sx6z3niBfTM/SUEjcsnJCTTmsXy6e7nOXWBK5ihKkmMw7LDhaY4OwjXvaVQH0Z190dfyOkWYTbXInIyNNnqCD+xZXkuzuvsUwLNgvXEFhVnzrrj3ozNiizZsyeAhFCKcITz3ci15HB3y8ZLChGYBPFU1ui7MsSkc8= -Created: 20091226021310 -Publish: 20091226021310 -Activate: 20091226021310 -SHAR_EOF - (set 20 10 01 08 23 14 29 'Kbar.+005+30676.private'; eval "$shar_touch") && - chmod 0644 'Kbar.+005+30676.private' -if test $? -ne 0 -then ${echo} 'restore of Kbar.+005+30676.private failed' -fi - if ${md5check} - then ( - ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'Kbar.+005+30676.private: MD5 check failed' - ) << SHAR_EOF -c85dfac0b5c0cf2972878a65717af9ea Kbar.+005+30676.private -SHAR_EOF - else -test `LC_ALL=C wc -c < 'Kbar.+005+30676.private'` -ne 1774 && \ - ${echo} 'restoration warning: size of Kbar.+005+30676.private is not 1774' - fi -fi -# ============= Kbar.+005+30804.key ============== -if test -f 'Kbar.+005+30804.key' && test "$first_param" != -c; then - ${echo} 'x -SKIPPING Kbar.+005+30804.key (file already exists)' -else -${echo} 'x - extracting Kbar.+005+30804.key (text)' - sed 's/^X//' << 'SHAR_EOF' > 'Kbar.+005+30804.key' && -; This is a key-signing key, keyid 30804, for bar. -; Created: Sat Dec 26 03:13:10 2009 -; Publish: Sat Dec 26 03:13:10 2009 -; Activate: Sat Dec 26 03:13:10 2009 -bar. IN DNSKEY 257 3 5 AwEAgc7ppysDZjlldTwsvcXcTTOYJd5TvW5RUWWYKRsee+ozwY6C7vNI 0Xp1PiY+H31GhcnNMCjQU00y8Vezo42oJ4kpRTDevL0STksExXi1/wG+ M4j1CFMh2wgJ/9XLFzHaEWzt4sflVBAVZVXa/qNkRWDXYjsr30MWyylA wHCIxEuyA+NxAL6UL+ZuFo1j84AvfwkGcMbXTcOBSCaHT6AJToSXAcCa X4fnKJIzG4RyJoN2GK4TVdj4qSzLxL1lRkYHNqJvcmMjezxUs9A5fHNI iBEBRPs7NKrQJxegAGVn9ALylKHyhJW6uyBjleOWUDom4ej2J1vGrpQT /KCA35toCvU= -SHAR_EOF - (set 20 10 01 08 23 14 29 'Kbar.+005+30804.key'; eval "$shar_touch") && - chmod 0644 'Kbar.+005+30804.key' -if test $? -ne 0 -then ${echo} 'restore of Kbar.+005+30804.key failed' -fi - if ${md5check} - then ( - ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'Kbar.+005+30804.key: MD5 check failed' - ) << SHAR_EOF -825116de64b44b14893cb3b8a48475bc Kbar.+005+30804.key -SHAR_EOF - else -test `LC_ALL=C wc -c < 'Kbar.+005+30804.key'` -ne 538 && \ - ${echo} 'restoration warning: size of Kbar.+005+30804.key is not 538' - fi -fi -# ============= Kbar.+005+30804.private ============== -if test -f 'Kbar.+005+30804.private' && test "$first_param" != -c; then - ${echo} 'x -SKIPPING Kbar.+005+30804.private (file already exists)' -else -${echo} 'x - extracting Kbar.+005+30804.private (text)' - sed 's/^X//' << 'SHAR_EOF' > 'Kbar.+005+30804.private' && -Private-key-format: v1.3 -Algorithm: 5 (RSASHA1) -Modulus: zumnKwNmOWV1PCy9xdxNM5gl3lO9blFRZZgpGx576jPBjoLu80jRenU+Jj4ffUaFyc0wKNBTTTLxV7OjjagniSlFMN68vRJOSwTFeLX/Ab4ziPUIUyHbCAn/1csXMdoRbO3ix+VUEBVlVdr+o2RFYNdiOyvfQxbLKUDAcIjES7ID43EAvpQv5m4WjWPzgC9/CQZwxtdNw4FIJodPoAlOhJcBwJpfh+cokjMbhHImg3YYrhNV2PipLMvEvWVGRgc2om9yYyN7PFSz0Dl8c0iIEQFE+zs0qtAnF6AAZWf0AvKUofKElbq7IGOV45ZQOibh6PYnW8aulBP8oIDfm2gK9Q== -PublicExponent: AQCB -PrivateExponent: I5TcRq2sbSi1u5a+jL6VVBBu3nyY7p3NXeD1WYYYD66b8RWbgJdTtsZxgixD5sKKrW/xT68d3FUsIjs36w7yp5+g99q7lJ3v35VcMuLXbaKitS/LJdTZF/GIWwRs+DHdt+chh0QeNLzclq8ZfBeTAycFxwC7zVDLsqqcL6/JHiJhHT+dNEqj6/AIOgSYJzVeBI34LtZLW94IKf4dHLzREnLK6+64PFjpwjOG12O9klKfwHRIRN9WUsDG4AuzDSABH+qo2Zc6uJusC/D6HADbiG7tXmLYL6IxanWTbTrx4Hfp01fF+JQCuyOCRmN47X/nCumvDXKMn9Ve5+OlYi0vAQ== -Prime1: /hz+WxAL+9bO1l/857ME/OhxImSp86Xi7eA920sAo5ukOIQAQ6hbaKemYxyUbwBmGHEX9d0GOU+xAgZWUU9PbZgXw0fdf+uw6Hrgfce0rWY+uJpUcVHfjLPFgMC/XYrfcVQ8tsCXqRsIbqL+ynsEkQ4vybLhlSAyFqGqYFk/Qt0= -Prime2: 0HLxXynoSxUcNW15cbuMRHD34ri8sUQsqCtezofPWcCo/17jqf42W7X9YGO70+BvmG3awSr3LaLf862ovCR5+orwE2MqamAV6JZMyR7nvMNGSHTdg3Kk7Jv7T5Gu7Cg6K+on8pMRW3aIms4gs/Z16j0Gxz74ES9IP3vsvC+q6vk= -Exponent1: JDLRyjRz53hTP7H2oaKgQYADs/UDswN2lwWpuag0wsPwQmeRAZZY2TiISPSu+3Mvh4XJ6r5UHQd5FbAN1v2mG4aYgWwoYwoxyvdTLcnQXciX2z+7877GcEyKHPno4fYXRqhVH4i1QjKaQl8dw9LFvzbVvGvvwsHGwQeqPprw7hk= -Exponent2: vbnob7AZKqKhiVdEcnnhbeZBGcaKkTpE+RAkUL7spNQDiTPvJgo5fcTk/h6G7ijAXK0j62ZHZ3RS7RnaRa+KhO7usPcYMFiJ/VdAyRlIivhyi+WNQ2x4vSygwDy2VV9elljFeNe4dV1Cb+ssE8kAmbP52JjJD6MkhvVLd0u/jMk= -Coefficient: qk8HX5fy74Sx6z3niBfTM/SUEjcsnJCTTmsXy6e7nOXWBK5ihKkmMw7LDhaY4OwjXvaVQH0Z190dfyOkWYTbXInIyNNnqCD+xZXkuzuvsUwLNgvXEFhVnzrrj3ozNiizZsyeAhFCKcITz3ci15HB3y8ZLChGYBPFU1ui7MsSkc8= -Created: 20091226021310 -Publish: 20091226021310 -Activate: 20091226021310 -SHAR_EOF - (set 20 10 01 08 23 14 29 'Kbar.+005+30804.private'; eval "$shar_touch") && - chmod 0644 'Kbar.+005+30804.private' -if test $? -ne 0 -then ${echo} 'restore of Kbar.+005+30804.private failed' -fi - if ${md5check} - then ( - ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'Kbar.+005+30804.private: MD5 check failed' - ) << SHAR_EOF -580cfb43bac6ed945896b464923676e7 Kbar.+005+30804.private -SHAR_EOF - else -test `LC_ALL=C wc -c < 'Kbar.+005+30804.private'` -ne 1774 && \ - ${echo} 'restoration warning: size of Kbar.+005+30804.private is not 1774' - fi -fi -if rm -fr ${lock_dir} -then ${echo} 'x - removed lock directory `'${lock_dir}\''.' -else ${echo} 'x - failed to remove lock directory `'${lock_dir}\''.' - exit 1 -fi -exit 0 diff --git a/bin/tests/system/autosign/tests.sh b/bin/tests/system/autosign/tests.sh index 7ec220276a..c441fdddd9 100644 --- a/bin/tests/system/autosign/tests.sh +++ b/bin/tests/system/autosign/tests.sh @@ -14,7 +14,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: tests.sh,v 1.9 2010/05/19 07:45:38 marka Exp $ +# $Id: tests.sh,v 1.10 2010/06/07 04:45:43 marka Exp $ SYSTEMTESTTOP=.. . $SYSTEMTESTTOP/conf.sh @@ -22,19 +22,36 @@ SYSTEMTESTTOP=.. status=0 n=0 - DIGOPTS="+tcp +noadd +nosea +nostat +nocmd +dnssec -p 5300" -echo "I:waiting 30 seconds for autosign changes to take effect" -sleep 30 - -echo "I:checking that zone transfer worked ($n)" -ret=0 -$DIG $DIGOPTS a.example. @10.53.0.2 a > dig.out.ns2.test$n || ret=1 -$DIG $DIGOPTS a.example. @10.53.0.3 a > dig.out.ns3.test$n || ret=1 -$PERL ../digcomp.pl dig.out.ns2.test$n dig.out.ns3.test$n || ret=1 +# +# The NSEC record at the apex of the zone and its RRSIG records are +# added as part of the last step in signing a zone. We wait for the +# NSEC records to appear before proceeding with a counter to prevent +# infinite loops if there is a error. +# +echo "I:waiting for autosign changes to take effect" +i=0 +while [ $i -lt 30 ] +do + ret=0 + for z in bar example private.secure.example + do + $DIG $DIGOPTS $z. @10.53.0.2 nsec > dig.out.ns2.test$n || ret=1 + grep "NS SOA" dig.out.ns2.test$n > /dev/null || ret=1 + done + for z in bar example + do + $DIG $DIGOPTS $z. @10.53.0.3 nsec > dig.out.ns3.test$n || ret=1 + grep "NS SOA" dig.out.ns3.test$n > /dev/null || ret=1 + done + i=`expr $i + 1` + if [ $ret = 0 ]; then break; fi + echo "I:waiting ... ($i)" + sleep 2 +done n=`expr $n + 1` -if [ $ret != 0 ]; then echo "I:failed"; fi +if [ $ret != 0 ]; then echo "I:failed"; else echo "I:done"; fi status=`expr $status + $ret` echo "I:checking NSEC->NSEC3 conversion prerequisites ($n)" From b8451d4055cb2a5b7c531c1a4b3285a7b4d0642b Mon Sep 17 00:00:00 2001 From: Automatic Updater Date: Mon, 7 Jun 2010 05:20:24 +0000 Subject: [PATCH 18/65] update --- doc/private/SRCID | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/private/SRCID b/doc/private/SRCID index cc18aea5cf..be35ad89ba 100644 --- a/doc/private/SRCID +++ b/doc/private/SRCID @@ -1,6 +1,6 @@ -# $Id: SRCID,v 1.272 2010/06/07 04:24:40 tbox Exp $ +# $Id: SRCID,v 1.273 2010/06/07 05:20:24 tbox Exp $ # # This file must follow /bin/sh rules. It is imported directly via # configure. # -SRCID="( $Date: 2010/06/07 04:24:40 $ )" +SRCID="( $Date: 2010/06/07 05:20:24 $ )" From f88543fba88b8d4ddac996314b9d7e9d78e8bdc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tatuya=20JINMEI=20=E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89?= Date: Mon, 7 Jun 2010 22:45:33 +0000 Subject: [PATCH 19/65] file clean.sh was initially added on branch rt21474. From 4827ffd3b592c180581b972408f6743645982c5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tatuya=20JINMEI=20=E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89?= Date: Mon, 7 Jun 2010 22:45:34 +0000 Subject: [PATCH 20/65] file tests.sh was initially added on branch rt21474. From 002eb7e1bcb84523701e559d5229b771e452606d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tatuya=20JINMEI=20=E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89?= Date: Mon, 7 Jun 2010 22:45:35 +0000 Subject: [PATCH 21/65] file hints was initially added on branch rt21474. From 56eae9923e925f1312ba77ff2331ca84edc83727 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tatuya=20JINMEI=20=E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89?= Date: Mon, 7 Jun 2010 22:45:36 +0000 Subject: [PATCH 22/65] file named.conf was initially added on branch rt21474. From a150f937e095328e1dda37c3a5194538cfc060d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tatuya=20JINMEI=20=E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89?= Date: Mon, 7 Jun 2010 22:45:37 +0000 Subject: [PATCH 23/65] file root.zone was initially added on branch rt21474. From ae27fcf6ad743a820e448a2de19ae5d69d762845 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tatuya=20JINMEI=20=E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89?= Date: Mon, 7 Jun 2010 22:45:38 +0000 Subject: [PATCH 24/65] file example.com.zone was initially added on branch rt21474. From d13a0a65c3d61916b19d4da726a6abf08b5b8ecc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tatuya=20JINMEI=20=E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89?= Date: Mon, 7 Jun 2010 22:45:39 +0000 Subject: [PATCH 25/65] file example.edu.zone was initially added on branch rt21474. From 34a49b9046a76aafd4743f282abe9da25e87f789 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tatuya=20JINMEI=20=E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89?= Date: Mon, 7 Jun 2010 22:45:40 +0000 Subject: [PATCH 26/65] file example.info.zone was initially added on branch rt21474. From f0585f5ffe2137fa157cf934526b0f6119c5a13c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tatuya=20JINMEI=20=E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89?= Date: Mon, 7 Jun 2010 22:45:41 +0000 Subject: [PATCH 27/65] file example.net.zone was initially added on branch rt21474. From 8596334ced43837bc4e09da700c3e80842c71137 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tatuya=20JINMEI=20=E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89?= Date: Mon, 7 Jun 2010 22:45:42 +0000 Subject: [PATCH 28/65] file example.org.zone was initially added on branch rt21474. From 22d9b3c470b0f6a489c019fbe67643606c27e06e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tatuya=20JINMEI=20=E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89?= Date: Mon, 7 Jun 2010 23:03:03 +0000 Subject: [PATCH 29/65] file bad1.conf was initially added on branch rt21474. From 5b5e98e2c4e897b68c002f81067033b267610c03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tatuya=20JINMEI=20=E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89?= Date: Mon, 7 Jun 2010 23:03:04 +0000 Subject: [PATCH 30/65] file bad2.conf was initially added on branch rt21474. From f83f6e989c17ae474646d73da0b86b44c657574f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tatuya=20JINMEI=20=E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89?= Date: Mon, 7 Jun 2010 23:03:05 +0000 Subject: [PATCH 31/65] file bad3.conf was initially added on branch rt21474. From 75e3a3db1a9ed57bfc1c0e7fb20eb0bf17e776c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tatuya=20JINMEI=20=E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89?= Date: Mon, 7 Jun 2010 23:03:06 +0000 Subject: [PATCH 32/65] file bad4.conf was initially added on branch rt21474. From d6b258b1388e391703b08ff782c4ad86c32c64ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tatuya=20JINMEI=20=E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89?= Date: Mon, 7 Jun 2010 23:03:07 +0000 Subject: [PATCH 33/65] file good1.conf was initially added on branch rt21474. From 74a73102536844438d97a4715e62d1414c9904c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tatuya=20JINMEI=20=E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89?= Date: Mon, 7 Jun 2010 23:03:08 +0000 Subject: [PATCH 34/65] file good2.conf was initially added on branch rt21474. From 6dc9dcbea2e3ae9c408f82fc2d47e9f5d737cd42 Mon Sep 17 00:00:00 2001 From: Automatic Updater Date: Mon, 7 Jun 2010 23:19:30 +0000 Subject: [PATCH 35/65] auto update --- doc/private/branches | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/private/branches b/doc/private/branches index c5d501cae5..5dd92caee6 100644 --- a/doc/private/branches +++ b/doc/private/branches @@ -344,6 +344,7 @@ rt21416 new marka // 2010-05-29 10:32 +0000 rt21444 new marka // 2010-06-01 22:07 +0000 rt21444a new marka // 2010-06-03 05:40 +0000 rt21451 new marka // 2010-06-03 12:34 +0000 +rt21474 new jinmei // 2010-06-07 21:13 +0000 shane_dbbackend open skan open explorer skan-metazones1 private explorer From bf8c3776f1bf1a1270e5e0443ae5a8df022632a8 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Mon, 7 Jun 2010 23:52:58 +0000 Subject: [PATCH 36/65] update --- util/copyrights | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/util/copyrights b/util/copyrights index abe20dd3ed..2055e198b1 100644 --- a/util/copyrights +++ b/util/copyrights @@ -543,6 +543,10 @@ ./bin/tests/system/autosign/ns1/named.conf CONF-C 2009 ./bin/tests/system/autosign/ns1/root.db.in ZONE 2009,2010 ./bin/tests/system/autosign/ns2/.cvsignore X 2009 +./bin/tests/system/autosign/ns2/Xbar.+005+30676.key X 2010 +./bin/tests/system/autosign/ns2/Xbar.+005+30676.private X 2010 +./bin/tests/system/autosign/ns2/Xbar.+005+30804.key X 2010 +./bin/tests/system/autosign/ns2/Xbar.+005+30804.private X 2010 ./bin/tests/system/autosign/ns2/bar.db.in ZONE 2010 ./bin/tests/system/autosign/ns2/child.nsec3.example.db ZONE 2009 ./bin/tests/system/autosign/ns2/child.optout.example.db ZONE 2009 @@ -843,6 +847,7 @@ ./bin/tests/system/pending/prereq.sh SH 2009 ./bin/tests/system/pending/setup.sh SH 2009 ./bin/tests/system/pending/tests.sh SH 2009,2010 +./bin/tests/system/pkcs11/usepkcs11 X 2010 ./bin/tests/system/relay/README TXT.BRIEF 2000,2001,2004 ./bin/tests/system/relay/clean.sh SH 2000,2001,2004,2007 ./bin/tests/system/relay/ns1/.cvsignore X 2000,2001 From 605f3a5ef65736c889b08f641ebda8e42aac45f3 Mon Sep 17 00:00:00 2001 From: Automatic Updater Date: Tue, 8 Jun 2010 00:20:35 +0000 Subject: [PATCH 37/65] update --- doc/private/SRCID | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/private/SRCID b/doc/private/SRCID index be35ad89ba..168107da10 100644 --- a/doc/private/SRCID +++ b/doc/private/SRCID @@ -1,6 +1,6 @@ -# $Id: SRCID,v 1.273 2010/06/07 05:20:24 tbox Exp $ +# $Id: SRCID,v 1.274 2010/06/08 00:20:35 tbox Exp $ # # This file must follow /bin/sh rules. It is imported directly via # configure. # -SRCID="( $Date: 2010/06/07 05:20:24 $ )" +SRCID="( $Date: 2010/06/08 00:20:35 $ )" From 0832af2661f21595210e376a047d99506575b691 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tatuya=20JINMEI=20=E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89?= Date: Tue, 8 Jun 2010 01:21:02 +0000 Subject: [PATCH 38/65] file good3.conf was initially added on branch rt21474. From 45c349c278fd83acd4dcb91eec3482401a623e47 Mon Sep 17 00:00:00 2001 From: Automatic Updater Date: Tue, 8 Jun 2010 23:32:05 +0000 Subject: [PATCH 39/65] newcopyrights --- util/copyrights | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/util/copyrights b/util/copyrights index 2055e198b1..1c6d1c960e 100644 --- a/util/copyrights +++ b/util/copyrights @@ -615,6 +615,7 @@ ./bin/tests/system/checknames/setup.sh SH 2004,2007 ./bin/tests/system/checknames/tests.sh SH 2004,2007 ./bin/tests/system/cleanall.sh SH 2000,2001,2004,2007 +./bin/tests/system/cleanpkcs11.sh SH 2010 ./bin/tests/system/common/controls.conf CONF-C 2000,2001,2004,2007 ./bin/tests/system/common/rndc.conf CONF-C 2000,2001,2004,2007 ./bin/tests/system/common/root.hint ZONE 2000,2001,2004,2007 @@ -847,6 +848,12 @@ ./bin/tests/system/pending/prereq.sh SH 2009 ./bin/tests/system/pending/setup.sh SH 2009 ./bin/tests/system/pending/tests.sh SH 2009,2010 +./bin/tests/system/pkcs11/clean.sh SH 2010 +./bin/tests/system/pkcs11/ns1/example.db.in ZONE 2010 +./bin/tests/system/pkcs11/ns1/named.conf CONF-C 2010 +./bin/tests/system/pkcs11/prereq.sh SH 2010 +./bin/tests/system/pkcs11/setup.sh SH 2010 +./bin/tests/system/pkcs11/tests.sh SH 2010 ./bin/tests/system/pkcs11/usepkcs11 X 2010 ./bin/tests/system/relay/README TXT.BRIEF 2000,2001,2004 ./bin/tests/system/relay/clean.sh SH 2000,2001,2004,2007 @@ -906,7 +913,7 @@ ./bin/tests/system/rrsetorder/ns2/named.conf CONF-C 2006,2007 ./bin/tests/system/rrsetorder/ns3/named.conf CONF-C 2006,2007 ./bin/tests/system/rrsetorder/tests.sh SH 2006,2007,2008 -./bin/tests/system/run.sh SH 2000,2001,2004,2007 +./bin/tests/system/run.sh SH 2000,2001,2004,2007,2010 ./bin/tests/system/runall.sh SH 2000,2001,2004,2007,2010 ./bin/tests/system/send.pl PERL 2001,2004,2007 ./bin/tests/system/setup.sh SH 2000,2001,2004,2007 @@ -2768,8 +2775,8 @@ ./lib/tests/include/Makefile.in MAKE 1998,1999,2000,2001,2004,2007 ./lib/tests/include/tests/.cvsignore X 1999,2000,2001 ./lib/tests/include/tests/Makefile.in MAKE 1999,2000,2001,2004,2007 -./lib/tests/include/tests/t_api.h C 1999,2000,2001,2004,2005,2006,2007 -./lib/tests/t_api.c C 1999,2000,2001,2002,2003,2004,2005,2007,2008,2009 +./lib/tests/include/tests/t_api.h C 1999,2000,2001,2004,2005,2006,2007,2010 +./lib/tests/t_api.c C 1999,2000,2001,2002,2003,2004,2005,2007,2008,2009,2010 ./lib/win32/bindevt/bindevt.c C 2000,2001,2004,2007 ./lib/win32/bindevt/bindevt.dsp X 2001 ./lib/win32/bindevt/bindevt.dsw X 2001 From ad0471f93b33ef24d3ade731477d63669a7095db Mon Sep 17 00:00:00 2001 From: Automatic Updater Date: Tue, 8 Jun 2010 23:50:24 +0000 Subject: [PATCH 40/65] update copyright notice --- bin/tests/system/cleanpkcs11.sh | 4 ++-- bin/tests/system/pkcs11/clean.sh | 4 ++-- bin/tests/system/pkcs11/ns1/example.db.in | 16 ++++++++++++++++ bin/tests/system/pkcs11/ns1/named.conf | 4 ++-- bin/tests/system/pkcs11/prereq.sh | 4 ++-- bin/tests/system/pkcs11/setup.sh | 4 ++-- bin/tests/system/pkcs11/tests.sh | 4 ++-- bin/tests/system/run.sh | 4 ++-- lib/tests/include/tests/t_api.h | 4 ++-- lib/tests/t_api.c | 4 ++-- 10 files changed, 34 insertions(+), 18 deletions(-) diff --git a/bin/tests/system/cleanpkcs11.sh b/bin/tests/system/cleanpkcs11.sh index 986175d0d6..2a06d7f074 100644 --- a/bin/tests/system/cleanpkcs11.sh +++ b/bin/tests/system/cleanpkcs11.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC") +# Copyright (C) 2010 Internet Systems Consortium, Inc. ("ISC") # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above @@ -14,7 +14,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: cleanpkcs11.sh,v 1.2 2010/06/07 03:42:37 marka Exp $ +# $Id: cleanpkcs11.sh,v 1.3 2010/06/08 23:50:24 tbox Exp $ if [ ! -x ../../pkcs11/pkcs11-destroy ]; then exit 1; fi diff --git a/bin/tests/system/pkcs11/clean.sh b/bin/tests/system/pkcs11/clean.sh index ec7abba4d3..fc0393a249 100644 --- a/bin/tests/system/pkcs11/clean.sh +++ b/bin/tests/system/pkcs11/clean.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC") +# Copyright (C) 2010 Internet Systems Consortium, Inc. ("ISC") # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above @@ -14,7 +14,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: clean.sh,v 1.2 2010/06/07 03:42:37 marka Exp $ +# $Id: clean.sh,v 1.3 2010/06/08 23:50:24 tbox Exp $ rm -f K* ns1/K* keyset-* dsset-* ns1/*.db ns1/*.signed ns1/*.jnl rm -f dig.out random.data diff --git a/bin/tests/system/pkcs11/ns1/example.db.in b/bin/tests/system/pkcs11/ns1/example.db.in index f26494d19e..7166fa8b2e 100644 --- a/bin/tests/system/pkcs11/ns1/example.db.in +++ b/bin/tests/system/pkcs11/ns1/example.db.in @@ -1,3 +1,19 @@ +; Copyright (C) 2010 Internet Systems Consortium, Inc. ("ISC") +; +; Permission to use, copy, modify, and/or distribute this software for any +; purpose with or without fee is hereby granted, provided that the above +; copyright notice and this permission notice appear in all copies. +; +; THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH +; REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +; AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, +; INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +; LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE +; OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +; PERFORMANCE OF THIS SOFTWARE. + +; $Id: example.db.in,v 1.3 2010/06/08 23:50:24 tbox Exp $ + $TTL 300 ; 5 minutes @ IN SOA ns root ( 2000082401 ; serial diff --git a/bin/tests/system/pkcs11/ns1/named.conf b/bin/tests/system/pkcs11/ns1/named.conf index 587010b2d3..09a850fc41 100644 --- a/bin/tests/system/pkcs11/ns1/named.conf +++ b/bin/tests/system/pkcs11/ns1/named.conf @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2010 Internet Systems Consortium, Inc. ("ISC") * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -14,7 +14,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: named.conf,v 1.2 2010/06/07 03:42:37 marka Exp $ */ +/* $Id: named.conf,v 1.3 2010/06/08 23:50:24 tbox Exp $ */ controls { /* empty */ }; diff --git a/bin/tests/system/pkcs11/prereq.sh b/bin/tests/system/pkcs11/prereq.sh index 93f3e6c61f..9ee2ec088d 100644 --- a/bin/tests/system/pkcs11/prereq.sh +++ b/bin/tests/system/pkcs11/prereq.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC") +# Copyright (C) 2010 Internet Systems Consortium, Inc. ("ISC") # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above @@ -14,7 +14,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: prereq.sh,v 1.2 2010/06/07 03:42:37 marka Exp $ +# $Id: prereq.sh,v 1.3 2010/06/08 23:50:24 tbox Exp $ ../../../tools/genrandom 400 random.data diff --git a/bin/tests/system/pkcs11/setup.sh b/bin/tests/system/pkcs11/setup.sh index 0816be6e98..e93cf4f4cf 100644 --- a/bin/tests/system/pkcs11/setup.sh +++ b/bin/tests/system/pkcs11/setup.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC") +# Copyright (C) 2010 Internet Systems Consortium, Inc. ("ISC") # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above @@ -14,7 +14,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: setup.sh,v 1.2 2010/06/07 03:42:37 marka Exp $ +# $Id: setup.sh,v 1.3 2010/06/08 23:50:24 tbox Exp $ SYSTEMTESTTOP=.. . $SYSTEMTESTTOP/conf.sh diff --git a/bin/tests/system/pkcs11/tests.sh b/bin/tests/system/pkcs11/tests.sh index f05331ecea..7e1709657c 100644 --- a/bin/tests/system/pkcs11/tests.sh +++ b/bin/tests/system/pkcs11/tests.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC") +# Copyright (C) 2010 Internet Systems Consortium, Inc. ("ISC") # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above @@ -14,7 +14,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: tests.sh,v 1.2 2010/06/07 03:42:37 marka Exp $ +# $Id: tests.sh,v 1.3 2010/06/08 23:50:24 tbox Exp $ SYSTEMTESTTOP=.. . $SYSTEMTESTTOP/conf.sh diff --git a/bin/tests/system/run.sh b/bin/tests/system/run.sh index fbca93b342..a4911c5fc2 100644 --- a/bin/tests/system/run.sh +++ b/bin/tests/system/run.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright (C) 2004, 2007 Internet Systems Consortium, Inc. ("ISC") +# Copyright (C) 2004, 2007, 2010 Internet Systems Consortium, Inc. ("ISC") # Copyright (C) 2000, 2001 Internet Software Consortium. # # Permission to use, copy, modify, and/or distribute this software for any @@ -15,7 +15,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: run.sh,v 1.43 2010/06/07 03:42:37 marka Exp $ +# $Id: run.sh,v 1.44 2010/06/08 23:50:24 tbox Exp $ # # Run a system test. diff --git a/lib/tests/include/tests/t_api.h b/lib/tests/include/tests/t_api.h index 3c3893ef43..d6eec5582a 100644 --- a/lib/tests/include/tests/t_api.h +++ b/lib/tests/include/tests/t_api.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004-2007, 2010 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2001 Internet Software Consortium. * * Permission to use, copy, modify, and/or distribute this software for any @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: t_api.h,v 1.23 2010/06/07 03:42:37 marka Exp $ */ +/* $Id: t_api.h,v 1.24 2010/06/08 23:50:24 tbox Exp $ */ #ifndef TESTS_T_API_H #define TESTS_T_API_H 1 diff --git a/lib/tests/t_api.c b/lib/tests/t_api.c index 89dbfbfdda..9782830ed9 100644 --- a/lib/tests/t_api.c +++ b/lib/tests/t_api.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004, 2005, 2007-2009 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005, 2007-2010 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2003 Internet Software Consortium. * * Permission to use, copy, modify, and/or distribute this software for any @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: t_api.c,v 1.66 2010/06/07 03:42:37 marka Exp $ */ +/* $Id: t_api.c,v 1.67 2010/06/08 23:50:24 tbox Exp $ */ /*! \file */ From f45c8179010af66b3d77350cfb804de3b1f324ad Mon Sep 17 00:00:00 2001 From: Automatic Updater Date: Wed, 9 Jun 2010 00:20:55 +0000 Subject: [PATCH 41/65] update --- doc/private/SRCID | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/private/SRCID b/doc/private/SRCID index 168107da10..d426041945 100644 --- a/doc/private/SRCID +++ b/doc/private/SRCID @@ -1,6 +1,6 @@ -# $Id: SRCID,v 1.274 2010/06/08 00:20:35 tbox Exp $ +# $Id: SRCID,v 1.275 2010/06/09 00:20:55 tbox Exp $ # # This file must follow /bin/sh rules. It is imported directly via # configure. # -SRCID="( $Date: 2010/06/08 00:20:35 $ )" +SRCID="( $Date: 2010/06/09 00:20:55 $ )" From 76117ff568dc788ed24937cfea916a18db285960 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Wed, 9 Jun 2010 01:43:09 +0000 Subject: [PATCH 42/65] CHANGES --- configure.in | 16 +++++++++++++++- lib/dns/Makefile.in | 20 +++++++++++--------- lib/export/dns/Makefile.in | 22 ++++++++++++++-------- lib/export/isc/Makefile.in | 7 ++++--- lib/export/isc/nothreads/Makefile.in | 8 +++++--- lib/isc/Makefile.in | 7 ++++--- lib/isc/nothreads/Makefile.in | 8 +++++--- 7 files changed, 58 insertions(+), 30 deletions(-) diff --git a/configure.in b/configure.in index cbbea5333f..9368cfa749 100644 --- a/configure.in +++ b/configure.in @@ -18,7 +18,7 @@ AC_DIVERT_PUSH(1)dnl esyscmd([sed "s/^/# /" COPYRIGHT])dnl AC_DIVERT_POP()dnl -AC_REVISION($Revision: 1.497 $) +AC_REVISION($Revision: 1.498 $) AC_INIT(lib/dns/name.c) AC_PREREQ(2.59) @@ -522,10 +522,14 @@ case "$use_openssl" in AC_MSG_RESULT(no) DST_OPENSSL_INC="" USE_OPENSSL="" + OPENSSLLINKOBJS="" + OPENSSLLINKSRCS="" ;; auto) DST_OPENSSL_INC="" USE_OPENSSL="" + OPENSSLLINKOBJS="" + OPENSSLLINKSRCS="" AC_MSG_ERROR( [OpenSSL was not found in any of $openssldirs; use --with-openssl=/path If you don't want OpenSSL, use --without-openssl]) @@ -670,6 +674,8 @@ esac AC_CHECK_FUNCS(EVP_sha256 EVP_sha512) CFLAGS="$saved_cflags" LIBS="$saved_libs" + OPENSSLLINKOBJS='${OPENSSLLINKOBJS}' + OPENSSLLINKSRCS='${OPENSSLLINKSRCS}' ;; esac @@ -681,6 +687,8 @@ esac AC_SUBST(USE_OPENSSL) AC_SUBST(DST_OPENSSL_INC) +AC_SUBST(OPENSSLLINKOBJS) +AC_SUBST(OPENSSLLINKSRCS) DNS_CRYPTO_LIBS="$DNS_CRYPTO_LIBS $DNS_OPENSSL_LIBS" # @@ -993,6 +1001,8 @@ then fi ALWAYS_DEFINES="-D_REENTRANT" ISC_PLATFORM_USETHREADS="#define ISC_PLATFORM_USETHREADS 1" + THREADOPTOBJS='${THREADOPTOBJS}' + THREADOPTSRCS='${THREADOPTSRCS}' thread_dir=pthreads # # We'd like to use sigwait() too @@ -1071,11 +1081,15 @@ then else ISC_PLATFORM_USETHREADS="#undef ISC_PLATFORM_USETHREADS" thread_dir=nothreads + THREADOPTOBJS="" + THREADOPTSRCS="" ALWAYS_DEFINES="" fi AC_SUBST(ALWAYS_DEFINES) AC_SUBST(ISC_PLATFORM_USETHREADS) +AC_SUBST(THREADOPTOBJS) +AC_SUBST(THREADOPTSRCS) ISC_THREAD_DIR=$thread_dir AC_SUBST(ISC_THREAD_DIR) diff --git a/lib/dns/Makefile.in b/lib/dns/Makefile.in index 2290ab4072..44abf9ee2a 100644 --- a/lib/dns/Makefile.in +++ b/lib/dns/Makefile.in @@ -13,7 +13,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: Makefile.in,v 1.169 2009/12/05 23:31:40 each Exp $ +# $Id: Makefile.in,v 1.170 2010/06/09 01:43:08 marka Exp $ srcdir = @srcdir@ VPATH = @srcdir@ @@ -46,11 +46,12 @@ LIBS = @LIBS@ # Alphabetically -DSTOBJS = @DST_EXTRA_OBJS@ \ +OPENSSLLINKOBJS = openssl_link.@O@ openssldh_link.@O@ openssldsa_link.@O@ \ + opensslrsa_link.@O@ + +DSTOBJS = @DST_EXTRA_OBJS@ @OPENSSLLINKOBJS@ \ dst_api.@O@ dst_lib.@O@ dst_parse.@O@ dst_result.@O@ \ - gssapi_link.@O@ gssapictx.@O@ hmac_link.@O@ key.@O@ \ - openssl_link.@O@ openssldh_link.@O@ openssldsa_link.@O@ \ - opensslrsa_link.@O@ + gssapi_link.@O@ gssapictx.@O@ hmac_link.@O@ key.@O@ # Alphabetically DNSOBJS = acache.@O@ acl.@O@ adb.@O@ byaddr.@O@ \ @@ -73,12 +74,13 @@ DNSOBJS = acache.@O@ acl.@O@ adb.@O@ byaddr.@O@ \ OBJS= ${DNSOBJS} ${OTHEROBJS} ${DSTOBJS} # Alphabetically -DSTSRCS = @DST_EXTRA_SRCS@ \ +OPENSSLLINKSRCS = openssl_link.c openssldh_link.c \ + openssldsa_link.c opensslrsa_link.c + +DSTSRCS = @DST_EXTRA_SRCS@ @OPENSSLLINKSRCS@ \ dst_api.c dst_lib.c dst_parse.c \ dst_result.c gssapi_link.c gssapictx.c \ - hmac_link.c key.c \ - openssl_link.c openssldh_link.c \ - openssldsa_link.c opensslrsa_link.c + hmac_link.c key.c DNSSRCS = acache.c acl.c adb.c byaddr.c \ cache.c callbacks.c compress.c \ diff --git a/lib/export/dns/Makefile.in b/lib/export/dns/Makefile.in index 7445e303e1..c5b18224f4 100644 --- a/lib/export/dns/Makefile.in +++ b/lib/export/dns/Makefile.in @@ -12,7 +12,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: Makefile.in,v 1.4 2009/12/05 23:31:40 each Exp $ +# $Id: Makefile.in,v 1.5 2010/06/09 01:43:08 marka Exp $ top_srcdir = @top_srcdir@ srcdir = @top_srcdir@/lib/dns @@ -42,11 +42,14 @@ ISCDEPLIBS = ../isc/libisc.@A@ LIBS = @LIBS@ # Alphabetically -DSTOBJS = dst_api.@O@ dst_lib.@O@ dst_parse.@O@ dst_result.@O@ \ - gssapi_link.@O@ gssapictx.@O@ hmac_link.@O@ key.@O@ \ - openssl_link.@O@ openssldh_link.@O@ openssldsa_link.@O@ \ + +OPENSSLLINKOBJS = openssl_link.@O@ openssldh_link.@O@ openssldsa_link.@O \ opensslrsa_link.@O@ +DSTOBJS = @OPENSSLLINKOBJS@ \ + dst_api.@O@ dst_lib.@O@ dst_parse.@O@ dst_result.@O@ \ + gssapi_link.@O@ gssapictx.@O@ hmac_link.@O@ key.@O@ + DNSOBJS = acl.@O@ adb.@O@ byaddr.@O@ \ cache.@O@ callbacks.@O@ client.@O@ compress.@O@ \ db.@O@ dbiterator.@O@ diff.@O@ dispatch.@O@ dlz.@O@ dnssec.@O@ \ @@ -67,12 +70,15 @@ PORTDNSOBJS = ecdb.@O@ OBJS= ${DNSOBJS} ${OTHEROBJS} ${DSTOBJS} ${PORTDNSOBJS} # Alphabetically -DSTSRCS = dst_api.c dst_lib.c dst_parse.c \ - dst_result.c gssapi_link.c gssapictx.c \ - hmac_link.c key.c \ - openssl_link.c openssldh_link.c \ + +OPENSSLLINKSRCS = openssl_link.c openssldh_link.c \ openssldsa_link.c opensslrsa_link.c +DSTSRCS = @OPENSSLLINKSRCS@ \ + dst_api.c dst_lib.c dst_parse.c \ + dst_result.c gssapi_link.c gssapictx.c \ + hmac_link.c key.c + DNSSRCS = acl.c adb.c byaddr.c \ cache.c callbacks.c client.c compress.c \ db.c dbiterator.c diff.c dispatch.c dlz.c dnssec.c ds.c \ diff --git a/lib/export/isc/Makefile.in b/lib/export/isc/Makefile.in index ca199818ee..0ed5c346ec 100644 --- a/lib/export/isc/Makefile.in +++ b/lib/export/isc/Makefile.in @@ -12,7 +12,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: Makefile.in,v 1.5 2009/12/05 23:31:41 each Exp $ +# $Id: Makefile.in,v 1.6 2010/06/09 01:43:08 marka Exp $ top_srcdir = @top_srcdir@ srcdir = @top_srcdir@/lib/isc @@ -52,8 +52,9 @@ UNIXOBJS = @ISC_ISCIPV6_O@ \ NLSOBJS = nls/msgcat.@O@ -THREADOBJS = @ISC_THREAD_DIR@/condition.@O@ @ISC_THREAD_DIR@/mutex.@O@ \ - @ISC_THREAD_DIR@/thread.@O@ +THREADOPTOBJS = @ISC_THREAD_DIR@/condition.@O@ @ISC_THREAD_DIR@/mutex.@O@ + +THREADOBJS = @THREADOPTOBJS @ISC_THREAD_DIR@/thread.@O@ WIN32OBJS = win32/condition.@O@ win32/dir.@O@ win32/file.@O@ \ win32/fsaccess.@O@ win32/once.@O@ win32/stdtime.@O@ \ diff --git a/lib/export/isc/nothreads/Makefile.in b/lib/export/isc/nothreads/Makefile.in index e1bd566346..fe55571d48 100644 --- a/lib/export/isc/nothreads/Makefile.in +++ b/lib/export/isc/nothreads/Makefile.in @@ -12,7 +12,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: Makefile.in,v 1.3 2009/09/02 23:48:02 tbox Exp $ +# $Id: Makefile.in,v 1.4 2010/06/09 01:43:08 marka Exp $ top_srcdir = @top_srcdir@ srcdir = @top_srcdir@/lib/isc/nothreads @@ -28,9 +28,11 @@ CINCLUDES = -I${srcdir}/include \ CDEFINES = CWARNINGS = -OBJS = condition.@O@ mutex.@O@ thread.@O@ +THREADOPTOBJS = condition.@O@ mutex.@O@ +OBJS = @THREADOPTOBJS@ thread.@O@ -SRCS = condition.c mutex.c thread.c +THREADOPTSRCS = condition.c mutex.c +SRCS = @THREADOPTSRCS@ thread.c SUBDIRS = include TARGETS = ${OBJS} diff --git a/lib/isc/Makefile.in b/lib/isc/Makefile.in index 7e5f814514..055b382204 100644 --- a/lib/isc/Makefile.in +++ b/lib/isc/Makefile.in @@ -13,7 +13,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: Makefile.in,v 1.108 2010/02/22 23:49:11 tbox Exp $ +# $Id: Makefile.in,v 1.109 2010/06/09 01:43:09 marka Exp $ srcdir = @srcdir@ VPATH = @srcdir@ @@ -41,8 +41,9 @@ UNIXOBJS = @ISC_ISCIPV6_O@ \ NLSOBJS = nls/msgcat.@O@ -THREADOBJS = @ISC_THREAD_DIR@/condition.@O@ @ISC_THREAD_DIR@/mutex.@O@ \ - @ISC_THREAD_DIR@/thread.@O@ +THREADOPTOBJS = @ISC_THREAD_DIR@/condition.@O@ @ISC_THREAD_DIR@/mutex.@O@ + +THREADOBJS = @THREADOPTOBJS@ @ISC_THREAD_DIR@/thread.@O@ WIN32OBJS = win32/condition.@O@ win32/dir.@O@ win32/file.@O@ \ win32/fsaccess.@O@ win32/once.@O@ win32/stdtime.@O@ \ diff --git a/lib/isc/nothreads/Makefile.in b/lib/isc/nothreads/Makefile.in index ad2b253579..9335b03070 100644 --- a/lib/isc/nothreads/Makefile.in +++ b/lib/isc/nothreads/Makefile.in @@ -13,7 +13,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: Makefile.in,v 1.10 2009/12/05 23:31:41 each Exp $ +# $Id: Makefile.in,v 1.11 2010/06/09 01:43:09 marka Exp $ top_srcdir = @top_srcdir@ srcdir = @top_srcdir@/lib/isc/nothreads @@ -28,9 +28,11 @@ CINCLUDES = -I${srcdir}/include \ CDEFINES = CWARNINGS = -OBJS = condition.@O@ mutex.@O@ thread.@O@ +THREADOPTOBJS = condition.@O@ mutex.@O@ +OBJS = @THREADOPTOBJS@ thread.@O@ -SRCS = condition.c mutex.c thread.c +THREADOPTSRCS = condition.c mutex.c +SRCS = @THREADOPTSRCS@ thread.c SUBDIRS = include TARGETS = ${OBJS} From 02181a6c7420e8f3c083d0d20e0e65a78ea25d0f Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Wed, 9 Jun 2010 01:47:54 +0000 Subject: [PATCH 43/65] 2915. [cleanup] Be smarter about which objects we attempt to compile based on configure options. [RT #21444] --- CHANGES | 3 +++ configure | 68 +++++++++++++++++++++++++++++++++++-------------------- 2 files changed, 46 insertions(+), 25 deletions(-) diff --git a/CHANGES b/CHANGES index 562c3d45ec..c23c920a93 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +2915. [cleanup] Be smarter about which objects we attempt to compile + based on configure options. [RT #21444] + 2914. [bug] Make the "autosign" system test more portable. [RT #20997] diff --git a/configure b/configure index fbd24d0659..fadd720d96 100755 --- a/configure +++ b/configure @@ -14,7 +14,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. # -# $Id: configure,v 1.480 2010/06/03 13:27:46 marka Exp $ +# $Id: configure,v 1.481 2010/06/09 01:47:54 marka Exp $ # # Portions Copyright (C) 1996-2001 Nominum, Inc. # @@ -29,7 +29,7 @@ # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT # OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -# From configure.in Revision: 1.497 . +# From configure.in Revision: 1.498 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.62. # @@ -915,6 +915,8 @@ ISC_PLATFORM_NEEDSYSSELECTH LWRES_PLATFORM_NEEDSYSSELECTH USE_OPENSSL DST_OPENSSL_INC +OPENSSLLINKOBJS +OPENSSLLINKSRCS ISC_PLATFORM_OPENSSLHASH ISC_OPENSSL_INC USE_PKCS11 @@ -929,6 +931,8 @@ DNS_GSSAPI_LIBS DNS_CRYPTO_LIBS ALWAYS_DEFINES ISC_PLATFORM_USETHREADS +THREADOPTOBJS +THREADOPTSRCS ISC_THREAD_DIR MKDEPCC MKDEPCFLAGS @@ -4090,7 +4094,7 @@ ia64-*-hpux*) ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 4093 "configure"' > conftest.$ac_ext + echo '#line 4097 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -7088,11 +7092,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:7091: $lt_compile\"" >&5) + (eval echo "\"\$as_me:7095: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:7095: \$? = $ac_status" >&5 + echo "$as_me:7099: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -7378,11 +7382,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:7381: $lt_compile\"" >&5) + (eval echo "\"\$as_me:7385: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:7385: \$? = $ac_status" >&5 + echo "$as_me:7389: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -7482,11 +7486,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:7485: $lt_compile\"" >&5) + (eval echo "\"\$as_me:7489: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:7489: \$? = $ac_status" >&5 + echo "$as_me:7493: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -9882,7 +9886,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext <&5) + (eval echo "\"\$as_me:12402: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:12402: \$? = $ac_status" >&5 + echo "$as_me:12406: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -12499,11 +12503,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:12502: $lt_compile\"" >&5) + (eval echo "\"\$as_me:12506: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:12506: \$? = $ac_status" >&5 + echo "$as_me:12510: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -14082,11 +14086,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:14085: $lt_compile\"" >&5) + (eval echo "\"\$as_me:14089: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:14089: \$? = $ac_status" >&5 + echo "$as_me:14093: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -14186,11 +14190,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:14189: $lt_compile\"" >&5) + (eval echo "\"\$as_me:14193: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:14193: \$? = $ac_status" >&5 + echo "$as_me:14197: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -16405,11 +16409,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16408: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16412: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:16412: \$? = $ac_status" >&5 + echo "$as_me:16416: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -16695,11 +16699,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16698: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16702: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:16702: \$? = $ac_status" >&5 + echo "$as_me:16706: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -16799,11 +16803,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16802: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16806: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:16806: \$? = $ac_status" >&5 + echo "$as_me:16810: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -23167,10 +23171,14 @@ case "$use_openssl" in $as_echo "no" >&6; } DST_OPENSSL_INC="" USE_OPENSSL="" + OPENSSLLINKOBJS="" + OPENSSLLINKSRCS="" ;; auto) DST_OPENSSL_INC="" USE_OPENSSL="" + OPENSSLLINKOBJS="" + OPENSSLLINKSRCS="" { { $as_echo "$as_me:$LINENO: error: OpenSSL was not found in any of $openssldirs; use --with-openssl=/path If you don't want OpenSSL, use --without-openssl" >&5 $as_echo "$as_me: error: OpenSSL was not found in any of $openssldirs; use --with-openssl=/path @@ -23620,6 +23628,8 @@ done CFLAGS="$saved_cflags" LIBS="$saved_libs" + OPENSSLLINKOBJS='${OPENSSLLINKOBJS}' + OPENSSLLINKSRCS='${OPENSSLLINKSRCS}' ;; esac @@ -23631,6 +23641,8 @@ esac + + DNS_CRYPTO_LIBS="$DNS_CRYPTO_LIBS $DNS_OPENSSL_LIBS" # @@ -25366,6 +25378,8 @@ then fi ALWAYS_DEFINES="-D_REENTRANT" ISC_PLATFORM_USETHREADS="#define ISC_PLATFORM_USETHREADS 1" + THREADOPTOBJS='${THREADOPTOBJS}' + THREADOPTSRCS='${THREADOPTSRCS}' thread_dir=pthreads # # We'd like to use sigwait() too @@ -26197,11 +26211,15 @@ fi else ISC_PLATFORM_USETHREADS="#undef ISC_PLATFORM_USETHREADS" thread_dir=nothreads + THREADOPTOBJS="" + THREADOPTSRCS="" ALWAYS_DEFINES="" fi + + ISC_THREAD_DIR=$thread_dir From ecc9331cdb28f908341eae66a6bf862210988246 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tatuya=20JINMEI=20=E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89?= Date: Wed, 9 Jun 2010 01:51:35 +0000 Subject: [PATCH 44/65] file controlkey.conf was initially added on branch rt21474. From 9cfdae0afd38a3889933fa98084ca010052bea23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tatuya=20JINMEI=20=E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89?= Date: Wed, 9 Jun 2010 01:51:36 +0000 Subject: [PATCH 45/65] file controls1.conf was initially added on branch rt21474. From 80a84bb8cb4fe1a15db39c10a2fe30e0a9da5db2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tatuya=20JINMEI=20=E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89?= Date: Wed, 9 Jun 2010 01:57:42 +0000 Subject: [PATCH 46/65] file bad6.conf was initially added on branch rt21474. From 02f120a9f79252cf12d94126d1f18b2e20d17405 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tatuya=20JINMEI=20=E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89?= Date: Wed, 9 Jun 2010 01:57:43 +0000 Subject: [PATCH 47/65] file good4.conf was initially added on branch rt21474. From 550e575a3edf0a5121594c0a667d34f07bc886d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tatuya=20JINMEI=20=E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89?= Date: Wed, 9 Jun 2010 01:57:44 +0000 Subject: [PATCH 48/65] file good5.conf was initially added on branch rt21474. From 9239151bf50fe8a9dbcc85e4c977369dd2de3d4a Mon Sep 17 00:00:00 2001 From: Automatic Updater Date: Wed, 9 Jun 2010 02:21:34 +0000 Subject: [PATCH 49/65] update --- doc/private/SRCID | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/private/SRCID b/doc/private/SRCID index d426041945..5330b7210d 100644 --- a/doc/private/SRCID +++ b/doc/private/SRCID @@ -1,6 +1,6 @@ -# $Id: SRCID,v 1.275 2010/06/09 00:20:55 tbox Exp $ +# $Id: SRCID,v 1.276 2010/06/09 02:21:34 tbox Exp $ # # This file must follow /bin/sh rules. It is imported directly via # configure. # -SRCID="( $Date: 2010/06/09 00:20:55 $ )" +SRCID="( $Date: 2010/06/09 02:21:34 $ )" From e2b48e4a4bcfc00536a4244e337d81d325605888 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tatuya=20JINMEI=20=E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89?= Date: Wed, 9 Jun 2010 06:08:41 +0000 Subject: [PATCH 50/65] file example.com2.zone was initially added on branch rt21474. From 902c59120aafdab60524fdb78be5152c2d306832 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tatuya=20JINMEI=20=E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89?= Date: Wed, 9 Jun 2010 06:08:42 +0000 Subject: [PATCH 51/65] file example.com3.zone was initially added on branch rt21474. From 7f7bce08e3165793080e6bae9060b5bc51ef619e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tatuya=20JINMEI=20=E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89?= Date: Wed, 9 Jun 2010 06:08:43 +0000 Subject: [PATCH 52/65] file example.com5.zone was initially added on branch rt21474. From 036cffcc86441715e7ba0ccd1ce83156f23996f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tatuya=20JINMEI=20=E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89?= Date: Wed, 9 Jun 2010 06:08:44 +0000 Subject: [PATCH 53/65] file example.com4.zone was initially added on branch rt21474. From cdb49c3672e35d2fc618e7802f6f96f25e21025f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tatuya=20JINMEI=20=E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89?= Date: Wed, 9 Jun 2010 07:25:32 +0000 Subject: [PATCH 54/65] file setup.sh was initially added on branch rt21474. From b7e4d6e2173c302720a7d154ad1f36673b63c572 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tatuya=20JINMEI=20=E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89?= Date: Wed, 9 Jun 2010 07:25:33 +0000 Subject: [PATCH 55/65] file named.conf.in was initially added on branch rt21474. From 09e3a002491a017a6bb6dd3408e839e6f2285c39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tatuya=20JINMEI=20=E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89?= Date: Wed, 9 Jun 2010 07:25:34 +0000 Subject: [PATCH 56/65] file serveraddress.conf was initially added on branch rt21474. From cf56ac2b411dcfef74d9c8fe9c97b6c45de93c81 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Wed, 9 Jun 2010 09:04:39 +0000 Subject: [PATCH 57/65] missing @ --- lib/export/isc/Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/export/isc/Makefile.in b/lib/export/isc/Makefile.in index 0ed5c346ec..ae3e3de318 100644 --- a/lib/export/isc/Makefile.in +++ b/lib/export/isc/Makefile.in @@ -12,7 +12,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: Makefile.in,v 1.6 2010/06/09 01:43:08 marka Exp $ +# $Id: Makefile.in,v 1.7 2010/06/09 09:04:39 marka Exp $ top_srcdir = @top_srcdir@ srcdir = @top_srcdir@/lib/isc @@ -54,7 +54,7 @@ NLSOBJS = nls/msgcat.@O@ THREADOPTOBJS = @ISC_THREAD_DIR@/condition.@O@ @ISC_THREAD_DIR@/mutex.@O@ -THREADOBJS = @THREADOPTOBJS @ISC_THREAD_DIR@/thread.@O@ +THREADOBJS = @THREADOPTOBJS@ @ISC_THREAD_DIR@/thread.@O@ WIN32OBJS = win32/condition.@O@ win32/dir.@O@ win32/file.@O@ \ win32/fsaccess.@O@ win32/once.@O@ win32/stdtime.@O@ \ From 17184891e777a5881926f3796f24b4b1bd1a8edf Mon Sep 17 00:00:00 2001 From: Automatic Updater Date: Wed, 9 Jun 2010 09:17:21 +0000 Subject: [PATCH 58/65] update --- doc/private/SRCID | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/private/SRCID b/doc/private/SRCID index 5330b7210d..a9355c9ba7 100644 --- a/doc/private/SRCID +++ b/doc/private/SRCID @@ -1,6 +1,6 @@ -# $Id: SRCID,v 1.276 2010/06/09 02:21:34 tbox Exp $ +# $Id: SRCID,v 1.277 2010/06/09 09:17:21 tbox Exp $ # # This file must follow /bin/sh rules. It is imported directly via # configure. # -SRCID="( $Date: 2010/06/09 02:21:34 $ )" +SRCID="( $Date: 2010/06/09 09:17:21 $ )" From 36961e293740d073580a70ef19f3ab8c08e99934 Mon Sep 17 00:00:00 2001 From: Automatic Updater Date: Wed, 9 Jun 2010 13:23:47 +0000 Subject: [PATCH 59/65] missing @ --- lib/export/dns/Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/export/dns/Makefile.in b/lib/export/dns/Makefile.in index c5b18224f4..87155fff38 100644 --- a/lib/export/dns/Makefile.in +++ b/lib/export/dns/Makefile.in @@ -12,7 +12,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: Makefile.in,v 1.5 2010/06/09 01:43:08 marka Exp $ +# $Id: Makefile.in,v 1.6 2010/06/09 13:23:47 tbox Exp $ top_srcdir = @top_srcdir@ srcdir = @top_srcdir@/lib/dns @@ -43,7 +43,7 @@ LIBS = @LIBS@ # Alphabetically -OPENSSLLINKOBJS = openssl_link.@O@ openssldh_link.@O@ openssldsa_link.@O \ +OPENSSLLINKOBJS = openssl_link.@O@ openssldh_link.@O@ openssldsa_link.@O@ \ opensslrsa_link.@O@ DSTOBJS = @OPENSSLLINKOBJS@ \ From 387182e77eda74378dcf2087bda679793a747019 Mon Sep 17 00:00:00 2001 From: Automatic Updater Date: Wed, 9 Jun 2010 13:35:23 +0000 Subject: [PATCH 60/65] update --- doc/private/SRCID | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/private/SRCID b/doc/private/SRCID index a9355c9ba7..087a650ff0 100644 --- a/doc/private/SRCID +++ b/doc/private/SRCID @@ -1,6 +1,6 @@ -# $Id: SRCID,v 1.277 2010/06/09 09:17:21 tbox Exp $ +# $Id: SRCID,v 1.278 2010/06/09 13:35:23 tbox Exp $ # # This file must follow /bin/sh rules. It is imported directly via # configure. # -SRCID="( $Date: 2010/06/09 09:17:21 $ )" +SRCID="( $Date: 2010/06/09 13:35:23 $ )" From 3514d179ddb14598f73f19dbbbd0af922a49cd0d Mon Sep 17 00:00:00 2001 From: Automatic Updater Date: Wed, 9 Jun 2010 23:19:22 +0000 Subject: [PATCH 61/65] auto update --- doc/private/branches | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/private/branches b/doc/private/branches index 5dd92caee6..62f514445f 100644 --- a/doc/private/branches +++ b/doc/private/branches @@ -237,6 +237,7 @@ rt19780 new jinmei // 2009-06-08 03:12 +0000 rt19816 new each // 2009-06-12 22:33 +0000 rt19874 new each // 2009-08-05 22:36 +0000 rt19875 new each // 2009-07-04 22:47 +0000 +rt19878 new marka // 2010-06-09 04:58 +0000 rt19910 new marka // 2009-07-09 02:38 +0000 rt19942 new each // 2009-08-27 23:01 +0000 rt19943 new each // 2009-09-15 03:18 +0000 From 8a507eb20351ee478e8c05620c6899f0a04c1853 Mon Sep 17 00:00:00 2001 From: Automatic Updater Date: Wed, 9 Jun 2010 23:32:16 +0000 Subject: [PATCH 62/65] newcopyrights --- util/copyrights | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/util/copyrights b/util/copyrights index 1c6d1c960e..174cc7e3c8 100644 --- a/util/copyrights +++ b/util/copyrights @@ -1860,7 +1860,7 @@ ./lib/bind9/win32/libbind9.mak X 2001,2002,2004,2005,2006,2009 ./lib/bind9/win32/version.c C 1998,1999,2000,2001,2004,2007 ./lib/dns/.cvsignore X 1998,1999,2000,2001 -./lib/dns/Makefile.in MAKE 1998,1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009 +./lib/dns/Makefile.in MAKE 1998,1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010 ./lib/dns/acache.c C 2004,2005,2006,2007,2008 ./lib/dns/acl.c C 1999,2000,2001,2002,2004,2005,2006,2007,2008,2009 ./lib/dns/adb.c C 1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009 @@ -2174,7 +2174,7 @@ ./lib/export/.cvsignore X 2009 ./lib/export/Makefile.in MAKE 2009 ./lib/export/dns/.cvsignore X 2009 -./lib/export/dns/Makefile.in MAKE 2009 +./lib/export/dns/Makefile.in MAKE 2009,2010 ./lib/export/dns/include/.cvsignore X 2009 ./lib/export/dns/include/Makefile.in MAKE 2009 ./lib/export/dns/include/dns/.cvsignore X 2009 @@ -2188,7 +2188,7 @@ ./lib/export/irs/include/irs/.cvsignore X 2009 ./lib/export/irs/include/irs/Makefile.in MAKE 2009 ./lib/export/isc/.cvsignore X 2009 -./lib/export/isc/Makefile.in MAKE 2009 +./lib/export/isc/Makefile.in MAKE 2009,2010 ./lib/export/isc/include/.cvsignore X 2009 ./lib/export/isc/include/Makefile.in MAKE 2009 ./lib/export/isc/include/isc/.cvsignore X 2009 @@ -2197,7 +2197,7 @@ ./lib/export/isc/nls/.cvsignore X 2009 ./lib/export/isc/nls/Makefile.in MAKE 2009 ./lib/export/isc/nothreads/.cvsignore X 2009 -./lib/export/isc/nothreads/Makefile.in MAKE 2009 +./lib/export/isc/nothreads/Makefile.in MAKE 2009,2010 ./lib/export/isc/nothreads/include/.cvsignore X 2009 ./lib/export/isc/nothreads/include/Makefile.in MAKE 2009 ./lib/export/isc/nothreads/include/isc/.cvsignore X 2009 @@ -2398,7 +2398,7 @@ ./lib/isc/noatomic/include/isc/Makefile.in MAKE 2007 ./lib/isc/noatomic/include/isc/atomic.h C 2005,2007 ./lib/isc/nothreads/.cvsignore X 2000,2001 -./lib/isc/nothreads/Makefile.in MAKE 2000,2001,2004,2007,2009 +./lib/isc/nothreads/Makefile.in MAKE 2000,2001,2004,2007,2009,2010 ./lib/isc/nothreads/condition.c C 2000,2001,2004,2006,2007 ./lib/isc/nothreads/include/.cvsignore X 2000,2001 ./lib/isc/nothreads/include/Makefile.in MAKE 2000,2001,2004,2007 From e40d5d6b7183419899b1eeeeb3aeb1a6a630def7 Mon Sep 17 00:00:00 2001 From: Automatic Updater Date: Wed, 9 Jun 2010 23:50:58 +0000 Subject: [PATCH 63/65] update copyright notice --- lib/dns/Makefile.in | 4 ++-- lib/export/dns/Makefile.in | 4 ++-- lib/export/isc/Makefile.in | 4 ++-- lib/export/isc/nothreads/Makefile.in | 4 ++-- lib/isc/nothreads/Makefile.in | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/dns/Makefile.in b/lib/dns/Makefile.in index 44abf9ee2a..25e129d175 100644 --- a/lib/dns/Makefile.in +++ b/lib/dns/Makefile.in @@ -1,4 +1,4 @@ -# Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC") +# Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC") # Copyright (C) 1998-2003 Internet Software Consortium. # # Permission to use, copy, modify, and/or distribute this software for any @@ -13,7 +13,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: Makefile.in,v 1.170 2010/06/09 01:43:08 marka Exp $ +# $Id: Makefile.in,v 1.171 2010/06/09 23:50:58 tbox Exp $ srcdir = @srcdir@ VPATH = @srcdir@ diff --git a/lib/export/dns/Makefile.in b/lib/export/dns/Makefile.in index 87155fff38..c35f850737 100644 --- a/lib/export/dns/Makefile.in +++ b/lib/export/dns/Makefile.in @@ -1,4 +1,4 @@ -# Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC") +# Copyright (C) 2009, 2010 Internet Systems Consortium, Inc. ("ISC") # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above @@ -12,7 +12,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: Makefile.in,v 1.6 2010/06/09 13:23:47 tbox Exp $ +# $Id: Makefile.in,v 1.7 2010/06/09 23:50:58 tbox Exp $ top_srcdir = @top_srcdir@ srcdir = @top_srcdir@/lib/dns diff --git a/lib/export/isc/Makefile.in b/lib/export/isc/Makefile.in index ae3e3de318..a55a1f4443 100644 --- a/lib/export/isc/Makefile.in +++ b/lib/export/isc/Makefile.in @@ -1,4 +1,4 @@ -# Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC") +# Copyright (C) 2009, 2010 Internet Systems Consortium, Inc. ("ISC") # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above @@ -12,7 +12,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: Makefile.in,v 1.7 2010/06/09 09:04:39 marka Exp $ +# $Id: Makefile.in,v 1.8 2010/06/09 23:50:58 tbox Exp $ top_srcdir = @top_srcdir@ srcdir = @top_srcdir@/lib/isc diff --git a/lib/export/isc/nothreads/Makefile.in b/lib/export/isc/nothreads/Makefile.in index fe55571d48..93b210933a 100644 --- a/lib/export/isc/nothreads/Makefile.in +++ b/lib/export/isc/nothreads/Makefile.in @@ -1,4 +1,4 @@ -# Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC") +# Copyright (C) 2009, 2010 Internet Systems Consortium, Inc. ("ISC") # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above @@ -12,7 +12,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: Makefile.in,v 1.4 2010/06/09 01:43:08 marka Exp $ +# $Id: Makefile.in,v 1.5 2010/06/09 23:50:58 tbox Exp $ top_srcdir = @top_srcdir@ srcdir = @top_srcdir@/lib/isc/nothreads diff --git a/lib/isc/nothreads/Makefile.in b/lib/isc/nothreads/Makefile.in index 9335b03070..7e7abd6b1c 100644 --- a/lib/isc/nothreads/Makefile.in +++ b/lib/isc/nothreads/Makefile.in @@ -1,4 +1,4 @@ -# Copyright (C) 2004, 2007, 2009 Internet Systems Consortium, Inc. ("ISC") +# Copyright (C) 2004, 2007, 2009, 2010 Internet Systems Consortium, Inc. ("ISC") # Copyright (C) 2000, 2001 Internet Software Consortium. # # Permission to use, copy, modify, and/or distribute this software for any @@ -13,7 +13,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: Makefile.in,v 1.11 2010/06/09 01:43:09 marka Exp $ +# $Id: Makefile.in,v 1.12 2010/06/09 23:50:58 tbox Exp $ top_srcdir = @top_srcdir@ srcdir = @top_srcdir@/lib/isc/nothreads From 60f146a7d085d4dba6d92119b28d0c6712801c5a Mon Sep 17 00:00:00 2001 From: Automatic Updater Date: Thu, 10 Jun 2010 00:21:11 +0000 Subject: [PATCH 64/65] update --- doc/private/SRCID | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/private/SRCID b/doc/private/SRCID index 087a650ff0..8fab007f62 100644 --- a/doc/private/SRCID +++ b/doc/private/SRCID @@ -1,6 +1,6 @@ -# $Id: SRCID,v 1.278 2010/06/09 13:35:23 tbox Exp $ +# $Id: SRCID,v 1.279 2010/06/10 00:21:11 tbox Exp $ # # This file must follow /bin/sh rules. It is imported directly via # configure. # -SRCID="( $Date: 2010/06/09 13:35:23 $ )" +SRCID="( $Date: 2010/06/10 00:21:11 $ )" From 9a56f03c4c63c3729ebfcff9f99b9394c6004a20 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 10 Jun 2010 06:19:52 +0000 Subject: [PATCH 65/65] 2916. [func] Add framework to use IPv6 in tests. fd92:7065:b8e:ffff::1 ... fd92:7065:b8e:ffff::7 --- CHANGES | 3 +++ bin/tests/system/conf.sh.in | 15 ++++++++++-- bin/tests/system/ifconfig.sh | 45 ++++++++++++++++++++++++++++++++--- bin/tests/system/testsock6.pl | 33 +++++++++++++++++++++++++ 4 files changed, 91 insertions(+), 5 deletions(-) create mode 100644 bin/tests/system/testsock6.pl diff --git a/CHANGES b/CHANGES index c23c920a93..10970f4b77 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +2916. [func] Add framework to use IPv6 in tests. + fd92:7065:b8e:ffff::1 ... fd92:7065:b8e:ffff::7 + 2915. [cleanup] Be smarter about which objects we attempt to compile based on configure options. [RT #21444] diff --git a/bin/tests/system/conf.sh.in b/bin/tests/system/conf.sh.in index 8da20c84c8..4eabc37366 100644 --- a/bin/tests/system/conf.sh.in +++ b/bin/tests/system/conf.sh.in @@ -15,7 +15,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: conf.sh.in,v 1.47 2010/06/07 03:42:37 marka Exp $ +# $Id: conf.sh.in,v 1.48 2010/06/10 06:19:52 marka Exp $ # # Common configuration data for system tests, to be sourced into @@ -58,6 +58,17 @@ SUBDIRS="acl autosign cacheclean checkconf checknames dlv dnssec forward glue # PERL will be an empty string if no perl interpreter was found. PERL=@PERL@ +if test -n "$PERL" +then + if $PERL -e "use IO::Socket::INET6;" 2> /dev/null + then + TESTSOCK6="$PERL $TOP/bin/tests/system/testsock6.pl" + else + TESTSOCK6=false + fi +else + TESTSOCK6=false +fi export NAMED LWRESD DIG NSUPDATE KEYGEN KEYFRLAB SIGNER KEYSIGNER KEYSETTOOL \ - PERL SUBDIRS RNDC CHECKZONE PK11GEN PK11LIST PK11DEL + SUBDIRS RNDC CHECKZONE TESTSOCK6 diff --git a/bin/tests/system/ifconfig.sh b/bin/tests/system/ifconfig.sh index 3812d10dac..f15df4c27a 100644 --- a/bin/tests/system/ifconfig.sh +++ b/bin/tests/system/ifconfig.sh @@ -15,11 +15,14 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: ifconfig.sh,v 1.57 2009/06/26 23:47:58 tbox Exp $ +# $Id: ifconfig.sh,v 1.58 2010/06/10 06:19:52 marka Exp $ # # Set up interface aliases for bind9 system tests. # +# IPv4: 10.53.0.{1..7} RFC 1918 +# IPv6: fd92:7065:b8e:ffff::{1..7} ULA +# config_guess="" for f in ./config.guess ../../../config.guess @@ -54,6 +57,11 @@ case "$2" in *) base="" esac +case "$3" in +[0-9]|[1-9][0-9]|[1-9][0-9][0-9]) base6=$2;; +*) base6="" +esac + case "$1" in start|up) @@ -65,6 +73,12 @@ case "$1" in else int=$ns fi + if test -n "$base6" + then + int6=`expr $ns + $base6 - 1` + else + int6=$ns + fi case "$sys" in *-pc-solaris2.5.1) ifconfig lo0:$int 10.53.0.$ns netmask 0xffffffff up @@ -75,18 +89,28 @@ case "$1" in *-*-solaris2.[8-9]|*-*-solaris2.1[0-9]) /sbin/ifconfig lo0:$int plumb /sbin/ifconfig lo0:$int 10.53.0.$ns up + if test -n "$int6" + then + /sbin/ifconfig lo0:$int6 inet6 plumb + /sbin/ifconfig lo0:$int6 \ + inet6 fd92:7065:b8e:ffff::$ns up + fi ;; *-*-linux*) ifconfig lo:$int 10.53.0.$ns up netmask 255.255.255.0 + ifconfig lo inet6 add fd92:7065:b8e:ffff::$ns/64 ;; *-unknown-freebsd*) ifconfig lo0 10.53.0.$ns alias netmask 0xffffffff + ifconfig lo0 inet6 fd92:7065:b8e:ffff::$ns alias ;; *-unknown-netbsd*) ifconfig lo0 10.53.0.$ns alias netmask 255.255.255.0 + ifconfig lo0 inet6 fd92:7065:b8e:ffff::$ns alias ;; *-unknown-openbsd*) ifconfig lo0 10.53.0.$ns alias netmask 255.255.255.0 + ifconfig lo0 inet6 fd92:7065:b8e:ffff::$ns alias ;; *-*-bsdi[3-5].*) ifconfig lo0 add 10.53.0.$ns netmask 255.255.255.0 @@ -102,15 +126,18 @@ case "$1" in ;; *-ibm-aix4.*|*-ibm-aix5.*) ifconfig lo0 alias 10.53.0.$ns + ifconfig lo0 inet6 alias -dad fd92:7065:b8e:ffff::$ns/64 ;; hpux) - ifconfig lo0:$int 10.53.0.$ns up + ifconfig lo0:$int 10.53.0.$ns netmask 255.255.255.0 up + ifconfig lo0:$int inet6 fd92:7065:b8e:ffff::$ns up ;; *-sco3.2v*) ifconfig lo0 alias 10.53.0.$ns ;; *-darwin*) ifconfig lo0 alias 10.53.0.$ns + ifconfig lo0 inet6 fd92:7065:b8e:ffff::$ns alias ;; *) echo "Don't know how to set up interface. Giving up." @@ -138,18 +165,27 @@ case "$1" in *-*-solaris2.[8-9]|*-*-solaris2.1[0-9]) ifconfig lo0:$int 10.53.0.$ns down ifconfig lo0:$int 10.53.0.$ns unplumb + if test -n "$int6" + then + ifconfig lo0:$int6 inet6 down + ifconfig lo0:$int6 inet6 unplumb + fi ;; *-*-linux*) ifconfig lo:$int 10.53.0.$ns down + ifconfig lo inet6 del fd92:7065:b8e:ffff::$ns/64 ;; *-unknown-freebsd*) ifconfig lo0 10.53.0.$ns delete + ifconfig lo0 inet6 fd92:7065:b8e:ffff::$ns delete ;; *-unknown-netbsd*) ifconfig lo0 10.53.0.$ns delete + ifconfig lo0 inet6 fd92:7065:b8e:ffff::$ns delete ;; *-unknown-openbsd*) ifconfig lo0 10.53.0.$ns delete + ifconfig lo0 inet6 fd92:7065:b8e:ffff::$ns delete ;; *-*-bsdi[3-5].*) ifconfig lo0 remove 10.53.0.$ns @@ -165,15 +201,18 @@ case "$1" in ;; *-ibm-aix4.*|*-ibm-aix5.*) ifconfig lo0 delete 10.53.0.$ns + ifconfig lo0 delete inet6 fd92:7065:b8e:ffff::$ns/64 ;; hpux) - ifconfig lo0:$int 10.53.0.$ns down + ifconfig lo0:$int 0.0.0.0 + ifconfig lo0:$int inet6 :: ;; *-sco3.2v*) ifconfig lo0 -alias 10.53.0.$ns ;; *darwin*) ifconfig lo0 -alias 10.53.0.$ns + ifconfig lo0 inet6 fd92:7065:b8e:ffff::$ns delete ;; *) echo "Don't know how to destroy interface. Giving up." diff --git a/bin/tests/system/testsock6.pl b/bin/tests/system/testsock6.pl new file mode 100644 index 0000000000..64a013eb58 --- /dev/null +++ b/bin/tests/system/testsock6.pl @@ -0,0 +1,33 @@ +#!/usr/bin/perl +# +# Copyright (C) 2004, 2007 Internet Systems Consortium, Inc. ("ISC") +# Copyright (C) 2000, 2001 Internet Software Consortium. +# +# Permission to use, copy, modify, and/or distribute this software for any +# purpose with or without fee is hereby granted, provided that the above +# copyright notice and this permission notice appear in all copies. +# +# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH +# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, +# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE +# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +# PERFORMANCE OF THIS SOFTWARE. + +# $Id: testsock6.pl,v 1.2 2010/06/10 06:19:52 marka Exp $ + +# Test whether the interfaces on 10.53.0.* are up. + +require 5.001; + +use IO::Socket::INET6; + +foreach $addr ($ARGV) { + my $sock; + $sock = IO::Socket::INET6->new(LocalAddr => $addr, + LocalPort => 0, + Proto => tcp) + or die "Can't bind : $@\n"; + close($sock); +}