35 Commits

Author SHA1 Message Date
Rainer Gerhards
4ddd2037c8 applied gssapi patch from varmojfekoj - gss-api is now supported 2007-11-19 10:03:32 +00:00
Rainer Gerhards
341af8bcd0 - changed the build system to use a single source tarball again (but
different makefiles for the main project and ommysql)
- applied fixes from Michael Biebl:
1.) fix failing compilation of ommysql plugin
    (s/ommysql-config.h/config.h/)
2.) fix mysql configure check (although the default is no, we did check for
    the mysql devel files)
3.) Create a separate Makefile.am for the doc files. This cleans up the
    toplevel Makefile.am considerably and makes it much more readable and
    maintainable.
3b) Assign the html doc files to html_DATA. This means, they are installed
    to $(hmtdir), which by autoconf standards is
    $(prefix)/share/doc/$packagename/.
4.) Reformat the SOURCES line to make it better readable and maintainable.
2007-10-11 12:53:40 +00:00
Rainer Gerhards
d5feea5925 changed the threading to include one extra thread that runs the mainloop.
This was done to work around a problem with malloc/free. Note that we
    are still running on two threads - the startup thread just waits for
    the new one to finish. For a description of the problem I try to
    work-around, please see:
    http://rgerhards.blogspot.com/2007/10/could-i-really-reproduce-bug.html
    Note that this is an experimental change, which will only stay if it
    proves to fix the segfault issue we are dealing with.
2007-10-08 10:45:05 +00:00
Rainer Gerhards
3411e4a01d created some support for distributing ommysql together with the main
rsyslog package. I need to re-think it in the future, but for the time
    being the current mode is best. I now simply include one additional
    tarball for ommysql inside the main distribution. I look forward to
    user feedback on how this should be done best. In the long term, a
    separate project should be spawend for ommysql, but I'd like to do that
    only after the plugin interface is fully stable (what it is not yet).
2007-09-27 07:35:38 +00:00
Rainer Gerhards
88bbc40220 applied patch provided by varmojfekoj to support building ommysql in its
own way (now also resides in a plugin subdirectory)
2007-09-26 10:24:14 +00:00
Michael Meckelein
fb13c3a398 applied patches which will be released under 1.19.1, changed doc for 1.19.1
release
2007-08-22 10:49:32 +00:00
Rainer Gerhards
4884ef844c - integrated patch from varmojfekoj to make the mysql module a loadable one
many thanks for the patch, MUCH appreciated
2007-08-14 07:57:15 +00:00
Rainer Gerhards
232c059189 - removed debian subdirectory by request of debian packager (this is a
special subdir for debian and there is also no point in maintaining it
    when there is a debian package available - so I gladly did this)
2007-08-13 10:40:27 +00:00
Rainer Gerhards
d98436bbba added new doc files to autotools for make dist 2007-08-09 09:07:48 +00:00
Rainer Gerhards
df6c2ba072 added a database cleanup script based on a suggestion of Michael Mansour.
Michael Meckelein adapted it sligthly for use with rsyslog.
2007-08-08 11:58:03 +00:00
Rainer Gerhards
acb7dae3ae moved action object out of syslogd.c to its own fileset (action.c/h) 2007-08-06 20:51:52 +00:00
Rainer Gerhards
5197130228 - I found out that we finally have problems with the (somewhat recursive)
call to logerror() that many of the modules do. I have not tried it,
    but I think things will become wild when we compile without pthread
    support. Threading prevents full recursion, so we have not seen any bad
    effects so far. However, the problems that I experienced in ommysl
    (that caused me to re-structure startWorker()) are actually rooted in
    this issue. I first thought to fix it via a module interace, but I now
    came to the conclusion that it is not more effort and much cleaner to
    do an internal error buffering class. This is implemented in
    errbuf.c/h.
