summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2004-02-06 15:16:47 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2004-02-06 15:16:47 +0000
commitc5a9ffcae70646009ad3bd4e17783f715fb9f00b (patch)
tree2fd4e496606166099900b30a8c574ea1c6e7bfe5 /net-analyzer/traffic-vis
parentstable on sparc (diff)
downloadhistorical-c5a9ffcae70646009ad3bd4e17783f715fb9f00b.tar.gz
historical-c5a9ffcae70646009ad3bd4e17783f715fb9f00b.tar.bz2
historical-c5a9ffcae70646009ad3bd4e17783f715fb9f00b.zip
patch for new libpcap headers.
Diffstat (limited to 'net-analyzer/traffic-vis')
-rw-r--r--net-analyzer/traffic-vis/ChangeLog8
-rw-r--r--net-analyzer/traffic-vis/Manifest5
-rw-r--r--net-analyzer/traffic-vis/files/traffic-vis-0.35-libpcap-header-fix.patch11
-rw-r--r--net-analyzer/traffic-vis/traffic-vis-0.35.ebuild10
4 files changed, 25 insertions, 9 deletions
diff --git a/net-analyzer/traffic-vis/ChangeLog b/net-analyzer/traffic-vis/ChangeLog
index 4f1eccf11342..ac93448c5029 100644
--- a/net-analyzer/traffic-vis/ChangeLog
+++ b/net-analyzer/traffic-vis/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-analyzer/traffic-vis
-# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/traffic-vis/ChangeLog,v 1.3 2003/12/09 18:12:58 lanius Exp $
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/traffic-vis/ChangeLog,v 1.4 2004/02/06 15:16:46 aliz Exp $
+
+ 06 Feb 2004; Daniel Ahlberg <aliz@gentoo.org> traffic-vis-0.35.ebuild,
+ files/traffic-vis-0.35-libpcap-header-fix.patch:
+ Added patch for new libpcap headers.
09 Dec 2003; Heinrich Wendel <lanius@gentoo.org> traffic-vis-0.35.ebuild:
changed app-text/ghostscript to virtual/ghostscript
diff --git a/net-analyzer/traffic-vis/Manifest b/net-analyzer/traffic-vis/Manifest
index ffe222632e04..9358a52771fa 100644
--- a/net-analyzer/traffic-vis/Manifest
+++ b/net-analyzer/traffic-vis/Manifest
@@ -1,6 +1,7 @@
-MD5 532fb03eda8766a2da0e4f6eddf419cb traffic-vis-0.35.ebuild 1287
-MD5 e108b1e9d7dba9c1ab090b8037f87899 ChangeLog 746
+MD5 861d7d94fd233cf28c3efdc3b9314e89 traffic-vis-0.35.ebuild 1343
+MD5 8a98514594704e674de17bc6417ac3d5 ChangeLog 908
MD5 8d9d8f0ea07c61e6e39221fd8a5715bb files/digest-traffic-vis-0.35 67
+MD5 f3f89a74aafd87072c83981d568ad1d2 files/traffic-vis-0.35-libpcap-header-fix.patch 280
MD5 30d08df68aae8e6eefdef39ddfaf6fab files/traffic-vis.conf.d 370
MD5 ae526efe7cd1e6dcc54afeba13ee3865 files/traffic-vis.init.d 777
MD5 4e1b8460642e4424a4db9e724c550f68 files/traffic-vis-0.35-gentoo.patch 3759
diff --git a/net-analyzer/traffic-vis/files/traffic-vis-0.35-libpcap-header-fix.patch b/net-analyzer/traffic-vis/files/traffic-vis-0.35-libpcap-header-fix.patch
new file mode 100644
index 000000000000..0b79741a181a
--- /dev/null
+++ b/net-analyzer/traffic-vis/files/traffic-vis-0.35-libpcap-header-fix.patch
@@ -0,0 +1,11 @@
+--- collector/packet-parse.c 2003-06-20 07:07:17.000000000 +0000
++++ collector/packet-parse.c 2004-02-06 15:11:14.688432920 +0000
+@@ -32,7 +32,7 @@
+ #include <arpa/inet.h>
+ #include <sys/time.h>
+ #include <unistd.h>
+-#include <net/bpf.h>
++#include <pcap.h>
+
+ #include <glib.h>
+
diff --git a/net-analyzer/traffic-vis/traffic-vis-0.35.ebuild b/net-analyzer/traffic-vis/traffic-vis-0.35.ebuild
index 00d58e4b865e..a118aa31de2d 100644
--- a/net-analyzer/traffic-vis/traffic-vis-0.35.ebuild
+++ b/net-analyzer/traffic-vis/traffic-vis-0.35.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/traffic-vis/traffic-vis-0.35.ebuild,v 1.3 2003/12/09 18:12:58 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/traffic-vis/traffic-vis-0.35.ebuild,v 1.4 2004/02/06 15:16:46 aliz Exp $
DESCRIPTION="Generate traffic stats in html, ps, text and gif format"
HOMEPAGE="http://www.mindrot.org/traffic-vis.html"
@@ -8,7 +8,7 @@ SRC_URI="http://www.mindrot.org/files/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~x86"
+KEYWORDS="~x86 ~amd64"
IUSE="gif"
DEPEND="virtual/glibc
@@ -19,10 +19,10 @@ DEPEND="virtual/glibc
=dev-libs/glib-1.2*"
src_unpack() {
- unpack ${A}
- cd ${S}
+ unpack ${A} ; cd ${S}
epatch ${FILESDIR}/${P}-gentoo.patch
+ epatch ${FILESDIR}/${P}-libpcap-header-fix.patch
}
src_compile() {