diff options
Diffstat (limited to 'net-analyzer/flowgrind')
-rw-r--r-- | net-analyzer/flowgrind/ChangeLog | 10 | ||||
-rw-r--r-- | net-analyzer/flowgrind/Manifest | 5 | ||||
-rw-r--r-- | net-analyzer/flowgrind/files/flowgrind-0.5.8-cflags.patch | 12 | ||||
-rw-r--r-- | net-analyzer/flowgrind/flowgrind-0.5.8.ebuild | 33 | ||||
-rw-r--r-- | net-analyzer/flowgrind/metadata.xml | 8 |
5 files changed, 68 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..ee09145ae628 --- /dev/null +++ b/net-analyzer/flowgrind/Manifest @@ -0,0 +1,5 @@ +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 678 RMD160 b286e013403fc4293ae9b8b20f336bb66d13c852 SHA1 a025cad9f3267743620def347f3a1c0f60391d00 SHA256 8463cfa7503522d8b12c0992a27ce15f53ec04876691c154e90f2e5bd3459b9d +MISC ChangeLog 330 RMD160 6a9b44584d4a0c6161cebf0afdb6461dfcc46349 SHA1 a4028efef775b7675de00f2f6f75049d354403f4 SHA256 785138d01d22d43f27af3562c8141d76aac15aaffaf7e1ea37ede69e8896b134 +MISC metadata.xml 268 RMD160 56cda669620ef531e13b96e7af220d0562d719a3 SHA1 ec08af0214bccd59747aabef2d29862c44142952 SHA256 696354fe5c6f9edf6f2415ae6df6be2bc3027b6b3705e4567d1d4221b85b9a5e 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> |