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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D46F4138334 for ; Mon, 16 Jul 2018 18:31:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7B729E083B; Mon, 16 Jul 2018 18:31:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4E449E083B for ; Mon, 16 Jul 2018 18:31:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 79B9E335C2E for ; Mon, 16 Jul 2018 18:31:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 485222CC for ; Mon, 16 Jul 2018 18:31:02 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1531765860.f63efc1c85c329b23d6e406d7b22aef0cd7e53a7.jer@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.7.ebuild X-VCS-Directories: net-analyzer/mrtg/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: f63efc1c85c329b23d6e406d7b22aef0cd7e53a7 X-VCS-Branch: master Date: Mon, 16 Jul 2018 18:31: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-Archives-Salt: 1f8b9a0d-e062-46ec-b45a-c4b401ac0c31 X-Archives-Hash: ec43cc598abb64f50b8f33dcb5a9543e commit: f63efc1c85c329b23d6e406d7b22aef0cd7e53a7 Author: Jeroen Roovers gentoo org> AuthorDate: Mon Jul 16 18:30:38 2018 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Mon Jul 16 18:31:00 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f63efc1c net-analyzer/mrtg: Version 2.17.7. Package-Manager: Portage-2.3.41, Repoman-2.3.9 net-analyzer/mrtg/Manifest | 1 + net-analyzer/mrtg/mrtg-2.17.7.ebuild | 49 ++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/net-analyzer/mrtg/Manifest b/net-analyzer/mrtg/Manifest index 878685b2fba..e4b29b313a8 100644 --- a/net-analyzer/mrtg/Manifest +++ b/net-analyzer/mrtg/Manifest @@ -1 +1,2 @@ DIST mrtg-2.17.4.tar.gz 1096879 BLAKE2B 12d485e8bdb28ff3706341d5b53e78dc37291e6f157e7792f1d2f3b43ee09c7b7eed57acfd8c7e9c9621187f75ee117e0ea85ce1ec34636f26aaf7e06ca58e14 SHA512 b15dac707e387714ba1a181c487894fcacbb9c2c1a1710475ebe86a11e30d758a4b44c139b42638de7fdef6616cf3112afc4e5a8c5fbf53718829673698ee110 +DIST mrtg-2.17.7.tar.gz 1098650 BLAKE2B f8191296fc163b950792b8ecee773cfe643a7390d49444ce8b5012b2dbd932093cb4f71745ba2c86bda579fbcd3c73a4f9cebc1fa4e7f791a7b4461ae92ac191 SHA512 b25ab38416213bc5128612724530f36f4a855bb66a65f8bbe4bdafef05d2688eed68f5c3df1e13193102507a4114e71ec226ad32dd6b4d3ae2e2291320d8e768 diff --git a/net-analyzer/mrtg/mrtg-2.17.7.ebuild b/net-analyzer/mrtg/mrtg-2.17.7.ebuild new file mode 100644 index 00000000000..926ed585809 --- /dev/null +++ b/net-analyzer/mrtg/mrtg-2.17.7.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit multilib + +DESCRIPTION="A tool to monitor the traffic load on network-links" +HOMEPAGE="https://oss.oetiker.ch/mrtg/" +SRC_URI="${HOMEPAGE}pub/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="selinux" + +DEPEND=" + >=dev-perl/SNMP_Session-1.13-r2 + >=dev-perl/Socket6-0.23 + dev-lang/perl + media-libs/gd[png] +" +RDEPEND=" + ${DEPEND} + selinux? ( sec-policy/selinux-mrtg ) +" +PATCHES=( + "${FILESDIR}"/${PN}-2.17.4-socket6.patch +) + +src_prepare() { + 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 + + default +} + +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} +}