Commit graph

61 commits

Author SHA1 Message Date
Stefan Fröberg 23ef45ca1e remove rest of the BR2_SOURCEFORGE_MIRROR references
Signed-off-by: Stefan Fröberg <stefan.froberg@petroprogram.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-08-28 22:59:52 +02:00
Gustavo Zacarias 26506d3bea netsnmp: add fix for CVE-2012-2141
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>
2012-08-22 19:59:07 +02:00
Arnout Vandecappelle (Essensium/Mind) e1502ebc0c all packages: rename XXXTARGETS to xxx-package
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>
2012-07-17 20:23:05 +02:00
Luca Ceresoli ede30a915b netsnmp: define license
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-17 19:07:31 +02:00
Peter Korsgaard 7643670052 netsnmp: fix build with high BR2_JLEVEL settings
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>
2012-05-27 21:10:42 +02:00
Luca Ceresoli a0b7500352 netsnmp: add option to enable debugging code
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>
2012-03-18 21:41:23 +01:00
Luca Ceresoli 8a28f7e8ac netsnmp: bump to 5.7.1 LTS
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>
2011-12-07 16:52:24 +01:00
Peter Korsgaard 0c8407a9bc Revert "netsnmp: bump to 5.7.1 LTS"
Gustavoz reported that 5.7 series segfault on powerpc.

This reverts commit 60859a1e1a.
2011-12-06 12:02:32 +01:00
Luca Ceresoli 60859a1e1a netsnmp: bump to 5.7.1 LTS
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-12-06 10:59:53 +01:00
Thomas Petazzoni 300f9c9c9d package: remove useless arguments from AUTOTARGETS
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>
2011-09-29 23:12:27 +02:00
Luca Ceresoli 9c83b37ccc netsnmp: allow to disable MIB files installation and MIB loading code
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>
2011-09-11 23:10:23 +02:00
Luca Ceresoli 77cc11d533 netsnmp: fix stop and restart actions in init script
/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>
2011-09-11 23:09:06 +02:00
Gustavo Zacarias b1ddfecdb9 netsnmp: bump to version 5.6.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>
2011-09-11 22:00:41 +02:00
Gustavo Zacarias d1b42b24b8 net-snmp: fixup paths in net-snmp-config
Exposed by commit 7e3e8ec040
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>
2011-05-02 17:44:30 +02:00
Gustavo Zacarias 0c9a64dae1 netsnmp: bump to version 5.6.1
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-27 22:56:41 +02:00
Gustavo Zacarias de642c9904 netsnmp: bump to version 5.6
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-11-04 23:42:27 +01:00
Gustavo Zacarias fe5945a043 net-snmp: broken with parallel jobs
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-10-18 10:51:02 +02:00
Thomas Petazzoni 478ea1a12d packages: remove unneeded _INSTALL_TARGET_OPT definitions
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>
2010-09-27 15:32:32 +02:00
Gustavo Zacarias 7bfc9e464c netsnmp: depend on openssl when the package is on to ensure build order
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>
2010-07-29 14:25:45 +02:00
Gustavo Zacarias d54f37fb08 Convert net-snmp to autotargets
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
2010-07-28 00:30:26 +02:00
Thomas Petazzoni a1c8fa41f6 Update all packages to quote $(TARGET_CC)
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>
2010-07-07 08:20:21 +02:00
Thomas Petazzoni 52e600ebec netsnmp: disable build with external toolchain
There is a build problem with netsnmp on external toolchain that isn't
easy to fix: libtool strips the --sysroot that we are passing it,
which make the link step fail.

In preparation for the release, just make sure this package isn't
visible to external toolchain users. Of course, on the long run, we
should fix this.

