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 E8213158090 for ; Mon, 16 May 2022 19:57:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C62F3E08F4; Mon, 16 May 2022 19:57:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 AF6B2E08F6 for ; Mon, 16 May 2022 19:57:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 EB20B341CA9 for ; Mon, 16 May 2022 19:57:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C6B6C4C8 for ; Mon, 16 May 2022 19:57:02 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1652731002.e11f646e334a59dfb7d30c4649e2ee41896d3f65.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/mrtg/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/mrtg/Manifest net-analyzer/mrtg/mrtg-2.17.10.ebuild X-VCS-Directories: net-analyzer/mrtg/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: e11f646e334a59dfb7d30c4649e2ee41896d3f65 X-VCS-Branch: master Date: Mon, 16 May 2022 19:57:02 +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: 5b5ecbda-8f0e-4da1-90b8-f8aaa38f33c9 X-Archives-Hash: 7523c5c08801535020edf60a8c9cbd5c commit: e11f646e334a59dfb7d30c4649e2ee41896d3f65 Author: Sam James gentoo org> AuthorDate: Mon May 16 07:10:31 2022 +0000 Commit: Sam James gentoo org> CommitDate: Mon May 16 19:56:42 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e11f646e net-analyzer/mrtg: add 2.17.10 Signed-off-by: Sam James gentoo.org> net-analyzer/mrtg/Manifest | 1 + net-analyzer/mrtg/mrtg-2.17.10.ebuild | 45 +++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/net-analyzer/mrtg/Manifest b/net-analyzer/mrtg/Manifest index 6bae1dca938b..ee8725bdc3d6 100644 --- a/net-analyzer/mrtg/Manifest +++ b/net-analyzer/mrtg/Manifest @@ -1 +1,2 @@ +DIST mrtg-2.17.10.tar.gz 1084792 BLAKE2B a2e69c651a1428514fbe1f4d04cbddde9c7ed3b865d57f204814ec797dabd414c16b03d34bd19a005257938dd9bd2de0e99f641222f240c907fa5f67429710f1 SHA512 b1c5232f1b3dcec39adc4fb5a423738f9470ad470e91c6a918cf3f875e71af263d8e03694c3d66129b2653fa498d8d9d9b95349fe90e9d2e0b3ed6c09d06e080 DIST mrtg-2.17.8.tar.gz 1102598 BLAKE2B d5d513de641087f6daa207f154bbcca0196ccc8cba79a03ad6916c9c0065980745be3746953063127fc017d57e235ff67252531380fc9f68c9e5c3332d5230ce SHA512 c1dbeb5ce065b2b071d18e1eec1100d56eb7c4c654562de530139acee27ad57614354b74e3d0777cb6d4470a58ed6acae0f1af9c6f7115bf329132a68b6e0aaa diff --git a/net-analyzer/mrtg/mrtg-2.17.10.ebuild b/net-analyzer/mrtg/mrtg-2.17.10.ebuild new file mode 100644 index 000000000000..a29090ce930b --- /dev/null +++ b/net-analyzer/mrtg/mrtg-2.17.10.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="A tool to monitor the traffic load on network-links" +HOMEPAGE="https://oss.oetiker.ch/mrtg/" +SRC_URI="https://oss.oetiker.ch/mrtg/pub/${P}.tar.gz https://github.com/oetiker/mrtg/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="selinux" + +DEPEND="dev-lang/perl + >=dev-perl/SNMP_Session-1.13-r2 + >=dev-perl/Socket6-0.23 + media-libs/gd[png]" +RDEPEND="${DEPEND} + selinux? ( sec-policy/selinux-mrtg )" + +PATCHES=( + "${FILESDIR}"/${PN}-2.17.4-socket6.patch +) + +src_prepare() { + default + + rm ./lib/mrtg2/{SNMP_{Session,util},BER}.pm || die + + sed -i \ + -e 's|main::SL}lib${main::SL|main::SL}'"$(get_libdir)"'${main::SL|g' \ + $(find bin -type f) contrib/cfgmaker_dlci/cfgmaker_dlci || die +} + +src_install() { + keepdir /var/lib/mrtg + + default + + mv "${ED}"/usr/share/doc/{mrtg2,${PF}} || die + + newinitd "${FILESDIR}/mrtg.rc" ${PN} + newconfd "${FILESDIR}/mrtg.confd" ${PN} +}