diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-analyzer/mping | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-analyzer/mping')
-rw-r--r-- | net-analyzer/mping/Manifest | 1 | ||||
-rw-r--r-- | net-analyzer/mping/files/mping-2.01-RFC3542.patch | 56 | ||||
-rw-r--r-- | net-analyzer/mping/metadata.xml | 15 | ||||
-rw-r--r-- | net-analyzer/mping/mping-2.01.ebuild | 20 |
4 files changed, 92 insertions, 0 deletions
diff --git a/net-analyzer/mping/Manifest b/net-analyzer/mping/Manifest new file mode 100644 index 000000000000..2012c508d5c4 --- /dev/null +++ b/net-analyzer/mping/Manifest @@ -0,0 +1 @@ +DIST mping-2.01.tar.gz 159203 SHA256 7728ef3e31299b453e3d7cbb70b2ba0cdd3f5a9a71cae691b9756a7a3a76dde1 SHA512 9e1c243013f74a69d3014c11503ad9ff9b8992dcb3eb252a85a1958e8d63dadeab79b6937b76ddce9cc0d22c50a19ec90d40a68d3efc303c48a631f316f5b167 WHIRLPOOL 538069b71459ca00c3301b46b8df71acecdc852a81038a5e310e2dbd1218ca7ec833f368a6d2d3ba80d5464b0c7cdfae2f5203ecc8155bd913a068aa1ca34676 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..075e21f113b0 --- /dev/null +++ b/net-analyzer/mping/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>netmon</herd> +<longdescription> +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. +</longdescription> +</pkgmetadata> diff --git a/net-analyzer/mping/mping-2.01.ebuild b/net-analyzer/mping/mping-2.01.ebuild new file mode 100644 index 000000000000..4f0da7416808 --- /dev/null +++ b/net-analyzer/mping/mping-2.01.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 +} |