mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-14 08:26:57 +02:00
net-misc/iperf: Sync with Gentoo
It's from Gentoo commit db44c1b14d94a17ec374724ca97cdc0db6afa3a8.
This commit is contained in:
parent
a4adac3a61
commit
7d3af03ee4
@ -1,2 +1,3 @@
|
||||
DIST iperf-2.0.13.tar.gz 326148 BLAKE2B 2a40aea9e2d7fdc935b91be5e4e586bf68dd27604375d2570570145e5db1ea5837469a4989f47586986932bef33cba05ed19ed3a9ce40c0a5531581c6d3ba982 SHA512 40fcfb8f4d27887f53a743ac07396511fb2a7ac59f4b300fe36896bd0241e191945fa253705990711772ee776d5e4227ed62760fc92abebdfebcedd11c27c0ea
|
||||
DIST iperf-3.12.tar.gz 648136 BLAKE2B 95753e4fd2b7ca640b17501f6b21b0e63ea0a3df2ba920c672ffcccd991502cacf4bf3641be1ffbbb993c86e6915ceada5745cffe1796bb86b6a6a1dff8811ae SHA512 9b0600a19750311557833b32ca5c4be809ab98643522f125645dd8f83c482017e42fbe5fc9484624731176a59b67203a468eb81eebf1a37b9c1b3eff818857ba
|
||||
DIST iperf-3.13.tar.gz 648754 BLAKE2B 8b08ae0e67ed066c7dabd115b757fefff03196aa2d732b6d88e20cf82ea3a5431b9be753fcc7b331932a5e59dc3e24ff4b929a7a1af5b500704cdd5094bf6859 SHA512 067147edffa1d7482a9fc5d54638091f8bc099b9c45d9a471f4e33730463548fb2350749620f2ca3ff509cd7a9c4f63bf01f84cab36718edd8784ce7a15ca368
|
||||
|
54
sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-3.13.ebuild
vendored
Normal file
54
sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-3.13.ebuild
vendored
Normal file
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools 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"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
||||
IUSE="sctp"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/cJSON-1.7.15
|
||||
dev-libs/openssl:=
|
||||
sctp? ( net-misc/lksctp-tools )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
DOCS=( README.md RELNOTES.md )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.10.1-drop-forced-debugging-symbols.patch
|
||||
"${FILESDIR}"/${PN}-3.12-Unbundle-cJSON.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Drop bundled cjson
|
||||
rm src/cjson.{c,h} || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with sctp)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
newconfd "${FILESDIR}"/iperf.confd iperf3
|
||||
newinitd "${FILESDIR}"/iperf3.initd iperf3
|
||||
systemd_dounit contrib/iperf3.service
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
Loading…
Reference in New Issue
Block a user