]> git.ipfire.org Git - thirdparty/sarg.git/log
thirdparty/sarg.git
9 years agoUpdate the change log v2.3.9
Frederic Marchal [Sun, 21 Sep 2014 09:28:57 +0000 (11:28 +0200)] 
Update the change log

Yes! This time, I did it before releasing the next version.

9 years agoUpdate po files.
Frederic Marchal [Sun, 21 Sep 2014 09:19:58 +0000 (11:19 +0200)] 
Update po files.

9 years agoVersion 2.3.9
Frederic Marchal [Sun, 21 Sep 2014 09:00:09 +0000 (11:00 +0200)] 
Version 2.3.9

Release date September 21, 2014.

9 years agoExplicitly link against the math library
Frederic Marchal [Sun, 21 Sep 2014 08:59:39 +0000 (10:59 +0200)] 
Explicitly link against the math library

This patch was suggested by Diego Elio Pettenò on May 25, 2011 and
implemented in commit b966a3a224de2a6ea591458bec47c1bb4e9b3745 but the
patch had not been applied to the CMake build file.

9 years agoFix _FORTIFY_SOURCE redefinition error
Frederic Marchal [Sun, 21 Sep 2014 08:56:21 +0000 (10:56 +0200)] 
Fix _FORTIFY_SOURCE redefinition error

Some systems define _FORTIFY_SOURCE by default. It conflicts with our use
of that macro when --enable-extraprotection is passed to the configuration
script.

The solution is to undefine it before redefining it with value 2.

If a higher _FORTIFY_LEVEL level ever appears, it will have to be used in
this program to benefit from the highest protection possible.

9 years agoFix a link error with libpcre
Frederic Marchal [Thu, 28 Nov 2013 18:47:35 +0000 (19:47 +0100)] 
Fix a link error with libpcre

Libpcre was linked at the beginning of the link command. It was fine with
some compilers but not with others.

Libraries are supposed to be linked after every *.o file that use them or
some linker (gold?) reports errors about undefined references to functions.

Thanks to Micha Voss for reporting this problem and testing the solution.

Conflicts:
configure.in

9 years agoHelp in diagnosing the number of old reports to keep
Frederic Marchal [Sun, 15 Jun 2014 08:35:57 +0000 (10:35 +0200)] 
Help in diagnosing the number of old reports to keep

The lastlog and lastlog1 files are stored in the temporary directory
instead of the output directory and they are not deleted when sarg exits
if the users asked not to delete temporary files.

Some debug messages give indication about what is happening with respect
to the old reports deletion.

10 years agoSarg.conf search exclude_codes in the default directory
Frederic Marchal [Mon, 14 Apr 2014 14:32:27 +0000 (16:32 +0200)] 
Sarg.conf search exclude_codes in the default directory

The default sarg.conf was looking for exclude_codes at the wrong place.

Thanks to José Vicente Mondejar for reporting this bug.

10 years agoFix a compile error on 64-bit processors
Frederic Marchal [Mon, 31 Mar 2014 18:40:19 +0000 (20:40 +0200)] 
Fix a compile error on 64-bit processors

A long long int must be cast to a int64_t before being formatted to a
PRIi64 in a printf-like function.

10 years agoUpdate ChangeLog
Frederic Marchal [Fri, 7 Feb 2014 10:57:03 +0000 (11:57 +0100)] 
Update ChangeLog

Yes, I failed to update it before releasing the new version. Again...

10 years agoUpdate po files.
Frederic Marchal [Fri, 7 Feb 2014 10:36:48 +0000 (11:36 +0100)] 
Update po files.

10 years agoVersion changed to 2.3.8
Frederic Marchal [Fri, 7 Feb 2014 10:36:15 +0000 (11:36 +0100)] 
Version changed to 2.3.8

10 years agoParse log entries with transferred volume bigger than 2GB
Frederic Marchal [Fri, 7 Feb 2014 10:29:32 +0000 (11:29 +0100)] 
Parse log entries with transferred volume bigger than 2GB

There was only one place where version 2.3 was unable to cope with
transferred data bigger than 2GB.

Thanks to Рустам Муса-Ахунов for pointing this bug.

