diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2017-11-01 09:23:40 -0400 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2018-01-08 11:54:39 -0500 |
commit | d8e69bc9e9c183346a11eb31915c12558565f881 (patch) | |
tree | da179c25df07a86527e2179d74b75f471d98646e /meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb | |
parent | ba8543aeee6b97b31e66c261563a197cd0be87e3 (diff) | |
download | meta-openembedded-d8e69bc9e9c183346a11eb31915c12558565f881.tar.gz |
net-snmp: support openssl without 3des
net-snmp enables 3des support by default and fails to build with distro
feature openssl-no-weak-ciphers:
| ../../net-snmp-5.7.3/snmplib/scapi.c:82:25: fatal error: openssl/des.h: No such file or directory
| #include <openssl/des.h>
To fix the issue:
* add a patch to include des.h only if it's found in openssl
* disable des when openssl-no-weak-ciphers is enabled
Signed-off-by: Jackie Huang <jackie.huang@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>
Diffstat (limited to 'meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb')
-rw-r--r-- | meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb index af6fd1b1f..849ae0763 100644 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb | |||
@@ -31,6 +31,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/net-snmp/net-snmp-${PV}.zip \ | |||
31 | file://0003-CHANGES-BUG-2712-Fix-Perl-module-compilation.patch \ | 31 | file://0003-CHANGES-BUG-2712-Fix-Perl-module-compilation.patch \ |
32 | file://0004-configure-fix-incorrect-variable.patch \ | 32 | file://0004-configure-fix-incorrect-variable.patch \ |
33 | file://net-snmp-5.7.2-fix-engineBoots-value-on-SIGHUP.patch \ | 33 | file://net-snmp-5.7.2-fix-engineBoots-value-on-SIGHUP.patch \ |
34 | file://net-snmp-fix-for-disable-des.patch \ | ||
34 | " | 35 | " |
35 | SRC_URI[md5sum] = "9f682bd70c717efdd9f15b686d07baee" | 36 | SRC_URI[md5sum] = "9f682bd70c717efdd9f15b686d07baee" |
36 | SRC_URI[sha256sum] = "e8dfc79b6539b71a6ff335746ce63d2da2239062ad41872fff4354cafed07a3e" | 37 | SRC_URI[sha256sum] = "e8dfc79b6539b71a6ff335746ce63d2da2239062ad41872fff4354cafed07a3e" |
@@ -59,7 +60,8 @@ EXTRA_OECONF = "--enable-shared \ | |||
59 | --with-defaults \ | 60 | --with-defaults \ |
60 | --with-install-prefix=${D} \ | 61 | --with-install-prefix=${D} \ |
61 | --with-persistent-directory=${localstatedir}/lib/net-snmp \ | 62 | --with-persistent-directory=${localstatedir}/lib/net-snmp \ |
62 | ${@base_conditional('SITEINFO_ENDIANNESS', 'le', '--with-endianness=little', '--with-endianness=big', d)}" | 63 | ${@base_conditional('SITEINFO_ENDIANNESS', 'le', '--with-endianness=little', '--with-endianness=big', d)} \ |
64 | " | ||
63 | 65 | ||
64 | # net-snmp needs to have mib-modules=smux enabled to enable quagga to support snmp | 66 | # net-snmp needs to have mib-modules=smux enabled to enable quagga to support snmp |
65 | EXTRA_OECONF += "--with-mib-modules=smux" | 67 | EXTRA_OECONF += "--with-mib-modules=smux" |