From 69deb6f81b3d1935a9b11e68bea7a3c0caac7771 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Wed, 26 Feb 2020 20:05:45 +0300 Subject: added collectd --- .../sys-analyzer/collectd/collectd-5.9.2.exheres-0 | 7 ++++++ .../sys-analyzer/collectd/collectd-scm.exheres-0 | 11 ++++++++ packages/sys-analyzer/collectd/collectd.exlib | 29 ++++++++++++++++++++++ 3 files changed, 47 insertions(+) create mode 100644 packages/sys-analyzer/collectd/collectd-5.9.2.exheres-0 create mode 100644 packages/sys-analyzer/collectd/collectd-scm.exheres-0 create mode 100644 packages/sys-analyzer/collectd/collectd.exlib (limited to 'packages/sys-analyzer') diff --git a/packages/sys-analyzer/collectd/collectd-5.9.2.exheres-0 b/packages/sys-analyzer/collectd/collectd-5.9.2.exheres-0 new file mode 100644 index 0000000..9fd8ab0 --- /dev/null +++ b/packages/sys-analyzer/collectd/collectd-5.9.2.exheres-0 @@ -0,0 +1,7 @@ +# Distributed under the terms of the GNU General Public License v2 +# Copyright 2020 Gluzskiy Alexandr + +require collectd + +PLATFORMS="~amd64 ~x86" + diff --git a/packages/sys-analyzer/collectd/collectd-scm.exheres-0 b/packages/sys-analyzer/collectd/collectd-scm.exheres-0 new file mode 100644 index 0000000..8bd5251 --- /dev/null +++ b/packages/sys-analyzer/collectd/collectd-scm.exheres-0 @@ -0,0 +1,11 @@ +# Distributed under the terms of the GNU General Public License v2 +# Copyright 2020 Gluzskiy Alexandr + +SCM_EXTERNAL_REFS=" + gnulib: +" + +require collectd + +PLATFORMS="~amd64 ~x86" + diff --git a/packages/sys-analyzer/collectd/collectd.exlib b/packages/sys-analyzer/collectd/collectd.exlib new file mode 100644 index 0000000..9e5c3ed --- /dev/null +++ b/packages/sys-analyzer/collectd/collectd.exlib @@ -0,0 +1,29 @@ +# Distributed under the terms of the GNU General Public License v2 +# Copyright 2020 Gluzskiy Alexandr + +require github [ user=collectd tag=${PNV} ] +require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.16 ] ] + +export_exlib_phases src_install + +SUMMARY="The system statistics collection daemon." +LICENCES="MIT" +SLOT="0" + +#RESTRICT="test" + +#TODO: suggestions + +DEFAULT_SRC_CONFIGURE_PARAMS=( + --disable-werror +) + +collectd_src_install() { + default + nonfatal edo rmdir "${IMAGE}"/var/lib/log + nonfatal edo rmdir "${IMAGE}"/var/lib/run + nonfatal edo rmdir "${IMAGE}"/var/lib/lib/collectd + nonfatal edo rmdir "${IMAGE}"/var/lib/lib + nonfatal edo rmdir "${IMAGE}"/var/lib + nonfatal edo rmdir "${IMAGE}"/var +} -- cgit v1.2.3