summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2011-06-09 16:41:49 +0000
committerJeroen Roovers <jer@gentoo.org>2011-06-09 16:41:49 +0000
commit4571a0500530f2a125933e43557a0a50dd3620ba (patch)
treeaa3831895101ec97173b8e3226abd7c6160d1eb4 /net-analyzer/sflowtool
parentDrop HPPA keywording (bug #365451). (diff)
downloadgentoo-2-4571a0500530f2a125933e43557a0a50dd3620ba.tar.gz
gentoo-2-4571a0500530f2a125933e43557a0a50dd3620ba.tar.bz2
gentoo-2-4571a0500530f2a125933e43557a0a50dd3620ba.zip
Version bump. Do not install COPYING or INSTALL. Fix some compiler warnings.
(Portage version: 2.2.0_alpha38/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/sflowtool')
-rw-r--r--net-analyzer/sflowtool/ChangeLog10
-rw-r--r--net-analyzer/sflowtool/files/sflowtool-3.20-ctype-header.patch10
-rw-r--r--net-analyzer/sflowtool/sflowtool-3.20.ebuild31
3 files changed, 49 insertions, 2 deletions
diff --git a/net-analyzer/sflowtool/ChangeLog b/net-analyzer/sflowtool/ChangeLog
index 6bc0e61d9d37..08b4ca6bf41c 100644
--- a/net-analyzer/sflowtool/ChangeLog
+++ b/net-analyzer/sflowtool/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/sflowtool
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sflowtool/ChangeLog,v 1.13 2009/07/07 13:48:59 jer Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sflowtool/ChangeLog,v 1.14 2011/06/09 16:41:49 jer Exp $
+
+*sflowtool-3.20 (09 Jun 2011)
+
+ 09 Jun 2011; Jeroen Roovers <jer@gentoo.org> +sflowtool-3.20.ebuild,
+ +files/sflowtool-3.20-ctype-header.patch:
+ Version bump. Do not install COPYING or INSTALL. Fix some compiler warnings.
*sflowtool-3.10-r1 (07 Jul 2009)
diff --git a/net-analyzer/sflowtool/files/sflowtool-3.20-ctype-header.patch b/net-analyzer/sflowtool/files/sflowtool-3.20-ctype-header.patch
new file mode 100644
index 000000000000..2d2c7b1c0eb4
--- /dev/null
+++ b/net-analyzer/sflowtool/files/sflowtool-3.20-ctype-header.patch
@@ -0,0 +1,10 @@
+--- a/src/sflowtool.c
++++ b/src/sflowtool.c
+@@ -20,6 +20,7 @@
+ #include <fcntl.h>
+ #include <time.h>
+ #include <setjmp.h>
++#include <ctype.h> /* isspace(), isalnum() */
+
+ #ifdef WIN32
+ #else
diff --git a/net-analyzer/sflowtool/sflowtool-3.20.ebuild b/net-analyzer/sflowtool/sflowtool-3.20.ebuild
new file mode 100644
index 000000000000..0142c23c2667
--- /dev/null
+++ b/net-analyzer/sflowtool/sflowtool-3.20.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sflowtool/sflowtool-3.20.ebuild,v 1.1 2011/06/09 16:41:49 jer Exp $
+
+EAPI="2"
+
+inherit autotools flag-o-matic
+
+DESCRIPTION="sflowtool is a utility for collecting and processing sFlow data"
+HOMEPAGE="http://www.inmon.com/technology/sflowTools.php"
+SRC_URI="http://www.inmon.com/bin/${P}.tar.gz"
+
+LICENSE="inmon-sflow"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+IUSE=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-ctype-header.patch
+ eautoreconf
+}
+
+src_configure() {
+ append-flags -DSPOOFSOURCE
+ econf || die
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS ChangeLog NEWS README
+}