diff options
-rw-r--r-- | net-misc/iperf/Manifest | 2 | ||||
-rw-r--r-- | net-misc/iperf/files/iperf3.initd | 11 | ||||
-rw-r--r-- | net-misc/iperf/iperf-3.1.2.ebuild (renamed from net-misc/iperf/iperf-3.1_beta3.ebuild) | 7 |
3 files changed, 18 insertions, 2 deletions
diff --git a/net-misc/iperf/Manifest b/net-misc/iperf/Manifest index fd6545614734..573134bc2499 100644 --- a/net-misc/iperf/Manifest +++ b/net-misc/iperf/Manifest @@ -1,3 +1,3 @@ DIST iperf-2.0.5.tar.gz 248583 SHA256 636b4eff0431cea80667ea85a67ce4c68698760a9837e1e9d13096d20362265b SHA512 da9a0c01dea2a9dd33aa130b11d938d5f44dd6c3ab27526b0a43df5bf2550fede04238a00b7d54037426afe90ac6d8c4f4ae6861aa170ca7835b6664c9d6537f WHIRLPOOL d66b007fad372516c7f7377872b69ea450fa9ff6d1492f2a224a73f2fb3f7616bd2d57a34a815d4d95683d81fd02d76472d4727323e920410034ba725f6476ce DIST iperf-3.0.11.tar.gz 426434 SHA256 c774b807ea4db20e07558c47951df186b6fb1dd0cdef4282c078853ad87cc712 SHA512 292b826099a1fc813f2fbe4506f8bd8b3b2e4dde04e33a097cce966d7502b3c521a29b9ba74e55fe38406fdb85090695f59febbf4ca31bb1ffc801b3b7615d19 WHIRLPOOL e16799997d7e3c0abe2e2a93bd559a69c0d3c96aab954cd9fb4be93cc8ce4f38c7a2ced034b1b03b2dc257bd5c82d202b4da528ee11f86ed99890fb02cad4b04 -DIST iperf-3.1_beta3.tar.gz 542912 SHA256 ed96fd8dcc7150f3bb93536e3f1858121210e7f90cd637d76400e26cb1426679 SHA512 eab26b54a14e86fbe1503979b5924abdb3438710c7baf782fef97e7170f4d81eb9946b000fadd89d123daecb03b6a09fc429615c076fb0a444d30929983e3be8 WHIRLPOOL a627a88fe7c863af354a7e00bfe066bd06daee7e1fc72de385d4294b7304bd7ce1af7c35a0bf257305b5851db8a1b376d58f39e2053c8aa801b7a16bae0c9531 +DIST iperf-3.1.2.tar.gz 545107 SHA256 48b5c783bb4a9c44f2bdcfe52c5d45b77ab1e1c82de3d0131f692457950811f9 SHA512 f0503e8dc77c575fe85f0800da9242da73c7d1ffce3aae0971f8fe7c5c3e74901ebdc3956bfe0bb58a5ffe4f6ccbe5a6d5402f188b0ceb1a02c410f5589a568d WHIRLPOOL 1537ba5a9e300b2b67ff42ba78fe97c09f99891feff6e2b66ec460dd1c12e29acdfee1e17b3af2d5a74aac17bd4bb635b0a268646b1117d5147dd8790ad77af9 diff --git a/net-misc/iperf/files/iperf3.initd b/net-misc/iperf/files/iperf3.initd new file mode 100644 index 000000000000..d02f560146ff --- /dev/null +++ b/net-misc/iperf/files/iperf3.initd @@ -0,0 +1,11 @@ +#!/sbin/runscript +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +description="IP bandwidth measurement server" +command="/usr/bin/iperf3" + +command_background="yes" +pidfile="/run/${SVCNAME}.pid" +command_args="-s ${IPERF_OPTS}" diff --git a/net-misc/iperf/iperf-3.1_beta3.ebuild b/net-misc/iperf/iperf-3.1.2.ebuild index 6e0d1842d7a7..985ad2a7b95f 100644 --- a/net-misc/iperf/iperf-3.1_beta3.ebuild +++ b/net-misc/iperf/iperf-3.1.2.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI=6 inherit autotools eutils DESCRIPTION="A TCP, UDP, and SCTP network bandwidth measurement tool" @@ -20,6 +20,9 @@ S=${WORKDIR}/${P/_beta/b} src_prepare() { epatch "${FILESDIR}"/${PN}-3.0.5-flags.patch + + eapply_user + eautoreconf } @@ -29,5 +32,7 @@ src_configure() { src_install() { default + newconfd "${FILESDIR}"/iperf.confd iperf3 + newinitd "${FILESDIR}"/iperf3.initd iperf3 prune_libtool_files } |