summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-01-02 11:10:33 +0000
committerSam James <sam@gentoo.org>2021-01-02 11:10:59 +0000
commit78b42a052d6a4a44ec4bee3785429510424ec96b (patch)
tree5c1bc33169112c316e7f292412a254b33d787c59 /net-misc/iperf/iperf-3.9-r1.ebuild
parentnet-analyzer/vnstat: minor style changes for now (diff)
downloadgentoo-78b42a052d6a4a44ec4bee3785429510424ec96b.tar.gz
gentoo-78b42a052d6a4a44ec4bee3785429510424ec96b.tar.bz2
gentoo-78b42a052d6a4a44ec4bee3785429510424ec96b.zip
net-misc/iperf: minor style changes
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/iperf/iperf-3.9-r1.ebuild')
-rw-r--r--net-misc/iperf/iperf-3.9-r1.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/net-misc/iperf/iperf-3.9-r1.ebuild b/net-misc/iperf/iperf-3.9-r1.ebuild
index 05b4323e7917..280a900bb9db 100644
--- a/net-misc/iperf/iperf-3.9-r1.ebuild
+++ b/net-misc/iperf/iperf-3.9-r1.ebuild
@@ -7,6 +7,7 @@ inherit systemd
DESCRIPTION="A TCP, UDP, and SCTP network bandwidth measurement tool"
HOMEPAGE="https://github.com/esnet/iperf/"
SRC_URI="https://github.com/esnet/iperf/archive/${PV/_/}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${P/_/}"
LICENSE="BSD"
SLOT="3"
@@ -18,11 +19,9 @@ DEPEND="
libressl? ( dev-libs/libressl:0= )
sctp? ( net-misc/lksctp-tools )
"
-RDEPEND="
- ${DEPEND}
-"
-S=${WORKDIR}/${P/_/}
-DOCS="README.md RELNOTES.md"
+RDEPEND="${DEPEND}"
+
+DOCS=( "README.md RELNOTES.md" )
src_configure() {
econf \
@@ -32,6 +31,7 @@ src_configure() {
src_install() {
default
+
newconfd "${FILESDIR}"/iperf.confd iperf3
newinitd "${FILESDIR}"/iperf3.initd iperf3
systemd_dounit contrib/iperf3.service