Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 408017

Summary: net-analyzer/chaosreader-0.94-r1.ebuild: some fixes
Product: Gentoo Linux Reporter: rainbow <rainbow>
Component: New packagesAssignee: rainbow <rainbow>
Status: RESOLVED FIXED    
Severity: normal CC: jer, netmon, proxy-maint, zerochaos
Priority: Normal Keywords: EBUILD, PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.brendangregg.com/chaosreader.html
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: chaosreader-0.94-r1.ebuild
chaosreader-0.94-chunkcheck.patch
chaosreader-0.94-darwin.patch
chaosreader-0.94-divisionbyzero.patch
chaosreader-0.94-oldmultiline.patch
chaosreader-0.94-r1.ebuild.diff

Description rainbow 2012-03-13 11:32:45 UTC
various fixes ...

Reproducible: Always
Comment 1 rainbow 2012-03-13 11:34:49 UTC
Created attachment 305165 [details]
chaosreader-0.94-r1.ebuild

HOMEPAGE corrected to http://chaosreader.sourceforge.net
epatches added
Comment 2 rainbow 2012-03-13 11:36:09 UTC
Created attachment 305167 [details, diff]
chaosreader-0.94-chunkcheck.patch

from http://sourceforge.net/tracker/?func=detail&aid=2019799&group_id=107384&atid=647491
Comment 4 rainbow 2012-03-13 11:38:19 UTC
Created attachment 305171 [details, diff]
chaosreader-0.94-divisionbyzero.patch

from http://sourceforge.net/tracker/?func=detail&aid=2210488&group_id=107384&atid=647489
Comment 5 rainbow 2012-03-13 11:39:20 UTC
Created attachment 305173 [details, diff]
chaosreader-0.94-oldmultiline.patch

deleted support to perl 5.8. now needed >=5.10
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2012-03-13 20:29:51 UTC
Comment on attachment 305165 [details]
chaosreader-0.94-r1.ebuild

--- chaosreader-0.94.ebuild     2010-05-26 18:11:43.000000000 +0200
+++ -   2012-03-13 21:29:31.862432299 +0100
@@ -7,16 +7,20 @@
 inherit eutils
 
 DESCRIPTION="A tool to trace TCP/UDP/... sessions and fetch application data from snoop or tcpdump logs."
-HOMEPAGE="http://users.tpg.com.au/bdgcvb/chaosreader.html"
+HOMEPAGE="http://chaosreader.sourceforge.net"
 SRC_URI="http://dev.gentoo.org/~spock/portage/distfiles/${P}.bz2"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc x86 ~amd64-linux ~x86-linux ~x86-macos"
 LICENSE="GPL-2"
 IUSE=""
-DEPEND=">=dev-lang/perl-5.8.0"
+DEPEND=">=dev-lang/perl-5.10.0"
 S=${WORKDIR}
 
 src_prepare() {
+       epatch "${FILESDIR}"/chaosreader-0.94-chunkcheck.patch
+       epatch "${FILESDIR}"/chaosreader-0.94-darwin.patch
+       epatch "${FILESDIR}"/chaosreader-0.94-divisionbyzero.patch
+       epatch "${FILESDIR}"/chaosreader-0.94-oldmultiline.patch
        epatch "${FILESDIR}"/chaosreader-0.94-zombies.patch
 }
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2012-03-13 20:31:04 UTC
I would say [1] is a better HOMEPAGE than the SF project page.


[1] http://www.brendangregg.com/chaosreader.html
Comment 8 rainbow 2012-03-13 21:17:58 UTC
Created attachment 305257 [details, diff]
chaosreader-0.94-r1.ebuild.diff

(In reply to comment #7)
> I would say [1] is a better HOMEPAGE than the SF project page.
> 
> 
> [1] http://www.brendangregg.com/chaosreader.html

Ok. I have used sourceforge only because is more stable in future, I think, and is a start point to the other links.
In attachment the patch.
Comment 9 Pacho Ramos gentoo-dev 2012-03-17 10:44:15 UTC
+*chaosreader-0.94-r1 (17 Mar 2012)
+
+  17 Mar 2012; Pacho Ramos <pacho@gentoo.org> +chaosreader-0.94-r1.ebuild:
+  Include some upstream fixes, bug #408017 by rainbow.
+
Comment 10 Markos Chandras (RETIRED) gentoo-dev 2012-03-20 20:42:18 UTC
*** Bug 408935 has been marked as a duplicate of this bug. ***