[Bug 196256] New: [PATCH] www/apache22 unbreak build with LibreSSL

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 24 17:55:42 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196256

            Bug ID: 196256
           Summary: [PATCH] www/apache22 unbreak build with LibreSSL
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: spil.oss at gmail.com

Created attachment 150943
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=150943&action=edit
Patch for apache22 to build cleanly with LibreSSL

Apache 2.2 (and 2.4) can not be built when LibreSSL is used as SSL library.
LibreSSL has (amongst others)
  - removed RAND_egd
  - removed CHIL engine
  - added SSL_CTX_use_certificate_chain
  - removed compression for SSL and TLS
this leads to build failures for missing and redefining functions. This patch
fixes these errors by
  - adding a check for RAND_egd and SSL_CTX_use_certificate_chain
  - make Apache pick up the SSL_NO_COMP define (OpenSSL sets OPENSSL_NO_COMP)
  - using an already available define for CHIL
  - using defines for the added checks

See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196139 for the Apache24
patch

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list