aboutsummaryrefslogtreecommitdiff
path: root/package/netsnmp
Commit message (Collapse)AuthorAgeFilesLines
* package: Replace 'echo -n' by 'printf'Gravatar Maxime Hadjinlian2015-10-041-11/+11
| | | | | | | | | | | | 'echo -n' is not a POSIX construct (no flag support), we shoud use 'printf', especially in init script. This patch was generated by the following command line: git grep -l 'echo -n' -- `git ls-files | grep -v 'patch'` | xargs sed -i 's/echo -n/printf/' Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* netsnmp: fix static buildGravatar Baruch Siach2015-07-211-1/+2
| | | | | | | | | | | | Exclude the ucd-snmp/dlmod MIB module when building statically. Fixes: http://autobuild.buildroot.net/results/782/7829e74f83c3c4a1f45e049ec9f9d6b00e002c1c/ http://autobuild.buildroot.net/results/5df/5df28482dfa3d7c54d1e4ae3e1d373bd8e9a2265/ http://autobuild.buildroot.net/results/4b7/4b7f3c15a4f4c4f4457e78767f5526c044d6dc1d/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove non-IPv6 dependencies and tweaksGravatar Gustavo Zacarias2015-04-221-10/+1
| | | | | | | | Now that IPv6 is mandatory remove package dependencies and conditionals for it. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: indentation cleanupGravatar Jerzy Grzegorek2015-03-311-16/+16
| | | | | | | This commit doesn't touch infra packages. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Merge branch 'next'Gravatar Peter Korsgaard2015-03-022-0/+35
|\ | | | | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * netsnmp: Add option for using minimal internal SSL codeGravatar Stefan Sørensen2015-02-192-0/+9
| | | | | | | | | | | | | | | | | | | | | | Add option for enabling a minimal internal copy of OpenSSL usable for USM security. It will not enable the usage of SNMP over (D)TLS. [Thomas: use 'else ifeq' to avoid having another nested ifeq ... endif block.] Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * netsnmp: Make server and client installation optionalGravatar Stefan Sørensen2015-02-192-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | The netsnmp package consists of both a server and a number of client tools, this makes the installation of both parts optional. [Thomas: - Add explicit --enable-{agent,applications}, and use positive logic. - Remove "net-snmp" from the new Config.in option prompts, since they are already visible under the netsnmp package option.] Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | netsnmp: Set ac_cv_NETSNMP_CAN_USE_SYSCTL to noGravatar Stefan Sørensen2015-02-191-1/+1
|/ | | | | | | | | | | | | | | | | | | NETSNMP_CAN_USE_SYSCTL is for BSD systems, setting it to yes on Linux systems breaks compilation when the mibII mib is enabled. Prior to commit 30bb1bdca49a1dcb71d477e546a40840af865ce2 ("netsnmp: bump version") from November 2008, this variable was already set to no, and was changed to yes by the commit, with no explanation. And the previous code indeed had a comment saying: # We set CAN_USE_SYSCTL to no and use /proc since the sysctl code # in this thing is apparently intended for freebsd or some such # thing... [Thomas: improved commit log.] Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: indentation cleanupGravatar Jerzy Grzegorek2014-12-241-13/+21
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Rename BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBSGravatar Thomas Petazzoni2014-12-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Since a while, the semantic of BR2_PREFER_STATIC_LIB has been changed from "prefer static libraries when possible" to "use only static libraries". The former semantic didn't make much sense, since the user had absolutely no control/idea of which package would use static libraries, and which packages would not. Therefore, for quite some time, we have been starting to enforce that BR2_PREFER_STATIC_LIB should really build everything with static libraries. As a consequence, this patch renames BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS, and adjust the Config.in option accordingly. This also helps preparing the addition of other options to select shared, shared+static or just static. Note that we have verified that this commit can be reproduced by simply doing a global rename of BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS plus adding BR2_PREFER_STATIC_LIB to Config.in.legacy. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* netsnmp: bump to version 5.7.3Gravatar Gustavo Zacarias2014-12-103-32/+5
| | | | | | | | | | Security patch now upstream so remove. Add hash file. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: rename FOO_CONF_OPT into FOO_CONF_OPTSGravatar Thomas De Schampheleire2014-10-041-8/+8
| | | | | | | | | | | | To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: rename FOO_INSTALL_STAGING_OPT into FOO_INSTALL_STAGING_OPTSGravatar Thomas De Schampheleire2014-10-041-1/+1
| | | | | | | | | | | | To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_INSTALL_STAGING_OPT. Sed command used: find * -type f | xargs sed -i 's#_INSTALL_STAGING_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: rename FOO_INSTALL_TARGET_OPT into FOO_INSTALL_TARGET_OPTSGravatar Thomas De Schampheleire2014-10-041-1/+1
| | | | | | | | | | | | To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_INSTALL_TARGET_OPT. Sed command used: find * -type f | xargs sed -i 's#_INSTALL_TARGET_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* netsnmp: cleanup configure flags handlingGravatar Peter Korsgaard2014-05-161-8/+4
| | | | | | | | | No functional change, but cleaner. Remove the double --disable-manuals and move the debug handling together with the other optional configure flags. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* netsnmp: Remove ldconfig callsGravatar Bernd Kuhls2014-05-161-6/+13
| | | | | | | | | | | | ldconfig breaks links created by gpu-viv-bin-mx6q. fixes http://autobuild.buildroot.net/results/ab5/ab57dd3729d529366808cbfc802f49360b2ec2b9/ [Peter: use NETSNMP_INSTALL_*_OPT, only install initscript for sysv init] Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* netsnmp: fix tab/space formatting in init.d scriptGravatar Danomi Manchego2014-03-281-15/+12
| | | | | | | | | | The S59snmpd script has a strange mix of tabs and spaces. Replace tabs with spaces, and also remove unnecessary line continuations from the start-stop-daemon lines, as none of them go beyond 80 columns. Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* netsnmp: security bump to version 5.7.2.1Gravatar Gustavo Zacarias2014-03-112-1/+32
| | | | | | | Fixes CVE-2014-2284 but not CVE-2014-2285 so add a patch for that one. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* netsnmp: fix static linking with opensslGravatar Peter Korsgaard2014-02-151-0/+4
| | | | | | Fixes http://autobuild.buildroot.net/results/084/0845bde5d234bd00d23c7a1b7e18746882dcdde4/ Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: remove support for documentation on targetGravatar Thomas De Schampheleire2014-02-081-4/+3
| | | | | | | | This patch removes deprecated symbol BR2_HAVE_DOCUMENTATION and all its usage. Additionally, it removes the now unused BR2_DEPRECATED_SINCE_2012_11. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* netsnmp: do not force --disable-staticGravatar universe II2013-12-251-1/+1
| | | | | | | | | | The following patch enables the generation of static libraries additionally to the shared ones for the netsnmp package. [Thomas: fixed commit log.] Signed-off-by: Andreas Ehmanns <universeii@gmx.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Config.in files: use if/endif instead of 'depends on' for main symbolGravatar Thomas De Schampheleire2013-12-251-4/+4
| | | | | | | | | | | | | | | | | | | | | | | In the Config.in file of package foo, it often happens that there are other symbols besides BR2_PACKAGE_FOO. Typically, these symbols only make sense when foo itself is enabled. There are two ways to express this: with depends on BR2_PACKAGE_FOO in each extra symbol, or with if BR2_PACKAGE_FOO ... endif around the entire set of extra symbols. The if/endif approach avoids the repetition of 'depends on' statements on multiple symbols, so this is clearly preferred. But even when there is only one extra symbol, if/endif is a more logical choice: - it is future-proof for when extra symbols are added - it allows to have just one strategy instead of two (less confusion) This patch modifies the Config.in files accordingly. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove uninstall commandsGravatar Thomas De Schampheleire2013-12-061-7/+0
| | | | | Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* net-snmp: needs mmuGravatar Gustavo Zacarias2013-10-091-0/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Normalize separator size to 80Gravatar Alexandre Belloni2013-06-061-2/+2
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* netsnmp: handle net-snmp-config scriptGravatar Thomas Petazzoni2013-05-111-3/+3
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* netsnmp: enable agentx support by defaultGravatar Gustavo Zacarias2013-04-171-1/+1
| | | | | | | | Enable agentx support by default, it's required for newer versions of quagga. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* netsnmp: configurable MIB modulesGravatar przemyslaw2013-03-242-2/+16
| | | | | | | | | | Make the MIB modules, which are included/excluded in the build, to be configurable instead of being hard coded. [Peter: drop menuconfig] Signed-off-by: przemyslaw <przemyslaw.wrzos@calyptech.com> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* netsnmp: bump to version 5.7.2Gravatar Gustavo Zacarias2012-10-203-54/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* remove rest of the BR2_SOURCEFORGE_MIRROR referencesGravatar Stefan Fröberg2012-08-281-1/+1
| | | | | Signed-off-by: Stefan Fröberg <stefan.froberg@petroprogram.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* netsnmp: add fix for CVE-2012-2141Gravatar Gustavo Zacarias2012-08-221-0/+36
| | | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Luca Ceresoli <luca@lucaceresoli.net> Tested-by: Luca Ceresoli <luca@lucaceresoli.net>
* all packages: rename XXXTARGETS to xxx-packageGravatar Arnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | | | Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* netsnmp: define licenseGravatar Luca Ceresoli2012-07-171-0/+2
| | | | | Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* netsnmp: fix build with high BR2_JLEVEL settingsGravatar Peter Korsgaard2012-05-271-0/+1
| | | | | | | | The netsnmp build system is not robust against parallel builds. Fixes http://autobuild.buildroot.net/results/5bb827425ed07617a47a0c0d942a3c6c423fc02f Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* netsnmp: add option to enable debugging codeGravatar Luca Ceresoli2012-03-182-1/+14
| | | | | | Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* netsnmp: bump to 5.7.1 LTSGravatar Luca Ceresoli2011-12-072-1/+18
| | | | | | Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Revert "netsnmp: bump to 5.7.1 LTS"Gravatar Peter Korsgaard2011-12-061-1/+1
| | | | | | Gustavoz reported that 5.7 series segfault on powerpc. This reverts commit 60859a1e1ac717aafc3543f92adeccba9ed33b29.
* netsnmp: bump to 5.7.1 LTSGravatar Luca Ceresoli2011-12-061-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: remove useless arguments from AUTOTARGETSGravatar Thomas Petazzoni2011-09-291-1/+1
| | | | | | | | | | Thanks to the pkgparentdir and pkgname functions, we can rewrite the AUTOTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* netsnmp: allow to disable MIB files installation and MIB loading codeGravatar Luca Ceresoli2011-09-112-0/+13
| | | | | | Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* netsnmp: fix stop and restart actions in init scriptGravatar Luca Ceresoli2011-09-111-1/+0
| | | | | | | | | | | | | | | | | /etc/init.d/S59snmpd stop (and restart) currently fail if either snmpd or snmptrapd are not running. This is because start-stop-daemon -K returns nonzero if the process to be killed is not running, and this causes the whole script to fail because it runs under 'set -e'. This may not be noticed if only the last start-stop-daemon fails, but this is in general wrong. It would also cause a failure in other scripts that execute S59snmpd and check the return value. Adding the --oknodo (-o) option to start-stop-daemon fixes this. Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* netsnmp: bump to version 5.6.1.1Gravatar Gustavo Zacarias2011-09-111-1/+1
| | | | | | | Bump netsnmp to version 5.6.1.1 which contains minor fixes. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* net-snmp: fixup paths in net-snmp-configGravatar Gustavo Zacarias2011-05-021-0/+10
| | | | | | | | | | Exposed by commit 7e3e8ec040b06d6e2fb69e55c004f1ebc02c76d0 net-snmp-config goes for -L/usr/lib thus things break since this wins over the sysroot if we have a host net-snmp library around when we build packages that link against net-snmp. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* netsnmp: bump to version 5.6.1Gravatar Gustavo Zacarias2011-03-271-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* netsnmp: bump to version 5.6Gravatar Gustavo Zacarias2010-11-042-25/+21
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* net-snmp: broken with parallel jobsGravatar Gustavo Zacarias2010-10-181-2/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* packages: remove unneeded _INSTALL_TARGET_OPT definitionsGravatar Thomas Petazzoni2010-09-271-1/+0
| | | | | | | | Now that <pkg>_INSTALL_TARGET_OPT always defaults to 'DESTDIR=$(TARGET_DIR) install', we can remove the <pkg>_INSTALL_TARGET_OPT definition from a lot of packages. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* netsnmp: depend on openssl when the package is on to ensure build orderGravatar Gustavo Zacarias2010-07-291-0/+1
| | | | | | | | | The netsnmp package should depend on openssl when using it. Otherwise netsnmp might get built before openssl and poison the configure cache since it's not a mandatory dependency. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Convert net-snmp to autotargetsGravatar Gustavo Zacarias2010-07-282-139/+38
| | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
* Update all packages to quote $(TARGET_CC)Gravatar Thomas Petazzoni2010-07-071-1/+1
| | | | | | | Now that TARGET_CC contains several space-separated words, it must be used quoted everywhere. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>