New package: collectd-5.5.0

This commit is contained in:
Steve Prybylski 2015-09-14 17:00:16 -04:00
parent 45e4ace1f6
commit b77ef8eaaa
8 changed files with 1592 additions and 0 deletions

View file

@ -2163,3 +2163,4 @@ libgflags.so.2 gflags-2.1.2_1
libgflags_nothreads.so.2 gflags-2.1.2_1
libswmhack.so.0.0 spectrwm-2.7.2_1
libchardet.so.1 libchardet-1.0.4_1
libcollectdclient.so.1 libcollectdclient-5.5.0_1

1
srcpkgs/collectd-utils Symbolic link
View file

@ -0,0 +1 @@
collectd

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,2 @@
#!/bin/sh
exec collectd -f

View file

@ -0,0 +1,22 @@
--- configure.ac.orig 2015-09-16 11:08:07.715932841 -0400
+++ configure.ac 2015-09-16 11:08:11.162932736 -0400
@@ -49,6 +49,7 @@
AC_PROG_YACC
PKG_PROG_PKG_CONFIG
+AC_GNU_SOURCE
AC_CHECK_PROG([have_protoc_c], [protoc-c], [yes], [no])
AC_CHECK_HEADERS([google/protobuf-c/protobuf-c.h],
[have_protobuf_c_h="yes"],
--- ./src/daemon/Makefile.am.orig 2015-09-16 11:08:07.715932841 -0400
+++ ./src/daemon/Makefile.am 2015-09-16 11:08:07.715932841 -0400
@@ -49,7 +49,7 @@
collectd_CFLAGS = $(AM_CFLAGS)
collectd_LDFLAGS = -export-dynamic
collectd_LDADD = libavltree.la libcommon.la libheap.la -lm
-collectd_DEPENDENCIES =
+collectd_DEPENDENCIES = libavltree.la libcommon.la libheap.la
# Link to these libraries..
if BUILD_WITH_LIBRT

65
srcpkgs/collectd/template Normal file
View file

@ -0,0 +1,65 @@
# Template file for 'collectd'
pkgname=collectd
version=5.5.0
revision=1
build_style=gnu-configure
configure_args="$(vopt_enable rrdtool rrdtool) $(vopt_enable perl perl)
--with-libiptc --enable-virt --sysconfdir=/etc --disable-static --with-fp-layout=nothing"
hostmakedepends="autoconf automake pkg-config libtool libltdl-devel glib-devel"
makedepends="libcurl-devel iptables-devel libressl-devel libsensors-devel
libesmtp-devel zlib-devel yajl-devel python-devel libxml2-devel net-snmp-devel
libgcrypt-devel libmysqlclient-devel libvirt-devel libnotify-devel
$(vopt_if rrdtool rrdtool-devel)"
conf_files="/etc/collectd.conf"
short_desc="Daemon which collects system performance statistics periodically"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="GPL-2, MIT"
homepage="http://collectd.org"
distfiles="http://collectd.org/files/${pkgname}-${version}.tar.gz"
checksum=5f7cfad5b24ed4f8b113cfb270e0f9e5a9f7c3af10443cb507fd40174a6c9028
build_options="rrdtool perl"
desc_option_rrdtool="Enable support for RRDTool"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="rrdtool perl"
fi
pre_configure() {
autoreconf -fi
}
post_install() {
vinstall ${FILESDIR}/collectd.conf 640 etc/
vsv collectd
vlicense COPYING
}
collectd-utils_package() {
short_desc+=" - utilities"
pkg_install() {
for util in collectd-nagios collectd-tg collectdctl; do
vmove usr/bin/${util}
vmove usr/share/man/man1/${util}.1
done
}
}
libcollectdclient_package() {
short_desc+=" - shared libraries"
pkg_install() {
vmove usr/lib/libcollectdclient.so*
}
}
libcollectdclient-devel_package() {
short_desc+=" - development files"
depends="libcollectdclient>=${version}_${revision}"
pkg_install() {
vmove usr/include/
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
}
}

1
srcpkgs/libcollectdclient Symbolic link
View file

@ -0,0 +1 @@
collectd

View file

@ -0,0 +1 @@
collectd