73 Commits

Author SHA1 Message Date
landry
d2e9c0fd59 Update to collectd 5.8.1.
ok danj@
2018-11-18 19:39:29 +00:00
espie
f4b7f81318 convert to PKGSTEM 2018-09-04 12:46:09 +00:00
sthen
35879c22c0 Fix collectd's cpu module following addition of CP_SPIN (sched.h r1.45 et al)
Based on a diff from Johan Huldtgren, following discussion with Matthew Martin
2018-07-09 07:02:20 +00:00
sthen
114b1e4413 Bump the remaining ports to trigger updates following cpu stats
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.
2018-06-01 15:44:28 +00:00
landry
03f30b9a57 Update to collectd 5.8.0.
- 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@
2018-04-28 14:40:26 +00:00
sthen
7934f5c225 bump REVISION on DIOCGETSTATUS users due to ABI break in base 2018-02-15 11:17:05 +00:00
sthen
22f4eebe00 fix bump 2018-01-12 20:43:48 +00:00
rpe
9a8b5ccd06 Change the shebang line from /bin/sh to /bin/ksh in all ports rc.d
daemon scripts and bump subpackages that contain the *.rc scripts.

discussed with and OK aja@
OK tb
2018-01-11 19:27:01 +00:00
sthen
cd095cec5e Handle pthread-stubs removal. 2017-10-23 17:11:02 +00:00
ajacoutot
f94354288a Make the rc.d script match our style and remove obvious comment.
While here, remove the gettext MODULE.
2017-07-08 17:37:36 +00:00
danj
08c3b51d84 Patches were committed upstream 2017-07-01 13:35:30 +00:00
danj
977bd0d31b Enlarge some buffers because 2048 is not enough to get getgrnam_r result.
Also fix errno handling in exec.c. Many thanks to jca@ for the help.

"if it builds, ship it" jca@
2017-06-29 00:33:59 +00:00
danj
9db54d7b33 Security update to collectd-5.7.2, fixes CVE-2017-7401
Tested by Pavel Korovin
2017-06-12 17:22:42 +00:00
landry
172b707924 Update to collectd 5.7.1, from Pavel Korovin, thanks !
See https://collectd.org/wiki/index.php/Version_5.7
2017-04-30 17:52:15 +00:00
ajacoutot
a4751d331b Missed bump. 2017-02-18 17:33:51 +00:00
ajacoutot
1722249aa0 idn -> idn2 after gnutls WANTLIB change. 2017-02-18 17:32:37 +00:00
landry
c55f7ac65c Ugly bandaid: bump CMDLINE_BUFFER_SIZE to 16k instead of defaulting to
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..
2016-12-12 17:55:24 +00:00
landry
f9eaf01334 add link to upstream pull-request 2016-12-08 10:06:42 +00:00
landry
3981736abe Drop useless patch, netinet/in.h is properly detected and included. 2016-12-08 09:42:11 +00:00
jca
8cce6470d9 Unbreak the kvm(3) calls used by the processes and tcpconns plugins.
- 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@
2016-12-04 16:56:53 +00:00
jca
6eedafef6f Kill useless patch.
This plugin uses swapctl(2), not kvm_getswapinfo(3) (which we don't
provide).
2016-12-04 16:52:39 +00:00
landry
99f2ee96c4 Update to collectd 5.6.2.
- 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!
2016-12-03 11:44:41 +00:00
jca
8ddf812acd Use KVM_NO_FILES to unbreak processes and swap plugins.
The tcpconns plugin needs more work, using kvm_getfiles(3) or sysctl(3).
Prodded by landry@
2016-12-02 15:50:29 +00:00
sthen
2d2a417458 sync WANTLIB (readding idn to some where I was overzealous, plus some lzma/pthread) 2016-11-07 10:51:36 +00:00
sthen
c15b136e13 sync WANTLIB (and in one case, add gettext to LIB_DEPENDS) in dependent ports
now that internationalised domain name support has been removed from net/curl
2016-11-04 11:35:18 +00:00
landry
9d52f74e0e Update to collectd 5.5.1.
Remove patches merged upstream, add patch to fix the build from
https://github.com/collectd/collectd/issues/1674
2016-06-13 09:12:40 +00:00
sthen
5f98583af5 handle rrdtool lib change that I missed in collectd when I looked at
sqlports results (thanks nigel for pointing out), sync other wantlib
while there.
2016-04-22 15:27:45 +00:00
naddy
deea7ed07b drop SHARED_ONLY from python and ruby ports 2016-03-20 16:12:22 +00:00
sthen
981d86d970 sync WANTLIB (curl+nghttp2) 2015-10-30 12:59:16 +00:00
sthen
391dc93fe7 REVISION bumps following the additional member in struct if_data,
to make sure packages get updated
2015-10-05 16:29:01 +00:00
sthen
a626ee54a0 sync WANTLIB 2015-08-12 22:27:31 +00:00
landry
9746975e2e Backport fix for https://github.com/collectd/collectd/issues/1094
ok sthen@
2015-07-31 12:06:18 +00:00
landry
5baedee076 Regen patches. 2015-07-31 12:05:36 +00:00
landry
b1570099de Fix previous, collectd failed to load its plugins and really wants to
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!
2015-07-27 14:53:38 +00:00
landry
2b05235748 Update to collectd 5.5.0.
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.
2015-07-23 07:33:17 +00:00
sthen
fbd92509fc bump REVISIONs following DIOCGETSTATUS ABI change 2015-06-10 10:43:29 +00:00
landry
3dc0616b30 Update to collectd 5.4.2.
See https://github.com/collectd/collectd/releases/tag/collectd-5.4.2 for details.

