summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-08-26 16:02:15 +0000
committerJeroen Roovers <jer@gentoo.org>2010-08-26 16:02:15 +0000
commitfa5d11ac54f3f7bbc88b06219a76d98a44474752 (patch)
treebcecc3c8306edbc3f89e3c23849e0bc4bb5db324 /net-analyzer/ttcp
parentTaking over from Mr. Maintainer-Needed, who hasn't shown much activity. (diff)
downloadgentoo-2-fa5d11ac54f3f7bbc88b06219a76d98a44474752.tar.gz
gentoo-2-fa5d11ac54f3f7bbc88b06219a76d98a44474752.tar.bz2
gentoo-2-fa5d11ac54f3f7bbc88b06219a76d98a44474752.zip
Respect LDFLAGS (bug #334651). Fix quoting. Always apply "amd64" patch (fix a couple of implicit declaration warnings for everyone).
(Portage version: 2.2_rc69/cvs/Linux i686)
Diffstat (limited to 'net-analyzer/ttcp')
-rw-r--r--net-analyzer/ttcp/ChangeLog8
-rw-r--r--net-analyzer/ttcp/ttcp-1.12-r1.ebuild31
2 files changed, 38 insertions, 1 deletions
diff --git a/net-analyzer/ttcp/ChangeLog b/net-analyzer/ttcp/ChangeLog
index db139e3ff8d1..541e739dbcd0 100644
--- a/net-analyzer/ttcp/ChangeLog
+++ b/net-analyzer/ttcp/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/ttcp
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ttcp/ChangeLog,v 1.18 2010/04/18 16:55:45 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ttcp/ChangeLog,v 1.19 2010/08/26 16:02:15 jer Exp $
+
+*ttcp-1.12-r1 (26 Aug 2010)
+
+ 26 Aug 2010; Jeroen Roovers <jer@gentoo.org> +ttcp-1.12-r1.ebuild:
+ Respect LDFLAGS (bug #334651). Fix quoting. Always apply "amd64" patch
+ (fix a couple of implicit declaration warnings for everyone).
18 Apr 2010; <nixnut@gentoo.org> ttcp-1.12.ebuild:
ppc stable #310553
diff --git a/net-analyzer/ttcp/ttcp-1.12-r1.ebuild b/net-analyzer/ttcp/ttcp-1.12-r1.ebuild
new file mode 100644
index 000000000000..9da0d585857b
--- /dev/null
+++ b/net-analyzer/ttcp/ttcp-1.12-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ttcp/ttcp-1.12-r1.ebuild,v 1.1 2010/08/26 16:02:15 jer Exp $
+
+EAPI="2"
+
+inherit toolchain-funcs eutils
+
+IUSE=""
+DESCRIPTION="Tool to test TCP and UDP throughput"
+HOMEPAGE="http://ftp.arl.mil/~mike/ttcp.html"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~mips ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+
+DEPEND=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/ttcp-1.12-amd64.patch
+}
+
+src_compile() {
+ $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o ttcp sgi-ttcp.c || die "compile failed"
+}
+
+src_install() {
+ dobin ttcp
+ newman sgi-ttcp.1 ttcp.1
+}