Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/bind/dist Import bind 9.9.0a1



details:   https://anonhg.NetBSD.org/src/rev/1ff1f47c6b88
branches:  trunk
changeset: 769482:1ff1f47c6b88
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Sep 11 17:18:57 2011 +0000

description:
Import bind 9.9.0a1

diffstat:

 external/bsd/bind/dist/lib/dns/rdata/generic/naptr_35.c                  |    700 +
 external/bsd/bind/dist/lib/dns/rdata/generic/naptr_35.h                  |     42 +
 external/bsd/bind/dist/lib/dns/rdata/generic/uri_256.c                   |    333 +
 external/bsd/bind/dist/lib/dns/rdata/generic/uri_256.h                   |     33 +
 external/bsd/bind/dist/lib/dns/tests/Atffile                             |      5 +
 external/bsd/bind/dist/lib/dns/tests/Makefile.in                         |     79 +
 external/bsd/bind/dist/lib/dns/tests/dbiterator_test.c                   |    464 +
 external/bsd/bind/dist/lib/dns/tests/dnstest.c                           |    166 +
 external/bsd/bind/dist/lib/dns/tests/dnstest.h                           |     58 +
 external/bsd/bind/dist/lib/dns/tests/master_test.c                       |    357 +
 external/bsd/bind/dist/lib/dns/tests/testdata/dbiterator/zone1.data      |     37 +
 external/bsd/bind/dist/lib/dns/tests/testdata/dbiterator/zone2.data      |    319 +
 external/bsd/bind/dist/lib/dns/tests/testdata/master/master1.data        |     11 +
 external/bsd/bind/dist/lib/dns/tests/testdata/master/master10.data       |      7 +
 external/bsd/bind/dist/lib/dns/tests/testdata/master/master11.data       |      6 +
 external/bsd/bind/dist/lib/dns/tests/testdata/master/master2.data        |     11 +
 external/bsd/bind/dist/lib/dns/tests/testdata/master/master3.data        |     11 +
 external/bsd/bind/dist/lib/dns/tests/testdata/master/master4.data        |     11 +
 external/bsd/bind/dist/lib/dns/tests/testdata/master/master5.data        |     11 +
 external/bsd/bind/dist/lib/dns/tests/testdata/master/master6.data        |     33 +
 external/bsd/bind/dist/lib/dns/tests/testdata/master/master7.data        |     17 +
 external/bsd/bind/dist/lib/dns/tests/testdata/master/master8.data        |      4 +
 external/bsd/bind/dist/lib/dns/tests/testdata/master/master9.data        |      4 +
 external/bsd/bind/dist/lib/dns/tests/time_test.c                         |    220 +
 external/bsd/bind/dist/lib/dns/tests/update_test.c                       |    279 +
 external/bsd/bind/dist/lib/dns/tests/zonemgr_test.c                      |    179 +
 external/bsd/bind/dist/lib/dns/win32/libdns.def                          |     23 +-
 external/bsd/bind/dist/lib/dns/win32/libdns.dsp                          |      8 +
 external/bsd/bind/dist/lib/dns/win32/libdns.mak                          |     24 +
 external/bsd/bind/dist/lib/export/dns/Makefile.in                        |      6 +-
 external/bsd/bind/dist/lib/export/irs/Makefile.in                        |      6 +-
 external/bsd/bind/dist/lib/export/isccfg/Makefile.in                     |      6 +-
 external/bsd/bind/dist/lib/irs/api                                       |      2 +-
 external/bsd/bind/dist/lib/isc/Atffile                                   |      5 +
 external/bsd/bind/dist/lib/isc/Makefile.in                               |      5 +-
 external/bsd/bind/dist/lib/isc/api                                       |      4 +-
 external/bsd/bind/dist/lib/isc/tests/Atffile                             |      5 +
 external/bsd/bind/dist/lib/isc/tests/Makefile.in                         |     62 +
 external/bsd/bind/dist/lib/isc/tests/hash_test.c                         |   1807 +
 external/bsd/bind/dist/lib/isc/tests/isctest.c                           |    157 +
 external/bsd/bind/dist/lib/isc/tests/isctest.h                           |     56 +
 external/bsd/bind/dist/lib/isc/tests/socket_test.c                       |    276 +
 external/bsd/bind/dist/lib/isc/tests/taskpool_test.c                     |    163 +
 external/bsd/bind/dist/lib/isc/win32/libisc.def                          |      5 +
 external/bsd/bind/dist/lib/isccc/Makefile.in                             |      2 +-
 external/bsd/bind/dist/lib/isccc/api                                     |      2 +-
 external/bsd/bind/dist/lib/isccfg/Makefile.in                            |      4 +-
 external/bsd/bind/dist/lib/isccfg/api                                    |      6 +-
 external/bsd/bind/dist/lib/isccfg/win32/libisccfg.def                    |      6 +-
 external/bsd/bind/dist/lib/lwres/api                                     |      2 +-
 external/bsd/bind/dist/lib/lwres/man/lwres.html                          |     14 +-
 external/bsd/bind/dist/lib/lwres/man/lwres_buffer.html                   |      6 +-
 external/bsd/bind/dist/lib/lwres/man/lwres_config.html                   |     12 +-
 external/bsd/bind/dist/lib/lwres/man/lwres_context.html                  |     10 +-
 external/bsd/bind/dist/lib/lwres/man/lwres_gabn.html                     |     10 +-
 external/bsd/bind/dist/lib/lwres/man/lwres_gai_strerror.html             |      8 +-
 external/bsd/bind/dist/lib/lwres/man/lwres_getaddrinfo.html              |     10 +-
 external/bsd/bind/dist/lib/lwres/man/lwres_gethostent.html               |     12 +-
 external/bsd/bind/dist/lib/lwres/man/lwres_getipnode.html                |     10 +-
 external/bsd/bind/dist/lib/lwres/man/lwres_getnameinfo.html              |     12 +-
 external/bsd/bind/dist/lib/lwres/man/lwres_getrrsetbyname.html           |     10 +-
 external/bsd/bind/dist/lib/lwres/man/lwres_gnba.html                     |     10 +-
 external/bsd/bind/dist/lib/lwres/man/lwres_hstrerror.html                |     10 +-
 external/bsd/bind/dist/lib/lwres/man/lwres_inetntop.html                 |     10 +-
 external/bsd/bind/dist/lib/lwres/man/lwres_noop.html                     |     10 +-
 external/bsd/bind/dist/lib/lwres/man/lwres_packet.html                   |      8 +-
 external/bsd/bind/dist/lib/lwres/man/lwres_resutil.html                  |     10 +-
 external/bsd/bind/dist/make/rules.in                                     |     20 +-
 external/bsd/bind/dist/unit/Makefile.in                                  |     40 +
 external/bsd/bind/dist/unit/README                                       |      2 +
 external/bsd/bind/dist/unit/atf-src/AUTHORS                              |     25 +
 external/bsd/bind/dist/unit/atf-src/Atffile                              |     11 +
 external/bsd/bind/dist/unit/atf-src/COPYING                              |     70 +
 external/bsd/bind/dist/unit/atf-src/INSTALL                              |    223 +
 external/bsd/bind/dist/unit/atf-src/Makefile.am                          |    118 +
 external/bsd/bind/dist/unit/atf-src/Makefile.in                          |   4632 ++
 external/bsd/bind/dist/unit/atf-src/NEWS                                 |    423 +
 external/bsd/bind/dist/unit/atf-src/README                               |     40 +
 external/bsd/bind/dist/unit/atf-src/aclocal.m4                           |    917 +
 external/bsd/bind/dist/unit/atf-src/admin/Makefile.am.inc                |     48 +
 external/bsd/bind/dist/unit/atf-src/admin/check-install.sh               |     92 +
 external/bsd/bind/dist/unit/atf-src/admin/check-style-c.awk              |     94 +
 external/bsd/bind/dist/unit/atf-src/admin/check-style-common.awk         |     82 +
 external/bsd/bind/dist/unit/atf-src/admin/check-style-cpp.awk            |     90 +
 external/bsd/bind/dist/unit/atf-src/admin/check-style-man.awk            |     78 +
 external/bsd/bind/dist/unit/atf-src/admin/check-style-shell.awk          |    106 +
 external/bsd/bind/dist/unit/atf-src/admin/check-style.sh                 |    187 +
 external/bsd/bind/dist/unit/atf-src/admin/compile                        |    143 +
 external/bsd/bind/dist/unit/atf-src/admin/config.guess                   |   1502 +
 external/bsd/bind/dist/unit/atf-src/admin/config.sub                     |   1708 +
 external/bsd/bind/dist/unit/atf-src/admin/depcomp                        |    630 +
 external/bsd/bind/dist/unit/atf-src/admin/install-sh                     |    291 +
 external/bsd/bind/dist/unit/atf-src/admin/ltmain.sh                      |   8406 ++++
 external/bsd/bind/dist/unit/atf-src/admin/missing                        |    376 +
 external/bsd/bind/dist/unit/atf-src/atf-c++.hpp                          |     35 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/Atffile                      |     14 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/Makefile.am.inc              |    110 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/atf-c++-api.3                |    394 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/atf-c++.pc.in                |     11 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/atf_c++_test.cpp             |     48 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/build.cpp                    |    119 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/build.hpp                    |     57 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/build_test.cpp               |    247 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/check.cpp                    |    158 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/check.hpp                    |    133 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/check_test.cpp               |    402 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/config.cpp                   |    123 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/config.hpp                   |     75 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/config_test.cpp              |    231 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/detail/Atffile               |     13 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/detail/Makefile.am.inc       |     98 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/detail/application.cpp       |    338 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/detail/application.hpp       |    115 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/detail/application_test.cpp  |     90 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/detail/env.cpp               |     73 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/detail/env.hpp               |     84 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/detail/env_test.cpp          |     91 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/detail/exceptions.cpp        |    156 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/detail/exceptions.hpp        |     98 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/detail/exceptions_test.cpp   |    147 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/detail/expand.cpp            |     81 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/detail/expand.hpp            |     82 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/detail/expand_test.cpp       |    272 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/detail/fs.cpp                |    517 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/detail/fs.hpp                |    391 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/detail/fs_test.cpp           |    545 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/detail/parser.cpp            |    384 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/detail/parser.hpp            |    607 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/detail/parser_test.cpp       |   1043 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/detail/process.cpp           |    355 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/detail/process.hpp           |    270 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/detail/process_test.cpp      |    357 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/detail/sanity.hpp            |     37 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/detail/sanity_test.cpp       |     41 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/detail/test_helpers.cpp      |    156 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/detail/test_helpers.hpp      |    155 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/detail/text.cpp              |    135 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/detail/text.hpp              |    144 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/detail/text_test.cpp         |    365 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/detail/ui.cpp                |    172 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/detail/ui.hpp                |    105 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/detail/ui_test.cpp           |    462 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/macros.hpp                   |    199 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/macros_hpp_test.cpp          |    125 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/macros_test.cpp              |    646 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/pkg_config_test.sh           |    149 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/tests.cpp                    |    700 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/tests.hpp                    |    127 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/tests_test.cpp               |    201 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/utils.hpp                    |    200 +
 external/bsd/bind/dist/unit/atf-src/atf-c++/utils_test.cpp               |    308 +
 external/bsd/bind/dist/unit/atf-src/atf-c.h                              |     38 +
 external/bsd/bind/dist/unit/atf-src/atf-c/Atffile                        |     15 +
 external/bsd/bind/dist/unit/atf-src/atf-c/Makefile.am.inc                |    151 +
 external/bsd/bind/dist/unit/atf-src/atf-c/atf-c-api.3                    |    490 +
 external/bsd/bind/dist/unit/atf-src/atf-c/atf-c.pc.in                    |     11 +
 external/bsd/bind/dist/unit/atf-src/atf-c/atf_c_test.c                   |     52 +
 external/bsd/bind/dist/unit/atf-src/atf-c/build.c                        |    283 +
 external/bsd/bind/dist/unit/atf-src/atf-c/build.h                        |     44 +
 external/bsd/bind/dist/unit/atf-src/atf-c/build_test.c                   |    270 +
 external/bsd/bind/dist/unit/atf-src/atf-c/check.c                        |    492 +
 external/bsd/bind/dist/unit/atf-src/atf-c/check.h                        |     75 +
 external/bsd/bind/dist/unit/atf-src/atf-c/check_test.c                   |    545 +
 external/bsd/bind/dist/unit/atf-src/atf-c/config.c                       |    166 +
 external/bsd/bind/dist/unit/atf-src/atf-c/config.h                       |     39 +
 external/bsd/bind/dist/unit/atf-src/atf-c/config_test.c                  |    158 +
 external/bsd/bind/dist/unit/atf-src/atf-c/defs.h.in                      |     35 +
 external/bsd/bind/dist/unit/atf-src/atf-c/detail/Atffile                 |     14 +
 external/bsd/bind/dist/unit/atf-src/atf-c/detail/Makefile.am.inc         |    103 +
 external/bsd/bind/dist/unit/atf-src/atf-c/detail/dynstr.c                |    400 +
 external/bsd/bind/dist/unit/atf-src/atf-c/detail/dynstr.h                |     83 +
 external/bsd/bind/dist/unit/atf-src/atf-c/detail/dynstr_test.c           |    639 +
 external/bsd/bind/dist/unit/atf-src/atf-c/detail/env.c                   |    110 +
 external/bsd/bind/dist/unit/atf-src/atf-c/detail/env.h                   |     44 +
 external/bsd/bind/dist/unit/atf-src/atf-c/detail/env_test.c              |    118 +
 external/bsd/bind/dist/unit/atf-src/atf-c/detail/fs.c                    |    889 +
 external/bsd/bind/dist/unit/atf-src/atf-c/detail/fs.h                    |    135 +
 external/bsd/bind/dist/unit/atf-src/atf-c/detail/fs_test.c               |   1084 +
 external/bsd/bind/dist/unit/atf-src/atf-c/detail/list.c                  |    394 +
 external/bsd/bind/dist/unit/atf-src/atf-c/detail/list.h                  |    117 +
 external/bsd/bind/dist/unit/atf-src/atf-c/detail/list_test.c             |    371 +
 external/bsd/bind/dist/unit/atf-src/atf-c/detail/map.c                   |    385 +
 external/bsd/bind/dist/unit/atf-src/atf-c/detail/map.h                   |    121 +
 external/bsd/bind/dist/unit/atf-src/atf-c/detail/map_test.c              |    427 +
 external/bsd/bind/dist/unit/atf-src/atf-c/detail/process.c               |    670 +
 external/bsd/bind/dist/unit/atf-src/atf-c/detail/process.h               |    136 +
 external/bsd/bind/dist/unit/atf-src/atf-c/detail/process_helpers.c       |    119 +
 external/bsd/bind/dist/unit/atf-src/atf-c/detail/process_test.c          |   1148 +
 external/bsd/bind/dist/unit/atf-src/atf-c/detail/sanity.c                |     80 +
 external/bsd/bind/dist/unit/atf-src/atf-c/detail/sanity.h                |     75 +
 external/bsd/bind/dist/unit/atf-src/atf-c/detail/sanity_test.c           |    255 +
 external/bsd/bind/dist/unit/atf-src/atf-c/detail/test_helpers.c          |    216 +
 external/bsd/bind/dist/unit/atf-src/atf-c/detail/test_helpers.h          |     78 +
 external/bsd/bind/dist/unit/atf-src/atf-c/detail/test_helpers_test.c     |    187 +
 external/bsd/bind/dist/unit/atf-src/atf-c/detail/text.c                  |    186 +
 external/bsd/bind/dist/unit/atf-src/atf-c/detail/text.h                  |     51 +
 external/bsd/bind/dist/unit/atf-src/atf-c/detail/text_test.c             |    426 +
 external/bsd/bind/dist/unit/atf-src/atf-c/detail/tp_main.c               |    600 +
 external/bsd/bind/dist/unit/atf-src/atf-c/detail/user.c                  |     80 +
 external/bsd/bind/dist/unit/atf-src/atf-c/detail/user.h                  |     51 +
 external/bsd/bind/dist/unit/atf-src/atf-c/detail/user_test.c             |    143 +
 external/bsd/bind/dist/unit/atf-src/atf-c/error.c                        |    269 +
 external/bsd/bind/dist/unit/atf-src/atf-c/error.h                        |     73 +
 external/bsd/bind/dist/unit/atf-src/atf-c/error_fwd.h                    |     42 +
 external/bsd/bind/dist/unit/atf-src/atf-c/error_test.c                   |    313 +
 external/bsd/bind/dist/unit/atf-src/atf-c/h_build.h                      |    416 +
 external/bsd/bind/dist/unit/atf-src/atf-c/macros.h                       |    188 +
 external/bsd/bind/dist/unit/atf-src/atf-c/macros_h_test.c                |    105 +
 external/bsd/bind/dist/unit/atf-src/atf-c/macros_test.c                  |    778 +
 external/bsd/bind/dist/unit/atf-src/atf-c/pkg_config_test.sh             |    149 +
 external/bsd/bind/dist/unit/atf-src/atf-c/tc.c                           |   1210 +
 external/bsd/bind/dist/unit/atf-src/atf-c/tc.h                           |    129 +
 external/bsd/bind/dist/unit/atf-src/atf-c/tc_test.c                      |    196 +
 external/bsd/bind/dist/unit/atf-src/atf-c/tp.c                           |    219 +
 external/bsd/bind/dist/unit/atf-src/atf-c/tp.h                           |     71 +
 external/bsd/bind/dist/unit/atf-src/atf-c/tp_test.c                      |     99 +
 external/bsd/bind/dist/unit/atf-src/atf-c/utils.c                        |     45 +
 external/bsd/bind/dist/unit/atf-src/atf-c/utils.h                        |     37 +
 external/bsd/bind/dist/unit/atf-src/atf-c/utils_test.c                   |     72 +
 external/bsd/bind/dist/unit/atf-src/atf-config/Atffile                   |      5 +
 external/bsd/bind/dist/unit/atf-src/atf-config/Makefile.am.inc           |     47 +
 external/bsd/bind/dist/unit/atf-src/atf-config/atf-config.1              |    186 +
 external/bsd/bind/dist/unit/atf-src/atf-config/atf-config.cpp            |    141 +
 external/bsd/bind/dist/unit/atf-src/atf-config/integration_test.sh       |    212 +
 external/bsd/bind/dist/unit/atf-src/atf-report/Atffile                   |      5 +
 external/bsd/bind/dist/unit/atf-src/atf-report/Makefile.am.inc           |     79 +
 external/bsd/bind/dist/unit/atf-src/atf-report/atf-report.1              |    168 +
 external/bsd/bind/dist/unit/atf-src/atf-report/atf-report.cpp            |    671 +
 external/bsd/bind/dist/unit/atf-src/atf-report/fail_helper.cpp           |     45 +
 external/bsd/bind/dist/unit/atf-src/atf-report/integration_test.sh       |    425 +
 external/bsd/bind/dist/unit/atf-src/atf-report/misc_helpers.cpp          |     68 +
 external/bsd/bind/dist/unit/atf-src/atf-report/pass_helper.cpp           |     44 +
 external/bsd/bind/dist/unit/atf-src/atf-report/reader.cpp                |    383 +
 external/bsd/bind/dist/unit/atf-src/atf-report/reader.hpp                |     86 +
 external/bsd/bind/dist/unit/atf-src/atf-report/reader_test.cpp           |    943 +
 external/bsd/bind/dist/unit/atf-src/atf-report/tests-results.css         |    164 +
 external/bsd/bind/dist/unit/atf-src/atf-report/tests-results.dtd         |     61 +
 external/bsd/bind/dist/unit/atf-src/atf-report/tests-results.xsl         |    523 +
 external/bsd/bind/dist/unit/atf-src/atf-run/Atffile                      |      5 +
 external/bsd/bind/dist/unit/atf-src/atf-run/Makefile.am.inc              |    148 +
 external/bsd/bind/dist/unit/atf-src/atf-run/atf-run.1                    |    204 +
 external/bsd/bind/dist/unit/atf-src/atf-run/atf-run.cpp                  |    501 +
 external/bsd/bind/dist/unit/atf-src/atf-run/atffile.cpp                  |    337 +
 external/bsd/bind/dist/unit/atf-src/atf-run/atffile.hpp                  |     95 +
 external/bsd/bind/dist/unit/atf-src/atf-run/atffile_test.cpp             |    636 +
 external/bsd/bind/dist/unit/atf-src/atf-run/bad_metadata_helper.c        |     40 +
 external/bsd/bind/dist/unit/atf-src/atf-run/config.cpp                   |    221 +
 external/bsd/bind/dist/unit/atf-src/atf-run/config.hpp                   |     61 +
 external/bsd/bind/dist/unit/atf-src/atf-run/config_test.cpp              |    379 +
 external/bsd/bind/dist/unit/atf-src/atf-run/expect_helpers.c             |    195 +
 external/bsd/bind/dist/unit/atf-src/atf-run/fs.cpp                       |    212 +
 external/bsd/bind/dist/unit/atf-src/atf-run/fs.hpp                       |     57 +
 external/bsd/bind/dist/unit/atf-src/atf-run/fs_test.cpp                  |    260 +
 external/bsd/bind/dist/unit/atf-src/atf-run/integration_test.sh          |   1068 +
 external/bsd/bind/dist/unit/atf-src/atf-run/io.cpp                       |    361 +
 external/bsd/bind/dist/unit/atf-src/atf-run/io.hpp                       |    432 +
 external/bsd/bind/dist/unit/atf-src/atf-run/io_test.cpp                  |    470 +
 external/bsd/bind/dist/unit/atf-src/atf-run/misc_helpers.cpp             |    373 +
 external/bsd/bind/dist/unit/atf-src/atf-run/pass_helper.cpp              |     44 +
 external/bsd/bind/dist/unit/atf-src/atf-run/requirements.cpp             |    229 +
 external/bsd/bind/dist/unit/atf-src/atf-run/requirements.hpp             |     44 +
 external/bsd/bind/dist/unit/atf-src/atf-run/requirements_test.cpp        |    305 +
 external/bsd/bind/dist/unit/atf-src/atf-run/sample/atf-run.hooks         |     23 +
 external/bsd/bind/dist/unit/atf-src/atf-run/sample/common.conf           |     11 +
 external/bsd/bind/dist/unit/atf-src/atf-run/several_tcs_helper.c         |     72 +
 external/bsd/bind/dist/unit/atf-src/atf-run/share/atf-run.hooks          |     94 +
 external/bsd/bind/dist/unit/atf-src/atf-run/signals.cpp                  |    147 +
 external/bsd/bind/dist/unit/atf-src/atf-run/signals.hpp                  |     92 +
 external/bsd/bind/dist/unit/atf-src/atf-run/signals_test.cpp             |    275 +
 external/bsd/bind/dist/unit/atf-src/atf-run/test-program.cpp             |    743 +
 external/bsd/bind/dist/unit/atf-src/atf-run/test-program.hpp             |    150 +
 external/bsd/bind/dist/unit/atf-src/atf-run/test_program_test.cpp        |    992 +
 external/bsd/bind/dist/unit/atf-src/atf-run/timer.cpp                    |    125 +
 external/bsd/bind/dist/unit/atf-src/atf-run/timer.hpp                    |     81 +
 external/bsd/bind/dist/unit/atf-src/atf-run/user.cpp                     |     87 +
 external/bsd/bind/dist/unit/atf-src/atf-run/user.hpp                     |     52 +
 external/bsd/bind/dist/unit/atf-src/atf-run/user_test.cpp                |    140 +
 external/bsd/bind/dist/unit/atf-src/atf-run/zero_tcs_helper.c            |     37 +
 external/bsd/bind/dist/unit/atf-src/atf-sh/Atffile                       |     11 +
 external/bsd/bind/dist/unit/atf-src/atf-sh/Makefile.am.inc               |    114 +
 external/bsd/bind/dist/unit/atf-src/atf-sh/atf-check.1                   |    153 +
 external/bsd/bind/dist/unit/atf-src/atf-sh/atf-check.cpp                 |    834 +
 external/bsd/bind/dist/unit/atf-src/atf-sh/atf-check_test.sh             |    448 +
 external/bsd/bind/dist/unit/atf-src/atf-sh/atf-sh-api.3                  |    342 +
 external/bsd/bind/dist/unit/atf-src/atf-sh/atf-sh.1                      |     79 +
 external/bsd/bind/dist/unit/atf-src/atf-sh/atf-sh.cpp                    |    154 +
 external/bsd/bind/dist/unit/atf-src/atf-sh/atf_check_test.sh             |    181 +
 external/bsd/bind/dist/unit/atf-src/atf-sh/config_test.sh                |     83 +
 external/bsd/bind/dist/unit/atf-src/atf-sh/integration_test.sh           |     91 +
 external/bsd/bind/dist/unit/atf-src/atf-sh/libatf-sh.subr                |    932 +
 external/bsd/bind/dist/unit/atf-src/atf-sh/misc_helpers.sh               |    289 +
 external/bsd/bind/dist/unit/atf-src/atf-sh/normalize_test.sh             |     48 +
 external/bsd/bind/dist/unit/atf-src/atf-sh/tc_test.sh                    |     51 +
 external/bsd/bind/dist/unit/atf-src/atf-sh/tp_test.sh                    |     56 +
 external/bsd/bind/dist/unit/atf-src/atf-version/Makefile.am.inc          |     54 +
 external/bsd/bind/dist/unit/atf-src/atf-version/atf-version.1            |     58 +
 external/bsd/bind/dist/unit/atf-src/atf-version/atf-version.cpp          |     92 +
 external/bsd/bind/dist/unit/atf-src/atf-version/generate-revision.sh     |    182 +
 external/bsd/bind/dist/unit/atf-src/bconfig.h.in                         |    113 +
 external/bsd/bind/dist/unit/atf-src/bootstrap/Makefile.am.inc            |    121 +
 external/bsd/bind/dist/unit/atf-src/bootstrap/h_app_empty.cpp            |     62 +
 external/bsd/bind/dist/unit/atf-src/bootstrap/h_app_opts_args.cpp        |    103 +
 external/bsd/bind/dist/unit/atf-src/bootstrap/h_tp_atf_check_sh.sh       |    304 +
 external/bsd/bind/dist/unit/atf-src/bootstrap/h_tp_basic_c.c             |     85 +
 external/bsd/bind/dist/unit/atf-src/bootstrap/h_tp_basic_cpp.cpp         |     86 +
 external/bsd/bind/dist/unit/atf-src/bootstrap/h_tp_basic_sh.sh           |     79 +
 external/bsd/bind/dist/unit/atf-src/bootstrap/h_tp_fail.sh               |     47 +
 external/bsd/bind/dist/unit/atf-src/bootstrap/h_tp_pass.sh               |     47 +
 external/bsd/bind/dist/unit/atf-src/bootstrap/package.m4                 |      6 +
 external/bsd/bind/dist/unit/atf-src/bootstrap/t_application_help.at      |     40 +
 external/bsd/bind/dist/unit/atf-src/bootstrap/t_application_opts_args.at |     86 +
 external/bsd/bind/dist/unit/atf-src/bootstrap/t_atf_config.at            |    108 +
 external/bsd/bind/dist/unit/atf-src/bootstrap/t_atf_run.at               |    178 +
 external/bsd/bind/dist/unit/atf-src/bootstrap/t_subr_atf_check.at        |     81 +
 external/bsd/bind/dist/unit/atf-src/bootstrap/t_test_program_compare.at  |    186 +
 external/bsd/bind/dist/unit/atf-src/bootstrap/t_test_program_filter.at   |     63 +
 external/bsd/bind/dist/unit/atf-src/bootstrap/t_test_program_list.at     |     63 +
 external/bsd/bind/dist/unit/atf-src/bootstrap/t_test_program_run.at      |     51 +
 external/bsd/bind/dist/unit/atf-src/bootstrap/testsuite                  |   8349 ++++
 external/bsd/bind/dist/unit/atf-src/bootstrap/testsuite.at               |     79 +
 external/bsd/bind/dist/unit/atf-src/configure                            |  18823 ++++++++++
 external/bsd/bind/dist/unit/atf-src/configure.ac                         |    237 +
 external/bsd/bind/dist/unit/atf-src/doc/Makefile.am.inc                  |     45 +
 external/bsd/bind/dist/unit/atf-src/doc/atf-formats.5                    |    231 +
 external/bsd/bind/dist/unit/atf-src/doc/atf-test-case.4                  |    288 +
 external/bsd/bind/dist/unit/atf-src/doc/atf-test-program.1               |    101 +
 external/bsd/bind/dist/unit/atf-src/doc/atf.7.in                         |    192 +
 external/bsd/bind/dist/unit/atf-src/m4/compiler-flags.m4                 |    110 +
 external/bsd/bind/dist/unit/atf-src/m4/cxx-std-funcs.m4                  |     79 +
 external/bsd/bind/dist/unit/atf-src/m4/developer-mode.m4                 |    110 +
 external/bsd/bind/dist/unit/atf-src/m4/libtool.m4                        |   7357 +++
 external/bsd/bind/dist/unit/atf-src/m4/ltoptions.m4                      |    368 +
 external/bsd/bind/dist/unit/atf-src/m4/ltsugar.m4                        |    123 +
 external/bsd/bind/dist/unit/atf-src/m4/ltversion.m4                      |     23 +
 external/bsd/bind/dist/unit/atf-src/m4/lt~obsolete.m4                    |     92 +
 external/bsd/bind/dist/unit/atf-src/m4/module-application.m4             |     88 +
 external/bsd/bind/dist/unit/atf-src/m4/module-defs.m4                    |     51 +
 external/bsd/bind/dist/unit/atf-src/m4/module-env.m4                     |     36 +
 external/bsd/bind/dist/unit/atf-src/m4/module-fs.m4                      |     66 +
 external/bsd/bind/dist/unit/atf-src/m4/module-sanity.m4                  |     32 +
 external/bsd/bind/dist/unit/atf-src/m4/module-signals.m4                 |     86 +
 external/bsd/bind/dist/unit/atf-src/m4/runtime-tool.m4                   |     44 +
 external/bsd/bind/dist/unit/atf-src/test-programs/Atffile                |     10 +
 external/bsd/bind/dist/unit/atf-src/test-programs/Makefile.am.inc        |    101 +
 external/bsd/bind/dist/unit/atf-src/test-programs/c_helpers.c            |    567 +
 external/bsd/bind/dist/unit/atf-src/test-programs/common.sh              |     43 +
 external/bsd/bind/dist/unit/atf-src/test-programs/config_test.sh         |     62 +
 external/bsd/bind/dist/unit/atf-src/test-programs/cpp_helpers.cpp        |    383 +
 external/bsd/bind/dist/unit/atf-src/test-programs/expect_test.sh         |    149 +
 external/bsd/bind/dist/unit/atf-src/test-programs/fork_test.sh           |     64 +
 external/bsd/bind/dist/unit/atf-src/test-programs/meta_data_test.sh      |     64 +
 external/bsd/bind/dist/unit/atf-src/test-programs/result_test.sh         |    121 +
 external/bsd/bind/dist/unit/atf-src/test-programs/sh_helpers.sh          |    433 +
 external/bsd/bind/dist/unit/atf-src/test-programs/srcdir_test.sh         |    149 +
 external/bsd/bind/dist/unit/unittest.sh.in                               |     15 +
 external/bsd/bind/dist/win32utils/SetupLibs.bat                          |      3 +-
 356 files changed, 115836 insertions(+), 119 deletions(-)

