Hi, Although not officially released, I have uploaded a test version of 1.6.0rc2 to our website: http://www.balabit.com/downloads/syslog-ng/1.6/src-snapshots/syslog-ng-1.6.0... The accompanying libol snapshot is also available. This release should fix the configure problems in 1.6.0rc1 and also adds performance improvements with the gperf based macro name resolution. If no problems are reported within a day or two I'll release syslog-ng 1.6.0rc2 officially. -- Bazsi
Balazs Scheidler wrote: The following patches are attached to this email: - sgml documentation: corrected udp/tcp options table caption - corrected the README file in the contrib directory - corrected the Red Hat config file in the contrib directory (two of the filters were only accepting messages from a specific priority ando not from gretaer or equal priorities). - minor corrections to the Red Hat init script in the contrib directory Best regards, jpo
Hi,
Although not officially released, I have uploaded a test version of 1.6.0rc2 to our website:
http://www.balabit.com/downloads/syslog-ng/1.6/src-snapshots/syslog-ng-1.6.0...
The accompanying libol snapshot is also available. This release should fix the configure problems in 1.6.0rc1 and also adds performance improvements with the gperf based macro name resolution.
If no problems are reported within a day or two I'll release syslog-ng 1.6.0rc2 officially.
-- José Pedro Oliveira * mailto: jpo@di.uminho.pt * http://gsd.di.uminho.pt/~jpo * diff -ru syslog-ng-1.6.0rc2+20030410manual-original/contrib/init.d.RedHat-7.3 syslog-ng-1.6.0rc2+20030410manual-modified/contrib/init.d.RedHat-7.3 --- syslog-ng-1.6.0rc2+20030410manual-original/contrib/init.d.RedHat-7.3 2002-09-27 15:55:52.000000000 +0100 +++ syslog-ng-1.6.0rc2+20030410manual-modified/contrib/init.d.RedHat-7.3 2003-04-10 15:04:53.000000000 +0100 @@ -64,7 +64,7 @@ . /etc/rc.d/init.d/functions # Tack on path to syslog-ng if not already in PATH -SYSLOGNG_PATH=":/usr/local/sbin" +SYSLOGNG_PATH=":/sbin" PATH=$PATH$SYSLOGNG_PATH export PATH @@ -146,7 +146,7 @@ restart ;; condrestart) - [ -f /var/lock/subsys/syslog-ng ] && restart || : + [ -f /var/lock/subsys/${INIT_PROG} ] && restart || : ;; *) echo $"Usage: $0 {start|stop|status|restart|reload}" diff -ru syslog-ng-1.6.0rc2+20030410manual-original/contrib/README syslog-ng-1.6.0rc2+20030410manual-modified/contrib/README --- syslog-ng-1.6.0rc2+20030410manual-original/contrib/README 2003-04-10 11:51:00.000000000 +0100 +++ syslog-ng-1.6.0rc2+20030410manual-modified/contrib/README 2003-04-10 15:10:15.000000000 +0100 @@ -4,7 +4,9 @@ init.d.HP-UX - sample init script for HP-UX init.d.RedHat - sample init script for RedHat GNU/Linux +init.d.RedHat-7.3 - sample init script for RedHat 7.3 GNU/Linux init.d.SunOS - sample init script for Sun Solaris +init.d.SuSE - sample init script for SuSE GNU/Linux init.d.solaris - another sample init script for Sun Solaris syslog-ng.conf.HP-UX - sample configuration for HP-UX syslog-ng.conf.RedHat - sample configuration for RedHat GNU/Linux diff -ru syslog-ng-1.6.0rc2+20030410manual-original/contrib/syslog-ng.conf.RedHat syslog-ng-1.6.0rc2+20030410manual-modified/contrib/syslog-ng.conf.RedHat --- syslog-ng-1.6.0rc2+20030410manual-original/contrib/syslog-ng.conf.RedHat 2002-08-22 15:05:39.000000000 +0100 +++ syslog-ng-1.6.0rc2+20030410manual-modified/contrib/syslog-ng.conf.RedHat 2003-04-10 15:08:13.000000000 +0100 @@ -15,6 +15,10 @@ # Updated by Frank Crawford (<Frank.Crawford@ac3.com.au>) - 22 Aug 2002 # - use the log_prefix option as per Balazs Scheidler's email # +# Updated by José Pedro Oliveira (<jpo@di.uminho.pt>) - 10 Apr 2003 +# - corrected filters f_filter2 and f_filter6 (levels greater or equal) +# +# options { sync (0); time_reopen (10); @@ -38,14 +42,13 @@ destination d_mlal { usertty("*"); }; filter f_filter1 { facility(kern); }; -filter f_filter2 { level(info) and - not (facility(mail) - or facility(authpriv) or facility(cron)); }; +filter f_filter2 { level(info..emerg) and + not facility(mail,authpriv,cron); }; filter f_filter3 { facility(authpriv); }; filter f_filter4 { facility(mail); }; filter f_filter5 { level(emerg); }; filter f_filter6 { facility(uucp) or - (facility(news) and level(crit)); }; + (facility(news) and level(crit..emerg)); }; filter f_filter7 { facility(local7); }; filter f_filter8 { facility(cron); }; diff -ru syslog-ng-1.6.0rc2+20030410manual-original/doc/sgml/syslog-ng.sgml syslog-ng-1.6.0rc2+20030410manual-modified/doc/sgml/syslog-ng.sgml --- syslog-ng-1.6.0rc2+20030410manual-original/doc/sgml/syslog-ng.sgml 2003-04-10 08:47:49.000000000 +0100 +++ syslog-ng-1.6.0rc2+20030410manual-modified/doc/sgml/syslog-ng.sgml 2003-04-10 15:03:38.000000000 +0100 @@ -609,7 +609,7 @@ The following options are valid for udp() and tcp() </para> <table> - <title>Available options for unix-stream & unix-dgram</title> + <title>Available options for udp & tcp</title> <tgroup cols=4> <thead> <row>
On Thu, Apr 10, 2003 at 03:18:47PM +0100, José Pedro Oliveira wrote:
Balazs Scheidler wrote:
The following patches are attached to this email:
- sgml documentation: corrected udp/tcp options table caption - corrected the README file in the contrib directory - corrected the Red Hat config file in the contrib directory (two of the filters were only accepting messages from a specific priority ando not from gretaer or equal priorities). - minor corrections to the Red Hat init script in the contrib directory
thanks, commited. -- Bazsi
Balazs Scheidler, I made a couple of modifications to the spec file of libol (file: libol.spec.in). Changelog: - reformated the spec file - replaced hard coded follows by RPM macros It builds correctely in RH 7.3 and 8.0 systems. Best regards, jpo PS - I also have a RH spec file for syslog-ng with bash scripts for registering the daemon (%post, %preun, and %postun scripts), logrotate file and /etc/sysconfig/syslog-ng file. The main problem with this spec is portability. I believe that some Linux distros don't use the chkconfig and the service commands. Best regards, jpo
Hi,
Although not officially released, I have uploaded a test version of 1.6.0rc2 to our website:
http://www.balabit.com/downloads/syslog-ng/1.6/src-snapshots/syslog-ng-1.6.0...
The accompanying libol snapshot is also available. This release should fix the configure problems in 1.6.0rc1 and also adds performance improvements with the gperf based macro name resolution.
If no problems are reported within a day or two I'll release syslog-ng 1.6.0rc2 officially.
-- José Pedro Oliveira * mailto: jpo@di.uminho.pt * http://gsd.di.uminho.pt/~jpo * diff -ru libol-0.3.9+20030410manual-original/libol.spec.in libol-0.3.9+20030410manual-modified/libol.spec.in --- libol-0.3.9+20030410manual-original/libol.spec.in 2001-01-18 19:58:52.000000000 +0000 +++ libol-0.3.9+20030410manual-modified/libol.spec.in 2003-04-10 15:32:41.000000000 +0100 @@ -1,13 +1,13 @@ -Summary: Support library for syslog-ng -Name: libol -Version: @VERSION@ -Release: 1 -Copyright: GPL -Group: System Environment/Libraries -Url: http://www.balabit.hu/products/syslog-ng/ -Source0: http://www.balabit.hu/downloads/syslog-ng/libol/0.2/libol-%{version}.tar.gz -Packager: Hollis Blanchard <hollis@penguinppc.org> -Buildroot: /var/tmp/%{name}-root +Summary: Support library for syslog-ng +Name: libol +Version: @VERSION@ +Release: 1 +License: GPL +Group: System Environment/Libraries +Url: http://www.balabit.hu/products/syslog-ng/ +Source: http://www.balabit.hu/downloads/syslog-ng/libol/0.3/%{name}-%{version}.tar.gz +Packager: Hollis Blanchard <hollis@penguinppc.org> +Buildroot: %{_tmppath}/%{name}-%{version}-buildroot %description Support library for syslog-ng. @@ -20,36 +20,46 @@ %description devel libol headers, libraries + %prep -%setup +%setup -q %build -./configure +%configure make %install rm -rf ${RPM_BUILD_ROOT} -make -e DESTDIR=$RPM_BUILD_ROOT install +%makeinstall %clean rm -rf ${RPM_BUILD_ROOT} + %post -p /sbin/ldconfig %postun -p /sbin/ldconfig -%changelog -* Sun Jul 30 2000 Hollis Blanchard <hollis@penguinppc.org> - - initial RPM %files -/usr/local/bin/libol-config -/usr/local/lib/libol.so -/usr/local/lib/libol.so.0 -/usr/local/lib/libol.so.0.0.0 +%defattr(-,root,root) %doc ChangeLog +%{_bindir}/libol-config +%{_libdir}/libol.so +%{_libdir}/libol.so.0 +%{_libdir}/libol.so.0.0.0 %files devel -/usr/local/include/libol -/usr/local/lib/libol.a -/usr/local/lib/libol.la +%defattr(-,root,root) +%{_includedir}/libol +%{_libdir}/libol.a +%{_libdir}/libol.la + + +%changelog +* Thu Apr 10 2003 Jose Pedro Oliveira <jpo@di.uminho.pt> +- specfile reformated +- replaced hard coded values by RPM macros + +* Sun Jul 30 2000 Hollis Blanchard <hollis@penguinppc.org> +- initial RPM
On Thu, Apr 10, 2003 at 03:49:31PM +0100, José Pedro Oliveira wrote:
Balazs Scheidler,
I made a couple of modifications to the spec file of libol (file: libol.spec.in).
Changelog: - reformated the spec file - replaced hard coded follows by RPM macros
It builds correctely in RH 7.3 and 8.0 systems.
committed. -- Bazsi
Balazs Scheidler, The building process aborts with the following message: cc -DHAVE_CONFIG_H -I. -I/home/users/jpo/desenv/lixo/syslog-ng-1.6.0rc2+20030410manual/src -I. -g -O2 -Wall -I/usr/include/libol -D_GNU_SOURCE -c syslog-names.c make[3]: *** No rule to make target `macros.gprf', needed by `macros-gperf.c'. Stop. make[3]: Leaving directory `/exports/src/desenv/lixo/syslog-ng-1.6.0rc2+20030410manual/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/exports/src/desenv/lixo/syslog-ng-1.6.0rc2+20030410manual/src' make[1]: *** [all-recursive-am] Error 2 Steps to reproduce the error: $ tar zxvf syslog-ng-1.6.0rc2+20030410manual.tar.gz $ cd syslog-ng-1.6.0rc2+20030410manual/ $ ./configure $ make Regards, jpo -- José Pedro Oliveira * mailto: jpo@di.uminho.pt * http://gsd.di.uminho.pt/~jpo *
On Thu, Apr 10, 2003 at 04:45:21PM +0100, José Pedro Oliveira wrote:
Balazs Scheidler,
The building process aborts with the following message:
cc -DHAVE_CONFIG_H -I. -I/home/users/jpo/desenv/lixo/syslog-ng-1.6.0rc2+20030410manual/src -I. -g -O2 -Wall -I/usr/include/libol -D_GNU_SOURCE -c syslog-names.c make[3]: *** No rule to make target `macros.gprf', needed by `macros-gperf.c'. Stop. make[3]: Leaving directory `/exports/src/desenv/lixo/syslog-ng-1.6.0rc2+20030410manual/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/exports/src/desenv/lixo/syslog-ng-1.6.0rc2+20030410manual/src' make[1]: *** [all-recursive-am] Error 2
Steps to reproduce the error: $ tar zxvf syslog-ng-1.6.0rc2+20030410manual.tar.gz $ cd syslog-ng-1.6.0rc2+20030410manual/ $ ./configure $ make
hmm.. the missing file is attached. -- Bazsi
Balazs Scheidler, The building process still fails but now with a different error. Steps 1) placed the file in the src directory 2) Now there is a new dependency problem Problem: The program gperf is now a requirement Solution: I installed the gperf rpm Better solution: Make configure look for it? 3) The error is now gcc -DHAVE_CONFIG_H -I. -I/home/users/jpo/desenv/lixo/syslog-ng-1.6.0rc2+20030410manual/src -I. -g -O2 -Wall -I/usr/include/libol -D_GNU_SOURCE -c macros.c macros.c: In function `expand_macros': macros.c:506: warning: implicit declaration of function `find_macro' macros.c:506: warning: assignment makes pointer from integer without a cast macros.c:516: dereferencing pointer to incomplete type macros.c:517: dereferencing pointer to incomplete type macros.c:517: dereferencing pointer to incomplete type macros.c:518: dereferencing pointer to incomplete type macros.c:519: dereferencing pointer to incomplete type make[3]: *** [macros.o] Error 1 make[3]: Leaving directory `/exports/src/desenv/lixo/syslog-ng-1.6.0rc2+20030410manual/src' Regards, jpo
On Thu, Apr 10, 2003 at 04:45:21PM +0100, José Pedro Oliveira wrote:
Balazs Scheidler,
The building process aborts with the following message:
cc -DHAVE_CONFIG_H -I. -I/home/users/jpo/desenv/lixo/syslog-ng-1.6.0rc2+20030410manual/src -I. -g -O2 -Wall -I/usr/include/libol -D_GNU_SOURCE -c syslog-names.c make[3]: *** No rule to make target `macros.gprf', needed by `macros-gperf.c'. Stop. make[3]: Leaving directory `/exports/src/desenv/lixo/syslog-ng-1.6.0rc2+20030410manual/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/exports/src/desenv/lixo/syslog-ng-1.6.0rc2+20030410manual/src' make[1]: *** [all-recursive-am] Error 2
Steps to reproduce the error: $ tar zxvf syslog-ng-1.6.0rc2+20030410manual.tar.gz $ cd syslog-ng-1.6.0rc2+20030410manual/ $ ./configure $ make
hmm.. the missing file is attached.
-- José Pedro Oliveira * mailto: jpo@di.uminho.pt * http://gsd.di.uminho.pt/~jpo *
On Thu, Apr 10, 2003 at 06:35:04PM +0100, José Pedro Oliveira wrote:
Balazs Scheidler,
The building process still fails but now with a different error.
Steps 1) placed the file in the src directory 2) Now there is a new dependency problem
Problem: The program gperf is now a requirement Solution: I installed the gperf rpm Better solution: Make configure look for it?
the generated macros-gperf.c is included in the dist (at least should be included).... I've checked the tarball, macros-gperf.c is included, so it definitely should compile without gperf.
3) The error is now
gcc -DHAVE_CONFIG_H -I. -I/home/users/jpo/desenv/lixo/syslog-ng-1.6.0rc2+20030410manual/src -I. -g -O2 -Wall -I/usr/include/libol -D_GNU_SOURCE -c macros.c macros.c: In function `expand_macros': macros.c:506: warning: implicit declaration of function `find_macro' macros.c:506: warning: assignment makes pointer from integer without a cast macros.c:516: dereferencing pointer to incomplete type macros.c:517: dereferencing pointer to incomplete type macros.c:517: dereferencing pointer to incomplete type macros.c:518: dereferencing pointer to incomplete type macros.c:519: dereferencing pointer to incomplete type make[3]: *** [macros.o] Error 1 make[3]: Leaving directory `/exports/src/desenv/lixo/syslog-ng-1.6.0rc2+20030410manual/src'
this is caused by a 0 length macros-gperf.c file (gperf was not installed therefore the shell redirection caused a zero length file) -- Bazsi
Balazs Scheidler, Problem resolved. Thanks, jpo
On Thu, Apr 10, 2003 at 06:35:04PM +0100, José Pedro Oliveira wrote:
Balazs Scheidler,
The building process still fails but now with a different error.
Steps 1) placed the file in the src directory 2) Now there is a new dependency problem
Problem: The program gperf is now a requirement Solution: I installed the gperf rpm Better solution: Make configure look for it?
the generated macros-gperf.c is included in the dist (at least should be included)....
I've checked the tarball, macros-gperf.c is included, so it definitely should compile without gperf.
3) The error is now
gcc -DHAVE_CONFIG_H -I. -I/home/users/jpo/desenv/lixo/syslog-ng-1.6.0rc2+20030410manual/src -I. -g -O2 -Wall -I/usr/include/libol -D_GNU_SOURCE -c macros.c macros.c: In function `expand_macros': macros.c:506: warning: implicit declaration of function `find_macro' macros.c:506: warning: assignment makes pointer from integer without a cast macros.c:516: dereferencing pointer to incomplete type macros.c:517: dereferencing pointer to incomplete type macros.c:517: dereferencing pointer to incomplete type macros.c:518: dereferencing pointer to incomplete type macros.c:519: dereferencing pointer to incomplete type make[3]: *** [macros.o] Error 1 make[3]: Leaving directory `/exports/src/desenv/lixo/syslog-ng-1.6.0rc2+20030410manual/src'
this is caused by a 0 length macros-gperf.c file (gperf was not installed therefore the shell redirection caused a zero length file)
-- José Pedro Oliveira * mailto: jpo@di.uminho.pt * http://gsd.di.uminho.pt/~jpo *
Balazs Scheidler, The new snapshot doesn't include the patches I sent you yesterday (contrib and doc files). Patches: https://lists.balabit.hu/pipermail/syslog-ng/2003-April/004896.html Note: The included specfile also needs to be patched in order to work and to corrected a couple of problems. I'll try to send a patch today. Regards, jpo -- José Pedro Oliveira * mailto: jpo@di.uminho.pt * http://gsd.di.uminho.pt/~jpo *
Hi,
If no problems are reported within a day or two I'll release syslog-ng 1.6.0rc2 officially.
I'm awfully sorry for my long absence. I know, I promised to do more testing on the release candidates but it was simply not possible. My employer wanted me to work on completely different things as syslog-ng 1.6.0rc1 worked perfectly in our setups and tests. I hope that the release goes well and that I will be able to provide you with more tests in the near future. Thanks for the great work, Roberto Nibali, ratz -- echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq' | dc
participants (3)
-
Balazs Scheidler
-
José Pedro Oliveira
-
Roberto Nibali