meta-openembedded/meta-networking/recipes-protocols
Mingli Yu c105afd322 netsnmp: remove --with-openssl=PATH configure option
The openssl already added in DEPENDS and the openssl related library
will be in recipe-sysroot. So it's meanlingless to add the configure
option "--with-openssl=${STAGING_EXECPREFIXDIR}" as the below help message.
 $ cd /prj/net-snmp-5.9/
 $ ./configure --help
 [snip]
 --with-openssl=PATH             Look for openssl in PATH/lib,
                                  or PATH may be "internal" to build with
                                  minimal copied OpenSSL code for USM only
 [snip]

And there is also a side effect after add the above openssl configuration
as the build path is added for NSC_LDFLAGS in /usr/bin/net-snmp-config.
NSC_LDFLAGS="-L/prj/tmp/work/corei7-64-wrs-linux/net-snmp/5.9-r0/recipe-sysroot/usr/lib64 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now"

To improve reproducibility for netsnmp as below.
 $ sed -i -e 's@${STAGING_DIR_HOST}@@g' -i ${D}${bindir}/net-snmp-config

The NSC_LDFLAGS in net-snmp-config will be changed to below:
NSC_LDFLAGS="-L/usr/lib64 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now"

But it will result in other packages which depend on net-snmp such as
corosync, quagga and etc uses the build host library and introduce
below do_configure error.
ERROR: QA Issue: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.
Rerun configure task after fixing this. [configure-unsafe]

So remove the useless configuration to fix the issue.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-05 10:59:49 -08:00
..
babeld babeld: upgrade 1.9.1 -> 1.9.2 2020-07-20 10:06:09 -07:00
dante recipes: rename distro_features_check to features_check 2019-11-21 17:51:37 -08:00
freediameter freediameter: use /run instead of /var/run in systemd service file 2020-10-20 09:15:07 -07:00
mdns mdns: upgrade 1096.40.7 -> 1310.40.42 2021-01-12 00:54:53 -08:00
net-snmp netsnmp: remove --with-openssl=PATH configure option 2021-02-05 10:59:49 -08:00
nopoll nopoll: Upgrade to 0.4.6.b400 2018-09-08 13:32:12 -07:00
openflow openflow: Fix build with openSSL 1.1.x 2018-09-09 10:46:29 -07:00
openl2tp openl2tp: update systemd service file 2019-12-19 13:56:59 -08:00
openlldp openlldp: Update to latest master 2020-08-13 22:32:07 -07:00
pptp-linux recipes: Inherit perlnative for pod2man 2020-02-02 22:16:25 -08:00
quagga quagga: unify volatiles file name 2020-11-03 11:03:45 -08:00
radiusclient-ng radiusclient: Clarify BSD license variant 2019-10-24 01:01:43 -07:00
rp-pppoe rp-pppoe: update to 3.13 2019-05-21 10:45:39 -07:00
tsocks tsocks: Link with libc_nonshared.a 2018-10-02 08:48:28 -07:00
usrsctp usrsctp: use UPSTREAM_CHECK_COMMITS 2020-04-04 07:22:16 -07:00
xl2tpd xl2tpd: Remove the old 1.3.6 version 2019-06-18 15:58:26 -07:00
zeroconf zeroconf: Fix build with musl 2017-09-08 16:38:19 -04:00