aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/stunnel/stunnel_5.35.bb
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2017-11-01 09:23:41 -0400
committerArmin Kuster <akuster808@gmail.com>2018-02-01 07:32:05 -0800
commitfc88b638ec3f2c9fb4389f08069ed31f9a67eff7 (patch)
tree3bbe22af1d0c4cd9280b519127284acf758713bd /meta-networking/recipes-support/stunnel/stunnel_5.35.bb
parente4c768c2e35f6242886c25f6d504d6ae5b9b2b50 (diff)
downloadmeta-openembedded-fc88b638ec3f2c9fb4389f08069ed31f9a67eff7.tar.gz
stunnel: fix compile error when openssl disable des support
When openssl disable des support with configure option 'no-des', it doesn't provide des related header file and functions. That causes stunnel compile failed. Fix it by checking macro OPENSSL_NO_DES to use openssl des related library conditionaly. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> (cherry picked from commit f9a1fe6ab2dfb6a53e58fc8da3a1580e76954e5e) Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/stunnel/stunnel_5.35.bb')
-rw-r--r--meta-networking/recipes-support/stunnel/stunnel_5.35.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/stunnel/stunnel_5.35.bb b/meta-networking/recipes-support/stunnel/stunnel_5.35.bb
index efe9d9e578..ec8478d6be 100644
--- a/meta-networking/recipes-support/stunnel/stunnel_5.35.bb
+++ b/meta-networking/recipes-support/stunnel/stunnel_5.35.bb
@@ -8,7 +8,9 @@ DEPENDS = "openssl zlib tcp-wrappers"
RDEPENDS_${PN} += "perl"
-SRC_URI = "ftp://ftp.stunnel.org/stunnel/archive/5.x/${BP}.tar.gz"
+SRC_URI = "ftp://ftp.stunnel.org/stunnel/archive/5.x/${BP}.tar.gz \
+ file://fix-openssl-no-des.patch \
+"
SRC_URI[md5sum] = "9079f5fafbccaf88b7d92b227d78249a"
SRC_URI[sha256sum] = "ffa386ae4c825f35f35157c285e7402a6d58779ad8c3822f74a9d355b54aba1d"