From 7cbf4ca408d1a8a75016320a7c086c7b5d5ac417 Mon Sep 17 00:00:00 2001 From: "Internet Software Consortium, Inc" <@isc.org> Date: Fri, 7 Sep 2007 14:16:02 -0600 Subject: 9.4.0a5 --- win32utils/BINDBuild.dsw | 796 ++++++++++++++++++++------------------------ win32utils/BuildAll.bat | 267 ++++++++------- win32utils/BuildPost.bat | 26 ++ win32utils/BuildSetup.bat | 117 ++++--- win32utils/dnsheadergen.bat | 52 +-- win32utils/index.html | 52 --- win32utils/makedefs.pl | 2 +- win32utils/makeversion.pl | 2 +- win32utils/readme1st.txt | 306 ++++++++--------- win32utils/updateopenssl.pl | 106 ------ win32utils/win32-build.txt | 288 ++++++++-------- 11 files changed, 896 insertions(+), 1118 deletions(-) create mode 100644 win32utils/BuildPost.bat delete mode 100644 win32utils/index.html delete mode 100644 win32utils/updateopenssl.pl (limited to 'win32utils') diff --git a/win32utils/BINDBuild.dsw b/win32utils/BINDBuild.dsw index 4b3fcf43..a76a7e4d 100644 --- a/win32utils/BINDBuild.dsw +++ b/win32utils/BINDBuild.dsw @@ -1,440 +1,356 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "BINDInstall"="..\bin\win32\BINDInstall\BINDInstall.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "bindevt"="..\lib\win32\bindevt\bindevt.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "dig"="..\bin\dig\win32\dig.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name libdns - End Project Dependency - Begin Project Dependency - Project_Dep_Name libisc - End Project Dependency - Begin Project Dependency - Project_Dep_Name libbind9 - End Project Dependency - Begin Project Dependency - Project_Dep_Name liblwres - End Project Dependency - Begin Project Dependency - Project_Dep_Name dighost - End Project Dependency -}}} - -############################################################################### - -Project: "dighost"="..\bin\dig\win32\dighost.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "host"="..\bin\dig\win32\host.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name libdns - End Project Dependency - Begin Project Dependency - Project_Dep_Name libisc - End Project Dependency - Begin Project Dependency - Project_Dep_Name libbind9 - End Project Dependency - Begin Project Dependency - Project_Dep_Name liblwres - End Project Dependency - Begin Project Dependency - Project_Dep_Name dighost - End Project Dependency -}}} - -############################################################################### - -Project: "keygen"="..\bin\dnssec\win32\keygen.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name libdns - End Project Dependency - Begin Project Dependency - Project_Dep_Name libisc - End Project Dependency - Begin Project Dependency - Project_Dep_Name dnssectool - End Project Dependency -}}} - -############################################################################### - -Project: "libbind9"="..\lib\bind9\win32\libbind9.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name libdns - End Project Dependency - Begin Project Dependency - Project_Dep_Name libisc - End Project Dependency - Begin Project Dependency - Project_Dep_Name libisccfg - End Project Dependency -}}} - -############################################################################### - -Project: "libdns"="..\lib\dns\win32\libdns.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name libisc - End Project Dependency -}}} - -############################################################################### - -Project: "libisc"="..\lib\isc\win32\libisc.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "libisccc"="..\lib\isccc\win32\libisccc.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name libisc - End Project Dependency -}}} - -############################################################################### - -Project: "libisccfg"="..\lib\isccfg\win32\libisccfg.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name libisc - End Project Dependency -}}} - -############################################################################### - -Project: "liblwres"="..\lib\lwres\win32\liblwres.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "named"="..\bin\named\win32\named.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name libdns - End Project Dependency - Begin Project Dependency - Project_Dep_Name libisc - End Project Dependency - Begin Project Dependency - Project_Dep_Name libisccc - End Project Dependency - Begin Project Dependency - Project_Dep_Name libisccfg - End Project Dependency - Begin Project Dependency - Project_Dep_Name liblwres - End Project Dependency - Begin Project Dependency - Project_Dep_Name libbind9 - End Project Dependency -}}} - -############################################################################### - -Project: "namedcheckconf"="..\bin\check\win32\namedcheckconf.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name libisc - End Project Dependency - Begin Project Dependency - Project_Dep_Name libisccfg - End Project Dependency - Begin Project Dependency - Project_Dep_Name libdns - End Project Dependency - Begin Project Dependency - Project_Dep_Name checktool - End Project Dependency -}}} - -############################################################################### - -Project: "namedcheckzone"="..\bin\check\win32\namedcheckzone.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name libdns - End Project Dependency - Begin Project Dependency - Project_Dep_Name libisc - End Project Dependency - Begin Project Dependency - Project_Dep_Name checktool - End Project Dependency -}}} - -############################################################################### - -Project: "nslookup"="..\bin\dig\win32\nslookup.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name libdns - End Project Dependency - Begin Project Dependency - Project_Dep_Name libisc - End Project Dependency - Begin Project Dependency - Project_Dep_Name libbind9 - End Project Dependency - Begin Project Dependency - Project_Dep_Name liblwres - End Project Dependency - Begin Project Dependency - Project_Dep_Name dighost - End Project Dependency -}}} - -############################################################################### - -Project: "nsupdate"="..\bin\nsupdate\win32\nsupdate.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name libdns - End Project Dependency - Begin Project Dependency - Project_Dep_Name libisc - End Project Dependency - Begin Project Dependency - Project_Dep_Name libbind9 - End Project Dependency -}}} - -############################################################################### - -Project: "rndc"="..\bin\rndc\win32\rndc.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name libisc - End Project Dependency - Begin Project Dependency - Project_Dep_Name libisccc - End Project Dependency - Begin Project Dependency - Project_Dep_Name libisccfg - End Project Dependency - Begin Project Dependency - Project_Dep_Name libbind9 - End Project Dependency - Begin Project Dependency - Project_Dep_Name rndcutil - End Project Dependency -}}} - -############################################################################### - -Project: "rndcconfgen"="..\bin\rndc\win32\confgen.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name rndcutil - End Project Dependency -}}} - -############################################################################### - -Project: "signzone"="..\bin\dnssec\win32\signzone.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name libdns - End Project Dependency - Begin Project Dependency - Project_Dep_Name libisc - End Project Dependency - Begin Project Dependency - Project_Dep_Name dnssectool - End Project Dependency -}}} - -############################################################################### - -Project: "dnssectool"="..\bin\dnssec\win32\dnssectool.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "rndcutil"="..\bin\rndc\win32\rndcutil.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "checktool"="..\bin\check\win32\checktool.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "BINDInstall"="..\bin\win32\BINDInstall\BINDInstall.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "bindevt"="..\lib\win32\bindevt\bindevt.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "dig"="..\bin\dig\win32\dig.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libbind9 + End Project Dependency +}}} + +############################################################################### + +Project: "host"="..\bin\dig\win32\host.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libbind9 + End Project Dependency +}}} + +############################################################################### + +Project: "keygen"="..\bin\dnssec\win32\keygen.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency +}}} + +############################################################################### + +Project: "libbind9"="..\lib\bind9\win32\libbind9.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libisccfg + End Project Dependency +}}} + +############################################################################### + +Project: "libdns"="..\lib\dns\win32\libdns.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency +}}} + +############################################################################### + +Project: "libisc"="..\lib\isc\win32\libisc.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "libisccc"="..\lib\isccc\win32\libisccc.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency +}}} + +############################################################################### + +Project: "libisccfg"="..\lib\isccfg\win32\libisccfg.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency +}}} + +############################################################################### + +Project: "liblwres"="..\lib\lwres\win32\liblwres.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "named"="..\bin\named\win32\named.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libisccc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libisccfg + End Project Dependency + Begin Project Dependency + Project_Dep_Name liblwres + End Project Dependency + Begin Project Dependency + Project_Dep_Name libbind9 + End Project Dependency +}}} + +############################################################################### + +Project: "namedcheckconf"="..\bin\check\win32\namedcheckconf.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libisccfg + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency +}}} + +############################################################################### + +Project: "namedcheckzone"="..\bin\check\win32\namedcheckzone.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency +}}} + +############################################################################### + +Project: "nslookup"="..\bin\dig\win32\nslookup.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libbind9 + End Project Dependency +}}} + +############################################################################### + +Project: "nsupdate"="..\bin\nsupdate\win32\nsupdate.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libbind9 + End Project Dependency +}}} + +############################################################################### + +Project: "rndc"="..\bin\rndc\win32\rndc.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libisccc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libisccfg + End Project Dependency + Begin Project Dependency + Project_Dep_Name libbind9 + End Project Dependency +}}} + +############################################################################### + +Project: "rndcconfgen"="..\bin\rndc\win32\confgen.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "signzone"="..\bin\dnssec\win32\signzone.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/win32utils/BuildAll.bat b/win32utils/BuildAll.bat index fd6be383..28bb8098 100644 --- a/win32utils/BuildAll.bat +++ b/win32utils/BuildAll.bat @@ -1,135 +1,132 @@ -echo off -rem -rem Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") -rem Copyright (C) 2001-2002 Internet Software Consortium. -rem -rem Permission to use, copy, modify, and distribute this software for any -rem purpose with or without fee is hereby granted, provided that the above -rem copyright notice and this permission notice appear in all copies. -rem -rem THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH -rem REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -rem AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, -rem INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -rem LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE -rem OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -rem PERFORMANCE OF THIS SOFTWARE. - -rem BuildAll.bat -rem This script sets up the files necessary ready to build BIND 9 -rem and then builds all of the binaries that make up the installation kit. -rem This requires perl to be installed on the system. - -rem IMPORTANT NOTE: -rem OpenSSL is a prerequisite for building and running this release of -rem BIND 9. You must fetch the OpenSSL sources yourself from -rem http://www.OpenSSL.org/ and compile it yourself. The code must reside -rem at the same level as the bind 9.2.0 source tree and it's top-level -rem directory be named openssl-0.9.6k. This restriction will be lifted in -rem a future release of BIND 9 for Windows NT/2000/XP. - -echo Setting up the BIND files required for the build - -rem Get and update for the latest build of the openssl library -perl updateopenssl.pl - -rem Setup the files -call BuildSetup.bat - -echo Build all of the Library files - -cd ..\lib - -cd isc\win32 -nmake /nologo -f libisc.mak CFG="libisc - Win32 Release" NO_EXTERNAL_DEPS="1" -cd ..\.. - -cd dns\win32 -nmake /nologo -f libdns.mak CFG="libdns - Win32 Release" NO_EXTERNAL_DEPS="1" -cd ..\.. - -cd isccfg\win32 -nmake /nologo -f libisccfg.mak CFG="libisccfg - Win32 Release" NO_EXTERNAL_DEPS="1" -cd ..\.. - -cd isccc\win32 -nmake /nologo -f libisccc.mak CFG="libisccc - Win32 Release" NO_EXTERNAL_DEPS="1" -cd ..\.. - -cd bind9\win32 -nmake /nologo -f libbind9.mak CFG="libbind9 - Win32 Release" NO_EXTERNAL_DEPS="1" -cd ..\.. - -cd lwres\win32 -nmake /nologo -f liblwres.mak CFG="liblwres - Win32 Release" NO_EXTERNAL_DEPS="1" -cd ..\.. - -rem This is the DLL required for the event Viewer - -cd win32\bindevt -nmake /nologo -f bindevt.mak CFG="bindevt - Win32 Release" NO_EXTERNAL_DEPS="1" -cd ..\.. - -cd .. - -echo Now build the apps - -cd bin - -cd named\win32 -nmake /nologo -f named.mak CFG="named - Win32 Release" NO_EXTERNAL_DEPS="1" - -copy ..\named.html ..\..\..\Build\Release -cd ..\.. - -cd rndc\win32 -nmake /nologo -f rndc.mak CFG="rndc - Win32 Release" NO_EXTERNAL_DEPS="1" -nmake /nologo -f confgen.mak CFG="rndcconfgen - Win32 Release" NO_EXTERNAL_DEPS="1" - -copy ..\*.html ..\..\..\Build\Release -cd ..\.. - -cd dig\win32 -nmake /nologo -f dig.mak CFG="dig - Win32 Release" NO_EXTERNAL_DEPS="1" -nmake /nologo /nologo -f host.mak CFG="host - Win32 Release" NO_EXTERNAL_DEPS="1" -nmake /nologo -f nslookup.mak CFG="nslookup - Win32 Release" NO_EXTERNAL_DEPS="1" -copy ..\*.html ..\..\..\Build\Release -cd ..\.. - -cd nsupdate\win32 -nmake /nologo -f nsupdate.mak CFG="nsupdate - Win32 Release" NO_EXTERNAL_DEPS="1" -copy ..\*.html ..\..\..\Build\Release -cd ..\.. - -cd check\win32 -nmake /nologo -f namedcheckconf.mak CFG="namedcheckconf - Win32 Release" NO_EXTERNAL_DEPS="1" -nmake /nologo -f namedcheckzone.mak CFG="namedcheckzone - Win32 Release" NO_EXTERNAL_DEPS="1" -copy ..\*.html ..\..\..\Build\Release -cd ..\.. - -cd dnssec\win32 -nmake /nologo -f keygen.mak CFG="keygen - Win32 Release" NO_EXTERNAL_DEPS="1" -rem nmake /nologo -f makekeyset.mak CFG="makekeyset - Win32 Release" NO_EXTERNAL_DEPS="1" -rem nmake /nologo -f signkey.mak CFG="signkey - Win32 Release" NO_EXTERNAL_DEPS="1" -nmake /nologo -f signzone.mak CFG="signzone - Win32 Release" NO_EXTERNAL_DEPS="1" -rem copy ..\*.html ..\..\..\Build\Release -copy ..\dnssec-keygen.html ..\..\..\Build\Release -copy ..\dnssec-signzone.html ..\..\..\Build\Release -cd ..\.. - -rem This is the BIND 9 Installer - -cd win32\BINDInstall -nmake /nologo -f BINDInstall.mak CFG="BINDInstall - Win32 Release" NO_EXTERNAL_DEPS="1" -cd ..\.. - -cd .. - -cd win32utils - -copy ..\doc\misc\migration ..\Build\Release -copy ..\doc\misc\migration-4to9 ..\Build\Release - -echo Done. - -rem exit here. +echo off +rem +rem Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") +rem Copyright (C) 2001-2002 Internet Software Consortium. +rem +rem Permission to use, copy, modify, and distribute this software for any +rem purpose with or without fee is hereby granted, provided that the above +rem copyright notice and this permission notice appear in all copies. +rem +rem THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH +rem REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +rem AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, +rem INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +rem LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE +rem OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +rem PERFORMANCE OF THIS SOFTWARE. + +rem BuildAll.bat +rem This script sets up the files necessary ready to build BIND 9 +rem and then builds all of the binaries that make up the installation kit. +rem This requires perl to be installed on the system. + +rem IMPORTANT NOTE: +rem OpenSSL is a prerequisite for building and running this release of +rem BIND 9. You must fetch the OpenSSL sources yourself from +rem http://www.OpenSSL.org/ and compile it yourself. The code must reside +rem at the same level as the bind 9.2.0 source tree and it's top-level +rem directory be named openssl-0.9.6k. This restriction will be lifted in +rem a future release of BIND 9 for Windows NT/2000/XP. + +echo Setting up the BIND files required for the build + +call BuildSetup.bat + +echo Build all of the Library files + +cd ..\lib + +cd isc\win32 +nmake /nologo -f libisc.mak CFG="libisc - Win32 Release" NO_EXTERNAL_DEPS="1" +cd ..\.. + +cd dns\win32 +nmake /nologo -f libdns.mak CFG="libdns - Win32 Release" NO_EXTERNAL_DEPS="1" +cd ..\.. + +cd isccfg\win32 +nmake /nologo -f libisccfg.mak CFG="libisccfg - Win32 Release" NO_EXTERNAL_DEPS="1" +cd ..\.. + +cd isccc\win32 +nmake /nologo -f libisccc.mak CFG="libisccc - Win32 Release" NO_EXTERNAL_DEPS="1" +cd ..\.. + +cd bind9\win32 +nmake /nologo -f libbind9.mak CFG="libbind9 - Win32 Release" NO_EXTERNAL_DEPS="1" +cd ..\.. + +cd lwres\win32 +nmake /nologo -f liblwres.mak CFG="liblwres - Win32 Release" NO_EXTERNAL_DEPS="1" +cd ..\.. + +rem This is the DLL required for the event Viewer + +cd win32\bindevt +nmake /nologo -f bindevt.mak CFG="bindevt - Win32 Release" NO_EXTERNAL_DEPS="1" +cd ..\.. + +cd .. + +echo Now build the apps + +cd bin + +cd named\win32 +nmake /nologo -f named.mak CFG="named - Win32 Release" NO_EXTERNAL_DEPS="1" + +copy ..\named.html ..\..\..\Build\Release +cd ..\.. + +cd rndc\win32 +nmake /nologo -f rndc.mak CFG="rndc - Win32 Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f confgen.mak CFG="rndcconfgen - Win32 Release" NO_EXTERNAL_DEPS="1" + +copy ..\*.html ..\..\..\Build\Release +cd ..\.. + +cd dig\win32 +nmake /nologo -f dig.mak CFG="dig - Win32 Release" NO_EXTERNAL_DEPS="1" +nmake /nologo /nologo -f host.mak CFG="host - Win32 Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f nslookup.mak CFG="nslookup - Win32 Release" NO_EXTERNAL_DEPS="1" +copy ..\*.html ..\..\..\Build\Release +cd ..\.. + +cd nsupdate\win32 +nmake /nologo -f nsupdate.mak CFG="nsupdate - Win32 Release" NO_EXTERNAL_DEPS="1" +copy ..\*.html ..\..\..\Build\Release +cd ..\.. + +cd check\win32 +nmake /nologo -f namedcheckconf.mak CFG="namedcheckconf - Win32 Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f namedcheckzone.mak CFG="namedcheckzone - Win32 Release" NO_EXTERNAL_DEPS="1" +copy /Y ..\..\..\Build\Release\named-checkzone.exe ..\..\..\Build\Release\named-compilezone.exe +copy ..\*.html ..\..\..\Build\Release +cd ..\.. + +cd dnssec\win32 +nmake /nologo -f keygen.mak CFG="keygen - Win32 Release" NO_EXTERNAL_DEPS="1" +rem nmake /nologo -f makekeyset.mak CFG="makekeyset - Win32 Release" NO_EXTERNAL_DEPS="1" +rem nmake /nologo -f signkey.mak CFG="signkey - Win32 Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f signzone.mak CFG="signzone - Win32 Release" NO_EXTERNAL_DEPS="1" +rem copy ..\*.html ..\..\..\Build\Release +copy ..\dnssec-keygen.html ..\..\..\Build\Release +copy ..\dnssec-signzone.html ..\..\..\Build\Release +cd ..\.. + +rem This is the BIND 9 Installer + +cd win32\BINDInstall +nmake /nologo -f BINDInstall.mak CFG="BINDInstall - Win32 Release" NO_EXTERNAL_DEPS="1" +cd ..\.. + +cd .. + +cd win32utils + +copy ..\doc\misc\migration ..\Build\Release +copy ..\doc\misc\migration-4to9 ..\Build\Release + +echo Done. + +rem exit here. diff --git a/win32utils/BuildPost.bat b/win32utils/BuildPost.bat new file mode 100644 index 00000000..ce771243 --- /dev/null +++ b/win32utils/BuildPost.bat @@ -0,0 +1,26 @@ +echo off +rem +rem Copyright (C) 2005 Internet Systems Consortium, Inc. ("ISC") +rem +rem Permission to use, copy, modify, and distribute this software for any +rem purpose with or without fee is hereby granted, provided that the above +rem copyright notice and this permission notice appear in all copies. +rem +rem THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH +rem REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +rem AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, +rem INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +rem LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE +rem OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +rem PERFORMANCE OF THIS SOFTWARE. + +rem BuildPost.bat +rem This script does the final stages if BINDBuild.dsw is used. + +echo Copying named-checkzone.exe to named-compilezone.exe + +copy /Y ..\Build\Release\named-checkzone.exe ..\Build\Release\named-compilezone.exe + +echo Done. + +rem exit here. diff --git a/win32utils/BuildSetup.bat b/win32utils/BuildSetup.bat index 2ad2070b..e9f70216 100644 --- a/win32utils/BuildSetup.bat +++ b/win32utils/BuildSetup.bat @@ -1,60 +1,57 @@ -echo off -rem -rem Copyright (C) 2004,2005 Internet Systems Consortium, Inc. ("ISC") -rem Copyright (C) 2001-2002 Internet Software Consortium. -rem -rem Permission to use, copy, modify, and distribute this software for any -rem purpose with or without fee is hereby granted, provided that the above -rem copyright notice and this permission notice appear in all copies. -rem -rem THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH -rem REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -rem AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, -rem INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -rem LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE -rem OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -rem PERFORMANCE OF THIS SOFTWARE. - -rem BuildSetup.bat -rem This script sets up the files necessary ready to build BIND 9. -rem This requires perl to be installed on the system. - -rem Set up the configuration file -cd .. -copy config.h.win32 config.h -cd win32utils - -rem Generate the version information -perl makeversion.pl - -rem Generate header files for lib/dns - -call dnsheadergen.bat - -echo Ensure that the OpenSSL sources are at the same level in -echo the directory tree and is named openssl-0.9.8d or libdns -echo will not build. - -rem Make sure that the Build directories are there. - -if NOT Exist ..\Build mkdir ..\Build -if NOT Exist ..\Build\Release mkdir ..\Build\Release -if NOT Exist ..\Build\Debug mkdir ..\Build\Debug - -echo Copying the ARM and the Installation Notes. - -copy ..\COPYRIGHT ..\Build\Release -copy ..\README ..\Build\Release -copy readme1st.txt ..\Build\Release -copy index.html ..\Build\Release -copy ..\doc\arm\*.html ..\Build\Release -copy ..\doc\arm\Bv9ARM.pdf ..\Build\Release -copy ..\CHANGES ..\Build\Release -copy ..\FAQ ..\Build\Release - -echo Copying the OpenSSL DLL. - -copy ..\..\openssl-0.9.8d\out32dll\libeay32.dll ..\Build\Release\ -copy ..\..\openssl-0.9.8d\out32dll\libeay32.dll ..\Build\Debug\ - -rem Done +echo off +rem +rem Copyright (C) 2004,2005 Internet Systems Consortium, Inc. ("ISC") +rem Copyright (C) 2001-2002 Internet Software Consortium. +rem +rem Permission to use, copy, modify, and distribute this software for any +rem purpose with or without fee is hereby granted, provided that the above +rem copyright notice and this permission notice appear in all copies. +rem +rem THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH +rem REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +rem AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, +rem INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +rem LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE +rem OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +rem PERFORMANCE OF THIS SOFTWARE. + +rem BuildSetup.bat +rem This script sets up the files necessary ready to build BIND 9. +rem This requires perl to be installed on the system. + +rem Set up the configuration file +cd .. +copy config.h.win32 config.h +cd win32utils + +rem Generate the version information +perl makeversion.pl + +rem Generate header files for lib/dns + +call dnsheadergen.bat + +echo Ensure that the OpenSSL sources are at the same level in +echo the directory tree and is named openssl-0.9.6k or libdns +echo will not build. + +rem Make sure that the Build directories are there. + +if NOT Exist ..\Build mkdir ..\Build +if NOT Exist ..\Build\Release mkdir ..\Build\Release + +echo Copying the ARM and the Installation Notes. + +copy ..\COPYRIGHT ..\Build\Release +copy readme1st.txt ..\Build\Release +copy ..\doc\arm\*.html ..\Build\Release +copy ..\doc\arm\Bv9ARM.pdf ..\Build\Release +copy ..\CHANGES ..\Build\Release +copy ..\FAQ ..\Build\Release + +echo Copying the OpenSSL DLL. + +copy ..\..\openssl-0.9.6k\out32dll\libeay32.dll ..\Build\Release\ + + +rem Done diff --git a/win32utils/dnsheadergen.bat b/win32utils/dnsheadergen.bat index 664dcdc5..09422fe8 100644 --- a/win32utils/dnsheadergen.bat +++ b/win32utils/dnsheadergen.bat @@ -1,26 +1,26 @@ -echo off -rem -rem Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") -rem Copyright (C) 2001-2002 Internet Software Consortium. -rem -rem Permission to use, copy, modify, and distribute this software for any -rem purpose with or without fee is hereby granted, provided that the above -rem copyright notice and this permission notice appear in all copies. -rem -rem THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH -rem REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -rem AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, -rem INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -rem LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE -rem OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -rem PERFORMANCE OF THIS SOFTWARE. - -cd ..\lib\dns -cd win32 -nmake /nologo /f gen.mak CFG="gen - Win32 Release" NO_EXTERNAL_DEPS="1" -cd .. -gen -s . -t > include/dns/enumtype.h -gen -s . -c > include/dns/enumclass.h -gen -s . -i -P ./rdata/rdatastructpre.h -S ./rdata/rdatastructsuf.h > include/dns/rdatastruct.h -gen -s . > code.h -cd ..\..\win32utils +echo off +rem +rem Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") +rem Copyright (C) 2001-2002 Internet Software Consortium. +rem +rem Permission to use, copy, modify, and distribute this software for any +rem purpose with or without fee is hereby granted, provided that the above +rem copyright notice and this permission notice appear in all copies. +rem +rem THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH +rem REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +rem AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, +rem INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +rem LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE +rem OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +rem PERFORMANCE OF THIS SOFTWARE. + +cd ..\lib\dns +cd win32 +nmake /nologo /f gen.mak CFG="gen - Win32 Release" NO_EXTERNAL_DEPS="1" +cd .. +gen -s . -t > include/dns/enumtype.h +gen -s . -c > include/dns/enumclass.h +gen -s . -i -P ./rdata/rdatastructpre.h -S ./rdata/rdatastructsuf.h > include/dns/rdatastruct.h +gen -s . > code.h +cd ..\..\win32utils diff --git a/win32utils/index.html b/win32utils/index.html deleted file mode 100644 index 6f355942..00000000 --- a/win32utils/index.html +++ /dev/null @@ -1,52 +0,0 @@ - - - - - -
-