diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-19 07:57:57 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-19 07:57:57 +0100 |
commit | 27f7ac2204449d9fc2137f442522b4fb10327d90 (patch) | |
tree | e0fa5de044037be9ff62dcb6bcc8dbeca087767d /net-analyzer/bing | |
parent | 84a400be40cf32d9e536ae34ebf14ad06ad6b8d6 (diff) |
gentoo auto-resync : 19:10:2022 - 07:57:56
Diffstat (limited to 'net-analyzer/bing')
-rw-r--r-- | net-analyzer/bing/Manifest | 3 | ||||
-rw-r--r-- | net-analyzer/bing/bing-1.3.5.ebuild | 33 | ||||
-rw-r--r-- | net-analyzer/bing/files/bing-1.3.5-Add-missing-string.h-for-memcpy.patch | 17 |
3 files changed, 53 insertions, 0 deletions
diff --git a/net-analyzer/bing/Manifest b/net-analyzer/bing/Manifest index 08879f0d9938..b1141a22eea8 100644 --- a/net-analyzer/bing/Manifest +++ b/net-analyzer/bing/Manifest @@ -1,3 +1,6 @@ +AUX bing-1.3.5-Add-missing-string.h-for-memcpy.patch 447 BLAKE2B 413d4da7a69afa63ef2ded8c75874ca85f16827d0175dbd9f96d321ff64919de9a013176db497163340535bfdbfcfc4e36a117fbda28859268a4d49f790a7bdd SHA512 fc02ecbfe91a8cf062ba85b82b7f6260180d61a8f47edfa801f0e2d7f325ca9af4be4933b49af51ffbabb959ee93c24114fba02a034f7ad99ecca33316c72495 DIST bing_1.1.3.orig.tar.gz 38847 BLAKE2B ba01ff0e9a53fa8e9cd44ee085d78ae8d8891cc5478697a0d8fb13917c9a4104a672dcc7aba0c6c91e7f0084ac4254b6f565cf44486b6162225c5a21cb1614a7 SHA512 df56f93047454a02b305154b12898b063c340e96778db9e11114ac4598446648b3ed5fe4304e0f3e33f612069b0f0e4e231396ee878655683f923ad5418d6242 +DIST bing_1.3.5.orig.tar.gz 81083 BLAKE2B b6d7b9de4181cbe5054e2260482d6d2f6026e433815924fc5a8c74e4bb2d2da465a57e31e588b4d30f7e7b1c577440c4018b463df46278e8dc90f01e9d710ea6 SHA512 187c0dd8aff289943d044402cb072a64f9eb8470295ab4d3e94e78f1f8388c6737929b8ed6c11b551fc866bba4c45c3fbb1aa7b5ca1a6c798f313db9902d003f EBUILD bing-1.1.3-r2.ebuild 605 BLAKE2B 762559fd5373c6dcb4023ee65edd81d2a8b7a136e4cd042e1f32d3031532449c0ae3d191735b685268d3fe6e56c715626b4a620e7a0dfb2e24241adf887789c7 SHA512 b8c3319d93640063415ae7aeb3721f341a4cb39b8949df0e51913a85091b1b90a7920a8100252be741c2345f1723f3c594ade7ce4c18250e634fac82fd5f73c3 +EBUILD bing-1.3.5.ebuild 687 BLAKE2B c5138c1ac14096ddf6647695b65eac4c0cc465b954473233de37a94d5c9617ede17ff0eb5972210de268dbc5de2e4d343900bc4a83554f3ffd5462608f8197e0 SHA512 9e1ec3259871a51dadcfbd47ac8464e4be697d4c06831323bf8b5885ad312fdccfa23d17165f47d3d94b27968309d9d6ffe7ce66ab5c0f23235b645baf5c6775 MISC metadata.xml 168 BLAKE2B 2e0e000b4c3b6ca04c12903fdbe278415c05a822623c52e9aa95cbbf3d50bcb1246b7edbda7d2f6b559af8950c6374e6e0a69b76319964cfe686bf50b0604a57 SHA512 4dcf45d1809e8390a2d8155c8ebfe0dd610203e392aeab0ccd8a10f42cc8532a4925eff32b35e7a6c35598a4efd288229034ec0732299dbd8cfa0acff705fed3 diff --git a/net-analyzer/bing/bing-1.3.5.ebuild b/net-analyzer/bing/bing-1.3.5.ebuild new file mode 100644 index 000000000000..7d3c5ef5ae8a --- /dev/null +++ b/net-analyzer/bing/bing-1.3.5.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="A point-to-point bandwidth measurement tool" +HOMEPAGE="http://fgouget.free.fr/bing/index-en.shtml" +SRC_URI="mirror://debian/pool/main/b/bing/${PN}_${PV}.orig.tar.gz" + +LICENSE="BSD-4" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86" + +PATCHES=( + "${FILESDIR}"/${PN}-1.3.5-Add-missing-string.h-for-memcpy.patch +) + +src_prepare() { + default + sed -i -e "s|#COPTIM = -g| COPTIM = ${CFLAGS}|" Makefile || die +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + dobin bing + doman unix/bing.8 + dodoc ChangeLog Readme.{1st,txt} +} diff --git a/net-analyzer/bing/files/bing-1.3.5-Add-missing-string.h-for-memcpy.patch b/net-analyzer/bing/files/bing-1.3.5-Add-missing-string.h-for-memcpy.patch new file mode 100644 index 000000000000..424a591c1548 --- /dev/null +++ b/net-analyzer/bing/files/bing-1.3.5-Add-missing-string.h-for-memcpy.patch @@ -0,0 +1,17 @@ +https://bugs.gentoo.org/874057 + +From dafa483ba52e334cdc138a4f9e5999d2d5cc5d9b Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Wed, 19 Oct 2022 02:58:47 +0100 +Subject: [PATCH] Add missing <string.h> for memcpy + +--- a/bing_probes.c ++++ b/bing_probes.c +@@ -10,6 +10,7 @@ + #include <errno.h> + #include <malloc.h> + #include <stdlib.h> ++#include <string.h> + + /* types.h provides u_short on HPUX10 and Solaris */ + #include <sys/types.h> |