diffs (truncated from 118328 to 300 lines):

diff -r 114e136eff33 -r 1ff1f47c6b88 external/bsd/bind/dist/lib/dns/rdata/generic/naptr_35.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/bind/dist/lib/dns/rdata/generic/naptr_35.c   Sun Sep 11 17:18:57 2011 +0000
@@ -0,0 +1,700 @@
+/*     $NetBSD: naptr_35.c,v 1.1.1.1 2011/09/11 17:18:57 christos Exp $        */
+
+/*
+ * Copyright (C) 2004, 2005, 2007-2009, 2011  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 1999-2001, 2003  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: naptr_35.c,v 1.2 2011-08-16 23:46:36 tbox Exp */
+
+/* Reviewed: Thu Mar 16 16:52:50 PST 2000 by bwelling */
+
+/* RFC2915 */
+
+#ifndef RDATA_GENERIC_NAPTR_35_C
+#define RDATA_GENERIC_NAPTR_35_C
+
+#define RRTYPE_NAPTR_ATTRIBUTES (0)
+#ifdef HAVE_REGEX_H
+#include <regex.h>
+#endif
+
+/*
+ * Check the wire format of the Regexp field.
+ * Don't allow embeded NUL's.
+ */
+static inline isc_result_t
+txt_valid_regex(const unsigned char *txt) {
+#ifdef HAVE_REGEX_H
+       regex_t preg;
+       unsigned int regflags = REG_EXTENDED;
+       unsigned int nsub = 0;
+       char regex[256];
+       char *cp;
+#endif
+       isc_boolean_t flags = ISC_FALSE;
+       isc_boolean_t replace = ISC_FALSE;
+       unsigned char c;
+       unsigned char delim;
+       unsigned int len;
+
+       len = *txt++;
+       if (len == 0U)
+               return (ISC_R_SUCCESS);
+
+       delim = *txt++;
+       len--;
+
+       /*
+        * Digits, backslash and flags can't be delimiters.
+        */
+       switch (delim) {
+       case '0': case '1': case '2': case '3': case '4':
+       case '5': case '6': case '7': case '8': case '9':
+       case '\\': case 'i': case 0:
+               return (DNS_R_SYNTAX);
+       }
+
+#ifdef HAVE_REGEX_H
+       memset(&preg, 0, sizeof(preg));
+       cp = regex;
+#endif
+
+       while (len-- > 0) {
+               c = *txt++;
+               if (c == 0)
+                       return (DNS_R_SYNTAX);
+               if (c == delim && !replace) {
+                       replace = ISC_TRUE;
+                       continue;
+               } else if (c == delim && !flags) {
+                       flags = ISC_TRUE;
+                       continue;
+               } else if (c == delim)
+                       return (DNS_R_SYNTAX);
+               /*
+                * Flags are not escaped.
+                */
+               if (flags) {
+                       switch (c) {
+                       case 'i':
+#ifdef HAVE_REGEX_H
+                               regflags |= REG_ICASE;
+#endif
+                               continue;
+                       default:
+                               return (DNS_R_SYNTAX);
+                       }
+               }
+#ifdef HAVE_REGEX_H
+               if (!replace)
+                       *cp++ = c;
+#endif
+               if (c == '\\') {
+                       if (len == 0)
+                               return (DNS_R_SYNTAX);
+                       c = *txt++;
+                       if (c == 0)
+                               return (DNS_R_SYNTAX);
+                       len--;
+                       if (replace)
+                               switch (c) {
+                               case '0': return (DNS_R_SYNTAX);
+#ifdef HAVE_REGEX_H
+                               case '1': if (nsub < 1) nsub = 1; break;
+                               case '2': if (nsub < 2) nsub = 2; break;
+                               case '3': if (nsub < 3) nsub = 3; break;
+                               case '4': if (nsub < 4) nsub = 4; break;
+                               case '5': if (nsub < 5) nsub = 5; break;
+                               case '6': if (nsub < 6) nsub = 6; break;
+                               case '7': if (nsub < 7) nsub = 7; break;
+                               case '8': if (nsub < 8) nsub = 8; break;
+                               case '9': if (nsub < 9) nsub = 9; break;
+#endif
+                               }
+#ifdef HAVE_REGEX_H
+                       if (!replace)
+                               *cp++ = c;
+#endif
+               }
+       }
+       if (!flags)
+               return (DNS_R_SYNTAX);
+#ifdef HAVE_REGEX_H
+       *cp = '\0';
+       if (regcomp(&preg, regex, regflags))
+               return (DNS_R_SYNTAX);
+       /*
+        * Check that substitutions in the replacement string are consistant
+        * with the regular expression.
+        */
+       if (preg.re_nsub < nsub) {
+               regfree(&preg);
+               return (DNS_R_SYNTAX);
+       }
+       regfree(&preg);
+#endif
+       return (ISC_R_SUCCESS);
+}
+
+static inline isc_result_t
+fromtext_naptr(ARGS_FROMTEXT) {
+       isc_token_t token;
+       dns_name_t name;
+       isc_buffer_t buffer;
+       unsigned char *regex;
+
+       REQUIRE(type == 35);
+
+       UNUSED(type);
+       UNUSED(rdclass);
+       UNUSED(callbacks);
+
+       /*
+        * Order.
+        */
+       RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
+                                     ISC_FALSE));
+       if (token.value.as_ulong > 0xffffU)
+               RETTOK(ISC_R_RANGE);
+       RETERR(uint16_tobuffer(token.value.as_ulong, target));
+
+       /*
+        * Preference.
+        */
+       RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number,
+                                     ISC_FALSE));
+       if (token.value.as_ulong > 0xffffU)
+               RETTOK(ISC_R_RANGE);
+       RETERR(uint16_tobuffer(token.value.as_ulong, target));
+
+       /*
+        * Flags.
+        */
+       RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_qstring,
+                                     ISC_FALSE));
+       RETTOK(txt_fromtext(&token.value.as_textregion, target));
+
+       /*
+        * Service.
+        */
+       RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_qstring,
+                                     ISC_FALSE));
+       RETTOK(txt_fromtext(&token.value.as_textregion, target));
+
+       /*
+        * Regexp.
+        */
+       regex = isc_buffer_used(target);
+       RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_qstring,
+                                     ISC_FALSE));
+       RETTOK(txt_fromtext(&token.value.as_textregion, target));
+       RETTOK(txt_valid_regex(regex));
+
+       /*
+        * Replacement.
+        */
+       RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string,
+                                     ISC_FALSE));
+       dns_name_init(&name, NULL);
+       buffer_fromregion(&buffer, &token.value.as_region);
+       origin = (origin != NULL) ? origin : dns_rootname;
+       RETTOK(dns_name_fromtext(&name, &buffer, origin, options, target));
+       return (ISC_R_SUCCESS);
+}
+
+static inline isc_result_t
+totext_naptr(ARGS_TOTEXT) {
+       isc_region_t region;
+       dns_name_t name;
+       dns_name_t prefix;
+       isc_boolean_t sub;
+       char buf[sizeof("64000")];
+       unsigned short num;
+
+       REQUIRE(rdata->type == 35);
+       REQUIRE(rdata->length != 0);
+
+       dns_name_init(&name, NULL);
+       dns_name_init(&prefix, NULL);
+
+       dns_rdata_toregion(rdata, &region);
+
+       /*
+        * Order.
+        */
+       num = uint16_fromregion(&region);
+       isc_region_consume(&region, 2);
+       sprintf(buf, "%u", num);
+       RETERR(str_totext(buf, target));
+       RETERR(str_totext(" ", target));
+
+       /*
+        * Preference.
+        */
+       num = uint16_fromregion(&region);
+       isc_region_consume(&region, 2);
+       sprintf(buf, "%u", num);
+       RETERR(str_totext(buf, target));
+       RETERR(str_totext(" ", target));
+
+       /*
+        * Flags.
+        */
+       RETERR(txt_totext(&region, target));
+       RETERR(str_totext(" ", target));
+
+       /*
+        * Service.
+        */
+       RETERR(txt_totext(&region, target));
+       RETERR(str_totext(" ", target));
+
+       /*
+        * Regexp.
+        */
+       RETERR(txt_totext(&region, target));
+       RETERR(str_totext(" ", target));
+
+       /*
+        * Replacement.
+        */
+       dns_name_fromregion(&name, &region);
+       sub = name_prefix(&name, tctx->origin, &prefix);
+       return (dns_name_totext(&prefix, sub, target));
+}
+
+static inline isc_result_t
+fromwire_naptr(ARGS_FROMWIRE) {
+       dns_name_t name;
+       isc_region_t sr;
+       unsigned char *regex;
+
+       REQUIRE(type == 35);
+
+       UNUSED(type);
+       UNUSED(rdclass);
+
+       dns_decompress_setmethods(dctx, DNS_COMPRESS_NONE);
+
+       dns_name_init(&name, NULL);
+
+       /*
+        * Order, preference.
+        */



Home | Main Index | Thread Index | Old Index