diff options
author | Jeff Trawick <trawick@apache.org> | 2013-11-14 14:56:29 +0000 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2013-11-14 14:56:29 +0000 |
commit | b8ecefc41c6973246964d1d3784ebd698df63143 (patch) | |
tree | 63d81b9b24d3f0c4088519bbe2ad5492c94e5af2 | |
parent | 6c8aff78f1c2918a64615be87060f85c8fc1f48d (diff) | |
download | httpd-b8ecefc41c6973246964d1d3784ebd698df63143.tar.gz |
cmake build support for Windows is now in the 2.4.x branch; remove support for building that branch
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1541922 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | CHANGES | 3 | ||||
-rw-r--r-- | CMakeLists.txt | 65 | ||||
-rw-r--r-- | README.cmake | 10 |
3 files changed, 20 insertions, 58 deletions
@@ -111,9 +111,6 @@ Changes with Apache 2.5.0 *) mod_lua: Return a 500 error if a LuaHook* script doesn't return a numeric return code. [Eric Covener] - *) Add experimental cmake-based build system for Windows. [Jeff Trawick, - Tom Donovan] - *) mod_authnz_fcgi: New module to enable FastCGI authorizer applications to authenticate and/or authorize clients. [Jeff Trawick] diff --git a/CMakeLists.txt b/CMakeLists.txt index e067b9ba02..e095536afc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,11 +27,6 @@ FIND_PACKAGE(Lua51) FIND_PACKAGE(OpenSSL) FIND_PACKAGE(ZLIB) -# See what version we're building. Just look at AP_SERVER_MINORVERSION_NUMBER -SET(minorversion_regex "^#define AP_SERVER_MINORVERSION_NUMBER ([0-9]+)$") -FILE(STRINGS ${CMAKE_CURRENT_SOURCE_DIR}/include/ap_release.h minorversion REGEX ${minorversion_regex}) -STRING(REGEX REPLACE ${minorversion_regex} "\\1" minorversion ${minorversion}) - # Options for support libraries not supported by cmake-bundled FindFOO # Default to using APR trunk (libapr-2.lib) if it exists in PREFIX/lib; @@ -188,6 +183,7 @@ MESSAGE(STATUS "") # SET(MODULE_LIST "modules/aaa/mod_access_compat+A+mod_access compatibility" + "modules/aaa/mod_allowhandlers+I+restrict allowed handlers" "modules/aaa/mod_allowmethods+I+restrict allowed HTTP methods" "modules/aaa/mod_auth_basic+A+basic authentication" "modules/aaa/mod_auth_digest+I+RFC2617 Digest authentication" @@ -198,6 +194,7 @@ SET(MODULE_LIST "modules/aaa/mod_authn_dbm+I+DBM-based authentication control" "modules/aaa/mod_authn_file+A+file-based authentication control" "modules/aaa/mod_authn_socache+I+Cached authentication control" + "modules/aaa/mod_authnz_fcgi+I+FastCGI authorizer-based authentication and authorization" "modules/aaa/mod_authnz_ldap+i+LDAP based authentication" "modules/aaa/mod_authz_core+A+core authorization provider vector module" "modules/aaa/mod_authz_dbd+I+SQL based authorization and Login/Session support" @@ -206,6 +203,7 @@ SET(MODULE_LIST "modules/aaa/mod_authz_host+A+host-based authorization control" "modules/aaa/mod_authz_owner+I+'require file-owner' authorization control" "modules/aaa/mod_authz_user+A+'require user' authorization control" + "modules/apreq/mod_apreq+i+Apache Request Filter" "modules/arch/win32/mod_isapi+I+isapi extension support" "modules/cache/mod_cache+I+dynamic file caching. At least one storage management module (e.g. mod_cache_disk) is also necessary." "modules/cache/mod_cache_disk+I+disk caching module" @@ -225,6 +223,7 @@ SET(MODULE_LIST "modules/dav/main/mod_dav+I+WebDAV protocol handling." "modules/debugging/mod_bucketeer+O+buckets manipulation filter. Useful only for developers and testing purposes." "modules/debugging/mod_dumpio+I+I/O dump filter" + "modules/debugging/mod_firehose+O+Firehose dump filter" "modules/echo/mod_echo+O+ECHO server" "modules/examples/mod_case_filter+O+Example uppercase conversion filter" "modules/examples/mod_case_filter_in+O+Example uppercase conversion input filter" @@ -291,6 +290,7 @@ SET(MODULE_LIST "modules/proxy/mod_proxy_http+I+Apache proxy HTTP module. Requires and is enabled by --enable-proxy." "modules/proxy/mod_proxy_scgi+I+Apache proxy SCGI module. Requires and is enabled by --enable-proxy." "modules/proxy/mod_proxy_wstunnel+I+Apache proxy Websocket Tunnel module. Requires and is enabled by --enable-proxy." + "modules/proxy/mod_serf+O+Reverse proxy module using Serf" "modules/session/mod_session+I+session module" "modules/session/mod_session_cookie+I+session cookie module" "modules/session/mod_session_crypto+i+session crypto module" @@ -303,21 +303,9 @@ SET(MODULE_LIST "modules/test/mod_optional_fn_import+O+example optional function importer" "modules/test/mod_optional_hook_export+O+example optional hook exporter" "modules/test/mod_optional_hook_import+O+example optional hook importer" + "modules/test/mod_policy+I+HTTP protocol compliance filters" ) -IF(NOT ${minorversion} STREQUAL "4") - # more modules in trunk - SET(MODULE_LIST - ${MODULE_LIST} - "modules/aaa/mod_allowhandlers+I+restrict allowed handlers" - "modules/aaa/mod_authnz_fcgi+I+FastCGI authorizer-based authentication and authorization" - "modules/apreq/mod_apreq+i+Apache Request Filter" - "modules/debugging/mod_firehose+O+Firehose dump filter" - "modules/proxy/mod_serf+O+Reverse proxy module using Serf" - "modules/test/mod_policy+I+HTTP protocol compliance filters" - ) -ENDIF() - # Track which modules actually built have APIs to link against. SET(installed_mod_libs_exps) @@ -426,11 +414,6 @@ SET(mod_ssl_extra_sources modules/ssl/ssl_util.c modules/ssl/ssl_util_ocsp.c modules/ssl/ssl_util_ssl.c modules/ssl/ssl_util_stapling.c ) -IF(${minorversion} STREQUAL "4") - SET(mod_ssl_extra_sources - ${mod_ssl_extra_sources} modules/ssl/ssl_engine_dh.c - ) -ENDIF() SET(mod_status_extra_defines STATUS_DECLARE_EXPORT) SET(mod_watchdog_install_lib 1) SET(mod_xml2enc_requires LIBXML2_FOUND) @@ -520,6 +503,17 @@ SET(HTTPD_MAIN_SOURCES SET(LIBHTTPD_SOURCES ${extra_builtin_modules} ${PROJECT_BINARY_DIR}/modules.c + server/apreq_cookie.c + server/apreq_error.c + server/apreq_module.c + server/apreq_module_cgi.c + server/apreq_module_custom.c + server/apreq_param.c + server/apreq_parser.c + server/apreq_parser_header.c + server/apreq_parser_multipart.c + server/apreq_parser_urlencoded.c + server/apreq_util.c modules/arch/win32/mod_win32.c modules/core/mod_so.c modules/http/byterange_filter.c @@ -568,24 +562,6 @@ SET(LIBHTTPD_SOURCES server/vhost.c ) -IF(NOT ${minorversion} STREQUAL "4") - # more libhttpd sources in trunk - SET(LIBHTTPD_SOURCES - ${LIBHTTPD_SOURCES} - server/apreq_cookie.c - server/apreq_error.c - server/apreq_module.c - server/apreq_module_cgi.c - server/apreq_module_custom.c - server/apreq_param.c - server/apreq_parser.c - server/apreq_parser_header.c - server/apreq_parser_multipart.c - server/apreq_parser_urlencoded.c - server/apreq_util.c - ) -ENDIF() - CONFIGURE_FILE(os/win32/win32_config_layout.h ${PROJECT_BINARY_DIR}/ap_config_layout.h) @@ -746,12 +722,7 @@ SET_TARGET_PROPERTIES(libhttpd PROPERTIES SET(install_targets ${install_targets} libhttpd) SET(install_bin_pdb ${install_bin_pdb} ${PROJECT_BINARY_DIR}/libhttpd.pdb) TARGET_LINK_LIBRARIES(libhttpd ${EXTRA_LIBS} ${APR_LIBRARIES} ${PCRE_LIBRARIES} ${HTTPD_SYSTEM_LIBS}) -SET(apreqdefs) -IF(NOT ${minorversion} STREQUAL "4") - # trunk needs apreq symbols exported - SET(apreqdefs -DAPREQ_DECLARE_EXPORT) -ENDIF() -SET_TARGET_PROPERTIES(libhttpd PROPERTIES COMPILE_FLAGS "-DAP_DECLARE_EXPORT ${apreqdefs} -DLONG_NAME=\"\\\"Apache HTTP Server Core\\\"\" -DBIN_NAME=libhttpd.dll ${EXTRA_COMPILE_FLAGS}") +SET_TARGET_PROPERTIES(libhttpd PROPERTIES COMPILE_FLAGS "-DAP_DECLARE_EXPORT -DAPREQ_DECLARE_EXPORT -DLONG_NAME=\"\\\"Apache HTTP Server Core\\\"\" -DBIN_NAME=libhttpd.dll ${EXTRA_COMPILE_FLAGS}") ADD_DEPENDENCIES(libhttpd test_char_header) ########### HTTPD EXECUTABLES ########## diff --git a/README.cmake b/README.cmake index f67f698da6..3f1e72ada4 100644 --- a/README.cmake +++ b/README.cmake @@ -15,12 +15,6 @@ This build support is experimental. Specifically, release to release as feedback is received from users and bugs and limitations are resolved. -This can be used with Apache httpd 2.4.x by copying the following files from -httpd trunk (in Subversion) into the 2.4.x source tree: - -* CMakeLists.txt -* build/cpR_noreplace.pl - Important: Refer to the "Known Bugs and Limitations" section for further information. @@ -45,7 +39,7 @@ The following tools must be in PATH: The following support libraries are mandatory: * APR, built with cmake - + Either APR 2.0-dev (trunk) or APR 1.4.x and APR-Util 1.5.x. + + Either APR 2.0-dev (trunk) or APR 1.5.x and APR-Util 1.5.x. + When building APR (but not APR-Util), specify the build option APR_INSTALL_PRIVATE_H so that non-standard files required for building Apache httpd are installed. @@ -133,7 +127,7 @@ How to build For NMake Makefiles the choices are at least DEBUG, RELEASE, RELWITHDEBINFO, and MINSIZEREL - Other backends make have other selections. + Other backends may have other selections. ENABLE_foo: |