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 B137F138350 for ; Sat, 2 May 2020 22:11:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 06110E08CD; Sat, 2 May 2020 22:11:19 +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 CE39CE08CD for ; Sat, 2 May 2020 22:11:18 +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 C1D4534F2D8 for ; Sat, 2 May 2020 22:11:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7A6261F6 for ; Sat, 2 May 2020 22:11:16 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1588457474.f8169b7ab50e900510cf96db00e44ecb7ee52470.robbat2@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/mirmon/, www-apps/mirmon/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-apps/mirmon/files/0002-Add-ipv6-monitor-support-to-mirmon.patch www-apps/mirmon/mirmon-2.10.ebuild X-VCS-Directories: www-apps/mirmon/ www-apps/mirmon/files/ X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: f8169b7ab50e900510cf96db00e44ecb7ee52470 X-VCS-Branch: master Date: Sat, 2 May 2020 22:11:16 +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: d73fff87-c7d9-4bde-b8c6-42fc96e843b3 X-Archives-Hash: 317e1aed0749b516a9b3f90d131f486d commit: f8169b7ab50e900510cf96db00e44ecb7ee52470 Author: Robin H. Johnson gentoo org> AuthorDate: Thu Apr 30 21:03:25 2020 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Sat May 2 22:11:14 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8169b7a www-apps/mirmon: cleanup old version Signed-off-by: Robin H. Johnson gentoo.org> .../0002-Add-ipv6-monitor-support-to-mirmon.patch | 41 -------------------- www-apps/mirmon/mirmon-2.10.ebuild | 44 ---------------------- 2 files changed, 85 deletions(-) diff --git a/www-apps/mirmon/files/0002-Add-ipv6-monitor-support-to-mirmon.patch b/www-apps/mirmon/files/0002-Add-ipv6-monitor-support-to-mirmon.patch deleted file mode 100644 index 3742d30825b..00000000000 --- a/www-apps/mirmon/files/0002-Add-ipv6-monitor-support-to-mirmon.patch +++ /dev/null @@ -1,41 +0,0 @@ -https://bugs.gentoo.org/show_bug.cgi?id=289943 - -From ab302148275a973c3fccd164fa1ae4b4c4409d21 Mon Sep 17 00:00:00 2001 -From: Jeremy Olexa -Date: Wed, 28 Oct 2009 21:04:39 -0500 -Subject: [PATCH 2/2] Add ipv6 monitor support to mirmon - -This patch will overload the gethost() function provided by perl in such a way -that it uses gethostbyname2() from Socket6, which is a new dependency. - -Original patch by: Kent Fredric ---- - mirmon | 12 +++++++++++- - 1 files changed, 11 insertions(+), 1 deletions(-) - -diff --git a/mirmon b/mirmon -index 6c0aaa8..50d40ca 100755 ---- a/mirmon -+++ b/mirmon -@@ -30,7 +30,17 @@ my $VER = '# $Id$ - use strict ; - use IO::Pipe ; - use IO::Select ; --use Net::hostent ; -+ -+use Socket; -+use Socket6; -+use Data::Dumper qw( Dumper ); -+ -+sub gethost($){ -+ my $url = shift; -+ return 1 if gethostbyname2 $url, AF_INET; -+ return 1 if gethostbyname2 $url, AF_INET6; -+ return 0; -+} - - my $DEF_CNF = "/etc/$PRG.conf" ; - --- -1.6.4.4 - diff --git a/www-apps/mirmon/mirmon-2.10.ebuild b/www-apps/mirmon/mirmon-2.10.ebuild deleted file mode 100644 index 63863466bdf..00000000000 --- a/www-apps/mirmon/mirmon-2.10.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit webapp eutils -WEBAPP_MANUAL_SLOT="yes" - -DESCRIPTION="Simple webapp to monitor the status of mirrors" -HOMEPAGE="https://www.staff.science.uu.nl/~penni101/mirmon/" -SRC_URI="https://www.staff.science.uu.nl/~penni101/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="" - -DEPEND=">=dev-lang/perl-5.8.5-r2:0" -RDEPEND="${DEPEND} - dev-perl/File-Tempdir - dev-perl/Socket6" - -src_prepare() { - epatch "${FILESDIR}/0002-Add-ipv6-monitor-support-to-mirmon.patch" -} - -src_install() { - # Don't install empty dirs - MY_CGIBINDIR="" - MY_ICONSDIR="" - MY_ERRORSDIR="" - - webapp_src_preinst - - for file in mirmon.html mirmon.txt; do - dodoc ${file} - rm -f ${file} - done - cp -R icons "${D}"/${MY_HTDOCSDIR} - rm -rf icons - cp -R . "${D}"/${MY_HOSTROOTDIR} - - webapp_src_install -}