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

Bug 318097

Summary: net-analyzer/sarg-{2.2.7.1,2.3.1} version bump
Product: Gentoo Linux Reporter: cpa <cpasoft>
Component: Current packagesAssignee: Peter Volkov (RETIRED) <pva>
Status: RESOLVED FIXED    
Severity: normal CC: maxbritov, netmon
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://sarg.sourceforge.net/sarg.php
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild for 2.3. Works for me, but.. you shouldn't use it in production :)
sarg-2.2.5-r5-2.3.ebuild.patch

Description cpa 2010-05-02 07:44:16 UTC
The last avaliable on portage is 2.2.5-r5

Best regards...

Reproducible: Always
Comment 1 Jie Pan 2010-06-09 02:34:07 UTC
errr....no one concerns about this?
Comment 2 Maxim Britov 2010-06-21 14:20:51 UTC
Sarg 2.3 released today. -pre5 works fine on my x86 Gentoo.
http://sourceforge.net/projects/sarg/files/sarg/sarg-2.3/sarg-2.3.tar.gz/download

Much faster and smaller (with external_css).
Can be used now with:sarg -d day-1 /var/log/squid/access.log* instead of many -L
External css file can be generated: sarg --css > css.tpl
Comment 3 Maxim Britov 2010-06-21 14:53:55 UTC
Created attachment 236149 [details]
ebuild for 2.3. Works for me, but.. you shouldn't use it in production :)
Comment 4 David Luna 2010-07-07 16:43:51 UTC
please, can you consider to add the 2.2.7 or 2.3 ebuild to portage tree? (masked, etc).

thanks!
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2010-08-28 16:04:06 UTC
2.3 is out too.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2010-08-28 16:18:48 UTC
Created attachment 245153 [details]
sarg-2.2.5-r5-2.3.ebuild.patch

Gets rid of a lot of extra stuff 2.2.5 needed to be doing, so the default build system is a lot better in terms of portability.

What it doesn't yet do is set proper default paths in the runtime configuration files.
Comment 7 Maxim Britov 2010-09-18 18:09:46 UTC
sarg 2.3.1 released
Comment 8 Peter Volkov (RETIRED) gentoo-dev 2010-09-19 09:20:44 UTC
Thank you guys. Sorry it took so long time but now 2.3.1 was added to the tree. Enjoy.

BTW, if you really need 2.2.7, please, open new bug and tell me why you need it.
Comment 9 Maxim Britov 2010-09-21 11:20:03 UTC
By default exclude_codes installed in /etc/sarg
's:/usr/local/sarg/exclude_codes:/etc/sarg/exclude_codes:'

And I prefer UTF8 by default
's:charset Latin1:charset UTF-8:'

It was in my removed ebuild here.
Comment 10 Peter Volkov (RETIRED) gentoo-dev 2010-09-21 13:27:08 UTC
(In reply to comment #9)
> By default exclude_codes installed in /etc/sarg
> 's:/usr/local/sarg/exclude_codes:/etc/sarg/exclude_codes:'
> 
> And I prefer UTF8 by default
> 's:charset Latin1:charset UTF-8:'
> 
> It was in my removed ebuild here.

Thank you. I've added sed for exclude_codes, but I've kept charset. charset line is commented out and the value there points on default, which is Latin1. If you want to change it on UTF-8, please, push this upstream and then you'll need to update charset.c (to add Latin-1 there) and set correct default in log.c.