diff options
Diffstat (limited to 'net-analyzer/netio')
-rw-r--r-- | net-analyzer/netio/Manifest | 6 | ||||
-rw-r--r-- | net-analyzer/netio/files/netio-1.26-linux-include.patch | 13 | ||||
-rw-r--r-- | net-analyzer/netio/metadata.xml | 8 | ||||
-rw-r--r-- | net-analyzer/netio/netio-1.32.ebuild | 43 |
4 files changed, 70 insertions, 0 deletions
diff --git a/net-analyzer/netio/Manifest b/net-analyzer/netio/Manifest new file mode 100644 index 000000000000..d55a63b666df --- /dev/null +++ b/net-analyzer/netio/Manifest @@ -0,0 +1,6 @@ +AUX netio-1.26-linux-include.patch 237 SHA256 bff0aa5ec62c0874f3c95bb87c2dbc292595f99fa631de006315a0493b84d804 SHA512 9b8b75f9b4a74690ec4cffaf777bd4f5a46e12880c8919edd91fa853d0b1edcb034b7baa96eafbc7f43d85046d7d4cebb15fca5e6b7402c71f629b56681d0de2 WHIRLPOOL cccaf94844ddfa451bf8bebe8532a73d888c3a2a496b1f83f49fa60b3121cfca8fc7b9303d60714fddb239aa5b0c85e894ca838835851ac9f6b31569e51af7f4 +DIST netio132.zip 162484 SHA256 c21550dfac6634558a7a79957eed28c46c62e0543017ef9d5c97c49f3cd41ddd SHA512 3473b6b41c4a1e054fa0eb3316bc16e799034b4b9402c7751f29724d8ec70c674d3de59140fdbdc301c53f2a24b44d58e8cd50a68f107bd892b1d17b6e695232 WHIRLPOOL 105a55d85292c19d13e8cf61200d1cc6e51b17c061f32adf859f66f53b4000775f2eb248cd767895767369d7cc58963356da61cda7808c4b05c94d0e400f1b31 +EBUILD netio-1.32.ebuild 1006 SHA256 0348f75f9f065f32c2aa6be519a06bf1ce2973580a11eef336d1c6e69346a49a SHA512 928734b1b9172f0ca1cd9f93df69079424ffe4942b81901c13659393b51a519e6bec51afb342cc9752c766db6959240cd79f01c1411fcbd3fd228743b90d262d WHIRLPOOL 260ba15f94e64b3f42e3f25b8d75e33f70f482de50eac4dbe59ec1ad205f63fd47de1471c40c5222c7f4104a88efc54fadbcac7a6f952904dbe22f45c2e1d2dc +MISC ChangeLog 2462 SHA256 06fdf3cb4feaa1179e2f1a5d120e36db3e453b3f36df7195c94cd35ac17755bf SHA512 03ab353ffc02b580c88907770bf042271b0fdfe7df75af3e3a3f85a7469fb8b13059ab442ab056d41e1496f6147cd2d237b01550e217894cdb11ba12f35b0f9c WHIRLPOOL 9ecb51e7ff07add72bd22824e6a11c8e3d03f775a8351867d1027cf0409aa0410f541c474844ce988a65f7b685943d45cdfbe3801a5e9f600ba1842f9ec17f81 +MISC ChangeLog-2015 6456 SHA256 353a16432cb678a1f6a5b4fd9405d03ee1aaec7513791edb66f65b40b411dc30 SHA512 4732a1bd023a6dc13c5941cd502a4efc0a4982f2e9f00f7ff2b2524795d021ffe868dbe8f7f0cb6a47a0f1f51251382f43709ef69573c74c1afc2c26b865be56 WHIRLPOOL bb3b2819da2f4b0c9c9c99237e743fc02438d49433770ed07413f1bb88c4e35174acbc2f245e298e9cf3d1e0d1ed886038b97732a59ed22db537217457765318 +MISC metadata.xml 276 SHA256 d15d6b6bd9ffc8a642c7469d01788ba9158efb4ca27fcf3324d9e52d1b70ec93 SHA512 f0e6c6bc89659e01e157d9bf30d0a2f3fd2d71bc26c8d12489c4a44fc5237159946e25b46e7295ab4676aea63559194977a0b1e76aced31d81cf6387dd0f4250 WHIRLPOOL 26b9e81575f613b751f76234013c30a8da84a1c0dd75c12b8df32706ee753691bbc889a2dec5001cc8c4b05c47aca49ed9fabbb5a6fefed74aaa86d6c3f56cee diff --git a/net-analyzer/netio/files/netio-1.26-linux-include.patch b/net-analyzer/netio/files/netio-1.26-linux-include.patch new file mode 100644 index 000000000000..e006c82d71aa --- /dev/null +++ b/net-analyzer/netio/files/netio-1.26-linux-include.patch @@ -0,0 +1,13 @@ +Add missing include (see inet(3)) - JeR + + +--- a/netio.c ++++ b/netio.c +@@ -199,6 +199,7 @@ + #include <sys/time.h> + #include <time.h> + #include <netinet/in.h> ++#include <arpa/inet.h> + #include <netdb.h> + + #define psock_errno(x) perror(x) diff --git a/net-analyzer/netio/metadata.xml b/net-analyzer/netio/metadata.xml new file mode 100644 index 000000000000..74c2baebb4ec --- /dev/null +++ b/net-analyzer/netio/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/netio/netio-1.32.ebuild b/net-analyzer/netio/netio-1.32.ebuild new file mode 100644 index 000000000000..2f43e6a30a2d --- /dev/null +++ b/net-analyzer/netio/netio-1.32.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="a network benchmarking tool that measures net throughput with NetBIOS and TCP/IP protocols" +HOMEPAGE="http://www.ars.de/ars/ars.nsf/docs/netio" +SRC_URI='http://www.ars.de/ARS/ars.nsf/f24a6a0b94c22d82862566960071bf5a/aa577bc4be573b05c125706d004c75b5/$FILE/netio132.zip' + +LICENSE="free-noncomm" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="" +RESTRICT="mirror" # bug #391789 comment #1 + +DEPEND="app-arch/unzip + >=sys-apps/sed-4" + +S="${WORKDIR}" + +src_prepare() { + edos2unix *.c *.h + + sed -i \ + -e "s|LFLAGS=\"\"|LFLAGS?=\"${LDFLAGS}\"|g" \ + -e 's|\(CC\)=|\1?=|g' \ + -e 's|\(CFLAGS\)=|\1+=|g' \ + Makefile || die + epatch "${FILESDIR}"/${PN}-1.26-linux-include.patch +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + linux +} + +src_install() { + dobin netio + dodoc netio.doc +} |