commit:     0e8ac086f89a57f077e9e4e49a44b5c212ac4a5d
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 15 10:03:04 2020 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Mon Jun 15 10:05:02 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e8ac086

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 <AT> gentoo.org>

 net-misc/iperf/iperf-3.7.ebuild           |  3 +--
 net-misc/iperf/iperf-3.8.1.ebuild         |  3 +--
 net-misc/iperf/iperf-3.99999.99999.ebuild | 18 ++++++++++--------
 net-misc/iperf/metadata.xml               |  3 ---
 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 1f4e52a28f0..d4df9907c18 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 cb655f6b478..eaf20a65cee 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 f50078047e0..14dfc1e065c 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 6941792a118..a18ccf22423 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>

Reply via email to