]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
move lib/irs to lib/export/irs
authorMark Andrews <marka@isc.org>
Tue, 12 Jun 2018 05:03:40 +0000 (15:03 +1000)
committerMark Andrews <marka@isc.org>
Tue, 12 Jun 2018 05:03:40 +0000 (15:03 +1000)
45 files changed:
configure
configure.in
lib/export/irs/Atffile [moved from lib/irs/Atffile with 100% similarity]
lib/export/irs/Kyuafile [moved from lib/irs/Kyuafile with 100% similarity]
lib/export/irs/Makefile.in
lib/export/irs/api [moved from lib/irs/api with 100% similarity]
lib/export/irs/context.c [moved from lib/irs/context.c with 99% similarity]
lib/export/irs/dnsconf.c [moved from lib/irs/dnsconf.c with 99% similarity]
lib/export/irs/gai_strerror.c [moved from lib/irs/gai_strerror.c with 98% similarity]
lib/export/irs/getaddrinfo.c [moved from lib/irs/getaddrinfo.c with 99% similarity]
lib/export/irs/getnameinfo.c [moved from lib/irs/getnameinfo.c with 100% similarity]
lib/export/irs/include/Makefile.in
lib/export/irs/include/irs/context.h [moved from lib/irs/include/irs/context.h with 98% similarity]
lib/export/irs/include/irs/dnsconf.h [moved from lib/irs/include/irs/dnsconf.h with 97% similarity]
lib/export/irs/include/irs/netdb.h.in [moved from lib/irs/include/irs/netdb.h.in with 98% similarity]
lib/export/irs/include/irs/platform.h.in [moved from lib/irs/include/irs/platform.h.in with 95% similarity]
lib/export/irs/include/irs/resconf.h [moved from lib/irs/include/irs/resconf.h with 98% similarity]
lib/export/irs/include/irs/types.h [moved from lib/irs/include/irs/types.h with 95% similarity]
lib/export/irs/include/irs/version.h [moved from lib/irs/include/irs/version.h with 94% similarity]
lib/export/irs/resconf.c [moved from lib/irs/resconf.c with 100% similarity]
lib/export/irs/tests/Atffile [moved from lib/irs/tests/Atffile with 100% similarity]
lib/export/irs/tests/Kyuafile [moved from lib/irs/tests/Kyuafile with 100% similarity]
lib/export/irs/tests/Makefile.in [moved from lib/irs/tests/Makefile.in with 91% similarity]
lib/export/irs/tests/resconf_test.c [moved from lib/irs/tests/resconf_test.c with 98% similarity]
lib/export/irs/tests/testdata/domain.conf [moved from lib/irs/tests/testdata/domain.conf with 100% similarity]
lib/export/irs/tests/testdata/nameserver-v4.conf [moved from lib/irs/tests/testdata/nameserver-v4.conf with 100% similarity]
lib/export/irs/tests/testdata/nameserver-v6.conf [moved from lib/irs/tests/testdata/nameserver-v6.conf with 100% similarity]
lib/export/irs/tests/testdata/options-bad-ndots.conf [moved from lib/irs/tests/testdata/options-bad-ndots.conf with 100% similarity]
lib/export/irs/tests/testdata/options-debug.conf [moved from lib/irs/tests/testdata/options-debug.conf with 100% similarity]
lib/export/irs/tests/testdata/options-empty.conf [moved from lib/irs/tests/testdata/options-empty.conf with 100% similarity]
lib/export/irs/tests/testdata/options-ndots.conf [moved from lib/irs/tests/testdata/options-ndots.conf with 100% similarity]
lib/export/irs/tests/testdata/options-timeout.conf [moved from lib/irs/tests/testdata/options-timeout.conf with 100% similarity]
lib/export/irs/tests/testdata/options-unknown.conf [moved from lib/irs/tests/testdata/options-unknown.conf with 100% similarity]
lib/export/irs/tests/testdata/options.conf [moved from lib/irs/tests/testdata/options.conf with 100% similarity]
lib/export/irs/tests/testdata/port.conf [moved from lib/irs/tests/testdata/port.conf with 100% similarity]
lib/export/irs/tests/testdata/resolv.conf [moved from lib/irs/tests/testdata/resolv.conf with 100% similarity]
lib/export/irs/tests/testdata/search.conf [moved from lib/irs/tests/testdata/search.conf with 100% similarity]
lib/export/irs/tests/testdata/sortlist-v4.conf [moved from lib/irs/tests/testdata/sortlist-v4.conf with 100% similarity]
lib/export/irs/tests/testdata/timeout.conf [moved from lib/irs/tests/testdata/timeout.conf with 100% similarity]
lib/export/irs/tests/testdata/unknown.conf [moved from lib/irs/tests/testdata/unknown.conf with 100% similarity]
lib/export/irs/version.c [moved from lib/irs/version.c with 94% similarity]
lib/export/samples/Makefile.in
lib/irs/Makefile.in [deleted file]
lib/irs/include/Makefile.in [deleted file]
lib/irs/include/irs/Makefile.in [deleted file]