10 years agoUpdate ChangeLog for version 2.3.7. Thanks to Tom Abraham for reporting this missing...
Frederic Marchal [Thu, 7 Nov 2013 09:16:33 +0000 (10:16 +0100)] 
Update ChangeLog for version 2.3.7. Thanks to Tom Abraham for reporting this missing entry.

10 years agoUpdate translation files. v2.3.7
Frederic Marchal [Thu, 30 May 2013 09:00:41 +0000 (11:00 +0200)] 
Update translation files.

10 years agoFix some compiler warnings
Frederic Marchal [Thu, 30 May 2013 09:00:05 +0000 (11:00 +0200)] 
Fix some compiler warnings

Uninitialized variable and unused variable.

10 years agoUpdate the release date and the version number
Frederic Marchal [Thu, 30 May 2013 08:53:46 +0000 (10:53 +0200)] 
Update the release date and the version number

This is version 2.3.7.

10 years agoBackport a fix to accept a per user limit over 2G
Frederic Marchal [Thu, 30 May 2013 08:53:20 +0000 (10:53 +0200)] 
Backport a fix to accept a per user limit over 2G

11 years agoUpdate the po files. v2.3.6
Frederic Marchal [Sun, 21 Apr 2013 15:39:11 +0000 (17:39 +0200)] 
Update the po files.

11 years agoUpdate the change log.
Frederic Marchal [Sun, 21 Apr 2013 15:38:10 +0000 (17:38 +0200)] 
Update the change log.

11 years agoChange version number to 2.3.6
Frederic Marchal [Sun, 21 Apr 2013 15:37:04 +0000 (17:37 +0200)] 
Change version number to 2.3.6

11 years agoPer user limit file with IP address
Frederic Marchal [Sun, 21 Apr 2013 15:36:48 +0000 (17:36 +0200)] 
Per user limit file with IP address

As reported by xeus, the per user limit file is only usable if it contains
the user's IP address. Recent changes had replaced the IP address by the
resolved name.

11 years agoUpdate po files v2.3.5
Frederic Marchal [Sat, 12 Jan 2013 09:04:32 +0000 (10:04 +0100)] 
Update po files

11 years agoUpdate the changelog
Frederic Marchal [Fri, 11 Jan 2013 15:03:44 +0000 (16:03 +0100)] 
Update the changelog

11 years agoUpdate version number to 2.3.5
Frederic Marchal [Fri, 11 Jan 2013 15:02:29 +0000 (16:02 +0100)] 
Update version number to 2.3.5

11 years agoFix a redirector issue
Frederic Marchal [Fri, 11 Jan 2013 15:01:22 +0000 (16:01 +0100)] 
Fix a redirector issue

The redirector log was not produced due to a bug introduced in version
2.3.4.

11 years agoUpdate po files v2.3.4
Frederic Marchal [Sat, 5 Jan 2013 07:37:06 +0000 (08:37 +0100)] 
Update po files

11 years agoUpdate change log
Frederic Marchal [Sat, 5 Jan 2013 07:35:52 +0000 (08:35 +0100)] 
Update change log

11 years agoChange build date
Frederic Marchal [Sat, 5 Jan 2013 07:34:55 +0000 (08:34 +0100)] 
Change build date

11 years agoRemove warning about the redirector file that can't be deleted
Frederic Marchal [Sat, 5 Jan 2013 07:34:47 +0000 (08:34 +0100)] 
Remove warning about the redirector file that can't be deleted

If the file is not created, there is no need to report a warning.

11 years agoUpdate po files
Frederic Marchal [Sat, 5 Jan 2013 06:30:06 +0000 (07:30 +0100)] 
Update po files

11 years agoAdd the change for version 2.4.4
Frederic Marchal [Fri, 4 Jan 2013 19:17:04 +0000 (20:17 +0100)] 
Add the change for version 2.4.4

11 years agoUpdate the date in the header of every C file
Frederic Marchal [Fri, 4 Jan 2013 19:15:48 +0000 (20:15 +0100)] 
Update the date in the header of every C file

11 years agoChange version number to 2.3.4
Frederic Marchal [Fri, 4 Jan 2013 19:09:09 +0000 (20:09 +0100)] 
Change version number to 2.3.4

11 years agoMangled file name is really unique
Frederic Marchal [Fri, 4 Jan 2013 19:08:13 +0000 (20:08 +0100)] 
Mangled file name is really unique

