diff options
Diffstat (limited to 'net-analyzer/ssmping')
-rw-r--r-- | net-analyzer/ssmping/Manifest | 6 | ||||
-rw-r--r-- | net-analyzer/ssmping/files/ssmping-0.9-build.patch | 23 | ||||
-rw-r--r-- | net-analyzer/ssmping/metadata.xml | 8 | ||||
-rw-r--r-- | net-analyzer/ssmping/ssmping-0.9.1.ebuild | 23 |
4 files changed, 60 insertions, 0 deletions
diff --git a/net-analyzer/ssmping/Manifest b/net-analyzer/ssmping/Manifest new file mode 100644 index 000000000000..e9b55941adfa --- /dev/null +++ b/net-analyzer/ssmping/Manifest @@ -0,0 +1,6 @@ +AUX ssmping-0.9-build.patch 461 SHA256 dfae8ad8dc189390dfe6a8fa275b60487951cf3b4ab95f9b118bf4f328da8c01 SHA512 5072d9e02e987a3f48fdcd4b89c9f4129f50fbb5781c2b234415f8b6bef4ed4682b3e7176e8dc629a080ffb7ccdf4e49864917c8c8d63dddb7e384e7522a98cd WHIRLPOOL 296d5e7ac5359e220961f96c5719c86cded343fa79a81bab3400048c6031887152afeae878b10302e7aeec94234bc8c6cfe02efdf5b150679bc455e0e34ab6de +DIST ssmping-0.9.1.tar.gz 16863 SHA256 22103a37eaa28489169a0927bc01e0596c3485fc4d29fc8456c07fd2c70fca6d SHA512 7929b43867f29ac7f93298820149fd326d8540187a59e4f28f226e1c0dbfcdc60dc3da437de250e4082a2d6bd845ae9e619bf3b592b824dd8d529bf093cdedff WHIRLPOOL 0e69588c71917e01469f600696a0e9dcef936eb4a0515c70339ca9ee6c268f9f22e4e8f1d91e39635d41ad510473f5708aa3aa3d5b37e82dcfa725f3cda6541f +EBUILD ssmping-0.9.1.ebuild 548 SHA256 8f7ddc8840992c9e9abc9e20de2011b4362b8407fa8b4192da839e2387c33202 SHA512 e3e08fd80eab78138fc8c6a44aa4cb636a2c732166bbdd222c9de3ee09dbe470cf982d3e8f60ce711f0c656c250ba2c0c92c1f4bb6b5b4011c2c22176d496e59 WHIRLPOOL bdc5a0598a6c7fdbac11fd5ddd9cdd1cccb8e16271648a858c6710792ae00d9ff41cf35e1b9b6e80b49a2ed17acad70485ac59b518c2c4c594d5e5cbdbec44a6 +MISC ChangeLog 2463 SHA256 050fa30aea536a8e22e2a60e43b1a900d69bdd6d34c0345530c6c89b1f8289ca SHA512 cb4b7d44c6aab890a0f279c24c81f5c2152adc1d998901adf071ea292cde0c537d6f080cb8a4967f1e3df8a26b2262e325a1151203b51d0dc81b7c449b1013f2 WHIRLPOOL 0defd79e885c556ab4d5b2954297a699c47dd7869089dead86005f9ed91550e50f7d3dfb5e8249faf0314f99bf7dad95911d65346571bf9e4b6fcb9cec6c7e55 +MISC ChangeLog-2015 2166 SHA256 d258a8068af1fda2e242f5cc44811196c333729ef47125a26618e6c24194fea8 SHA512 25e47ae447463a5a50ab758ddc9463e21f235be184de411d7dc042f6650d714fe58d22ab57e8390a96a28791997af7c03d9735d32955d8d2b6f7e57085b1f6a9 WHIRLPOOL bb90cc2f3b38774d61b75dbce32ec0b70fdfa06009ad1a5e0da5b548ba43cb66a792e6ab8415f7a7e27fb9b490e1fce531da10b411a815037d464e26c643d55c +MISC metadata.xml 278 SHA256 7bfb61855daae5123345b2146b6d1ebd5e82abc2946bce2cfa339b7215cca02a SHA512 2cd4384755f79ae9de8d40810923782a5c961f1899adca71ced586bd05993f8c30d36db62018fecc7abcf2181c3278409b36c1a8618516721a3f5abb9f9da45e WHIRLPOOL 5f4f822568b1a411f9fb15dd6b2db5875036c6ae1d30c30dee09fd661f6c064ab6ec04cfeef9a23d54766442b72dfba617c1d3aa8bb1d895128bd44418fefb10 diff --git a/net-analyzer/ssmping/files/ssmping-0.9-build.patch b/net-analyzer/ssmping/files/ssmping-0.9-build.patch new file mode 100644 index 000000000000..586819ca0dd5 --- /dev/null +++ b/net-analyzer/ssmping/files/ssmping-0.9-build.patch @@ -0,0 +1,23 @@ +fixup build errors/warnings + +http://bugs.gentoo.org/240750 + +--- a/Makefile ++++ b/Makefile +@@ -1,4 +1,5 @@ + PREFIX ?= /usr/local ++CPPFLAGS += -D_GNU_SOURCE + + all: ssmping asmping ssmpingd mcfirst + +--- a/ssmping.c ++++ b/ssmping.c +@@ -22,7 +22,7 @@ + uint16_t size; + uint32_t intface; + struct sockaddr_storage name, ucaddr, mcaddr, grpaddr; +- size_t namelen; ++ socklen_t namelen; + #ifdef WIN32 + WORD wVersionRequested; + WSADATA wsaData; diff --git a/net-analyzer/ssmping/metadata.xml b/net-analyzer/ssmping/metadata.xml new file mode 100644 index 000000000000..851f9e832157 --- /dev/null +++ b/net-analyzer/ssmping/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>netmon@gentoo.org</email> + <name>Gentoo network monitoring and analysis project</name> +</maintainer> +</pkgmetadata> diff --git a/net-analyzer/ssmping/ssmping-0.9.1.ebuild b/net-analyzer/ssmping/ssmping-0.9.1.ebuild new file mode 100644 index 000000000000..a9dc609c45f5 --- /dev/null +++ b/net-analyzer/ssmping/ssmping-0.9.1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="Tool for testing multicast connectivity" +HOMEPAGE="http://www.venaas.no/multicast/ssmping/" +LICENSE="public-domain" +SRC_URI="http://www.venaas.no/multicast/ssmping/${P}.tar.gz" +SLOT="0" +KEYWORDS="amd64 x86" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.9-build.patch + tc-export CC +} + +src_install() { + dobin ssmping asmping mcfirst + dosbin ssmpingd + doman ssmping.1 asmping.1 mcfirst.1 +} |