collectd is a small daemon written in C for performance. It reads various
system & network statistics along with updating output RRD or CSV files.
The daemon is very fast and allows for frequent polling of values, with
support for polling as frequent as every 10 seconds.
net-mgmt/collectd5: Improve port
* Make PF plugin optional (ON by default) due to external dependency
* Pet port{clippy,fmt}
* Fix build with options PYTHON, TOKYOTYRANT, VIRT
* Remove GNU_CONFIGURE_MANPREFIX
* Remove unnecessary CPPFLAGS and LIBS
Bump port revision for package change.
PR: 288813
Approved by: Krzysztof <ports@bsdserwis.com> (maintainer)
Co-authored-by: Vladimir Druzenko <vvd@FreeBSD.org>
*/*: Bump PORTREVISION for devel/protobuf-c update
libprotobuf-c.so once again has version info. Force a rebuild of
its consumers.
PR: 282060
MFH: 2025Q3
Sponsored by: <If the change was sponsored by an organization.>
gnome.mk: rename gdkpixbuf2 to gdkpixbuf to prepare for port move
The GTK 1-based gdk-pixbuf has not existed for some time.
No functional or package changes.
Mk/**java.mk: Convert bsd.java.mk to USES
The following features have been added or changed:
- Instead of USE_JAVA use USES=java. This defaults to
USES=java:build,run if NO_BUILD is undefined. Else it defaults to
USES=java:run
- Instead of USE_ANT=yes use USES=java:ant which also implies
USES=java:build
- Instead of JAVA_BUILD=yes use USES=java:build. Does not imply run or
extract
- Instead of JAVA_EXTRACT=yes use USES=java:extract does not imply
build or run
- Instead of JAVA_RUN=yes use USES=java:run does not imply extract or
build
- Instead of USE_JAVA=<version> use USES=java and JAVA_VERSION=<version>
Approved by: mat (portmgr), glewis
Differential Revision: https://reviews.freebsd.org/D48201
net-mgmt/collectd5: Eliminate -lgcrypt from LIBS
...so it isn't linked into every executable and library.
This came up when trying to fix a crash involving libgcrypt,
libgpg-error and libintl from gettext 0.22. This crash has been
fixed in fb889ca82944.
PR: 272517
net-mgmt/collectd5: update varnish dependency, modify nut dependency
As discussed in PR 265217 there is small patch for the nut (libups)
dependency. I also add the actual varnish depndency (6 instead of 4).
PR: 268972, 265217
Mk/**ldap.mk: Convert USE_LDAP to USES=ldap
Convert the USE_LDAP=yes to USES=ldap and adds the following features:
- Adds the argument USES=ldap:server to add openldap2{4|5|6}-server as
RUN_DEPENDS
- Adds the argument USES=ldap<version> and replaces WANT_OPENLDAP_VER
- Adds OPENLDAP versions in bsd.default-versions.mk
- Adds USE_OPENLDAP/WANT_OPENLDAP_VER in Mk/bsd.sanity.mk
- Changes consumers to use the features
Reviewed by: delphij
Approved by: portmgr
Differential Revision: https://reviews.freebsd.org/D38233
net-mgmt/collectd5: Update dependency for NUTUPS option
Network UPS Tools project changed filename of one of its libraries,
update dependency entry to accordingly.
PR: 265217
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
net-mgmt: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* @BABOLO <.@babolo.ru>
* Alex Samorukov, samm@freebsd.org
* Alexander Kriventsov <avk@vl.ru>
* Alexander Sulfrian <alexander@sulfrian.net>
* Alexander Y. Grigoryev <alexander.4mail@gmail.com>
* Alexandre Biancalana <ale@biancalanas.net>
* Alexandre Snarskii <snar@paranoia.ru>
* Alexandre Snarskii <snar@snar.spb.ru>
* Alexey Bobkov <mr.deadlystorm@gmail.com>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Alexey V. Degtyarev
(Only the first 15 lines of the commit message are shown above )
net-mgmt/collectd5: Chase 31418910e0f4, update sysutils/nut to 2.8.0
Nut upsclient.h no longer includes time.h. Apps which build against
upsclient.h must now include time.h or fail to detect nut libraries
due to missing time_t.
PR: 263791
Reported by: Petteri Valkonen <petteri.valkonen@iki.fi>
net-mgmt/collectd5: Various fixes
- Fix build when the CURL_XML option is enabled;
- Fix activation/deactivation of a few plugins.
PR: 238959
Submitted by: Krzysztof <ports@bsdserwis.com> (maintainer)
Reported by: Chip Cuccio <chip.cuccio@gmail.com>
net-mgmt/collectd5: Add write_prometheus support
The plugin write_promethues, already present in collectd5, is now
configuration via the option PROMETHEUS
PR: PR227634
Approved by: maintainer
Sponsored by: trivago N.V.
Add a patch that sends a probe packet to the server when setting up the
client socket. It helps in a few cases where the server has multiple
addresses, only some of them are reachable, and connect() succeeds even
though sendto() will fail.
Approved by: maintainer
Allow collectd to use python3 if optional python support is activated
PR: 222742
Submitted by: mi@ALDAN.algebra.com
Approved by: ports@bsdserwis.com (maintainer)
MFH: 2017Q4 (ports-secteam fix blanket)
Enable the DEBUG, GCRYPT and PING options by default.
DEBUG is required for any sort of troubleshooting, GCRYPT is required to
encrypt communication with the server, and PING is one of the most basic
sensors which everybody uses. My hope is that with these three options,
more people will be able to use collectd without having to recompile it.
Approved by: maintainer
Revision bump of all ports with USE_GL after consolidation of mesa-libs
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D10845
net-mgmt/collectd5: Update to version 5.7.1.
Other Changes:
- Remove unnecessary global BUILD_DEPENDS, LIB_DEPENDS and RUN_DEPENDS.
- Redo patches to fix portlint warnings.
- Fix linked library errors reported by poudriere.
Remaining issue:
- When the XMMS option is selected, xmms.so is linked to libraries in
devel/glib12 and x11-toolkits/gtk12, but adding
XMMS_USE=GNOME=glib12,gtk12 causes a build error.
PR: 216670
Submitted by: ports@bsdserwis.com (maintainer)
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D9444
Do not redefine DEBUG_DESC when its meaning more or less matches the default
option description. Those ports where it meant something more specific were
left untouched.
net-mgmt/collectd5: fix disk plugin issue for FreeBSD versions 10+
The file lib/collectd/disk.so was being commented out in pkg-plist for
all FreeBSD versions instead of just for versions less than 10.
Reported by: pierre@guinoiseau.eu (via ports-committers@)
Reviewed by: swills (mentor)
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D8042
Update net-mgmt/collectd5 to version 5.6.0
- new port options CHRONY and MQTT
- disable disk plugin on FreeBSD 9.x due to missing OS files
- various patch changes
PR: 212832
Submitted by: ports@bsdserwis.com (maintainer)
Reviewed by: swills (mentor)
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D8028
Update databases/rrdtool to 1.6.0
Most notably, this version of rrdtools.so is thread safe, so the
rrdtools_th.so library is removed.
Bump portrevision for depending ports due to shlib version bump.
For full changelog: http://oss.oetiker.ch/rrdtool/pub/CHANGES
Reviewed by: kwm
Differential Revision: D6168
Add back part of a patch removed by mistake.
Allows disk module to report all disk statistics again.
PR: 207049
Submitted by: me
Reported by: Pierre Guinoiseau <pierre at guinoiseau.eu>
Approved by: Krzysztof <ports at bsdserwis.com>
net-mgmt/collectd5: finish option helpers conversion
- Switch PERL and PYTHON options over and drop the bsd.port.options.mk
include following r404759's update to bsd.options.mk
PR: 204220
Submitted by: Krzysztof <ports@bsdserwis.com> (maintainer)
net-mgmt/collectd5: partially convert to option helpers [1]
- Add explicit CURL_JSON and CURL_XML options. Previously these options
would be automatically enabled when CURL and JSON or CURL and XML were
selected together. Change them to an _IMPLIES variable as an explicit
option
- Convert all options except PERL and PYTHON, for the time being, to the
new framework. The option helper variant is not expanding ${PYTHON_CMD}
and is currently passing it as "--with-python= " which fails to build.
- No PORTREVISION change given no change to package
- While here, tag VARNISH as BROKEN, fails to compile with varnish4-4.1 [2]
PR: 204220 [1]
PR: 204583 [2]
Submitted by: Krzysztof <ports@bsdserwis.com> (maintainer) [1]
net-mgmt/collectd5: add support for write_kafka plugin
While here, also sort OPTIONS_GROUP_OUTPUT and two DESC items
PR: 202487
Submitted by: xoan333@yahoo.com
Approved by: Krzysztof <ports@bsdserwis.com> (maintainer), feld (mentor)
Require python version 2, because it dumps core with python3:
# collectd -f
Fatal Python error: no mem for sys.argv
ValueError: character U+6f633c00 is not in range [U+0000; U+10ffff]
Abort (core dumped)
Approved by: maintainer
security/libgcrypt: 1.6.1 -> 1.6.2, bump depends
Changes:
- src/sexp.c (do_vsexp_sscan): Return error for invalid args.
- cipher/md.c (_gcry_md_info): Fix a segv in case of calling
with wrong parameters.
- cipher/primegen.c (_gcry_generate_elg_prime): Change to return an
error code, possible NULL deref in call to prime generator.
- cipher/dsa.c (generate): Take care of new return code.
- cipher/elgamal.c (generate): Change to return an error code. Take
care of _gcry_generate_elg_prime return code.
- ecc: Support the non-standard 0x40 compression flag for EdDSA.
- mpi: Extend the internal mpi_get_buffer.
- mpi: Fix regression for powerpc-apple-darwin detection.
- Fix bug inhibiting the use of the sentinel attribute in src/gcrypt.h.in
(Only the first 15 lines of the commit message are shown above )
databases/libmemcached: Update to 1.0.18 and much more
- Update to 1.0.18 and pkg-plist accordingly
- Add LICENSE (BSD3CLAUSE) and LICENSE_FILE
- Add TEST_DEPENDS and regression-test target
- Perl is not required, remove USE_PERL and from USES
- Split LDFLAGS from CONFIGURE_ENV, they're already set there
- Add libmemcachedprotocol to CONFIGURE_ARGS (Now default: off)
- Add OPTIONS for hash functions, debug and dtrace
- pkg-descr: Update WWW: URL
- Add patches for:
* alloca.h include not found on FreeBSD
* cinttypes include location
* clang compatibility
- Strip shared libraries manually since upstream install-strip target is
fail
Changes:
https://launchpad.net/libmemcached/+announcements
[1] https://bugs.launchpad.net/libmemcached/+bug/1245562
[2] https://bugs.launchpad.net/libmemcached/+bug/1400560
Approved by: Mikhail Tsatsenko <m.tsatsenko@gmail.com> (maintainer, via email)
Change the way Perl modules are installed, update the default Perl to 5.18.
Before, we had:
site_perl : lib/perl5/site_perl/5.18
site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
perl_man3 : lib/perl5/5.18/man/man3
Now we have:
site_perl : lib/perl5/site_perl
site_arch : lib/perl5/site_perl/mach/5.18
perl_man3 : lib/perl5/site_perl/man/man3
Modules without any .so will be installed at the same place regardless of the
(Only the first 15 lines of the commit message are shown above )