Due to a bug, any user's ID containing at least two consecutive non
alphanumeric characters was not unique.

11 years agoUpdate Danish translation v2.3.3_da2
Frédéric Marchal [Fri, 14 Dec 2012 16:22:18 +0000 (17:22 +0100)] 
Update Danish translation

11 years agoFrench translation
Frédéric Marchal [Sat, 17 Nov 2012 20:29:25 +0000 (21:29 +0100)] 
French translation

11 years agoTake a tag with a translation into account
Frédéric Marchal [Sat, 17 Nov 2012 20:32:47 +0000 (21:32 +0100)] 
Take a tag with a translation into account

11 years agoDanish translation v2.3.3_da
Frédéric Marchal [Sat, 17 Nov 2012 20:26:11 +0000 (21:26 +0100)] 
Danish translation

11 years agoUpdate ChangeLog and add a release procedure
Frédéric Marchal [Tue, 13 Nov 2012 18:34:12 +0000 (19:34 +0100)] 
Update ChangeLog and add a release procedure

Will I ever manage to prepare a release without forgetting at least one
step of the release procedure!

11 years agoExpect the git tag to start with the letter v v2.3.3
Frédéric Marchal [Tue, 13 Nov 2012 18:18:12 +0000 (19:18 +0100)] 
Expect the git tag to start with the letter v

A git tag for the released version must be v2.3.3 and not just 2.3.3 as
enforced by the previous version of this script.

11 years agoUpdate the translation files
Frédéric Marchal [Tue, 13 Nov 2012 18:14:55 +0000 (19:14 +0100)] 
Update the translation files

11 years agoChange version number to 2.3.3
Frédéric Marchal [Tue, 13 Nov 2012 17:58:49 +0000 (18:58 +0100)] 
Change version number to 2.3.3

11 years agoUpdate the install procedure
Frédéric Marchal [Tue, 13 Nov 2012 17:57:37 +0000 (18:57 +0100)] 
Update the install procedure

11 years agoInclude Danish translation
Frédéric Marchal [Sun, 7 Oct 2012 06:59:23 +0000 (08:59 +0200)] 
Include Danish translation

11 years agoAutoconfigure the XSL stylesheets to produce the man page
Frédéric Marchal [Thu, 30 Aug 2012 05:52:39 +0000 (07:52 +0200)] 
Autoconfigure the XSL stylesheets to produce the man page

The configure script detects Debian and Gentoo current XSL stylesheets
paths and use the appropriate one when generating the man page.

11 years agoAdd the documentation for the --statistics parameter
Frédéric Marchal [Thu, 30 Aug 2012 05:40:17 +0000 (07:40 +0200)] 
Add the documentation for the --statistics parameter

Documentation added to the man page and the usage page displayed by sarg.

11 years agoUpdate the build date
Frédéric Marchal [Wed, 29 Aug 2012 18:07:32 +0000 (20:07 +0200)] 
Update the build date

11 years agoCompute and display execution statistics
Frédéric Marchal [Wed, 29 Aug 2012 18:06:46 +0000 (20:06 +0200)] 
Compute and display execution statistics

The total run time is displayed along with the number of lines read in the
input logs, the number of records kept and the number of users.

The time it takes to read the input log files and the time it takes to
process the records are computed.

11 years agoRead the log file from stdin for --convert and --split
Frédéric Marchal [Tue, 21 Aug 2012 14:01:49 +0000 (16:01 +0200)] 
Read the log file from stdin for --convert and --split

The two command line arguments can read the input log file from the
standard input.

11 years agoUse a Makefile compatible with Solaris
Frédéric Marchal [Thu, 26 Jul 2012 13:37:32 +0000 (15:37 +0200)] 
Use a Makefile compatible with Solaris

On Solaris, the default make command doesn't know the -C command line
option to change the directory. It is a GNU make extension.

11 years agoDon't fail to compile if libpcre not available
Frédéric Marchal [Thu, 26 Jul 2012 12:47:03 +0000 (14:47 +0200)] 
Don't fail to compile if libpcre not available

Libpcre was not silently ignored if it was missing. This patch remove the error
message displayed if libpcre is not available or disabled.