index ba75e0125e6aac51ad0ad254d5e425df618ae38f..58541bed0b4baf5603d05f1b7d09c9bcc8d15da1 100755 (executable)
--- a/configure
+++ b/configure
@@ -18484,12 +18484,14 @@ else
 /* end confdefs.h.  */
 
 #include <stdio.h>
+
+int
 main() {
        size_t j = 0;
        char buf[100];
        buf[0] = 0;
        sprintf(buf, "%zu", j);
-       exit(strcmp(buf, "0") != 0);
+       return ((buf[0] == '0' && buf[1] == '\0') ? 0 : 1);
 }
 
 _ACEOF
@@ -20869,7 +20871,7 @@ LIBBIND9_API="$srcdir/lib/bind9/api"
 LIBLWRES_API="$srcdir/lib/lwres/api"
 
 
-LIBIRS_API="$srcdir/lib/irs/api"
+LIBIRS_API="$srcdir/lib/export/irs/api"
 
 #
 # Configure any DLZ drivers.
@@ -22046,7 +22048,7 @@ ac_config_commands="$ac_config_commands chmod"
 # elsewhere if there's a good reason for doing so.
 #
 
-ac_config_files="$ac_config_files make/Makefile make/mkdep Makefile bin/Makefile bin/check/Makefile bin/confgen/Makefile bin/confgen/unix/Makefile bin/dig/Makefile bin/dnssec/Makefile bin/named/Makefile bin/named/unix/Makefile bin/nsupdate/Makefile bin/pkcs11/Makefile bin/python/Makefile bin/python/isc/Makefile bin/python/isc/utils.py bin/python/isc/tests/Makefile bin/python/dnssec-checkds.py bin/python/dnssec-coverage.py bin/python/isc/__init__.py bin/python/isc/checkds.py bin/python/isc/coverage.py bin/python/isc/dnskey.py bin/python/isc/eventlist.py bin/python/isc/keydict.py bin/python/isc/keyevent.py bin/python/isc/keyzone.py bin/python/isc/tests/dnskey_test.py bin/rndc/Makefile bin/tests/Makefile bin/tests/headerdep_test.sh bin/tests/optional/Makefile bin/tests/system/Makefile bin/tests/system/conf.sh bin/tests/system/dlz/prereq.sh bin/tests/system/dlzexternal/Makefile bin/tests/system/dlzexternal/ns1/dlzs.conf bin/tests/system/inline/checkdsa.sh bin/tests/system/lwresd/Makefile bin/tests/system/rsabigexponent/Makefile bin/tests/system/tkey/Makefile bin/tests/virtual-time/Makefile bin/tests/virtual-time/conf.sh bin/tools/Makefile contrib/check-secure-delegation.pl contrib/zone-edit.sh doc/Makefile doc/arm/Makefile doc/arm/noteversion.xml doc/arm/pkgversion.xml doc/arm/releaseinfo.xml doc/doxygen/Doxyfile doc/doxygen/Makefile doc/doxygen/doxygen-input-filter doc/misc/Makefile doc/tex/Makefile doc/tex/armstyle.sty doc/xsl/Makefile doc/xsl/isc-docbook-chunk.xsl doc/xsl/isc-docbook-html.xsl doc/xsl/isc-manpage.xsl doc/xsl/isc-notes-html.xsl isc-config.sh lib/Makefile lib/bind9/Makefile lib/bind9/include/Makefile lib/bind9/include/bind9/Makefile lib/dns/Makefile lib/dns/include/Makefile lib/dns/include/dns/Makefile lib/dns/include/dst/Makefile lib/dns/tests/Makefile lib/export/Makefile lib/export/dns/Makefile lib/export/dns/include/Makefile lib/export/dns/include/dns/Makefile lib/export/dns/include/dst/Makefile lib/export/irs/Makefile lib/export/irs/include/Makefile lib/export/irs/include/irs/Makefile lib/export/isc/$thread_dir/Makefile lib/export/isc/$thread_dir/include/Makefile lib/export/isc/$thread_dir/include/isc/Makefile lib/export/isc/Makefile lib/export/isc/include/Makefile lib/export/isc/include/isc/Makefile lib/export/isc/nls/Makefile lib/export/isc/unix/Makefile lib/export/isc/unix/include/Makefile lib/export/isc/unix/include/isc/Makefile lib/export/isccfg/Makefile lib/export/isccfg/include/Makefile lib/export/isccfg/include/isccfg/Makefile lib/export/samples/Makefile lib/export/samples/Makefile-postinstall lib/irs/Makefile lib/irs/include/Makefile lib/irs/include/irs/Makefile lib/irs/include/irs/netdb.h lib/irs/include/irs/platform.h lib/irs/tests/Makefile lib/isc/$arch/Makefile lib/isc/$arch/include/Makefile lib/isc/$arch/include/isc/Makefile lib/isc/$thread_dir/Makefile lib/isc/$thread_dir/include/Makefile lib/isc/$thread_dir/include/isc/Makefile lib/isc/Makefile lib/isc/include/Makefile lib/isc/include/isc/Makefile lib/isc/include/isc/platform.h lib/isc/tests/Makefile lib/isc/nls/Makefile lib/isc/unix/Makefile lib/isc/unix/include/Makefile lib/isc/unix/include/isc/Makefile lib/isccc/Makefile lib/isccc/include/Makefile lib/isccc/include/isccc/Makefile lib/isccfg/Makefile lib/isccfg/include/Makefile lib/isccfg/include/isccfg/Makefile lib/lwres/Makefile lib/lwres/include/Makefile lib/lwres/include/lwres/Makefile lib/lwres/include/lwres/netdb.h lib/lwres/include/lwres/platform.h lib/lwres/man/Makefile lib/lwres/tests/Makefile lib/lwres/unix/Makefile lib/lwres/unix/include/Makefile lib/lwres/unix/include/lwres/Makefile unit/Makefile unit/unittest.sh"
+ac_config_files="$ac_config_files make/Makefile make/mkdep Makefile bin/Makefile bin/check/Makefile bin/confgen/Makefile bin/confgen/unix/Makefile bin/dig/Makefile bin/dnssec/Makefile bin/named/Makefile bin/named/unix/Makefile bin/nsupdate/Makefile bin/pkcs11/Makefile bin/python/Makefile bin/python/isc/Makefile bin/python/isc/utils.py bin/python/isc/tests/Makefile bin/python/dnssec-checkds.py bin/python/dnssec-coverage.py bin/python/isc/__init__.py bin/python/isc/checkds.py bin/python/isc/coverage.py bin/python/isc/dnskey.py bin/python/isc/eventlist.py bin/python/isc/keydict.py bin/python/isc/keyevent.py bin/python/isc/keyzone.py bin/python/isc/tests/dnskey_test.py bin/rndc/Makefile bin/tests/Makefile bin/tests/headerdep_test.sh bin/tests/optional/Makefile bin/tests/system/Makefile bin/tests/system/conf.sh bin/tests/system/dlz/prereq.sh bin/tests/system/dlzexternal/Makefile bin/tests/system/dlzexternal/ns1/dlzs.conf bin/tests/system/inline/checkdsa.sh bin/tests/system/lwresd/Makefile bin/tests/system/rsabigexponent/Makefile bin/tests/system/tkey/Makefile bin/tests/virtual-time/Makefile bin/tests/virtual-time/conf.sh bin/tools/Makefile contrib/check-secure-delegation.pl contrib/zone-edit.sh doc/Makefile doc/arm/Makefile doc/arm/noteversion.xml doc/arm/pkgversion.xml doc/arm/releaseinfo.xml doc/doxygen/Doxyfile doc/doxygen/Makefile doc/doxygen/doxygen-input-filter doc/misc/Makefile doc/tex/Makefile doc/tex/armstyle.sty doc/xsl/Makefile doc/xsl/isc-docbook-chunk.xsl doc/xsl/isc-docbook-html.xsl doc/xsl/isc-manpage.xsl doc/xsl/isc-notes-html.xsl isc-config.sh lib/Makefile lib/bind9/Makefile lib/bind9/include/Makefile lib/bind9/include/bind9/Makefile lib/dns/Makefile lib/dns/include/Makefile lib/dns/include/dns/Makefile lib/dns/include/dst/Makefile lib/dns/tests/Makefile lib/export/Makefile lib/export/dns/Makefile lib/export/dns/include/Makefile lib/export/dns/include/dns/Makefile lib/export/dns/include/dst/Makefile lib/export/irs/Makefile lib/export/irs/include/Makefile lib/export/irs/include/irs/Makefile lib/export/irs/include/irs/netdb.h lib/export/irs/include/irs/platform.h lib/export/irs/tests/Makefile lib/export/isc/$thread_dir/Makefile lib/export/isc/$thread_dir/include/Makefile lib/export/isc/$thread_dir/include/isc/Makefile lib/export/isc/Makefile lib/export/isc/include/Makefile lib/export/isc/include/isc/Makefile lib/export/isc/nls/Makefile lib/export/isc/unix/Makefile lib/export/isc/unix/include/Makefile lib/export/isc/unix/include/isc/Makefile lib/export/isccfg/Makefile lib/export/isccfg/include/Makefile lib/export/isccfg/include/isccfg/Makefile lib/export/samples/Makefile lib/export/samples/Makefile-postinstall lib/isc/$arch/Makefile lib/isc/$arch/include/Makefile lib/isc/$arch/include/isc/Makefile lib/isc/$thread_dir/Makefile lib/isc/$thread_dir/include/Makefile lib/isc/$thread_dir/include/isc/Makefile lib/isc/Makefile lib/isc/include/Makefile lib/isc/include/isc/Makefile lib/isc/include/isc/platform.h lib/isc/tests/Makefile lib/isc/nls/Makefile lib/isc/unix/Makefile lib/isc/unix/include/Makefile lib/isc/unix/include/isc/Makefile lib/isccc/Makefile lib/isccc/include/Makefile lib/isccc/include/isccc/Makefile lib/isccfg/Makefile lib/isccfg/include/Makefile lib/isccfg/include/isccfg/Makefile lib/lwres/Makefile lib/lwres/include/Makefile lib/lwres/include/lwres/Makefile lib/lwres/include/lwres/netdb.h lib/lwres/include/lwres/platform.h lib/lwres/man/Makefile lib/lwres/tests/Makefile lib/lwres/unix/Makefile lib/lwres/unix/include/Makefile lib/lwres/unix/include/lwres/Makefile unit/Makefile unit/unittest.sh"
 
 
 #
