[oe] [meta-oe][PATCH 10/10] postgresql: configure without openssl if openssl disable weak ciphers

kai.kang at windriver.com kai.kang at windriver.com
Wed Jul 5 08:11:33 UTC 2017


From: Kai Kang <kai.kang at windriver.com>

Distro feature 'openssl-no-weak-ciphers' is introduced to disable
openssl weak ciphers. If it exists, openssl des support is disabled that
causes postgresql build failed.

Remove PACKAGECONFIG 'openssl' if distro feature 'openssl-no-weak-ciphers'
exists.

Signed-off-by: Kai Kang <kai.kang at windriver.com>
---
 meta-oe/recipes-support/postgresql/postgresql.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-support/postgresql/postgresql.inc b/meta-oe/recipes-support/postgresql/postgresql.inc
index 812c2ae..b2c4b2f 100644
--- a/meta-oe/recipes-support/postgresql/postgresql.inc
+++ b/meta-oe/recipes-support/postgresql/postgresql.inc
@@ -65,6 +65,8 @@ PACKAGECONFIG[nls] = "--enable-nls,--disable-nls,,"
 PACKAGECONFIG[libxml] = "--with-libxml,--without-libxml,libxml2,libxml2"
 PACKAGECONFIG[perl] = "--with-perl,--without-perl,perl,perl"
 
+PACKAGECONFIG_remove = "${@bb.utils.contains('DISTRO_FEATURES', 'openssl-no-weak-ciphers', 'openssl', '', d)}"
+
 EXTRA_OECONF += "--enable-thread-safety --disable-rpath \
     --datadir=${datadir}/${BPN} \
     --sysconfdir=${sysconfdir}/${BPN} \
-- 
2.10.1




More information about the Openembedded-devel mailing list