11 years agoSwitch to version 2.3.3-pre3
Frédéric Marchal [Thu, 19 Jul 2012 07:26:24 +0000 (09:26 +0200)] 
Switch to version 2.3.3-pre3

Too bad I forgot to update the po files and set a git tag.

11 years agoCheck the working directory before preparing the archive
Frédéric Marchal [Thu, 19 Jul 2012 07:24:14 +0000 (09:24 +0200)] 
Check the working directory before preparing the archive

The script test for the usual things I always forget:

1) Update the po files.
2) Commit the changes.
3) Set a git tag to find the version back.

11 years agoUpdate the po files
Frédéric Marchal [Thu, 19 Jul 2012 07:19:46 +0000 (09:19 +0200)] 
Update the po files

11 years agoReally update the French translation
Frédéric Marchal [Wed, 18 Jul 2012 20:35:41 +0000 (22:35 +0200)] 
Really update the French translation

This is the real file from the Translation Project.

11 years agoUpdate French translation
Frédéric Marchal [Wed, 18 Jul 2012 20:32:12 +0000 (22:32 +0200)] 
Update French translation

11 years agoFormat the hour in a translator friendly way
Frédéric Marchal [Wed, 18 Jul 2012 20:18:29 +0000 (22:18 +0200)] 
Format the hour in a translator friendly way

Translators can have full control over the hour format in the hourly
report.

11 years agoFix an error message
Frédéric Marchal [Wed, 18 Jul 2012 20:17:04 +0000 (22:17 +0200)] 
Fix an error message

The error message reporting an invalid time with command line argument -t
said the time must be MM:SS instead of HH:MM.

11 years agoFix column alignment in usage message
Frédéric Marchal [Tue, 17 Jul 2012 08:00:12 +0000 (10:00 +0200)] 
Fix column alignment in usage message

11 years agoRemove the old language files
Frédéric Marchal [Tue, 17 Jul 2012 07:59:56 +0000 (09:59 +0200)] 
Remove the old language files

These files were used in versions prior to 2.3. They are largely outdated.

They have been replaced by the gettext po files.

11 years agoUpdate the po files for the latest source
Frédéric Marchal [Mon, 16 Jul 2012 12:10:17 +0000 (14:10 +0200)] 
Update the po files for the latest source

11 years agoClearly report an error in the months list
Frédéric Marchal [Mon, 16 Jul 2012 12:06:54 +0000 (14:06 +0200)] 
Clearly report an error in the months list

Tell the user to report the bug to the translator.

11 years agoAdd a missing \n at the end of a message
Frédéric Marchal [Mon, 16 Jul 2012 11:56:06 +0000 (13:56 +0200)] 
Add a missing \n at the end of a message

11 years agoUpdate the usage note included in the source code
Frédéric Marchal [Mon, 16 Jul 2012 11:53:06 +0000 (13:53 +0200)] 
Update the usage note included in the source code

The usage notice is displayed with sarg --help.

The first column is wider. The argument that's still too long is wrapped on
the next line.

The donation request is removed as I don't know if it still possible to
make a donation and, if it is possible, I don't know where that money goes.

11 years agoPut quotes around the IP address reported in the messages
Frédéric Marchal [Mon, 16 Jul 2012 10:42:40 +0000 (12:42 +0200)] 
Put quotes around the IP address reported in the messages

It makes the message easier to read if the parsing went really wrong and
garbage is in the IP address.

11 years agoFix the translators comment
Frédéric Marchal [Mon, 16 Jul 2012 10:33:01 +0000 (12:33 +0200)] 
Fix the translators comment

A stray * was in the comment due to the formatting of the comment in the
source code.

11 years agoUpdate the ChangeLog
Frédéric Marchal [Mon, 16 Jul 2012 10:26:01 +0000 (12:26 +0200)] 
Update the ChangeLog

11 years agoUpdate the release date
Frédéric Marchal [Mon, 16 Jul 2012 10:20:12 +0000 (12:20 +0200)] 
Update the release date

11 years agoSort the top sites report by number of users connecting the sites
Frédéric Marchal [Mon, 16 Jul 2012 10:19:34 +0000 (12:19 +0200)] 
Sort the top sites report by number of users connecting the sites

The top sites report can be sorted according to the number of users
connecting to the visited sites. It shows how popular sites are within your
network.

