diff options
Diffstat (limited to 'meta-phosphor/recipes-connectivity')
-rw-r--r-- | meta-phosphor/recipes-connectivity/net-snmp/net-snmp_%.bbappend | 13 | ||||
-rw-r--r-- | meta-phosphor/recipes-connectivity/openssl/openssl_%.bbappend | 16 |
2 files changed, 29 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-connectivity/net-snmp/net-snmp_%.bbappend b/meta-phosphor/recipes-connectivity/net-snmp/net-snmp_%.bbappend new file mode 100644 index 0000000000..03c5c88784 --- /dev/null +++ b/meta-phosphor/recipes-connectivity/net-snmp/net-snmp_%.bbappend @@ -0,0 +1,13 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +EXTRA_OECONF += "--disable-mib-loading --disable-agent --disable-applications \ +--disable-manuals --disable-scripts --disable-mibs --disable-embedded-perl \ +--disable-perl-cc-checks --disable-libtool-lock --disable-debugging \ +--disable-snmpv1 --disable-des --disable-privacy --disable-md5 \ +--disable-snmptrapd-subagent --disable-set-support --disable-deprecated" + +do_install_append() { + rm -f ${D}${libdir}/libnetsnmpmibs.so.* + rm -f ${D}${libdir}/libnetsnmphelpers.so.* + rm -f ${D}${libdir}/libnetsnmpagent.so.* +} diff --git a/meta-phosphor/recipes-connectivity/openssl/openssl_%.bbappend b/meta-phosphor/recipes-connectivity/openssl/openssl_%.bbappend new file mode 100644 index 0000000000..44898f0de7 --- /dev/null +++ b/meta-phosphor/recipes-connectivity/openssl/openssl_%.bbappend @@ -0,0 +1,16 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +# General config settings. +EXTRA_OECONF_append = " shared no-hw no-err no-psk no-srp no-engines " + +# Disable SSL (keep TLS only). +EXTRA_OECONF_append = " no-ssl2 no-ssl3 " + +# Disable various algorithms. +EXTRA_OECONF_append = " no-idea no-md2 no-mdc2 no-rc5 no-md4 \ + no-ripemd160 no-rmd160 no-whirlpool no-sha0 no-camellia \ + no-rc2 no-rc4 no-bf no-cast no-seed no-gost " + +do_configure_append() { + oe_runmake depend +} |