summaryrefslogtreecommitdiff
path: root/net-analyzer/tptest
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /net-analyzer/tptest
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'net-analyzer/tptest')
-rw-r--r--net-analyzer/tptest/Manifest2
-rw-r--r--net-analyzer/tptest/tptest-3.1.7-r2.ebuild25
2 files changed, 17 insertions, 10 deletions
diff --git a/net-analyzer/tptest/Manifest b/net-analyzer/tptest/Manifest
index 99e1b2a84764..8289f6db741e 100644
--- a/net-analyzer/tptest/Manifest
+++ b/net-analyzer/tptest/Manifest
@@ -1,4 +1,4 @@
AUX tptest-3.1.7-getstatsfromlinevuln.patch 5727 BLAKE2B 65fb90b6557317571fde1be18c608bdadfd379d9c0be7d110bfd2d15a028ecf35a0a6cc2e66cf69c2435cdab4d947a173cf9fec7c2521483a8f3d1dbe6cd9909 SHA512 3d0135d382adbbb58fc359d021313b4eef319d96c46cfdee06def06273dce259d0027a4dd043ccb08c5382dc543c6ec5ba05b536e685f41b946c8048711dc883
DIST tptest-3.1.7.tar.gz 313801 BLAKE2B cf4cc6e1e76dbaee8925d9432335ec0a28fcf790dba5c85568ea538fe442c55c8a3ad7ac4fbf4cb1c4ed967cc18dab50212ab26915232bd7fc284dc4e6f0278b SHA512 c78fdbc561adbe109be9fc45a2dbd5c452235525ac4d5f24e39fd8824825fd02c35853411c3f4ae1870f98b576df37f3f1f1266de7c40edcb8f35c69b9063c59
-EBUILD tptest-3.1.7-r2.ebuild 878 BLAKE2B e6f6ec3f9a51f2e3eee971658585dae3cf10732f0790c02c83ffb4965bff228845c3cd493ac296f678407b369bd01228df09f5cdf8bf9a2aa15d0f584c3dc1f6 SHA512 66fb9a730648e6320145009044fb619073caeb804d676574e0ce83a28c775409aeb0e690969f0973c7df978a6d251517166ccb515484b42a403fb7cc1871459c
+EBUILD tptest-3.1.7-r2.ebuild 904 BLAKE2B 2f3b67862522fd3f93e05433c97e9fcf6b5197eab84493b74d77b9d940e6b999ac9a1ee31d356bc8ea9d3879ac11699c73b8f75ec268abb7752a809d55b0e104 SHA512 91b6df4f70e62db824533ad93198f9d49d083e910bd76d0288fb59df73b702882ff8f5644aab5a87486a55850265fbc551f0db84405e2938149a4d3f37171ed1
MISC metadata.xml 356 BLAKE2B 601b177e39d12ed70fedc182e52730c62b720bc0d8a61b3087a12519d56146b7ddb3f8e69375c62e50e1d5722223481100b47262313c7cd727a0fa10fae7aa98 SHA512 df040b3a61401e1ca7ff513904875c135b48d03dbbe8ee4bd83f2faa8e8ba448bed670a44b6ff04b24cace44d8308ca64c29dfb32b2f0dac602e3d6d62234956
diff --git a/net-analyzer/tptest/tptest-3.1.7-r2.ebuild b/net-analyzer/tptest/tptest-3.1.7-r2.ebuild
index 709ad3a89a3e..6187c9661381 100644
--- a/net-analyzer/tptest/tptest-3.1.7-r2.ebuild
+++ b/net-analyzer/tptest/tptest-3.1.7-r2.ebuild
@@ -1,35 +1,42 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit toolchain-funcs eutils
+EAPI=7
+
+inherit toolchain-funcs
MY_PV="${PV/./_}"
DESCRIPTION="Internet bandwidth tester"
HOMEPAGE="http://tptest.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
LICENSE="GPL-2"
SLOT="0"
-
KEYWORDS="amd64 ppc sparc x86"
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.1.7-getstatsfromlinevuln.patch
+)
+
src_prepare() {
+ default
+
sed -i apps/unix/{client,server}/Makefile \
-e "s:^CFLAGS[[:space:]]*=:CFLAGS+=:" \
|| die
- epatch "${FILESDIR}/${PN}-3.1.7-getstatsfromlinevuln.patch"
- cp -f os-dep/unix/* .
- cp -f engine/* .
+
+ cp -f os-dep/unix/* . || die
+ cp -f engine/* . || die
}
src_compile() {
emake -C apps/unix/client \
- CC=$(tc-getCC) \
+ CC="$(tc-getCC)" \
LDFLAGS="${LDFLAGS}"
emake -C apps/unix/server \
- CC=$(tc-getCC) \
+ CC="$(tc-getCC)" \
LDFLAGS="${LDFLAGS}"
}