11 years agoAdd a few comments for the translators
Frédéric Marchal [Mon, 16 Jul 2012 09:15:05 +0000 (11:15 +0200)] 
Add a few comments for the translators

11 years agoAdd a column to the top sites report
Frédéric Marchal [Mon, 16 Jul 2012 09:06:35 +0000 (11:06 +0200)] 
Add a column to the top sites report

The new column contains the number of users who visited each site amongst
the most visited sites.

11 years agoMerge branch 'v2.3' of ssh://sarg.git.sourceforge.net/gitroot/sarg/sarg into v2.3
Frédéric Marchal [Sun, 15 Jul 2012 17:43:03 +0000 (19:43 +0200)] 
Merge branch 'v2.3' of ssh://sarg.git.sourceforge.net/gitroot/sarg/sarg into v2.3

11 years agoUpdate the release date
Frédéric Marchal [Sun, 15 Jul 2012 17:10:39 +0000 (19:10 +0200)] 
Update the release date

11 years agoDon't report an error when deleting the denied temporary file
Frédéric Marchal [Sun, 15 Jul 2012 17:10:27 +0000 (19:10 +0200)] 
Don't report an error when deleting the denied temporary file

The file can be deleted at two places. If the first call delete it, the
second call must not report an error.

11 years agoRewrite two messages to have one unique entry to translate
Frédéric Marchal [Sun, 15 Jul 2012 17:01:33 +0000 (19:01 +0200)] 
Rewrite two messages to have one unique entry to translate

Replace a lower case by a upper case to merge two messages into one in the
po files.

11 years agoDelete the sorted smartfilter temporary file
Frédéric Marchal [Sun, 15 Jul 2012 16:58:10 +0000 (18:58 +0200)] 
Delete the sorted smartfilter temporary file

11 years agoStore the smartfilter log temporary file in the temporary directory
Frédéric Marchal [Sun, 15 Jul 2012 16:57:48 +0000 (18:57 +0200)] 
Store the smartfilter log temporary file in the temporary directory

I couldn't test this change as I don't have any log file with smartfilter
tags.

11 years agoDon't blindly delete /tmp/sarg
Frédéric Marchal [Sun, 15 Jul 2012 16:49:48 +0000 (18:49 +0200)] 
Don't blindly delete /tmp/sarg

If sarg is configured with a wrong /tmp path or the path given points to a
directory the user doesn't intent to use as a temporary directory, we must
not delete it's content (think about a link going to /usr/bin).

To protect against that situation, sarg only deletes its own files and
after making sure it only contains files created by sarg.

11 years agoRemove commented out code
Frédéric Marchal [Sun, 15 Jul 2012 16:42:36 +0000 (18:42 +0200)] 
Remove commented out code

11 years agoHopefully fix the smart filter
Frédéric Marchal [Sun, 15 Jul 2012 16:40:58 +0000 (18:40 +0200)] 
Hopefully fix the smart filter

I can't test it as I don't have any sample log with smartfilter enabled.

11 years agoRemove the message confirming that sarg is aborting
Frédéric Marchal [Sun, 15 Jul 2012 12:44:00 +0000 (14:44 +0200)] 
Remove the message confirming that sarg is aborting

It is obvious sarg aborts after reporting an error. There is no need to
display one more message telling so.

11 years agoUse the same message to report an error while deleting a file
Frédéric Marchal [Sun, 15 Jul 2012 12:38:08 +0000 (14:38 +0200)] 
Use the same message to report an error while deleting a file

No need to burden the translators with multiple messages identical but for
a few characters.

11 years agoKeep temporary files in place for inspection
Frédéric Marchal [Sun, 15 Jul 2012 12:34:52 +0000 (14:34 +0200)] 
Keep temporary files in place for inspection

Add a command line option and a configuration tag to leave the temporary
files in place when sarg terminates.

The feature is for debugging purpose. It cannot be used for production.

11 years agoA temporary file could be left in place by sarg
Frédéric Marchal [Sun, 15 Jul 2012 12:29:05 +0000 (14:29 +0200)] 
A temporary file could be left in place by sarg

