public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/chaosreader/files/
@ 2019-07-16 15:18 Michał Górny
  0 siblings, 0 replies; only message in thread
From: Michał Górny @ 2019-07-16 15:18 UTC (permalink / raw
  To: gentoo-commits

commit:     c591db2cc6d70c3563a8a41e0ce46fa792a4e071
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Mon Jul 15 18:55:37 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jul 16 15:18:45 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c591db2c

net-analyzer/chaosreader: remove unused patches

Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/12450
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../files/chaosreader-0.94-chunkcheck.patch        | 27 ----------------------
 .../files/chaosreader-0.94-darwin.patch            | 11 ---------
 .../files/chaosreader-0.94-divisionbyzero.patch    | 18 ---------------
 .../files/chaosreader-0.94-oldmultiline.patch      | 15 ------------
 .../files/chaosreader-0.94-zombies.patch           | 11 ---------
 5 files changed, 82 deletions(-)

diff --git a/net-analyzer/chaosreader/files/chaosreader-0.94-chunkcheck.patch b/net-analyzer/chaosreader/files/chaosreader-0.94-chunkcheck.patch
deleted file mode 100644
index 4d38eb17a2e..00000000000
--- a/net-analyzer/chaosreader/files/chaosreader-0.94-chunkcheck.patch
+++ /dev/null
@@ -1,27 +0,0 @@
---- chaosreader	2011-11-10 19:17:50.000000000 +0100
-+++ chaosreader-0.94	2012-03-09 18:15:21.096105305 +0100
-@@ -5350,6 +5353,24 @@
- 		next if length($http_data) < 8;
- 		$partnum++;
- 		$parttext = sprintf("%02d",$partnum);
-+		
-+		## from https://sourceforge.net/tracker/?func=detail&aid=2019799&group_id=107384&atid=647491 
-+		### Chunk Check
-+		if ( $http_header =~ /Transfer-Encoding: chunked/ ) {
-+                  my $new_http_data="";
-+                  my $chunksize=-1;
-+                  my $pos=0;
-+                  until ($chunksize==0) {
-+                    my $eolpos=index($http_data,"\r\n",$pos);
-+                    $chunksize=hex(substr($http_data,$pos,$eolpos - $pos));
-+                    $pos=($eolpos+2);
-+                    if ($chunksize > 0) {
-+                      $new_http_data.=substr($http_data,$pos,$chunksize);
-+                    }
-+                    $pos+=($chunksize+2);
-+                  }
-+                  $http_data=$new_http_data;
-+		}
- 
- 		### Part - Checks
- 		$http_type = &File_Type($http_data);

diff --git a/net-analyzer/chaosreader/files/chaosreader-0.94-darwin.patch b/net-analyzer/chaosreader/files/chaosreader-0.94-darwin.patch
deleted file mode 100644
index 2eaca80909a..00000000000
--- a/net-analyzer/chaosreader/files/chaosreader-0.94-darwin.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- chaosreader 2011-11-10 19:17:50.000000000 +0100
-+++ chaosreader-0.94    2012-03-09 18:15:21.096105305 +0100
-@@ -6233,6 +6254,8 @@
- 		$command = "tcpdump -s9999 -w";
- 	} elsif ($^O eq "solaris") {
- 		$command = "snoop -o";
-+	} elsif ($^O eq "darwin") {
-+		$command = "tcpdump -i en1 -s9999 -w";
- 	} else {
- 		die "ERROR54: Can't find the sniffer command for \"$^O\".\n" .
- 		 "\t Please use log mode instead.\n";

diff --git a/net-analyzer/chaosreader/files/chaosreader-0.94-divisionbyzero.patch b/net-analyzer/chaosreader/files/chaosreader-0.94-divisionbyzero.patch
deleted file mode 100644
index db9d3c6fd15..00000000000
--- a/net-analyzer/chaosreader/files/chaosreader-0.94-divisionbyzero.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- chaosreader	2011-11-10 19:17:50.000000000 +0100
-+++ chaosreader-0.94	2012-03-09 18:15:21.096105305 +0100
-@@ -4028,7 +4024,14 @@
- 	   ### This causes the replay program to pause
- 	   print REPLAY "ms($timediff1);\n";
- 	}
--	$speed = sprintf("%.2f",$bytes / (1024 * $duration));
-+	# avoid division by zero
-+	# from https://sourceforge.net/tracker/?func=detail&aid=2210488&group_id=107384&atid=647489
-+	if ( $duration > 0 ) {
-+		$speed = sprintf("%.2f",$bytes / (1024 * $duration));
-+	}
-+	else {
-+		$speed = "unknown";
-+	}
- 	print REPLAY "print \"\n\n" .
- 	 "Summary: $duration2 seconds, $bytes bytes, $speed Kb/sec\\n\";";
- 	close REPLAY;

diff --git a/net-analyzer/chaosreader/files/chaosreader-0.94-oldmultiline.patch b/net-analyzer/chaosreader/files/chaosreader-0.94-oldmultiline.patch
deleted file mode 100644
index 1fada077058..00000000000
--- a/net-analyzer/chaosreader/files/chaosreader-0.94-oldmultiline.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- chaosreader	2012-01-18 21:47:02.000000000 +0100
-+++ chaosreader-0.94	2012-03-13 12:10:44.740136742 +0100
-@@ -259,12 +259,6 @@
- $| = 1;					# flush output
- 
- #
--#  The following is needed for old perl5 multiline matching. New perl5 uses
--#  a "/s" on the RE (which is used in this program as well).
--#
--$* = 1;					# old perl5
--
--#
- #  These ports have been selected to be saved as coloured 2-way HTML files
- #
- @Save_As_HTML_TCP_Ports = (21,23,25,79,80,109,110,119,143,513,514,1080,

diff --git a/net-analyzer/chaosreader/files/chaosreader-0.94-zombies.patch b/net-analyzer/chaosreader/files/chaosreader-0.94-zombies.patch
deleted file mode 100644
index 8f7dd04e50e..00000000000
--- a/net-analyzer/chaosreader/files/chaosreader-0.94-zombies.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- chaosreader-orig	2006-12-24 15:12:23.000000000 +0100
-+++ chaosreader-0.94	2006-12-24 15:11:56.000000000 +0100
-@@ -396,6 +395,8 @@ if ($Arg{normal}) {
- 
- elsif ($Arg{standalone}) {
- 
-+   $SIG{CHLD} = "IGNORE";
-+
-    ############################################################
-    # --- STANDALONE - Create Packet Logs and Process them ---
-    #


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-07-16 15:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-16 15:18 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/chaosreader/files/ Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox