From cc7ac0f4435cffe351d3b7196d156636e29dff2e Mon Sep 17 00:00:00 2001
From: Lukasz Nowak <luke@nexedi.com>
Date: Thu, 15 Nov 2018 12:16:24 +0100
Subject: [PATCH] component/trafficserver: Use openssl == 1.0

Since default openssl component is 1.1 and is not compatible with this
component, use openssl-1.0.
---
 component/trafficserver/buildout.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/component/trafficserver/buildout.cfg b/component/trafficserver/buildout.cfg
index 16af337b4..0a1de518f 100644
--- a/component/trafficserver/buildout.cfg
+++ b/component/trafficserver/buildout.cfg
@@ -19,7 +19,7 @@ recipe = slapos.recipe.cmmi
 url = http://apache.claz.org/trafficserver/trafficserver-4.2.3.tar.bz2
 md5sum = 1d06a6e9063ceea3f19dbb84752ec710
 configure-options =
-  --with-openssl=${openssl:location}
+  --with-openssl=${openssl-1.0:location}
   --with-xml=libxml2
   --with-libxml2=${libxml2:location}
   --with-pcre=${pcre:location}
@@ -32,7 +32,7 @@ configure-options =
   --enable-experimental-plugins
 environment =
   PATH=${libtool:location}/bin:${make:location}/bin:${perl:location}/bin:${pkgconfig:location}/bin:%(PATH)s
-  LDFLAGS =-L${libxml2:location}/lib -Wl,-rpath=${libxml2:location}/lib -L${openssl:location}/lib -Wl,-rpath=${openssl:location}/lib -L${tcl:location}/lib -Wl,-rpath=${tcl:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
+  LDFLAGS =-L${libxml2:location}/lib -Wl,-rpath=${libxml2:location}/lib -L${openssl-1.0:location}/lib -Wl,-rpath=${openssl-1.0:location}/lib -L${tcl:location}/lib -Wl,-rpath=${tcl:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
 make-target =
   check
   install
-- 
2.30.9