During the creation of the user's reports, if the report showing the details
by date and hour is not requested, the unnecessary file is deleted but it
overwrite the buffer containing the name of another temporary file to
delete. As the file name is overwritten, it cannot be deleted when the
function completes.

11 years agoLimit the maximum length of a text line
Frédéric Marchal [Sun, 15 Jul 2012 08:51:15 +0000 (10:51 +0200)] 
Limit the maximum length of a text line

To prevent sarg from filling up the memory and waking up the OOM killer
while reading an invalid or corrupted log file, the longest line sarg
will accept before aborting is 10MB long. The limit is arbitrary.

11 years agoUpdate the messages when an error is detected while reading a line
Frédéric Marchal [Sun, 15 Jul 2012 08:49:00 +0000 (10:49 +0200)] 
Update the messages when an error is detected while reading a line

The module to read long text lines may read any file. It is not restricted
to reading the input log file. Therefore, the error messages must not claim
that the error is in the input log file.

11 years agoInclude the Polish translation
Frédéric Marchal [Sat, 14 Jul 2012 13:31:00 +0000 (15:31 +0200)] 
Include the Polish translation

It is a partial translation. 285 messages are translated. 300 are
untranslated.

11 years agoWrite getword errors on stderr
Frédéric Marchal [Mon, 9 Jul 2012 07:30:24 +0000 (09:30 +0200)] 
Write getword errors on stderr

Errors detected by any getword function is written using debuga (on stderr)
instead of stdout. It makes the redirection easier.

11 years agoAdd some missing files to the archive
Frédéric Marchal [Sat, 16 Jun 2012 05:14:22 +0000 (07:14 +0200)] 
Add some missing files to the archive

Three files were not released along with the source code.

11 years agoUpdate version number and build date
Frédéric Marchal [Thu, 14 Jun 2012 08:05:18 +0000 (10:05 +0200)] 
Update version number and build date

11 years agoAllow backslash as the domain/user separator
Frédéric Marchal [Thu, 14 Jun 2012 08:04:25 +0000 (10:04 +0200)] 
Allow backslash as the domain/user separator

For NTLM users, the domain and user names may be separated by a + or a \\
as pointed out by mrac33:
(http://sourceforge.net/tracker/index.php?func=detail&aid=3532108&group_id=68910&atid=522791)

For compatibility reasons, the _ separator is still retained.

Thanks to mrac33 for reporting and fixing this bug.

11 years agoFix the documentation for ntlm_user_format
Frédéric Marchal [Thu, 14 Jun 2012 07:57:20 +0000 (09:57 +0200)] 
Fix the documentation for ntlm_user_format

The documentation in sarg.conf for ntlm_user_format was wrong. The correct
option is "user" and not "username".

Thanks to mrac33 for reporting and fixing this bug.

11 years agoUpdate dates in the manpage v2.3.3-pre1
Frédéric Marchal [Sun, 27 May 2012 18:32:10 +0000 (20:32 +0200)] 
Update dates in the manpage

11 years agoUpdate po files
Frédéric Marchal [Sun, 27 May 2012 07:47:26 +0000 (09:47 +0200)] 
Update po files

11 years agoUpdate help
Frédéric Marchal [Sun, 27 May 2012 07:46:17 +0000 (09:46 +0200)] 
Update help

The manpage is up to date.

So is the help displayed by sarg with command line options -h or --help.

11 years agoAdd --help to the command line to display the help
Frédéric Marchal [Sun, 27 May 2012 05:48:08 +0000 (07:48 +0200)] 
Add --help to the command line to display the help

That syntax is more user friendly.

Old -h is still accepted.

11 years agoKeep the excluded files out of the archive
Frédéric Marchal [Sun, 27 May 2012 05:42:50 +0000 (07:42 +0200)] 
Keep the excluded files out of the archive

The tar.gz archive created to release the sources included the ignored
files if they were located in a subdirectory.

11 years agoUpdate the translation files
Frédéric Marchal [Sun, 27 May 2012 05:20:19 +0000 (07:20 +0200)] 
Update the translation files

Update the content of the po files for the translators.

11 years agoAdd 3 missing files to gettext
Frédéric Marchal [Sun, 27 May 2012 05:19:55 +0000 (07:19 +0200)] 
Add 3 missing files to gettext

The content of three files was not processed by gettext and was therefore
untranslated.