summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-03-18 22:42:58 +0000
committerTim Harder <radhermit@gentoo.org>2012-03-18 22:42:58 +0000
commitddd578cef2aa20d3c1176a3ba5c343ad9a93ee9e (patch)
treef2d760d47e9fffce2b882c787c176e120d22d702 /net-analyzer/flowgrind
parentFix acceleration on xorg-server-1.12, thanks to anarchy for testing. (diff)
downloadhistorical-ddd578cef2aa20d3c1176a3ba5c343ad9a93ee9e.tar.gz
historical-ddd578cef2aa20d3c1176a3ba5c343ad9a93ee9e.tar.bz2
historical-ddd578cef2aa20d3c1176a3ba5c343ad9a93ee9e.zip
Initial import (bug #344923). Ebuild by me.
Package-Manager: portage-2.2.0_alpha90/cvs/Linux x86_64
Diffstat (limited to 'net-analyzer/flowgrind')
-rw-r--r--net-analyzer/flowgrind/ChangeLog10
-rw-r--r--net-analyzer/flowgrind/Manifest19
-rw-r--r--net-analyzer/flowgrind/files/flowgrind-0.5.8-cflags.patch12
-rw-r--r--net-analyzer/flowgrind/flowgrind-0.5.8.ebuild33
-rw-r--r--net-analyzer/flowgrind/metadata.xml8
5 files changed, 82 insertions, 0 deletions
diff --git a/net-analyzer/flowgrind/ChangeLog b/net-analyzer/flowgrind/ChangeLog
new file mode 100644
index 000000000000..19e61666a4a3
--- /dev/null
+++ b/net-analyzer/flowgrind/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-analyzer/flowgrind
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/flowgrind/ChangeLog,v 1.1 2012/03/18 22:42:58 radhermit Exp $
+
+*flowgrind-0.5.8 (18 Mar 2012)
+
+ 18 Mar 2012; Tim Harder <radhermit@gentoo.org> +flowgrind-0.5.8.ebuild,
+ +files/flowgrind-0.5.8-cflags.patch, +metadata.xml:
+ Initial import (bug #344923). Ebuild by me.
+
diff --git a/net-analyzer/flowgrind/Manifest b/net-analyzer/flowgrind/Manifest
new file mode 100644
index 000000000000..6e8a85fcdeb9
--- /dev/null
+++ b/net-analyzer/flowgrind/Manifest
@@ -0,0 +1,19 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA512
+
+AUX flowgrind-0.5.8-cflags.patch 335 RMD160 877c28aa1ee6d117fa104194629a026b24ea70c0 SHA1 878bf754d97fe312b9f99efc0fd6149003bdfa96 SHA256 bbd7eebde783b7cab245725fe8b6b1e9528d26a77106fcaae5dc7528ed59ec16
+DIST flowgrind-0.5.8.tar.bz2 171161 RMD160 b4e8b0d7bad2dab61fcadd4609374f0d01f6eab3 SHA1 8480a578725e9c2e7120905e37e4ea6f475b862d SHA256 318fc9936c6b971b7c291f2931eb1b1c5b8f96e44326eccb85f29fdf7a893820
+EBUILD flowgrind-0.5.8.ebuild 788 RMD160 38d37ad7777f8c4ffa03e1e17ccac747f73cf81b SHA1 b7afb49c2a74f6ecf655730a20b1850e2d1e764d SHA256 1873cc7b2a1a2227c408cf98f19168cc00e1a384faa8db2765549df98350fc29
+MISC ChangeLog 427 RMD160 2b4db9a6905c3cfb825ca1a86f48ad2514199c74 SHA1 664d27c03b59de41595d416d0e6def6f58f67d80 SHA256 8d42d6070ca7358512eed36aeef6c13a97508db6814b0b58aa1d5799671cc7fc
+MISC metadata.xml 268 RMD160 56cda669620ef531e13b96e7af220d0562d719a3 SHA1 ec08af0214bccd59747aabef2d29862c44142952 SHA256 696354fe5c6f9edf6f2415ae6df6be2bc3027b6b3705e4567d1d4221b85b9a5e
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.18 (GNU/Linux)
+
+iQEcBAEBCgAGBQJPZmT3AAoJEEqz6FtPBkyjDgYH/3gsuwVGAfVioVWfF8WOVnBU
+Z8NIqda9sNbhgeR5V/e+qg5ltHSwxXId028CKeGLdlhUSbin+EMc4sT/MBYtX13p
+eKpwAxauGof4QhdvlZtbw9K6XlAbi3AZyiogCaAcmu32r3o06FAY9zRWJp1M9QaJ
+DVExYC/tUON9ApGvwEa7Clqenqsi0M3m/EAUmBuZGY+c/Pl0dC28Nbov/fWVEr9b
+5J9f16FnimwqW3hnt/hKMYcX66xvGX+gJpOV2/xnzqUDFyWatGnr5ZFjUs+cXyHE
+/pe5MsngXztHk0A5kRJ6ag84mIMjPYyBKwX6U7LdOXCQ1/FvOlImim0/LkCrxlI=
+=Opfg
+-----END PGP SIGNATURE-----
diff --git a/net-analyzer/flowgrind/files/flowgrind-0.5.8-cflags.patch b/net-analyzer/flowgrind/files/flowgrind-0.5.8-cflags.patch
new file mode 100644
index 000000000000..2f7b11eefec6
--- /dev/null
+++ b/net-analyzer/flowgrind/files/flowgrind-0.5.8-cflags.patch
@@ -0,0 +1,12 @@
+--- flowgrind-0.5.8/configure.ac
++++ flowgrind-0.5.8/configure.ac
+@@ -135,9 +135,6 @@
+
+ if test "$enable_debug" = yes ; then
+ AC_DEFINE(DEBUG, [1], [Use debugging])
+- CFLAGS="-ggdb3 $CFLAGS"
+-else
+- CFLAGS="-O3 $CFLAGS"
+ fi
+
+ AC_ARG_ENABLE(pcap,[AS_HELP_STRING(--enable-pcap, enable lipcap for packet capturing [[default: yes]] )])
diff --git a/net-analyzer/flowgrind/flowgrind-0.5.8.ebuild b/net-analyzer/flowgrind/flowgrind-0.5.8.ebuild
new file mode 100644
index 000000000000..52d9c6f874b3
--- /dev/null
+++ b/net-analyzer/flowgrind/flowgrind-0.5.8.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/flowgrind/flowgrind-0.5.8.ebuild,v 1.1 2012/03/18 22:42:58 radhermit Exp $
+
+EAPI="4"
+
+inherit eutils autotools
+
+DESCRIPTION="Network performance measurement tool"
+HOMEPAGE="http://www.umic-mesh.net/research/flowgrind"
+SRC_URI="http://www.umic-mesh.net/downloads/files/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug gsl pcap"
+
+RDEPEND="dev-libs/xmlrpc-c[abyss,curl]
+ gsl? ( sci-libs/gsl )
+ pcap? ( sys-libs/libcap )"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-cflags.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable debug) \
+ $(use_enable gsl) \
+ $(use_enable pcap)
+}
diff --git a/net-analyzer/flowgrind/metadata.xml b/net-analyzer/flowgrind/metadata.xml
new file mode 100644
index 000000000000..9c6d53a3879a
--- /dev/null
+++ b/net-analyzer/flowgrind/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>netmon</herd>
+ <use>
+ <flag name="pcap">Enable packet capturing support using <pkg>net-libs/libpcap</pkg></flag>
+ </use>
+</pkgmetadata>