summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2009-08-25 22:51:32 +0000
committerJeroen Roovers <jer@gentoo.org>2009-08-25 22:51:32 +0000
commitb107d2bbc09a2b276799aca15c399a454eb9b29c (patch)
tree7461136c1e27819dbdc8a08b7b63fb64c3f3ecfa /net-analyzer
parentUse CFLAGS from environment (bug #240852). Use LDFLAGS and CC too. Do not str... (diff)
downloadhistorical-b107d2bbc09a2b276799aca15c399a454eb9b29c.tar.gz
historical-b107d2bbc09a2b276799aca15c399a454eb9b29c.tar.bz2
historical-b107d2bbc09a2b276799aca15c399a454eb9b29c.zip
Use CFLAGS, CC, LDFLAGS. Use emake instead of make, dobin instead of exeinto/doexe.
Package-Manager: portage-2.2_rc40/cvs/Linux i686
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/gensink/ChangeLog11
-rw-r--r--net-analyzer/gensink/Manifest4
-rw-r--r--net-analyzer/gensink/files/gensink-4.1-make.patch10
-rw-r--r--net-analyzer/gensink/gensink-4.1-r1.ebuild27
4 files changed, 49 insertions, 3 deletions
diff --git a/net-analyzer/gensink/ChangeLog b/net-analyzer/gensink/ChangeLog
index 687f991030f2..c7bd8d5192d4 100644
--- a/net-analyzer/gensink/ChangeLog
+++ b/net-analyzer/gensink/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-analyzer/gensink
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/gensink/ChangeLog,v 1.7 2007/02/19 12:46:29 jokey Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/gensink/ChangeLog,v 1.8 2009/08/25 22:51:31 jer Exp $
+
+*gensink-4.1-r1 (25 Aug 2009)
+
+ 25 Aug 2009; Jeroen Roovers <jer@gentoo.org> +gensink-4.1-r1.ebuild,
+ +files/gensink-4.1-make.patch:
+ Use CFLAGS, CC, LDFLAGS. Use emake instead of make, dobin instead of
+ exeinto/doexe.
19 Feb 2007; Markus Ullmann <jokey@gentoo.org> ChangeLog:
Redigest for Manifest2
diff --git a/net-analyzer/gensink/Manifest b/net-analyzer/gensink/Manifest
index 5875dd91de0f..1d631a894651 100644
--- a/net-analyzer/gensink/Manifest
+++ b/net-analyzer/gensink/Manifest
@@ -1,4 +1,6 @@
+AUX gensink-4.1-make.patch 213 RMD160 1831fcfd268b87cd991ab620fdcfdf5b23a28c4f SHA1 4c49b27497a1a46faab5007611acfa25003a4686 SHA256 1e3527ae8bb47c7492ab021d5b8bc5fd9f435cc50508a42649fec74d30ae59e0
DIST gensink-4.1.tar.gz 12352 RMD160 40214ad02c458bcae0f568644d1fc19c78a8f911 SHA1 d3100a7828930be1ad9ab32a1457d9786f0f7e2b SHA256 daacdb8f2a609c910eb7eac86dd0fe56e0a97105749b73f2850e44982d2200a4
+EBUILD gensink-4.1-r1.ebuild 657 RMD160 5e49f0c1a8a4d76a536f3141cae07ee7b2e64bfa SHA1 0a475de5af2ce59ad815b5b019c6279225e021d8 SHA256 59ed20d1166730feb17265519df193947b55c2f10a0be719cb4ace64796f899f
EBUILD gensink-4.1.ebuild 558 RMD160 0e6634245e5ac24bde3031549305f69db1c9186e SHA1 644063693f4a414f2b66f045d9d518de6192a2b0 SHA256 a099bf860c9681bd99044a970d0de01f32fa3c93a442622692f8357762ec939b
-MISC ChangeLog 731 RMD160 b20eebea5f6e01a361e2cf94d3b965d8c324b0b8 SHA1 eb1720bac4e9a30bd5fb4c7b33d778eadf283251 SHA256 ddc0fd6e876996352e2887bd4ed11487067f4e799393acaae453f049655ed862
+MISC ChangeLog 953 RMD160 0c0960c7c1b686f290125fa9e996705659eabe1c SHA1 e59179d790e1f3357127cea8a0f06c876b5c2b48 SHA256 2aab838d06f1517dcecee394fd77fe7fc8db1e378e1e16f3526141a984bc7355
MISC metadata.xml 239 RMD160 1ddfd55f85269e4b5af77dfc74e434ff76d14921 SHA1 45f1dd0de9bfce57840d685ffef5283c62e8649b SHA256 f2f9db22494bd543215cdaf17925592b54752705b1bb145b3276da3e8ce3cabf
diff --git a/net-analyzer/gensink/files/gensink-4.1-make.patch b/net-analyzer/gensink/files/gensink-4.1-make.patch
new file mode 100644
index 000000000000..870dcf609f4f
--- /dev/null
+++ b/net-analyzer/gensink/files/gensink-4.1-make.patch
@@ -0,0 +1,10 @@
+--- Makefile.orig 2001-05-16 18:41:16.000000000 +0200
++++ Makefile 2009-08-26 00:44:02.000000000 +0200
+@@ -1,7 +1,4 @@
+ PROGS = gen4 sink4 tub4
+-CC = gcc
+-CFLAGS = -O2 -g -Wall
+-LDFLAGS = -O -g
+
+ all: $(PROGS)
+
diff --git a/net-analyzer/gensink/gensink-4.1-r1.ebuild b/net-analyzer/gensink/gensink-4.1-r1.ebuild
new file mode 100644
index 000000000000..342db0917176
--- /dev/null
+++ b/net-analyzer/gensink/gensink-4.1-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/gensink/gensink-4.1-r1.ebuild,v 1.1 2009/08/25 22:51:31 jer Exp $
+
+EAPI="2"
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Gensink ${PV}, a simple TCP benchmark suite."
+HOMEPAGE="http://jes.home.cern.ch/jes/gensink/"
+SRC_URI="http://jes.home.cern.ch/jes/gensink/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~ppc ~sparc ~x86"
+IUSE=""
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-make.patch"
+}
+
+src_compile() {
+ tc-export CC
+ emake || die "emake failed"
+}
+src_install() {
+ dobin sink4 tub4 gen4
+}