anchor.diff:        TARGET=linux2628 \
         USE_SLZ=1 SLZ_INC=../libslz/src SLZ_LIB=../libslz \
         USE_STATIC_PCRE=1 USE_PCRE_JIT=1 PCREDIR=/tmp/pcre \
  -      USE_OPENSSL=1 SSL_INC=/tmp/openssl/include SSL_LIB=/tmp/openssl/lib USE_PTHREAD_PSHARED=1 \
  +      USE_OPENSSL=1 SSL_INC=/tmp/libressl/include SSL_LIB=/tmp/libressl/lib \
         all \
         install-bin && \
       mkdir -p /usr/local/etc/haproxy && \
       cp -R haproxy-${HAPROXY_VERSION}/examples/errorfiles /usr/local/etc/haproxy/errors && \
   
       # Clean up
  -    rm -rf /var/lib/apt/lists/* /tmp/* haproxy* pcre* openssl* libslz* && \
  +    rm -rf /var/lib/apt/lists/* /tmp/* haproxy* pcre* libressl* libslz* && \
       apt-get purge -y --auto-remove ${buildDeps}
   
   
  
positive.code:     ./pcre_jit_test && \
      cd .. && \
  
      # OpenSSL (LibreSSL support removed due to API ambiguity, see: https://www.mail-archive.com/haproxy@formilux.org/msg24160.html)
  
      curl -OJ ftp://ftp.linux.hr/pub/openssl/source/openssl-${OPENSSL_VERSION}.tar.gz && \
      echo ${OPENSSL_SHA256} openssl-${OPENSSL_VERSION}.tar.gz | sha256sum -c && \
      tar zxvf openssl-${OPENSSL_VERSION}.tar.gz && \
      cd openssl-${OPENSSL_VERSION} && \
      ./config no-shared --prefix=/tmp/openssl --openssldir=/tmp/openssl && \
      make && \
      make install && \
      cd .. && \
  
  
negative.code: ENV PCRE_VERSION 8.39
  ENV PCRE_MD5 26a76d97e04c89fe9ce22ecc1cd0b315
  
  ENV LIBRESSL_VERSION 2.4.4
  ENV LIBRESSL_MD5 9d98be5dffb1e4e3a3e6423267eba5dc
  
  RUN buildDeps='curl gcc make file libc-dev' \
      set -x && \
      apt-get update && \
      apt-get install --no-install-recommends -y ${buildDeps} && \
  