We also disable the build of the Quagga SNMP support because it
selects netsnmp.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20 22:34:30 +02:00
Thomas Petazzoni 0e56099e70 Use BR2_HAVE_DOCUMENTATION instead of BR2_HAVE_{MANPAGES,INFOPAGES}
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-11 06:01:08 +02:00
Thomas Petazzoni ef785f61ad Do not let packages remove man pages, info pages and documentation
The cleanup of $(TARGET_DIR)/usr/share/man, $(TARGET_DIR)/usr/man,
$(TARGET_DIR)/usr/share/info, $(TARGET_DIR)/usr/info,
$(TARGET_DIR)/usr/share/doc and $(TARGET_DIR)/usr/doc is already done
globally in the main Makefile. Therefore, there's no need to handle
that on a per-package basis.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-11 06:01:08 +02:00
Thomas Petazzoni 1ab9bb250c netsnmp: use the autoconf built by Buildroot
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-24 22:45:28 +01:00
Peter Korsgaard 31d34b4205 netsnmp: bump version
Based on patch by Darcy Watkins <DWatkins@tranzeo.com>

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-25 21:05:38 +01:00
Peter Korsgaard 3fdf0bffb8 buildroot: silence ./configure step when building with 'make -s'
We have been passing -q to ./configure when using 'make -s' for
packages using Makefile.autotools.in for some time. Do the same
for packages using autotools, but not using the
Makefile.autotools.in infrastructure, taking care to not do it
for packages with hand written configure scripts.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-01 21:24:42 +02:00
Peter Korsgaard 4a7bfd2775 package/: convert to DOWNLOAD helper 2009-01-16 11:42:52 +00:00
Peter Korsgaard 3904aeee89 netsnmp: don't list openssl as a hard dependency
netsnmp can be compiled without ssl support, so don't list it as a hard
dependency and only compile in support if enabled by the user.
2008-12-28 20:07:50 +00:00
Peter Korsgaard f3e68e7f9b netsnmp: bump version, fixes security hole in snmpv3 2008-12-28 16:08:53 +00:00
Peter Korsgaard a6db1e165d netsnmp: run CONFIG_UPDATE
Based on e068796d3 in Bernhards tree.
2008-11-04 11:31:58 +00:00
Peter Korsgaard 30bb1bdca4 netsnmp: bump version
Based on fa86c12d in Bernhards tree.
2008-11-04 11:26:52 +00:00
Peter Korsgaard 02a623ddf9 buildroot: remove trailing spaces
for i in `find -name 'Config*' -o -name 'Makefile*' -o -name '*.mk'`;
do
	sed -i 's/ \+$//' $i;
done
2008-08-04 19:07:05 +00:00
Peter Korsgaard 4683420c4c Kconfig: remove 'default n'
'default n' is the default, so there's no need to say it explicitly.
2008-07-17 20:01:44 +00:00
Peter Korsgaard dfe689229d buildroot: cleanup <package>-clean targets.
Based on input from Arndt Kritzner & Bernhard Fischer.
2008-03-27 15:42:42 +00:00
Thomas Lundquist dc6a57bc69 Added BR2_DEBIAN_MIRROR 2007-12-27 12:00:12 +00:00
Bernhard Reutner-Fischer 26cdd6f6c0 - make sure that configure doesn't see a wrong cache 2007-09-25 12:34:09 +00:00
Bernhard Reutner-Fischer 6547bced93 - global whitespace trimming 2007-08-22 12:35:41 +00:00
Bernhard Reutner-Fischer 6c6cb06709 - sed -i -e "/;$/s/;$//g" $(egrep ";$" package/* package/*/*.mk toolchain/* toolchain/*/*.mk */Makefile.in -l) 2007-08-21 19:20:18 +00:00
Ulf Samuelsson 847d0aaca2 Read patch from correct directory 2007-07-17 12:02:44 +00:00
Ulf Samuelsson a2932f294d Fix compile bugs caused by undefined preprocessor variables 2007-07-17 11:05:31 +00:00
Ulf Samuelsson e1621a4a2a Use <package>_VERSION in all <package>.mk instead of <package>_VER 2007-07-11 14:06:06 +00:00
Bernhard Reutner-Fischer 79e2d802ae - fix a few -clean targets.
- bash build is not parallel-safe
2007-06-28 14:07:13 +00:00
Bernhard Reutner-Fischer 74d518dc2a - add endian handling, mmap, memcmp checks to TARGET_CONFIGURE_ARGS
- use TARGET_CONFIGURE_ARGS where appropriate.
2007-06-27 12:01:27 +00:00
Bernhard Reutner-Fischer 187d5531b3 - correct installation path 2007-06-25 15:07:25 +00:00
Bernhard Reutner-Fischer 20b3086e5f - pass the correct endian 2007-04-20 11:12:50 +00:00
Eric Andersen 85d7f6f05f fixup package LDFLAGS handling 2007-03-13 22:59:59 +00:00
Bernhard Reutner-Fischer f46c397081 - fails for parallel builds, so force -j1
- improve the -clean target
2006-12-20 17:46:00 +00:00
Bernhard Reutner-Fischer 6342c83201 - use $(ZCAT) as configured by the user instead of hardcoded 'zcat' that may not exist; Closes #971
Silly, unchecked sed -i -e "/[^b]zcat/s/zcat/\$\(ZCAT\)/g" $(svngrep "[^b]zcat" * -rl | grep -v Config.in)
2006-10-01 15:17:52 +00:00
David Anders 09e3204b25 change patch level for netsnmp per case 0000707 2006-02-10 20:21:32 +00:00