From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 22C43158041 for ; Wed, 6 Mar 2024 00:48:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CF469E29FF; Wed, 6 Mar 2024 00:48:31 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AF115E29FF for ; Wed, 6 Mar 2024 00:48:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BEF8C342F65 for ; Wed, 6 Mar 2024 00:48:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D747614F1 for ; Wed, 6 Mar 2024 00:48:27 +0000 (UTC) From: "Julien Roy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Julien Roy" Message-ID: <1709652623.9f599b78e04e14a74a1fa1343ed0631fb559066c.julien@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: net-analyzer/munin-contrib/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-analyzer/munin-contrib/Manifest net-analyzer/munin-contrib/munin-contrib-0.2024.03.04.ebuild X-VCS-Directories: net-analyzer/munin-contrib/ X-VCS-Committer: julien X-VCS-Committer-Name: Julien Roy X-VCS-Revision: 9f599b78e04e14a74a1fa1343ed0631fb559066c X-VCS-Branch: master Date: Wed, 6 Mar 2024 00:48:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 52849517-be9e-496f-a98a-5fcbd75654d6 X-Archives-Hash: fa26156b691bcd1a75bfad51009f0e25 commit: 9f599b78e04e14a74a1fa1343ed0631fb559066c Author: Philippe Chaintreuil parallaxshift com> AuthorDate: Mon Mar 4 22:57:13 2024 +0000 Commit: Julien Roy jroy ca> CommitDate: Tue Mar 5 15:30:23 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9f599b78 bump to latest as of 2024-03-04 Signed-off-by: Philippe Chaintreuil parallaxshift.com> net-analyzer/munin-contrib/Manifest | 1 + .../munin-contrib-0.2024.03.04.ebuild | 115 +++++++++++++++++++++ 2 files changed, 116 insertions(+) diff --git a/net-analyzer/munin-contrib/Manifest b/net-analyzer/munin-contrib/Manifest index b91a3e99b5..3b0cb179f1 100644 --- a/net-analyzer/munin-contrib/Manifest +++ b/net-analyzer/munin-contrib/Manifest @@ -1 +1,2 @@ DIST munin-contrib-0.2021.04.27.tar.gz 6782163 BLAKE2B 6977d16a84a37bc15bbcae6295d52a087f9d6b694069cb384a8c79d1b2d0233052fc3057ae5bd14da305de78e9f0614b18768e51d5c49bee12f0ee6c3ccadeaa SHA512 2f7aca7a51b34a600e7d27cb5b4beebf6d8ddd1d4edfbb8a9ca6e4c4912acd38e0213efe9bef028b674c54ec91ecdc66b4782c00987e6dfd833cf86191c8dbfb +DIST munin-contrib-0.2024.03.04.tar.gz 8897446 BLAKE2B ceb713774f3af106f7373643e83200616d75499bdb0f89ac12bf0b8e8f211b060886f406e4308ac8f58480a467e946f7aa4ba662d6599de3ed0fba85284fc28b SHA512 a095964f3709745d8dcc178f1f1014cdf136da5dbc466a5d195a5ed252f08b69b71732011e9c4a7037556354b83b9b04af53a725ce4339651ac1b239ecfaa177 diff --git a/net-analyzer/munin-contrib/munin-contrib-0.2024.03.04.ebuild b/net-analyzer/munin-contrib/munin-contrib-0.2024.03.04.ebuild new file mode 100644 index 0000000000..30f4601514 --- /dev/null +++ b/net-analyzer/munin-contrib/munin-contrib-0.2024.03.04.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit toolchain-funcs + +COMMIT="83f4e970c4a7378540057318a5083653ee2f138b" + +SRC_URI="https://github.com/munin-monitoring/contrib/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64" +DESCRIPTION="user contributed stuff related to munin" +HOMEPAGE="https://github.com/munin-monitoring/contrib" +LICENSE="GPL-3+ Apache-2.0 GPL-2 LGPL-2 GPL-2+ LGPL-3+ MIT" #TODO: investigate all the licenses +SLOT="0" +IUSE="examples +plugins templates tools" +RDEPEND="net-analyzer/munin" + +S="${WORKDIR}/contrib-${COMMIT}" +README_PLUGINS=( + plugins/README.md + plugins/apache/apache_byprojects/README.md + plugins/apache/apache_vhosts/README.txt + plugins/apt/deb_packages/README.md + plugins/jmx/readme.txt + plugins/kamailio/README.md + plugins/network/linux_if/README.md + plugins/nfs-freebsd/README.rst + plugins/nginx/nginx_byprojects/README.md + plugins/prosody/README.rst + plugins/rackspace/README + plugins/tarsnap/README.md + plugins/varnish/README-varnish4.md + plugins/varnish/README.rst + plugins/znc/README.md + plugins/zope/README-zodb +) +README_TOOLS=( + tools/munin-node-c/README + tools/munin-node-from-hell/README.rst + tools/munin-plugins-busybox/README + tools/pmmn/plugins/README + tools/pypmmn/README.rst +) + +src_prepare() { + default + rm "plugins/nginx/nginx_byprojects/LICENSE.txt" || die +} + +src_configure() { + return +} + +src_compile() { + export CC=$(tc-getCC) + + pushd plugins/cpu || die + emake multicpu1sec-c || die + rm multicpu1sec-c.c || die + popd + pushd plugins/disk/smart-c || die + emake + rm *.h *.o *.c Makefile || die + popd + pushd plugins/network || die + emake if1sec-c || die + rm if1sec-c.c || die + popd +} + +src_install() { + if use tools ; then + for i in "${README_TOOLS[@]}" ; do + p="${ED}/usr/share/doc/${PF}/${i%/*}" + mkdir -p "${p}" || die + mv "${i}" "${p}" || die + done + insinto "/usr/libexec/munin" + doins -r tools + fi + + if use plugins; then + #install documentation in subfolders + for i in plugins/{apt,network,}/*/example-graphs ; do + p="${ED}/usr/share/doc/${PF}/${i}" + mkdir -p "${p}" || die + mv "${i}" "${p}" || die + done + for i in "${README_PLUGINS[@]}" ; do + p="${ED}/usr/share/doc/${PF}/${i%/*}" + mkdir -p "${p}" || die + mv "${i}" "${p}" || die + done + + #install plugins without getting mad at preserving exec bit + mkdir -p "${ED}/usr/libexec/munin/plugins/contrib" || die + mv plugins/* "${ED}/usr/libexec/munin/plugins/contrib" || die + + elog "2023 Feb 1, the network/transmission file was replaced " + elog "by a directory of the same name. You may get a file collision " + elog "warning because of it. As long as you haven't made manual " + elog "edits to the file, you can remove the transmission.backup.#### " + elog "file if one is made." + elog + elog "See https://github.com/munin-monitoring/contrib/commit/2a12025ee5a22dad41be8f1c05052c2a93e3d3bd" + fi + + insinto "/etc/munin/templates" + use templates && doins -r templates/munstrap + + use examples && dodoc -r samples/munin.conf + + dodoc README.md +}