2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-03 16:15:27 +00:00

Updated WIN32 files (rt40877)

This commit is contained in:
Francis Dupont
2016-01-04 17:27:31 +01:00
parent de4c1814dd
commit 343aeac717
32 changed files with 393 additions and 123 deletions

View File

@@ -294,6 +294,10 @@ SOURCE=..\include\named\query.h
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=..\include\named\seccomp.h
# End Source File
# Begin Source File
SOURCE=..\include\named\server.h SOURCE=..\include\named\server.h
# End Source File # End Source File
# Begin Source File # Begin Source File

View File

@@ -177,6 +177,9 @@
<ClInclude Include="..\include\named\query.h"> <ClInclude Include="..\include\named\query.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\include\named\seccomp.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\include\named\server.h"> <ClInclude Include="..\include\named\server.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>

View File

@@ -156,6 +156,7 @@
<ClInclude Include="..\include\named\main.h" /> <ClInclude Include="..\include\named\main.h" />
<ClInclude Include="..\include\named\notify.h" /> <ClInclude Include="..\include\named\notify.h" />
<ClInclude Include="..\include\named\query.h" /> <ClInclude Include="..\include\named\query.h" />
<ClInclude Include="..\include\named\seccomp.h" />
<ClInclude Include="..\include\named\server.h" /> <ClInclude Include="..\include\named\server.h" />
<ClInclude Include="..\include\named\sortlist.h" /> <ClInclude Include="..\include\named\sortlist.h" />
<ClInclude Include="..\include\named\statschannel.h" /> <ClInclude Include="..\include\named\statschannel.h" />

View File

@@ -358,14 +358,14 @@ typedef __int64 off_t;
/* HMAC_*() return ints */ /* HMAC_*() return ints */
@HMAC_RETURN_INT@ @HMAC_RETURN_INT@
/* Use AES for Source Identity Token generation */ /* Use AES for Client Cookie generation */
@AES_SIT@ @AES_CC@
/* Use HMAC-SHA1 for Source Identity Token generation */ /* Use HMAC-SHA1 for Client Cookie generation */
@HMAC_SHA1_SIT@ @HMAC_SHA1_CC@
/* Use HMAC-SHA256 for Source Identity Token generation */ /* Use HMAC-SHA256 for Client Cookie generation */
@HMAC_SHA256_SIT@ @HMAC_SHA256_CC@
/* Define to 1 if you have the `readline' function. */ /* Define to 1 if you have the `readline' function. */
@HAVE_READLINE@ @HAVE_READLINE@
@@ -382,6 +382,9 @@ typedef __int64 off_t;
/* Build with GeoIP Country IPv6 support */ /* Build with GeoIP Country IPv6 support */
@HAVE_GEOIP_V6@ @HAVE_GEOIP_V6@
/* Define if zlib was found */
@HAVE_ZLIB@
/* Define to enable rpz-nsdname rules. */ /* Define to enable rpz-nsdname rules. */
@ENABLE_RPZ_NSDNAME@ @ENABLE_RPZ_NSDNAME@

View File

@@ -118,6 +118,10 @@ SOURCE=..\include\bind9\check.h
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=..\include\bind9\getaddresses.h
# End Source File
# Begin Source File
SOURCE=..\include\bind9\version.h SOURCE=..\include\bind9\version.h
# End Source File # End Source File
# End Group # End Group

View File

@@ -38,5 +38,8 @@
<ClInclude Include="..\include\bind9\getaddresses.h"> <ClInclude Include="..\include\bind9\getaddresses.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\include\bind9\version.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@@ -115,6 +115,7 @@
<ItemGroup> <ItemGroup>
<ClInclude Include="..\include\bind9\check.h" /> <ClInclude Include="..\include\bind9\check.h" />
<ClInclude Include="..\include\bind9\getaddresses.h" /> <ClInclude Include="..\include\bind9\getaddresses.h" />
<ClInclude Include="..\include\bind9\version.h" />
</ItemGroup> </ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets"> <ImportGroup Label="ExtensionTargets">

View File