- I just noticed that this is not actually an error buf, but the core of an
    input module for all internal messages. As such, I implement it now as
    iminternal.c/h. Of course, there is no input module interface yet
    designed, but that doesn't matter. Worst-case, I need to re-write the
    im, best case I can use the im (at least partly) to define the
    interface.
- added a few functions to the linkedlist class
- error messages during startup are now buffered - so we do no longer need
    to think about how emergency logging might work. Actually, these are
    logged to whatever is instatiated in the log file. This enhances the
    chance that we will be able to drop the error message somewhere it is
    seen.
2007-08-03 14:58:24 +00:00
Rainer Gerhards
45d05a7a5b added a generic linked list object (files linkedlist.h/c) 2007-07-31 10:49:53 +00:00
Rainer Gerhards
6808a7e2f1 - added cfsysline objects - initial set of functions
- fixed bug in OMSRcreate() - always returned SR_RET_OK
2007-07-30 10:12:22 +00:00
Rainer Gerhards
3d15fc03b5 fixed a missing file bug - thanks to Andrea Montanari for reporting this
problem
2007-07-28 15:11:28 +00:00
Rainer Gerhards
8193522d85 - added omsr object (objomsr.c, objomsr.h) - template request for output
modules
2007-07-27 09:15:11 +00:00
Rainer Gerhards
4c69b80ca0 changed output modules to use a template-based code generation system for
standard entry points (implemented via preprocessor)
2007-07-25 10:25:38 +00:00
Rainer Gerhards
f97c90d12b moved discard functionality to an output module 2007-07-24 09:45:19 +00:00
Rainer Gerhards
81cb74af2e fixed a very nasty bug in structure creation of struct filed (caused
omusrmsg to be defunct) - many thanks to maharaja for providing the
    right idea at the right time ;)
2007-07-23 09:18:52 +00:00
Rainer Gerhards
6b24fa20d4 moved file write output module to own set of code files 2007-07-22 16:03:45 +00:00
Rainer Gerhards
e38d58bc74 moved some more modules to their own file sets 2007-07-22 10:15:39 +00:00
Rainer Gerhards
38c0cf2b01 moved mysql action to its own code files 2007-07-20 16:31:37 +00:00
Rainer Gerhards
17ec11b48e moved code for user and wall message action into its own files 2007-07-20 16:00:45 +00:00
Rainer Gerhards
4d53a1e6a3 moved part of the shell action to its own module 2007-07-20 15:40:01 +00:00
Rainer Gerhards
f2dcce7ce5 moved message object into its own set of files 2007-07-19 16:06:17 +00:00
Rainer Gerhards
c6b7ddd0cb fixed a bug which caused install to install program under wrong name 2007-07-18 07:11:46 +00:00
Rainer Gerhards
e1d9343323 applied patch by redhat, Peter Vrabec 2007-07-16 13:58:43 +00:00
Rainer Gerhards
a8c6819d7e added patch by mildew@gmail.com to support IPv6 in $AllowedSender 2007-07-16 07:24:23 +00:00
Rainer Gerhards
11ff449550 added contributor page to doc set 2007-07-16 06:55:06 +00:00
Rainer Gerhards
465d471f85 added missing files 2007-07-13 12:59:19 +00:00
Rainer Gerhards
40fa9b2d9a made "make dist" work 2007-07-13 12:16:52 +00:00
Rainer Gerhards
5aea12f964 added man files 2007-07-13 09:42:53 +00:00
Rainer Gerhards
ec8e6e4422 - removed some now-unused fields from struct filed
- move file size limit fields in struct field to the "right spot" (the file
    writing part of the union - f_un.f_file)
2007-07-13 07:11:25 +00:00
Rainer Gerhards
0eb50e3832 removed SYSV preprocessor macro; replaced with autotools equivalent 2007-07-11 11:58:27 +00:00
Rainer Gerhards
33c28c8d7a upgrading to autotools build system - thank Peter Vrabec for patches and
the idea
2007-07-10 16:12:46 +00:00