diff options
Diffstat (limited to 'net-misc/iperf')
-rw-r--r-- | net-misc/iperf/Manifest | 3 | ||||
-rw-r--r-- | net-misc/iperf/files/iperf-3.10.1-drop-forced-debugging-symbols.patch | 148 | ||||
-rw-r--r-- | net-misc/iperf/iperf-3.10.1.ebuild | 4 |
3 files changed, 154 insertions, 1 deletions
diff --git a/net-misc/iperf/Manifest b/net-misc/iperf/Manifest index 91b50a19f9cc..f134f024a9e9 100644 --- a/net-misc/iperf/Manifest +++ b/net-misc/iperf/Manifest @@ -1,5 +1,6 @@ AUX iperf-2.0.12-ipv6.patch 856 BLAKE2B 321ef3f9f9d87243a32f9f0d0c43083670ef3737758a19138d7d18009fc6456c45fa0b0457048a84ef919576c16ae9155146a9599cb582272cb1c7a3af91a4c0 SHA512 199aee88020c7dc579ba2cbc31cdc049c883211a4a2f58d84c0a07ba6a8d0169c5f4652eb0d89db3b0176b65cb3eb19c1897caf3e414df3b9beedaa51a3f458f AUX iperf-2.0.14a.patch 4317 BLAKE2B 96b5894040b22c3e842b815cfe816fdcfda7b397aac6c72e9ef9d8d6d65eaff314054ad1e5c1510b9afb6dcb96051028abfebda23a9a04f5b49eaf380a4d5105 SHA512 cbe1701972b3b51ed10e448e0a769b3fac835b3e4459c81face294b21ec778d7a306c0e5ff284ea22a4b9d2fe51060f2c077b3aa96d43484ac095909da998e19 +AUX iperf-3.10.1-drop-forced-debugging-symbols.patch 4250 BLAKE2B bbad11654523de15816e8b1429a5df99fca6c5b110217896d4554ba54f3d75bc6f9d8487993ba8368d1cc7e385569510727acba86b95251174c0ffe03f6ad115 SHA512 97e8dd9e317c7713d280863f501dc7a056a2c2088cccc9237cec8c4583185161becae692e21253700bce33eadd9aabd69be0deacaf8ac0950456a23501a93f54 AUX iperf.confd 200 BLAKE2B 3ea37bb2ee8c3994e3d2f877e0c0d4a695e26ea0ecc51005c059b05b56ff66a6d93086b3100aa36db30d2e8efd3914eda148a61c379d6c35a73fd64f74d1e3d7 SHA512 49d79507064de54fbf1c5d11315b7c7be24a854968687ae0de7e0ee34c947495f4c98a5b629d68afcd414fd91cc759cda59c4f367c68137ff6e7bc4a214a6551 AUX iperf.initd-r1 437 BLAKE2B 66c72b35df0002d972ea483c3748a2ef5a1809c8e953f4fe1ba0022957046973839303596c43cca2b5c1ec4673fcf7c148c71b6c9b17f05506119734439897ba SHA512 5515ee1ca14d15fe2968e3f88e4ec1eb3860625aec27b4ae2f94667e6d3b3cb25dd76891121e658ad4346d8bfc9e1047630e586d90361ef364cb1bc8208ac4c1 AUX iperf3.initd 287 BLAKE2B 4e99a38963676e411481f18ebbe492b5d0cea179be7fe590712f4a83c45ef426a8eada38b671c32023e5661e03d9bd52c9f361f8702a94999ce8134534f87bc2 SHA512 39718252b3ffc9e8cbc8da82308a3ba0ecd77f9bb7d5ab27dded0292e15079b8a877996e37d3ecd527ed1de6f6dd65b360180dc624fbbda8541605b657620040 @@ -8,7 +9,7 @@ DIST iperf-3.10.1.tar.gz 636957 BLAKE2B 8390b4fb0d4c6590bf73e46d55fbe100f1c9832b DIST iperf-3.9.tar.gz 627100 BLAKE2B c09018dc066612c61076ed4c53dd93b4dba766fbcbc359eb402055dcaa90af63e2df2b6c67ba8a0a72a17648014240dc5b355084e69550afed4d59257a224de8 SHA512 3da0939bed576a7c14baa03c996e6f407f20bfe58c4b3a36a66e74f41bd5442c0b23ab18c8eb1f2f37fd47449af533b61b658d810c68707b2b06d28894ac2035 EBUILD iperf-2.0.14a.ebuild 856 BLAKE2B d75c7d282707edad5bcf7b8304c1820beb7dbe082f8a0203dd75857ab9ab80a741049acb671bd3383aafa936a51fcaf4cee19e98de64e71456332d6cd676e8b9 SHA512 2dfca97c4d60f56a8977279dd947fc35f0c30d8bc3c36fe308bb72de8287b5975ea20be2b11aaf1b2d858b1e3543ef759a94419e90a9ae0a304e8f852e9a1d34 EBUILD iperf-2.99999.99999.ebuild 670 BLAKE2B 753dbd819ad867ee52dcdb9af069667d78053826f0028257eaee9fa13b6fab31cb27e5d419baa4c038a3346f607cd06639ed4dcc8fabbee6af943de336e9c45d SHA512 37d2329648792714b13e5fcdd2709b181d1cf32aa159aa39d8e3a1b922a01ef47e13ea340bef966991b7321d93bf9a41e7d2e824204f6770610eb71afeec6f13 -EBUILD iperf-3.10.1.ebuild 886 BLAKE2B 6c5610d40243962c52db5eb2f90b774bf5efb75a1dd66a2811cb47be3b34789aa0cdc0e83991c812e31a9e893a92981be997c42eaea57988f1e7f81c1150f89e SHA512 7563f89b69490920026a769618d1445a2f5d44f6d9c3d9075045a4c0071863d1aa305e76d971f6c50173a6130a32627ffb26a4fc24a73428d22cbd7965dc7a8d +EBUILD iperf-3.10.1.ebuild 963 BLAKE2B 764cb543a68c77e73935a735c99adf6a8706b2f23f759878051977086a2a2bfbf24073872b2a65ef0e2574b6c33ddd5cb82b8717ce654e1907f43c8f52410f11 SHA512 042fa29144e1d4d5d7d6a0d8dc5b5ab4c6f798011ec17917694657407640aa626ba8bddeddde8fe2aad4e8b2a6189502ef00b7bd625ffdb60115b5befe67d3b3 EBUILD iperf-3.9-r1.ebuild 909 BLAKE2B ba3fb40ccd81fe6a241d51ff65ea925417fa8f9410dae883b5eaa13fd9da10202eecd7b575ec76425b91aa52eea19d678c34daf4484d7c2d6d5651ae505affbb SHA512 660f46d0f3167f667e2136b89a561eb616898791fd3c31b6409d70d0cc5df4f941a3f84fe0ea9e5b747bbc3641160359a2f960737ad555f7718e718a7db18d01 EBUILD iperf-3.99999.99999.ebuild 722 BLAKE2B 3e048d5eb49365b5c5f89e4072de496e908269c1dcf754f54810671d6ee66c08c814278be899060a7ac97a04464da4ddcbb9a93e79f5cbc6fa195eed584ea71d SHA512 b47ee419c1d04829ccb9a5a4225d58bb15f723a0f297b01c99f194ec662bba4200371aa0e084e737af0f9ccbbccb656c4e0dd680830fc9af11dc1be342bcd64c MISC metadata.xml 569 BLAKE2B 66b45104e695c19a4c0e9bb804e75c2f5236d7b9e6b6741df3ab40669c79374a7b01b080c3d99b21f522fd48554713cc44af543c661168aaa0a0989c8dbffeab SHA512 5c67ca8f97c48097ff3e1f8c2a738deebf2357c15f82e19f9b695da6892240a78e3fd2af265b9ebaa2f706e46d09bfc99401f0538ceebef448a911db3197b4ab diff --git a/net-misc/iperf/files/iperf-3.10.1-drop-forced-debugging-symbols.patch b/net-misc/iperf/files/iperf-3.10.1-drop-forced-debugging-symbols.patch new file mode 100644 index 000000000000..5ea569575484 --- /dev/null +++ b/net-misc/iperf/files/iperf-3.10.1-drop-forced-debugging-symbols.patch @@ -0,0 +1,148 @@ +https://bugs.gentoo.org/788973 + +From 456e9460f9320123c5449fd2314bc1b2a001547a Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Fri, 2 Jul 2021 05:21:46 +0100 +Subject: [PATCH] Drop forced -g + +--- + examples/Makefile.am | 4 ---- + examples/Makefile.in | 4 ---- + src/Makefile.am | 11 ++--------- + src/Makefile.in | 11 ++--------- + 4 files changed, 4 insertions(+), 26 deletions(-) + +diff --git a/examples/Makefile.am b/examples/Makefile.am +index 829f242..aad0ae2 100644 +--- a/examples/Makefile.am ++++ b/examples/Makefile.am +@@ -3,11 +3,7 @@ noinst_PROGRAMS = mic mis # Build, but don't install + AM_CPPFLAGS = -I$(top_srcdir)/src + + mic_SOURCES = mic.c +-mic_CFLAGS = -g + mic_LDADD = ../src/libiperf.la +-mic_LDFLAGS = -g + + mis_SOURCES = mis.c +-mis_CFLAGS = -g + mis_LDADD = ../src/libiperf.la +-mis_LDFLAGS = -g +diff --git a/examples/Makefile.in b/examples/Makefile.in +index d74c3c8..089b45d 100644 +--- a/examples/Makefile.in ++++ b/examples/Makefile.in +@@ -304,13 +304,9 @@ top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ + AM_CPPFLAGS = -I$(top_srcdir)/src + mic_SOURCES = mic.c +-mic_CFLAGS = -g + mic_LDADD = ../src/libiperf.la +-mic_LDFLAGS = -g + mis_SOURCES = mis.c +-mis_CFLAGS = -g + mis_LDADD = ../src/libiperf.la +-mis_LDFLAGS = -g + all: all-am + + .SUFFIXES: +diff --git a/src/Makefile.am b/src/Makefile.am +index 11d3e17..190ff26 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -47,9 +47,7 @@ libiperf_la_SOURCES = \ + + # Specify the sources and various flags for the iperf binary + iperf3_SOURCES = main.c +-iperf3_CFLAGS = -g + iperf3_LDADD = libiperf.la +-iperf3_LDFLAGS = -g + + if ENABLE_PROFILING + # If the iperf-profiled-binary is enabled +@@ -58,34 +56,29 @@ if ENABLE_PROFILING + iperf3_profile_SOURCES = main.c \ + $(libiperf_la_SOURCES) + +-iperf3_profile_CFLAGS = -pg -g ++iperf3_profile_CFLAGS = -pg + iperf3_profile_LDADD = libiperf.la +-iperf3_profile_LDFLAGS = -pg -g ++iperf3_profile_LDFLAGS = -pg + endif + + # Specify the sources and various flags for the test cases + t_timer_SOURCES = t_timer.c +-t_timer_CFLAGS = -g + t_timer_LDFLAGS = + t_timer_LDADD = libiperf.la + + t_units_SOURCES = t_units.c +-t_units_CFLAGS = -g + t_units_LDFLAGS = + t_units_LDADD = libiperf.la + + t_uuid_SOURCES = t_uuid.c +-t_uuid_CFLAGS = -g + t_uuid_LDFLAGS = + t_uuid_LDADD = libiperf.la + + t_api_SOURCES = t_api.c +-t_api_CFLAGS = -g + t_api_LDFLAGS = + t_api_LDADD = libiperf.la + + t_auth_SOURCES = t_auth.c +-t_auth_CFLAGS = -g + t_auth_LDFLAGS = + t_auth_LDADD = libiperf.la + +diff --git a/src/Makefile.in b/src/Makefile.in +index 34d92fa..2144ff7 100644 +--- a/src/Makefile.in ++++ b/src/Makefile.in +@@ -671,9 +671,7 @@ libiperf_la_SOURCES = \ + + # Specify the sources and various flags for the iperf binary + iperf3_SOURCES = main.c +-iperf3_CFLAGS = -g + iperf3_LDADD = libiperf.la +-iperf3_LDFLAGS = -g + + # If the iperf-profiled-binary is enabled + # Specify the sources and various flags for the profiled iperf binary. This +@@ -681,29 +679,24 @@ iperf3_LDFLAGS = -g + @ENABLE_PROFILING_TRUE@iperf3_profile_SOURCES = main.c \ + @ENABLE_PROFILING_TRUE@ $(libiperf_la_SOURCES) + +-@ENABLE_PROFILING_TRUE@iperf3_profile_CFLAGS = -pg -g ++@ENABLE_PROFILING_TRUE@iperf3_profile_CFLAGS = -pg + @ENABLE_PROFILING_TRUE@iperf3_profile_LDADD = libiperf.la +-@ENABLE_PROFILING_TRUE@iperf3_profile_LDFLAGS = -pg -g ++@ENABLE_PROFILING_TRUE@iperf3_profile_LDFLAGS = -pg + + # Specify the sources and various flags for the test cases + t_timer_SOURCES = t_timer.c +-t_timer_CFLAGS = -g + t_timer_LDFLAGS = + t_timer_LDADD = libiperf.la + t_units_SOURCES = t_units.c +-t_units_CFLAGS = -g + t_units_LDFLAGS = + t_units_LDADD = libiperf.la + t_uuid_SOURCES = t_uuid.c +-t_uuid_CFLAGS = -g + t_uuid_LDFLAGS = + t_uuid_LDADD = libiperf.la + t_api_SOURCES = t_api.c +-t_api_CFLAGS = -g + t_api_LDFLAGS = + t_api_LDADD = libiperf.la + t_auth_SOURCES = t_auth.c +-t_auth_CFLAGS = -g + t_auth_LDFLAGS = + t_auth_LDADD = libiperf.la + dist_man_MANS = iperf3.1 libiperf.3 +-- +2.32.0 + diff --git a/net-misc/iperf/iperf-3.10.1.ebuild b/net-misc/iperf/iperf-3.10.1.ebuild index 9e9f34b2843b..0b042e730826 100644 --- a/net-misc/iperf/iperf-3.10.1.ebuild +++ b/net-misc/iperf/iperf-3.10.1.ebuild @@ -23,6 +23,10 @@ RDEPEND="${DEPEND}" DOCS=( README.md RELNOTES.md ) +PATCHES=( + "${FILESDIR}"/${PN}-3.10.1-drop-forced-debugging-symbols.patch +) + src_configure() { econf \ --disable-static \ |