Return-Path: X-Original-To: apmail-httpd-cvs-archive@www.apache.org Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A4D83107BC for ; Sun, 8 Sep 2013 18:07:19 +0000 (UTC) Received: (qmail 86852 invoked by uid 500); 8 Sep 2013 18:07:18 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 86835 invoked by uid 500); 8 Sep 2013 18:07:17 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 86823 invoked by uid 99); 8 Sep 2013 18:07:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Sep 2013 18:07:15 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Sep 2013 18:07:09 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id C5CD92388831; Sun, 8 Sep 2013 18:06:47 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1520888 - in /httpd/httpd/trunk: CMakeLists.txt README.cmake Date: Sun, 08 Sep 2013 18:06:47 -0000 To: cvs@httpd.apache.org From: trawick@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20130908180647.C5CD92388831@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: trawick Date: Sun Sep 8 18:06:47 2013 New Revision: 1520888 URL: http://svn.apache.org/r1520888 Log: add apreq and skiplist to libhttpd, support mod_apreq Modified: httpd/httpd/trunk/CMakeLists.txt httpd/httpd/trunk/README.cmake Modified: httpd/httpd/trunk/CMakeLists.txt URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/CMakeLists.txt?rev=1520888&r1=1520887&r2=1520888&view=diff ============================================================================== --- httpd/httpd/trunk/CMakeLists.txt (original) +++ httpd/httpd/trunk/CMakeLists.txt Sun Sep 8 18:06:47 2013 @@ -290,12 +290,16 @@ IF(NOT ${minorversion} STREQUAL "4") "modules/debugging/mod_firehose.c+O+Firehose dump filter" "modules/proxy/mod_serf.c+O+Reverse proxy module using Serf" "modules/test/mod_policy.c+I+HTTP protocol compliance filters" + "modules/apreq/mod_apreq.c+i+Apache Request Filter" ) ENDIF() # Define extra definitions, sources, headers, etc. required by some modules. # This could be included in the master list of modules above, though it # certainly would get a lot more unreadable. +SET(mod_apreq_extra_defines APREQ_DECLARE_EXPORT) +SET(mod_apreq_extra_sources modules/apreq/handle.c) +SET(mod_apreq_main_source modules/apreq/filter.c) SET(mod_authz_dbd_extra_defines AUTHZ_DBD_DECLARE_EXPORT) SET(mod_authnz_ldap_requires APR_HAS_LDAP) SET(mod_authnz_ldap_extra_libs mod_ldap) @@ -524,7 +528,19 @@ IF(NOT ${minorversion} STREQUAL "4") # more libhttpd sources in trunk SET(LIBHTTPD_SOURCES ${LIBHTTPD_SOURCES} - "server/util_fcgi.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 + server/skiplist.c + server/util_fcgi.c ) ENDIF() @@ -664,7 +680,12 @@ ENDFOREACH() ADD_LIBRARY(libhttpd SHARED ${LIBHTTPD_SOURCES}) SET(install_targets ${install_targets} libhttpd) TARGET_LINK_LIBRARIES(libhttpd ${APR_LIBRARIES} ${PCRE_LIBRARIES} ${HTTPD_SYSTEM_LIBS}) -SET_TARGET_PROPERTIES(libhttpd PROPERTIES COMPILE_FLAGS -DAP_DECLARE_EXPORT) +IF(NOT ${minorversion} STREQUAL "4") + # trunk needs apreq symbols exported + SET_TARGET_PROPERTIES(libhttpd PROPERTIES COMPILE_FLAGS "-DAP_DECLARE_EXPORT -DAPREQ_DECLARE_EXPORT") +ELSE() + SET_TARGET_PROPERTIES(libhttpd PROPERTIES COMPILE_FLAGS -DAP_DECLARE_EXPORT) +ENDIF() ADD_DEPENDENCIES(libhttpd test_char_header) ########### HTTPD EXECUTABLES ########## Modified: httpd/httpd/trunk/README.cmake URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/README.cmake?rev=1520888&r1=1520887&r2=1520888&view=diff ============================================================================== --- httpd/httpd/trunk/README.cmake (original) +++ httpd/httpd/trunk/README.cmake Sun Sep 8 18:06:47 2013 @@ -191,9 +191,8 @@ Known Bugs and Limitations * no standard script or makefile is provided to tie together the builds of httpd and support libraries in a manner suitable for typical users -* no logic to find support libraries needed by some modules (distcache, serf) -* no working support for building these modules: - + mod_socache_dc, mod_serf, apreq+mod_apreq +* no logic to find support libraries or otherwise build these modules: + + mod_socache_dc (distcache), mod_serf (serf) + additionally, mod_lbmethod_rr and mod_firehose don't compile on Windows anyway * buildmark.c isn't necessarily rebuilt when httpd.exe is regenerated