summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-06-15 12:03:04 +0200
committerJeroen Roovers <jer@gentoo.org>2020-06-15 12:05:02 +0200
commit0e8ac086f89a57f077e9e4e49a44b5c212ac4a5d (patch)
treec49a454cb1eaa9d94fa539cf67a4501fd6dd4295 /net-misc/iperf
parentdev-ada/gnatcoll-core: version bump to 2020 (diff)
downloadgentoo-0e8ac086f89a57f077e9e4e49a44b5c212ac4a5d.tar.gz
gentoo-0e8ac086f89a57f077e9e4e49a44b5c212ac4a5d.tar.bz2
gentoo-0e8ac086f89a57f077e9e4e49a44b5c212ac4a5d.zip
net-misc/iperf: Drop IUSE=profiling
The configure flag only takes care of compiling an iperf3_profile binary and not installing same. Anyone interested in that could use EXTRA_ECONF=--enable-profiling instead. Package-Manager: Portage-2.3.101, Repoman-2.3.22 Closes: https://bugs.gentoo.org/727930 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-misc/iperf')
-rw-r--r--net-misc/iperf/iperf-3.7.ebuild3
-rw-r--r--net-misc/iperf/iperf-3.8.1.ebuild3
-rw-r--r--net-misc/iperf/iperf-3.99999.99999.ebuild18
-rw-r--r--net-misc/iperf/metadata.xml3
4 files changed, 12 insertions, 15 deletions
diff --git a/net-misc/iperf/iperf-3.7.ebuild b/net-misc/iperf/iperf-3.7.ebuild
index 1f4e52a28f0c..d4df9907c185 100644
--- a/net-misc/iperf/iperf-3.7.ebuild
+++ b/net-misc/iperf/iperf-3.7.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/esnet/iperf/archive/${PV/_/}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="3"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint"
-IUSE="libressl profiling sctp static-libs"
+IUSE="libressl sctp static-libs"
DEPEND="
!libressl? ( dev-libs/openssl:0= )
@@ -24,7 +24,6 @@ S=${WORKDIR}/${P/_/}
src_configure() {
use sctp || export ac_cv_header_netinet_sctp_h=no
econf \
- $(use_enable profiling) \
$(use_enable static-libs static)
}
diff --git a/net-misc/iperf/iperf-3.8.1.ebuild b/net-misc/iperf/iperf-3.8.1.ebuild
index cb655f6b4782..eaf20a65cee9 100644
--- a/net-misc/iperf/iperf-3.8.1.ebuild
+++ b/net-misc/iperf/iperf-3.8.1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/esnet/iperf/archive/${PV/_/}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="3"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint"
-IUSE="libressl profiling sctp static-libs"
+IUSE="libressl sctp static-libs"
DEPEND="
!libressl? ( dev-libs/openssl:0= )
@@ -25,7 +25,6 @@ DOCS="README.md RELNOTES.md"
src_configure() {
econf \
- $(use_enable profiling) \
$(use_enable static-libs static) \
$(use_with sctp)
}
diff --git a/net-misc/iperf/iperf-3.99999.99999.ebuild b/net-misc/iperf/iperf-3.99999.99999.ebuild
index f50078047e0e..14dfc1e065cd 100644
--- a/net-misc/iperf/iperf-3.99999.99999.ebuild
+++ b/net-misc/iperf/iperf-3.99999.99999.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit autotools eutils git-r3 ltprune
+EAPI=7
+inherit autotools git-r3
DESCRIPTION="A TCP, UDP, and SCTP network bandwidth measurement tool"
HOMEPAGE="https://github.com/esnet/iperf/"
@@ -11,26 +11,28 @@ EGIT_REPO_URI="https://github.com/esnet/iperf/"
LICENSE="BSD"
SLOT="3"
KEYWORDS=""
-IUSE="libressl profiling sctp static-libs"
+IUSE="libressl sctp static-libs"
DEPEND="
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )
sctp? ( net-misc/lksctp-tools )
"
-RDEPEND="${DEPEND}"
+RDEPEND="
+ ${DEPEND}
+"
S=${WORKDIR}/${P/_/}
+DOCS="README.md RELNOTES.md"
src_configure() {
- use sctp || export ac_cv_header_netinet_sctp_h=no
econf \
- $(use_enable profiling) \
- $(use_enable static-libs static)
+ $(use_enable static-libs static) \
+ $(use_with sctp)
}
src_install() {
default
newconfd "${FILESDIR}"/iperf.confd iperf3
newinitd "${FILESDIR}"/iperf3.initd iperf3
- prune_libtool_files
+ find "${ED}" -name '*.la' -delete || die
}
diff --git a/net-misc/iperf/metadata.xml b/net-misc/iperf/metadata.xml
index 6941792a1185..a18ccf22423a 100644
--- a/net-misc/iperf/metadata.xml
+++ b/net-misc/iperf/metadata.xml
@@ -10,7 +10,4 @@
<remote-id type="github">esnet/iperf</remote-id>
<remote-id type="sourceforge">iperf</remote-id>
</upstream>
-<use>
-<flag name='profiling'>Install profiled iperf3 binary iperf3_profile</flag>
-</use>
</pkgmetadata>