pkgsrc/www/sarg/Makefile

81 lines
2.7 KiB
Makefile
Raw Normal View History

Update sarg to version 2.1. Notable changes include: - site moved to sourceforge - index_tree tag added. Look at TAG: index_tree in sarg.conf file default is file - old format. - realtime report added. sarg -r option Look at these tags ion sarg.conf file: TAG: realtime_refresh_time num sec TAG: realtime_access_log_lines num TAG: realtime_types: GET,PUT,CONNECT,ICP_QUERY,POST TAG: realtime_unauthenticated_records: ignore|show - garbage in topuser report with unitialized variable. Thanks to Craig Brockmeier <craig@ppco.com> - memory leaks caused by a wrong variable size Fixed by Klaus Singvogel <kssingvo@suse.de>. Thanks. - ignoring users with '.' in password file. Thanks to Emerson Valdir Pellis <webmaster@marisol.com.br> - error with "resolve_ip" with "user_authentication yes" Fixed by Grigory Trenin <gtrenin@gmail.com>. Thanks. - long url causing fault. Thanks to Vassily Andin <vasya@avitalight.com> - hanging on a log file containing space. Thanks to Fabio Lo Votrico <fabio@link.it> - bug fixed in squidguard report module - squidguard_ignore_date on|off tag added to sarg.conf file You can ignore the squidguard log record date if outisde of date range in squid access.log file. - alternate squidguard log added using -L option on sarg command line. Thanks to Dave Karlson <dkarlson@r9esd.k12.or.us> - fixed malloc withou free. - datafile-url ip|name added to sarg.conf file - saves ip address or name in url when using datafile tag. Thanks to Calvin Muller <calvin@siryn.co.za> - wronk link point in Generated by sarg-2.. Thanks to Markus Hoffmann <ipcop@mh-lantech.de> - Russian_UFT-8 language added by Alex Deiter <tiamat@komi.mts.ru> - dansguardian_report_limit missing in sarg.conf file. - ntlm domain+user format added. - index date sort fixed by Olivier JAVAUX. Thanks - Improve broken record detection Thanks to Artem Korneev <akorneev@intelsysus.com> - sort open failed causing an empty topuser report - sarg losslessly size optimized images Thanks to Tonda Mí¿ek <tonda.misek@post.cz> and Luigi Gangitano. - sarg calling sort without quoting filenames Thanks to Luigi Gangitano. - download_report_limit tag added. Thanks to Leonardo Rodrigues <leonardo@solutti.com.br> - logo css class defined but never used. Thanks to Roger Favero <favero@sparkenergy.it> - verdana.ttf font removed to avoid patent infringement issues. Now sarg uses a GPL FreeSans font from http://savannah.gnu.org - ISA report with wrong date in date/time report. Thanks to Richard Berndt - connect records ignored when using emulate_http_log on in squid.conf file. Thanks to Dusan Woletz - bug that prevents the correct usage of switch -d <date1-date2> when using an "emulate_httpd_log on" logfile and some performance improvements added. Thanks to Filippo Grassilli - Spanish language fixed by José Luis Hernández López. Thanks. - url variable size changed to acomodate big urls with coded symbols and some minor changes in util.c file. Thanks to Oleg <xsov@mail.ru> - download suffixes improved by Oleg <xsov@mail.ru>. Thanks. Now sarg uses these suffixes: 7z,ace,arj,avi,bat,bin,bz2,bzip,cab,com,cpio,dll,doc,dot,exe,gz,iso, lha,lzh,mdb,mov,mp3,mpeg,mpg,mso,nrg,ogg,ppt,rar,rtf,shs,src,sys,tar, tgz,vcd,vob,wma,wmv,zip - DansGuardian report added. Thanks to Adolfas Kupliauskas for the access.log - Slovak language added by Dusan Woletz Thank you - wrong usertab user on topuser report. Thanks to Marcos Favoretto - ntlm_user_format added to sarg.conf. Now you can choose the following formats for the username on reports: user|domainname+user Suggested by Roger Favero - exclude_users ignored in some situations. - Fixes by Sapon Oleg from Russia: . there are two equal lines about Evren Yurtesen in CONTRIBUTORS file. . Internationalisation of SARG user graph added, using iconv function, which is presented only in Linux, so I add required #ifdef and other stuff to clean compile code on other platforms. . Fixed two issues: - '?' symbol problems for apache and other cgi-supporting web server which doesn't support '?' symbol in links (all of them interprete this like parameter to cgi script); - some good optimization to all three similar cicles in these files by reducing false checks in 'if ...' strings. . Fixes segfault, produced by inproper use of strncpy functions, look - strncpy doesn't copy leading '\0' symbol! . Just localisation support for repday report. . Support usertab IP->USERNAME change in siteuser report. . Just proper Russian koi8 localisation. - Greek language by Antonis Maglaras <vegos@magla.gr> Thank you. - time period added to -t option. Now you can use -t HH-HH, HH:MM-HH:MM - support to isa proxy 2004 log added. Thanks to William da Rocha Lima <wrochal@linuxit.com.br> - French language fixed by Alexey Znamerovskiy <alexz@everys.com> Thanks - internal LC_ALL=C removed to avoid errors on Solaris. Thanks to Hraska, Frantisek <frantisek.hraska@hupro.sk> - non authenticated records removed from Topuser report. Thanks to Brian <brian@reginachristianschool.org> - Compilation error on FreeBSD > 5 - log.c:645: error: `RLIMIT_OFILE' undeclared - Sarg abbreviation values improved. - fixed: some changes to avoid segmentation fault. - fixed: some changes to avoid compilation errors on freeBSD. - fixed: exclude_hosts not excluding correctly. - exclude hosts not excluding correctly. Thanks to Oleg - download report showing jpeg files. - support to Microsoft isa proxy log files added. Thanks to Trankov Vladislav <vtrankov@kb-obibank.ru> - fixed: error when using relative paths in -o and -w options. Just absolute paths can be used now. Thanks to Andreas Grosse <andi@majestyk.de> - fixed: segfault fix in vrfydir() in util.c Prevent buffer overflow in subs(); replace one constant with sizeof() in my_lltoa(). vrfydir(): fix segfault if sub-directory "images" is not exists function builddia() don't check the parameters. Result: segmentation fault in some cases. Thanks to Stas Degteff stas_degteff@users.sourceforge.net for the fixes. - fixed: wrond date period in squidguard_log when using european date format. Thanks to Guenther Mair <gunnyst@users.sourceforge.net> - ulimit tag added on sarg.conf to avoid "Too many open files" error. Thanks to Paulo Pires <paulo.pires@vodafone.pt> - squidguard parse logs method changed. Thanks to Joao Mendes <jmendes@credibom.pt> Thanks to Guenther Mair <gunnyst@users.sourceforge.net> - wrong results in -v option. - fixed: error when using -u (include user) Thanks to Bochkarev Vladimi <bochkarev@expocentr.ru> - export LC_ALL=C will be issued before sort to avoid high cpu usage - grepday with invalid font path. Thanks to Marcelo Ricardo Leitner <mrl@conectiva.com.br> - -v option added to display Sarg version on console - Segmenation fault caused by an unclosed file. Thanks to Pustovalov Leonid - SquidGuard log formats added. Thanks to Kolotov Alexandr - time field added to topsites report Thanks to Miles Roper <mroper@westcoastdhb.org.nz> - fixtime function with wrong definition, changed to long long Thanks to Valery from Russia - Solaris 9 compiling error: error: conflicting types for 'my_mkdir' Thanks to Brad Larden <Brad.Larden@alphawest.com.au> - segfaults if the denied report is disabled in sarg.conf. Thanks to Filippo Carletti <filippo.carletti@nethesis.it> - reading performance improved by Francesco Perrillo <fperillo@totalfax.it> Thanks - Russian sarg-php translation added. Thanks to Michael Stepanenko <mistic@ecolines.ru> - configure error with no gd installed. - graph with no text when using --enable-sysconfdir - graph day incorrect when using dd/mm/yy date format - show_sarg_logo yes|no added - site_user_time_date with wrong patch. Thanks to Ricardo R. Hoffmann <hoffmann@uninet.com.br> - Internal/External css implemented - User authentication access (htaccess) implemented - large file support added - Report limits implemented - Download report implemented - Sarg logo by Osamu Matsuzaki <matsu_o@robata.org> added. - Internal mkdir added to easy port to various plataform. - long url now show only accessed site and module name. - now you can add a user report url to a flat file to be blocked by some Squid acl. Request by Francesco Collini <collini@colliniconsulting.it> - remove temporary files, if already exist, to avoid conflits with a previous sarg process.. Thanks to Renato Leon <rl_sita@hotmail.com> - squidGuard improved - now only records with the same period from access.log will be in squidGuard report. - squidGuard limit report - now you can save some urls in squidGuard db using sarg-squidguard PHP utility. bug fixed: fault caused by rewinddir after closedir. Thanks to Lucas Bocchi <challado@ibocchi.com.br> and to Freek Fixed: - missing </body> tags in all HTML pages - missing </html> tag in some HTML pages - missing DOCTYPE in all HTML pages - grammar in man page - URL Links to SourceForge http://sarg.sourceforge.net/ Added: - Included more detailed information in man the page Thanks to Billy Newsom of U.S. To Do: - There are still major validation problems in the HTML generated fixed: - link error to denied site in squidGuard report - resolve name error in squidGuard report - some fixes to HPUX. Thanks to Miles Roper <mroper@westcoastdhb.org.nz> - index_sort_order tag don't work correctly. - too many open files fixed. Thanks to Francesco Perrillo <fperillo@totalfax.it> - Ukrainian_windows1251 included in sarg.conf file - exclude_string don´t work correctly. Thanks to Modric Kristijan <Kristijan.Modric@pliva.hr>
2006-05-22 05:44:55 +02:00
# $NetBSD: Makefile,v 1.9 2006/05/22 03:44:55 ben Exp $
Update sarg to version 2.1. Notable changes include: - site moved to sourceforge - index_tree tag added. Look at TAG: index_tree in sarg.conf file default is file - old format. - realtime report added. sarg -r option Look at these tags ion sarg.conf file: TAG: realtime_refresh_time num sec TAG: realtime_access_log_lines num TAG: realtime_types: GET,PUT,CONNECT,ICP_QUERY,POST TAG: realtime_unauthenticated_records: ignore|show - garbage in topuser report with unitialized variable. Thanks to Craig Brockmeier <craig@ppco.com> - memory leaks caused by a wrong variable size Fixed by Klaus Singvogel <kssingvo@suse.de>. Thanks. - ignoring users with '.' in password file. Thanks to Emerson Valdir Pellis <webmaster@marisol.com.br> - error with "resolve_ip" with "user_authentication yes" Fixed by Grigory Trenin <gtrenin@gmail.com>. Thanks. - long url causing fault. Thanks to Vassily Andin <vasya@avitalight.com> - hanging on a log file containing space. Thanks to Fabio Lo Votrico <fabio@link.it> - bug fixed in squidguard report module - squidguard_ignore_date on|off tag added to sarg.conf file You can ignore the squidguard log record date if outisde of date range in squid access.log file. - alternate squidguard log added using -L option on sarg command line. Thanks to Dave Karlson <dkarlson@r9esd.k12.or.us> - fixed malloc withou free. - datafile-url ip|name added to sarg.conf file - saves ip address or name in url when using datafile tag. Thanks to Calvin Muller <calvin@siryn.co.za> - wronk link point in Generated by sarg-2.. Thanks to Markus Hoffmann <ipcop@mh-lantech.de> - Russian_UFT-8 language added by Alex Deiter <tiamat@komi.mts.ru> - dansguardian_report_limit missing in sarg.conf file. - ntlm domain+user format added. - index date sort fixed by Olivier JAVAUX. Thanks - Improve broken record detection Thanks to Artem Korneev <akorneev@intelsysus.com> - sort open failed causing an empty topuser report - sarg losslessly size optimized images Thanks to Tonda Mí¿ek <tonda.misek@post.cz> and Luigi Gangitano. - sarg calling sort without quoting filenames Thanks to Luigi Gangitano. - download_report_limit tag added. Thanks to Leonardo Rodrigues <leonardo@solutti.com.br> - logo css class defined but never used. Thanks to Roger Favero <favero@sparkenergy.it> - verdana.ttf font removed to avoid patent infringement issues. Now sarg uses a GPL FreeSans font from http://savannah.gnu.org - ISA report with wrong date in date/time report. Thanks to Richard Berndt - connect records ignored when using emulate_http_log on in squid.conf file. Thanks to Dusan Woletz - bug that prevents the correct usage of switch -d <date1-date2> when using an "emulate_httpd_log on" logfile and some performance improvements added. Thanks to Filippo Grassilli - Spanish language fixed by José Luis Hernández López. Thanks. - url variable size changed to acomodate big urls with coded symbols and some minor changes in util.c file. Thanks to Oleg <xsov@mail.ru> - download suffixes improved by Oleg <xsov@mail.ru>. Thanks. Now sarg uses these suffixes: 7z,ace,arj,avi,bat,bin,bz2,bzip,cab,com,cpio,dll,doc,dot,exe,gz,iso, lha,lzh,mdb,mov,mp3,mpeg,mpg,mso,nrg,ogg,ppt,rar,rtf,shs,src,sys,tar, tgz,vcd,vob,wma,wmv,zip - DansGuardian report added. Thanks to Adolfas Kupliauskas for the access.log - Slovak language added by Dusan Woletz Thank you - wrong usertab user on topuser report. Thanks to Marcos Favoretto - ntlm_user_format added to sarg.conf. Now you can choose the following formats for the username on reports: user|domainname+user Suggested by Roger Favero - exclude_users ignored in some situations. - Fixes by Sapon Oleg from Russia: . there are two equal lines about Evren Yurtesen in CONTRIBUTORS file. . Internationalisation of SARG user graph added, using iconv function, which is presented only in Linux, so I add required #ifdef and other stuff to clean compile code on other platforms. . Fixed two issues: - '?' symbol problems for apache and other cgi-supporting web server which doesn't support '?' symbol in links (all of them interprete this like parameter to cgi script); - some good optimization to all three similar cicles in these files by reducing false checks in 'if ...' strings. . Fixes segfault, produced by inproper use of strncpy functions, look - strncpy doesn't copy leading '\0' symbol! . Just localisation support for repday report. . Support usertab IP->USERNAME change in siteuser report. . Just proper Russian koi8 localisation. - Greek language by Antonis Maglaras <vegos@magla.gr> Thank you. - time period added to -t option. Now you can use -t HH-HH, HH:MM-HH:MM - support to isa proxy 2004 log added. Thanks to William da Rocha Lima <wrochal@linuxit.com.br> - French language fixed by Alexey Znamerovskiy <alexz@everys.com> Thanks - internal LC_ALL=C removed to avoid errors on Solaris. Thanks to Hraska, Frantisek <frantisek.hraska@hupro.sk> - non authenticated records removed from Topuser report. Thanks to Brian <brian@reginachristianschool.org> - Compilation error on FreeBSD > 5 - log.c:645: error: `RLIMIT_OFILE' undeclared - Sarg abbreviation values improved. - fixed: some changes to avoid segmentation fault. - fixed: some changes to avoid compilation errors on freeBSD. - fixed: exclude_hosts not excluding correctly. - exclude hosts not excluding correctly. Thanks to Oleg - download report showing jpeg files. - support to Microsoft isa proxy log files added. Thanks to Trankov Vladislav <vtrankov@kb-obibank.ru> - fixed: error when using relative paths in -o and -w options. Just absolute paths can be used now. Thanks to Andreas Grosse <andi@majestyk.de> - fixed: segfault fix in vrfydir() in util.c Prevent buffer overflow in subs(); replace one constant with sizeof() in my_lltoa(). vrfydir(): fix segfault if sub-directory "images" is not exists function builddia() don't check the parameters. Result: segmentation fault in some cases. Thanks to Stas Degteff stas_degteff@users.sourceforge.net for the fixes. - fixed: wrond date period in squidguard_log when using european date format. Thanks to Guenther Mair <gunnyst@users.sourceforge.net> - ulimit tag added on sarg.conf to avoid "Too many open files" error. Thanks to Paulo Pires <paulo.pires@vodafone.pt> - squidguard parse logs method changed. Thanks to Joao Mendes <jmendes@credibom.pt> Thanks to Guenther Mair <gunnyst@users.sourceforge.net> - wrong results in -v option. - fixed: error when using -u (include user) Thanks to Bochkarev Vladimi <bochkarev@expocentr.ru> - export LC_ALL=C will be issued before sort to avoid high cpu usage - grepday with invalid font path. Thanks to Marcelo Ricardo Leitner <mrl@conectiva.com.br> - -v option added to display Sarg version on console - Segmenation fault caused by an unclosed file. Thanks to Pustovalov Leonid - SquidGuard log formats added. Thanks to Kolotov Alexandr - time field added to topsites report Thanks to Miles Roper <mroper@westcoastdhb.org.nz> - fixtime function with wrong definition, changed to long long Thanks to Valery from Russia - Solaris 9 compiling error: error: conflicting types for 'my_mkdir' Thanks to Brad Larden <Brad.Larden@alphawest.com.au> - segfaults if the denied report is disabled in sarg.conf. Thanks to Filippo Carletti <filippo.carletti@nethesis.it> - reading performance improved by Francesco Perrillo <fperillo@totalfax.it> Thanks - Russian sarg-php translation added. Thanks to Michael Stepanenko <mistic@ecolines.ru> - configure error with no gd installed. - graph with no text when using --enable-sysconfdir - graph day incorrect when using dd/mm/yy date format - show_sarg_logo yes|no added - site_user_time_date with wrong patch. Thanks to Ricardo R. Hoffmann <hoffmann@uninet.com.br> - Internal/External css implemented - User authentication access (htaccess) implemented - large file support added - Report limits implemented - Download report implemented - Sarg logo by Osamu Matsuzaki <matsu_o@robata.org> added. - Internal mkdir added to easy port to various plataform. - long url now show only accessed site and module name. - now you can add a user report url to a flat file to be blocked by some Squid acl. Request by Francesco Collini <collini@colliniconsulting.it> - remove temporary files, if already exist, to avoid conflits with a previous sarg process.. Thanks to Renato Leon <rl_sita@hotmail.com> - squidGuard improved - now only records with the same period from access.log will be in squidGuard report. - squidGuard limit report - now you can save some urls in squidGuard db using sarg-squidguard PHP utility. bug fixed: fault caused by rewinddir after closedir. Thanks to Lucas Bocchi <challado@ibocchi.com.br> and to Freek Fixed: - missing </body> tags in all HTML pages - missing </html> tag in some HTML pages - missing DOCTYPE in all HTML pages - grammar in man page - URL Links to SourceForge http://sarg.sourceforge.net/ Added: - Included more detailed information in man the page Thanks to Billy Newsom of U.S. To Do: - There are still major validation problems in the HTML generated fixed: - link error to denied site in squidGuard report - resolve name error in squidGuard report - some fixes to HPUX. Thanks to Miles Roper <mroper@westcoastdhb.org.nz> - index_sort_order tag don't work correctly. - too many open files fixed. Thanks to Francesco Perrillo <fperillo@totalfax.it> - Ukrainian_windows1251 included in sarg.conf file - exclude_string don´t work correctly. Thanks to Modric Kristijan <Kristijan.Modric@pliva.hr>
2006-05-22 05:44:55 +02:00
DISTNAME= sarg-2.1
CATEGORIES= www
Update sarg to version 2.1. Notable changes include: - site moved to sourceforge - index_tree tag added. Look at TAG: index_tree in sarg.conf file default is file - old format. - realtime report added. sarg -r option Look at these tags ion sarg.conf file: TAG: realtime_refresh_time num sec TAG: realtime_access_log_lines num TAG: realtime_types: GET,PUT,CONNECT,ICP_QUERY,POST TAG: realtime_unauthenticated_records: ignore|show - garbage in topuser report with unitialized variable. Thanks to Craig Brockmeier <craig@ppco.com> - memory leaks caused by a wrong variable size Fixed by Klaus Singvogel <kssingvo@suse.de>. Thanks. - ignoring users with '.' in password file. Thanks to Emerson Valdir Pellis <webmaster@marisol.com.br> - error with "resolve_ip" with "user_authentication yes" Fixed by Grigory Trenin <gtrenin@gmail.com>. Thanks. - long url causing fault. Thanks to Vassily Andin <vasya@avitalight.com> - hanging on a log file containing space. Thanks to Fabio Lo Votrico <fabio@link.it> - bug fixed in squidguard report module - squidguard_ignore_date on|off tag added to sarg.conf file You can ignore the squidguard log record date if outisde of date range in squid access.log file. - alternate squidguard log added using -L option on sarg command line. Thanks to Dave Karlson <dkarlson@r9esd.k12.or.us> - fixed malloc withou free. - datafile-url ip|name added to sarg.conf file - saves ip address or name in url when using datafile tag. Thanks to Calvin Muller <calvin@siryn.co.za> - wronk link point in Generated by sarg-2.. Thanks to Markus Hoffmann <ipcop@mh-lantech.de> - Russian_UFT-8 language added by Alex Deiter <tiamat@komi.mts.ru> - dansguardian_report_limit missing in sarg.conf file. - ntlm domain+user format added. - index date sort fixed by Olivier JAVAUX. Thanks - Improve broken record detection Thanks to Artem Korneev <akorneev@intelsysus.com> - sort open failed causing an empty topuser report - sarg losslessly size optimized images Thanks to Tonda Mí¿ek <tonda.misek@post.cz> and Luigi Gangitano. - sarg calling sort without quoting filenames Thanks to Luigi Gangitano. - download_report_limit tag added. Thanks to Leonardo Rodrigues <leonardo@solutti.com.br> - logo css class defined but never used. Thanks to Roger Favero <favero@sparkenergy.it> - verdana.ttf font removed to avoid patent infringement issues. Now sarg uses a GPL FreeSans font from http://savannah.gnu.org - ISA report with wrong date in date/time report. Thanks to Richard Berndt - connect records ignored when using emulate_http_log on in squid.conf file. Thanks to Dusan Woletz - bug that prevents the correct usage of switch -d <date1-date2> when using an "emulate_httpd_log on" logfile and some performance improvements added. Thanks to Filippo Grassilli - Spanish language fixed by José Luis Hernández López. Thanks. - url variable size changed to acomodate big urls with coded symbols and some minor changes in util.c file. Thanks to Oleg <xsov@mail.ru> - download suffixes improved by Oleg <xsov@mail.ru>. Thanks. Now sarg uses these suffixes: 7z,ace,arj,avi,bat,bin,bz2,bzip,cab,com,cpio,dll,doc,dot,exe,gz,iso, lha,lzh,mdb,mov,mp3,mpeg,mpg,mso,nrg,ogg,ppt,rar,rtf,shs,src,sys,tar, tgz,vcd,vob,wma,wmv,zip - DansGuardian report added. Thanks to Adolfas Kupliauskas for the access.log - Slovak language added by Dusan Woletz Thank you - wrong usertab user on topuser report. Thanks to Marcos Favoretto - ntlm_user_format added to sarg.conf. Now you can choose the following formats for the username on reports: user|domainname+user Suggested by Roger Favero - exclude_users ignored in some situations. - Fixes by Sapon Oleg from Russia: . there are two equal lines about Evren Yurtesen in CONTRIBUTORS file. . Internationalisation of SARG user graph added, using iconv function, which is presented only in Linux, so I add required #ifdef and other stuff to clean compile code on other platforms. . Fixed two issues: - '?' symbol problems for apache and other cgi-supporting web server which doesn't support '?' symbol in links (all of them interprete this like parameter to cgi script); - some good optimization to all three similar cicles in these files by reducing false checks in 'if ...' strings. . Fixes segfault, produced by inproper use of strncpy functions, look - strncpy doesn't copy leading '\0' symbol! . Just localisation support for repday report. . Support usertab IP->USERNAME change in siteuser report. . Just proper Russian koi8 localisation. - Greek language by Antonis Maglaras <vegos@magla.gr> Thank you. - time period added to -t option. Now you can use -t HH-HH, HH:MM-HH:MM - support to isa proxy 2004 log added. Thanks to William da Rocha Lima <wrochal@linuxit.com.br> - French language fixed by Alexey Znamerovskiy <alexz@everys.com> Thanks - internal LC_ALL=C removed to avoid errors on Solaris. Thanks to Hraska, Frantisek <frantisek.hraska@hupro.sk> - non authenticated records removed from Topuser report. Thanks to Brian <brian@reginachristianschool.org> - Compilation error on FreeBSD > 5 - log.c:645: error: `RLIMIT_OFILE' undeclared - Sarg abbreviation values improved. - fixed: some changes to avoid segmentation fault. - fixed: some changes to avoid compilation errors on freeBSD. - fixed: exclude_hosts not excluding correctly. - exclude hosts not excluding correctly. Thanks to Oleg - download report showing jpeg files. - support to Microsoft isa proxy log files added. Thanks to Trankov Vladislav <vtrankov@kb-obibank.ru> - fixed: error when using relative paths in -o and -w options. Just absolute paths can be used now. Thanks to Andreas Grosse <andi@majestyk.de> - fixed: segfault fix in vrfydir() in util.c Prevent buffer overflow in subs(); replace one constant with sizeof() in my_lltoa(). vrfydir(): fix segfault if sub-directory "images" is not exists function builddia() don't check the parameters. Result: segmentation fault in some cases. Thanks to Stas Degteff stas_degteff@users.sourceforge.net for the fixes. - fixed: wrond date period in squidguard_log when using european date format. Thanks to Guenther Mair <gunnyst@users.sourceforge.net> - ulimit tag added on sarg.conf to avoid "Too many open files" error. Thanks to Paulo Pires <paulo.pires@vodafone.pt> - squidguard parse logs method changed. Thanks to Joao Mendes <jmendes@credibom.pt> Thanks to Guenther Mair <gunnyst@users.sourceforge.net> - wrong results in -v option. - fixed: error when using -u (include user) Thanks to Bochkarev Vladimi <bochkarev@expocentr.ru> - export LC_ALL=C will be issued before sort to avoid high cpu usage - grepday with invalid font path. Thanks to Marcelo Ricardo Leitner <mrl@conectiva.com.br> - -v option added to display Sarg version on console - Segmenation fault caused by an unclosed file. Thanks to Pustovalov Leonid - SquidGuard log formats added. Thanks to Kolotov Alexandr - time field added to topsites report Thanks to Miles Roper <mroper@westcoastdhb.org.nz> - fixtime function with wrong definition, changed to long long Thanks to Valery from Russia - Solaris 9 compiling error: error: conflicting types for 'my_mkdir' Thanks to Brad Larden <Brad.Larden@alphawest.com.au> - segfaults if the denied report is disabled in sarg.conf. Thanks to Filippo Carletti <filippo.carletti@nethesis.it> - reading performance improved by Francesco Perrillo <fperillo@totalfax.it> Thanks - Russian sarg-php translation added. Thanks to Michael Stepanenko <mistic@ecolines.ru> - configure error with no gd installed. - graph with no text when using --enable-sysconfdir - graph day incorrect when using dd/mm/yy date format - show_sarg_logo yes|no added - site_user_time_date with wrong patch. Thanks to Ricardo R. Hoffmann <hoffmann@uninet.com.br> - Internal/External css implemented - User authentication access (htaccess) implemented - large file support added - Report limits implemented - Download report implemented - Sarg logo by Osamu Matsuzaki <matsu_o@robata.org> added. - Internal mkdir added to easy port to various plataform. - long url now show only accessed site and module name. - now you can add a user report url to a flat file to be blocked by some Squid acl. Request by Francesco Collini <collini@colliniconsulting.it> - remove temporary files, if already exist, to avoid conflits with a previous sarg process.. Thanks to Renato Leon <rl_sita@hotmail.com> - squidGuard improved - now only records with the same period from access.log will be in squidGuard report. - squidGuard limit report - now you can save some urls in squidGuard db using sarg-squidguard PHP utility. bug fixed: fault caused by rewinddir after closedir. Thanks to Lucas Bocchi <challado@ibocchi.com.br> and to Freek Fixed: - missing </body> tags in all HTML pages - missing </html> tag in some HTML pages - missing DOCTYPE in all HTML pages - grammar in man page - URL Links to SourceForge http://sarg.sourceforge.net/ Added: - Included more detailed information in man the page Thanks to Billy Newsom of U.S. To Do: - There are still major validation problems in the HTML generated fixed: - link error to denied site in squidGuard report - resolve name error in squidGuard report - some fixes to HPUX. Thanks to Miles Roper <mroper@westcoastdhb.org.nz> - index_sort_order tag don't work correctly. - too many open files fixed. Thanks to Francesco Perrillo <fperillo@totalfax.it> - Ukrainian_windows1251 included in sarg.conf file - exclude_string don´t work correctly. Thanks to Modric Kristijan <Kristijan.Modric@pliva.hr>
2006-05-22 05:44:55 +02:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sarg/}
Update sarg to version 2.1. Notable changes include: - site moved to sourceforge - index_tree tag added. Look at TAG: index_tree in sarg.conf file default is file - old format. - realtime report added. sarg -r option Look at these tags ion sarg.conf file: TAG: realtime_refresh_time num sec TAG: realtime_access_log_lines num TAG: realtime_types: GET,PUT,CONNECT,ICP_QUERY,POST TAG: realtime_unauthenticated_records: ignore|show - garbage in topuser report with unitialized variable. Thanks to Craig Brockmeier <craig@ppco.com> - memory leaks caused by a wrong variable size Fixed by Klaus Singvogel <kssingvo@suse.de>. Thanks. - ignoring users with '.' in password file. Thanks to Emerson Valdir Pellis <webmaster@marisol.com.br> - error with "resolve_ip" with "user_authentication yes" Fixed by Grigory Trenin <gtrenin@gmail.com>. Thanks. - long url causing fault. Thanks to Vassily Andin <vasya@avitalight.com> - hanging on a log file containing space. Thanks to Fabio Lo Votrico <fabio@link.it> - bug fixed in squidguard report module - squidguard_ignore_date on|off tag added to sarg.conf file You can ignore the squidguard log record date if outisde of date range in squid access.log file. - alternate squidguard log added using -L option on sarg command line. Thanks to Dave Karlson <dkarlson@r9esd.k12.or.us> - fixed malloc withou free. - datafile-url ip|name added to sarg.conf file - saves ip address or name in url when using datafile tag. Thanks to Calvin Muller <calvin@siryn.co.za> - wronk link point in Generated by sarg-2.. Thanks to Markus Hoffmann <ipcop@mh-lantech.de> - Russian_UFT-8 language added by Alex Deiter <tiamat@komi.mts.ru> - dansguardian_report_limit missing in sarg.conf file. - ntlm domain+user format added. - index date sort fixed by Olivier JAVAUX. Thanks - Improve broken record detection Thanks to Artem Korneev <akorneev@intelsysus.com> - sort open failed causing an empty topuser report - sarg losslessly size optimized images Thanks to Tonda Mí¿ek <tonda.misek@post.cz> and Luigi Gangitano. - sarg calling sort without quoting filenames Thanks to Luigi Gangitano. - download_report_limit tag added. Thanks to Leonardo Rodrigues <leonardo@solutti.com.br> - logo css class defined but never used. Thanks to Roger Favero <favero@sparkenergy.it> - verdana.ttf font removed to avoid patent infringement issues. Now sarg uses a GPL FreeSans font from http://savannah.gnu.org - ISA report with wrong date in date/time report. Thanks to Richard Berndt - connect records ignored when using emulate_http_log on in squid.conf file. Thanks to Dusan Woletz - bug that prevents the correct usage of switch -d <date1-date2> when using an "emulate_httpd_log on" logfile and some performance improvements added. Thanks to Filippo Grassilli - Spanish language fixed by José Luis Hernández López. Thanks. - url variable size changed to acomodate big urls with coded symbols and some minor changes in util.c file. Thanks to Oleg <xsov@mail.ru> - download suffixes improved by Oleg <xsov@mail.ru>. Thanks. Now sarg uses these suffixes: 7z,ace,arj,avi,bat,bin,bz2,bzip,cab,com,cpio,dll,doc,dot,exe,gz,iso, lha,lzh,mdb,mov,mp3,mpeg,mpg,mso,nrg,ogg,ppt,rar,rtf,shs,src,sys,tar, tgz,vcd,vob,wma,wmv,zip - DansGuardian report added. Thanks to Adolfas Kupliauskas for the access.log - Slovak language added by Dusan Woletz Thank you - wrong usertab user on topuser report. Thanks to Marcos Favoretto - ntlm_user_format added to sarg.conf. Now you can choose the following formats for the username on reports: user|domainname+user Suggested by Roger Favero - exclude_users ignored in some situations. - Fixes by Sapon Oleg from Russia: . there are two equal lines about Evren Yurtesen in CONTRIBUTORS file. . Internationalisation of SARG user graph added, using iconv function, which is presented only in Linux, so I add required #ifdef and other stuff to clean compile code on other platforms. . Fixed two issues: - '?' symbol problems for apache and other cgi-supporting web server which doesn't support '?' symbol in links (all of them interprete this like parameter to cgi script); - some good optimization to all three similar cicles in these files by reducing false checks in 'if ...' strings. . Fixes segfault, produced by inproper use of strncpy functions, look - strncpy doesn't copy leading '\0' symbol! . Just localisation support for repday report. . Support usertab IP->USERNAME change in siteuser report. . Just proper Russian koi8 localisation. - Greek language by Antonis Maglaras <vegos@magla.gr> Thank you. - time period added to -t option. Now you can use -t HH-HH, HH:MM-HH:MM - support to isa proxy 2004 log added. Thanks to William da Rocha Lima <wrochal@linuxit.com.br> - French language fixed by Alexey Znamerovskiy <alexz@everys.com> Thanks - internal LC_ALL=C removed to avoid errors on Solaris. Thanks to Hraska, Frantisek <frantisek.hraska@hupro.sk> - non authenticated records removed from Topuser report. Thanks to Brian <brian@reginachristianschool.org> - Compilation error on FreeBSD > 5 - log.c:645: error: `RLIMIT_OFILE' undeclared - Sarg abbreviation values improved. - fixed: some changes to avoid segmentation fault. - fixed: some changes to avoid compilation errors on freeBSD. - fixed: exclude_hosts not excluding correctly. - exclude hosts not excluding correctly. Thanks to Oleg - download report showing jpeg files. - support to Microsoft isa proxy log files added. Thanks to Trankov Vladislav <vtrankov@kb-obibank.ru> - fixed: error when using relative paths in -o and -w options. Just absolute paths can be used now. Thanks to Andreas Grosse <andi@majestyk.de> - fixed: segfault fix in vrfydir() in util.c Prevent buffer overflow in subs(); replace one constant with sizeof() in my_lltoa(). vrfydir(): fix segfault if sub-directory "images" is not exists function builddia() don't check the parameters. Result: segmentation fault in some cases. Thanks to Stas Degteff stas_degteff@users.sourceforge.net for the fixes. - fixed: wrond date period in squidguard_log when using european date format. Thanks to Guenther Mair <gunnyst@users.sourceforge.net> - ulimit tag added on sarg.conf to avoid "Too many open files" error. Thanks to Paulo Pires <paulo.pires@vodafone.pt> - squidguard parse logs method changed. Thanks to Joao Mendes <jmendes@credibom.pt> Thanks to Guenther Mair <gunnyst@users.sourceforge.net> - wrong results in -v option. - fixed: error when using -u (include user) Thanks to Bochkarev Vladimi <bochkarev@expocentr.ru> - export LC_ALL=C will be issued before sort to avoid high cpu usage - grepday with invalid font path. Thanks to Marcelo Ricardo Leitner <mrl@conectiva.com.br> - -v option added to display Sarg version on console - Segmenation fault caused by an unclosed file. Thanks to Pustovalov Leonid - SquidGuard log formats added. Thanks to Kolotov Alexandr - time field added to topsites report Thanks to Miles Roper <mroper@westcoastdhb.org.nz> - fixtime function with wrong definition, changed to long long Thanks to Valery from Russia - Solaris 9 compiling error: error: conflicting types for 'my_mkdir' Thanks to Brad Larden <Brad.Larden@alphawest.com.au> - segfaults if the denied report is disabled in sarg.conf. Thanks to Filippo Carletti <filippo.carletti@nethesis.it> - reading performance improved by Francesco Perrillo <fperillo@totalfax.it> Thanks - Russian sarg-php translation added. Thanks to Michael Stepanenko <mistic@ecolines.ru> - configure error with no gd installed. - graph with no text when using --enable-sysconfdir - graph day incorrect when using dd/mm/yy date format - show_sarg_logo yes|no added - site_user_time_date with wrong patch. Thanks to Ricardo R. Hoffmann <hoffmann@uninet.com.br> - Internal/External css implemented - User authentication access (htaccess) implemented - large file support added - Report limits implemented - Download report implemented - Sarg logo by Osamu Matsuzaki <matsu_o@robata.org> added. - Internal mkdir added to easy port to various plataform. - long url now show only accessed site and module name. - now you can add a user report url to a flat file to be blocked by some Squid acl. Request by Francesco Collini <collini@colliniconsulting.it> - remove temporary files, if already exist, to avoid conflits with a previous sarg process.. Thanks to Renato Leon <rl_sita@hotmail.com> - squidGuard improved - now only records with the same period from access.log will be in squidGuard report. - squidGuard limit report - now you can save some urls in squidGuard db using sarg-squidguard PHP utility. bug fixed: fault caused by rewinddir after closedir. Thanks to Lucas Bocchi <challado@ibocchi.com.br> and to Freek Fixed: - missing </body> tags in all HTML pages - missing </html> tag in some HTML pages - missing DOCTYPE in all HTML pages - grammar in man page - URL Links to SourceForge http://sarg.sourceforge.net/ Added: - Included more detailed information in man the page Thanks to Billy Newsom of U.S. To Do: - There are still major validation problems in the HTML generated fixed: - link error to denied site in squidGuard report - resolve name error in squidGuard report - some fixes to HPUX. Thanks to Miles Roper <mroper@westcoastdhb.org.nz> - index_sort_order tag don't work correctly. - too many open files fixed. Thanks to Francesco Perrillo <fperillo@totalfax.it> - Ukrainian_windows1251 included in sarg.conf file - exclude_string don´t work correctly. Thanks to Modric Kristijan <Kristijan.Modric@pliva.hr>
2006-05-22 05:44:55 +02:00
PATCH_SITES= http://sarg.sourceforge.net/
PATCHFILES= datafile.patch lastlog.patch
MAINTAINER= mishka@terabyte.com.ua
Update sarg to version 2.1. Notable changes include: - site moved to sourceforge - index_tree tag added. Look at TAG: index_tree in sarg.conf file default is file - old format. - realtime report added. sarg -r option Look at these tags ion sarg.conf file: TAG: realtime_refresh_time num sec TAG: realtime_access_log_lines num TAG: realtime_types: GET,PUT,CONNECT,ICP_QUERY,POST TAG: realtime_unauthenticated_records: ignore|show - garbage in topuser report with unitialized variable. Thanks to Craig Brockmeier <craig@ppco.com> - memory leaks caused by a wrong variable size Fixed by Klaus Singvogel <kssingvo@suse.de>. Thanks. - ignoring users with '.' in password file. Thanks to Emerson Valdir Pellis <webmaster@marisol.com.br> - error with "resolve_ip" with "user_authentication yes" Fixed by Grigory Trenin <gtrenin@gmail.com>. Thanks. - long url causing fault. Thanks to Vassily Andin <vasya@avitalight.com> - hanging on a log file containing space. Thanks to Fabio Lo Votrico <fabio@link.it> - bug fixed in squidguard report module - squidguard_ignore_date on|off tag added to sarg.conf file You can ignore the squidguard log record date if outisde of date range in squid access.log file. - alternate squidguard log added using -L option on sarg command line. Thanks to Dave Karlson <dkarlson@r9esd.k12.or.us> - fixed malloc withou free. - datafile-url ip|name added to sarg.conf file - saves ip address or name in url when using datafile tag. Thanks to Calvin Muller <calvin@siryn.co.za> - wronk link point in Generated by sarg-2.. Thanks to Markus Hoffmann <ipcop@mh-lantech.de> - Russian_UFT-8 language added by Alex Deiter <tiamat@komi.mts.ru> - dansguardian_report_limit missing in sarg.conf file. - ntlm domain+user format added. - index date sort fixed by Olivier JAVAUX. Thanks - Improve broken record detection Thanks to Artem Korneev <akorneev@intelsysus.com> - sort open failed causing an empty topuser report - sarg losslessly size optimized images Thanks to Tonda Mí¿ek <tonda.misek@post.cz> and Luigi Gangitano. - sarg calling sort without quoting filenames Thanks to Luigi Gangitano. - download_report_limit tag added. Thanks to Leonardo Rodrigues <leonardo@solutti.com.br> - logo css class defined but never used. Thanks to Roger Favero <favero@sparkenergy.it> - verdana.ttf font removed to avoid patent infringement issues. Now sarg uses a GPL FreeSans font from http://savannah.gnu.org - ISA report with wrong date in date/time report. Thanks to Richard Berndt - connect records ignored when using emulate_http_log on in squid.conf file. Thanks to Dusan Woletz - bug that prevents the correct usage of switch -d <date1-date2> when using an "emulate_httpd_log on" logfile and some performance improvements added. Thanks to Filippo Grassilli - Spanish language fixed by José Luis Hernández López. Thanks. - url variable size changed to acomodate big urls with coded symbols and some minor changes in util.c file. Thanks to Oleg <xsov@mail.ru> - download suffixes improved by Oleg <xsov@mail.ru>. Thanks. Now sarg uses these suffixes: 7z,ace,arj,avi,bat,bin,bz2,bzip,cab,com,cpio,dll,doc,dot,exe,gz,iso, lha,lzh,mdb,mov,mp3,mpeg,mpg,mso,nrg,ogg,ppt,rar,rtf,shs,src,sys,tar, tgz,vcd,vob,wma,wmv,zip - DansGuardian report added. Thanks to Adolfas Kupliauskas for the access.log - Slovak language added by Dusan Woletz Thank you - wrong usertab user on topuser report. Thanks to Marcos Favoretto - ntlm_user_format added to sarg.conf. Now you can choose the following formats for the username on reports: user|domainname+user Suggested by Roger Favero - exclude_users ignored in some situations. - Fixes by Sapon Oleg from Russia: . there are two equal lines about Evren Yurtesen in CONTRIBUTORS file. . Internationalisation of SARG user graph added, using iconv function, which is presented only in Linux, so I add required #ifdef and other stuff to clean compile code on other platforms. . Fixed two issues: - '?' symbol problems for apache and other cgi-supporting web server which doesn't support '?' symbol in links (all of them interprete this like parameter to cgi script); - some good optimization to all three similar cicles in these files by reducing false checks in 'if ...' strings. . Fixes segfault, produced by inproper use of strncpy functions, look - strncpy doesn't copy leading '\0' symbol! . Just localisation support for repday report. . Support usertab IP->USERNAME change in siteuser report. . Just proper Russian koi8 localisation. - Greek language by Antonis Maglaras <vegos@magla.gr> Thank you. - time period added to -t option. Now you can use -t HH-HH, HH:MM-HH:MM - support to isa proxy 2004 log added. Thanks to William da Rocha Lima <wrochal@linuxit.com.br> - French language fixed by Alexey Znamerovskiy <alexz@everys.com> Thanks - internal LC_ALL=C removed to avoid errors on Solaris. Thanks to Hraska, Frantisek <frantisek.hraska@hupro.sk> - non authenticated records removed from Topuser report. Thanks to Brian <brian@reginachristianschool.org> - Compilation error on FreeBSD > 5 - log.c:645: error: `RLIMIT_OFILE' undeclared - Sarg abbreviation values improved. - fixed: some changes to avoid segmentation fault. - fixed: some changes to avoid compilation errors on freeBSD. - fixed: exclude_hosts not excluding correctly. - exclude hosts not excluding correctly. Thanks to Oleg - download report showing jpeg files. - support to Microsoft isa proxy log files added. Thanks to Trankov Vladislav <vtrankov@kb-obibank.ru> - fixed: error when using relative paths in -o and -w options. Just absolute paths can be used now. Thanks to Andreas Grosse <andi@majestyk.de> - fixed: segfault fix in vrfydir() in util.c Prevent buffer overflow in subs(); replace one constant with sizeof() in my_lltoa(). vrfydir(): fix segfault if sub-directory "images" is not exists function builddia() don't check the parameters. Result: segmentation fault in some cases. Thanks to Stas Degteff stas_degteff@users.sourceforge.net for the fixes. - fixed: wrond date period in squidguard_log when using european date format. Thanks to Guenther Mair <gunnyst@users.sourceforge.net> - ulimit tag added on sarg.conf to avoid "Too many open files" error. Thanks to Paulo Pires <paulo.pires@vodafone.pt> - squidguard parse logs method changed. Thanks to Joao Mendes <jmendes@credibom.pt> Thanks to Guenther Mair <gunnyst@users.sourceforge.net> - wrong results in -v option. - fixed: error when using -u (include user) Thanks to Bochkarev Vladimi <bochkarev@expocentr.ru> - export LC_ALL=C will be issued before sort to avoid high cpu usage - grepday with invalid font path. Thanks to Marcelo Ricardo Leitner <mrl@conectiva.com.br> - -v option added to display Sarg version on console - Segmenation fault caused by an unclosed file. Thanks to Pustovalov Leonid - SquidGuard log formats added. Thanks to Kolotov Alexandr - time field added to topsites report Thanks to Miles Roper <mroper@westcoastdhb.org.nz> - fixtime function with wrong definition, changed to long long Thanks to Valery from Russia - Solaris 9 compiling error: error: conflicting types for 'my_mkdir' Thanks to Brad Larden <Brad.Larden@alphawest.com.au> - segfaults if the denied report is disabled in sarg.conf. Thanks to Filippo Carletti <filippo.carletti@nethesis.it> - reading performance improved by Francesco Perrillo <fperillo@totalfax.it> Thanks - Russian sarg-php translation added. Thanks to Michael Stepanenko <mistic@ecolines.ru> - configure error with no gd installed. - graph with no text when using --enable-sysconfdir - graph day incorrect when using dd/mm/yy date format - show_sarg_logo yes|no added - site_user_time_date with wrong patch. Thanks to Ricardo R. Hoffmann <hoffmann@uninet.com.br> - Internal/External css implemented - User authentication access (htaccess) implemented - large file support added - Report limits implemented - Download report implemented - Sarg logo by Osamu Matsuzaki <matsu_o@robata.org> added. - Internal mkdir added to easy port to various plataform. - long url now show only accessed site and module name. - now you can add a user report url to a flat file to be blocked by some Squid acl. Request by Francesco Collini <collini@colliniconsulting.it> - remove temporary files, if already exist, to avoid conflits with a previous sarg process.. Thanks to Renato Leon <rl_sita@hotmail.com> - squidGuard improved - now only records with the same period from access.log will be in squidGuard report. - squidGuard limit report - now you can save some urls in squidGuard db using sarg-squidguard PHP utility. bug fixed: fault caused by rewinddir after closedir. Thanks to Lucas Bocchi <challado@ibocchi.com.br> and to Freek Fixed: - missing </body> tags in all HTML pages - missing </html> tag in some HTML pages - missing DOCTYPE in all HTML pages - grammar in man page - URL Links to SourceForge http://sarg.sourceforge.net/ Added: - Included more detailed information in man the page Thanks to Billy Newsom of U.S. To Do: - There are still major validation problems in the HTML generated fixed: - link error to denied site in squidGuard report - resolve name error in squidGuard report - some fixes to HPUX. Thanks to Miles Roper <mroper@westcoastdhb.org.nz> - index_sort_order tag don't work correctly. - too many open files fixed. Thanks to Francesco Perrillo <fperillo@totalfax.it> - Ukrainian_windows1251 included in sarg.conf file - exclude_string don´t work correctly. Thanks to Modric Kristijan <Kristijan.Modric@pliva.hr>
2006-05-22 05:44:55 +02:00
HOMEPAGE= http://sarg.sourceforge.net/sarg.php
COMMENT= Squid-Cache proxy server Analysis Report Generator
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-gcc \
--enable-bindir=${PREFIX}/sbin \
--enable-mandir=${PREFIX}/${PKGMANDIR}/man1 \
--enable-sysconfdir=${PKG_SYSCONFDIR:Q}
DIST_SUBDIR= ${DISTNAME}
PKG_SYSCONFSUBDIR= sarg
EGDIR= ${PREFIX}/share/examples/sarg
EGLNG= ${EGDIR}/languages
CFLNG= ${PKG_SYSCONFDIR}/languages
SQUID_ACCESSLOG?= /var/squid/logs/access.log
SARG_REPORTSDIR?= /var/sarg
OWN_DIRS+= ${SARG_REPORTSDIR} ${CFLNG}
SUBST_CLASSES+= sargconf
SUBST_MESSAGE.sargconf= [Adjust values in SARG configuration files]
SUBST_STAGE.sargconf= post-configure
SUBST_FILES.sargconf= sarg.conf sarg.1
2006-01-06 00:54:44 +01:00
SUBST_SED.sargconf= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g'
SUBST_SED.sargconf+= -e 's,@SQUID_ACCESSLOG@,${SQUID_ACCESSLOG},g'
SUBST_SED.sargconf+= -e 's,@SARG_REPORTSDIR@,${SARG_REPORTSDIR},g'
BUILD_DEFS+= SQUID_ACCESSLOG SARG_REPORTSDIR
MAKE_ENV+= PKG_FLAGS="-DSQUID_ACCESSLOG='\"${SQUID_ACCESSLOG}\"' \
-DSARG_REPORTSDIR='\"${SARG_REPORTSDIR}\"'" \
EGDIR=${EGDIR:Q}
CONF_FILES= ${EGDIR}/sarg.conf ${PKG_SYSCONFDIR}/sarg.conf \
${EGDIR}/exclude_codes ${PKG_SYSCONFDIR}/exclude_codes \
${EGLNG}/Bulgarian_windows1251 \
${CFLNG}/Bulgarian_windows1251 \
${EGLNG}/Catalan ${CFLNG}/Catalan \
${EGLNG}/Czech ${CFLNG}/Czech \
${EGLNG}/Dutch ${CFLNG}/Dutch \
${EGLNG}/English ${CFLNG}/English \
${EGLNG}/French ${CFLNG}/French \
${EGLNG}/German ${CFLNG}/German \
Update sarg to version 2.1. Notable changes include: - site moved to sourceforge - index_tree tag added. Look at TAG: index_tree in sarg.conf file default is file - old format. - realtime report added. sarg -r option Look at these tags ion sarg.conf file: TAG: realtime_refresh_time num sec TAG: realtime_access_log_lines num TAG: realtime_types: GET,PUT,CONNECT,ICP_QUERY,POST TAG: realtime_unauthenticated_records: ignore|show - garbage in topuser report with unitialized variable. Thanks to Craig Brockmeier <craig@ppco.com> - memory leaks caused by a wrong variable size Fixed by Klaus Singvogel <kssingvo@suse.de>. Thanks. - ignoring users with '.' in password file. Thanks to Emerson Valdir Pellis <webmaster@marisol.com.br> - error with "resolve_ip" with "user_authentication yes" Fixed by Grigory Trenin <gtrenin@gmail.com>. Thanks. - long url causing fault. Thanks to Vassily Andin <vasya@avitalight.com> - hanging on a log file containing space. Thanks to Fabio Lo Votrico <fabio@link.it> - bug fixed in squidguard report module - squidguard_ignore_date on|off tag added to sarg.conf file You can ignore the squidguard log record date if outisde of date range in squid access.log file. - alternate squidguard log added using -L option on sarg command line. Thanks to Dave Karlson <dkarlson@r9esd.k12.or.us> - fixed malloc withou free. - datafile-url ip|name added to sarg.conf file - saves ip address or name in url when using datafile tag. Thanks to Calvin Muller <calvin@siryn.co.za> - wronk link point in Generated by sarg-2.. Thanks to Markus Hoffmann <ipcop@mh-lantech.de> - Russian_UFT-8 language added by Alex Deiter <tiamat@komi.mts.ru> - dansguardian_report_limit missing in sarg.conf file. - ntlm domain+user format added. - index date sort fixed by Olivier JAVAUX. Thanks - Improve broken record detection Thanks to Artem Korneev <akorneev@intelsysus.com> - sort open failed causing an empty topuser report - sarg losslessly size optimized images Thanks to Tonda Mí¿ek <tonda.misek@post.cz> and Luigi Gangitano. - sarg calling sort without quoting filenames Thanks to Luigi Gangitano. - download_report_limit tag added. Thanks to Leonardo Rodrigues <leonardo@solutti.com.br> - logo css class defined but never used. Thanks to Roger Favero <favero@sparkenergy.it> - verdana.ttf font removed to avoid patent infringement issues. Now sarg uses a GPL FreeSans font from http://savannah.gnu.org - ISA report with wrong date in date/time report. Thanks to Richard Berndt - connect records ignored when using emulate_http_log on in squid.conf file. Thanks to Dusan Woletz - bug that prevents the correct usage of switch -d <date1-date2> when using an "emulate_httpd_log on" logfile and some performance improvements added. Thanks to Filippo Grassilli - Spanish language fixed by José Luis Hernández López. Thanks. - url variable size changed to acomodate big urls with coded symbols and some minor changes in util.c file. Thanks to Oleg <xsov@mail.ru> - download suffixes improved by Oleg <xsov@mail.ru>. Thanks. Now sarg uses these suffixes: 7z,ace,arj,avi,bat,bin,bz2,bzip,cab,com,cpio,dll,doc,dot,exe,gz,iso, lha,lzh,mdb,mov,mp3,mpeg,mpg,mso,nrg,ogg,ppt,rar,rtf,shs,src,sys,tar, tgz,vcd,vob,wma,wmv,zip - DansGuardian report added. Thanks to Adolfas Kupliauskas for the access.log - Slovak language added by Dusan Woletz Thank you - wrong usertab user on topuser report. Thanks to Marcos Favoretto - ntlm_user_format added to sarg.conf. Now you can choose the following formats for the username on reports: user|domainname+user Suggested by Roger Favero - exclude_users ignored in some situations. - Fixes by Sapon Oleg from Russia: . there are two equal lines about Evren Yurtesen in CONTRIBUTORS file. . Internationalisation of SARG user graph added, using iconv function, which is presented only in Linux, so I add required #ifdef and other stuff to clean compile code on other platforms. . Fixed two issues: - '?' symbol problems for apache and other cgi-supporting web server which doesn't support '?' symbol in links (all of them interprete this like parameter to cgi script); - some good optimization to all three similar cicles in these files by reducing false checks in 'if ...' strings. . Fixes segfault, produced by inproper use of strncpy functions, look - strncpy doesn't copy leading '\0' symbol! . Just localisation support for repday report. . Support usertab IP->USERNAME change in siteuser report. . Just proper Russian koi8 localisation. - Greek language by Antonis Maglaras <vegos@magla.gr> Thank you. - time period added to -t option. Now you can use -t HH-HH, HH:MM-HH:MM - support to isa proxy 2004 log added. Thanks to William da Rocha Lima <wrochal@linuxit.com.br> - French language fixed by Alexey Znamerovskiy <alexz@everys.com> Thanks - internal LC_ALL=C removed to avoid errors on Solaris. Thanks to Hraska, Frantisek <frantisek.hraska@hupro.sk> - non authenticated records removed from Topuser report. Thanks to Brian <brian@reginachristianschool.org> - Compilation error on FreeBSD > 5 - log.c:645: error: `RLIMIT_OFILE' undeclared - Sarg abbreviation values improved. - fixed: some changes to avoid segmentation fault. - fixed: some changes to avoid compilation errors on freeBSD. - fixed: exclude_hosts not excluding correctly. - exclude hosts not excluding correctly. Thanks to Oleg - download report showing jpeg files. - support to Microsoft isa proxy log files added. Thanks to Trankov Vladislav <vtrankov@kb-obibank.ru> - fixed: error when using relative paths in -o and -w options. Just absolute paths can be used now. Thanks to Andreas Grosse <andi@majestyk.de> - fixed: segfault fix in vrfydir() in util.c Prevent buffer overflow in subs(); replace one constant with sizeof() in my_lltoa(). vrfydir(): fix segfault if sub-directory "images" is not exists function builddia() don't check the parameters. Result: segmentation fault in some cases. Thanks to Stas Degteff stas_degteff@users.sourceforge.net for the fixes. - fixed: wrond date period in squidguard_log when using european date format. Thanks to Guenther Mair <gunnyst@users.sourceforge.net> - ulimit tag added on sarg.conf to avoid "Too many open files" error. Thanks to Paulo Pires <paulo.pires@vodafone.pt> - squidguard parse logs method changed. Thanks to Joao Mendes <jmendes@credibom.pt> Thanks to Guenther Mair <gunnyst@users.sourceforge.net> - wrong results in -v option. - fixed: error when using -u (include user) Thanks to Bochkarev Vladimi <bochkarev@expocentr.ru> - export LC_ALL=C will be issued before sort to avoid high cpu usage - grepday with invalid font path. Thanks to Marcelo Ricardo Leitner <mrl@conectiva.com.br> - -v option added to display Sarg version on console - Segmenation fault caused by an unclosed file. Thanks to Pustovalov Leonid - SquidGuard log formats added. Thanks to Kolotov Alexandr - time field added to topsites report Thanks to Miles Roper <mroper@westcoastdhb.org.nz> - fixtime function with wrong definition, changed to long long Thanks to Valery from Russia - Solaris 9 compiling error: error: conflicting types for 'my_mkdir' Thanks to Brad Larden <Brad.Larden@alphawest.com.au> - segfaults if the denied report is disabled in sarg.conf. Thanks to Filippo Carletti <filippo.carletti@nethesis.it> - reading performance improved by Francesco Perrillo <fperillo@totalfax.it> Thanks - Russian sarg-php translation added. Thanks to Michael Stepanenko <mistic@ecolines.ru> - configure error with no gd installed. - graph with no text when using --enable-sysconfdir - graph day incorrect when using dd/mm/yy date format - show_sarg_logo yes|no added - site_user_time_date with wrong patch. Thanks to Ricardo R. Hoffmann <hoffmann@uninet.com.br> - Internal/External css implemented - User authentication access (htaccess) implemented - large file support added - Report limits implemented - Download report implemented - Sarg logo by Osamu Matsuzaki <matsu_o@robata.org> added. - Internal mkdir added to easy port to various plataform. - long url now show only accessed site and module name. - now you can add a user report url to a flat file to be blocked by some Squid acl. Request by Francesco Collini <collini@colliniconsulting.it> - remove temporary files, if already exist, to avoid conflits with a previous sarg process.. Thanks to Renato Leon <rl_sita@hotmail.com> - squidGuard improved - now only records with the same period from access.log will be in squidGuard report. - squidGuard limit report - now you can save some urls in squidGuard db using sarg-squidguard PHP utility. bug fixed: fault caused by rewinddir after closedir. Thanks to Lucas Bocchi <challado@ibocchi.com.br> and to Freek Fixed: - missing </body> tags in all HTML pages - missing </html> tag in some HTML pages - missing DOCTYPE in all HTML pages - grammar in man page - URL Links to SourceForge http://sarg.sourceforge.net/ Added: - Included more detailed information in man the page Thanks to Billy Newsom of U.S. To Do: - There are still major validation problems in the HTML generated fixed: - link error to denied site in squidGuard report - resolve name error in squidGuard report - some fixes to HPUX. Thanks to Miles Roper <mroper@westcoastdhb.org.nz> - index_sort_order tag don't work correctly. - too many open files fixed. Thanks to Francesco Perrillo <fperillo@totalfax.it> - Ukrainian_windows1251 included in sarg.conf file - exclude_string don´t work correctly. Thanks to Modric Kristijan <Kristijan.Modric@pliva.hr>
2006-05-22 05:44:55 +02:00
${EGLNG}/Greek ${CFLNG}/Greek \
${EGLNG}/Hungarian ${CFLNG}/Hungarian \
${EGLNG}/Indonesian ${CFLNG}/Indonesian \
${EGLNG}/Italian ${CFLNG}/Italian \
${EGLNG}/Japanese ${CFLNG}/Japanese \
${EGLNG}/Latvian ${CFLNG}/Latvian \
${EGLNG}/Polish ${CFLNG}/Polish \
${EGLNG}/Portuguese ${CFLNG}/Portuguese \
${EGLNG}/Romanian ${CFLNG}/Romanian \
${EGLNG}/Russian_koi8 ${CFLNG}/Russian_koi8 \
Update sarg to version 2.1. Notable changes include: - site moved to sourceforge - index_tree tag added. Look at TAG: index_tree in sarg.conf file default is file - old format. - realtime report added. sarg -r option Look at these tags ion sarg.conf file: TAG: realtime_refresh_time num sec TAG: realtime_access_log_lines num TAG: realtime_types: GET,PUT,CONNECT,ICP_QUERY,POST TAG: realtime_unauthenticated_records: ignore|show - garbage in topuser report with unitialized variable. Thanks to Craig Brockmeier <craig@ppco.com> - memory leaks caused by a wrong variable size Fixed by Klaus Singvogel <kssingvo@suse.de>. Thanks. - ignoring users with '.' in password file. Thanks to Emerson Valdir Pellis <webmaster@marisol.com.br> - error with "resolve_ip" with "user_authentication yes" Fixed by Grigory Trenin <gtrenin@gmail.com>. Thanks. - long url causing fault. Thanks to Vassily Andin <vasya@avitalight.com> - hanging on a log file containing space. Thanks to Fabio Lo Votrico <fabio@link.it> - bug fixed in squidguard report module - squidguard_ignore_date on|off tag added to sarg.conf file You can ignore the squidguard log record date if outisde of date range in squid access.log file. - alternate squidguard log added using -L option on sarg command line. Thanks to Dave Karlson <dkarlson@r9esd.k12.or.us> - fixed malloc withou free. - datafile-url ip|name added to sarg.conf file - saves ip address or name in url when using datafile tag. Thanks to Calvin Muller <calvin@siryn.co.za> - wronk link point in Generated by sarg-2.. Thanks to Markus Hoffmann <ipcop@mh-lantech.de> - Russian_UFT-8 language added by Alex Deiter <tiamat@komi.mts.ru> - dansguardian_report_limit missing in sarg.conf file. - ntlm domain+user format added. - index date sort fixed by Olivier JAVAUX. Thanks - Improve broken record detection Thanks to Artem Korneev <akorneev@intelsysus.com> - sort open failed causing an empty topuser report - sarg losslessly size optimized images Thanks to Tonda Mí¿ek <tonda.misek@post.cz> and Luigi Gangitano. - sarg calling sort without quoting filenames Thanks to Luigi Gangitano. - download_report_limit tag added. Thanks to Leonardo Rodrigues <leonardo@solutti.com.br> - logo css class defined but never used. Thanks to Roger Favero <favero@sparkenergy.it> - verdana.ttf font removed to avoid patent infringement issues. Now sarg uses a GPL FreeSans font from http://savannah.gnu.org - ISA report with wrong date in date/time report. Thanks to Richard Berndt - connect records ignored when using emulate_http_log on in squid.conf file. Thanks to Dusan Woletz - bug that prevents the correct usage of switch -d <date1-date2> when using an "emulate_httpd_log on" logfile and some performance improvements added. Thanks to Filippo Grassilli - Spanish language fixed by José Luis Hernández López. Thanks. - url variable size changed to acomodate big urls with coded symbols and some minor changes in util.c file. Thanks to Oleg <xsov@mail.ru> - download suffixes improved by Oleg <xsov@mail.ru>. Thanks. Now sarg uses these suffixes: 7z,ace,arj,avi,bat,bin,bz2,bzip,cab,com,cpio,dll,doc,dot,exe,gz,iso, lha,lzh,mdb,mov,mp3,mpeg,mpg,mso,nrg,ogg,ppt,rar,rtf,shs,src,sys,tar, tgz,vcd,vob,wma,wmv,zip - DansGuardian report added. Thanks to Adolfas Kupliauskas for the access.log - Slovak language added by Dusan Woletz Thank you - wrong usertab user on topuser report. Thanks to Marcos Favoretto - ntlm_user_format added to sarg.conf. Now you can choose the following formats for the username on reports: user|domainname+user Suggested by Roger Favero - exclude_users ignored in some situations. - Fixes by Sapon Oleg from Russia: . there are two equal lines about Evren Yurtesen in CONTRIBUTORS file. . Internationalisation of SARG user graph added, using iconv function, which is presented only in Linux, so I add required #ifdef and other stuff to clean compile code on other platforms. . Fixed two issues: - '?' symbol problems for apache and other cgi-supporting web server which doesn't support '?' symbol in links (all of them interprete this like parameter to cgi script); - some good optimization to all three similar cicles in these files by reducing false checks in 'if ...' strings. . Fixes segfault, produced by inproper use of strncpy functions, look - strncpy doesn't copy leading '\0' symbol! . Just localisation support for repday report. . Support usertab IP->USERNAME change in siteuser report. . Just proper Russian koi8 localisation. - Greek language by Antonis Maglaras <vegos@magla.gr> Thank you. - time period added to -t option. Now you can use -t HH-HH, HH:MM-HH:MM - support to isa proxy 2004 log added. Thanks to William da Rocha Lima <wrochal@linuxit.com.br> - French language fixed by Alexey Znamerovskiy <alexz@everys.com> Thanks - internal LC_ALL=C removed to avoid errors on Solaris. Thanks to Hraska, Frantisek <frantisek.hraska@hupro.sk> - non authenticated records removed from Topuser report. Thanks to Brian <brian@reginachristianschool.org> - Compilation error on FreeBSD > 5 - log.c:645: error: `RLIMIT_OFILE' undeclared - Sarg abbreviation values improved. - fixed: some changes to avoid segmentation fault. - fixed: some changes to avoid compilation errors on freeBSD. - fixed: exclude_hosts not excluding correctly. - exclude hosts not excluding correctly. Thanks to Oleg - download report showing jpeg files. - support to Microsoft isa proxy log files added. Thanks to Trankov Vladislav <vtrankov@kb-obibank.ru> - fixed: error when using relative paths in -o and -w options. Just absolute paths can be used now. Thanks to Andreas Grosse <andi@majestyk.de> - fixed: segfault fix in vrfydir() in util.c Prevent buffer overflow in subs(); replace one constant with sizeof() in my_lltoa(). vrfydir(): fix segfault if sub-directory "images" is not exists function builddia() don't check the parameters. Result: segmentation fault in some cases. Thanks to Stas Degteff stas_degteff@users.sourceforge.net for the fixes. - fixed: wrond date period in squidguard_log when using european date format. Thanks to Guenther Mair <gunnyst@users.sourceforge.net> - ulimit tag added on sarg.conf to avoid "Too many open files" error. Thanks to Paulo Pires <paulo.pires@vodafone.pt> - squidguard parse logs method changed. Thanks to Joao Mendes <jmendes@credibom.pt> Thanks to Guenther Mair <gunnyst@users.sourceforge.net> - wrong results in -v option. - fixed: error when using -u (include user) Thanks to Bochkarev Vladimi <bochkarev@expocentr.ru> - export LC_ALL=C will be issued before sort to avoid high cpu usage - grepday with invalid font path. Thanks to Marcelo Ricardo Leitner <mrl@conectiva.com.br> - -v option added to display Sarg version on console - Segmenation fault caused by an unclosed file. Thanks to Pustovalov Leonid - SquidGuard log formats added. Thanks to Kolotov Alexandr - time field added to topsites report Thanks to Miles Roper <mroper@westcoastdhb.org.nz> - fixtime function with wrong definition, changed to long long Thanks to Valery from Russia - Solaris 9 compiling error: error: conflicting types for 'my_mkdir' Thanks to Brad Larden <Brad.Larden@alphawest.com.au> - segfaults if the denied report is disabled in sarg.conf. Thanks to Filippo Carletti <filippo.carletti@nethesis.it> - reading performance improved by Francesco Perrillo <fperillo@totalfax.it> Thanks - Russian sarg-php translation added. Thanks to Michael Stepanenko <mistic@ecolines.ru> - configure error with no gd installed. - graph with no text when using --enable-sysconfdir - graph day incorrect when using dd/mm/yy date format - show_sarg_logo yes|no added - site_user_time_date with wrong patch. Thanks to Ricardo R. Hoffmann <hoffmann@uninet.com.br> - Internal/External css implemented - User authentication access (htaccess) implemented - large file support added - Report limits implemented - Download report implemented - Sarg logo by Osamu Matsuzaki <matsu_o@robata.org> added. - Internal mkdir added to easy port to various plataform. - long url now show only accessed site and module name. - now you can add a user report url to a flat file to be blocked by some Squid acl. Request by Francesco Collini <collini@colliniconsulting.it> - remove temporary files, if already exist, to avoid conflits with a previous sarg process.. Thanks to Renato Leon <rl_sita@hotmail.com> - squidGuard improved - now only records with the same period from access.log will be in squidGuard report. - squidGuard limit report - now you can save some urls in squidGuard db using sarg-squidguard PHP utility. bug fixed: fault caused by rewinddir after closedir. Thanks to Lucas Bocchi <challado@ibocchi.com.br> and to Freek Fixed: - missing </body> tags in all HTML pages - missing </html> tag in some HTML pages - missing DOCTYPE in all HTML pages - grammar in man page - URL Links to SourceForge http://sarg.sourceforge.net/ Added: - Included more detailed information in man the page Thanks to Billy Newsom of U.S. To Do: - There are still major validation problems in the HTML generated fixed: - link error to denied site in squidGuard report - resolve name error in squidGuard report - some fixes to HPUX. Thanks to Miles Roper <mroper@westcoastdhb.org.nz> - index_sort_order tag don't work correctly. - too many open files fixed. Thanks to Francesco Perrillo <fperillo@totalfax.it> - Ukrainian_windows1251 included in sarg.conf file - exclude_string don´t work correctly. Thanks to Modric Kristijan <Kristijan.Modric@pliva.hr>
2006-05-22 05:44:55 +02:00
${EGLNG}/Russian_UTF8 ${CFLNG}/Russian_UTF8 \
${EGLNG}/Russian_windows1251 \
${CFLNG}/Russian_windows1251 \
${EGLNG}/Serbian ${CFLNG}/Serbian \
Update sarg to version 2.1. Notable changes include: - site moved to sourceforge - index_tree tag added. Look at TAG: index_tree in sarg.conf file default is file - old format. - realtime report added. sarg -r option Look at these tags ion sarg.conf file: TAG: realtime_refresh_time num sec TAG: realtime_access_log_lines num TAG: realtime_types: GET,PUT,CONNECT,ICP_QUERY,POST TAG: realtime_unauthenticated_records: ignore|show - garbage in topuser report with unitialized variable. Thanks to Craig Brockmeier <craig@ppco.com> - memory leaks caused by a wrong variable size Fixed by Klaus Singvogel <kssingvo@suse.de>. Thanks. - ignoring users with '.' in password file. Thanks to Emerson Valdir Pellis <webmaster@marisol.com.br> - error with "resolve_ip" with "user_authentication yes" Fixed by Grigory Trenin <gtrenin@gmail.com>. Thanks. - long url causing fault. Thanks to Vassily Andin <vasya@avitalight.com> - hanging on a log file containing space. Thanks to Fabio Lo Votrico <fabio@link.it> - bug fixed in squidguard report module - squidguard_ignore_date on|off tag added to sarg.conf file You can ignore the squidguard log record date if outisde of date range in squid access.log file. - alternate squidguard log added using -L option on sarg command line. Thanks to Dave Karlson <dkarlson@r9esd.k12.or.us> - fixed malloc withou free. - datafile-url ip|name added to sarg.conf file - saves ip address or name in url when using datafile tag. Thanks to Calvin Muller <calvin@siryn.co.za> - wronk link point in Generated by sarg-2.. Thanks to Markus Hoffmann <ipcop@mh-lantech.de> - Russian_UFT-8 language added by Alex Deiter <tiamat@komi.mts.ru> - dansguardian_report_limit missing in sarg.conf file. - ntlm domain+user format added. - index date sort fixed by Olivier JAVAUX. Thanks - Improve broken record detection Thanks to Artem Korneev <akorneev@intelsysus.com> - sort open failed causing an empty topuser report - sarg losslessly size optimized images Thanks to Tonda Mí¿ek <tonda.misek@post.cz> and Luigi Gangitano. - sarg calling sort without quoting filenames Thanks to Luigi Gangitano. - download_report_limit tag added. Thanks to Leonardo Rodrigues <leonardo@solutti.com.br> - logo css class defined but never used. Thanks to Roger Favero <favero@sparkenergy.it> - verdana.ttf font removed to avoid patent infringement issues. Now sarg uses a GPL FreeSans font from http://savannah.gnu.org - ISA report with wrong date in date/time report. Thanks to Richard Berndt - connect records ignored when using emulate_http_log on in squid.conf file. Thanks to Dusan Woletz - bug that prevents the correct usage of switch -d <date1-date2> when using an "emulate_httpd_log on" logfile and some performance improvements added. Thanks to Filippo Grassilli - Spanish language fixed by José Luis Hernández López. Thanks. - url variable size changed to acomodate big urls with coded symbols and some minor changes in util.c file. Thanks to Oleg <xsov@mail.ru> - download suffixes improved by Oleg <xsov@mail.ru>. Thanks. Now sarg uses these suffixes: 7z,ace,arj,avi,bat,bin,bz2,bzip,cab,com,cpio,dll,doc,dot,exe,gz,iso, lha,lzh,mdb,mov,mp3,mpeg,mpg,mso,nrg,ogg,ppt,rar,rtf,shs,src,sys,tar, tgz,vcd,vob,wma,wmv,zip - DansGuardian report added. Thanks to Adolfas Kupliauskas for the access.log - Slovak language added by Dusan Woletz Thank you - wrong usertab user on topuser report. Thanks to Marcos Favoretto - ntlm_user_format added to sarg.conf. Now you can choose the following formats for the username on reports: user|domainname+user Suggested by Roger Favero - exclude_users ignored in some situations. - Fixes by Sapon Oleg from Russia: . there are two equal lines about Evren Yurtesen in CONTRIBUTORS file. . Internationalisation of SARG user graph added, using iconv function, which is presented only in Linux, so I add required #ifdef and other stuff to clean compile code on other platforms. . Fixed two issues: - '?' symbol problems for apache and other cgi-supporting web server which doesn't support '?' symbol in links (all of them interprete this like parameter to cgi script); - some good optimization to all three similar cicles in these files by reducing false checks in 'if ...' strings. . Fixes segfault, produced by inproper use of strncpy functions, look - strncpy doesn't copy leading '\0' symbol! . Just localisation support for repday report. . Support usertab IP->USERNAME change in siteuser report. . Just proper Russian koi8 localisation. - Greek language by Antonis Maglaras <vegos@magla.gr> Thank you. - time period added to -t option. Now you can use -t HH-HH, HH:MM-HH:MM - support to isa proxy 2004 log added. Thanks to William da Rocha Lima <wrochal@linuxit.com.br> - French language fixed by Alexey Znamerovskiy <alexz@everys.com> Thanks - internal LC_ALL=C removed to avoid errors on Solaris. Thanks to Hraska, Frantisek <frantisek.hraska@hupro.sk> - non authenticated records removed from Topuser report. Thanks to Brian <brian@reginachristianschool.org> - Compilation error on FreeBSD > 5 - log.c:645: error: `RLIMIT_OFILE' undeclared - Sarg abbreviation values improved. - fixed: some changes to avoid segmentation fault. - fixed: some changes to avoid compilation errors on freeBSD. - fixed: exclude_hosts not excluding correctly. - exclude hosts not excluding correctly. Thanks to Oleg - download report showing jpeg files. - support to Microsoft isa proxy log files added. Thanks to Trankov Vladislav <vtrankov@kb-obibank.ru> - fixed: error when using relative paths in -o and -w options. Just absolute paths can be used now. Thanks to Andreas Grosse <andi@majestyk.de> - fixed: segfault fix in vrfydir() in util.c Prevent buffer overflow in subs(); replace one constant with sizeof() in my_lltoa(). vrfydir(): fix segfault if sub-directory "images" is not exists function builddia() don't check the parameters. Result: segmentation fault in some cases. Thanks to Stas Degteff stas_degteff@users.sourceforge.net for the fixes. - fixed: wrond date period in squidguard_log when using european date format. Thanks to Guenther Mair <gunnyst@users.sourceforge.net> - ulimit tag added on sarg.conf to avoid "Too many open files" error. Thanks to Paulo Pires <paulo.pires@vodafone.pt> - squidguard parse logs method changed. Thanks to Joao Mendes <jmendes@credibom.pt> Thanks to Guenther Mair <gunnyst@users.sourceforge.net> - wrong results in -v option. - fixed: error when using -u (include user) Thanks to Bochkarev Vladimi <bochkarev@expocentr.ru> - export LC_ALL=C will be issued before sort to avoid high cpu usage - grepday with invalid font path. Thanks to Marcelo Ricardo Leitner <mrl@conectiva.com.br> - -v option added to display Sarg version on console - Segmenation fault caused by an unclosed file. Thanks to Pustovalov Leonid - SquidGuard log formats added. Thanks to Kolotov Alexandr - time field added to topsites report Thanks to Miles Roper <mroper@westcoastdhb.org.nz> - fixtime function with wrong definition, changed to long long Thanks to Valery from Russia - Solaris 9 compiling error: error: conflicting types for 'my_mkdir' Thanks to Brad Larden <Brad.Larden@alphawest.com.au> - segfaults if the denied report is disabled in sarg.conf. Thanks to Filippo Carletti <filippo.carletti@nethesis.it> - reading performance improved by Francesco Perrillo <fperillo@totalfax.it> Thanks - Russian sarg-php translation added. Thanks to Michael Stepanenko <mistic@ecolines.ru> - configure error with no gd installed. - graph with no text when using --enable-sysconfdir - graph day incorrect when using dd/mm/yy date format - show_sarg_logo yes|no added - site_user_time_date with wrong patch. Thanks to Ricardo R. Hoffmann <hoffmann@uninet.com.br> - Internal/External css implemented - User authentication access (htaccess) implemented - large file support added - Report limits implemented - Download report implemented - Sarg logo by Osamu Matsuzaki <matsu_o@robata.org> added. - Internal mkdir added to easy port to various plataform. - long url now show only accessed site and module name. - now you can add a user report url to a flat file to be blocked by some Squid acl. Request by Francesco Collini <collini@colliniconsulting.it> - remove temporary files, if already exist, to avoid conflits with a previous sarg process.. Thanks to Renato Leon <rl_sita@hotmail.com> - squidGuard improved - now only records with the same period from access.log will be in squidGuard report. - squidGuard limit report - now you can save some urls in squidGuard db using sarg-squidguard PHP utility. bug fixed: fault caused by rewinddir after closedir. Thanks to Lucas Bocchi <challado@ibocchi.com.br> and to Freek Fixed: - missing </body> tags in all HTML pages - missing </html> tag in some HTML pages - missing DOCTYPE in all HTML pages - grammar in man page - URL Links to SourceForge http://sarg.sourceforge.net/ Added: - Included more detailed information in man the page Thanks to Billy Newsom of U.S. To Do: - There are still major validation problems in the HTML generated fixed: - link error to denied site in squidGuard report - resolve name error in squidGuard report - some fixes to HPUX. Thanks to Miles Roper <mroper@westcoastdhb.org.nz> - index_sort_order tag don't work correctly. - too many open files fixed. Thanks to Francesco Perrillo <fperillo@totalfax.it> - Ukrainian_windows1251 included in sarg.conf file - exclude_string don´t work correctly. Thanks to Modric Kristijan <Kristijan.Modric@pliva.hr>
2006-05-22 05:44:55 +02:00
${EGLNG}/Slovak ${CFLNG}/Slovak \
${EGLNG}/Spanish ${CFLNG}/Spanish \
${EGLNG}/Turkish ${CFLNG}/Turkish \
${EGLNG}/Ukrainian_windows1251 \
${CFLNG}/Ukrainian_windows1251
post-extract:
@${FIND} ${WRKSRC} -type d -exec ${CHMOD} +x {} \;
@${RM} ${WRKSRC}/languages/.new
Update sarg to version 2.1. Notable changes include: - site moved to sourceforge - index_tree tag added. Look at TAG: index_tree in sarg.conf file default is file - old format. - realtime report added. sarg -r option Look at these tags ion sarg.conf file: TAG: realtime_refresh_time num sec TAG: realtime_access_log_lines num TAG: realtime_types: GET,PUT,CONNECT,ICP_QUERY,POST TAG: realtime_unauthenticated_records: ignore|show - garbage in topuser report with unitialized variable. Thanks to Craig Brockmeier <craig@ppco.com> - memory leaks caused by a wrong variable size Fixed by Klaus Singvogel <kssingvo@suse.de>. Thanks. - ignoring users with '.' in password file. Thanks to Emerson Valdir Pellis <webmaster@marisol.com.br> - error with "resolve_ip" with "user_authentication yes" Fixed by Grigory Trenin <gtrenin@gmail.com>. Thanks. - long url causing fault. Thanks to Vassily Andin <vasya@avitalight.com> - hanging on a log file containing space. Thanks to Fabio Lo Votrico <fabio@link.it> - bug fixed in squidguard report module - squidguard_ignore_date on|off tag added to sarg.conf file You can ignore the squidguard log record date if outisde of date range in squid access.log file. - alternate squidguard log added using -L option on sarg command line. Thanks to Dave Karlson <dkarlson@r9esd.k12.or.us> - fixed malloc withou free. - datafile-url ip|name added to sarg.conf file - saves ip address or name in url when using datafile tag. Thanks to Calvin Muller <calvin@siryn.co.za> - wronk link point in Generated by sarg-2.. Thanks to Markus Hoffmann <ipcop@mh-lantech.de> - Russian_UFT-8 language added by Alex Deiter <tiamat@komi.mts.ru> - dansguardian_report_limit missing in sarg.conf file. - ntlm domain+user format added. - index date sort fixed by Olivier JAVAUX. Thanks - Improve broken record detection Thanks to Artem Korneev <akorneev@intelsysus.com> - sort open failed causing an empty topuser report - sarg losslessly size optimized images Thanks to Tonda Mí¿ek <tonda.misek@post.cz> and Luigi Gangitano. - sarg calling sort without quoting filenames Thanks to Luigi Gangitano. - download_report_limit tag added. Thanks to Leonardo Rodrigues <leonardo@solutti.com.br> - logo css class defined but never used. Thanks to Roger Favero <favero@sparkenergy.it> - verdana.ttf font removed to avoid patent infringement issues. Now sarg uses a GPL FreeSans font from http://savannah.gnu.org - ISA report with wrong date in date/time report. Thanks to Richard Berndt - connect records ignored when using emulate_http_log on in squid.conf file. Thanks to Dusan Woletz - bug that prevents the correct usage of switch -d <date1-date2> when using an "emulate_httpd_log on" logfile and some performance improvements added. Thanks to Filippo Grassilli - Spanish language fixed by José Luis Hernández López. Thanks. - url variable size changed to acomodate big urls with coded symbols and some minor changes in util.c file. Thanks to Oleg <xsov@mail.ru> - download suffixes improved by Oleg <xsov@mail.ru>. Thanks. Now sarg uses these suffixes: 7z,ace,arj,avi,bat,bin,bz2,bzip,cab,com,cpio,dll,doc,dot,exe,gz,iso, lha,lzh,mdb,mov,mp3,mpeg,mpg,mso,nrg,ogg,ppt,rar,rtf,shs,src,sys,tar, tgz,vcd,vob,wma,wmv,zip - DansGuardian report added. Thanks to Adolfas Kupliauskas for the access.log - Slovak language added by Dusan Woletz Thank you - wrong usertab user on topuser report. Thanks to Marcos Favoretto - ntlm_user_format added to sarg.conf. Now you can choose the following formats for the username on reports: user|domainname+user Suggested by Roger Favero - exclude_users ignored in some situations. - Fixes by Sapon Oleg from Russia: . there are two equal lines about Evren Yurtesen in CONTRIBUTORS file. . Internationalisation of SARG user graph added, using iconv function, which is presented only in Linux, so I add required #ifdef and other stuff to clean compile code on other platforms. . Fixed two issues: - '?' symbol problems for apache and other cgi-supporting web server which doesn't support '?' symbol in links (all of them interprete this like parameter to cgi script); - some good optimization to all three similar cicles in these files by reducing false checks in 'if ...' strings. . Fixes segfault, produced by inproper use of strncpy functions, look - strncpy doesn't copy leading '\0' symbol! . Just localisation support for repday report. . Support usertab IP->USERNAME change in siteuser report. . Just proper Russian koi8 localisation. - Greek language by Antonis Maglaras <vegos@magla.gr> Thank you. - time period added to -t option. Now you can use -t HH-HH, HH:MM-HH:MM - support to isa proxy 2004 log added. Thanks to William da Rocha Lima <wrochal@linuxit.com.br> - French language fixed by Alexey Znamerovskiy <alexz@everys.com> Thanks - internal LC_ALL=C removed to avoid errors on Solaris. Thanks to Hraska, Frantisek <frantisek.hraska@hupro.sk> - non authenticated records removed from Topuser report. Thanks to Brian <brian@reginachristianschool.org> - Compilation error on FreeBSD > 5 - log.c:645: error: `RLIMIT_OFILE' undeclared - Sarg abbreviation values improved. - fixed: some changes to avoid segmentation fault. - fixed: some changes to avoid compilation errors on freeBSD. - fixed: exclude_hosts not excluding correctly. - exclude hosts not excluding correctly. Thanks to Oleg - download report showing jpeg files. - support to Microsoft isa proxy log files added. Thanks to Trankov Vladislav <vtrankov@kb-obibank.ru> - fixed: error when using relative paths in -o and -w options. Just absolute paths can be used now. Thanks to Andreas Grosse <andi@majestyk.de> - fixed: segfault fix in vrfydir() in util.c Prevent buffer overflow in subs(); replace one constant with sizeof() in my_lltoa(). vrfydir(): fix segfault if sub-directory "images" is not exists function builddia() don't check the parameters. Result: segmentation fault in some cases. Thanks to Stas Degteff stas_degteff@users.sourceforge.net for the fixes. - fixed: wrond date period in squidguard_log when using european date format. Thanks to Guenther Mair <gunnyst@users.sourceforge.net> - ulimit tag added on sarg.conf to avoid "Too many open files" error. Thanks to Paulo Pires <paulo.pires@vodafone.pt> - squidguard parse logs method changed. Thanks to Joao Mendes <jmendes@credibom.pt> Thanks to Guenther Mair <gunnyst@users.sourceforge.net> - wrong results in -v option. - fixed: error when using -u (include user) Thanks to Bochkarev Vladimi <bochkarev@expocentr.ru> - export LC_ALL=C will be issued before sort to avoid high cpu usage - grepday with invalid font path. Thanks to Marcelo Ricardo Leitner <mrl@conectiva.com.br> - -v option added to display Sarg version on console - Segmenation fault caused by an unclosed file. Thanks to Pustovalov Leonid - SquidGuard log formats added. Thanks to Kolotov Alexandr - time field added to topsites report Thanks to Miles Roper <mroper@westcoastdhb.org.nz> - fixtime function with wrong definition, changed to long long Thanks to Valery from Russia - Solaris 9 compiling error: error: conflicting types for 'my_mkdir' Thanks to Brad Larden <Brad.Larden@alphawest.com.au> - segfaults if the denied report is disabled in sarg.conf. Thanks to Filippo Carletti <filippo.carletti@nethesis.it> - reading performance improved by Francesco Perrillo <fperillo@totalfax.it> Thanks - Russian sarg-php translation added. Thanks to Michael Stepanenko <mistic@ecolines.ru> - configure error with no gd installed. - graph with no text when using --enable-sysconfdir - graph day incorrect when using dd/mm/yy date format - show_sarg_logo yes|no added - site_user_time_date with wrong patch. Thanks to Ricardo R. Hoffmann <hoffmann@uninet.com.br> - Internal/External css implemented - User authentication access (htaccess) implemented - large file support added - Report limits implemented - Download report implemented - Sarg logo by Osamu Matsuzaki <matsu_o@robata.org> added. - Internal mkdir added to easy port to various plataform. - long url now show only accessed site and module name. - now you can add a user report url to a flat file to be blocked by some Squid acl. Request by Francesco Collini <collini@colliniconsulting.it> - remove temporary files, if already exist, to avoid conflits with a previous sarg process.. Thanks to Renato Leon <rl_sita@hotmail.com> - squidGuard improved - now only records with the same period from access.log will be in squidGuard report. - squidGuard limit report - now you can save some urls in squidGuard db using sarg-squidguard PHP utility. bug fixed: fault caused by rewinddir after closedir. Thanks to Lucas Bocchi <challado@ibocchi.com.br> and to Freek Fixed: - missing </body> tags in all HTML pages - missing </html> tag in some HTML pages - missing DOCTYPE in all HTML pages - grammar in man page - URL Links to SourceForge http://sarg.sourceforge.net/ Added: - Included more detailed information in man the page Thanks to Billy Newsom of U.S. To Do: - There are still major validation problems in the HTML generated fixed: - link error to denied site in squidGuard report - resolve name error in squidGuard report - some fixes to HPUX. Thanks to Miles Roper <mroper@westcoastdhb.org.nz> - index_sort_order tag don't work correctly. - too many open files fixed. Thanks to Francesco Perrillo <fperillo@totalfax.it> - Ukrainian_windows1251 included in sarg.conf file - exclude_string don´t work correctly. Thanks to Modric Kristijan <Kristijan.Modric@pliva.hr>
2006-05-22 05:44:55 +02:00
.include "../../graphics/gd/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"