aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb
AgeCommit message (Collapse)Author
2020-08-31net-snmp: upgrade 5.8 -> 5.9Ovidiu Panait
Upgrade net-snmp 5.8 -> 5.9: * refresh patches * drop backports: https://github.com/net-snmp/net-snmp/commit/5f881d3bf24599b90d67a45cae7a3eb099cd71c9 https://github.com/net-snmp/net-snmp/commit/6e1329bde834e0edcfadb88d3c05e6015e945638 https://github.com/net-snmp/net-snmp/commit/abdcb6af8df352a257a7092c1649471af1e4e97b https://github.com/net-snmp/net-snmp/commit/21260fdd60c172839f997fb6f888a6e21c6825eb Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-26net-snmp: Security fix CVE-2019-20892Armin Kuster
Source: net-snmp.org MR: 104509 Type: Security Fix Disposition: Backport from https://github.com/net-snmp/net-snmp/commit/5f881d3bf24599b90d67a45cae7a3eb099cd71c9 ChangeID: 206d822029d48d904864f23fd1b1af69dffc26c8 Description: Fixes CVE-2019-20892 which affect net-snmp <= 5.8pre1 Had to fix up some file do to later code restructioning. "int refcnt;" addition was done in include/net-snmp/library/snmpusm.h Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-06net-snmp: fix reproducibilty issues in net-snmp-configJeremy Puhlman
Both STAGING_HOST_DIR and -fmacro-prefix-map path to WORKDIR were encoded in the config. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-06net-snmp: multilib fixesJeremy Puhlman
net-snmp/net-snmp-config.h: - encodes type sizes - encodes pathing into the libdir net-snmp-config: - encodes build configuration data and lib pathing. Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-20net-snmp: Add pkgconfig file supportJeremy Puhlman
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-30net-snmp: Fix PACKAGECONFIG for perlRobert Yang
* Remove perl-lib since it had been removed by oe-core: commit 68552c353255188de3d5b42135360a30e7eac535 Author: Alexander Kanavin <alex.kanavin@gmail.com> Date: Sun Dec 2 12:46:37 2018 +0100 perl: remove the previous version of the recipe Now the files are in perl pacakge. * Fix perl paths when perl is enabled. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-26net-snmp: update SRC_URIKai Kang
Replace source zip ball with tarball for net-snmp to avoid zip bomb issue. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-15net-snmp: split net-snmp-config to package net-snmp-devHongxu Jia
Move net-snmp-config in which contains build path from package net-snmp to net-snmp-dev. It refers ubuntu, here are we got from Ubuntu 18.04 $ dpkg -c /var/cache/apt/archives/libsnmp-dev_5.7.3+dfsg-1.8ubuntu3.1_amd64.deb drwxr-xr-x root/root 0 2018-10-15 22:16 ./usr/bin/ -rwxr-xr-x root/root 43797 2018-10-15 22:16 ./usr/bin/mib2c -rwxr-xr-x root/root 8780 2018-10-15 22:16 ./usr/bin/mib2c-update -rwxr-xr-x root/root 29427 2018-10-15 22:16 ./usr/bin/net-snmp-config -rwxr-xr-x root/root 3688 2018-10-15 22:16 ./usr/bin/net-snmp-create-v3-user Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-07net-snmp: Licenses are in the COPYING filedouglas.royds
A bit of an unholy mixture of MIT, BSD 3-clause, and too old to really know BSD-style, with a wide variety of copyright holders. I'm open to better suggestions on how to handle this. Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-01net-snmp: Add PACKAGECONFIG desChangqing Li
Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-26net-snmp: fix compile error with --disable-desChangqing Li
| scapi.c: In function 'sc_encrypt': | scapi.c:1256:5: error: 'pad_size' undeclared (first use in this function); did you mean 'dysize'? | pad_size = pai->pad_size; | ^~~~~~~~ | dysize pad_size is defined only without --disable-des [snip] int pad, plast, pad_size = 0; but used when disable-des [snip] QUITFUN(SNMPERR_GENERR, sc_encrypt_quit); } pad_size = pai->pad_size; memset(my_iv, 0, sizeof(my_iv)); if (USM_CREATE_USER_PRIV_DES == (pai->type & USM_PRIV_MASK_ALG)) { /* fix by move it into #ifndef NETSNMP_DISABLE_DES Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-13net-snmp: reproducibility: Strip host paths from ptest filesdouglas.royds
net-snmp also installs net-snmp-config and gen-variables files that need to have host paths stripped. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-27net-snmp: inherit ptestKai Kang
Inherit ptest for net-snmp to create ${PN}-ptest. Update run-ptest as well to avoid only could be run in the same directory. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-26net-snmp: Simplify sed expressionsdouglas.royds
Readability. The existing patterns allowed each pattern to be matched multiple times (with no intevening spaces), but the "g" modifier achieves this anyway. Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-26net-snmp: Reproducibility: Set NETSNMP_CONFIGURE_OPTIONS nulldouglas.royds
To avoid build host paths being written into binaries, accept a null NETSNMP_CONFIGURE_OPTIONS from the environment. Upstream-Status: Submitted https://sourceforge.net/p/net-snmp/patches/1384/ Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-26net-snmp: Reproducibility: Don't check build host for /etc/printcapdouglas.royds
Don't check for /etc/printcap on the build machine when cross-compiling. Use AC_CHECK_FILE to set the cached variable ac_cv_file__etc_printcap instead. When cross-compiling, this variable should be set in the environment to "yes" or "no" as appropriate for the target platform. I have taken the simple expedient of setting ac_cv_file__etc_printcap=no. If this proves to be a problem, we can easily add a new variable, HAS_PRINTCAP. Upstream-Status: Submitted https://sourceforge.net/p/net-snmp/patches/1385/ Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-26net-snmp: Reproducibility: Remove PKG_CONFIG paths from net-snmp-configdouglas.royds
PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR point into the net-snmp recipe-sysroot. Careful not to trim trailing quotes from the CFLAGS Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-26net-snmp: Reproducibility: Fixed path to /bin/unamedouglas.royds
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-26Revert "net-snmp: improve reproducibility"douglas.royds
This reverts commit 57d8e2c673d5f5686bbf411333f1d39c3e29690e. Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-29net-snmp: improve reproducibilityHongxu Jia
- Remoe prefix ${RECIPE_SYSROOT} from net-snmp-config - Remove configure options from versioninfo Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-10split net-snmp-libs into smaller packagesAlexander Filippov
By default `net-snmp-libs` contains all compiled libs. This commit splits `net-snmp-libs` into subpackages for each library. This allows for smaller resulting image due to finer packaging. Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-24net-snmp: Fix host contaminationChangqing Li
If "/usr/local/ssl/include" directory exists on the host machine, net-snmp will also search the host openssl headers: x86_64-wrs-linux-libtool: compile: x86_64-wrs-linux-gcc ... -I/usr/local/ssl/include Fix this by selecting the proper sysroot headers using --with-openssl=${STAGING_EXECPREFIXDIR} Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-11net-snmp: upgrade 5.7.3 -> 5.8Changqing Li
Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>