commit:     b3591e2170750fe2b72af046b49ce801b71308ad
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 27 10:55:48 2018 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Tue Mar 27 10:56:10 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3591e21

net-analyzer/ttcp: Use a source file with a version in the name.

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-analyzer/ttcp/Manifest            |  2 +-
 net-analyzer/ttcp/ttcp-1.12-r2.ebuild | 11 +++++------
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/net-analyzer/ttcp/Manifest b/net-analyzer/ttcp/Manifest
index 642bfad3ce7..58725aa7cb8 100644
--- a/net-analyzer/ttcp/Manifest
+++ b/net-analyzer/ttcp/Manifest
@@ -1,2 +1,2 @@
+DIST ttcp-1.12.c 23690 BLAKE2B 
972869da1e2e945702e6852648166eefae224b39715ef8495526ec7cd33cdb1e69fa10bb356a96e701f8b597c547b3090956320f947a02f1fad0b12d027b7e32
 SHA512 
8fc800b05fcf3590d15a87983ac7abc3646c6d4a89f7cc6b91e495066a90a6ce21f7bd7b6ab21e09f07bfa20c39bdc7bcec479449d7cd2b88639dc6cca4a432e
 DIST ttcp-1.12.tar.bz2 8086 BLAKE2B 
42ec3d82d56ef28527c096be7b6ea568997f0028ebf51811974fec8c444a39785996b0a51eedff6cec6c53f215e4300a3dee91e45f54dbe979d1d1c42e792ab1
 SHA512 
2218f801a04964dcc684bac2957f892569e4458eb7770e26d4ac5a9a5beebb16b9191cacd8e60cceee306b8fe53000248b52457cb679a3d12ad4308bb0066dbb
-DIST ttcp.c 23690 BLAKE2B 
972869da1e2e945702e6852648166eefae224b39715ef8495526ec7cd33cdb1e69fa10bb356a96e701f8b597c547b3090956320f947a02f1fad0b12d027b7e32
 SHA512 
8fc800b05fcf3590d15a87983ac7abc3646c6d4a89f7cc6b91e495066a90a6ce21f7bd7b6ab21e09f07bfa20c39bdc7bcec479449d7cd2b88639dc6cca4a432e

diff --git a/net-analyzer/ttcp/ttcp-1.12-r2.ebuild 
b/net-analyzer/ttcp/ttcp-1.12-r2.ebuild
index 14f85101f14..49e46e02dbd 100644
--- a/net-analyzer/ttcp/ttcp-1.12-r2.ebuild
+++ b/net-analyzer/ttcp/ttcp-1.12-r2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 inherit toolchain-funcs
 
 DESCRIPTION="Tool to test TCP and UDP throughput"
@@ -11,14 +11,13 @@ HOMEPAGE="
 "
 LICENSE="public-domain"
 SLOT="0"
-KEYWORDS="amd64 ~hppa ~mips ppc ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~amd64 ~hppa ~mips ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux 
~ppc-macos"
 SRC_URI="
        mirror://gentoo/${P}.tar.bz2
-       http://www.netcore.fi/pekkas/linux/ipv6/${PN}.c
+       https://dev.gentoo.org/~jer/${P}.c
 "
-
 src_compile() {
-       $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o ${PN} "${DISTDIR}"/${PN}.c || die
+       $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o ${PN} "${DISTDIR}"/${P}.c || die
 }
 
 src_install() {

Reply via email to