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 1D002138350 for ; Sat, 2 May 2020 22:11:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 59CF7E08EF; 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 E2865E08EF 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 D8EF534F2D9 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 91F47206 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.5f3f9ae2abf4a8ab383507246d3faca52d611121.robbat2@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/mirmon/files/, www-apps/mirmon/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-apps/mirmon/files/2.11-Fix-options.patch www-apps/mirmon/mirmon-2.11-r1.ebuild www-apps/mirmon/mirmon-2.11-r2.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: 5f3f9ae2abf4a8ab383507246d3faca52d611121 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: 936c0290-19ea-489b-a43f-10945d3c25da X-Archives-Hash: d921696f748fc180aeb93941e83755d9 commit: 5f3f9ae2abf4a8ab383507246d3faca52d611121 Author: Robin H. Johnson gentoo org> AuthorDate: Thu Apr 30 21:03:43 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=5f3f9ae2 www-apps/mirmon: revbump with getopt fixes Signed-off-by: Robin H. Johnson gentoo.org> www-apps/mirmon/files/2.11-Fix-options.patch | 34 ++++++++++++++++++++++ ...mirmon-2.11-r1.ebuild => mirmon-2.11-r2.ebuild} | 1 + 2 files changed, 35 insertions(+) diff --git a/www-apps/mirmon/files/2.11-Fix-options.patch b/www-apps/mirmon/files/2.11-Fix-options.patch new file mode 100644 index 00000000000..0e0924ea9dd --- /dev/null +++ b/www-apps/mirmon/files/2.11-Fix-options.patch @@ -0,0 +1,34 @@ +Fix option handling. + +Add debug option to getopt inputs. +Add debug option to usage output. +Add version option to usage output. + +Signed-off-by: Robin H. Johnson + +--- mirmon-2.11.orig/mirmon 2020-04-30 13:32:52.803951845 -0700 ++++ mirmon-2.11/mirmon 2020-04-30 13:33:58.051641169 -0700 +@@ -1900,12 +1900,14 @@ + Usage: $prog [-v] [-q] [-t timeout] [-c conf] [-get all|update|url ] + option v : be verbose + option q : be quiet ++option d : debug output + option t : set timeout ; default $TIMEOUT + option get : get all : probe all sites + : get update : probe a selection of the sites (see doc) + : get url : probe some (in the mirror-list). + option c : configuration file ; default search : + ( $DEF_CNF ) ++option version : display version + ------------------------------------------------------------------- + Mirmon normally only reports errors and changes in the mirror list. + This is $VERSION. +@@ -1924,7 +1926,7 @@ + use Getopt::Long ; + Getopt::Long::config ( 'no_ignore_case' ) ; + my %opt = () ; +-Usage '' unless GetOptions ( \%opt, qw(v q t=i get=s c=s version) ) ; ++Usage '' unless GetOptions ( \%opt, qw(d v q t=i get=s c=s version) ) ; + Usage "Arg count\n" if @ARGV > 1 ; + Usage "Arg count\n" if $opt{get} and $opt{get} eq 'url' and ! @ARGV ; + diff --git a/www-apps/mirmon/mirmon-2.11-r1.ebuild b/www-apps/mirmon/mirmon-2.11-r2.ebuild similarity index 96% rename from www-apps/mirmon/mirmon-2.11-r1.ebuild rename to www-apps/mirmon/mirmon-2.11-r2.ebuild index 861191e7470..0d6ce1561b0 100644 --- a/www-apps/mirmon/mirmon-2.11-r1.ebuild +++ b/www-apps/mirmon/mirmon-2.11-r2.ebuild @@ -23,6 +23,7 @@ RDEPEND="${DEPEND} PATCHES=( "${FILESDIR}/2.11-Add-ipv6-monitor-support-to-mirmon.patch" + "${FILESDIR}/2.11-Fix-options.patch" ) src_install() {