pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/xplot Patch tcpdump2xplot so that it works wi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ce171b6383ed
branches:  trunk
changeset: 515805:ce171b6383ed
user:      bad <bad%pkgsrc.org@localhost>
date:      Sat Jul 08 17:34:02 2006 +0000

description:
Patch tcpdump2xplot so that it works with modern tcpdumps which started to
print "IP" as the second field for IP packets.
Bump PKGREVISION.

diffstat:

 graphics/xplot/Makefile         |   4 ++--
 graphics/xplot/distinfo         |   3 ++-
 graphics/xplot/patches/patch-ab |  14 ++++++++++++++
 3 files changed, 18 insertions(+), 3 deletions(-)

diffs (45 lines):

diff -r 5c78106861df -r ce171b6383ed graphics/xplot/Makefile
--- a/graphics/xplot/Makefile   Sat Jul 08 16:56:56 2006 +0000
+++ b/graphics/xplot/Makefile   Sat Jul 08 17:34:02 2006 +0000
@@ -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 -r 5c78106861df -r ce171b6383ed graphics/xplot/distinfo
--- a/graphics/xplot/distinfo   Sat Jul 08 16:56:56 2006 +0000
+++ b/graphics/xplot/distinfo   Sat Jul 08 17:34:02 2006 +0000
@@ -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 -r 5c78106861df -r ce171b6383ed graphics/xplot/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/xplot/patches/patch-ab   Sat Jul 08 17:34:02 2006 +0000
@@ -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];



Home | Main Index | Thread Index | Old Index