summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Huettel (dilfridge) <mail@akhuettel.de>2010-09-24 21:06:41 +0200
committerAndreas K. Huettel (dilfridge) <mail@akhuettel.de>2010-09-24 21:06:41 +0200
commitc3db37ffc4cae819822d8a70856e44c4517e49e9 (patch)
tree4206c68d36a9732a55acee1726f5fab4739fb6bd /app-admin
parent[app-admin/collectd] Started "all testing" (diff)
downloaddilfridge-c3db37ffc4cae819822d8a70856e44c4517e49e9.tar.gz
dilfridge-c3db37ffc4cae819822d8a70856e44c4517e49e9.tar.bz2
dilfridge-c3db37ffc4cae819822d8a70856e44c4517e49e9.zip
[app-admin/collectd] Cleanups, fixed libperl, added allplugins useflag
(Portage version: 2.1.8.3/git/Linux x86_64) (Signed Manifest commit)
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/collectd/ChangeLog6
-rw-r--r--app-admin/collectd/Manifest35
-rw-r--r--app-admin/collectd/collectd-4.10.1-r1.ebuild115
-rw-r--r--app-admin/collectd/files/collectd-4.10.1-libperl.patch29
-rw-r--r--app-admin/collectd/metadata.xml1
-rw-r--r--app-admin/collectd/notes.txt229
6 files changed, 106 insertions, 309 deletions
diff --git a/app-admin/collectd/ChangeLog b/app-admin/collectd/ChangeLog
index 762f414..f7120a9 100644
--- a/app-admin/collectd/ChangeLog
+++ b/app-admin/collectd/ChangeLog
@@ -2,6 +2,12 @@
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 24 Sep 2010; Andreas K. Huettel <dilfridge@gentoo.org>
+ collectd-4.10.1-r1.ebuild, +files/collectd-4.10.1-libperl.patch,
+ notes.txt:
+ Compile-tested and enabled for now only the tested plugins. Prepared for
+ tree commit. Sorted out libperl asneeded issue (well, kind of).
+
21 Sep 2010; Andreas K. Huettel <dilfridge@gentoo.org>
collectd-4.10.1-r1.ebuild:
More elaborate warnings and TESTED_PLUGINS classification
diff --git a/app-admin/collectd/Manifest b/app-admin/collectd/Manifest
index 873864f..1df37c7 100644
--- a/app-admin/collectd/Manifest
+++ b/app-admin/collectd/Manifest
@@ -2,27 +2,28 @@
Hash: SHA1
AUX collectd-4.10.1-libiptc.patch 534 RMD160 dd6c016797ec4e6e5c7c67bbbeddd50d1c59badc SHA1 253efd36642f7ab1253bcc307e0f4d0e1a4d8e21 SHA256 f6c63e0cb686e4d7a655b9ff0b69e8ba75a9cf40c2ae79c6ec97c1e7377d2f4e
+AUX collectd-4.10.1-libperl.patch 917 RMD160 2feb20abbf7fd036e34957c190689f1e668ff321 SHA1 1c8312b576faa6a855f4f615995b007b108325ba SHA256 26e3c74392166a2438d7106e94953f871aedfe3b643c866afc8865c1ef7534c7
AUX collectd.confd 529 RMD160 d8cdc1db33b611a3bcfbce0fb9723ebc976c4391 SHA1 c7f580e256d06f20946cf411e43225f2e3b32064 SHA256 e37808c26a7d1f34fe29f942edb4b798bf9ccf3258e780d0ed3166581b5c71b1
AUX collectd.initd 661 RMD160 a8a810a3f4970525a9694cd97a02ba703b8bdde6 SHA1 2859d5c0a2d4ad22e91f8eeb35f450690445021c SHA256 87144b300c4d32d2cb36272d035fb1d6760b9708765015140607e3e2b844ffb6
DIST collectd-4.10.1.tar.bz2 1415626 RMD160 f609f70bd7bb789ab54ca72edd34c3753692ff00 SHA1 bda5c918761b98e82fa18da056f60916703b5805 SHA256 607ea5d22164eaf434223dd39a1df453103e2f3c2f2b8c1dbfc1531eefb6df56
-EBUILD collectd-4.10.1-r1.ebuild 12307 RMD160 855bbb46afe53fb1c2cf3ca8edd5dcd7995ca3e2 SHA1 6a1d819cc7908e176bd67968315d08b15ca8c8d1 SHA256 b47f369f69715a77f30095ea9e42474e3828e2e7d8211ab0a1c9a0cfefcbd156
-MISC ChangeLog 1061 RMD160 49b7a8522966f71be37359c7c14081578f11dc7c SHA1 61528f8cb68f1ae48c765331bf765fe6879710d3 SHA256 ba54475b8b13e32cf2964b20078e3621f1530d5c67cf8e3f4b65e8bdf2cb0372
-MISC metadata.xml 8612 RMD160 8fd73c86221bfe3b4c1d5b9a56373cdd3a6d026f SHA1 3e89f5dd259567fff5b6403ac95fc62ade6a1297 SHA256 6c4a9cac139f3ddc7644e123c54d2d12b955bd4bee295f65f10eb76214694686
-MISC notes.txt 5696 RMD160 798dc0a767cc1af6ce53272cd27c6181a05ba8fb SHA1 4273ebb65cf9ae940907ca201b31368d6d9d9cf0 SHA256 ae76804f0a128cdc99da54fe6b1cf352d8a9f44a70e7301da064c6aad2709673
+EBUILD collectd-4.10.1-r1.ebuild 12446 RMD160 6c1d050710a538e07e39514b648b685d07176db3 SHA1 c54dd3cade8d49a6c5b0c6ccaa5e9c6dadc51488 SHA256 5fba498e58756ee24b00d03d643fb191ce6e394191a536a2d3727b65c5204f0f
+MISC ChangeLog 1340 RMD160 47dac2395e92c50ef4810701096b24dbdef180bb SHA1 10b32df181ac1e799553f0549a808a77b48f6a9b SHA256 4f7dcf110949fa871e2d9c444f63722477d919f07404e7ca1b332c54f9247c0d
+MISC metadata.xml 8724 RMD160 5836d0acc0cff11bf2d67464f41c145e075f5de5 SHA1 882bd68ef117a7d73d2e69041b078b766f34c325 SHA256 ae52176f4d66165168425cf1c0910ba54ecff7f564a484f4c599f41b3779d194
+MISC notes.txt 1510 RMD160 8372cce8a7a3e88325c14c3bdfa843f066bccec6 SHA1 8cd35623ed3d93d8868ee4b79293322040cebf19 SHA256 20d633a56ab86862c70461ab455950b1fa38b0bc8672c7e33a5702367dd14328
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
-iQIcBAEBAgAGBQJMm8CgAAoJENwGBM22xffebMkP/0oX4fSoJJpDJ0sgk6INVYxb
-jUCsVl0JRDr1eLPnBx0zJQrRSA4vsAlQHvR7m9fOR5xZv/oHakoRLEku2R65GyDN
-m37+ED+ATl492CKKuISN+YKdf/F3tCPISdVpo883vN7eFErC1j0F5Uz8OTOUzTJm
-XDVla10PJ5pDqUCnM0Tba/3exg0Ppp6nePgxKzYq6hijIJ/rHH7zbnGmPcsSBox0
-3zqB7vVuFjMtnXmHp3dgEyzGCl3JJq2Zz62v6mXZbi72LvswECw+sY+PpHyqTTpw
-/dontPb6GszqLBcqBVO43DdpBA9wVV/kcRleVc4VNK47HyCDytq6bTNfGKPGiesV
-JnLWrMXsYODxC+XfVf9X+hOwGYdVJrA7tUnrGDE+Y1VJysaaDaeDfjfJ2OBa/Wl/
-ePztz1rRdsIiEstrRrbDN20zHmiqohZ3kK3K3j8WdJVuzzbJLvVdbN4TJdgwZkHA
-zzXNj5Lp2sOO3pPY2vKyIuVOT3/estdmhqMGgTYTQ8gBLjEBJyZdICm7RA9SDwSv
-cBlT1i0lpFumVUmL9OVUrnemLrKg8UTbnZEa86ThQqapyQQSQYBg7FEJxpQX3/U2
-ZOQGknwPNVRt7qEWkYFfsa2FIpDOX2daaeymlFy2p2JcYoNxhC5UaalwI81AHyXP
-qKEEjctEtU/67uGEndIO
-=jhos
+iQIcBAEBAgAGBQJMnPbBAAoJENwGBM22xffeCGQQAIDzr1bGT/WNgeYjANBMfNnu
+nZnG5sCxKmRLRbidDEeL7q8R7IY5pq9/8Q2DUrnnNONyyQYV/2sLG7nj32hTB8im
+xVFldGxDI/9ZKq4BMyVo8n81CUjBXNwZD5EK0YSg+hzjYU6b9b9yV3SnSIyFoc59
++9eXjIwjsSmkh0BuVYAnXxZGh3BVB7QJ2IwYZgUX+5wmMN7p+KzTpy4FNeVX/R9l
+xgyLa4EKENXIgJmjUEbaG/Z9D3y0nK4kVqENkcTiAIxusAzjYWur1QRxb5CqPWtH
+GEcLDG6U3kihTSWMkl4HmAVKZ0iJ1S+7J7K/rNMw9+eF9P5w1BTkYtlR+73B4Peu
+dJvxiU8L52pmqlNdBnRc2owfpSZRY7XwOXvsuXQP5dt93VagmiP3Jdi1CyE0kXH8
+ouey4oiWAA9CAPASKrG6O8dBesyTtEgAlcsO+MBTNeNvMEcfXEglIaf5LVwjZPbu
+qs7fDQa0liP605SY/RrBaopDHGQN1YDZ+de8m6snMR+M2CmTmYyZBJII6hv6S9kk
+byIHksf7CXJ+ZqysrhGwxCoamOB9fQWJDhc8NF3jUT1Z/79zTj23Y8NowoiMozqj
+9wIZsV0YEWb5p76adWF0mkrOrW308C18HLJ7y63urkdilUf/XWDJu0sD0aeMM3Um
+a4ZecT5Em8+RvXSzLEWy
+=Pf60
-----END PGP SIGNATURE-----
diff --git a/app-admin/collectd/collectd-4.10.1-r1.ebuild b/app-admin/collectd/collectd-4.10.1-r1.ebuild
index 0645cd8..fef20fe 100644
--- a/app-admin/collectd/collectd-4.10.1-r1.ebuild
+++ b/app-admin/collectd/collectd-4.10.1-r1.ebuild
@@ -13,19 +13,28 @@ SRC_URI="${HOMEPAGE}/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="contrib debug kernel_linux kernel_FreeBSD kernel_Darwin"
-
-# hal is autodetected by configure, so there is no point in a hal useflag.
-# DEPENDing it for now for the UUID plugin, so we get a consistent state...
-# TODO: patch configure.in to provide with/without-hal
+IUSE="allplugins contrib debug kernel_linux kernel_FreeBSD kernel_Darwin"
# The plugin lists have to follow here since they extend IUSE
-COLLECTD_MASKED=yes
+# Plugins that to my knowledge cannot be supported (eg. dependencies not in gentoo)
+COLLECTD_DISABLED_PLUGINS="curl_json netapp pinba ping xmms"
-COLLECTD_TESTED_PLUGINS="apache battery bind conntrack contextswitch cpu cpufreq
- dbi df disk dns email entropy hddtemp iptables irq load memory network
- swap tcpconns thermal uptime users logfile syslog csv rrdtool"
+# Plugins that have been (compile) tested and can be enabled via COLLECTD_PLUGINS
+COLLECTD_TESTED_PLUGINS="apache apcups ascent battery bind conntrack contextswitch
+ cpu cpufreq curl curl_xml dbi df disk dns email entropy exec filecount fscache gmond
+ hddtemp interface iptables irq java libvirt load madwifi mbmon memcachec
+ memcached memory multimeter mysql network nfs nginx ntpd olsrd
+ onewire openvpn postgresql powerdns processes protocols python
+ rrdcached sensors serial snmp swap table tail tcpconns teamspeak2 ted thermal
+ tokyotyrant uptime users vmem vserver wireless csv exec logfile network
+ notify_desktop notify_email perl python rrdcached rrdtool syslog unixsock write_http
+ match_empty_counter match_hashed match_regex match_timediff match_value
+ target_notification target_replace target_scale target_set uuid"
+
+# Plugins that still need some work
+COLLECTD_UNTESTED_PLUGINS="oracle ipmi ipvs netlink apple_sensors routeros tape zfs_arc nut perl
+ modbus"
COLLECTD_SOURCE_PLUGINS="apache apcups apple_sensors ascent battery bind conntrack contextswitch
cpu cpufreq curl curl_xml dbi df disk dns email entropy exec filecount fscache gmond
@@ -43,65 +52,63 @@ COLLECTD_FILTER_PLUGINS="match_empty_counter match_hashed match_regex match_time
COLLECTD_MISC_PLUGINS="uuid"
-COLLECTD_ALL_PLUGINS="${COLLECTD_SOURCE_PLUGINS} ${COLLECTD_TARGET_PLUGINS}
- ${COLLECTD_FILTER_PLUGINS} ${COLLECTD_MISC_PLUGINS}"
+#COLLECTD_ALL_PLUGINS="${COLLECTD_SOURCE_PLUGINS} ${COLLECTD_TARGET_PLUGINS}
+# ${COLLECTD_FILTER_PLUGINS} ${COLLECTD_MISC_PLUGINS}"
-COLLECTD_DISABLED_PLUGINS="curl_json netapp pinba ping xmms"
+COLLECTD_ALL_PLUGINS=${COLLECTD_TESTED_PLUGINS}
-if [ "${COLLECTD_MASKED}" ]; then
- for plugin in ${COLLECTD_ALL_PLUGINS}; do
- IUSE="${IUSE} collectd_plugins_${plugin}"
- done
-else
- for plugin in ${COLLECTD_TESTED_PLUGINS}; do
+for plugin in ${COLLECTD_TESTED_PLUGINS}; do
+ if use allplugins ; then
+ IUSE="${IUSE} +collectd_plugins_${plugin}"
+ else
IUSE="${IUSE} collectd_plugins_${plugin}"
- done
-fi
+ fi
+done
# Now come the dependencies.
COMMON_DEPEND="
collectd_plugins_apache? ( net-misc/curl )
collectd_plugins_ascent? ( net-misc/curl dev-libs/libxml2 )
- collectd_plugins_bind? ( dev-libs/libxml2 )
- collectd_plugins_curl? ( net-misc/curl )
+ collectd_plugins_bind? ( dev-libs/libxml2 )
+ collectd_plugins_curl? ( net-misc/curl )
collectd_plugins_curl_xml? ( net-misc/curl dev-libs/libxml2 )
collectd_plugins_dbi? ( dev-db/libdbi )
collectd_plugins_dns? ( net-libs/libpcap )
- collectd_plugins_gmond? ( sys-cluster/ganglia )
- collectd_plugins_ipmi? ( >=sys-libs/openipmi-2.0.11 )
+ collectd_plugins_gmond? ( sys-cluster/ganglia )
+ collectd_plugins_ipmi? ( >=sys-libs/openipmi-2.0.11 )
collectd_plugins_iptables? ( >=net-firewall/iptables-1.4.9.1-r2 )
- collectd_plugins_java? ( virtual/jre dev-java/java-config-wrapper )
+ collectd_plugins_java? ( virtual/jre dev-java/java-config-wrapper )
collectd_plugins_libvirt? ( app-emulation/libvirt dev-libs/libxml2 )
collectd_plugins_memcachec? ( dev-libs/libmemcached )
collectd_plugins_modbus? ( dev-libs/libmodbus )
- collectd_plugins_mysql? ( >=virtual/mysql-5.0 )
+ collectd_plugins_mysql? ( >=virtual/mysql-5.0 )
collectd_plugins_netlink? ( sys-apps/iproute2 )
collectd_plugins_network? ( dev-libs/libgcrypt )
- collectd_plugins_nginx? ( net-misc/curl )
+ collectd_plugins_nginx? ( net-misc/curl )
collectd_plugins_notify_desktop? ( x11-libs/libnotify )
- collectd_plugins_notify_email? ( >=net-libs/libesmtp-1.0.4 dev-libs/openssl )
+ collectd_plugins_notify_email? ( >=net-libs/libesmtp-1.0.4 dev-libs/openssl )
collectd_plugins_nut? ( >=sys-power/nut-2.2.0 )
collectd_plugins_onewire? ( sys-fs/owfs )
collectd_plugins_oracle? ( >=dev-db/oracle-instantclient-basic-11.1.0.7.0 )
- collectd_plugins_perl? ( dev-lang/perl[ithreads] sys-devel/libperl[ithreads] )
+ collectd_plugins_perl? ( dev-lang/perl[ithreads] sys-devel/libperl[ithreads] )
collectd_plugins_postgresql? ( >=dev-db/postgresql-base-8.2 )
collectd_plugins_python? ( || ( dev-lang/python:2.4 dev-lang/python:2.5 dev-lang/python:2.6 ) )
collectd_plugins_rrdcached? ( >=net-analyzer/rrdtool-1.4 )
collectd_plugins_rrdtool? ( >=net-analyzer/rrdtool-1.2.27 )
collectd_plugins_sensors? ( sys-apps/lm_sensors )
- collectd_plugins_snmp? ( net-analyzer/net-snmp )
+ collectd_plugins_snmp? ( net-analyzer/net-snmp )
collectd_plugins_tokyotyrant? ( net-misc/tokyotyrant )
- collectd_plugins_uuid? ( sys-apps/hal )
+ collectd_plugins_uuid? ( sys-apps/hal )
collectd_plugins_write_http? ( net-misc/curl )
kernel_FreeBSD? (
- collectd_plugins_disk? ( >=sys-libs/libstatgrab-0.16 )
+ collectd_plugins_disk? ( >=sys-libs/libstatgrab-0.16 )
collectd_plugins_interface? ( >=sys-libs/libstatgrab-0.16 )
- collectd_plugins_load? ( >=sys-libs/libstatgrab-0.16 )
+ collectd_plugins_load? ( >=sys-libs/libstatgrab-0.16 )
collectd_plugins_memory? ( >=sys-libs/libstatgrab-0.16 )
- collectd_plugins_swap? ( >=sys-libs/libstatgrab-0.16 )
- collectd_plugins_users? ( >=sys-libs/libstatgrab-0.16 )
+ collectd_plugins_swap? ( >=sys-libs/libstatgrab-0.16 )
+ collectd_plugins_users? ( >=sys-libs/libstatgrab-0.16 )
)"
DEPEND="${COMMON_DEPEND}
@@ -113,14 +120,15 @@ DEPEND="${COMMON_DEPEND}
RDEPEND="${COMMON_DEPEND}
collectd_plugins_syslog? ( virtual/logger )"
-PATCHES=( "${FILESDIR}/${P}-libiptc.patch" )
+PATCHES=( "${FILESDIR}/${P}"-{libperl,libiptc}.patch )
+# @FUNCTION: collectd_plugin_kernel_linux
+# @DESCRIPTION:
+# USAGE: <plug-in name> <kernel_options> <severity>
+# kernel_options is a list of kernel configurations options; the check tests whether at least
+# one of them is enabled. If no, depending on the third argument an elog, ewarn, or eerror message
+# is emitted.
collectd_plugin_kernel_linux() {
- #
- # USAGE: <plug-in name> <kernel_options> <severity>
- # kernel_options is a list of kernel configurations options; the check tests whether at least
- # one of them is enabled.
- #
local multi_opt
if use collectd_plugins_${1}; then
for opt in ${2}; do
@@ -129,13 +137,13 @@ collectd_plugin_kernel_linux() {
multi_opt=${2//\ /\ or\ }
case ${3} in
(info)
- elog "The ${1} plug-in can use features enabled by ${multi_opt} in your kernel"
+ elog "The ${1} plug-in can use kernel features that are disabled now; enable ${multi_opt} in your kernel"
;;
(warn)
- ewarn "The ${1} plug-in uses features enabled by ${multi_opt} in your kernel"
+ ewarn "The ${1} plug-in uses kernel features that are disabled now; enable ${multi_opt} in your kernel"
;;
(error)
- eerror "The ${1} plug-in needs features enabled by ${multi_opt} in your kernel"
+ eerror "The ${1} plug-in needs kernel features that are disabled now; enable ${multi_opt} in your kernel"
;;
(*)
die "function collectd_plugin_kernel_linux called with invalid third argument"
@@ -233,25 +241,6 @@ collectd_linux_kernel_checks() {
}
pkg_setup() {
- einfo
- einfo "The following plug-ins are in general not supported by this ebuild (e.g. because"
- einfo "Gentoo does not provide required dependencies): ${COLLECTD_DISABLED_PLUGINS}"
- einfo
-
- local warnplugins;
- for plugin in ${COLLECTD_ALL_PLUGINS}; do
- if (! has ${plugin} ${COLLECTD_TESTED_PLUGINS}) && use collectd_plugins_${plugin}; then
- warnplugins+="${plugin} "
- fi
- done
- if [ "${warnplugins}" ]; then
- ewarn
- ewarn "You have enabled the following plugins: ${warnplugins}"
- ewarn "Feel free to try, but be aware that these plugins are in Gentoo so far completely"
- ewarn "untested and may not even compile. Please file a bug if you encounter problems."
- ewarn "Positive feedback is also welcome."
- fi
-
if use kernel_linux; then
if linux_config_exists; then
einfo
diff --git a/app-admin/collectd/files/collectd-4.10.1-libperl.patch b/app-admin/collectd/files/collectd-4.10.1-libperl.patch
new file mode 100644
index 0000000..8fc25a8
--- /dev/null
+++ b/app-admin/collectd/files/collectd-4.10.1-libperl.patch
@@ -0,0 +1,29 @@
+diff -r -u collectd-4.10.1.orig/configure.in collectd-4.10.1/configure.in
+--- collectd-4.10.1.orig/configure.in 2010-07-09 12:01:59.000000000 +0200
++++ collectd-4.10.1/configure.in 2010-09-24 20:15:22.666434555 +0200
+@@ -2607,11 +2607,13 @@
+ then
+ SAVE_CFLAGS="$CFLAGS"
+ SAVE_LDFLAGS="$LDFLAGS"
++ SAVE_LIBS="$LIBS"
+ dnl ARCHFLAGS="" -> disable multi -arch on OSX (see Config_heavy.pl:fetch_string)
+ PERL_CFLAGS=`ARCHFLAGS="" $perl_interpreter -MExtUtils::Embed -e ccopts`
+ PERL_LDFLAGS=`ARCHFLAGS="" $perl_interpreter -MExtUtils::Embed -e ldopts`
+ CFLAGS="$CFLAGS $PERL_CFLAGS"
+ LDFLAGS="$LDFLAGS $PERL_LDFLAGS"
++ LIBS="$LIBS -lperl"
+
+ AC_CACHE_CHECK([for libperl],
+ [c_cv_have_libperl],
+@@ -2630,7 +2632,10 @@
+ Nullsv);
+ ]]),
+ [c_cv_have_libperl="yes"],
+- [c_cv_have_libperl="no"]
++ [
++ c_cv_have_libperl="no"
++ LIBS="$SAVE_LIBS"
++ ]
+ )
+ )
+
diff --git a/app-admin/collectd/metadata.xml b/app-admin/collectd/metadata.xml
index 7bd2394..fa2cff6 100644
--- a/app-admin/collectd/metadata.xml
+++ b/app-admin/collectd/metadata.xml
@@ -7,6 +7,7 @@
Yes I know many of the use flag descriptions are not particularly useful right now. Will fill in
something more descriptive soon... dilfridge
-->
+ <flag name='allplugins'>Enable all plugins by default. Single plugins can still be disabled using -...</flag>
<flag name='collectd_plugins_apache'>Build the apache input plugin (transferred bytes, handled requests, detailed scoreboard statistics)</flag>
<flag name='collectd_plugins_apcups'>Build the apcups input plugin (UPS charge, load, input/output/battery voltage, etc.)</flag>
<flag name='collectd_plugins_apple_sensors'>Build the apple_sensors input plugin (temperature, fanspeed and voltage)</flag>
diff --git a/app-admin/collectd/notes.txt b/app-admin/collectd/notes.txt
index 20e014c..98d3b37 100644
--- a/app-admin/collectd/notes.txt
+++ b/app-admin/collectd/notes.txt
@@ -1,57 +1,13 @@
-[22:22:02] <dilfridge> ssuominen: around=
-[22:22:04] <dilfridge> ?
-[22:43:31] <Anarchy> jlec, that will be fine no rush on it.
-[22:55:58] <ssuominen> dilfridge: for a moment
-[22:57:27] <dilfridge> I have a question on how to best bump an ebuild to the tree
-[22:57:34] <dilfridge> about "required stability in ~arch"
-[22:57:35] <robbat2|na> dilfridge, sup?
-[22:58:04] <dilfridge> I would like to bump app-admin/collectd to the tre
-[22:58:11] <dilfridge> http://git.overlays.gentoo.org/gitweb/?p=user/dilfridge.git;a=tree;f=app-admin/collectd;hb=HEAD
-[22:58:30] <dilfridge> this has a huge number of plugins, and some require specific hardware / software
-[22:58:56] <dilfridge> Plugin building is controlled by useflags, but I cant test all
-[22:59:29] <dilfridge> dberkhol suggested that I have two ebuilds, a ~arch which has only the "tested building plugins" and a masked with all
-[22:59:47] <chithead> you cannot build-test all?
-[22:59:56] <dilfridge> is there a way to mask e.g. -r51 .. -r99 for all versions?
-[23:00:02] <robbat2|na> "to the tree"? bump is not the word at all. migrate to the tree
-[23:00:11] <robbat2|na> bump = version bump or revision bump
[23:00:15] <ssuominen> build-test all would be enough to stick it into ~arch
-[23:00:18] <dilfridge> chithead: that might be possible
[23:00:30] <robbat2|na> yes, just build-test them all and put that as ~arch
[23:00:45] <dilfridge> ok then I will target that and "activate" all useflags that I have build-tested.
[23:01:05] <dilfridge> thx guys problem solved, will take a few more days though...
[23:01:23] <robbat2|na> and that ebuild looks like it's going to want USE_EXPAND instead of the manual cd_ stuff
[23:01:27] <dilfridge> yes true
[23:01:47] <dilfridge> how much buerocracy loops are needed for USE_EXPAND?
-[23:02:05] <dilfridge> s/buerocracy/bureaucracy/
[23:02:36] <dilfridge> just ask on dev ml?
[23:03:05] <robbat2|na> yup
[23:03:11] <dilfridge> ok will do
-[23:03:24] <robbat2|na> also, the errors you spew when linux_config_exists is false are very misleading
-[23:03:33] <dilfridge> ok
-[23:03:46] <robbat2|na> unless i'm misreading something
-[23:03:47] <robbat2|na> one sec
-[23:04:36] <darkside_> uhm, what? # hal is autodetected by configure, so there is no point in a hal useflag.
-[23:05:08] <dilfridge> darkside_: yes not patched yet, but this affects only _one_ plugin
-[23:05:45] <dilfridge> robbat2|na: this tries to figure out what kernel options might be improved for the plugins to work
-[23:05:46] -*- ssuominen -C slocate
-[23:06:06] <robbat2|na> collectd_plugin_kernel_linux <--- i'd refactor that, to have a specific error for linux_config_exists failure. also your linux_chkconfig_present will only correctly check the first flag
-if multiple are specified
-[23:06:41] <dilfridge> ok will reread
-[23:06:57] <robbat2|na> if linux_chkconfig_present ${opt}; then return 0; fi
-[23:07:09] <ssuominen> there's a requirement to ask on dev ML before adding USE_EXPAND?
-[23:07:22] <robbat2|na> so you return out of the function on the first successful option, no way to specify multiple options must be set together
-[23:07:39] <robbat2|na> ssuominen, non written, but every past one was asked about
-[23:08:00] <ssuominen> robbat2|na: except the one I added just week ago, then ;-)
-[23:08:07] <ssuominen> one for XFCE_PLUGINS
-[23:09:11] <robbat2|na> dilfridge, lastly, why a DEPEND on sys-kernel/vserver-sources? that's a perfectly valid kernel to be prebuilt and have no kernel sources on a machine
-[23:09:42] <dilfridge> robbat2|na: yes that's true but why not go for "check one option" for simplicity's sake
-[23:10:23] <robbat2|na> dilfridge, ok, just document that in the function header then
-[23:10:34] <dilfridge> it is :)
-[23:11:01] <dilfridge> robbat2|na: about the vserver, simply because I did not get to that plugin yet (and have no experience with that)
-[23:11:12] <robbat2|na> use the eclass doc syntax?
-[23:11:19] <dilfridge> ok
-[23:11:36] <dilfridge> will do
-[23:12:59] <dilfridge> ok give me a few days and I will clean things up and send mail :) thanks for your help
544 * libnatapp (optional)
@@ -78,188 +34,3 @@ if multiple are specified
630 <http://github.com/lloyd/yajl>
-Build-tested plugins:
-
-apache apcups apple_sensors ascent battery bind conntrack contextswitch
-cpu cpufreq curl curl_xml dbi df disk dns email entropy exec filecount fscache gmond
-hddtemp interface ipmi iptables ipvs irq java libvirt load madwifi mbmon memcachec
-memcached memory modbus multimeter mysql netlink network nfs nginx ntpd nut olsrd
-onewire openvpn perl postgresql powerdns processes protocols python routeros
-rrdcached sensors serial snmp swap table tail tape tcpconns teamspeak2 ted thermal
-tokyotyrant uptime users vmem vserver wireless zfs_arc csv exec logfile network
-notify_desktop notify_email perl python rrdcached rrdtool syslog unixsock write_http
-match_empty_counter match_hashed match_regex match_timediff match_value
-target_notification target_replace target_scale target_set uuid
-
-
-Configuration:
- Libraries:
- libcurl . . . . . . . yes
- libdbi . . . . . . . yes
- libesmtp . . . . . . yes
- libganglia . . . . . yes
- libgcrypt . . . . . . yes
- libiokit . . . . . . no
- libiptc . . . . . . . yes
- libjvm . . . . . . . yes
- libkstat . . . . . . no (Solaris only)
- libkvm . . . . . . . no
- libmemcached . . . . yes
- libmodbus . . . . . . yes
- libmysql . . . . . . yes
- libnetapp . . . . . . no (netapp_api.h not found)
- libnetlink . . . . . no (libnetlink.h not found)
- libnetsnmp . . . . . yes
- libnotify . . . . . . yes
- liboconfig . . . . . yes (shipped version)
- libopenipmi . . . . . no (/usr/bin/pkg-config --cflags OpenIPMIpthread failed)
- liboping . . . . . . no ('oping.h' not found)
- libpcap . . . . . . . yes
- libperfstat . . . . . no (AIX only)
- libperl . . . . . . . no
- libpq . . . . . . . . yes
- libpthread . . . . . yes
- librouteros . . . . . no ('routeros_api.h' not found)
- librrd . . . . . . . yes
- libsensors . . . . . yes
- libstatgrab . . . . . no (/usr/bin/pkg-config doesn't know libstatgrab)
- libtokyotyrant . . . yes
- libupsclient . . . . no (symbol upscli_connect not found)
- libvirt . . . . . . . yes
- libxml2 . . . . . . . yes
- libxmms . . . . . . . no
- libyajl . . . . . . . no (yajl/yajl_parse.h not found)
- libevent . . . . . .
- protobuf-c . . . . . no
- oracle . . . . . . . no (ORACLE_HOME is not set)
- python . . . . . . . yes
-
- Features:
- daemon mode . . . . . yes
- debug . . . . . . . . no
-
- Bindings:
- perl . . . . . . . . yes
-
- Modules:
- apache . . . . . . . yes
- apcups . . . . . . . yes
- apple_sensors . . . . no (disabled on command line)
- ascent . . . . . . . yes
- battery . . . . . . . yes
- bind . . . . . . . . yes
- conntrack . . . . . . yes
- contextswitch . . . . yes
- cpu . . . . . . . . . yes
- cpufreq . . . . . . . yes
- csv . . . . . . . . . yes
- curl . . . . . . . . yes
- curl_json . . . . . . no (disabled on command line)
- curl_xml . . . . . . yes
- dbi . . . . . . . . . yes
- df . . . . . . . . . yes
- disk . . . . . . . . yes
- dns . . . . . . . . . yes
- email . . . . . . . . yes
- entropy . . . . . . . yes
- exec . . . . . . . . yes
- filecount . . . . . . yes
- fscache . . . . . . . yes
- gmond . . . . . . . . yes
- hddtemp . . . . . . . yes
- interface . . . . . . yes
- ipmi . . . . . . . . no (dependency error)
- iptables . . . . . . yes
- ipvs . . . . . . . . no (dependency error) (ip_vs.h not found)
- irq . . . . . . . . . yes
- java . . . . . . . . yes
- libvirt . . . . . . . yes
- load . . . . . . . . yes
- logfile . . . . . . . yes
- madwifi . . . . . . . yes
- match_empty_counter . yes
- match_hashed . . . . yes
- match_regex . . . . . yes
- match_timediff . . . yes
- match_value . . . . . yes
- mbmon . . . . . . . . yes
- memcachec . . . . . . yes
- memcached . . . . . . yes
- memory . . . . . . . yes
- modbus . . . . . . . yes
- multimeter . . . . . yes
- mysql . . . . . . . . yes
- netapp . . . . . . . no (disabled on command line)
- netlink . . . . . . . no (dependency error)
- network . . . . . . . yes
- nfs . . . . . . . . . yes
- nginx . . . . . . . . yes
- notify_desktop . . . yes
- notify_email . . . . yes
- ntpd . . . . . . . . yes
- nut . . . . . . . . . no (dependency error)
- olsrd . . . . . . . . yes
- onewire . . . . . . . yes
- openvpn . . . . . . . yes
- oracle . . . . . . . no (disabled on command line)
- perl . . . . . . . . no (needs libperl)
- pinba . . . . . . . . no (disabled on command line)
- ping . . . . . . . . no (disabled on command line)
- postgresql . . . . . yes
- powerdns . . . . . . yes
- processes . . . . . . yes
- protocols . . . . . . yes
- python . . . . . . . yes
- routeros . . . . . . no (dependency error)
- rrdcached . . . . . . yes
- rrdtool . . . . . . . yes
- sensors . . . . . . . yes
- serial . . . . . . . yes
- snmp . . . . . . . . yes
- swap . . . . . . . . yes
- syslog . . . . . . . yes
- table . . . . . . . . yes
- tail . . . . . . . . yes
- tape . . . . . . . . no (dependency error)
- target_notification . yes
- target_replace . . . yes
- target_scale . . . . yes
- target_set . . . . . yes
- tcpconns . . . . . . yes
- teamspeak2 . . . . . yes
- ted . . . . . . . . . yes
- thermal . . . . . . . yes
- tokyotyrant . . . . . yes
- unixsock . . . . . . yes
- uptime . . . . . . . yes
- users . . . . . . . . yes
- uuid . . . . . . . . yes
- vmem . . . . . . . . yes
- vserver . . . . . . . yes
- wireless . . . . . . yes
- write_http . . . . . yes
- xmms . . . . . . . . no (disabled on command line)
- zfs_arc . . . . . . . no (dependency error)
-
-configure: error: "Some plugins are missing dependencies - see the summary above for details"
-
-!!! Please attach the following file when seeking support:
-!!! /var/tmp/portage/app-admin/collectd-4.10.1-r1/work/collectd-4.10.1/config.log
- * ERROR: app-admin/collectd-4.10.1-r1 failed:
- * econf failed
- *
- * Call stack:
- * ebuild.sh, line 54: Called src_configure
- * environment, line 4369: Called econf '--config-cache' '--without-included-ltdl' '--localstatedir=/var' '--disable-debug' '--disable-curl_json' '--disable-netapp' '--disable-pinba' '--disable-ping'
-'--disable-xmms' '--enable-apache' '--enable-apcups' '--disable-apple_sensors' '--enable-ascent' '--enable-battery' '--enable-bind' '--enable-conntrack' '--enable-contextswitch' '--enable-cpu'
-'--enable-cpufreq' '--enable-curl' '--enable-curl_xml' '--enable-dbi' '--enable-df' '--enable-disk' '--enable-dns' '--enable-email' '--enable-entropy' '--enable-exec' '--enable-filecount' '--enable-fscache'
-'--enable-gmond' '--enable-hddtemp' '--enable-interface' '--enable-ipmi' '--enable-iptables' '--enable-ipvs' '--enable-irq' '--enable-java' '--enable-libvirt' '--enable-load' '--enable-madwifi'
-'--enable-mbmon' '--enable-memcachec' '--enable-memcached' '--enable-memory' '--enable-modbus' '--enable-multimeter' '--enable-mysql' '--enable-netlink' '--enable-network' '--enable-nfs' '--enable-nginx'
-'--enable-ntpd' '--enable-nut' '--enable-olsrd' '--enable-onewire' '--enable-openvpn' '--disable-oracle' '--enable-perl' '--enable-postgresql' '--enable-powerdns' '--enable-processes' '--enable-protocols'
-'--enable-python' '--enable-routeros' '--enable-rrdcached' '--enable-sensors' '--enable-serial' '--enable-snmp' '--enable-swap' '--enable-table' '--enable-tail' '--enable-tape' '--enable-tcpconns'
-'--enable-teamspeak2' '--enable-ted' '--enable-thermal' '--enable-tokyotyrant' '--enable-uptime' '--enable-users' '--enable-vmem' '--enable-vserver' '--enable-wireless' '--enable-zfs_arc' '--enable-csv'
-'--enable-exec' '--enable-logfile' '--enable-network' '--enable-notify_desktop' '--enable-notify_email' '--enable-perl' '--enable-python' '--enable-rrdcached' '--enable-rrdtool' '--enable-syslog'
-'--enable-unixsock' '--enable-write_http' '--enable-match_empty_counter' '--enable-match_hashed' '--enable-match_regex' '--enable-match_timediff' '--enable-match_value' '--enable-target_notification'
-'--enable-target_replace' '--enable-target_scale' '--enable-target_set' '--enable-uuid' '--with-java=/opt/sun-jdk-1.6.0.20'
- * ebuild.sh, line 544: Called die
-