summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2004-08-31 22:11:35 +0200
committerWilliam A. Rowe Jr <wrowe@apache.org>2004-08-31 22:11:35 +0200
commite8f3249f5dfa20fcc178f6853b3e0b8ba27bf555 (patch)
treec8bf3e2da1f198300df517e54e34a76752166de0
parentAdd missing English Revision comment. (diff)
downloadapache2-e8f3249f5dfa20fcc178f6853b3e0b8ba27bf555.tar.xz
apache2-e8f3249f5dfa20fcc178f6853b3e0b8ba27bf555.zip
Catch up for Win32 to authnz_ldap changes, and make win32's module
for util_ldap features named mod_ldap.so as on Unix. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104921 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--Apache.dsw72
-rw-r--r--Makefile.win18
-rw-r--r--modules/ldap/mod_ldap.dsp (renamed from modules/ldap/util_ldap.dsp)48
-rw-r--r--os/win32/BaseAddr.ref4
4 files changed, 86 insertions, 56 deletions
diff --git a/Apache.dsw b/Apache.dsw
index 715820954f..702b586b61 100644
--- a/Apache.dsw
+++ b/Apache.dsw
@@ -78,9 +78,6 @@ Package=<4>
Project_Dep_Name mod_auth_digest
End Project Dependency
Begin Project Dependency
- Project_Dep_Name mod_auth_ldap
- End Project Dependency
- Begin Project Dependency
Project_Dep_Name mod_authn_anon
End Project Dependency
Begin Project Dependency
@@ -93,6 +90,9 @@ Package=<4>
Project_Dep_Name mod_authn_file
End Project Dependency
Begin Project Dependency
+ Project_Dep_Name mod_authnz_ldap
+ End Project Dependency
+ Begin Project Dependency
Project_Dep_Name mod_authz_dbm
End Project Dependency
Begin Project Dependency
@@ -666,6 +666,30 @@ Package=<4>
###############################################################################
+Project: "mod_authnz_ldap"=.\modules\aaa\mod_authnz_ldap.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name libapr
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name libaprutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name libhttpd
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name mod_ldap
+ End Project Dependency
+}}}
+
+###############################################################################
+
Project: "mod_authn_anon"=.\modules\aaa\mod_authn_anon.dsp - Package Owner=<4>
Package=<5>
@@ -1350,6 +1374,27 @@ Package=<4>
###############################################################################
+Project: "mod_ldap"=.\modules\ldap\mod_ldap.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name libapr
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name libaprutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name libhttpd
+ End Project Dependency
+}}}
+
+###############################################################################
+
Project: "mod_log_config"=.\modules\loggers\mod_log_config.dsp - Package Owner=<4>
Package=<5>
@@ -1899,27 +1944,6 @@ Package=<4>
###############################################################################
-Project: "util_ldap"=.\modules\ldap\util_ldap.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
- Begin Project Dependency
- Project_Dep_Name libapr
- End Project Dependency
- Begin Project Dependency
- Project_Dep_Name libaprutil
- End Project Dependency
- Begin Project Dependency
- Project_Dep_Name libhttpd
- End Project Dependency
-}}}
-
-###############################################################################
-
Project: "wintty"=.\support\win32\wintty.dsp - Package Owner=<4>
Package=<5>
diff --git a/Makefile.win b/Makefile.win
index 72b60ed84f..58f0fd7dc6 100644
--- a/Makefile.win
+++ b/Makefile.win
@@ -98,8 +98,8 @@ _tryzlib:
_tryzlib:
@echo -----
@echo mod_deflate will not build unless zlib is installed in srclib\zlib.
- @echo zlib does not need to be built, we compile the sources directly.
- @echo Available from http://www.gzip.org/zlib/
+ @echo Version 1.2.1 and later available from http://www.gzip.org/zlib/
+ @echo built w/ nmake -f win32/Makefile.msc will satisfy this requirement.
!ENDIF
@@ -209,6 +209,10 @@ _build:
cd ..
$(MAKE) $(MAKEOPT) -f libhttpd.mak CFG="libhttpd - Win32 $(LONG)" RECURSE=0 $(CTARGET)
$(MAKE) $(MAKEOPT) -f Apache.mak CFG="Apache - Win32 $(LONG)" RECURSE=0 $(CTARGET)
+# build ldap prior to authnz_ldap
+ cd modules\ldap
+ $(MAKE) $(MAKEOPT) -f mod_ldap.mak CFG="mod_ldap - Win32 $(LONG)" RECURSE=0 $(CTARGET)
+ cd ..\..
cd modules\aaa
$(MAKE) $(MAKEOPT) -f mod_auth_basic.mak CFG="mod_auth_basic - Win32 $(LONG)" RECURSE=0 $(CTARGET)
$(MAKE) $(MAKEOPT) -f mod_auth_digest.mak CFG="mod_auth_digest - Win32 $(LONG)" RECURSE=0 $(CTARGET)
@@ -221,6 +225,7 @@ _build:
$(MAKE) $(MAKEOPT) -f mod_authz_groupfile.mak CFG="mod_authz_groupfile - Win32 $(LONG)" RECURSE=0 $(CTARGET)
$(MAKE) $(MAKEOPT) -f mod_authz_host.mak CFG="mod_authz_host - Win32 $(LONG)" RECURSE=0 $(CTARGET)
$(MAKE) $(MAKEOPT) -f mod_authz_user.mak CFG="mod_authz_user - Win32 $(LONG)" RECURSE=0 $(CTARGET)
+ $(MAKE) $(MAKEOPT) -f mod_authnz_ldap.mak CFG="mod_authnz_ldap - Win32 $(LONG)" RECURSE=0 $(CTARGET)
cd ..\..
cd modules\arch\win32
$(MAKE) $(MAKEOPT) -f mod_isapi.mak CFG="mod_isapi - Win32 $(LONG)" RECURSE=0 $(CTARGET)
@@ -239,8 +244,6 @@ _build:
$(MAKE) $(MAKEOPT) -f mod_charset_lite.mak CFG="mod_charset_lite - Win32 $(LONG)" RECURSE=0 $(CTARGET)
$(MAKE) $(MAKEOPT) -f mod_mem_cache.mak CFG="mod_mem_cache - Win32 $(LONG)" RECURSE=0 $(CTARGET)
$(MAKE) $(MAKEOPT) -f mod_disk_cache.mak CFG="mod_disk_cache - Win32 $(LONG)" RECURSE=0 $(CTARGET)
- $(MAKE) $(MAKEOPT) -f util_ldap.mak CFG="util_ldap - Win32 $(LONG)" RECURSE=0 $(CTARGET)
- $(MAKE) $(MAKEOPT) -f mod_auth_ldap.mak CFG="mod_auth_ldap - Win32 $(LONG)" RECURSE=0 $(CTARGET)
cd ..\..
cd modules\filters
!IF EXIST("srclib\zlib")
@@ -381,6 +384,7 @@ _copybin:
copy modules\aaa\$(LONG)\mod_authz_groupfile.$(src_so) "$(inst_so)" <.y
copy modules\aaa\$(LONG)\mod_authz_host.$(src_so) "$(inst_so)" <.y
copy modules\aaa\$(LONG)\mod_authz_user.$(src_so) "$(inst_so)" <.y
+ copy modules\aaa\$(LONG)\mod_authnz_ldap.$(src_so) "$(inst_so)" <.y
copy modules\arch\win32\$(LONG)\mod_isapi.$(src_so) "$(inst_so)" <.y
copy modules\cache\$(LONG)\mod_file_cache.$(src_so) "$(inst_so)" <.y
copy modules\dav\fs\$(LONG)\mod_dav_fs.$(src_so) "$(inst_so)" <.y
@@ -389,10 +393,11 @@ _copybin:
copy modules\experimental\$(LONG)\mod_charset_lite.$(src_so) "$(inst_so)" <.y
copy modules\experimental\$(LONG)\mod_mem_cache.$(src_so) "$(inst_so)" <.y
copy modules\experimental\$(LONG)\mod_disk_cache.$(src_so) "$(inst_so)" <.y
- copy modules\experimental\$(LONG)\util_ldap.$(src_so) "$(inst_so)" <.y
- copy modules\experimental\$(LONG)\mod_auth_ldap.$(src_so) "$(inst_so)" <.y
!IF EXIST("srclib\zlib")
copy modules\filters\$(LONG)\mod_deflate.$(src_so) "$(inst_so)" <.y
+!IF EXIST("srclib\zlib\zlib1.$(src_dll)")
+ copy srclib\zlib\zlib1.$(src_dll) "$(inst_dll)" <.y
+!ENDIF
!ENDIF
copy modules\filters\$(LONG)\mod_ext_filter.$(src_so) "$(inst_so)" <.y
copy modules\filters\$(LONG)\mod_include.$(src_so) "$(inst_so)" <.y
@@ -402,6 +407,7 @@ _copybin:
copy modules\generators\$(LONG)\mod_info.$(src_so) "$(inst_so)" <.y
copy modules\generators\$(LONG)\mod_status.$(src_so) "$(inst_so)" <.y
copy modules\http\$(LONG)\mod_mime.$(src_so) "$(inst_so)" <.y
+ copy modules\ldap\$(LONG)\mod_ldap.$(src_so) "$(inst_so)" <.y
copy modules\loggers\$(LONG)\mod_log_config.$(src_so) "$(inst_so)" <.y
copy modules\loggers\$(LONG)\mod_log_forensic.$(src_so) "$(inst_so)" <.y
copy modules\loggers\$(LONG)\mod_logio.$(src_so) "$(inst_so)" <.y
diff --git a/modules/ldap/util_ldap.dsp b/modules/ldap/mod_ldap.dsp
index 318ce5476c..7d5acbdd6f 100644
--- a/modules/ldap/util_ldap.dsp
+++ b/modules/ldap/mod_ldap.dsp
@@ -1,24 +1,24 @@
-# Microsoft Developer Studio Project File - Name="util_ldap" - Package Owner=<4>
+# Microsoft Developer Studio Project File - Name="mod_ldap" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-CFG=util_ldap - Win32 Release
+CFG=mod_ldap - Win32 Release
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
-!MESSAGE NMAKE /f "util_ldap.mak".
+!MESSAGE NMAKE /f "mod_ldap.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
-!MESSAGE NMAKE /f "util_ldap.mak" CFG="util_ldap - Win32 Release"
+!MESSAGE NMAKE /f "mod_ldap.mak" CFG="mod_ldap - Win32 Release"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
-!MESSAGE "util_ldap - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "util_ldap - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
+!MESSAGE "mod_ldap - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
+!MESSAGE "mod_ldap - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE
# Begin Project
@@ -29,7 +29,7 @@ CPP=cl.exe
MTL=midl.exe
RSC=rc.exe
-!IF "$(CFG)" == "util_ldap - Win32 Release"
+!IF "$(CFG)" == "mod_ldap - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
@@ -43,7 +43,7 @@ RSC=rc.exe
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MD /W3 /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c
-# ADD CPP /nologo /MD /W3 /Zi /O2 /I "../../include" /I "../../srclib/apr/include" /I "../../srclib/apr-util/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "LDAP_DECLARE_EXPORT" /Fd"Release\util_ldap_src" /FD /c
+# ADD CPP /nologo /MD /W3 /Zi /O2 /I "../../include" /I "../../srclib/apr/include" /I "../../srclib/apr-util/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "LDAP_DECLARE_EXPORT" /Fd"Release\mod_ldap_src" /FD /c
# ADD BASE MTL /nologo /D "NDEBUG" /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "NDEBUG"
@@ -52,10 +52,10 @@ BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib /nologo /subsystem:windows /dll /machine:I386 /out:"Release/util_ldap.so" /base:@..\..\os\win32\BaseAddr.ref,util_ldap.so
-# ADD LINK32 kernel32.lib wldap32.lib /nologo /subsystem:windows /dll /incremental:no /debug /machine:I386 /out:"Release/util_ldap.so" /base:@..\..\os\win32\BaseAddr.ref,util_ldap.so /opt:ref
+# ADD BASE LINK32 kernel32.lib /nologo /subsystem:windows /dll /machine:I386 /out:"Release/mod_ldap.so" /base:@..\..\os\win32\BaseAddr.ref,mod_ldap.so
+# ADD LINK32 kernel32.lib wldap32.lib /nologo /subsystem:windows /dll /incremental:no /debug /machine:I386 /out:"Release/mod_ldap.so" /base:@..\..\os\win32\BaseAddr.ref,mod_ldap.so /opt:ref
-!ELSEIF "$(CFG)" == "util_ldap - Win32 Debug"
+!ELSEIF "$(CFG)" == "mod_ldap - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
@@ -69,7 +69,7 @@ LINK32=link.exe
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MDd /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c
-# ADD CPP /nologo /MDd /W3 /GX /Zi /Od /I "../../include" /I "../../srclib/apr/include" /I "../../srclib/apr-util/include" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "LDAP_DECLARE_EXPORT" /Fd"Debug\util_ldap_src" /FD /c
+# ADD CPP /nologo /MDd /W3 /GX /Zi /Od /I "../../include" /I "../../srclib/apr/include" /I "../../srclib/apr-util/include" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "LDAP_DECLARE_EXPORT" /Fd"Debug\mod_ldap_src" /FD /c
# ADD BASE MTL /nologo /D "_DEBUG" /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "_DEBUG"
@@ -78,22 +78,22 @@ BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib /nologo /subsystem:windows /dll /incremental:no /debug /machine:I386 /out:"Debug/util_ldap.so" /base:@..\..\os\win32\BaseAddr.ref,util_ldap.so
-# ADD LINK32 kernel32.lib wldap32.lib /nologo /subsystem:windows /dll /incremental:no /debug /machine:I386 /out:"Debug/util_ldap.so" /base:@..\..\os\win32\BaseAddr.ref,util_ldap.so
+# ADD BASE LINK32 kernel32.lib /nologo /subsystem:windows /dll /incremental:no /debug /machine:I386 /out:"Debug/mod_ldap.so" /base:@..\..\os\win32\BaseAddr.ref,mod_ldap.so
+# ADD LINK32 kernel32.lib wldap32.lib /nologo /subsystem:windows /dll /incremental:no /debug /machine:I386 /out:"Debug/mod_ldap.so" /base:@..\..\os\win32\BaseAddr.ref,mod_ldap.so
!ENDIF
# Begin Target
-# Name "util_ldap - Win32 Release"
-# Name "util_ldap - Win32 Debug"
+# Name "mod_ldap - Win32 Release"
+# Name "mod_ldap - Win32 Debug"
# Begin Source File
-SOURCE=.\util_ldap.c
+SOURCE=.\mod_ldap.rc
# End Source File
# Begin Source File
-SOURCE=.\util_ldap.rc
+SOURCE=.\util_ldap.c
# End Source File
# Begin Source File
@@ -111,25 +111,25 @@ SOURCE=.\util_ldap_cache_mgr.c
SOURCE=..\..\build\win32\win32ver.awk
-!IF "$(CFG)" == "util_ldap - Win32 Release"
+!IF "$(CFG)" == "mod_ldap - Win32 Release"
# PROP Ignore_Default_Tool 1
# Begin Custom Build - Creating Version Resource
InputPath=..\..\build\win32\win32ver.awk
-".\util_ldap.rc" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- awk -f ../../build/win32/win32ver.awk util_ldap.so "LDAP Utility Module for Apache" ../../include/ap_release.h > .\util_ldap.rc
+".\mod_ldap.rc" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
+ awk -f ../../build/win32/win32ver.awk mod_ldap.so "LDAP Utility Module for Apache" ../../include/ap_release.h > .\mod_ldap.rc
# End Custom Build
-!ELSEIF "$(CFG)" == "util_ldap - Win32 Debug"
+!ELSEIF "$(CFG)" == "mod_ldap - Win32 Debug"
# PROP Ignore_Default_Tool 1
# Begin Custom Build - Creating Version Resource
InputPath=..\..\build\win32\win32ver.awk
-".\util_ldap.rc" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- awk -f ../../build/win32/win32ver.awk util_ldap.so "LDAP Utility Module for Apache" ../../include/ap_release.h > .\util_ldap.rc
+".\mod_ldap.rc" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
+ awk -f ../../build/win32/win32ver.awk mod_ldap.so "LDAP Utility Module for Apache" ../../include/ap_release.h > .\mod_ldap.rc
# End Custom Build
diff --git a/os/win32/BaseAddr.ref b/os/win32/BaseAddr.ref
index 9c72127c11..6f031f08ac 100644
--- a/os/win32/BaseAddr.ref
+++ b/os/win32/BaseAddr.ref
@@ -61,8 +61,8 @@ mod_authz_groupfile.so 0x6FB10000 0x00010000
mod_authz_host.so 0x6FB00000 0x00010000
mod_authz_user.so 0x6FAF0000 0x00010000
mod_logio.so 0x6FAE0000 0x00010000
-util_ldap.so 0x6FAD0000 0x00010000
-mod_auth_ldap.so 0x6FAC0000 0x00010000
+mod_ldap.so 0x6FAD0000 0x00010000
+mod_authnz_ldap.so 0x6FAC0000 0x00010000
mod_ident.so 0x6FAB0000 0x00010000
mod_proxy_ajp.so 0x6FAA0000 0x00010000
mod_proxy_balancer.so 0x6FA90000 0x00010000