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 0815E1184B for ; Tue, 22 Apr 2014 00:05:31 +0000 (UTC) Received: (qmail 36219 invoked by uid 500); 22 Apr 2014 00:05:28 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 36160 invoked by uid 500); 22 Apr 2014 00:05:27 -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 36149 invoked by uid 99); 22 Apr 2014 00:05:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Apr 2014 00:05:27 +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; Tue, 22 Apr 2014 00:05:26 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 64EB0238889B; Tue, 22 Apr 2014 00:05:06 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1589009 - /httpd/httpd/trunk/CMakeLists.txt Date: Tue, 22 Apr 2014 00:05:06 -0000 To: cvs@httpd.apache.org From: trawick@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140422000506.64EB0238889B@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: trawick Date: Tue Apr 22 00:05:05 2014 New Revision: 1589009 URL: http://svn.apache.org/r1589009 Log: follow-up to r1588987: Support build of mod_ssl_ct on Windows Modified: httpd/httpd/trunk/CMakeLists.txt Modified: httpd/httpd/trunk/CMakeLists.txt URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/CMakeLists.txt?rev=1589009&r1=1589008&r2=1589009&view=diff ============================================================================== --- httpd/httpd/trunk/CMakeLists.txt (original) +++ httpd/httpd/trunk/CMakeLists.txt Tue Apr 22 00:05:05 2014 @@ -158,6 +158,18 @@ ELSE() SET(APR_HAS_LDAP FALSE) ENDIF() +# See if we have OpenSSL 1.0.2 +SET(HAVE_OPENSSL_102 FALSE) +IF(OPENSSL_FOUND) + STRING(REGEX REPLACE "^1\\.([0-9]+)\\.[0-9]+" "\\1" minor_ver ${OPENSSL_VERSION}) + STRING(REGEX REPLACE "^1\\.[0-9]+\\.([0-9]+)" "\\1" patch_ver ${OPENSSL_VERSION}) + IF(${minor_ver} GREATER "0") + SET(HAVE_OPENSSL_102 TRUE) + ELSEIF(${patch_ver} GREATER "1") + SET(HAVE_OPENSSL_102 TRUE) + ENDIF() +ENDIF() + MESSAGE(STATUS "") MESSAGE(STATUS "Summary of feature detection:") MESSAGE(STATUS "") @@ -308,6 +320,7 @@ SET(MODULE_LIST "modules/slotmem/mod_slotmem_plain+I+slotmem provider that uses plain memory" "modules/slotmem/mod_slotmem_shm+I+slotmem provider that uses shared memory" "modules/ssl/mod_ssl+i+SSL/TLS support" + "modules/ssl/mod_ssl_ct+O+Certificate Transparency support (requires OpenSSL >= 1.0.2)" "modules/test/mod_dialup+O+rate limits static files to dialup modem speeds" "modules/test/mod_optional_fn_export+O+example optional function exporter" "modules/test/mod_optional_fn_import+O+example optional function importer" @@ -425,6 +438,16 @@ 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 ) +SET(mod_ssl_ct_requires HAVE_OPENSSL_102) +IF(OPENSSL_FOUND) + SET(mod_ssl_ct_extra_includes ${OPENSSL_INCLUDE_DIR}) + SET(mod_ssl_ct_extra_libs ${OPENSSL_LIBRARIES}) +ENDIF() +SET(mod_ssl_ct_extra_sources + modules/ssl/ssl_ct_log_config.c + modules/ssl/ssl_ct_sct.c + modules/ssl/ssl_ct_util.c +) SET(mod_status_extra_defines STATUS_DECLARE_EXPORT) SET(mod_watchdog_install_lib 1) SET(mod_xml2enc_requires LIBXML2_FOUND) @@ -845,6 +868,7 @@ INSTALL(DIRECTORY include/ DESTINATION i INSTALL(FILES ${other_installed_h} DESTINATION include) INSTALL(FILES ${installed_mod_libs_exps} DESTINATION lib) INSTALL(FILES "${CMAKE_BINARY_DIR}/libhttpd.exp" DESTINATION LIB) +INSTALL(FILES support/ctlogconfig DESTINATION bin) IF(INSTALL_MANUAL) # Silly? This takes a while, and a dev doesn't need it. INSTALL(DIRECTORY docs/manual/ DESTINATION manual)