]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
2208. [port] win32: make sure both build methods produce the
authorMark Andrews <marka@isc.org>
Mon, 6 Aug 2007 04:30:52 +0000 (04:30 +0000)
committerMark Andrews <marka@isc.org>
Mon, 6 Aug 2007 04:30:52 +0000 (04:30 +0000)
                        same output. [RT #17058]

CHANGES
win32utils/BuildAll.bat
win32utils/BuildOpenSSL.bat [new file with mode: 0644]
win32utils/BuildSetup.bat
win32utils/updateopenssl.pl

diff --git a/CHANGES b/CHANGES
index af019b03f3f6ed4f37f6638aca6db6b0787d4392..b46b6cdf4315bd6b2d5012f07fa3dac9e1687695 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,9 @@
 
        --- 9.2.9b1 released ---
 
+2208.  [port]          win32: make sure both build methods produce the
+                       same output. [RT #17058]
+
 2205.  [bug]           libbind: change #2119 broke thread support. [RT #16982]
 
 2203.  [security]      Query id generation was cryptographically weak.
index 077d4013928d51dea2853627ca0a88830255e73a..68bcb30d39ba11a3c364da6f210d3018a20d2dda 100644 (file)
@@ -30,9 +30,6 @@ 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
 
@@ -75,32 +72,27 @@ 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
@@ -108,7 +100,6 @@ nmake /nologo -f keygen.mak CFG="keygen - Win32 Release"  NO_EXTERNAL_DEPS="1"
 nmake /nologo -f makekeyset.mak CFG="makekeyset - Win32 Release"  NO_EXTERNAL_DEPS="1"
 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"
-copy ..\*.html ..\..\..\Build\Release
 cd ..\..
 
 rem This is the BIND 9 Installer
diff --git a/win32utils/BuildOpenSSL.bat b/win32utils/BuildOpenSSL.bat
new file mode 100644 (file)
index 0000000..8231460
--- /dev/null
@@ -0,0 +1,26 @@
+echo off
+rem
+rem Copyright (C) 2007  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 BuildOpenSSL.bat
+rem This script copys the OpenSSL dlls into place.
+rem This script may be modified by updateopenssl.pl.
+
+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
index ac8646790b29dec86e6a696a284c9bec6e278125..921c19a4c3fbadf68af998ad3e00ffc0bc2728cd 100644 (file)
@@ -19,6 +19,9 @@ 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 Get and update for the latest build of the openssl library
+perl updateopenssl.pl
+
 rem Set up the configuration file
 cd ..
 copy config.h.win32 config.h
@@ -31,10 +34,6 @@ 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-x or libdns
-echo will not build. 
-
 rem Make sure that the Build directories are there.
 
 if NOT Exist ..\Build mkdir ..\Build
@@ -52,10 +51,21 @@ copy ..\doc\arm\Bv9ARM.pdf ..\Build\Release
 copy ..\CHANGES ..\Build\Release
 copy ..\FAQ ..\Build\Release
 
-echo Copying the OpenSSL DLL.
+echo Copying the standalone manual pages.
+
+copy ..\bin\named\named.html ..\Build\Release
+copy ..\bin\rndc\*.html ..\Build\Release
+copy ..\bin\dig\*.html ..\Build\Release
+copy ..\bin\nsupdate\*.html ..\Build\Release
+copy ..\bin\check\*.html ..\Build\Release
+copy ..\bin\dnssec\*.html ..\Build\Release
 
-copy ..\..\openssl-0.9.8d\out32dll\libeay32.dll ..\Build\Release\
-copy ..\..\openssl-0.9.8d\out32dll\libeay32.dll ..\Build\Debug
+echo Copying the migration notes.
+
+copy ..\doc\misc\migration ..\Build\Release
+copy ..\doc\misc\migration-4to9 ..\Build\Release
+call BuildOpenSSL.bat
 
 rem
 rem set vcredist here so that it is correctly expanded in the if body 
index cdfd0117cbca21b80b985179c346c9410479996a..8667daff9f11d2273f1c7e1c4be2423d3a7cd2ad 100644 (file)
@@ -14,7 +14,7 @@
 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 # PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: updateopenssl.pl,v 1.3.8.3 2006/10/11 03:38:25 marka Exp $
+# $Id: updateopenssl.pl,v 1.3.8.4 2007/08/06 04:30:52 marka Exp $
 
 # updateopenssl.pl
 # This script locates the latest version of OpenSSL in the grandparent
@@ -25,7 +25,7 @@ $path = "..\\..\\";
 
 # List of files that need to be updated with the actual version of the
 # openssl directory
-@filelist = ("BuildSetup.bat",
+@filelist = ("BuildOpenSSL.bat",
              "../lib/dns/win32/libdns.mak",
              "../lib/dns/win32/libdns.dsp");