summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/collectd
Commit message (Collapse)AuthorAgeFilesLines
* recipes: Start WORKDIR -> UNPACKDIR transitionKhem Raj2024-05-231-2/+2
| | | | | | | Replace references of WORKDIR with UNPACKDIR where it makes sense to do so in preparation for changing the default value of UNPACKDIR. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* collectd: Remove rrdtool from DEPENDSJordan Crouse2024-01-021-1/+1
| | | | | | | | | | | The core collectd tool does not require rrdtool to build. There are some configurable options that do need rrdtool but they are already properly adding the dependency in PACKAGECONFIG. This saves building half a dozen other libraries that wouldn't otherwise be present on a headless or server style target. Signed-of-by: Jordan Crouse <jorcrous@amazon.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* collectd: Use https in SRC_URI, add HOMEPAGEJörg Sommer2023-10-061-1/+2
| | | | | Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* collectd: build with rrdcached pluginΒούλγαρη Αικατερίνη2023-09-071-1/+1
| | | | | | | | | | | | | | | rrdcached package is provided by rrdtool recipe. The build dependency in PACKAGECONFIG is changed to rrdtool. The error was: Nothing PROVIDES 'rrdcached' but ../collectd_5.12.0.bb DEPENDS on or otherwise requires it). Close matches: rrdtool RPROVIDES rrdcached ERROR: Required build target 'collectd' has no buildable providers. Missing or unbuildable dependency chain was: ['collectd', 'rrdcached'] With the patch, collectd builds with no errors and the final image I tested includes collectd with rrdcached plugin. Tested on custom image with collectd_5.12.0. Signed-off-by: Βούλγαρη Αικατερίνη <aikaterini.voulgari@softcom-int.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* *.patch: add Upstream-Status to all patchesMartin Jansa2023-06-213-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is new patch-status QA check in oe-core: https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a This is temporary work around just to hide _many_ warnings from optional patch-status (if you add it to WARN_QA). This just added Upstream-Status: Pending everywhere without actually investigating what's the proper status. This is just to hide current QA warnings and to catch new .patch files being added without Upstream-Status, but the number of Pending patches is now terrible: 5 (26%) meta-xfce 6 (50%) meta-perl 15 (42%) meta-webserver 21 (36%) meta-gnome 25 (57%) meta-filesystems 26 (43%) meta-initramfs 45 (45%) meta-python 47 (55%) meta-multimedia 312 (63%) meta-networking 756 (61%) meta-oe Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* collectd: add a python PACKAGECONFIG, off by defaultAlexander Kanavin2022-09-141-0/+1
| | | | | | | This resolves python 3.11 errors as well. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update LICENSE variable to use SPDX license identifiersKhem Raj2022-03-041-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* collectd: Do not install /var/logPeter Kjellerstedt2021-11-031-2/+2
| | | | | | | Previously it installed an empty /var/log without anything in it. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-031-3/+3
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* collectd: fix the test condition for dash compatibilitySinan Kaya2020-11-231-4/+4
| | | | | | | | dash doesn't like double equal sign for test. Replace with single equal sign. Signed-off-by: Sinan Kaya <okaya@kernel.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* collect: do not build with -WerrorAlexander Kanavin2020-10-291-1/+1
| | | | | | | | | The option is prone to unwanted regressions, particularly new version of python has introduced new deprecations, which broke the build. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* collectd: make rrdtool and rrdcached optionalSinan Kaya2020-09-281-0/+2
| | | | | | | | rrdtool plugin pulls x11 library dependencies into the target. It should be only set on need basis. Signed-off-by: Sinan Kaya <okaya@kernel.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* collectd: upgrade 5.11.0 -> 5.12.0Zang Ruochen2020-09-101-2/+2
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* collectd: upgrade 5.10.0 -> 5.11.0Wang Mingyu2020-04-082-58/+3
| | | | | | | refresh 0001-Remove-including-sys-sysctl.h-on-glibc-based-systems.patch Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* collectd: upgrade 5.8.1 -> 5.10.0Wang Mingyu2020-03-025-95/+65
| | | | | | | | | | | | | 0001-conditionally-check-libvirt.patch Removed because it is not applicable to 5.10.0. Refresh the following patches: 0001-Remove-including-sys-sysctl.h-on-glibc-based-systems.patch 0001-configure-Check-for-Wno-error-format-truncation-comp.patch 0001-fix-to-build-with-glibc-2.25.patch Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-oe: Remove using python2Khem Raj2020-01-221-1/+1
| | | | | | | This change makes the parsing go though, we still might have build issues, which will be reported in world builds seprately Signed-off-by: Khem Raj <raj.khem@gmail.com>
* collectd: Fix build with glibc 2.30Khem Raj2019-07-302-0/+99
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* collectd: Upgrade to 5.8.1 releaseKhem Raj2018-12-183-11/+43
| | | | | | Fix build with gcc9 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* collectd: fix libvirt PACKAGECONFIGMartin Jansa2018-06-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | * fixes: ERROR: collectd-5.8.0-r0 do_configure: QA Issue: collectd: configure was passed unrecognised options: --disable-libvirt [unknown-configure-option] * the PACKAGECONFIG in meta-oe was introduced long time ago: commit 5fbe2ac4e8ff67707b907c736966ee3d3357fd0d Author: Wenzong Fan <wenzong.fan@windriver.com> Date:Tue Dec 23 16:55:50 2014 +0800 collectd: add PACKAGECONFIG for libvirt, libesmtp Add PACKAGECONFIG for libvirt, libesmtp to fix below warnings: and at that time in 5.4.1 there was libvirt (renamed from libvirtstats) option, since this commit: https://github.com/collectd/collectd/commit/553376a3a6c63875c84b406962e56b908dc4e675 but then in 5.5.0 it was renamed again to just virt: https://github.com/collectd/collectd/commit/62f948605f54e1f5575699360376d75a2f849faf Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* collectd: Upgrade to 5.8.0Khem Raj2018-05-175-84/+135
| | | | | | | | Fix build with gcc8 along the way Forward port existing patches Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* collectd: 5.7.1 -> 5.7.2Hongxu Jia2017-08-281-2/+2
| | | | | | | The 5.7.2 fixed CVE-2017-7401. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* collectd: Fix build with clangKhem Raj2017-08-131-4/+8
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* collectd: Upgrade to 5.7.1Khem Raj2017-04-268-235/+185
| | | | | | | | Drop upstreamed patches or backports Fix build with gcc7 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* collect: fix to build with glibc 2.25Qi.Chen@windriver.com2017-02-282-2/+25
| | | | | | | Fix to build with glibc 2.25 and remove from blacklist. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* python-edbus exquisite elementary libeweather unionfs-fuse xfsprogs gmtk ↵Martin Jansa2017-02-131-0/+2
| | | | | | | | | devilspie2 gnome-backgrounds gnome-desktop gnome-mime-data gtk-engines gtksourceview2 libgnomekbd libidl-native onboard libgpewidget ubi-utils-klibc kexec-tools-klibc gupnp-igd gupnp-tools dvb-apps gstreamer mpd crda netcat-openbsd wireshark gnokii libmbim mosh networkmanager-openvpn libtelepathy dbus-daemon-proxy libdbus-c++ php vala-dbus-binding-tool collectd libgxim pywbem gtkhtml2 fbida fontforge libsexy wayland-fits xstdcmap xf86-video-glamo font-adobe-100dpi font-adobe-utopia-100dpi font-bh-100dpi font-bh-lucidatypewriter-100dpi font-misc-misc crash a2jmidid libsdl2-mixer libsdl-mixer minidlna sylpheed libsdl2-ttf libsdl-ttf ode pidgin postgresql syslog-ng usb-modeswitch xdg-user-dirs gateone python3-cryptography-vectors python3-ndg-httpsclient python-cryptography-vectors python-pbr bundler netdata menulibre openzone xfce4-verve-plugin iperf terminus-font xf86-video-nouveau ipmiutil klibc-utils pmbw multipath-tools gparted, gnome-system-monitor, php, vala-dbus-binding-tool, gtkmathview, lmsensors, postgresql: Blacklist * fails repeatedly as reported in: http://lists.openembedded.org/pipermail/openembedded-devel/2017-February/111112.html Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* collectd: CVE-2016-6254Alexandru Moise2016-09-152-0/+56
| | | | | | | | | | Heap-based buffer overflow in the parse_packet function in network.c in collectd before 5.4.3 and 5.x before 5.5.2 allows remote attackers to cause a denial of service (daemon crash) or possibly execute arbitrary code via a crafted network packet. Signed-off-by: Alexandru Moise <alexandru.moise@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* collectd: make /etc/collectd.conf a CONFFILEKoen Kooi2016-08-221-0/+2
| | | | | | | | Getting your config nuked everytime you update collectd is annoying, so properly tag it as CONFFILES. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* collectd: replace deprecated readdir_r() with readdir()mingli.yu@windriver.com2016-07-292-3/+67
| | | | | | | | | | | | | | | | | | | | | | | * Replace the usage of readdir_r() with readdir() to address a compilation error under glibc 2.24 due to the deprecation of readdir_r | ../../collectd-5.5.0/src/vserver.c: In function 'vserver_read': | ../../collectd-5.5.0/src/vserver.c:167:3: error: 'readdir_r' is deprecated [-Werror=deprecated-declarations] | status = readdir_r (proc, (struct dirent *) dirent_buffer, &dent); | ^~~~~~ | In file included from /buildarea4/myu2/build/prj_test_20160722/bitbake_build/tmp/sysroots/qemux86/usr/include/features.h:368:0, | from /buildarea4/myu2/build/prj_test_20160722/bitbake_build/tmp/sysroots/qemux86/usr/include/stdio.h:27, | from ../../collectd-5.5.0/src/daemon/collectd.h:34, | from ../../collectd-5.5.0/src/vserver.c:29: | /buildarea4/myu2/build/prj_test_20160722/bitbake_build/tmp/sysroots/qemux86/usr/include/dirent.h:189:12: note: declared here | extern int __REDIRECT (readdir_r, | ^ [1]https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=7584a3f96de88d5eefe5d6c634515278cbfbf052;hp=8d9c92017d85f23ba6a2b3614b2f2bcf1820d6f0 Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* abiword, fbreader, tvheadend, glmark2, libqmi, modemmanager, thrift, wvdial, ↵Martin Jansa2016-06-131-0/+3
| | | | | | wvstreams, dt, collectd, gtkmathview, tcsh, glcompbench, geos, libspatialite, geis, grail, opencv, openwbem, fwts: blacklist, fails to build with gcc-6 or glibc-2.24 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* collectd: fix a floating dependence on openjdkRoy Li2015-09-231-0/+1
| | | | | | | | | | 1. fix a floating dependence on openjdk 2. fix the host contamination, since the default value of java home is /usr/lib/jvm: warning: library search path "/usr/lib/jvm/jre-1.7.0/lib/amd64/server" is unsafe for cross-compilation Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* collectd: fix a floating dependence on openldapRoy Li2015-09-231-0/+1
| | | | | Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* collectd: fix a floating dependence on libvirtRoy Li2015-09-082-1/+42
| | | | | | | | | | | | | Even though the PACKAGECONFIG of libvirt is used to fix the floating dependence, but enable-libvirt/disable-libvirt become useless after collectd upgrade, and libvirt is checked unconditionally, and lead to a floating dependence on libvirt. check if libvirt is available only when a user wants to use libvirt to fix this issue Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* collectd: upgrade to 5.5.0Roy Li2015-08-245-147/+41
| | | | | | | | | | | | | | | 1. remove two patch glibc-2.20-compatiblity.patch and 0001-netlink-ensure-size_t-portability-in-DEBUG-statement.patch, which have been merged into 2. update collectd-version.patch 3. redefine the collectd dependence 4. update the license, lots of components have been relicensed to the MIT license, and The majority of plugins is licensed either under the "MIT License" or the "GNU General Public License" 4. update the checksum Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* collectd: Add PACKAGECONFIG for mysql supportOtavio Salvador2015-07-161-1/+3
| | | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* collectd: fix world build issueArmin Kuster2015-05-111-1/+2
| | | | | | | | | | | | | ERROR: Nothing PROVIDES 'libmnl' (but /home/akuster/oss/clean/meta-openembedded/meta-oe/recipes-extended/collectd/collectd_5.4.1.bb DEPENDS on or otherwise requires it). Close matches: libnl libyaml libxml2 ERROR: Required build target 'collectd' has no buildable providers. Missing or unbuildable dependency chain was: ['collectd', 'libmnl'] remove libmnl from depends list to PACKAGECONFIG libmnl is in meta-networking. Signed-off-by: Armin Kuster <akuster808@gmail.com>
* collectd: Backport fix build with newer gccKhem Raj2015-03-032-0/+31
| | | | | | | | on mips we get the errors of type mismatch Change-Id: Ib7b3bd243417d1ba77e8167daf761fd4a2fc2e64 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* collectd: add PACKAGECONFIG for libvirt, libesmtpWenzong Fan2014-12-311-1/+3
| | | | | | | | | | | | Add PACKAGECONFIG for libvirt, libesmtp to fix below warnings: WARN: collectd: collectd rdepends on libvirt, but it isn't a build dependency? WARN: collectd: collectd rdepends on libcrypto, but it isn't a build dependency? WARN: collectd: collectd rdepends on libesmtp, but it isn't a build dependency? WARN: collectd: collectd rdepends on libssl, but it isn't a build dependency? Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* collectd: add systemd unit fileChong.Lu@windriver.com2014-09-262-2/+23
| | | | | | | Add systemd unit file for collectd. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* collectd: Upgrade to 5.4.1 and fix with glibc 2.20Khem Raj2014-09-263-9/+111
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* collectd: make pinba support a selectable featureMaciej Borzecki2014-08-211-0/+2
| | | | | | | | | Pinba support requires protobuf-c that is currently only available in meta-virtualization layer. Make this a selectable feature. Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl> Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* collectd: make amqp plugin a selectable featureMaciej Borzecki2014-08-151-0/+2
| | | | | | | | | | | The version of rabbitmq-c that collectd is compatible with, is older than currently available 0.5.0. This results in build errors triggerred by API deprecation at rabbitmq-c side. Make amqp plugin a selectable feature, disabled by default. Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl> Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: add missing pkgconfig class inheritsRichard Purdie2014-06-211-1/+1
| | | | | | | | * These recipes all use pkg-config in some way but were missing dependencies on the tool, this patch adds them. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* collectd: add threshold.so, load.so and disk.so in PRIVATE_LIBSJackie Huang2014-05-031-0/+3
| | | | | | | | | | | | to avoid the folloing warnings: log.world.20140418_190059.log/bitbake.log:WARNING: gegl-0.2.0 was registered as shlib provider for load.so, changing it to collectd-5.2.2 because it was built later log.world.20140418_190059.log/bitbake.log:WARNING: libgphoto2-camlibs-2.4.11 was registered as shlib provider for disk.so, changing it to collectd-5.2.2 because it was built later log.world.20140418_190059.log/bitbake.log:WARNING: gegl-0.2.0 was registered as shlib provider for threshold.so, changing it to collectd-5.2.2 because it was built later Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* collectd: explicitly enable/disable libsensors supportMing Liu2014-04-201-1/+2
| | | | | | | | To avoid an implicit build result. Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* collectd: fix init statusWenzong Fan2014-04-201-1/+12
| | | | | | | | Fix init status to get it works with 'service --status-all'. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* collectd: enable/disable libpq explicitlyWenzong Fan2014-04-201-1/+2
| | | | | | | | | | | | | | | | | | | | | | If '--with-libpq' is not included in configure options, the configure script will assume 'with-libpq=yes' and try to figure below variables out with 'pg_config': with_libpq_includedir, with_libpq_libdir This causes configure QA errors on some hosts that have 'pg_config' installed (which from postgresql-devel): * ERROR: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities. Anyways the target package should not depend on any host headers/libs, we should enable/disable the libpq support explicitly according to if the postgresql feature was enabled. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* collectd: Add PACKAGECONFIG for undeterministic dependenciesMartin Jansa2013-09-171-0/+7
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* collectd: remove empty /var/run directoryJonathan Liu2013-07-081-0/+3
| | | | | | | The /var/run directory is already created by base-files. Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* collectd: fix build failure with libnotify in sysrootPaul Eggleton2013-05-211-0/+1
| | | | | | | | | | If libnotify is in the sysroot, collectd will try to use it and then fail at do_compile because gtk/gtk.h can't be found. Since this is functionality that's not likely to be needed in the embedded context as far as collectd goes, just disable it. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* collectd: add recipe for 5.2.2Paul Eggleton2013-04-264-0/+307
Based on initial version by Koen Kooi <koen@beagleboard.org>. Initscript borrowed from Debian with some tweaks. Note that since collectd uses libltdl, building this successfully required OE-Core commit db84eaf851b22b262d9dc48eb55bd5224a00fdd2 or else you get an error about "config/compile" being missing. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>