upgrade to 4.6.3

This commit is contained in:
Tomas Heinrich 2010-07-15 14:41:55 +00:00
parent 2496b31537
commit 1798174316
4 changed files with 21 additions and 47 deletions

View File

@ -1 +1 @@
rsyslog-4.6.2.tar.gz rsyslog-4.6.3.tar.gz

View File

@ -1,29 +0,0 @@
diff -up rsyslog-4.6.2.omfileflush/tools/omfile.c.orig rsyslog-4.6.2.omfileflush/tools/omfile.c
--- rsyslog-4.6.2.omfileflush/tools/omfile.c.orig 2010-04-08 15:10:47.000000000 +0200
+++ rsyslog-4.6.2.omfileflush/tools/omfile.c 2010-04-08 15:08:57.000000000 +0200
@@ -87,6 +87,7 @@ typedef struct s_dynaFileCacheEntry dyna
#define IOBUF_DFLT_SIZE 1024 /* default size for io buffers */
#define FLUSH_INTRVL_DFLT 1 /* default buffer flush interval (in seconds) */
#define USE_ASYNCWRITER_DFLT 0 /* default buffer use async writer */
+#define FLUSHONTX_DFLT 1 /* default for flush on TX end */
/* globals for default values */
static int iDynaFileCacheSize = 10; /* max cache for dynamic files */
@@ -100,7 +101,7 @@ static uid_t dirGID; /* GID to be used
static int bCreateDirs = 1;/* auto-create directories for dynaFiles: 0 - no, 1 - yes */
static int bEnableSync = 0;/* enable syncing of files (no dash in front of pathname in conf): 0 - no, 1 - yes */
static int iZipLevel = 0; /* zip compression mode (0..9 as usual) */
-static bool bFlushOnTXEnd = 0;/* flush write buffers when transaction has ended? */
+static bool bFlushOnTXEnd = FLUSHONTX_DFLT;/* flush write buffers when transaction has ended? */
static int64 iIOBufSize = IOBUF_DFLT_SIZE; /* size of an io buffer */
static int iFlushInterval = FLUSH_INTRVL_DFLT; /* how often flush the output buffer on inactivity? */
static int bUseAsyncWriter = USE_ASYNCWRITER_DFLT; /* should we enable asynchronous writing? */
@@ -764,7 +765,7 @@ static rsRetVal resetConfigVariables(uch
bCreateDirs = 1;
bEnableSync = 0;
iZipLevel = 0;
- bFlushOnTXEnd = 0;
+ bFlushOnTXEnd = FLUSHONTX_DFLT;
iIOBufSize = IOBUF_DFLT_SIZE;
iFlushInterval = FLUSH_INTRVL_DFLT;
bUseAsyncWriter = USE_ASYNCWRITER_DFLT;

View File

@ -1,9 +1,9 @@
%global _exec_prefix %{nil} %global _exec_prefix %{nil}
%global _libdir %{_exec_prefix}/%{_lib} %global _libdir %{_exec_prefix}/%{_lib}
Summary: Enhanced system logging and kernel message trapping daemons Summary: Enhanced system logging and kernel message trapping daemon
Name: rsyslog Name: rsyslog
Version: 4.6.2 Version: 4.6.3
Release: 1%{?dist} Release: 1%{?dist}
License: GPLv3+ License: GPLv3+
Group: System Environment/Daemons Group: System Environment/Daemons
@ -13,8 +13,7 @@ Source1: rsyslog.init
Source2: rsyslog.conf Source2: rsyslog.conf
Source3: rsyslog.sysconfig Source3: rsyslog.sysconfig
Source4: rsyslog.log Source4: rsyslog.log
Patch0: rsyslog-4.6.2-unlimited-select.patch Patch0: rsyslog-4.6.3-unlimited-select.patch
Patch1: rsyslog-4.6.2-omfileflush.patch
BuildRequires: zlib-devel BuildRequires: zlib-devel
Requires: logrotate >= 3.5.2 Requires: logrotate >= 3.5.2
Requires: bash >= 2.0 Requires: bash >= 2.0
@ -57,12 +56,12 @@ Requires: %name = %version-%release
BuildRequires: gnutls-devel BuildRequires: gnutls-devel
%description %description
Rsyslog is an enhanced multi-threaded syslogd supporting, among others, MySQL, Rsyslog is an enhanced, multi-threaded syslog daemon. It supports MySQL,
syslog/tcp, RFC 3195, permitted sender lists, filtering on any message part, syslog/TCP, RFC 3195, permitted sender lists, filtering on any message part,
and fine grain output format control. It is quite compatible to stock sysklogd and fine grain output format control. It is compatible with stock sysklogd
and can be used as a drop-in replacement. Its advanced features make it and can be used as a drop-in replacement. Rsyslog is simple to set up, with
suitable for enterprise-class, encryption protected syslog relay chains while advanced features suitable for enterprise-class, encryption-protected syslog
at the same time being very easy to setup for the novice user. relay chains.
%description mysql %description mysql
The rsyslog-mysql package contains a dynamic shared object that will add The rsyslog-mysql package contains a dynamic shared object that will add
@ -90,7 +89,6 @@ IETF standard protocol.
%prep %prep
%setup -q %setup -q
%patch0 -p1 -b .unlimited-select %patch0 -p1 -b .unlimited-select
%patch1 -p1 -b .omfileflush
%build %build
export CFLAGS="$RPM_OPT_FLAGS -DSYSLOGD_PIDNAME=\\\"syslogd.pid\\\"" export CFLAGS="$RPM_OPT_FLAGS -DSYSLOGD_PIDNAME=\\\"syslogd.pid\\\""
@ -102,6 +100,7 @@ export CFLAGS="$RPM_OPT_FLAGS -DSYSLOGD_PIDNAME=\\\"syslogd.pid\\\""
--enable-imfile \ --enable-imfile \
--enable-relp \ --enable-relp \
--enable-gnutls \ --enable-gnutls \
--enable-mail \
--enable-unlimited-select --enable-unlimited-select
make make
@ -151,21 +150,22 @@ fi
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS COPYING NEWS README doc/*html %doc AUTHORS COPYING NEWS README doc/*html
%dir %{_libdir}/rsyslog %dir %{_libdir}/rsyslog
%{_libdir}/rsyslog/imfile.so
%{_libdir}/rsyslog/imklog.so %{_libdir}/rsyslog/imklog.so
%{_libdir}/rsyslog/immark.so %{_libdir}/rsyslog/immark.so
%{_libdir}/rsyslog/imtcp.so %{_libdir}/rsyslog/imtcp.so
%{_libdir}/rsyslog/imudp.so %{_libdir}/rsyslog/imudp.so
%{_libdir}/rsyslog/imuxsock.so %{_libdir}/rsyslog/imuxsock.so
%{_libdir}/rsyslog/imfile.so
%{_libdir}/rsyslog/omtesting.so
%{_libdir}/rsyslog/lmnet.so %{_libdir}/rsyslog/lmnet.so
%{_libdir}/rsyslog/lmregexp.so
%{_libdir}/rsyslog/lmtcpclt.so
%{_libdir}/rsyslog/lmtcpsrv.so
%{_libdir}/rsyslog/lmnetstrms.so %{_libdir}/rsyslog/lmnetstrms.so
%{_libdir}/rsyslog/lmnsd_ptcp.so %{_libdir}/rsyslog/lmnsd_ptcp.so
%{_libdir}/rsyslog/lmregexp.so
%{_libdir}/rsyslog/lmstrmsrv.so %{_libdir}/rsyslog/lmstrmsrv.so
%{_libdir}/rsyslog/lmtcpclt.so
%{_libdir}/rsyslog/lmtcpsrv.so
%{_libdir}/rsyslog/lmzlibw.so %{_libdir}/rsyslog/lmzlibw.so
%{_libdir}/rsyslog/omtesting.so
%{_libdir}/rsyslog/ommail.so
%config(noreplace) %{_sysconfdir}/rsyslog.conf %config(noreplace) %{_sysconfdir}/rsyslog.conf
%config(noreplace) %{_sysconfdir}/sysconfig/rsyslog %config(noreplace) %{_sysconfdir}/sysconfig/rsyslog
%config(noreplace) %{_sysconfdir}/logrotate.d/syslog %config(noreplace) %{_sysconfdir}/logrotate.d/syslog
@ -199,6 +199,9 @@ fi
%{_libdir}/rsyslog/lmnsd_gtls.so %{_libdir}/rsyslog/lmnsd_gtls.so
%changelog %changelog
* Thu Jul 15 2010 Tomas Heinrich <theinric@redhat.com> 4.6.3-1
- upgrade to new upstream stable version 4.6.3
* Wed Apr 07 2010 Tomas Heinrich <theinric@redhat.com> 4.6.2-1 * Wed Apr 07 2010 Tomas Heinrich <theinric@redhat.com> 4.6.2-1
- upgrade to new upstream stable version 4.6.2 - upgrade to new upstream stable version 4.6.2
- correct the default value of the OMFileFlushOnTXEnd directive - correct the default value of the OMFileFlushOnTXEnd directive

View File

@ -1 +1 @@
eca0d335736fb1554df70615d9e6f482 rsyslog-4.6.2.tar.gz 41ff79a72a931a612fda251cfd400f4e rsyslog-4.6.3.tar.gz