Subject: CVS commit: pkgsrc/www/sarg
To: None <pkgsrc-changes@NetBSD.org>
From: Ben Collver <ben@netbsd.org>
List: pkgsrc-changes
Date: 05/22/2006 03:44:55
Module Name:	pkgsrc
Committed By:	ben
Date:		Mon May 22 03:44:55 UTC 2006

Modified Files:
	pkgsrc/www/sarg: Makefile PLIST distinfo
	pkgsrc/www/sarg/patches: patch-aa patch-ab patch-ac patch-ad patch-ae
	    patch-af
Added Files:
	pkgsrc/www/sarg/patches: patch-ag patch-ah patch-ai

Log Message:
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>


To generate a diff of this commit:
cvs rdiff -r1.8 -r1.9 pkgsrc/www/sarg/Makefile
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/www/sarg/PLIST
cvs rdiff -r1.2 -r1.3 pkgsrc/www/sarg/distinfo
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/www/sarg/patches/patch-aa \
    pkgsrc/www/sarg/patches/patch-ab pkgsrc/www/sarg/patches/patch-ac \
    pkgsrc/www/sarg/patches/patch-ad pkgsrc/www/sarg/patches/patch-ae \
    pkgsrc/www/sarg/patches/patch-af
cvs rdiff -r0 -r1.1 pkgsrc/www/sarg/patches/patch-ag \
    pkgsrc/www/sarg/patches/patch-ah pkgsrc/www/sarg/patches/patch-ai

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.