@@ -23126,6 +23128,9 @@ do
     "lib/export/irs/Makefile") CONFIG_FILES="$CONFIG_FILES lib/export/irs/Makefile" ;;
     "lib/export/irs/include/Makefile") CONFIG_FILES="$CONFIG_FILES lib/export/irs/include/Makefile" ;;
     "lib/export/irs/include/irs/Makefile") CONFIG_FILES="$CONFIG_FILES lib/export/irs/include/irs/Makefile" ;;
+    "lib/export/irs/include/irs/netdb.h") CONFIG_FILES="$CONFIG_FILES lib/export/irs/include/irs/netdb.h" ;;
+    "lib/export/irs/include/irs/platform.h") CONFIG_FILES="$CONFIG_FILES lib/export/irs/include/irs/platform.h" ;;
+    "lib/export/irs/tests/Makefile") CONFIG_FILES="$CONFIG_FILES lib/export/irs/tests/Makefile" ;;
     "lib/export/isc/$thread_dir/Makefile") CONFIG_FILES="$CONFIG_FILES lib/export/isc/$thread_dir/Makefile" ;;
     "lib/export/isc/$thread_dir/include/Makefile") CONFIG_FILES="$CONFIG_FILES lib/export/isc/$thread_dir/include/Makefile" ;;
     "lib/export/isc/$thread_dir/include/isc/Makefile") CONFIG_FILES="$CONFIG_FILES lib/export/isc/$thread_dir/include/isc/Makefile" ;;
     "lib/export/isccfg/include/isccfg/Makefile") CONFIG_FILES="$CONFIG_FILES lib/export/isccfg/include/isccfg/Makefile" ;;
     "lib/export/samples/Makefile") CONFIG_FILES="$CONFIG_FILES lib/export/samples/Makefile" ;;
     "lib/export/samples/Makefile-postinstall") CONFIG_FILES="$CONFIG_FILES lib/export/samples/Makefile-postinstall" ;;
