if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.
This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.
Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
there may be some missing as my unpacked ports source is a little out of date
but this should catch the main things people might run into
the struct was reordered a second time in sysctl.h r1.192 to improve
compatibility but amd64 snapshot packages made it out before that happened
so the bumps are still needed
changes (CPUSTATES/etc). Last part.
- some of these might be in code that's not actually built or rarely
used but it's not worth the hassle evaluating that, i'm just bumping &
moving on.
- as mentioned before, there might still be runtime problems relating
to the addition or renumbering.
- Cf https://collectd.org/news.shtml#news106
- enable MQTT, Prometheus & Redis plugins
- remove .la files instead of @comment-ing them in PLISTs
- subpackage ping plugin so that ppl can avoid installing liboping (with
its setuid binary)
ok danj@
4k, i'm hitting "processes plugin: Command line did not fit into
buffer." warning way too much and this spams logs. Better solution would
be to dynamically alloc the array on the fly as-needed like top/ps
does..
- patch the correct kvm_open call to use KVM_NO_FILES. Also, use
kvm_openfiles instead, as was probably intended
- add a new implementation for tcpconns, based on kvm_getfiles instead
of peeking at kernel memory
ok landry@
- put the write_riemann plugin in its own subpackage, depending on
riemann-c-client.
- disable protobuf-c detection/dependency, used by two plugins we dont
enable (pinba and grpc)
- fix some WANTLIB
- the processes and tcpconns plugin still seem to be busted, calling
kvm_openfiles with O_RDONLY|KVM_NO_FILES is apparently not enough.
Interestingly, swap plugin (using the same code) works ?
Based on a diff from Pavel Korovin for 5.6.1, thanks!
use gnu libtool with -export-symbol-regex when linking them, otherwise
it fails to find module_register. While here fix PKGLOCALSTATEDIR and
PIDFILE in src/daemon/Makefile.in.
Somehow, my limited testing on powerpc didnt show this failure at all..
All this from Pavel Korovin, thanks!
Enable aggregation, curl_json, fhcount, log_logstash, memcached,
threshold, write_log & write_riemann plugins.
Add dependencies on devel/libyajl for curl_json & log_logstash and
devel/protobuf-c for write_riemann.
Add a README explaining how to run the daemon as _collectd user in case
you dont need the dns and ping plugins (the only ones requiring root).
Lots of patches merged upstream.
From Pavel Korovin with small tweaks by me, tested here on ppc.
whack processes.c to use the same codepaths as freebsd's, taking into
account kinfo_proc differences.. to be properly pushed upstream.
Tested on ppc & amd64.