From ea648e70a989cca190cd7403fe892fd2dcc290b4 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 5 May 2024 20:37:14 +0200 Subject: Adding upstream version 1:9.11.5.P4+dfsg. Signed-off-by: Daniel Baumann --- win32utils/legacy/BINDBuild.dsw.in | 1522 +++++++++++++++++++++++++++++++++++ win32utils/legacy/BuildAll.bat.in | 248 ++++++ win32utils/legacy/BuildPost.bat.in | 52 ++ win32utils/legacy/BuildSetup.bat.in | 185 +++++ win32utils/legacy/makedefs.pl | 165 ++++ win32utils/legacy/win32-build.txt | 103 +++ 6 files changed, 2275 insertions(+) create mode 100644 win32utils/legacy/BINDBuild.dsw.in create mode 100644 win32utils/legacy/BuildAll.bat.in create mode 100644 win32utils/legacy/BuildPost.bat.in create mode 100644 win32utils/legacy/BuildSetup.bat.in create mode 100644 win32utils/legacy/makedefs.pl create mode 100644 win32utils/legacy/win32-build.txt (limited to 'win32utils/legacy') diff --git a/win32utils/legacy/BINDBuild.dsw.in b/win32utils/legacy/BINDBuild.dsw.in new file mode 100644 index 0000000..0a302c4 --- /dev/null +++ b/win32utils/legacy/BINDBuild.dsw.in @@ -0,0 +1,1522 @@ +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: "libisc"="..\..\lib\isc\win32\libisc.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +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: "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 + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency +}}} + +############################################################################### + +Project: "libbind9"="..\..\lib\bind9\win32\libbind9.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency + Begin Project Dependency + Project_Dep_Name libisccc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libisccfg + End Project Dependency +}}} + +############################################################################### + +Project: "liblwres"="..\..\lib\lwres\win32\liblwres.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "libirs"="..\..\lib\irs\win32\libirs.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency + Begin Project Dependency + Project_Dep_Name libisccfg + End Project Dependency +}}} + +############################################################################### + +Project: "bindevt"="..\..\lib\win32\bindevt\bindevt.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### +@IF TESTS + +Project: "libtests"="..\..\lib\tests\win32\libtests.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency +}}} + +@END TESTS +############################################################################### +@IF SAMPLES + +Project: "resolve"="..\..\lib\samples\win32\resolve.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency + Begin Project Dependency + Project_Dep_Name libisccfg + End Project Dependency + Begin Project Dependency + Project_Dep_Name libirs + End Project Dependency +}}} + +############################################################################### + +Project: "async"="..\..\lib\samples\win32\async.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency + Begin Project Dependency + Project_Dep_Name libisccfg + End Project Dependency +}}} + +############################################################################### + +Project: "gai"="..\..\lib\samples\win32\gai.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency + Begin Project Dependency + Project_Dep_Name libisccfg + End Project Dependency + Begin Project Dependency + Project_Dep_Name libirs + End Project Dependency +}}} + +############################################################################### + +Project: "update"="..\..\lib\samples\win32\update.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency + Begin Project Dependency + Project_Dep_Name libisccfg + End Project Dependency +}}} + +############################################################################### + +Project: "request"="..\..\lib\samples\win32\request.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency + Begin Project Dependency + Project_Dep_Name libisccfg + End Project Dependency +}}} + +############################################################################### + +Project: "nsprobe"="..\..\lib\samples\win32\nsprobe.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency + Begin Project Dependency + Project_Dep_Name libisccfg + End Project Dependency +}}} + +@END SAMPLES +############################################################################### + +Project: "named"="..\..\bin\named\win32\named.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + 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 liblwres + End Project Dependency +}}} + +############################################################################### + +Project: "rndcutil"="..\..\bin\rndc\win32\rndcutil.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +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 libdns + 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: "delv"="..\..\bin\delv\win32\delv.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency + Begin Project Dependency + Project_Dep_Name libisccfg + End Project Dependency + Begin Project Dependency + Project_Dep_Name libirs + End Project Dependency +}}} + +############################################################################### + +Project: "dighost"="..\..\bin\dig\win32\dighost.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 libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + 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 liblwres + End Project Dependency + Begin Project Dependency + Project_Dep_Name dighost + End Project Dependency +}}} + +############################################################################### + +Project: "host"="..\..\bin\dig\win32\host.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + 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 liblwres + End Project Dependency + Begin Project Dependency + Project_Dep_Name dighost + End Project Dependency +}}} + +############################################################################### + +Project: "nslookup"="..\..\bin\dig\win32\nslookup.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + 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 liblwres + End Project Dependency + Begin Project Dependency + Project_Dep_Name dighost + End Project Dependency +}}} + +############################################################################### + +Project: "dnssectool"="..\..\bin\dnssec\win32\dnssectool.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "keygen"="..\..\bin\dnssec\win32\keygen.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency + Begin Project Dependency + Project_Dep_Name dnssectool + End Project Dependency +}}} + +############################################################################### + +Project: "signzone"="..\..\bin\dnssec\win32\signzone.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency + Begin Project Dependency + Project_Dep_Name dnssectool + End Project Dependency +}}} + +############################################################################### + +Project: "importkey"="..\..\bin\dnssec\win32\importkey.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency + Begin Project Dependency + Project_Dep_Name dnssectool + End Project Dependency +}}} + +############################################################################### + +Project: "keyfromlabel"="..\..\bin\dnssec\win32\keyfromlabel.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency + Begin Project Dependency + Project_Dep_Name dnssectool + End Project Dependency +}}} + +############################################################################### + +Project: "dsfromkey"="..\..\bin\dnssec\win32\dsfromkey.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency + Begin Project Dependency + Project_Dep_Name dnssectool + End Project Dependency +}}} + +############################################################################### + +Project: "revoke"="..\..\bin\dnssec\win32\revoke.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency + Begin Project Dependency + Project_Dep_Name dnssectool + End Project Dependency +}}} + +############################################################################### + +Project: "settime"="..\..\bin\dnssec\win32\settime.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency + Begin Project Dependency + Project_Dep_Name dnssectool + End Project Dependency +}}} + +############################################################################### + +Project: "verify"="..\..\bin\dnssec\win32\verify.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency + Begin Project Dependency + Project_Dep_Name dnssectool + End Project Dependency +}}} + +############################################################################### + +Project: "arpaname"="..\..\bin\tools\win32\arpaname.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency +}}} + +############################################################################### + +Project: "journalprint"="..\..\bin\tools\win32\journalprint.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency +}}} + +############################################################################### + +Project: "mdig"="..\..\bin\tools\win32\mdig.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency + Begin Project Dependency + Project_Dep_Name libbind9 + End Project Dependency +}}} + +############################################################################### + +Project: "nsec3hash"="..\..\bin\tools\win32\nsec3hash.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency +}}} + +############################################################################### + +Project: "rrchecker"="..\..\bin\tools\win32\rrchecker.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency +}}} + +############################################################################### + +Project: "genrandom"="..\..\bin\tools\win32\genrandom.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency +}}} + +############################################################################### + +Project: "ischmacfixup"="..\..\bin\tools\win32\ischmacfixup.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency +}}} + +############################################################################### + +Project: "nsupdate"="..\..\bin\nsupdate\win32\nsupdate.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + 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 liblwres + End Project Dependency +}}} + +############################################################################### + +Project: "checktool"="..\..\bin\check\win32\checktool.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "checkconf"="..\..\bin\check\win32\checkconf.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + 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 checktool + End Project Dependency +}}} + +############################################################################### + +Project: "checkzone"="..\..\bin\check\win32\checkzone.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + 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 checktool + End Project Dependency +}}} + +############################################################################### + +Project: "confgentool"="..\..\bin\confgen\win32\confgentool.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "rndcconfgen"="..\..\bin\confgen\win32\rndcconfgen.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + 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 confgentool + End Project Dependency +}}} + +############################################################################### + +Project: "ddnsconfgen"="..\..\bin\confgen\win32\ddnsconfgen.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency + Begin Project Dependency + Project_Dep_Name confgentool + End Project Dependency +}}} + +############################################################################### +@IF PKCS11 + +Project: "pk11keygen"="..\..\bin\pkcs11\win32\pk11keygen.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency +}}} + +############################################################################### + +Project: "pk11list"="..\..\bin\pkcs11\win32\pk11list.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency +}}} + +############################################################################### + +Project: "pk11destroy"="..\..\bin\pkcs11\win32\pk11destroy.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency +}}} + +############################################################################### + +Project: "pk11tokens"="..\..\bin\pkcs11\win32\pk11tokens.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency +}}} + +@END PKCS11 +############################################################################### +@IF TESTS +@IF ATOMIC +Project: "t_atomic"="..\..\bin\tests\atomic\win32\t_atomic.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency + Begin Project Dependency + Project_Dep_Name libtests + End Project Dependency +}}} + +@END ATOMIC +############################################################################### + +Project: "t_db"="..\..\bin\tests\db\win32\t_db.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency + Begin Project Dependency + Project_Dep_Name libisccfg + End Project Dependency + Begin Project Dependency + Project_Dep_Name libtests + End Project Dependency +}}} + +############################################################################### +Project: "t_dst"="..\..\bin\tests\dst\win32\t_dst.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency + Begin Project Dependency + Project_Dep_Name libtests + End Project Dependency +}}} + +############################################################################### +Project: "t_master"="..\..\bin\tests\master\win32\t_master.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency + Begin Project Dependency + Project_Dep_Name libtests + End Project Dependency +}}} + +############################################################################### +Project: "t_mem"="..\..\bin\tests\mem\win32\t_mem.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libtests + End Project Dependency +}}} + +############################################################################### +Project: "t_hashes"="..\..\bin\tests\hashes\win32\t_hashes.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libtests + End Project Dependency +}}} + +############################################################################### +Project: "t_names"="..\..\bin\tests\names\win32\t_names.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency + Begin Project Dependency + Project_Dep_Name libtests + End Project Dependency +}}} + +############################################################################### +Project: "t_rbt"="..\..\bin\tests\rbt\win32\t_rbt.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency + Begin Project Dependency + Project_Dep_Name libtests + End Project Dependency +}}} + +############################################################################### +Project: "t_resolver"="..\..\bin\tests\resolver\win32\t_resolver.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency + Begin Project Dependency + Project_Dep_Name libtests + End Project Dependency +}}} + +############################################################################### +Project: "t_sockaddr"="..\..\bin\tests\sockaddr\win32\t_sockaddr.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libtests + End Project Dependency +}}} + +############################################################################### +Project: "t_tasks"="..\..\bin\tests\tasks\win32\t_tasks.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libtests + End Project Dependency +}}} + +############################################################################### +Project: "t_timers"="..\..\bin\tests\timers\win32\t_timers.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libtests + End Project Dependency +}}} + +@END TESTS +############################################################################### +@IF XTESTS + +Project: "backtrace_test"="..\..\bin\tests\win32\backtrace_test.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency +}}} + +############################################################################### + +Project: "inter_test"="..\..\bin\tests\win32\inter_test.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency +}}} + +############################################################################### + +Project: "rwlock_test"="..\..\bin\tests\win32\rwlock_test.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency +}}} + +############################################################################### + +Project: "shutdown_test"="..\..\bin\tests\win32\shutdown_test.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency +}}} + +############################################################################### + +Project: "sock_test"="..\..\bin\tests\win32\sock_test.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency +}}} + +############################################################################### + +Project: "task_test"="..\..\bin\tests\win32\task_test.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency +}}} + +############################################################################### + +Project: "timer_test"="..\..\bin\tests\win32\timer_test.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency +}}} + +@END XTESTS +############################################################################### +@IF STESTS + +Project: "makejournal"="..\..\bin\tests\win32\makejournal.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency +}}} + +############################################################################### + +Project: "gencheck"="..\..\bin\tests\system\win32\gencheck.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency +}}} + +############################################################################### + +Project: "lwtest"="..\..\bin\tests\system\win32\lwtest.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name liblwres + End Project Dependency +}}} + +############################################################################### + +Project: "bigkey"="..\..\bin\tests\system\win32\bigkey.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency +}}} + +############################################################################### + +Project: "pipequeries"="..\..\bin\tests\system\win32\pipequeries.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency +}}} + +############################################################################### + +Project: "keycreate"="..\..\bin\tests\system\win32\keycreate.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency +}}} + +############################################################################### + +Project: "keydelete"="..\..\bin\tests\system\win32\keydelete.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency + Begin Project Dependency + Project_Dep_Name libdns + End Project Dependency +}}} + +############################################################################### + +Project: "feature-test"="..\..\bin\tests\system\win32\feature-test.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libisc + End Project Dependency +}}} + +@END STESTS + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/win32utils/legacy/BuildAll.bat.in b/win32utils/legacy/BuildAll.bat.in new file mode 100644 index 0000000..0bf263b --- /dev/null +++ b/win32utils/legacy/BuildAll.bat.in @@ -0,0 +1,248 @@ +echo off +rem +rem Copyright (C) 2001-2002,2004,2016 Internet Systems Consortium, Inc. ("ISC") +rem +rem This Source Code Form is subject to the terms of the Mozilla Public +rem License, v. 2.0. If a copy of the MPL was not distributed with this +rem file, You can obtain one at http://mozilla.org/MPL/2.0/. + +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 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 - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +cd ..\.. + +cd dns\win32 +nmake /nologo -f libdns.mak CFG="libdns - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +cd ..\.. + +cd isccfg\win32 +nmake /nologo -f libisccfg.mak CFG="libisccfg - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +cd ..\.. + +cd isccc\win32 +nmake /nologo -f libisccc.mak CFG="libisccc - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +cd ..\.. + +cd bind9\win32 +nmake /nologo -f libbind9.mak CFG="libbind9 - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +cd ..\.. + +cd lwres\win32 +nmake /nologo -f liblwres.mak CFG="liblwres - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +cd ..\.. + +cd irs\win32 +nmake /nologo -f libirs.mak CFG="libirs - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +cd ..\.. + +@IF TESTS +cd tests\win32 +nmake /nologo -f libtests.mak CFG="libtests - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +cd ..\.. +@END TESTS + +@IF SAMPLES +cd samples\win32 +nmake /nologo -f resolve.mak CFG="resolve - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f async.mak CFG="async - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f gai.mak CFG="gai - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f update.mak CFG="update - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f request.mak CFG="request - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f nsprobe.mak CFG="nsprobe - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +cd ..\.. +@END SAMPLES + +rem This is the DLL required for the event Viewer + +cd win32\bindevt +nmake /nologo -f bindevt.mak CFG="bindevt - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +cd ..\.. + +cd .. + +echo Now build the apps + +cd bin + +cd named\win32 +nmake /nologo -f named.mak CFG="named - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" + +cd ..\.. + +cd rndc\win32 +nmake /nologo -f rndc.mak CFG="rndc - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" + +cd ..\.. + +cd confgen\win32 +nmake /nologo -f rndcconfgen.mak CFG="rndcconfgen - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f ddnsconfgen.mak CFG="ddnsconfgen - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" + +cd ..\.. + +cd dig\win32 +nmake /nologo -f dig.mak CFG="dig - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +nmake /nologo /nologo -f host.mak CFG="host - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f nslookup.mak CFG="nslookup - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +cd ..\.. + +cd delv\win32 +nmake /nologo -f delv.mak CFG="delv - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +cd ..\.. + +cd nsupdate\win32 +nmake /nologo -f nsupdate.mak CFG="nsupdate - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +cd ..\.. + +cd check\win32 +nmake /nologo -f checkconf.mak CFG="checkconf - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f checkzone.mak CFG="checkzone - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +cd ..\.. + +cd dnssec\win32 +nmake /nologo -f keygen.mak CFG="keygen - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f signzone.mak CFG="signzone - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f dsfromkey.mak CFG="dsfromkey - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f keyfromlabel.mak CFG="keyfromlabel - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f revoke.mak CFG="revoke - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f settime.mak CFG="settime - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f verify.mak CFG="verify - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f importkey.mak CFG="importkey - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +cd ..\.. + +@IF PKCS11 +cd pkcs11\win32 +nmake /nologo -f pk11keygen.mak CFG="pk11keygen - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f pk11list.mak CFG="pk11list - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f pk11destroy.mak CFG="pk11destroy - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f pk11tokens.mak CFG="pk11tokens - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +cd ..\.. +@END PKCS11 + +cd tools\win32 +nmake /nologo -f arpaname.mak CFG="arpaname - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f genrandom.mak CFG="genrandom - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f nsec3hash.mak CFG="nsec3hash - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f journalprint.mak CFG="journalprint - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f ischmacfixup.mak CFG="ischmacfixup - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f rrchecker.mak CFG="rrchecker - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f mdig.mak CFG="mdig - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +cd ..\.. + +@IF TESTS +cd tests +@IF ATOMIC +cd atomic\win32 +nmake /nologo -f t_atomic.mak CFG="t_atomic - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +cd ..\.. +@END ATOMIC + +cd db\win32 +nmake /nologo -f t_db.mak CFG="t_db - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +cd ..\.. + +cd dst\win32 +nmake /nologo -f t_dst.mak CFG="t_dst - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +cd ..\.. + +cd master\win32 +nmake /nologo -f t_master.mak CFG="t_master - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +cd ..\.. + +cd mem\win32 +nmake /nologo -f t_mem.mak CFG="t_mem - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +cd ..\.. + +cd hashes\win32 +nmake /nologo -f t_hashes.mak CFG="t_hashes - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +cd ..\.. + +cd names\win32 +nmake /nologo -f t_names.mak CFG="t_names - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +cd ..\.. + +cd rbt\win32 +nmake /nologo -f t_rbt.mak CFG="t_rbt - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +cd ..\.. + +cd resolver\win32 +nmake /nologo -f t_resolver.mak CFG="t_resolver - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +cd ..\.. + +cd sockaddr\win32 +nmake /nologo -f t_sockaddr.mak CFG="t_sockaddr - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +cd ..\.. + +cd tasks\win32 +nmake /nologo -f t_tasks.mak CFG="t_tasks - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +cd ..\.. + +cd timers\win32 +nmake /nologo -f t_timers.mak CFG="t_timers - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +cd ..\.. + +cd .. +@END TESTS + +@IF XTESTS +cd tests\win32 +nmake /nologo -f backtrace_test.mak CFG="backtrace_test - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f inter_test.mak CFG="inter_test - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f rwlock_test.mak CFG="rwlock_test - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f shutdown_test.mak CFG="shutdown_test - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f sock_test.mak CFG="sock_test - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f task_test.mak CFG="task_test - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f timer_test.mak CFG="timer_test - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +cd ..\.. +@END XTESTS + +@IF STESTS +cd tests\win32 +nmake /nologo -f makejournal.mak CFG="makejournal - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +cd ..\system\win32 +nmake /nologo -f gencheck.mak CFG="gencheck - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f lwtest.mak CFG="lwtest - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f bigkey.mak CFG="bigkey - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f pipequeries.mak CFG="pipequeries - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f keycreate.mak CFG="keycreate - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f keydelete.mak CFG="keydelete - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +nmake /nologo -f feature-test.mak CFG="feature-test - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +cd ..\..\.. +@END STESTS + +rem This is the BIND 9 Installer + +cd win32\BINDInstall +nmake /nologo -f BINDInstall.mak CFG="BINDInstall - @PLATFORM@ Release" NO_EXTERNAL_DEPS="1" +cd ..\.. + +cd .. + +cd win32utils\legacy + +call BuildPost.bat + +echo Done. + +rem exit here. diff --git a/win32utils/legacy/BuildPost.bat.in b/win32utils/legacy/BuildPost.bat.in new file mode 100644 index 0000000..a775f9f --- /dev/null +++ b/win32utils/legacy/BuildPost.bat.in @@ -0,0 +1,52 @@ +echo off +rem +rem Copyright (C) 2005,2013,2014 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 +if exist ..\..\Build\Debug\named-checkzone.exe copy /Y ..\..\Build\Debug\named-checkzone.exe ..\..\Build\Debug\named-compilezone.exe +if exist ..\..\Build\Debug\named-checkzone.ilk copy /Y ..\..\Build\Debug\named-checkzone.ilk ..\..\Build\Debug\named-compilezone.ilk + +copy /Y ..\..\Build\Release\ddns-confgen.exe ..\..\Build\Release\tsig-keygen.exe +if exist ..\..\Build\Debug\ddns-confgen.exe copy /Y ..\..\Build\Debug\ddns-confgen.exe ..\..\Build\Debug\tsig-keygen.exe +if exist ..\..\Build\Debug\ddns-confgen.ilk copy /Y ..\..\Build\Debug\ddns-confgen.ilk ..\..\Build\Debug\tsig-keygen.ilk + +@IF PYTHON +echo Copying python scripts + +copy /Y ..\..\bin\python\dnssec-checkds.py ..\..\Build\Release\dnssec-checkds.py +copy /Y ..\..\bin\python\dnssec-checkds.py ..\..\Build\Debug\dnssec-checkds.py +copy /Y ..\..\bin\python\dnssec-coverage.py ..\..\Build\Release\dnssec-coverage.py +copy /Y ..\..\bin\python\dnssec-coverage.py ..\..\Build\Debug\dnssec-coverage.py +copy /Y ..\..\bin\python\dnssec-keymgr.py ..\..\Build\Release\dnssec-keymgr.py +copy /Y ..\..\bin\python\dnssec-keymgr.py ..\..\Build\Debug\dnssec-keymgr.py + +echo Build python parser + +cd ..\..\bin\python\isc +@PYTHON@ policy.py parse \dev\nul +set PYTHONPATH=. +@PYTHON@ -m parsetab +cd ..\..\..\win32utils\legacy + +@END PYTHON + +echo Done. + +rem exit here. diff --git a/win32utils/legacy/BuildSetup.bat.in b/win32utils/legacy/BuildSetup.bat.in new file mode 100644 index 0000000..7b43aa5 --- /dev/null +++ b/win32utils/legacy/BuildSetup.bat.in @@ -0,0 +1,185 @@ +echo off +rem +rem Copyright (C) 2001-2002,2004,2005,2016 Internet Systems Consortium, Inc. ("ISC") +rem +rem This Source Code Form is subject to the terms of the Mozilla Public +rem License, v. 2.0. If a copy of the MPL was not distributed with this +rem file, You can obtain one at http://mozilla.org/MPL/2.0/. + +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. + +echo Generate header files for lib/dns + +cd ..\..\lib\dns +cd win32 +nmake /nologo /f gen.mak CFG="gen - @PLATFORM@ 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\legacy + +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 ..\..\COPYRIGHT ..\..\Build\Debug +copy ..\..\README ..\..\Build\Release +copy ..\..\HISTORY ..\..\Build\Release +copy ..\readme1st.txt ..\..\Build\Release +copy ..\index.html ..\..\Build\Release +copy ..\..\doc\arm\*.html ..\..\Build\Release +copy ..\..\doc\arm\notes.pdf ..\..\Build\Release +copy ..\..\doc\arm\Bv9ARM.pdf ..\..\Build\Release +copy ..\..\CHANGES ..\..\Build\Release +if Exist ..\..\CHANGES.SE copy ..\..\CHANGES.SE ..\..\Build\Release +copy ..\..\FAQ ..\..\Build\Release + +echo Copying the standalone manual pages. + +copy ..\..\bin\named\named.html ..\..\Build\Release +copy ..\..\bin\named\named.conf.html ..\..\Build\Release +copy ..\..\bin\named\lwresd.html ..\..\Build\Release +copy ..\..\bin\rndc\*.html ..\..\Build\Release +copy ..\..\bin\confgen\*.html ..\..\Build\Release +copy ..\..\bin\dig\*.html ..\..\Build\Release +copy ..\..\bin\delv\*.html ..\..\Build\Release +copy ..\..\bin\nsupdate\*.html ..\..\Build\Release +copy ..\..\bin\check\*.html ..\..\Build\Release +copy ..\..\bin\dnssec\dnssec-keygen.html ..\..\Build\Release +copy ..\..\bin\dnssec\dnssec-signzone.html ..\..\Build\Release +copy ..\..\bin\dnssec\dnssec-dsfromkey.html ..\..\Build\Release +copy ..\..\bin\dnssec\dnssec-keyfromlabel.html ..\..\Build\Release +copy ..\..\bin\dnssec\dnssec-settime.html ..\..\Build\Release +copy ..\..\bin\dnssec\dnssec-revoke.html ..\..\Build\Release +copy ..\..\bin\dnssec\dnssec-verify.html ..\..\Build\Release +copy ..\..\bin\dnssec\dnssec-importkey.html ..\..\Build\Release +@IF PYTHON +copy ..\..\bin\python\dnssec-checkds.html ..\..\Build\Release +copy ..\..\bin\python\dnssec-coverage.html ..\..\Build\Release +copy ..\..\bin\python\dnssec-keymgr.html ..\..\Build\Release +@END PYTHON +@IF PKCS11 +copy ..\..\bin\pkcs11\pkcs11-keygen.html ..\..\Build\Release +copy ..\..\bin\pkcs11\pkcs11-list.html ..\..\Build\Release +copy ..\..\bin\pkcs11\pkcs11-destroy.html ..\..\Build\Release +copy ..\..\bin\pkcs11\pkcs11-tokens.html ..\..\Build\Release +@END PKCS11 +copy ..\..\bin\tools\arpaname.html ..\..\Build\Release +copy ..\..\bin\tools\genrandom.html ..\..\Build\Release +copy ..\..\bin\tools\isc-hmac-fixup.html ..\..\Build\Release +copy ..\..\bin\tools\mdig.html ..\..\Build\Release +copy ..\..\bin\tools\named-journalprint.html ..\..\Build\Release +copy ..\..\bin\tools\named-rrchecker.html ..\..\Build\Release +copy ..\..\bin\tools\nsec3hash.html ..\..\Build\Release + +echo Copying the migration notes. + +copy ..\..\doc\misc\migration ..\..\Build\Release +copy ..\..\doc\misc\migration-4to9 ..\..\Build\Release + +@IF OPENSSL +echo Copying the OpenSSL DLL and LICENSE. + +copy @OPENSSL_DLL@ ..\..\Build\Release\ +copy @OPENSSL_DLL@ ..\..\Build\Debug\ +copy @OPENSSL_PATH@\LICENSE ..\..\Build\Release\OpenSSL-LICENSE +copy @OPENSSL_PATH@\LICENSE ..\..\Build\Debug\OpenSSL-LICENSE +@END OPENSSL + +@IF LIBXML2 +echo Copying the libxml DLL. + +copy @LIBXML2_DLL@ ..\..\Build\Release\ +copy @LIBXML2_DLL@ ..\..\Build\Debug\ +@END LIBXML2 + +@IF GSSAPI +echo Copying the GSSAPI and KRB5 DLLs. + +copy @GSSAPI_DLL@ ..\..\Build\Release\ +copy @GSSAPI_DLL@ ..\..\Build\Debug\ +copy @KRB5_DLL@ ..\..\Build\Release\ +copy @KRB5_DLL@ ..\..\Build\Debug\ +copy @COMERR_DLL@ ..\..\Build\Release\ +copy @COMERR_DLL@ ..\..\Build\Debug\ +copy @K5SPRT_DLL@ ..\..\Build\Release\ +copy @K5SPRT_DLL@ ..\..\Build\Debug\ +copy @WSHELP_DLL@ ..\..\Build\Release\ +copy @WSHELP_DLL@ ..\..\Build\Debug\ +@END GSSAPI + +@IF GEOIP +echo Copying the GeoIP DLL. + +copy @GEOIP_DLL@ ..\..\Build\Release\ +copy @GEOIP_DLL@ ..\..\Build\Debug\ +@END GEOIP + +@IF IDNKIT +echo Copying the IDN kit DLL. + +copy @IDN_DLL@ ..\..\Build\Release\ +copy @IDN_DLL@ ..\..\Build\Debug\ +copy @ICONV_DLL@ ..\..\Build\Release\ +copy @ICONV_DLL@ ..\..\Build\Debug\ +@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. + +rem +rem Use /Y so we always have the current version of the installer. +rem + +copy /Y @VCREDIST_PATH@ ..\..\Build\Release\ +copy /Y @VCREDIST_PATH@ ..\..\Build\Debug\ + +echo Copying install files (flags and file list). + +copy ..\InstallFlags ..\..\Build\Release\ +copy ..\InstallFlags ..\..\Build\Debug\ +copy ..\InstallFiles ..\..\Build\Release\ +copy ..\InstallFiles ..\..\Build\Debug\ + +@IF TESTS +cd ..\..\bin\tests\dst +copy "Kdh.+002+18602.key.in" "Kdh.+002+18602.key" +copy "Kdh.+002+18602.private.in" "Kdh.+002+18602.private" +copy "Kdh.+002+48957.key.in" "Kdh.+002+48957.key" +copy "Kdh.+002+48957.private.in" "Kdh.+002+48957.private" +copy "Ktest.+001+00002.key.in" "Ktest.+001+00002.key" +copy "Ktest.+001+54622.key.in" "Ktest.+001+54622.key" +copy "Ktest.+001+54622.private.in" "Ktest.+001+54622.private" +copy "Ktest.+003+23616.key.in" "Ktest.+003+23616.key" +copy "Ktest.+003+23616.private.in" "Ktest.+003+23616.private" +copy "Ktest.+003+49667.key.in" "Ktest.+003+49667.key" +copy dst_2_data.in dst_2_data +copy t2_data_1.in t2_data_1 +copy t2_data_2.in t2_data_2 +copy t2_dsasig.in t2_dsasig +copy t2_rsasig.in t2_rsasig +cd ..\..\..\win32utils\legacy +@END TESTS + +echo Running Message Compiler + +cd ..\..\lib\win32\bindevt +mc bindevt.mc +cd ..\..\..\win32utils\legacy + +rem Done diff --git a/win32utils/legacy/makedefs.pl b/win32utils/legacy/makedefs.pl new file mode 100644 index 0000000..0d7f54f --- /dev/null +++ b/win32utils/legacy/makedefs.pl @@ -0,0 +1,165 @@ +#!/usr/bin/perl +# +# Copyright (C) Internet Systems Consortium, Inc. ("ISC") +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# See the COPYRIGHT file distributed with this work for additional +# information regarding copyright ownership. + +# $Id$ + +# makedefs.pl +# This script goes through all of the lib header files and creates a .def file +# for each DLL for Win32. It recurses as necessary through the subdirectories +# +# This program should only be run if it is necessary to regenerate +# the .def files. Normally these files should be updated by hand, adding +# new functions to the end and removing obsolete ones. +# If you do regenerate them you will also need to modify them by hand to +# to pick up those routines not detected by this program (like openlog). +# +# Search String: ^(([_a-z0-9])*( ))*prefix_[_a-z0-9]+_[a-z0-9]+( )*\( +# List of directories + +@prefixlist = ("isc", "isccfg", "dns", "isccc", "bind9", "lwres", "irs"); +@iscdirlist = ("isc/include/isc","isc/win32/include/isc","isc/include/pk11", + "isc/include/pkcs11","isc/win32/include/pkcs11"); +@iscprefixlist = ("isc", "pk11", "pkcs"); + +@isccfgdirlist = ("isccfg/include/isccfg"); +@isccfgprefixlist = ("cfg"); + +@iscccdirlist = ("isccc/include/isccc"); +@iscccprefixlist = ("isccc"); + +@dnsdirlist = ("dns/include/dns","dns/include/dst"); +@dnsprefixlist = ("dns", "dst"); + +@lwresdirlist = ("lwres/include/lwres","lwres/win32/include/lwres"); +@lwresprefixlist = ("lwres"); + +@bind9dirlist = ("bind9/include/bind9"); +@bind9prefixlist = ("bind9"); + +@irsdirlist = ("irs/include/irs","irs/win32/include/irs"); +@irsprefixlist = ("irs"); + +# Run the changes for each directory in the directory list + +$ind = 0; +createoutfile($iscprefixlist[0]); +foreach $dir (@iscdirlist) { + createdeffile($dir, $iscprefixlist[$ind]); + $ind++; +} +close OUTDEFFILE; + +$ind = 0; +createoutfile($isccfgprefixlist[0]); +foreach $dir (@isccfgdirlist) { + createdeffile($dir, $isccfgprefixlist[$ind]); + $ind++; +} +close OUTDEFFILE; + +$ind = 0; +createoutfile($dnsprefixlist[0]); +foreach $dir (@dnsdirlist) { + createdeffile($dir, $dnsprefixlist[$ind]); + $ind++; +} +close OUTDEFFILE; + +$ind = 0; +createoutfile($iscccprefixlist[0]); +foreach $dir (@iscccdirlist) { + createdeffile($dir, $iscccprefixlist[$ind]); + $ind++; +} +close OUTDEFFILE; + +$ind = 0; +createoutfile($lwresprefixlist[0]); +foreach $dir (@lwresdirlist) { + createdeffile($dir, $lwresprefixlist[$ind]); + $ind++; +} +close OUTDEFFILE; + +$ind = 0; +createoutfile($bind9prefixlist[0]); +foreach $dir (@bind9dirlist) { + createdeffile($dir, $bind9prefixlist[$ind]); + $ind++; +} +close OUTDEFFILE; + +$ind = 0; +createoutfile($irsprefixlist[0]); +foreach $dir (@irsdirlist) { + createdeffile($dir, $irsprefixlist[$ind]); + $ind++; +} +close OUTDEFFILE; + +exit; + +# +# Subroutines +# +sub createdeffile { + $xdir = $_[0]; + + # + # Get the List of files in the directory to be processed. + # + #^(([_a-z0-9])*( ))*prefix_[_a-z]+_[a-z]+( )*\( + $prefix = $_[1]; + $pattern = "\^\(\(\[\_a\-z0\-9\]\)\*\( \)\)\*\(\\*\( \)\+\)\*$prefix"; + $pattern = "$pattern\_\[\_a\-z0\-9\]\+_\[a\-z0\-9\]\+\( \)\*\\\("; + + opendir(DIR,$xdir) || die "No Directory: $!"; + @files = grep(/\.h$/i, readdir(DIR)); + closedir(DIR); + + foreach $filename (sort @files) { + # + # Open the file and locate the pattern. + # + open (HFILE, "$xdir/$filename") || + die "Can't open file $filename : $!"; + + while () { + if(/$pattern/) { + $func = $&; + chop($func); + $space = rindex($func, " ") + 1; + if($space >= 0) { + # strip out return values + $func = substr($func, $space, 100); + } + print OUTDEFFILE "$func\n"; + } + } + # Set up the Patterns + close(HFILE); + } +} + +# This is the routine that applies the changes + +# output the result to the platform specific directory. +sub createoutfile { + $outfile = "lib$_[0].def"; + + open (OUTDEFFILE, ">$outfile") + || die "Can't open output file $outfile: $!"; + print OUTDEFFILE "LIBRARY lib$_[0]\n"; + print OUTDEFFILE "\n"; + print OUTDEFFILE "; Exported Functions\n"; + print OUTDEFFILE "EXPORTS\n"; + print OUTDEFFILE "\n"; +} diff --git a/win32utils/legacy/win32-build.txt b/win32utils/legacy/win32-build.txt new file mode 100644 index 0000000..dfbab8e --- /dev/null +++ b/win32utils/legacy/win32-build.txt @@ -0,0 +1,103 @@ +Copyright (C) Internet Systems Consortium, Inc. ("ISC") + +See COPYRIGHT in the source root or http://isc.org/copyright.html for terms. + + *LEGACY* BIND 9.10 for Win32 Source Build Instructions. 04-Feb-2014 + +Building BIND 9.10 on Windows using legacy compilers (up to Visual +Studio 2008) has the following prerequisites: + +1) Perl, 2) Visual C++ redistributable object, 3) OpenSSL, and +optionally 4) LibXML2, 5) LibGeoIP, and 6) Readline. +See ..\build.txt for more details on these prerequisites. + +If you want to build using Visual C++ 6.0, you'll need some extra +files that are to be found in the Platform SDK (which you will need +to install), namely: + +iphlpapi.h +iptypes.h +ipexport.h +iphlpapi.lib + +You'll also need an updated Iprtrmib.h - using the VC++6.0 one will +get you some compilation errors. You can just overwrite the old one if +you're not using it for any purposes, and maybe keep a backup of it. + +You can copy the header files under VC98\INCLUDE and the library file +under VC98\LIB. I think you can also put them in a separate directory +and add it to the include search list, but I don't know if that can be +made persistent. + +For building on VC++ 7.0 or more recent, no extra files are required. + +The instructions assume a Visual C++ 6.0 compiler with Visual Studio +and Visual Studio Service Pack 3 or later. It may build and work with +earlier versions but it has not been tested. The binaries may be built +and run on any of the following platforms: NT 4.0 Workstation (SP3 or +later), NT 4.0 Server (SP3 or later), Windows 2000 Professional (SP1 +or later), Windows 2000 Server or any kind (SP1 or later), Windows XP, +Windows 2003 Server, Windows Vista, Windows 2008 Server, Windows 7, +Windows 2008 R2 Server, Windows 8, Windows 2012 Server (untested), and +further (untested as not yet available). It will NOT build or run on +Windows 95, Windows 98, etc., or Windows RT platforms. + +BUILDING BIND + +From the command prompt cd to the win32utils\legacy directory under +the BIND9 root: + + cd bind-9.10.0\win32utils\legacy + +If you wish to use nmake from VC++ 6.0 or more recent, run +the BuildAll.bat file: + + BuildAll + +This will do the following: +1) Build the gen application in the lib/dns directory. +2) Run the gen application and build the required lib/dns header + files. +3) Create the Build/Release subdirectory under the root of the BIND + source tree which will hold the binaries being built. +4) Build the libraries, named, application tools like dig, rndc + dnssec tools, installer, checkconf and checkzones programs, + BIND 9 Installer. +5) Copies the release notes and the OpenSSL DLL to the BUILD/Release + directory. +6) Copies the BIND 9 ARM HTML files and the application HTML files + to the Build\Release area. + +If you wish to use the Visual Studio GUI for building, you can just +run the BuildSetup.bat file: + + BuildSetup + +This will create or find and copy into place several files which are +necessary for the build to proceed. It also locates and copies into place +the DLLs for OpenSSL and libxml2. + +Use BINDBuild.dsw (also located in the win32utils\legacy directory) to +open the workspace for all of the BIND9 libraries and applications. If +needed Visual Studio will update the workspace (aka solution) and +project files. Note it is known to give slightly incorrect files on VS +2010 or more recent, for instance BINDInstall is not compiled to use +DLLs. Finally select "Build->Batch Build", click "Select All", then +click "Build". + +After the build has completed, run the BuildPost.bat file: + + BuildPost + +...which does post-build processing. + +Installation is accomplished by running the BINDInstall program. All +DLL's are copied to the Program Files area and all applications +(including BINDInstall which may be necessary for uninstalling BIND 9) +to the bin directory. If BIND 8 has previously been installed on the +system it must be uninstalled first by running it's own BINDInstall +program. The BIND 9 installer does not yet do this. + +All bugs found, whether in the process of building the application or +running BIND or the tools should be reported to the bind9 bugs email +account at bind9-bugs@isc.org. -- cgit v1.2.3