Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ttcp/
Date: Tue, 27 Mar 2018 10:56:16
Message-Id: 1522148170.b3591e2170750fe2b72af046b49ce801b71308ad.jer@gentoo
1 commit: b3591e2170750fe2b72af046b49ce801b71308ad
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 27 10:55:48 2018 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 27 10:56:10 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3591e21
7
8 net-analyzer/ttcp: Use a source file with a version in the name.
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 net-analyzer/ttcp/Manifest | 2 +-
13 net-analyzer/ttcp/ttcp-1.12-r2.ebuild | 11 +++++------
14 2 files changed, 6 insertions(+), 7 deletions(-)
15
16 diff --git a/net-analyzer/ttcp/Manifest b/net-analyzer/ttcp/Manifest
17 index 642bfad3ce7..58725aa7cb8 100644
18 --- a/net-analyzer/ttcp/Manifest
19 +++ b/net-analyzer/ttcp/Manifest
20 @@ -1,2 +1,2 @@
21 +DIST ttcp-1.12.c 23690 BLAKE2B 972869da1e2e945702e6852648166eefae224b39715ef8495526ec7cd33cdb1e69fa10bb356a96e701f8b597c547b3090956320f947a02f1fad0b12d027b7e32 SHA512 8fc800b05fcf3590d15a87983ac7abc3646c6d4a89f7cc6b91e495066a90a6ce21f7bd7b6ab21e09f07bfa20c39bdc7bcec479449d7cd2b88639dc6cca4a432e
22 DIST ttcp-1.12.tar.bz2 8086 BLAKE2B 42ec3d82d56ef28527c096be7b6ea568997f0028ebf51811974fec8c444a39785996b0a51eedff6cec6c53f215e4300a3dee91e45f54dbe979d1d1c42e792ab1 SHA512 2218f801a04964dcc684bac2957f892569e4458eb7770e26d4ac5a9a5beebb16b9191cacd8e60cceee306b8fe53000248b52457cb679a3d12ad4308bb0066dbb
23 -DIST ttcp.c 23690 BLAKE2B 972869da1e2e945702e6852648166eefae224b39715ef8495526ec7cd33cdb1e69fa10bb356a96e701f8b597c547b3090956320f947a02f1fad0b12d027b7e32 SHA512 8fc800b05fcf3590d15a87983ac7abc3646c6d4a89f7cc6b91e495066a90a6ce21f7bd7b6ab21e09f07bfa20c39bdc7bcec479449d7cd2b88639dc6cca4a432e
24
25 diff --git a/net-analyzer/ttcp/ttcp-1.12-r2.ebuild b/net-analyzer/ttcp/ttcp-1.12-r2.ebuild
26 index 14f85101f14..49e46e02dbd 100644
27 --- a/net-analyzer/ttcp/ttcp-1.12-r2.ebuild
28 +++ b/net-analyzer/ttcp/ttcp-1.12-r2.ebuild
29 @@ -1,7 +1,7 @@
30 -# Copyright 1999-2014 Gentoo Foundation
31 +# Copyright 1999-2018 Gentoo Foundation
32 # Distributed under the terms of the GNU General Public License v2
33
34 -EAPI=5
35 +EAPI=6
36 inherit toolchain-funcs
37
38 DESCRIPTION="Tool to test TCP and UDP throughput"
39 @@ -11,14 +11,13 @@ HOMEPAGE="
40 "
41 LICENSE="public-domain"
42 SLOT="0"
43 -KEYWORDS="amd64 ~hppa ~mips ppc ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
44 +KEYWORDS="~amd64 ~hppa ~mips ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
45 SRC_URI="
46 mirror://gentoo/${P}.tar.bz2
47 - http://www.netcore.fi/pekkas/linux/ipv6/${PN}.c
48 + https://dev.gentoo.org/~jer/${P}.c
49 "
50 -
51 src_compile() {
52 - $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o ${PN} "${DISTDIR}"/${PN}.c || die
53 + $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o ${PN} "${DISTDIR}"/${P}.c || die
54 }
55
56 src_install() {