summaryrefslogtreecommitdiff
path: root/graphics/xplot
diff options
context:
space:
mode:
authorbad <bad>2006-07-08 17:34:02 +0000
committerbad <bad>2006-07-08 17:34:02 +0000
commitbf352b401c956485efdf66138d5b8d912270f7db (patch)
treeae23c1c4b9b9eca0393f626c4d7c6a864b35f188 /graphics/xplot
parentf540cbb699d027258bc377ebad69a0f897db3730 (diff)
downloadpkgsrc-bf352b401c956485efdf66138d5b8d912270f7db.tar.gz
Patch tcpdump2xplot so that it works with modern tcpdumps which started to
print "IP" as the second field for IP packets. Bump PKGREVISION.
Diffstat (limited to 'graphics/xplot')
-rw-r--r--graphics/xplot/Makefile4
-rw-r--r--graphics/xplot/distinfo3
-rw-r--r--graphics/xplot/patches/patch-ab14
3 files changed, 18 insertions, 3 deletions
diff --git a/graphics/xplot/Makefile b/graphics/xplot/Makefile
index a7091f94d0e..bfe979ec00b 100644
--- a/graphics/xplot/Makefile
+++ b/graphics/xplot/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.21 2006/02/05 23:09:41 joerg Exp $
+# $NetBSD: Makefile,v 1.22 2006/07/08 17:34:02 bad Exp $
DISTNAME= xplot-0.90.7.1
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= graphics x11
MASTER_SITES= http://www.xplot.org/xplot/
HOMEPAGE= http://www.xplot.org/
diff --git a/graphics/xplot/distinfo b/graphics/xplot/distinfo
index e6fb7e0b3c2..705c8ce9ec4 100644
--- a/graphics/xplot/distinfo
+++ b/graphics/xplot/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.6 2005/02/24 08:45:15 agc Exp $
+$NetBSD: distinfo,v 1.7 2006/07/08 17:34:02 bad Exp $
SHA1 (xplot-0.90.7.1.tar.gz) = 164074206addaeb971d2fa65069c7c7be654efc5
RMD160 (xplot-0.90.7.1.tar.gz) = 166915e138ea52e58a67e80cb20d42005fa54621
Size (xplot-0.90.7.1.tar.gz) = 60166 bytes
SHA1 (patch-aa) = 48a475a550a2ea9d2bc50f2782d598830802817e
+SHA1 (patch-ab) = bdc80f5e4c2e00f38e1d9a88f48687d5a85212c5
SHA1 (patch-ac) = 671b63a8db7c41df4e9f14147988d81ff921aca7
SHA1 (patch-ad) = fd19823030badf91734fde92b45fcaecc06cf0f8
diff --git a/graphics/xplot/patches/patch-ab b/graphics/xplot/patches/patch-ab
new file mode 100644
index 00000000000..50f2af2b9a6
--- /dev/null
+++ b/graphics/xplot/patches/patch-ab
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.6 2006/07/08 17:34:02 bad Exp $
+
+--- tcpdump2xplot.pl.orig 2000-05-03 20:08:19.000000000 +0200
++++ tcpdump2xplot.pl 2006-07-08 19:23:12.000000000 +0200
+@@ -229,6 +229,9 @@
+ $opts = $_; # save this for later
+
+ split(/ /);
++ # Sometime after version 3.7.1 tcpdump started to print 'IP'
++ # as the second field in the output. Get rid of it again.
++ splice @_, 1, 1 if $_[1] eq 'IP';
+ $time = $_[0];
+ $from = $_[1];
+ $to = $_[3];