Enable memcachec, libvirt, python and nut plugins, each in its subpackage.

ok ajacoutot@
2015-05-03 10:41:34 +00:00
naddy
29704fbaad <netinet/in.h> before <net/pfvar.h> 2015-01-23 13:01:16 +00:00
naddy
9118259504 Drop USE_GROFF: trivial page footer and acceptable formatting differences
only.
2015-01-22 20:26:43 +00:00
landry
ba2193a487 Enable the ping plugin via liboping.
Update PLISTs while here and add lzma to WANTLIBs (added via curl)
2014-12-01 09:07:12 +00:00
landry
871200dbb8 More links to pull requests merged upstream. 2014-11-17 15:23:12 +00:00
landry
70acb3cdc9 add links to upstream github PR 2014-10-27 09:07:07 +00:00
landry
1cd40058ea Enable the processes & rrdcached plugins.
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.
2014-10-26 20:43:56 +00:00
landry
65cbb87679 Fix patch, somehow i failed at merging this.. noticed by rpe@, thanks! 2014-09-26 22:19:32 +00:00
landry
52a62809c3 Long awaited update to collectd 5.4.1.
- remove useless MESSAGE, provide an rc script instead
- enable pf, target_v5upgrade, tail_csv and write_graphite plugins
- backport fixes from FreeBSD and NetBSD to build with newer libstatgrab
  (upstream collectd github ticket #445)
- remove the check and inclusion of pcap-bpf.h, we dont have/need it
- users of the previous 4.x version should refer to
  https://collectd.org/wiki/index.php/V4_to_v5_migration_guide for the
upgrade path.

tested on ppc & amd64.
2014-09-25 20:10:13 +00:00
brad
b94a402501 Switch from using MySQL to using MariaDB attempt #2. MariaDB is a drop-in replacement.
ok sthen@
2014-09-13 18:09:20 +00:00
sthen
d28ae1dd0c include vmmeter.h 2014-07-11 00:12:15 +00:00
ajacoutot
892849cf02 Sync wantlib after kerberos removal from postgresql. 2014-04-21 13:33:08 +00:00
landry
5737d43f49 Install the example collectd.conf with 644 mode, and use @mode 640 for
the @sample version.
2014-01-24 20:40:17 +00:00
krw
ae52e93779 Replace circleq inpt_queue with tailq, as inpt_queue is now a TAILQ.
Spotted in bulk build by sthen@.
2013-12-28 20:44:21 +00:00