]> git.ipfire.org Git - thirdparty/sarg.git/blame - README
Indent the configure script for more readability.
[thirdparty/sarg.git] / README
CommitLineData
25697a35
GS
1Sarg is a Squid Analysis Report Generator that allow you to view "where" your users
2are going to on the Internet.
f89dec7f
FM
3Sarg generates reports in html, with many fields, like: users, IP Addresses, bytes, sites and times.
4
5Source: http://sourceforge.net/projects/sarg/
6
7
8Installation
9------------
10
111. run ./configure
12
13 Useful configure options:
14 --prefix - The root directory of the installation
15 default: /usr/local
16
17 --bindir - where sarg binary will be saved
18 default: /usr/local/bin
19
20 --sysconfdir - where the configuration directory is
21 default: /usr/local/etc
22
23 --mandir - where the sarg man page will be saved
24 default: /usr/local/share/man
25
26 --enable-sargphp - where to install sarg-php (--disable-sargphp don't install sarg-php)
27 default: /var/www/html
28
29 --enable-fontdir - where to find the fonts for the reports (--diable-fontdir don't install the fonts)
30 default: /usr/local/share/sarg/fonts
31
32 --enable-imagedir - where sarg take the images to include in the reports
33 default: /usr/local/share/sarg/images
34
35 --enable-extraprotection - compile sarg with extra GCC options for increased security
36 default: use standard compilation warnings and no protection
37
38 For a complete list of all the options, run ./configure --help.
39
403. make
41
424. make install
43
445. Go to /usr/local/sarg (or file entered with --sysconfdir on configure)
45 and change sarg.conf as you need.
46
476. Notes about sarg:
48
49 Date/Time report:
50 Every minute that a request is logged your time is incremented by the smaller
51 of 1 minute or the total time for the requests.
52
53Usage: sarg -h
54
619e842c
FM
55Sorttable.js
56------------
57
58Starting with sarg v2.3.2-pre2, a javascript is distributed along with sarg to
59dynamically sort the reports. It is sorttable.js written by Stuart Langridge
60and available at http://www.kryogenix.org/code/browser/sorttable/. The version
61included with sarg contains some fixes and improvements over the original
62version. The patches have been reported to the author but he doesn't seem to
63support it any more.
64
65To use sorttable.js (or any other script including your own custom made
66script), simply copy it to your website and edit sarg.conf to point the
67sorttable option to the location of the script on your website. The path
68indicated in sarg.conf must be the path as seen by a client visiting your
69server.
f89dec7f
FM
70
71Translations
72------------
73
74As of March 14th, 2010 (sarg 2.3), the translations have been ported to gettext. This makes it easier
75to translate all the messages (the number of translated messages went from 144 to 448). Therefore, the
76old language files are obsolete. The old translated message have been converted automatically to
77gettext but due to the changes made to the strings in the program after the automatic conversion,
78it is likely that the old messages are, at best, meaningless.
79
80Translations are handled at http://translationproject.org/domain/sarg.html. If your language is
81not yet supported or the current translation is obsolete, please check with the team working
82on your language at the Translation Project to be sure nobody is assigned to sarg. If necessary,
83contact the coordinator of that team to join the team and be assigned to sarg.
84
85If no po file exists for you language, download the latest sarg.pot on this page
86http://translationproject.org/domain/sarg.html and rename it as YourLanguageCode.po. See
87http://www.gnu.org/software/gettext/manual/gettext.html#Language-Codes for the list of the
88valid languages codes.
89
90Translate YourLanguageCode.po (see http://www.gnu.org/software/gettext/manual/gettext.html for more informations).
91
92Submit the translated po file to robot@translationproject.org. You must be a member of the team
93working on the language for which you are submitting the po file or the robot will reject
94your file. It is not necessary to fill the disclaimer to translate sarg.
25697a35 95
25697a35
GS
96
97Special thanks to:
98Matteo Colombo <matteo@calcol.it> - Italian language
99Palamarchuk Eugen <eugen@cit.od.ukrtel.net> - Russian language
100Csaba Kabai <ckabai@icnpharm.com> - Hungarian language
101Evren Yurtesen <yurtesen@ispro.net.tr> - Turkish language
102Andreas Piek <a.piesk@gmx.net> - German language
103Fred Pacquier <fredp@dial.oleane.com> - French language
104Leonardo A. D'Angelo <ldangelo@san-cayetano.com> - Spanish language
105Seth Mos <stimpy@stimpy.multiweb.nl> - Dutch language
106Milos Prudek <prudek@nembv.cz> - Czech language
107Dima I. Allaverdov <allav@ur.rags.ru> - Russian_windows1251 language
108V Gatut Harijiso <gatut@student.unpar.ac.id> - Indonesian language
109Ivan Minchev <vanko@uni-svishtov.bg> - Bulgarian_windows1251 language
110Akira Kitamura <click@anet.ne.jp> - Japanese language
111Radovan Drobnjakovic <admin.rts@rts.co.yu> - Serbian language
112Pieter Kooistra <pkooistra@hr.nl> - Dutch language fix
113Andrew Okhmat <andy@crgu.com> - Russian Koi8 language fixed
114Nikolai V. Ivanyushin <koko@infocenter.bryansk.ru> - Russian and Bulgarian language fix
115Juris Valdovskis <juris@auce.lv> - Latvian language
116Jordan Kanev <dancho@globcom.net> - Bulgarian language fix
117Wszebor Boksa <Wszebor_Boksa@koncept.pl> - Polish language
118Adi Cretu <adi@usv.ro> - Romanian language
119Roman Vynar <rvynar@icqmail.com> - Ukrainian_windows1251 language
120Andreu Sanchez <tanis@lleida.com> - Catalan language
121Antonis Maglaras <vegos@magla.gr> - Greek language
122Dusan Woletz <Dusan.WOLETZ@orange.sk> - Slovak Language
94ff9470
GS
123Jose Luis Hernandez <jhdz@simbiotica.net> - Spanish language fix
124Theo kastermans <t.kastermans@zandvoort.nl> - Dutch language fix
d6e703cc
FM
125Alex Deiter <tiamat@komi.mts.ru> - Russian UTF-8 language
126Josef Karliak <karliak@ajetaci.cz> - Czech UTF-8
127Igor Ageikin <iageikin@lipen.elektra.ru> - Russian UTF-8 fix
25697a35 128
25697a35 129
f89dec7f
FM
130Suggestions or remarks
131----------------------
25697a35 132
f89dec7f
FM
133Any suggests or comments may be posted on the forum
134http://sourceforge.net/projects/sarg/forums/forum/363374 or sent to Frederic Marchal
1164c474 135(fmarchal@users.sourceforge.net)