@@ -17,6 +17,12 @@
#include <config.h> #include <config.h>
#if HAVE_DLFCN_H
#include <dlfcn.h>
#elif _WIN32
#include <windows.h>
#endif
#include <isc/buffer.h> #include <isc/buffer.h>
#include <isc/mem.h> #include <isc/mem.h>
#include <isc/mutex.h> #include <isc/mutex.h>
@@ -35,10 +41,6 @@
#include <string.h> #include <string.h>
#if HAVE_DLFCN_H
#include <dlfcn.h>
#endif
#define CHECK(op) \ #define CHECK(op) \
do { result = (op); \ do { result = (op); \
if (result != ISC_R_SUCCESS) goto cleanup; \ if (result != ISC_R_SUCCESS) goto cleanup; \
@@ -213,7 +215,122 @@ unload_library(dyndb_implementation_t **impp) {
*impp = NULL; *impp = NULL;
} }
#else /* HAVE_DLFCN_H */ #elif _WIN32
static isc_result_t
load_symbol(HMODULE handle, const char *filename,
const char *symbol_name, void **symbolp)
{
void *symbol;
REQUIRE(handle != NULL);
REQUIRE(symbolp != NULL && *symbolp == NULL);
symbol = GetProcAddress(handle, symbol_name);
if (symbol == NULL) {
int errstatus = GetLastError();
isc_log_write(dns_lctx, DNS_LOGCATEGORY_DATABASE,
DNS_LOGMODULE_DYNDB, ISC_LOG_ERROR,
"failed to lookup symbol %s in "
"dyndb module '%s': %d",
symbol_name, filename, errstatus);
return (ISC_R_FAILURE);
}
*symbolp = symbol;
return (ISC_R_SUCCESS);
}
static isc_result_t
load_library(isc_mem_t *mctx, const char *filename, const char *instname,
dyndb_implementation_t **impp)
{
isc_result_t result;
HMODULE handle;
dyndb_implementation_t *imp = NULL;
dns_dyndb_register_t *register_func = NULL;
dns_dyndb_destroy_t *destroy_func = NULL;
dns_dyndb_version_t *version_func = NULL;
int version;
REQUIRE(impp != NULL && *impp == NULL);
isc_log_write(dns_lctx, DNS_LOGCATEGORY_DATABASE,
DNS_LOGMODULE_DYNDB, ISC_LOG_INFO,
"loading DynDB instance '%s' driver '%s'",
instname, filename);
handle = LoadLibraryA(filename);
if (handle == NULL)
CHECK(ISC_R_FAILURE);
CHECK(load_symbol(handle, filename, "dyndb_version",
(void **)&version_func));
version = version_func(NULL);
if (version < (DNS_DYNDB_VERSION - DNS_DYNDB_AGE) ||
version > DNS_DYNDB_VERSION)
{
isc_log_write(dns_lctx, DNS_LOGCATEGORY_DATABASE,
DNS_LOGMODULE_DYNDB, ISC_LOG_ERROR,
"driver API version mismatch: %d/%d",
version, DNS_DYNDB_VERSION);
CHECK(ISC_R_FAILURE);
}
CHECK(load_symbol(handle, filename, "dyndb_init",
(void **)&register_func));
CHECK(load_symbol(handle, filename, "dyndb_destroy",
(void **)&destroy_func));
imp = isc_mem_get(mctx, sizeof(dyndb_implementation_t));
if (imp == NULL)
CHECK(ISC_R_NOMEMORY);
imp->mctx = NULL;
isc_mem_attach(mctx, &imp->mctx);
imp->handle = handle;
imp->register_func = register_func;
imp->destroy_func = destroy_func;
imp->name = isc_mem_strdup(mctx, instname);
if (imp->name == NULL)
CHECK(ISC_R_NOMEMORY);
imp->inst = NULL;
INIT_LINK(imp, link);
*impp = imp;
imp = NULL;
cleanup:
if (result != ISC_R_SUCCESS)
isc_log_write(dns_lctx, DNS_LOGCATEGORY_DATABASE,
DNS_LOGMODULE_DYNDB, ISC_LOG_ERROR,
"failed to dynamically load instance '%s' "
"driver '%s': %d (%s)", instname, filename,
GetLastError(), isc_result_totext(result));
if (imp != NULL)
isc_mem_putanddetach(&imp->mctx, imp, sizeof(dyndb_implementation_t));
if (result != ISC_R_SUCCESS && handle != NULL)
FreeLibrary(handle);
return (result);
}
static void
unload_library(dyndb_implementation_t **impp) {
dyndb_implementation_t *imp;
REQUIRE(impp != NULL && *impp != NULL);
imp = *impp;
isc_mem_free(imp->mctx, imp->name);
isc_mem_putanddetach(&imp->mctx, imp, sizeof(dyndb_implementation_t));
*impp = NULL;
}
#else /* HAVE_DLFCN_H || _WIN32 */
static isc_result_t static isc_result_t
load_library(isc_mem_t *mctx, const char *filename, const char *instname, load_library(isc_mem_t *mctx, const char *filename, const char *instname,
dyndb_implementation_t **impp) dyndb_implementation_t **impp)

View File

@@ -107,7 +107,7 @@ dns_dyndb_load(const char *libname, const char *name, const char *parameters,
/*% /*%
* Load a dyndb module. * Load a dyndb module.
* *
* This loads a dyndb module using dlopen(), calls its register * This loads a dyndb module using dlopen() or equivalent, calls its register
* function (see dns_dyndb_register_t above), and if successful, adds * function (see dns_dyndb_register_t above), and if successful, adds
* the instance handle to a list of dyndb instances so it can be cleaned * the instance handle to a list of dyndb instances so it can be cleaned
* up later. * up later.

View File

@@ -99,9 +99,9 @@ dns_cache_getcleaninginterval
dns_cache_getname dns_cache_getname
dns_cache_getstats dns_cache_getstats
dns_cache_load dns_cache_load
@IF JSON @IF NOTYET
dns_cache_renderjson dns_cache_renderjson
@END JSON @END NOTYET
@IF LIBXML2 @IF LIBXML2
dns_cache_renderxml dns_cache_renderxml
@END LIBXML2 @END LIBXML2
@@ -330,7 +330,7 @@ dns_dyndb_load
dns_dyndb_cleanup dns_dyndb_cleanup
dns_dyndb_createctx dns_dyndb_createctx
dns_dyndb_destroyctx dns_dyndb_destroyctx
@IF DNSTAP @IF NOTYET
dns_dt_create dns_dt_create
dns_dt_setidentity dns_dt_setidentity
dns_dt_setversion dns_dt_setversion
@@ -344,7 +344,7 @@ dns_dtdata_free
dns_dt_open dns_dt_open
dns_dt_getframe dns_dt_getframe
dns_dt_close dns_dt_close
@END DNSTAP @END NOTYET
dns_ecdb_register dns_ecdb_register
dns_ecdb_unregister dns_ecdb_unregister
dns_fwdtable_add dns_fwdtable_add

View File

@@ -182,6 +182,10 @@ SOURCE=..\include\dns\dnssec.h
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=..\include\dns\dnstap.h
# End Source File
# Begin Source File
SOURCE=..\include\dns\ds.h SOURCE=..\include\dns\ds.h
# End Source File # End Source File
# Begin Source File # Begin Source File
@@ -194,6 +198,10 @@ SOURCE=..\include\dns\ecdb.h
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=..\include\dns\edns.h
# End Source File
# Begin Source File
SOURCE=..\include\dns\enumclass.h SOURCE=..\include\dns\enumclass.h
# End Source File # End Source File
# Begin Source File # Begin Source File
@@ -316,6 +324,10 @@ SOURCE=..\rbtdb64.h
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=..\rdatalist_p.h
# End Source File
# Begin Source File
SOURCE=..\include\dns\rcode.h SOURCE=..\include\dns\rcode.h
# End Source File # End Source File
# Begin Source File # Begin Source File

View File

@@ -344,6 +344,9 @@
<ClInclude Include="..\rbtdb64.h"> <ClInclude Include="..\rbtdb64.h">
<Filter>Library Header Files</Filter> <Filter>Library Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\rdatalist_p.h">
<Filter>Library Header Files</Filter>
</ClInclude>
<ClInclude Include="..\include\dns\acache.h"> <ClInclude Include="..\include\dns\acache.h">
<Filter>Library Header Files</Filter> <Filter>Library Header Files</Filter>
</ClInclude> </ClInclude>
@@ -404,6 +407,9 @@
<ClInclude Include="..\include\dns\dnssec.h"> <ClInclude Include="..\include\dns\dnssec.h">
<Filter>Library Header Files</Filter> <Filter>Library Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\include\dns\dnstap.h">
<Filter>Library Header Files</Filter>
</ClInclude>
<ClInclude Include="..\include\dns\ds.h"> <ClInclude Include="..\include\dns\ds.h">
<Filter>Library Header Files</Filter> <Filter>Library Header Files</Filter>
</ClInclude> </ClInclude>
@@ -416,6 +422,9 @@
<ClInclude Include="..\include\dns\ecdb.h"> <ClInclude Include="..\include\dns\ecdb.h">
<Filter>Library Header Files</Filter> <Filter>Library Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\include\dns\edns.h">
<Filter>Library Header Files</Filter>
</ClInclude>
<ClInclude Include="..\include\dns\enumclass.h"> <ClInclude Include="..\include\dns\enumclass.h">
<Filter>Library Header Files</Filter> <Filter>Library Header Files</Filter>
</ClInclude> </ClInclude>

View File

@@ -246,10 +246,12 @@
<ClInclude Include="..\include\dns\dlz.h" /> <ClInclude Include="..\include\dns\dlz.h" />
<ClInclude Include="..\include\dns\dns64.h" /> <ClInclude Include="..\include\dns\dns64.h" />
<ClInclude Include="..\include\dns\dnssec.h" /> <ClInclude Include="..\include\dns\dnssec.h" />
<ClInclude Include="..\include\dns\dnstap.h" />
<ClInclude Include="..\include\dns\ds.h" /> <ClInclude Include="..\include\dns\ds.h" />
<ClInclude Include="..\include\dns\dsdigest.h" /> <ClInclude Include="..\include\dns\dsdigest.h" />
<ClInclude Include="..\include\dns\dyndb.h" /> <ClInclude Include="..\include\dns\dyndb.h" />
<ClInclude Include="..\include\dns\ecdb.h" /> <ClInclude Include="..\include\dns\ecdb.h" />
<ClInclude Include="..\include\dns\edns.h" />
<ClInclude Include="..\include\dns\enumclass.h" /> <ClInclude Include="..\include\dns\enumclass.h" />
<ClInclude Include="..\include\dns\enumtype.h" /> <ClInclude Include="..\include\dns\enumtype.h" />
<ClInclude Include="..\include\dns\events.h" /> <ClInclude Include="..\include\dns\events.h" />
@@ -326,6 +328,7 @@
<ClInclude Include="..\include\dst\result.h" /> <ClInclude Include="..\include\dst\result.h" />
<ClInclude Include="..\rbtdb.h" /> <ClInclude Include="..\rbtdb.h" />
<ClInclude Include="..\rbtdb64.h" /> <ClInclude Include="..\rbtdb64.h" />
<ClInclude Include="..\rdatalist_p.h" />
<ClInclude Include="..\spnego.h" /> <ClInclude Include="..\spnego.h" />
</ItemGroup> </ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />

View File

@@ -62,5 +62,8 @@
<ClInclude Include="..\include\irs\types.h"> <ClInclude Include="..\include\irs\types.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\include\irs\version.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@@ -123,6 +123,7 @@
<ClInclude Include="..\include\irs\platform.h" /> <ClInclude Include="..\include\irs\platform.h" />
<ClInclude Include="..\include\irs\resconf.h" /> <ClInclude Include="..\include\irs\resconf.h" />
<ClInclude Include="..\include\irs\types.h" /> <ClInclude Include="..\include\irs\types.h" />
<ClInclude Include="..\include\irs\version.h" />
</ItemGroup> </ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets"> <ImportGroup Label="ExtensionTargets">

View File

@@ -402,9 +402,9 @@ isc_mem_ondestroy
isc_mem_printallactive isc_mem_printallactive
isc_mem_references isc_mem_references
isc_mem_register isc_mem_register
@IF JSON @IF NOTYET
isc_mem_renderjson isc_mem_renderjson
@END JSON @END NOTYET
@IF LIBXML2 @IF LIBXML2
isc_mem_renderxml isc_mem_renderxml
@END LIBXML2 @END LIBXML2
@@ -657,9 +657,9 @@ isc_taskmgr_createinctx
isc_taskmgr_destroy isc_taskmgr_destroy
isc_taskmgr_excltask isc_taskmgr_excltask
isc_taskmgr_mode isc_taskmgr_mode
@IF JSON @IF NOTYET
isc_taskmgr_renderjson isc_taskmgr_renderjson
@END JSON @END NOTYET
@IF LIBXML2 @IF LIBXML2
isc_taskmgr_renderxml isc_taskmgr_renderxml
@END LIBXML2 @END LIBXML2

View File

@@ -44,9 +44,9 @@ RSC=rc.exe
# PROP Target_Dir "" # PROP Target_Dir ""
# ADD BASE CPP /nologo /MT /W3 @COPTX@ @COPTI@ /O2 /D "BIND9" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "LIBISC_EXPORTS" @COPTY@ /FD /c # ADD BASE CPP /nologo /MT /W3 @COPTX@ @COPTI@ /O2 /D "BIND9" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "LIBISC_EXPORTS" @COPTY@ /FD /c
@IF PKCS11 @IF PKCS11
# ADD CPP /nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../../../" @LIBXML2_INC@ @OPENSSL_INC@ /I "include" /I "../include" /I "win32" /I "../../isccfg/include" /I "../../../lib/dns/win32/include" /I "../../../lib/dns/include" /D "BIND9" @CRYPTO@ @PK11_LIB_LOCATION@ /D "WIN32" /D "NDEBUG" /D "__STDC__" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "LIBISC_EXPORTS" @COPTY@ /FD /c # ADD CPP /nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../../../" @LIBXML2_INC@ @OPENSSL_INC@ @ZLIB_INC@ /I "include" /I "../include" /I "win32" /I "../../isccfg/include" /I "../../../lib/dns/win32/include" /I "../../../lib/dns/include" /D "BIND9" @CRYPTO@ @PK11_LIB_LOCATION@ /D "WIN32" /D "NDEBUG" /D "__STDC__" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "LIBISC_EXPORTS" @COPTY@ /FD /c
@ELSE PKCS11 @ELSE PKCS11
# ADD CPP /nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../../../" @LIBXML2_INC@ @OPENSSL_INC@ /I "include" /I "../include" /I "win32" /I "../../isccfg/include" /D "BIND9" /D "WIN32" /D "NDEBUG" /D "__STDC__" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "LIBISC_EXPORTS" @COPTY@ /FD /c # ADD CPP /nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../../../" @LIBXML2_INC@ @OPENSSL_INC@ @ZLIB_INC@ /I "include" /I "../include" /I "win32" /I "../../isccfg/include" /D "BIND9" /D "WIN32" /D "NDEBUG" /D "__STDC__" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "LIBISC_EXPORTS" @COPTY@ /FD /c
@END PKCS11 @END PKCS11
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
@@ -57,7 +57,7 @@ BSC32=bscmake.exe
# ADD BSC32 /nologo # ADD BSC32 /nologo
LINK32=link.exe LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll @MACHINE@ # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll @MACHINE@
# ADD LINK32 @LIBXML2_LIB@ @OPENSSL_LIB@ user32.lib advapi32.lib ws2_32.lib /nologo /dll @MACHINE@ /out:"../../../Build/Release/libisc.dll" # ADD LINK32 @LIBXML2_LIB@ @OPENSSL_LIB@ @ZLIB_LIB@ user32.lib advapi32.lib ws2_32.lib /nologo /dll @MACHINE@ /out:"../../../Build/Release/libisc.dll"
# SUBTRACT LINK32 /pdb:none # SUBTRACT LINK32 /pdb:none
!ELSEIF "$(CFG)" == "libisc - @PLATFORM@ Debug" !ELSEIF "$(CFG)" == "libisc - @PLATFORM@ Debug"
@@ -75,9 +75,9 @@ LINK32=link.exe
# PROP Target_Dir "" # PROP Target_Dir ""
# ADD BASE CPP /nologo /MTd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /D "BIND9" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "LIBISC_EXPORTS" @COPTY@ /FD /GZ /c # ADD BASE CPP /nologo /MTd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /D "BIND9" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "LIBISC_EXPORTS" @COPTY@ /FD /GZ /c
@IF PKCS11 @IF PKCS11
# ADD CPP /nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../../../" @LIBXML2_INC@ @OPENSSL_INC@ /I "include" /I "../include" /I "win32" /I "../../isccfg/include" /I "../../../lib/dns/win32/include" /I "../../../lib/dns/include" /D "BIND9" @CRYPTO@ @PK11_LIB_LOCATION@ /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__STDC__" /D "_MBCS" /D "_USRDLL" /D "LIBISC_EXPORTS" /FR @COPTY@ /FD /GZ /c # ADD CPP /nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../../../" @LIBXML2_INC@ @OPENSSL_INC@ @ZLIB_INC@ /I "include" /I "../include" /I "win32" /I "../../isccfg/include" /I "../../../lib/dns/win32/include" /I "../../../lib/dns/include" /D "BIND9" @CRYPTO@ @PK11_LIB_LOCATION@ /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__STDC__" /D "_MBCS" /D "_USRDLL" /D "LIBISC_EXPORTS" /FR @COPTY@ /FD /GZ /c
@ELSE PKCS11 @ELSE PKCS11
# ADD CPP /nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../../../" @LIBXML2_INC@ @OPENSSL_INC@ /I "include" /I "../include" /I "win32" /I "../../isccfg/include" /D "BIND9" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__STDC__" /D "_MBCS" /D "_USRDLL" /D "LIBISC_EXPORTS" /FR @COPTY@ /FD /GZ /c # ADD CPP /nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../../../" @LIBXML2_INC@ @OPENSSL_INC@ @ZLIB_INC@ /I "include" /I "../include" /I "win32" /I "../../isccfg/include" /D "BIND9" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__STDC__" /D "_MBCS" /D "_USRDLL" /D "LIBISC_EXPORTS" /FR @COPTY@ /FD /GZ /c
@END PKCS11 @END PKCS11
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
@@ -88,7 +88,7 @@ BSC32=bscmake.exe
# ADD BSC32 /nologo # ADD BSC32 /nologo
LINK32=link.exe LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug @MACHINE@ /pdbtype:sept # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug @MACHINE@ /pdbtype:sept
# ADD LINK32 @LIBXML2_LIB@ @OPENSSL_LIB@ user32.lib advapi32.lib ws2_32.lib /nologo /dll /map /debug @MACHINE@ /out:"../../../Build/Debug/libisc.dll" /pdbtype:sept # ADD LINK32 @LIBXML2_LIB@ @OPENSSL_LIB@ @ZLIB_LIB@ user32.lib advapi32.lib ws2_32.lib /nologo /dll /map /debug @MACHINE@ /out:"../../../Build/Debug/libisc.dll" /pdbtype:sept
!ENDIF !ENDIF
@@ -411,7 +411,7 @@ SOURCE=..\include\isc\mem.h
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=.\include\isc\meminfo.h SOURCE=..\include\isc\meminfo.h
# End Source File # End Source File
# Begin Source File # Begin Source File
@@ -571,7 +571,11 @@ SOURCE=..\include\isc\socket.h
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=.\include\isc\stats.h SOURCE=.\include\isc\stat.h
# End Source File
# Begin Source File
SOURCE=..\include\isc\stats.h
# End Source File # End Source File
# Begin Source File # Begin Source File

View File

@@ -216,9 +216,9 @@ CLEAN :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
@IF PKCS11 @IF PKCS11
CPP_PROJ=/nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../../../" /I "include" /I "../include" /I "win32" /I "../../isccfg/include" /I "../../dns/win32/include" /I "../../dns/include" @LIBXML2_INC@ @OPENSSL_INC@ /D "BIND9" @CRYPTO@ @PK11_LIB_LOCATION@ /D "WIN32" /D "NDEBUG" /D "__STDC__" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "LIBISC_EXPORTS" /Fp"$(INTDIR)\libisc.pch" @COPTY@ /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c CPP_PROJ=/nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../../../" /I "include" /I "../include" /I "win32" /I "../../isccfg/include" /I "../../dns/win32/include" /I "../../dns/include" @LIBXML2_INC@ @OPENSSL_INC@ @ZLIB_INC@ /D "BIND9" @CRYPTO@ @PK11_LIB_LOCATION@ /D "WIN32" /D "NDEBUG" /D "__STDC__" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "LIBISC_EXPORTS" /Fp"$(INTDIR)\libisc.pch" @COPTY@ /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
@ELSE PKCS11 @ELSE PKCS11
CPP_PROJ=/nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../../../" /I "include" /I "../include" /I "win32" /I "../../isccfg/include" @LIBXML2_INC@ @OPENSSL_INC@ /D "BIND9" /D "WIN32" /D "NDEBUG" /D "__STDC__" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "LIBISC_EXPORTS" /Fp"$(INTDIR)\libisc.pch" @COPTY@ /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c CPP_PROJ=/nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../../../" /I "include" /I "../include" /I "win32" /I "../../isccfg/include" @LIBXML2_INC@ @OPENSSL_INC@ @ZLIB_INC@ /D "BIND9" /D "WIN32" /D "NDEBUG" /D "__STDC__" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "LIBISC_EXPORTS" /Fp"$(INTDIR)\libisc.pch" @COPTY@ /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
@END PKCS11 @END PKCS11
MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32 MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32
BSC32=bscmake.exe BSC32=bscmake.exe
@@ -226,7 +226,7 @@ BSC32_FLAGS=/nologo /o"$(OUTDIR)\libisc.bsc"
BSC32_SBRS= \ BSC32_SBRS= \
LINK32=link.exe LINK32=link.exe
LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib $(LIBXML) @OPENSSL_LIB@ /nologo /dll /incremental:no /pdb:"$(OUTDIR)\libisc.pdb" @MACHINE@ /def:".\libisc.def" /out:"../../../Build/Release/libisc.dll" /implib:"$(OUTDIR)\libisc.lib" LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib $(LIBXML) @OPENSSL_LIB@ @ZLIB_LIB@ /nologo /dll /incremental:no /pdb:"$(OUTDIR)\libisc.pdb" @MACHINE@ /def:".\libisc.def" /out:"../../../Build/Release/libisc.dll" /implib:"$(OUTDIR)\libisc.lib"
DEF_FILE= \ DEF_FILE= \
".\libisc.def" ".\libisc.def"
LINK32_OBJS= \ LINK32_OBJS= \
@@ -535,9 +535,9 @@ CLEAN :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
@IF PKCS11 @IF PKCS11
CPP_PROJ=/nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../../../" /I "include" /I "../include" /I "win32" /I "../../isccfg/include" /I "../../dns/win32/include" /I "../../dns/include" @LIBXML2_INC@ @OPENSSL_INC@ /D "BIND9" @CRYPTO@ @PK11_LIB_LOCATION@ /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__STDC__" /D "_MBCS" /D "_USRDLL" /D "LIBISC_EXPORTS" /FR"$(INTDIR)\\" /Fp"$(INTDIR)\libisc.pch" @COPTY@ /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c CPP_PROJ=/nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../../../" /I "include" /I "../include" /I "win32" /I "../../isccfg/include" /I "../../dns/win32/include" /I "../../dns/include" @LIBXML2_INC@ @OPENSSL_INC@ @ZLIB_INC@ /D "BIND9" @CRYPTO@ @PK11_LIB_LOCATION@ /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__STDC__" /D "_MBCS" /D "_USRDLL" /D "LIBISC_EXPORTS" /FR"$(INTDIR)\\" /Fp"$(INTDIR)\libisc.pch" @COPTY@ /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
@ELSE PKCS11 @ELSE PKCS11
CPP_PROJ=/nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../../../" /I "include" /I "../include" /I "win32" /I "../../isccfg/include" @LIBXML2_INC@ @OPENSSL_INC@ /D "BIND9" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__STDC__" /D "_MBCS" /D "_USRDLL" /D "LIBISC_EXPORTS" /FR"$(INTDIR)\\" /Fp"$(INTDIR)\libisc.pch" @COPTY@ /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c CPP_PROJ=/nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../../../" /I "include" /I "../include" /I "win32" /I "../../isccfg/include" @LIBXML2_INC@ @OPENSSL_INC@ @ZLIB_INC@ /D "BIND9" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__STDC__" /D "_MBCS" /D "_USRDLL" /D "LIBISC_EXPORTS" /FR"$(INTDIR)\\" /Fp"$(INTDIR)\libisc.pch" @COPTY@ /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
@END PKCS11 @END PKCS11
MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32 MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32
BSC32=bscmake.exe BSC32=bscmake.exe
@@ -644,7 +644,7 @@ BSC32_SBRS= \
<< <<
LINK32=link.exe LINK32=link.exe
LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib $(LIBXML) @OPENSSL_LIB@ /nologo /dll /incremental:yes /pdb:"$(OUTDIR)\libisc.pdb" /map:"$(INTDIR)\libisc.map" /debug @MACHINE@ /def:".\libisc.def" /out:"../../../Build/Debug/libisc.dll" /implib:"$(OUTDIR)\libisc.lib" /pdbtype:sept LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib $(LIBXML) @OPENSSL_LIB@ @ZLIB_LIB@ /nologo /dll /incremental:yes /pdb:"$(OUTDIR)\libisc.pdb" /map:"$(INTDIR)\libisc.map" /debug @MACHINE@ /def:".\libisc.def" /out:"../../../Build/Debug/libisc.dll" /implib:"$(OUTDIR)\libisc.lib" /pdbtype:sept
DEF_FILE= \ DEF_FILE= \
".\libisc.def" ".\libisc.def"
LINK32_OBJS= \ LINK32_OBJS= \

View File

@@ -142,6 +142,9 @@
<ClInclude Include="..\include\isc\mem.h"> <ClInclude Include="..\include\isc\mem.h">
<Filter>Library Header Files</Filter> <Filter>Library Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\include\isc\meminfo.h">
<Filter>Win32 Header Files</Filter>
</ClInclude>
<ClInclude Include="..\include\isc\msgcat.h"> <ClInclude Include="..\include\isc\msgcat.h">
<Filter>Library Header Files</Filter> <Filter>Library Header Files</Filter>
</ClInclude> </ClInclude>
@@ -229,6 +232,9 @@
<ClInclude Include="..\include\isc\socket.h"> <ClInclude Include="..\include\isc\socket.h">
<Filter>Library Header Files</Filter> <Filter>Library Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\include\isc\stats.h">
<Filter>Library Header Files</Filter>
</ClInclude>
<ClInclude Include="..\include\isc\stdio.h"> <ClInclude Include="..\include\isc\stdio.h">
<Filter>Library Header Files</Filter> <Filter>Library Header Files</Filter>
</ClInclude> </ClInclude>
@@ -309,9 +315,6 @@
<ClInclude Include="include\isc\keyboard.h"> <ClInclude Include="include\isc\keyboard.h">
<Filter>Win32 Header Files</Filter> <Filter>Win32 Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="include\isc\meminfo.h">
<Filter>Win32 Header Files</Filter>
</ClInclude>
<ClInclude Include="include\isc\mutex.h"> <ClInclude Include="include\isc\mutex.h">
<Filter>Win32 Header Files</Filter> <Filter>Win32 Header Files</Filter>
</ClInclude> </ClInclude>

View File

@@ -55,10 +55,10 @@
<Optimization>Disabled</Optimization> <Optimization>Disabled</Optimization>
@IF PKCS11 @IF PKCS11
<PreprocessorDefinitions>BIND9;@CRYPTO@@PK11_LIB_LOCATION@WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBISC_EXPORTS;%(PreprocessorDefinitions);%(PreprocessorDefinitions)</PreprocessorDefinitions> <PreprocessorDefinitions>BIND9;@CRYPTO@@PK11_LIB_LOCATION@WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBISC_EXPORTS;%(PreprocessorDefinitions);%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>.\;..\..\..\;@LIBXML2_INC@@OPENSSL_INC@include;..\include;win32;..\..\isccfg\include;..\..\dns\win32\include;..\..\dns\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <AdditionalIncludeDirectories>.\;..\..\..\;@LIBXML2_INC@@OPENSSL_INC@@ZLIB_INC@include;..\include;win32;..\..\isccfg\include;..\..\dns\win32\include;..\..\dns\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
@ELSE PKCS11 @ELSE PKCS11
<PreprocessorDefinitions>BIND9;WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBISC_EXPORTS;%(PreprocessorDefinitions);%(PreprocessorDefinitions)</PreprocessorDefinitions> <PreprocessorDefinitions>BIND9;WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBISC_EXPORTS;%(PreprocessorDefinitions);%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>.\;..\..\..\;@LIBXML2_INC@@OPENSSL_INC@include;..\include;win32;..\..\isccfg\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <AdditionalIncludeDirectories>.\;..\..\..\;@LIBXML2_INC@@OPENSSL_INC@@ZLIB_INC@include;..\include;win32;..\..\isccfg\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
@END PKCS11 @END PKCS11
<FunctionLevelLinking>false</FunctionLevelLinking> <FunctionLevelLinking>false</FunctionLevelLinking>
<PrecompiledHeaderOutputFile>.\$(Configuration)\$(TargetName).pch</PrecompiledHeaderOutputFile> <PrecompiledHeaderOutputFile>.\$(Configuration)\$(TargetName).pch</PrecompiledHeaderOutputFile>
@@ -71,7 +71,7 @@
<SubSystem>Console</SubSystem> <SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation> <GenerateDebugInformation>true</GenerateDebugInformation>
<OutputFile>..\..\..\Build\$(Configuration)\$(TargetName)$(TargetExt)</OutputFile> <OutputFile>..\..\..\Build\$(Configuration)\$(TargetName)$(TargetExt)</OutputFile>
<AdditionalDependencies>@LIBXML2_LIB@@OPENSSL_LIB@ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies> <AdditionalDependencies>@LIBXML2_LIB@@OPENSSL_LIB@@ZLIB_LIB@ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<ModuleDefinitionFile>$(ProjectName).def</ModuleDefinitionFile> <ModuleDefinitionFile>$(ProjectName).def</ModuleDefinitionFile>
<ImportLibrary>.\$(Configuration)\$(ProjectName).lib</ImportLibrary> <ImportLibrary>.\$(Configuration)\$(ProjectName).lib</ImportLibrary>
</Link> </Link>
@@ -121,6 +121,12 @@ copy @IDN_DLL@ ..\Build\Debug\
copy @ICONV_DLL@ ..\Build\Debug\ copy @ICONV_DLL@ ..\Build\Debug\
@END IDNKIT @END IDNKIT
@IF ZLIB
echo Copying the zlib DLL.
copy @ZLIB_DLL@ ..\Build\Debug\
@END ZLIB
echo Copying Visual C x86 Redistributable Installer. echo Copying Visual C x86 Redistributable Installer.
copy /Y @VCREDIST_PATH@ ..\Build\Debug\ copy /Y @VCREDIST_PATH@ ..\Build\Debug\
@@ -143,10 +149,10 @@ copy InstallFiles ..\Build\Debug\
<IntrinsicFunctions>@INTRINSIC@</IntrinsicFunctions> <IntrinsicFunctions>@INTRINSIC@</IntrinsicFunctions>
@IF PKCS11 @IF PKCS11
<PreprocessorDefinitions>BIND9;@CRYPTO@@PK11_LIB_LOCATION@WIN32;NDEBUG;_WINDOWS;_USRDLL;LIBISC_EXPORTS;%(PreprocessorDefinitions);%(PreprocessorDefinitions)</PreprocessorDefinitions> <PreprocessorDefinitions>BIND9;@CRYPTO@@PK11_LIB_LOCATION@WIN32;NDEBUG;_WINDOWS;_USRDLL;LIBISC_EXPORTS;%(PreprocessorDefinitions);%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>.\;..\..\..\;@LIBXML2_INC@@OPENSSL_INC@include;..\include;win32;..\..\isccfg\include;..\..\dns\win32\include;..\..\dns\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <AdditionalIncludeDirectories>.\;..\..\..\;@LIBXML2_INC@@OPENSSL_INC@@ZLIB_INC@include;..\include;win32;..\..\isccfg\include;..\..\dns\win32\include;..\..\dns\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
@ELSE PKCS11 @ELSE PKCS11
<PreprocessorDefinitions>BIND9;WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBISC_EXPORTS;%(PreprocessorDefinitions);%(PreprocessorDefinitions)</PreprocessorDefinitions> <PreprocessorDefinitions>BIND9;WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBISC_EXPORTS;%(PreprocessorDefinitions);%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>.\;..\..\..\;@LIBXML2_INC@@OPENSSL_INC@include;..\include;win32;..\..\isccfg\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <AdditionalIncludeDirectories>.\;..\..\..\;@LIBXML2_INC@@OPENSSL_INC@@ZLIB_INC@include;..\include;win32;..\..\isccfg\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
@END PKCS11 @END PKCS11
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<WholeProgramOptimization>false</WholeProgramOptimization> <WholeProgramOptimization>false</WholeProgramOptimization>
@@ -162,7 +168,7 @@ copy InstallFiles ..\Build\Debug\
<EnableCOMDATFolding>true</EnableCOMDATFolding> <EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences> <OptimizeReferences>true</OptimizeReferences>
<OutputFile>..\..\..\Build\$(Configuration)\$(TargetName)$(TargetExt)</OutputFile> <OutputFile>..\..\..\Build\$(Configuration)\$(TargetName)$(TargetExt)</OutputFile>
<AdditionalDependencies>@LIBXML2_LIB@@OPENSSL_LIB@ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies> <AdditionalDependencies>@LIBXML2_LIB@@OPENSSL_LIB@@ZLIB_LIB@ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<ModuleDefinitionFile>$(ProjectName).def</ModuleDefinitionFile> <ModuleDefinitionFile>$(ProjectName).def</ModuleDefinitionFile>
<ImportLibrary>.\$(Configuration)\$(ProjectName).lib</ImportLibrary> <ImportLibrary>.\$(Configuration)\$(ProjectName).lib</ImportLibrary>
<LinkTimeCodeGeneration>Default</LinkTimeCodeGeneration> <LinkTimeCodeGeneration>Default</LinkTimeCodeGeneration>
@@ -262,6 +268,12 @@ copy @IDN_DLL@ ..\Build\Release\
copy @ICONV_DLL@ ..\Build\Release\ copy @ICONV_DLL@ ..\Build\Release\
@END IDNKIT @END IDNKIT
@IF ZLIB
echo Copying the zlib DLL.
copy @ZLIB_DLL@ ..\Build\Release\
@END ZLIB
echo Copying Visual C x86 Redistributable Installer. echo Copying Visual C x86 Redistributable Installer.
copy /Y @VCREDIST_PATH@ ..\Build\Release\ copy /Y @VCREDIST_PATH@ ..\Build\Release\
@@ -319,6 +331,7 @@ copy InstallFiles ..\Build\Release\
<ClInclude Include="..\include\isc\magic.h" /> <ClInclude Include="..\include\isc\magic.h" />
<ClInclude Include="..\include\isc\md5.h" /> <ClInclude Include="..\include\isc\md5.h" />
<ClInclude Include="..\include\isc\mem.h" /> <ClInclude Include="..\include\isc\mem.h" />
<ClInclude Include="..\include\isc\meminfo.h" />
<ClInclude Include="..\include\isc\msgcat.h" /> <ClInclude Include="..\include\isc\msgcat.h" />
<ClInclude Include="..\include\isc\msgs.h" /> <ClInclude Include="..\include\isc\msgs.h" />
<ClInclude Include="..\include\isc\mutexblock.h" /> <ClInclude Include="..\include\isc\mutexblock.h" />
@@ -348,6 +361,7 @@ copy InstallFiles ..\Build\Release\
<ClInclude Include="..\include\isc\sha2.h" /> <ClInclude Include="..\include\isc\sha2.h" />
<ClInclude Include="..\include\isc\sockaddr.h" /> <ClInclude Include="..\include\isc\sockaddr.h" />
<ClInclude Include="..\include\isc\socket.h" /> <ClInclude Include="..\include\isc\socket.h" />
<ClInclude Include="..\include\isc\stats.h" />
<ClInclude Include="..\include\isc\stdio.h" /> <ClInclude Include="..\include\isc\stdio.h" />
<ClInclude Include="..\include\isc\stdlib.h" /> <ClInclude Include="..\include\isc\stdlib.h" />
<ClInclude Include="..\include\isc\string.h" /> <ClInclude Include="..\include\isc\string.h" />
@@ -382,7 +396,6 @@ copy InstallFiles ..\Build\Release\
<ClInclude Include="include\isc\int.h" /> <ClInclude Include="include\isc\int.h" />
<ClInclude Include="include\isc\ipv6.h" /> <ClInclude Include="include\isc\ipv6.h" />
<ClInclude Include="include\isc\keyboard.h" /> <ClInclude Include="include\isc\keyboard.h" />
<ClInclude Include="include\isc\meminfo.h" />
<ClInclude Include="include\isc\mutex.h" /> <ClInclude Include="include\isc\mutex.h" />
<ClInclude Include="include\isc\net.h" /> <ClInclude Include="include\isc\net.h" />
<ClInclude Include="include\isc\netdb.h" /> <ClInclude Include="include\isc\netdb.h" />

View File

@@ -184,6 +184,10 @@ SOURCE=..\include\isccc\types.h
SOURCE=..\include\isccc\util.h SOURCE=..\include\isccc\util.h
# End Source File # End Source File
# Begin Source File
SOURCE=..\include\isccc\version.h
# End Source File
# End Group # End Group
# Begin Group "Resource Files" # Begin Group "Resource Files"

View File

@@ -86,5 +86,8 @@
<ClInclude Include="..\include\isccc\util.h"> <ClInclude Include="..\include\isccc\util.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\include\isccc\version.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@@ -131,6 +131,7 @@
<ClInclude Include="..\include\isccc\symtype.h" /> <ClInclude Include="..\include\isccc\symtype.h" />
<ClInclude Include="..\include\isccc\types.h" /> <ClInclude Include="..\include\isccc\types.h" />
<ClInclude Include="..\include\isccc\util.h" /> <ClInclude Include="..\include\isccc\util.h" />
<ClInclude Include="..\include\isccc\version.h" />
</ItemGroup> </ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets"> <ImportGroup Label="ExtensionTargets">

View File

@@ -152,6 +152,10 @@ SOURCE=..\include\isccfg\log.h
SOURCE=..\include\isccfg\namedconf.h SOURCE=..\include\isccfg\namedconf.h
# End Source File # End Source File
# Begin Source File
SOURCE=..\include\isccfg\version.h
# End Source File
# End Group # End Group
# Begin Group "Resource Files" # Begin Group "Resource Files"

View File

@@ -59,5 +59,8 @@
<ClInclude Include="..\include\isccfg\namedconf.h"> <ClInclude Include="..\include\isccfg\namedconf.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\include\isccfg\version.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@@ -122,6 +122,7 @@
<ClInclude Include="..\include\isccfg\grammar.h" /> <ClInclude Include="..\include\isccfg\grammar.h" />
<ClInclude Include="..\include\isccfg\log.h" /> <ClInclude Include="..\include\isccfg\log.h" />
<ClInclude Include="..\include\isccfg\namedconf.h" /> <ClInclude Include="..\include\isccfg\namedconf.h" />
<ClInclude Include="..\include\isccfg\version.h" />
</ItemGroup> </ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets"> <ImportGroup Label="ExtensionTargets">

View File

@@ -244,6 +244,10 @@ SOURCE=..\include\lwres\stdlib.h
SOURCE=..\include\lwres\string.h SOURCE=..\include\lwres\string.h
# End Source File # End Source File
# Begin Source File
SOURCE=..\include\lwres\version.h
# End Source File
# End Group # End Group
# Begin Group "Resource Files" # Begin Group "Resource Files"

View File

@@ -131,5 +131,8 @@
<ClInclude Include="..\include\lwres\string.h"> <ClInclude Include="..\include\lwres\string.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\include\lwres\version.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@@ -140,6 +140,7 @@
<ClInclude Include="..\include\lwres\result.h" /> <ClInclude Include="..\include\lwres\result.h" />
<ClInclude Include="..\include\lwres\stdlib.h" /> <ClInclude Include="..\include\lwres\stdlib.h" />
<ClInclude Include="..\include\lwres\string.h" /> <ClInclude Include="..\include\lwres\string.h" />
<ClInclude Include="..\include\lwres\version.h" />
<ClInclude Include="include\lwres\int.h" /> <ClInclude Include="include\lwres\int.h" />
<ClInclude Include="include\lwres\net.h" /> <ClInclude Include="include\lwres\net.h" />
<ClInclude Include="include\lwres\netdb.h" /> <ClInclude Include="include\lwres\netdb.h" />

View File

@@ -348,7 +348,7 @@ my @projectlist = ("..\\bin\\check\\win32\\checkconf.vcxproj",
my %configdefh; my %configdefh;
my @substdefh = ("AES_SIT", my @substdefh = ("AES_CC",
"ALLOW_FILTER_AAAA", "ALLOW_FILTER_AAAA",
"CONFIGARGS", "CONFIGARGS",
"DNS_RDATASET_FIXED", "DNS_RDATASET_FIXED",
@@ -369,9 +369,10 @@ my @substdefh = ("AES_SIT",
"HAVE_PKCS11_ECDSA", "HAVE_PKCS11_ECDSA",
"HAVE_PKCS11_GOST", "HAVE_PKCS11_GOST",
"HAVE_READLINE", "HAVE_READLINE",
"HAVE_ZLIB",
"HMAC_RETURN_INT", "HMAC_RETURN_INT",
"HMAC_SHA1_SIT", "HMAC_SHA1_CC",
"HMAC_SHA256_SIT", "HMAC_SHA256_CC",
"ISC_LIST_CHECKINIT", "ISC_LIST_CHECKINIT",
"PREFER_GOSTASN1", "PREFER_GOSTASN1",
"TUNE_LARGE", "TUNE_LARGE",
@@ -389,7 +390,6 @@ my @substdefp = ("ISC_PLATFORM_HAVEATOMICSTORE",
"ISC_PLATFORM_HAVEXADDQ", "ISC_PLATFORM_HAVEXADDQ",
"ISC_PLATFORM_NEEDSTRCASESTR", "ISC_PLATFORM_NEEDSTRCASESTR",
"ISC_PLATFORM_USEBACKTRACE", "ISC_PLATFORM_USEBACKTRACE",
"ISC_PLATFORM_USESIT",
"ISC_PLATFORM_WANTAES"); "ISC_PLATFORM_WANTAES");
# includes # includes
@@ -401,7 +401,8 @@ my @substinc = ("GSSAPI_INC",
"IDN_INC", "IDN_INC",
"LIBXML2_INC", "LIBXML2_INC",
"OPENSSL_INC", "OPENSSL_INC",
"READLINE_INC"); "READLINE_INC",
"ZLIB_INC");
# libraries # libraries
@@ -414,7 +415,8 @@ my @substlib = ("GSSAPI_LIB",
"LIBXML2_LIB", "LIBXML2_LIB",
"OPENSSL_LIB", "OPENSSL_LIB",
"READLINE_LIB", "READLINE_LIB",
"READLINE_LIBD"); "READLINE_LIBD",
"ZLIB_LIB");
# DLLs # DLLs
@@ -429,7 +431,8 @@ my @substdll = ("COMERR_DLL",
"K5SPRT_DLL", "K5SPRT_DLL",
"LIBXML2_DLL", "LIBXML2_DLL",
"OPENSSL_DLL", "OPENSSL_DLL",
"WSHELP_DLL"); "WSHELP_DLL",
"ZLIB_DLL");
# variables # variables
@@ -477,7 +480,10 @@ my @substcond = ("AES",
"PYTHON", "PYTHON",
"SAMPLES", "SAMPLES",
"TESTS", "TESTS",
"XTESTS"); "XTESTS",
"ZLIB");
my @allcond = (@substcond, "NOTYET", "NOLONGER");
# arguments # arguments
@@ -492,8 +498,7 @@ my @enablelist = ("developer",
"filter-aaaa", "filter-aaaa",
"querytrace", "querytrace",
"rpz-nsdname", "rpz-nsdname",
"rpz-nsip", "rpz-nsip");
"sit");
# with-xxx/without-xxx # with-xxx/without-xxx
@@ -512,10 +517,11 @@ my @withlist = ("aes",
"python", "python",
"readline", "readline",
"samples", "samples",
"sit-alg", "cc-alg",
"tests", "tests",
"tuning", "tuning",
"vcredist"); "vcredist",
"zlib");
# general arguments # general arguments
@@ -551,7 +557,6 @@ my @help = (
" enable-querytrace enable very verbose query trace [default=no]\n", " enable-querytrace enable very verbose query trace [default=no]\n",
" enable-rpz-nsip enable rpz-nsip rules [default=yes]\n", " enable-rpz-nsip enable rpz-nsip rules [default=yes]\n",
" enable-rpz-nsdname enable rpz-nsdname rules [default=yes]\n", " enable-rpz-nsdname enable rpz-nsdname rules [default=yes]\n",
" enable-sit enable source identity token [default=yes]\n",
"\nOptional Packages:\n", "\nOptional Packages:\n",
" with-tests build with test suite\n", " with-tests build with test suite\n",
" with-extra-tests build with extra test suite\n", " with-extra-tests build with extra test suite\n",
@@ -561,7 +566,7 @@ my @help = (
" with-ecdsa crypto ECDSA\n", " with-ecdsa crypto ECDSA\n",
" with-gost[=ENC] crypto GOST yes|no|raw|ans1\n", " with-gost[=ENC] crypto GOST yes|no|raw|ans1\n",
" with-aes crypto AES\n", " with-aes crypto AES\n",
" with-sit-alg choose the algorithm for SIT aes|sha1|sha256\n", " with-cc-alg choose the algorithm for cookies aes|sha1|sha256\n",
" with-gssapi[=PATH] build with MIT KfW GSSAPI yes|no|path\n", " with-gssapi[=PATH] build with MIT KfW GSSAPI yes|no|path\n",
" with-libxml2[=PATH] build with libxml2 library yes|no|path\n", " with-libxml2[=PATH] build with libxml2 library yes|no|path\n",
" with-geoip[=PATH] build with GeoIP support yes|no|path\n", " with-geoip[=PATH] build with GeoIP support yes|no|path\n",
@@ -569,6 +574,7 @@ my @help = (
" with-readline[=PATH] build with readline library support yes|no|path\n", " with-readline[=PATH] build with readline library support yes|no|path\n",
" with-idn[=PATH] build with IDN kit support yes|no|path\n", " with-idn[=PATH] build with IDN kit support yes|no|path\n",
" with-iconv[=PATH] path of the iconv DLL [default=same than idn]\n", " with-iconv[=PATH] path of the iconv DLL [default=same than idn]\n",
" with-zlib[=PATH] build with zlib library yes|no|path\n",
" with-vcredist[=PATH] visual C++ redistributable package yes|path\n", " with-vcredist[=PATH] visual C++ redistributable package yes|path\n",
" with-tuning=OPTION tune for plaform size (large|default)\n", " with-tuning=OPTION tune for plaform size (large|default)\n",
" with-cross-compile 32 / 64 bit build / host plaforms\n"); " with-cross-compile 32 / 64 bit build / host plaforms\n");
@@ -593,7 +599,6 @@ my $enable_developer = "no";
my $enable_querytrace = "no"; my $enable_querytrace = "no";
my $enable_rpz_nsip = "yes"; my $enable_rpz_nsip = "yes";
my $enable_rpz_nsdname = "yes"; my $enable_rpz_nsdname = "yes";
my $enable_sit = "yes";
my $use_tests = "no"; my $use_tests = "no";
my $use_xtests = "no"; my $use_xtests = "no";
my $use_samples = "no"; my $use_samples = "no";
@@ -605,7 +610,7 @@ my $use_ecdsa = "auto";
my $use_gost = "auto"; my $use_gost = "auto";
my $gost_encoding = "raw"; my $gost_encoding = "raw";
my $use_aes = "auto"; my $use_aes = "auto";
my $sit_algorithm = "aes"; my $cookie_algorithm = "aes";
my $use_gssapi = "no"; my $use_gssapi = "no";
my $gssapi_path = "C:\\Program\ Files\\MIT\\Kerberos\\"; my $gssapi_path = "C:\\Program\ Files\\MIT\\Kerberos\\";
my $use_geoip = "no"; my $use_geoip = "no";
@@ -619,6 +624,8 @@ my $readline_path = "..\\..\\";
my $use_idn = "no"; my $use_idn = "no";
my $idn_path = "..\\..\\"; my $idn_path = "..\\..\\";
my $iconv_path = " --idn-- "; my $iconv_path = " --idn-- ";
my $use_zlib = "no";
my $zlib_path = "..\\..\\";
my $use_vcredist = "yes"; my $use_vcredist = "yes";
my $vcredist_path = " --infer-- "; my $vcredist_path = " --infer-- ";
my $cross_compile = "no"; my $cross_compile = "no";
@@ -761,10 +768,6 @@ sub myenable {
if ($val =~ /^no$/i) { if ($val =~ /^no$/i) {
$enable_rpz_nsdname = "no"; $enable_rpz_nsdname = "no";
} }
} elsif ($key =~ /^sit$/i) {
if ($val =~ /^no$/i) {
$enable_sit = "no";
}
} else { } else {
$want_unknown = "yes"; $want_unknown = "yes";
if ($val eq "no") { if ($val eq "no") {
@@ -786,7 +789,6 @@ if ($enable_developer eq "yes") {
# TODO: dlz filesystem # TODO: dlz filesystem
$use_tests = "yes"; $use_tests = "yes";
$use_samples = "yes"; $use_samples = "yes";
$enable_sit = "yes";
} }
# parse with/without # parse with/without
@@ -842,8 +844,8 @@ sub mywith {
} elsif ($val =~ /^yes$/i) { } elsif ($val =~ /^yes$/i) {
$use_aes = "yes"; $use_aes = "yes";
} }
} elsif ($key =~ /^sit-alg$/i) { } elsif ($key =~ /^cc-alg$/i) {
$sit_algorithm = $val; $cookie_algorithm = $val;
} elsif ($key =~ /^gssapi$/i) { } elsif ($key =~ /^gssapi$/i) {
if ($val !~ /^no$/i) { if ($val !~ /^no$/i) {
$use_gssapi = "yes"; $use_gssapi = "yes";
@@ -886,6 +888,13 @@ sub mywith {
} elsif ($val !~ /^yes$/i) { } elsif ($val !~ /^yes$/i) {
$iconv_path = $val; $iconv_path = $val;
} }
} elsif ($key =~ /^zlib$/i) {
if ($val !~ /^no$/i) {
$use_zlib = "yes";
if ($val !~ /^yes$/i) {
$zlib_path = $val;
}
}
} elsif ($key =~ /^python$/i) { } elsif ($key =~ /^python$/i) {
if ($val =~ /^no$/i) { if ($val =~ /^no$/i) {
$use_python = "no"; $use_python = "no";
@@ -1026,12 +1035,7 @@ if ($verbose) {
} else { } else {
print "rpz-nsdname: disabled\n"; print "rpz-nsdname: disabled\n";
} }
if ($enable_sit eq "yes") { print "cookie algorithm: $cookie_algorithm\n";
print "sit: enabled\n";
print "sit algorithm: $sit_algorithm\n";
} else {
print "sit: disabled\n";
}
if ($use_openssl eq "no") { if ($use_openssl eq "no") {
print "openssl: disabled\n"; print "openssl: disabled\n";
} else { } else {
@@ -1095,6 +1099,11 @@ if ($verbose) {
print "iconv-path: $iconv_path\n"; print "iconv-path: $iconv_path\n";
} }
} }
if ($use_zlib eq "no") {
print "zlib: disabled\n";
} else {
print "zlib-path: $zlib_path\n";
}
if ($use_python eq "no") { if ($use_python eq "no") {
print "python: disabled\n"; print "python: disabled\n";
} else { } else {
@@ -1391,11 +1400,6 @@ if ($enable_rpz_nsdname ne "no") {
$configdefh{"ENABLE_RPZ_NSDNAME"} = 1; $configdefh{"ENABLE_RPZ_NSDNAME"} = 1;
} }
# enable-sit
if ($enable_sit ne "no") {
$configdefp{"ISC_PLATFORM_USESIT"} = 1;
}
# with-tests # with-tests
if ($use_tests eq "yes") { if ($use_tests eq "yes") {
$configcond{"TESTS"} = 1; $configcond{"TESTS"} = 1;
@@ -1878,23 +1882,21 @@ if ($use_aes eq "yes") {
$configcond{"AES"} = 1; $configcond{"AES"} = 1;
} }
# with-sit-alg # with-cc-alg
if ($enable_sit ne "no") { if ($cookie_algorithm eq "aes") {
if ($sit_algorithm eq "aes") { if ($use_aes ne "yes") {
if ($use_aes ne "yes") { $cookie_algorithm = "sha256";
$sit_algorithm = "sha256"; } else {
} else { $configdefh{"AES_CC"} = 1;
$configdefh{"AES_SIT"} = 1;
}
}
if ($sit_algorithm eq "sha1") {
$configdefh{"HMAC_SHA1_SIT"} = 1;
} elsif ($sit_algorithm eq "sha256") {
$configdefh{"HMAC_SHA256_SIT"} = 1;
} elsif ($sit_algorithm ne "aes") {
die "Unrecognized SIT algorithm: $sit_algorithm\n";
} }
} }
if ($cookie_algorithm eq "sha1") {
$configdefh{"HMAC_SHA1_CC"} = 1;
} elsif ($cookie_algorithm eq "sha256") {
$configdefh{"HMAC_SHA256_CC"} = 1;
} elsif ($cookie_algorithm ne "aes") {
die "Unrecognized cookie algorithm: $cookie_algorithm\n";
}
# enable-openssl-hash # enable-openssl-hash
if ($enable_openssl_hash eq "yes") { if ($enable_openssl_hash eq "yes") {
@@ -2287,6 +2289,34 @@ if ($use_libxml2 eq "yes") {
$configdll{"LIBXML2_DLL"} = "$libxml2_dll"; $configdll{"LIBXML2_DLL"} = "$libxml2_dll";
} }
# with-zlib
if ($use_zlib eq "no") {
if ($verbose) {
print "zlib library is disabled\n";
}
} else {
$configcond{"ZLIB"} = 1;
$zlib_path = File::Spec->rel2abs($zlib_path);
if ($verbose) {
print "checking for zlib directory at \"$zlib_path\"\n";
}
if (!-f File::Spec->catfile($zlib_path, "zlib.h")) {
die "can't find zlib.h include\n";
}
if (!-f File::Spec->catfile($zlib_path, "zdll.lib")) {
die "can't find zdll.lib library\n";
}
if (!-f File::Spec->catfile($zlib_path, "zlib1.dll")) {
die "can't find zlib1.dll DLL\n";
}
$configdefh{"HAVE_ZLIB"} = 1;
$configinc{"ZLIB_INC"} = "$zlib_path";
my $zlib_lib = File::Spec->catfile($zlib_path, "zdll.lib");
$configlib{"ZLIB_LIB"} = "$zlib_lib";
my $zlib_dll = File::Spec->catfile($zlib_path, "zlib1.dll");
$configdll{"ZLIB_DLL"} = "$zlib_dll";
}
# with-python # with-python
if ($use_python eq "no") { if ($use_python eq "no") {
if ($verbose) { if ($verbose) {
@@ -2426,11 +2456,15 @@ sub setupfile {
unshift(@conds, $cond); unshift(@conds, $cond);
unshift(@passes, $pass); unshift(@passes, $pass);
} }
$cond = $1; if ($1 ~~ @allcond) {
if (defined($configcond{$cond})) { $cond = $1;
# do nothing if (defined($configcond{$cond})) {
# do nothing
} else {
$pass = 0;
}
} else { } else {
$pass = 0; die "unknown condition \@IF $1 in $filename\n";
} }
next; next;
} elsif ($line =~ /^\@ELSE (.*)$/) { } elsif ($line =~ /^\@ELSE (.*)$/) {
@@ -2541,11 +2575,15 @@ sub setupproject {
unshift(@conds, $cond); unshift(@conds, $cond);
unshift(@passes, $pass); unshift(@passes, $pass);
} }
$cond = $1; if ($1 ~~ @allcond) {
if (defined($configcond{$cond})) { $cond = $1;
# do nothing if (defined($configcond{$cond})) {
# do nothing
} else {
$pass = 0;
}
} else { } else {
$pass = 0; die "unknown condition \@IF $1 in $projectname\n";
} }
next; next;
} elsif ($line =~ /^\@ELSE (.*)$/) { } elsif ($line =~ /^\@ELSE (.*)$/) {
@@ -3051,7 +3089,6 @@ exit 0;
# Notes: Unix configure.in options # Notes: Unix configure.in options
# --enable-developer partially supported # --enable-developer partially supported
# --enable-dnstap not supported (requires libfstrm support on win32)
# --enable-newstats (9.9/9.9sub only) # --enable-newstats (9.9/9.9sub only)
# --enable-native-pkcs11 supported # --enable-native-pkcs11 supported
# --enable-openssl-version-check included without a way to disable it # --enable-openssl-version-check included without a way to disable it
@@ -3059,38 +3096,40 @@ exit 0;
# --enable-threads included without a way to disable it # --enable-threads included without a way to disable it
# --enable-backtrace backtrace included without a way to disable it # --enable-backtrace backtrace included without a way to disable it
# --enable-symtable incompatible with DLLs (or libtool) # --enable-symtable incompatible with DLLs (or libtool)
# --enable-exportlib TODO (obsolete)
# --enable-ipv6 included without a way to disable it # --enable-ipv6 included without a way to disable it
# --enable-atomic supported (renamed to intrinsic) # --enable-atomic supported (renamed to intrinsic)
# --enable-spnego support (part of GSSAPI) # --enable-isc-spnego supported (part of GSSAPI)
# --enable-fixed-rrset supported # --enable-fixed-rrset supported
# --enable-querytrace supported # --enable-querytrace supported
# --disable-rpz-nsip supported # --disable-rpz-nsip supported
# --disable-rpz-nsdname supported # --disable-rpz-nsdname supported
# --enable-filter-aaaa supported # --enable-filter-aaaa supported
# --enable-sit supported
# --enable-full-report supported by verbose # --enable-full-report supported by verbose
# --enable-dnstap not supported (requires libfstrm support on WIN32)
# --enable-seccomp not supported (Linux specific)
# --with-python supported # --with-python supported
# --with-openssl supported # --with-openssl supported
# --with-pkcs11 supported # --with-pkcs11 supported
# --with-ecdsa supported # --with-ecdsa supported
# --with-gost supported # --with-gost supported
# --with-aes supported # --with-aes supported
# --with-sit-alg supported # --with-cc-alg supported
# --with-geoip supported # --with-geoip supported
# --with-gssapi supported with MIT (K)erberos (f)or (W)indows # --with-gssapi supported with MIT (K)erberos (f)or (W)indows
# --with-libxml2 supported # --with-libxml2 supported
# --with-libjson not supported on WIN32 (package not available on WIN32) # --with-libjson not supported on WIN32 (package not available on WIN32)
# --with-purify ? (package available on WIN32 but for free?) # --with-zlib supported
# --with-gperftools-profiler (package not available on WIN32) # --with-purify not supported (package available on WIN32 but for free?)
# --with-gperftools-profiler not supported (package not available on WIN32)
# --with-libtool not supported on WIN32 (never) # --with-libtool not supported on WIN32 (never)
# --with-locktype not supported on WIN32 (not yet available on WIN32) # --with-locktype not supported on WIN32 (not yet available on WIN32)
# --with-readline supported # --with-readline supported
# --with-idn support
# --with-[lib]iconv (part of IDN)
# --with-atf not supported on WIN32 (package not available on WIN32)
# --with-libfrtrm not supported (not yet available on WIN32)
# --with-protobuf-c not supported (no reason to until libfstrm is ready) # --with-protobuf-c not supported (no reason to until libfstrm is ready)
# --with-libfrtrm not supported (not yet available on WIN32)
# --with-docbook-xsl not supported (?)
# --with-idn[lib] supported
# --with-[lib]iconv supported (part of IDN)
# --with-atf not supported on WIN32 (package not available on WIN32)
# --with-tuning supported # --with-tuning supported
# --with-dlopen included without a way to disable it # --with-dlopen included without a way to disable it
# --with-dlz-* ? # --with-dlz-* ?

View File

@@ -23,6 +23,10 @@ If you wish to use IP geolocation, GeoIP API and database must be
downloaded, patched and built on the system on which you are building downloaded, patched and built on the system on which you are building
BIND. BIND.
If you wish to use zlib/deflate on the statistics channel, zlib
must be downloaded and built on the system on which you are building
BIND.
If you wish to use readline, the readline library must be downloaded If you wish to use readline, the readline library must be downloaded
and built on the system on which you are building BIND. and built on the system on which you are building BIND.
@@ -82,7 +86,7 @@ Step 1: Download and build OpenSSL
Step 2: Download and build LibXML2 Step 2: Download and build LibXML2
LibXML2 is required to use the statistics channel. If you wish to LibXML2 is required to use the statistics channel. If you wish to
build BIND 9 without support for this feature, skip to step 3. build BIND 9 without support for this feature, skip to step 4.
Download and untar the libxml2 sources from ftp://xmlsoft.org/libxml2. Download and untar the libxml2 sources from ftp://xmlsoft.org/libxml2.
Extract them in the same directory in which you extracted the BIND 9 Extract them in the same directory in which you extracted the BIND 9
@@ -102,10 +106,22 @@ Step 2: Download and build LibXML2
(in the libxml2-2.9.2 directory) when the correct file is configure.ac (in the libxml2-2.9.2 directory) when the correct file is configure.ac
so raises a 'not found' error. so raises a 'not found' error.
Step 3: Download and build GeoIP Step 3: Download and build zlib
The statistics channel (aka internal HTTP server) can support
zlib "deflate" compression method. If you don't want to this
feature, skip to step 4.
Download and untar the zlib sources from http://www.zlib.net,
extract them, read the win32\Makefile.msc for the Usage comment
at the beginning of this file, then build the zlib1.dll DLL for
the intended processor (i.e., win32 aka x86, or x64), e.g.,
running 'nmake /f win32\Makefile.msc'.
Step 4: Download and build GeoIP
Geographic ("geoip") ACLs require libGeoIP. If you wish to build BIND 9 Geographic ("geoip") ACLs require libGeoIP. If you wish to build BIND 9
without support for this feature, skip to step 4. without support for this feature, skip to step 5.
The libGeoIP source code is available from: The libGeoIP source code is available from:
@@ -118,14 +134,14 @@ Step 3: Download and build GeoIP
This patch has been submitted upstream, and will be included in This patch has been submitted upstream, and will be included in
future versions of libGeoIP. future versions of libGeoIP.
Step 4: Download and build Readline Step 5: Download and build Readline
The readline library adds command-line editing in nslookup and nsupdate. The readline library adds command-line editing in nslookup and nsupdate.
If you wish to build BIND 9 without support for this feature, skip to If you wish to build BIND 9 without support for this feature, skip to
step 5. step 6.
Because the original GNU source for the readline library has no WIN32 Because the original GNU source for the readline library has no WIN32
support, it will be necessary to download a version of the static support, it will be necessary to download a version of the static
readline library source that is ready to be built by Visual Studio. One readline library source that is ready to be built by Visual Studio. One
such version is available at: such version is available at:
@@ -134,7 +150,7 @@ Step 4: Download and build Readline
Note: Windows command (cmd.exe) provides an integrated line edition Note: Windows command (cmd.exe) provides an integrated line edition
feature so it is not recommended to configure bind with readline. feature so it is not recommended to configure bind with readline.
Step 5: Make the redistributable runtime object available Step 6: Make the redistributable runtime object available
Check that the Microsoft redistributable object (vcredist_x86.exe or Check that the Microsoft redistributable object (vcredist_x86.exe or
vcredist_x64.exe) is available to the build. The file may be placed vcredist_x64.exe) is available to the build. The file may be placed
@@ -143,10 +159,10 @@ Step 5: Make the redistributable runtime object available
may be placed in \build\vcredist_x86.exe). Or, the path to the file may be placed in \build\vcredist_x86.exe). Or, the path to the file
can be specified via the VCREDIST_PATH environment variable, or via can be specified via the VCREDIST_PATH environment variable, or via
the "with-vcredist=PATH" option to the configuration script (see the "with-vcredist=PATH" option to the configuration script (see
step 4). If none of these options is used, Configure will attempt to step 7). If none of these options is used, Configure will attempt to
find the redistributable based on clues in the build environment. find the redistributable based on clues in the build environment.
Step 6: Configuring the BIND build Step 7: Configuring the BIND build
From the command prompt, cd to the win32utils directory under From the command prompt, cd to the win32utils directory under
the BIND 9 root: the BIND 9 root:
@@ -170,7 +186,7 @@ Step 6: Configuring the BIND build
perl Configure clean perl Configure clean
Step 7: Building BIND Step 8: Building BIND
To build using 'nmake' or older versions of Visual Studio (e.g. To build using 'nmake' or older versions of Visual Studio (e.g.
VS 2005 or VS 2008), go to the legacy subdirectory: VS 2005 or VS 2008), go to the legacy subdirectory:
@@ -194,7 +210,7 @@ Step 7: Building BIND
Note: This mode does not support building for Windows XP. Note: This mode does not support building for Windows XP.
Step 8: Install Step 9: Install
Installation is accomplished by running the BINDInstall program. All Installation is accomplished by running the BINDInstall program. All
DLL's are copied to the Program Files area and all applications DLL's are copied to the Program Files area and all applications

View File

@@ -139,6 +139,13 @@ copy @ICONV_DLL@ ..\Build\Release\
copy @ICONV_DLL@ ..\Build\Debug\ copy @ICONV_DLL@ ..\Build\Debug\
@END IDNKIT @END IDNKIT
@IF ZLIB
echo Copying the zlib DLL.
copy @ZLIB_DLL@ ..\Build\Release\
copy @ZLIB_DLL@ ..\Build\Debug\
@END ZLIB
echo Copying the redistributable runtime object. echo Copying the redistributable runtime object.
rem rem