mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 10:17:08 -08:00
net-misc/iperf: minor style changes
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
@@ -12,7 +12,8 @@ SLOT="2"
|
||||
KEYWORDS="amd64 ~arm ~hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="ipv6 threads debug"
|
||||
|
||||
DOCS="INSTALL README"
|
||||
DOCS=( "INSTALL README" )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.0.12-ipv6.patch
|
||||
)
|
||||
@@ -26,6 +27,7 @@ src_configure() {
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
dodoc doc/*
|
||||
newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN}
|
||||
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
||||
|
||||
@@ -2,23 +2,25 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Tool to measure IP bandwidth using UDP or TCP"
|
||||
HOMEPAGE="https://sourceforge.net/projects/iperf2/"
|
||||
SRC_URI="mirror://sourceforge/${PN}2/${PN}-2.0.13.tar.gz"
|
||||
S="${WORKDIR}/${PN}-2.0.13"
|
||||
|
||||
LICENSE="HPND"
|
||||
SLOT="2"
|
||||
KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="ipv6 threads debug"
|
||||
|
||||
DOCS="INSTALL README"
|
||||
DOCS=( "INSTALL README" )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.0.12-ipv6.patch
|
||||
"${FILESDIR}"/${P}.patch
|
||||
)
|
||||
S=${WORKDIR}/${PN}-2.0.13
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
@@ -33,6 +35,7 @@ src_compile() {
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
dodoc doc/*
|
||||
newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN}
|
||||
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit git-r3 toolchain-funcs
|
||||
|
||||
DESCRIPTION="Tool to measure IP bandwidth using UDP or TCP"
|
||||
@@ -10,10 +11,10 @@ EGIT_REPO_URI="https://git.code.sf.net/p/iperf2/code"
|
||||
|
||||
LICENSE="HPND"
|
||||
SLOT="2"
|
||||
KEYWORDS=""
|
||||
IUSE="ipv6 threads debug"
|
||||
|
||||
DOCS="INSTALL README"
|
||||
DOCS=( "INSTALL README" )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.0.12-ipv6.patch
|
||||
)
|
||||
@@ -31,6 +32,7 @@ src_compile() {
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
dodoc doc/*
|
||||
newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN}
|
||||
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
||||
|
||||
@@ -1,12 +1,14 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools eutils ltprune
|
||||
|
||||
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,9 +20,9 @@ DEPEND="!libressl? ( dev-libs/openssl:0= )
|
||||
sctp? ( net-misc/lksctp-tools )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${P/_/}
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-3.0.5-flags.patch )
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.0.5-flags.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
@@ -35,6 +37,7 @@ src_configure() {
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
newconfd "${FILESDIR}"/iperf.confd iperf3
|
||||
newinitd "${FILESDIR}"/iperf3.initd iperf3
|
||||
prune_libtool_files
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,16 +1,17 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools git-r3
|
||||
|
||||
DESCRIPTION="A TCP, UDP, and SCTP network bandwidth measurement tool"
|
||||
HOMEPAGE="https://github.com/esnet/iperf/"
|
||||
EGIT_REPO_URI="https://github.com/esnet/iperf/"
|
||||
S="${WORKDIR}/${P/_/}"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="3"
|
||||
KEYWORDS=""
|
||||
IUSE="libressl sctp static-libs"
|
||||
|
||||
DEPEND="
|
||||
@@ -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
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
|
||||
Reference in New Issue
Block a user