Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121816 - fix to make webalizer's useragent buffer a bit larger
Summary: fix to make webalizer's useragent buffer a bit larger
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jonathan Smith (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-06 04:57 UTC by Andrew Gaffney (RETIRED)
Modified: 2006-03-08 11:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Gaffney (RETIRED) gentoo-dev 2006-02-06 04:57:42 UTC
By default, webalizer truncates the useragent field to 64 characters, which tends to cut off bits useful for useragent grouping. The following line added to the end of src_unpack() should double the current size of the buffer.

sed -i -e 's:^#define MAXAGENT 64:#define MAXAGENT 128:' webalizer.h

If you add it, I'll be your best friend ;)
Comment 1 Jonathan Smith (RETIRED) gentoo-dev 2006-03-08 11:42:06 UTC
done in -r13