diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2020-02-26 20:05:45 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2020-02-26 20:05:45 +0300 |
commit | 69deb6f81b3d1935a9b11e68bea7a3c0caac7771 (patch) | |
tree | ee726143e0e9a0f089b324dbee34e84c08358dae | |
parent | c0abb227cdf1c0771e65de68d50a7b5d89dfe2b5 (diff) |
added collectd
-rw-r--r-- | packages/sys-analyzer/collectd/collectd-5.9.2.exheres-0 | 7 | ||||
-rw-r--r-- | packages/sys-analyzer/collectd/collectd-scm.exheres-0 | 11 | ||||
-rw-r--r-- | packages/sys-analyzer/collectd/collectd.exlib | 29 |
3 files changed, 47 insertions, 0 deletions
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 <sss@sss.chaoslab.ru> + +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 <sss@sss.chaoslab.ru> + +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 <sss@sss.chaoslab.ru> + +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 +} |