diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2023-02-12 11:33:33 +0100 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2023-02-12 19:33:03 +0100 |
commit | a9d2b8757ed689f8a5133fbc76514e0ab66ec390 (patch) | |
tree | 4c6e0efa81f7eed06947f98f4188a3960c10efe2 /net-analyzer | |
parent | app-containers/docker-gc: treeclean (diff) | |
download | gentoo-a9d2b8757ed689f8a5133fbc76514e0ab66ec390.tar.gz gentoo-a9d2b8757ed689f8a5133fbc76514e0ab66ec390.tar.bz2 gentoo-a9d2b8757ed689f8a5133fbc76514e0ab66ec390.zip |
net-analyzer/chaosreader: treeclean
Closes: https://bugs.gentoo.org/722568
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'net-analyzer')
6 files changed, 0 insertions, 94 deletions
diff --git a/net-analyzer/chaosreader/Manifest b/net-analyzer/chaosreader/Manifest deleted file mode 100644 index 2261157cb9cf..000000000000 --- a/net-analyzer/chaosreader/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST chaosreader-0.96.tar.gz 99124 BLAKE2B 04e9dd45543033bb3d15264fcc9168b7e2cec6f304f10142df36c363e841afc91659d7956bbb60b05cc6ab4e8fd519adaf9a2e69be2efc129fd2f38ca0d99f1f SHA512 46ba4a66152403e150e652bf6fa08af98cd3d709ea2cb834a32411ca5dde5f94a7e972404626787e604c1449c29ab5f335673b305ab83856c0dfff7cbf2f4de4 diff --git a/net-analyzer/chaosreader/chaosreader-0.96.ebuild b/net-analyzer/chaosreader/chaosreader-0.96.ebuild deleted file mode 100644 index 89ea00a4c6d2..000000000000 --- a/net-analyzer/chaosreader/chaosreader-0.96.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Trace TCP/UDP/... sessions and fetch application data" -HOMEPAGE="http://chaosreader.sourceforge.net - https://github.com/brendangregg/Chaosreader" -SRC_URI="https://github.com/brendangregg/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" -SLOT="0" - -KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux" -LICENSE="GPL-2+" - -DEPEND=">=dev-lang/perl-5.8.0" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/Chaosreader-${PV}" - -PATCHES=( - "${FILESDIR}"/chaosreader-0.96-zombies.patch - "${FILESDIR}"/chaosreader-0.96-chunkcheck.patch - "${FILESDIR}"/chaosreader-0.96-divisionbyzero.patch -) - -src_install() { - dobin ${PN} -} diff --git a/net-analyzer/chaosreader/files/chaosreader-0.96-chunkcheck.patch b/net-analyzer/chaosreader/files/chaosreader-0.96-chunkcheck.patch deleted file mode 100644 index 6a394d4b308e..000000000000 --- a/net-analyzer/chaosreader/files/chaosreader-0.96-chunkcheck.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- a/chaosreader 2011-11-10 19:17:50.000000000 +0100 -+++ b/chaosreader 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.96-divisionbyzero.patch b/net-analyzer/chaosreader/files/chaosreader-0.96-divisionbyzero.patch deleted file mode 100644 index 584918513062..000000000000 --- a/net-analyzer/chaosreader/files/chaosreader-0.96-divisionbyzero.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- a/chaosreader 2014-06-15 21:30:11.000000000 +0200 -+++ b/chaosreader 2019-02-21 18:26:00.671756895 +0100 -@@ -4275,7 +4275,14 @@ - print REPLAY "ms($timediff1);\n"; - } - $duration = 0.01 if $duration == 0; # avoid divide by 0, -- $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.96-zombies.patch b/net-analyzer/chaosreader/files/chaosreader-0.96-zombies.patch deleted file mode 100644 index 40fa6063adf3..000000000000 --- a/net-analyzer/chaosreader/files/chaosreader-0.96-zombies.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/chaosreader 2006-12-24 15:12:23.000000000 +0100 -+++ b/chaosreader 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 --- - # diff --git a/net-analyzer/chaosreader/metadata.xml b/net-analyzer/chaosreader/metadata.xml deleted file mode 100644 index 583f626df4a9..000000000000 --- a/net-analyzer/chaosreader/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<!-- maintainer-needed --> - <upstream> - <remote-id type="sourceforge">chaosreader</remote-id> - <remote-id type="github">brendangregg/chaosreader</remote-id> - </upstream> -</pkgmetadata> |