-    "lib/irs/Makefile") CONFIG_FILES="$CONFIG_FILES lib/irs/Makefile" ;;
-    "lib/irs/include/Makefile") CONFIG_FILES="$CONFIG_FILES lib/irs/include/Makefile" ;;
-    "lib/irs/include/irs/Makefile") CONFIG_FILES="$CONFIG_FILES lib/irs/include/irs/Makefile" ;;
-    "lib/irs/include/irs/netdb.h") CONFIG_FILES="$CONFIG_FILES lib/irs/include/irs/netdb.h" ;;
-    "lib/irs/include/irs/platform.h") CONFIG_FILES="$CONFIG_FILES lib/irs/include/irs/platform.h" ;;
-    "lib/irs/tests/Makefile") CONFIG_FILES="$CONFIG_FILES lib/irs/tests/Makefile" ;;
     "lib/isc/$arch/Makefile") CONFIG_FILES="$CONFIG_FILES lib/isc/$arch/Makefile" ;;
     "lib/isc/$arch/include/Makefile") CONFIG_FILES="$CONFIG_FILES lib/isc/$arch/include/Makefile" ;;
     "lib/isc/$arch/include/isc/Makefile") CONFIG_FILES="$CONFIG_FILES lib/isc/$arch/include/isc/Makefile" ;;
index 0943ebb98de0f9f44a7ff0eb46b203a0f4a3ebd0..989dcc2f88dbdd0c48ccd5c3b31decfd85ec73c3 100644 (file)
@@ -3987,7 +3987,7 @@ AC_SUBST_FILE(LIBLWRES_API)
 LIBLWRES_API="$srcdir/lib/lwres/api"
 
 AC_SUBST_FILE(LIBIRS_API)
-LIBIRS_API="$srcdir/lib/irs/api"
+LIBIRS_API="$srcdir/lib/export/irs/api"
 
 #
 # Configure any DLZ drivers.
@@ -4344,6 +4344,9 @@ AC_CONFIG_FILES([
        lib/export/irs/Makefile
        lib/export/irs/include/Makefile
        lib/export/irs/include/irs/Makefile
+       lib/export/irs/include/irs/netdb.h
+       lib/export/irs/include/irs/platform.h
+       lib/export/irs/tests/Makefile
        lib/export/isc/$thread_dir/Makefile
        lib/export/isc/$thread_dir/include/Makefile
        lib/export/isc/$thread_dir/include/isc/Makefile
@@ -4359,12 +4362,6 @@ AC_CONFIG_FILES([
        lib/export/isccfg/include/isccfg/Makefile
        lib/export/samples/Makefile
        lib/export/samples/Makefile-postinstall
-       lib/irs/Makefile
-       lib/irs/include/Makefile
-       lib/irs/include/irs/Makefile
-       lib/irs/include/irs/netdb.h
-       lib/irs/include/irs/platform.h
-       lib/irs/tests/Makefile
        lib/isc/$arch/Makefile
        lib/isc/$arch/include/Makefile
        lib/isc/$arch/include/isc/Makefile
similarity index 100%
rename from lib/irs/Atffile
rename to lib/export/irs/Atffile
similarity index 100%
rename from lib/irs/Kyuafile
rename to lib/export/irs/Kyuafile
index 2a9bc0203b6bcceb01f85b28f54321ca1f9bc548..630387c94896dbccc9c5775a1e0109623bdac0ab 100644 (file)
@@ -13,7 +13,8 @@
 # PERFORMANCE OF THIS SOFTWARE.
 
 top_srcdir =   @top_srcdir@
-srcdir =       @top_srcdir@/lib/irs
+srcdir =       @srcdir@
+VPATH =         @srcdir@
 export_srcdir =        @top_srcdir@/lib/export
 
 VERSION=@BIND9_VERSION@
@@ -49,6 +50,7 @@ LIBS =                @LIBS@
 
 SUBDIRS =      include
 TARGETS =      timestamp
+TESTDIRS =     @UNITTESTS@
 
 @BIND9_MAKE_RULES@
 
similarity index 100%
rename from lib/irs/api
rename to lib/export/irs/api
similarity index 99%
rename from lib/irs/context.c
rename to lib/export/irs/context.c
index 86950fcddd86b4566bd3022db8c77aa97d93834d..ba0d6a8deb3567126fdb1181c7a29f0145046d5f 100644 (file)
@@ -14,8 +14,6 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: context.c,v 1.3 2009/09/02 23:48:02 tbox Exp $ */
-
 #include <config.h>
 
 #include <isc/app.h>
similarity index 99%
rename from lib/irs/dnsconf.c
rename to lib/export/irs/dnsconf.c
index ecb527d73f701ce3dc9d06d46fac83950beefa1c..8e0b67ac067e3d964ee63a65f158c0661561bc53 100644 (file)
@@ -14,8 +14,6 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dnsconf.c,v 1.3 2009/09/02 23:48:02 tbox Exp $ */
-
 /*! \file */
 
 #include <config.h>
similarity index 98%
rename from lib/irs/gai_strerror.c
rename to lib/export/irs/gai_strerror.c
index 0afe1ab2e207ce7c5aaddfd12a07b59abafb7bc8..88b3e54bf203d1e10a485fbcf352cad5d51934eb 100644 (file)
@@ -14,8 +14,6 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: gai_strerror.c,v 1.5 2009/09/02 23:48:02 tbox Exp $ */
-
 /*! \file gai_strerror.c
  * gai_strerror() returns an error message corresponding to an
  * error code returned by getaddrinfo() and getnameinfo(). The following error
similarity index 99%
rename from lib/irs/getaddrinfo.c
rename to lib/export/irs/getaddrinfo.c
index 8955524ee272490110904f7e3d1a7bab89562bc6..ad340b0dc4383374731b6d6933ba931adcdb190d 100644 (file)
@@ -14,8 +14,6 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: getaddrinfo.c,v 1.3 2009/09/02 23:48:02 tbox Exp $ */
-
 /*! \file */
 
 /**
index 7311eb3894d4ce0983b6d7f6db22b5ffa61430c8..2a549d297f8e627db14097e667a336fbca9d620e 100644 (file)
 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 # PERFORMANCE OF THIS SOFTWARE.
 
-# $Id$
-
 srcdir =       @srcdir@
+VPATH =                @srcdir@
 top_srcdir =   @top_srcdir@
 
-
 SUBDIRS =      irs
 TARGETS =
 
similarity index 98%
rename from lib/irs/include/irs/context.h
rename to lib/export/irs/include/irs/context.h
index 7a61359ac3a175ee821c516108b5db8ba9e6895f..8bf85be87a975886683702dda9a1bff26e312679 100644 (file)
@@ -14,8 +14,6 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: context.h,v 1.3 2009/09/02 23:48:02 tbox Exp $ */
-
 #ifndef IRS_CONTEXT_H
 #define IRS_CONTEXT_H 1
 
similarity index 97%
rename from lib/irs/include/irs/dnsconf.h
rename to lib/export/irs/include/irs/dnsconf.h
index 001dc312d1bee0c6730d9cd46ff6ea176e4712dc..f0b507a1b07d8d29bcf4072548d707cd93ccbd04 100644 (file)
@@ -14,8 +14,6 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dnsconf.h,v 1.3 2009/09/02 23:48:02 tbox Exp $ */
-
 #ifndef IRS_DNSCONF_H
 #define IRS_DNSCONF_H 1
 
similarity index 98%
rename from lib/irs/include/irs/netdb.h.in
rename to lib/export/irs/include/irs/netdb.h.in
index 08cb0a38090a1b4c0cee78644107b91fff0b2534..994008c413def9326aad9ee7f9a88464baf5c8cc 100644 (file)
@@ -14,8 +14,6 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: netdb.h.in,v 1.3 2009/09/02 23:48:02 tbox Exp $ */
-
 /*! \file */
 
 #ifndef IRS_NETDB_H
similarity index 95%
rename from lib/irs/include/irs/platform.h.in
rename to lib/export/irs/include/irs/platform.h.in
index 656c949bb041b4cd7e417548332a3f5bbb7a5b87..968736845b5171607c34af985a4bd5fbcb5fc739 100644 (file)
@@ -14,8 +14,6 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: platform.h.in,v 1.3 2009/09/02 23:48:02 tbox Exp $ */
-
 /*! \file */
 
 #ifndef IRS_PLATFORM_H
similarity index 98%
rename from lib/irs/include/irs/resconf.h
rename to lib/export/irs/include/irs/resconf.h
index f5e450c23da78d06c3620b78408b0fc7699bf8e5..6305039fb6d7d108318a1769044b8f0a704304f2 100644 (file)
@@ -14,8 +14,6 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: resconf.h,v 1.3 2009/09/02 23:48:02 tbox Exp $ */
-
 #ifndef IRS_RESCONF_H
 #define IRS_RESCONF_H 1
 
similarity index 95%
rename from lib/irs/include/irs/types.h
rename to lib/export/irs/include/irs/types.h
index 4e31995bfe6000f572f9903b50ed2bbf588d0c30..ff163c944b52849400cae63c2ec3d5300a68b9c6 100644 (file)
@@ -14,8 +14,6 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: types.h,v 1.3 2009/09/02 23:48:02 tbox Exp $ */
-
 #ifndef IRS_TYPES_H
 #define IRS_TYPES_H 1
 
similarity index 94%
rename from lib/irs/include/irs/version.h
rename to lib/export/irs/include/irs/version.h
index f4e0bec9e26c393243387e83d2d7a14cc4de179c..0999c1456dbf17f13cfccd6b238466f04f667038 100644 (file)
@@ -14,8 +14,6 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: version.h,v 1.3 2009/09/02 23:48:02 tbox Exp $ */
-
 /*! \file */
 
 #include <irs/platform.h>
similarity index 100%
rename from lib/irs/resconf.c
rename to lib/export/irs/resconf.c
similarity index 91%
rename from lib/irs/tests/Makefile.in
rename to lib/export/irs/tests/Makefile.in
index fae8c561766f786ac67f05032de2d09eb99b7775..f70d734025e8f02d65c99f577523b9762f49fea7 100644 (file)
@@ -24,8 +24,9 @@ VERSION=@BIND9_VERSION@
 
 @BIND9_MAKE_INCLUDES@
 
-CINCLUDES =    -I. -Iinclude -I../include ${ISC_INCLUDES} ${IRS_INCLUDES}
-CDEFINES =     -DTESTS="\"${top_builddir}/lib/irs/tests/\""
+CINCLUDES =    -I. -Iinclude -I../include -I../../isc/include \
+                ${ISC_INCLUDES} ${IRS_INCLUDES}
+CDEFINES =     -DTESTS="\"${top_builddir}/lib/export/irs/tests/\""
 
 CFGLIBS =      ../../isccfg/libisccfg.@A@
 CFGDEPLIBS =   ../../isccfg/libisccfg.@A@
similarity index 98%
rename from lib/irs/tests/resconf_test.c
rename to lib/export/irs/tests/resconf_test.c
index f6f9e855c47b0bf8c66c4613c0316d6b0844cb93..706747e97abdb7c9e0718dd0787d052fb4289cb3 100644 (file)
@@ -23,6 +23,7 @@
 #include <string.h>
 #include <unistd.h>
 
+#include <isc/lib.h>
 #include <isc/mem.h>
 #include <isc/util.h>
 
@@ -35,6 +36,10 @@ static void
 setup_test() {
        isc_result_t result;
 
+#ifndef BIND9
+       isc_lib_register();
+#endif
+
        result = isc_mem_create(0, 0, &mctx);
        ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
 
similarity index 94%
rename from lib/irs/version.c
rename to lib/export/irs/version.c
index c8f2df01aa65269e788f765338392c90a4105b4f..f203db9f5fe163139c1aed49d10aa0af7ef4672b 100644 (file)
@@ -14,8 +14,6 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: version.c,v 1.3 2009/09/02 23:48:02 tbox Exp $ */
-
 /*! \file */
 
 #include <irs/version.h>
index bafcfb0b632ef068ff9ee1fb01781e95413dbdbe..130b84520318349f2196bed9947bf99de7aaab96 100644 (file)
@@ -12,8 +12,6 @@
 # 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:41 each Exp $
-
 srcdir =       @srcdir@
 top_srcdir =   @top_srcdir@
 export_srcdir =        @top_srcdir@/lib/export
@@ -25,8 +23,8 @@ VERSION=@BIND9_VERSION@
 CINCLUDES =    -I${srcdir}/include -I../dns/include \
                -I${export_srcdir}/isc/include \
                ${DNS_INCLUDES} ${ISC_INCLUDES} \
-               -I${top_srcdir}/lib/irs/include \
-               -I../../irs/include
+               -I${top_srcdir}/lib/export/irs/include \
+               -I../../export/irs/include
 
 CDEFINES =
 CWARNINGS =
diff --git a/lib/irs/Makefile.in b/lib/irs/Makefile.in
deleted file mode 100644 (file)
index 2dd612f..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright (C) 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: Makefile.in,v 1.3 2009/09/02 23:48:02 tbox Exp $
-
-srcdir =       @srcdir@
-VPATH =                @srcdir@
-top_srcdir =   @top_srcdir@
-
-VERSION=@BIND9_VERSION@
-
-@LIBIRS_API@
-
-@BIND9_MAKE_INCLUDES@
-
-CINCLUDES =    -I. -I./include -I${srcdir}/include \
-               ${DNS_INCLUDES} ${ISC_INCLUDES} \
-               ${ISCCFG_INCLUDES}
-
-CDEFINES =
-CWARNINGS =
-
-# Alphabetically
-OBJS =         context.@O@ \
-               dnsconf.@O@ \
-               gai_strerror.@O@ getaddrinfo.@O@ getnameinfo.@O@ \
-               resconf.@O@
-
-# Alphabetically
-SRCS =         context.c \
-               dnsconf.c \
-               gai_strerror.c getaddrinfo.c getnameinfo.c \
-               resconf.c
-
-LIBS =         @LIBS@
-
-SUBDIRS =      include
-TESTDIRS =     @UNITTESTS@
-TARGETS =      timestamp
-
-@BIND9_MAKE_RULES@
-
-version.@O@: version.c
-       ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
-               -DVERSION=\"${VERSION}\" \
-               -DLIBINTERFACE=${LIBINTERFACE} \
-               -DLIBREVISION=${LIBREVISION} \
-               -DLIBAGE=${LIBAGE} \
-               -c ${srcdir}/version.c
-
-libirs.@SA@: ${OBJS} version.@O@
-       ${AR} ${ARFLAGS} $@ ${OBJS} version.@O@
-       ${RANLIB} $@
-
-libirs.la: ${OBJS} version.@O@
-       ${LIBTOOL_MODE_LINK} \
-               ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libirs.la -rpath ${libdir} \
-               -version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
-               ${OBJS} version.@O@ ${LIBS}
-
-timestamp: libirs.@A@
-       touch timestamp
-
-testdirs: libirs.@A@
-
-installdirs:
-       $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir}
-
-install:: timestamp installdirs
-       ${LIBTOOL_MODE_INSTALL} ${INSTALL_LIBRARY} libirs.@A@ ${DESTDIR}${libdir}
-
-uninstall::
-       ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${libdir}/libirs.@A@
-
-clean distclean::
-       rm -f libirs.@A@ libirs.la timestamp
diff --git a/lib/irs/include/Makefile.in b/lib/irs/include/Makefile.in
deleted file mode 100644 (file)
index 06c36fa..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-# Copyright (C) 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: Makefile.in,v 1.3 2009/09/02 23:48:02 tbox Exp $
-
-srcdir =       @srcdir@
-VPATH =                @srcdir@
-top_srcdir =   @top_srcdir@
-
-SUBDIRS =      irs
-TARGETS =
-
-@BIND9_MAKE_RULES@
diff --git a/lib/irs/include/irs/Makefile.in b/lib/irs/include/irs/Makefile.in
deleted file mode 100644 (file)
index 977d8a5..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright (C) 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.
-
-srcdir =       @srcdir@
-VPATH =                @srcdir@
-top_srcdir =   @top_srcdir@
-
-#
-# Only list headers that are to be installed and are not
-# machine generated.  The latter are handled specially in the
-# install target below.
-#
-HEADERS =      context.h dnsconf.h resconf.h types.h version.h
-
-SUBDIRS =
-TARGETS =
-
-@BIND9_MAKE_RULES@
-
-installdirs:
-       $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${includedir}/irs
-
-install:: installdirs
-       for i in ${HEADERS}; do \
-               ${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/irs ; \
-       done
-       ${INSTALL_DATA} netdb.h ${DESTDIR}${includedir}/irs
-       ${INSTALL_DATA} platform.h ${DESTDIR}${includedir}/irs
-
-uninstall::
-       rm -f ${DESTDIR}${includedir}/irs/platform.h
-       rm -f ${DESTDIR}${includedir}/irs/netdb.h
-       for i in ${HEADERS}; do \
-               rm -f ${DESTDIR}${includedir}/irs/$$i ; \
-       done
-
-distclean::
-       rm -f netdb.h platform.h