From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- net-analyzer/mping/Manifest | 6 +++ net-analyzer/mping/files/mping-2.01-RFC3542.patch | 56 +++++++++++++++++++++++ net-analyzer/mping/metadata.xml | 18 ++++++++ net-analyzer/mping/mping-2.01.ebuild | 19 ++++++++ 4 files changed, 99 insertions(+) create mode 100644 net-analyzer/mping/Manifest create mode 100644 net-analyzer/mping/files/mping-2.01-RFC3542.patch create mode 100644 net-analyzer/mping/metadata.xml create mode 100644 net-analyzer/mping/mping-2.01.ebuild (limited to 'net-analyzer/mping') diff --git a/net-analyzer/mping/Manifest b/net-analyzer/mping/Manifest new file mode 100644 index 000000000000..9e6cd608d424 --- /dev/null +++ b/net-analyzer/mping/Manifest @@ -0,0 +1,6 @@ +AUX mping-2.01-RFC3542.patch 1893 SHA256 263a627b4c31098fcfcc4e7bbd3484edbe78499e5eefe3d23aa3268fd7299ed6 SHA512 286126b7abf147a7dd216082a967349e5850c23995a9e0481b31ff29c1c27f6be5da7b61dbc50593a437d460e9a2d48852c3003091876757f4478c4ed1f2b8c9 WHIRLPOOL 5706da72fe80e13709c95a7d9afb24fef91adac8f578a51f1aca9054bb7ae9a41d098f818f26513fa9238757170b53e8b24803aaf122791aceb40f23b7f0dfac +DIST mping-2.01.tar.gz 159203 SHA256 7728ef3e31299b453e3d7cbb70b2ba0cdd3f5a9a71cae691b9756a7a3a76dde1 SHA512 9e1c243013f74a69d3014c11503ad9ff9b8992dcb3eb252a85a1958e8d63dadeab79b6937b76ddce9cc0d22c50a19ec90d40a68d3efc303c48a631f316f5b167 WHIRLPOOL 538069b71459ca00c3301b46b8df71acecdc852a81038a5e310e2dbd1218ca7ec833f368a6d2d3ba80d5464b0c7cdfae2f5203ecc8155bd913a068aa1ca34676 +EBUILD mping-2.01.ebuild 430 SHA256 c459a3cbd42a3334016041955fc66dc598c435b2cb9ddc2e6974ea04ad3eebec SHA512 4cde24296e6f288bba6ce24c049fdd2303deeef010104be92d0ec919ad72de0ebc2c835118811827d4190f4635c8107dae1b8c4251fa91de87874e589a482437 WHIRLPOOL 2fde6c82a4a6fa09d64e1df59dc3d5d2fdfbb5a9c615cabc5a3a22f336f94829bbd67d968c8d390ad475924751eb7144351e71626d2939f2b67dbc8ae374ed54 +MISC ChangeLog 2456 SHA256 b7f1f78df5258b2ed5aca4eb8a19a19266f4b84314d992d37aa96938a97535d4 SHA512 c72895ab0b667b4ad730e81f77953942fe5f3f26acd3e298ad11f2ab3ab44c2deb5d1976b7c5e74e2e42c7c19dcb208307865f50f95280f52db41b758a74ef52 WHIRLPOOL 078ed8fbfc0ead0f4f0de855916310864f01874e0ba2ee4ab5b3539aff3509f8e808f5c223563ca9a110d9134060dd5905a00f3bc716897c7b9ce774ae635618 +MISC ChangeLog-2015 1784 SHA256 dbc7f47d9583d8eb86eb6d786841419ec8a46ba1800d2a86b9e935b65e4570ef SHA512 53d48c55128f38e849f86b6e6786276352e3f20306a2fad21b0a1b4fa51b9fb2cb0e885d655a9fde1d7bc01208133879c254fe4d09a41ddb67f89e99a96e78f9 WHIRLPOOL 1d18f8c7f566c7e5ab632c1fa86b3ec86e960fb4e1131e58b09f43141ecaf87b89f59c694b97f196cfa778022be00098f222b12a3d35cf6ead4b5229a9f4dc39 +MISC metadata.xml 651 SHA256 3fc30a92f59cd6fc34d62b6ca7bdbda6f4b479c022422e42288a053d87d8879f SHA512 7b9161a3fd66ce7aec220e57186f20b2085d4771784bfc26837695335440fecc9f1c2555404ff6d1b2f7ce3a49adec2b0925cd2b68ed2fa47cdc8d6b87b59271 WHIRLPOOL fe06ef1f21296ca7babeaccf2a9b69f1001c27882c662c15049f7c5d650a779f4911decbee3648908adc14e8786e855428ce7b8068afbc96adca13dd91d0a955 diff --git a/net-analyzer/mping/files/mping-2.01-RFC3542.patch b/net-analyzer/mping/files/mping-2.01-RFC3542.patch new file mode 100644 index 000000000000..be34aa7357fd --- /dev/null +++ b/net-analyzer/mping/files/mping-2.01-RFC3542.patch @@ -0,0 +1,56 @@ +http://www.ietf.org/rfc/rfc3542.txt + +http://bugs.gentoo.org/153252 + +--- a/src/mping.c ++++ b/src/mping.c +@@ -1688,6 +1688,20 @@ + } + } + ++/* RFC3542 changed some definitions from RFC2292 for no good reason, whee ! ++ * the newer 3542 uses a MLD_ prefix where as 2292 uses ICMP6_ prefix */ ++#ifndef MLD_LISTENER_QUERY ++# define MLD_LISTENER_QUERY ICMP6_MEMBERSHIP_QUERY ++#endif ++#ifndef MLD_LISTENER_REPORT ++# define MLD_LISTENER_REPORT ICMP6_MEMBERSHIP_REPORT ++#endif ++#ifndef MLD_LISTENER_REDUCTION ++# define MLD_LISTENER_REDUCTION ICMP6_MEMBERSHIP_REDUCTION ++#endif ++#ifndef ICMP6_DST_UNREACH_BEYONDSCOPE ++# define ICMP6_DST_UNREACH_BEYONDSCOPE ICMP6_DST_UNREACH_NOTNEIGHBOR ++#endif + /* + * Print a descriptive string about an ICMP6 header. + */ +@@ -1704,8 +1718,8 @@ + case ICMP6_DST_UNREACH_ADMIN: + printf("Administratively Prohibited\n"); + break; +- case ICMP6_DST_UNREACH_NOTNEIGHBOR: +- printf("Not a Neighbour\n"); ++ case ICMP6_DST_UNREACH_BEYONDSCOPE: ++ printf("Beyond scope\n"); + break; + case ICMP6_DST_UNREACH_ADDR: + printf("Destination Host Unreachable\n"); +@@ -1755,13 +1769,13 @@ + case ICMP6_ECHO_REPLY: + printf("Echo reply\n"); + break; +- case ICMP6_MEMBERSHIP_QUERY: +- printf("Membership Query\n"); ++ case MLD_LISTENER_QUERY: ++ printf("MLD Query\n"); + break; +- case ICMP6_MEMBERSHIP_REPORT: ++ case MLD_LISTENER_REPORT: + printf("MLD Report\n"); + break; +- case ICMP6_MEMBERSHIP_REDUCTION: ++ case MLD_LISTENER_REDUCTION: + printf("MLD Reduction\n"); + break; + case ND_ROUTER_ADVERT: diff --git a/net-analyzer/mping/metadata.xml b/net-analyzer/mping/metadata.xml new file mode 100644 index 000000000000..583e01eed1e7 --- /dev/null +++ b/net-analyzer/mping/metadata.xml @@ -0,0 +1,18 @@ + + + + + netmon@gentoo.org + Gentoo network monitoring and analysis project + + +UNINETTs delay statistics for IPv6 is now up and +running as a test project. The main goal with this +test project,is to test how well +Mping 2.0 works against the IPv6 network, and how well +it handles IPv4 and IPv6 adresses simultaniously. For +now we have to +resort to "IPv6 over IPv4 tunneling", but this is not +a permanent solution. + + diff --git a/net-analyzer/mping/mping-2.01.ebuild b/net-analyzer/mping/mping-2.01.ebuild new file mode 100644 index 000000000000..3133eb907421 --- /dev/null +++ b/net-analyzer/mping/mping-2.01.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils + +DESCRIPTION="IPv4/6 round-robin multiping client" +HOMEPAGE="http://mping.uninett.no" +SRC_URI="http://mping.uninett.no/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 sparc x86" + +DOCS=( AUTHORS ChangeLog NEWS README TODO ) + +src_prepare() { + epatch "${FILESDIR}"/${P}-RFC3542.patch +} -- cgit v1.2.3