Hello community,
here is the log from the commit of package syslog-ng for openSUSE:Factory
checked in at Tue Apr 13 22:27:11 CEST 2010.
--------
--- syslog-ng/syslog-ng.changes 2010-01-18 17:01:17.000000000 +0100
+++ /mounts/work_src_done/STABLE/syslog-ng/syslog-ng.changes 2010-04-13 13:09:34.000000000 +0200
@@ -1,0 +2,74 @@
+Tue Apr 13 10:20:51 UTC 2010 - mt@suse.de
+
+- Reformated last changes entry to avoid overlong lines,
+ added reason why some of the features are disabled.
+
+-------------------------------------------------------------------
+Tue Apr 13 08:40:57 CEST 2010 - pczanik@fang.fa.gau.hu
+
+- upgraded to version 3.1.1
+- removed patches, which were made redundant by 3.1.1
+- enabled pcre, modified the 'less-static' patch
+- NEWS from 2.0 to 3.0
+ * Version 3.0 of syslog-ng supports the new syslog protocol
+ standards by the Internet Engineering Task Force (IETF).
+ * Log statements can be embedded into each other, making it
+ possible to design complex log paths. That way for example
+ the results of a filter can be sent to multiple destinations,
+ or it can be sent to a destination unchanged, and partly
+ rewritten for the other destination.
+ * The encoding of source files can be set for proper character
+ conversion (internally syslog-ng represents every message in
+ UTF-8).
+ * The syslog-ng application assigns a unique message
+ identification number to every log message, making it easy
+ to detect if any messages are lost.
+ * The syslog-ng application can read, process, and rewrite
+ structured messages (e.g., Apache webserver logs) using
+ templates and regular expressions. Both messages with fixed
+ field sizes and fields separated with delimiters (e.g.,
+ comma-separated values) are supported.
+- NEWS from 3.0 to 3.1
+ * Support for patterndb v2 and v3 format, along with a bunch
+ to new parsers: ANYSTRING, IPv6, IPvANY and FLOAT.
+ * Added a new "pdbtool" utility to manage patterndb files:
+ convert them from v1 or v2 format, merge mulitple patterndb
+ files into one and look up matching patterns given a specific
+ message.
+ * Support for message tags: tags can be assigned to log messages
+ as they enter syslog-ng: either by the source driver or via
+ patterndb.
+ Later it these tags can be used for efficient filtering.
+ * Added support for rewriting structured data.
+ * Macros and name-value pairs got a little tighter integration,
+ in filters where syslog-ng 3.0 was limited to only use
+ name-value pairs, with 3.1 you can also use macros.
+ * Enhanced dynamic name-value performance by a factor of three.
+ * Some parsers got additional features: NUMBER is now able to
+ parse hexadecimal numbers, ESTRING is now able to search for
+ multiple characters as the end of the string.
+ * Added non-standard and non-portable facility codes (range
+ 10-15), decouple syslog-ng facility name information from
+ the system used to compile syslog-ng on.
+- new features, which are not enabled because of /usr dependency:
+ * TLS support
+ * logging to databases
+
+-------------------------------------------------------------------
+Wed Mar 31 21:14:55 CEST 2010 - pczanik@fang.fa.gau.hu
+
+- added two temporary patches to fix pipe() problems
+- added include "/var/run/syslog-ng/additional-log-sockets.conf";
+ to syslog-ng.conf to replace the old "-a" mechanism
+
+-------------------------------------------------------------------
+Wed Mar 24 21:49:14 CET 2010 - pczanik@fang.fa.gau.hu
+
+- updated to 3.1.0 release
+- added some new utilities (pdbtool & syslog-ng-ctl)
+- removed most of the patches to stay as close to upstream
+ as possible
+- patch to compile only glib statically
+- updated syslog-ng.conf to v3.0 syntax
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
syslog-ng-2.0.9-mark-timezone.dif
syslog-ng-2.0.9-strncat.dif
syslog-ng-2.0.9-summary-is-removed.diff
syslog-ng-2.0.9.tar.bz2
syslog-ng-HP-UX-100-CPU-spinning.diff
syslog-ng-add-log-sockets.dif
syslog-ng-afunix_no_hostname.dif
syslog-ng-avoid-getpwgrnam_-1.dif
syslog-ng-chroot_CVE-2008-5110.dif
syslog-ng-libnet-dynamic.dif
syslog-ng-logwriter-100-CPU-usage.diff
syslog-ng-man-pages.dif
syslog-ng-no-perm-change.dif
syslog-ng-path-defaults.dif
syslog-ng-update_own_hostname.dif
syslog-ng-verbose_reload.dif
syslog-ng.README
New:
----
syslog-ng-3.1.1-less-static.dif
syslog-ng_3.1.1.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ syslog-ng.spec ++++++
--- /var/tmp/diff_new_pack.gMWD5g/_old 2010-04-13 22:26:53.000000000 +0200
+++ /var/tmp/diff_new_pack.gMWD5g/_new 2010-04-13 22:26:53.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package syslog-ng (Version 2.0.9)
+# spec file for package syslog-ng (Version 3.1.1)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -20,8 +20,8 @@
Name: syslog-ng
%define eventlog_version 0.2.7
-Version: 2.0.9
-Release: 29
+Version: 3.1.1
+Release: 1
License: GPLv2
Group: System/Daemons
Summary: The new-generation syslog-daemon
@@ -29,32 +29,16 @@
PreReq: %insserv_prereq %fillup_prereq /sbin/klogd /etc/init.d/syslog
Provides: syslog
AutoReqProv: on
-#Source0: http://www.balabit.com/downloads/files/syslog-ng/sources/2.0/src/syslog-ng-%{version}.tar.gz
-#Source1: http://www.balabit.com/downloads/files/syslog-ng/sources/2.0/src/syslog-ng-%{version}.tar.gz.asc
-Source0: syslog-ng-%{version}.tar.bz2
-Source10: syslog-ng.README
-Source12: syslog-ng.rc-script
-Source13: syslog-ng.sysconfig
-Source14: syslog-ng.conf.default
-Patch1: syslog-ng-%{version}-strncat.dif
-Patch2: syslog-ng-%{version}-mark-timezone.dif
-Patch10: syslog-ng-path-defaults.dif
-Patch11: syslog-ng-verbose_reload.dif
-Patch12: syslog-ng-add-log-sockets.dif
-Patch13: syslog-ng-afunix_no_hostname.dif
-Patch14: syslog-ng-update_own_hostname.dif
-Patch15: syslog-ng-man-pages.dif
-Patch16: syslog-ng-avoid-getpwgrnam_-1.dif
-Patch17: syslog-ng-no-perm-change.dif
-Patch18: syslog-ng-libnet-dynamic.dif
-Patch20: syslog-ng-chroot_CVE-2008-5110.dif
-Patch21: syslog-ng-HP-UX-100-CPU-spinning.diff
-Patch22: syslog-ng-logwriter-100-CPU-usage.diff
-Patch23: syslog-ng-2.0.9-summary-is-removed.diff
+#Source0: http://www.balabit.com/downloads/files/syslog-ng/sources/%{version}/source/syslog-ng_%{version}.tar.gz
+Source0: syslog-ng_%{version}.tar.bz2
+Source1: syslog-ng.rc-script
+Source2: syslog-ng.sysconfig
+Source3: syslog-ng.conf.default
+Patch0: syslog-ng-3.1.1-less-static.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: bison flex gcc-c++ glib2-devel pkgconfig
BuildRequires: klogd libnet python tcpd-devel
-BuildRequires: libevtlog-devel
+BuildRequires: libevtlog-devel pcre-devel
%description
syslog-ng is a "new-generation" syslogd (replacement) for Unix and
@@ -68,10 +52,6 @@
* better network forwarding
-This package contains Novell/SUSE specific modifications / extensions,
-please report problems using Bugzilla at https://bugzilla.novell.com/
-before you contact the authors.
-
The official home page of syslog-ng is:
http://www.balabit.com/network-security/syslog-ng/
@@ -79,27 +59,12 @@
Authors:
--------
- Bal�zs Scheidler
+ Balázs Scheidler
BalaBit IT Ltd.
%prep
%setup -q -n syslog-ng-%{version}
-%patch1 -p0
-%patch2 -p0
-%patch10 -p0
-%patch11 -p0
-%patch12 -p0
-%patch13 -p0
-%patch14 -p0
-%patch15 -p0
-%patch16 -p0
-%patch17 -p0
-%patch18 -p0
-%patch20 -p0
-%patch21 -p1
-%patch22 -p1
-%patch23 -p0
-cp -a $RPM_SOURCE_DIR/syslog-ng.README README.SuSE
+%patch0 -p0
cp -a $RPM_SOURCE_DIR/syslog-ng.rc-script .
cp -a $RPM_SOURCE_DIR/syslog-ng.conf.default .
%ifarch s390 s390x
@@ -111,6 +76,7 @@
## build ####################################################
##
export CFLAGS="$RPM_OPT_FLAGS"
+# export SUSE_ASNEEDED=0
#
# - update configure scripts & tools:
#
@@ -124,21 +90,27 @@
# - configure syslog-ng using static eventlog library (default)
#
%configure \
- --bindir=/bin \
+ --bindir=/usr/bin \
--sbindir=/sbin \
--enable-ipv6 \
--enable-tcp-wrapper \
- --enable-spoof-source
+ --enable-spoof-source \
+ --enable-pcre \
+ --with-pidfile-dir=/var/run \
+ --sysconfdir=/etc/syslog-ng \
+ --localstatedir=/var/lib/syslog-ng \
+ --enable-mixed-linking \
+ --disable-ssl
#
# - build syslog-ng
#
make %_smp_mflags
-%check
+#%check
##
## check ####################################################
##
-make check
+#make check
%install
##
@@ -161,9 +133,12 @@
#
make DESTDIR=${RPM_BUILD_ROOT} install
#
-tar -C doc/reference -xf doc/reference/syslog-ng.html.tar.gz
-mv doc/reference/syslog-ng.html doc/reference/html
-mv doc/reference/html/index.html doc/reference/syslog-ng.html
+#tar -C doc/reference -xf doc/reference/syslog-ng.html.tar.gz
+#mv doc/reference/syslog-ng.html doc/reference/html
+#mv doc/reference/html/index.html doc/reference/syslog-ng.html
+mkdir %{buildroot}/usr/sbin/
+%{__mv} -v %{buildroot}/sbin/syslog-ng-ctl %{buildroot}/usr/sbin/
+mkdir -p %{buildroot}/var/run/syslog-ng/
%clean
##
@@ -273,15 +248,20 @@
##
%defattr(-,root,root)
%doc COPYING AUTHORS README ChangeLog INSTALL NEWS
-%doc README.SuSE syslog-ng.rc-script syslog-ng.conf.default
-%doc doc/examples doc/reference/syslog-ng.txt doc/reference/syslog-ng.html
-%attr(755,root,root) /bin/loggen
+%doc syslog-ng.rc-script syslog-ng.conf.default
+%doc doc/examples
+# doc/reference/syslog-ng.txt doc/reference/syslog-ng.html
+%attr(755,root,root) /usr/bin/loggen
%attr(755,root,root) /sbin/syslog-ng
+%attr(755,root,root) /usr/bin/pdbtool
+%attr(755,root,root) /usr/sbin/syslog-ng-ctl
%{_mandir}/man5/syslog-ng.conf.5*
%{_mandir}/man8/syslog-ng.8*
+%{_mandir}/man1/pdbtool.1*
%dir /etc/syslog-ng
%config(noreplace) /etc/syslog-ng/syslog-ng.conf
%dir /var/lib/syslog-ng
+%dir /var/run/syslog-ng
/var/adm/fillup-templates/sysconfig.syslog-ng
%changelog
++++++ syslog-ng-3.1.1-less-static.dif ++++++
--- configure.in.old 2010-03-11 21:59:41.841881227 +0100
+++ configure.in 2010-03-11 22:01:50.441881848 +0100
@@ -706,7 +706,7 @@
if test "$ostype" = "AIX"; then
DEPS_LIBS="$LIBS $BASE_LIBS $RESOLV_LIBS $LD_START_STATIC $OPENSSL_LIBS $LEXLIB $GLIB_LIBS $EVTLOG_LIBS $ZLIB_LIBS $LIBNET_LIBS $LIBWRAP_LIBS $LIBCAP_LIBS $PCRE_LIBS $REGEX_LIBS $LD_END_STATIC $LIBDBI_LIBS $DL_LIBS "
else
- DEPS_LIBS="$LIBS $BASE_LIBS $RESOLV_LIBS $LD_START_STATIC $LEXLIB $GLIB_LIBS $EVTLOG_LIBS $OPENSSL_LIBS $ZLIB_LIBS $LIBNET_LIBS $LIBWRAP_LIBS $LIBCAP_LIBS $PCRE_LIBS $REGEX_LIBS $LD_END_STATIC $LIBDBI_LIBS $DL_LIBS "
+ DEPS_LIBS="$LIBS $BASE_LIBS $RESOLV_LIBS $LIBWRAP_LIBS $EVTLOG_LIBS $LIBNET_LIBS $PCRE_LIBS $LD_START_STATIC $LEXLIB $GLIB_LIBS $OPENSSL_LIBS $ZLIB_LIBSS $LIBCAP_LIBS $REGEX_LIBS $LD_END_STATIC $LIBDBI_LIBS $DL_LIBS "
fi
fi
++++++ syslog-ng.conf.default ++++++
--- /var/tmp/diff_new_pack.gMWD5g/_old 2010-04-13 22:26:53.000000000 +0200
+++ /var/tmp/diff_new_pack.gMWD5g/_new 2010-04-13 22:26:53.000000000 +0200
@@ -1,3 +1,5 @@
+@version:3.0
+
#
# /etc/syslog-ng/syslog-ng.conf
#
@@ -9,31 +11,11 @@
#
# Feel free to edit this file directly.
#
-# Additional log sockets for chroot environments can
-# be declared in the /etc/sysconfig/syslog file using
-# SYSLOGD_ADDITIONAL_SOCKET<NAME>
-# variables. This way allows to define a socket from
-# RPM scripts and is used by several services, e.g.
-# bind and dhcpd.
-#
-# The sockets defined in /etc/sysconfig/syslog file
-# are added by the /etc/ini.d/syslog init-script using
-# "-a path" command line options while syslog-ng is
-# started.
-#
-# This syslog-ng contains an extension and appends the
-# sockets added by "-a" option to the same source group
-# and using the same socket type (unix-dgram) as the
-# "/dev/log" socket.
-# If one of the sockets added by "-a" option already
-# exists in any (other) source group in the config file,
-# then the socket added by "-a" option is ignored.
-#
#
# Global options.
#
-options { long_hostnames(off); sync(0); perm(0640); stats(3600); };
+options { long_hostnames(off); flush_lines(0); perm(0640); stats_freq(3600); };
#
# 'src' is our main source definition. you can add
@@ -53,18 +35,18 @@
# the default log socket for local logging:
#
unix-dgram("/dev/log");
-
#
# uncomment to process log messages from network:
#
#udp(ip("0.0.0.0") port(514));
};
+include "/var/run/syslog-ng/additional-log-sockets.conf";
#
# Filter definitions
#
-filter f_iptables { facility(kern) and match("IN=") and match("OUT="); };
+filter f_iptables { facility(kern) and message("IN=") and message("OUT="); };
filter f_console { level(warn) and facility(kern) and not filter(f_iptables)
or level(err) and not facility(authpriv); };
@@ -87,13 +69,13 @@
#
# acpid messages
#
-filter f_acpid_full { match('^acpid:'); };
-filter f_acpid { level(emerg..notice) and match('^acpid:'); };
+filter f_acpid_full { message('^acpid:'); };
+filter f_acpid { level(emerg..notice) and message('^acpid:'); };
# this is for the old acpid < 1.0.6
-filter f_acpid_old { match('^\[acpid\]:'); };
+filter f_acpid_old { message('^\[acpid\]:'); };
-filter f_netmgm { match('^NetworkManager:'); };
+filter f_netmgm { message('^NetworkManager:'); };
filter f_messages { not facility(news, mail) and not filter(f_iptables); };
filter f_warn { level(warn, err, crit) and not filter(f_iptables); };
@@ -116,17 +98,17 @@
#
# Most warning and errors on tty10 and on the xconsole pipe:
#
-destination console { pipe("/dev/tty10" owner(-1) group(-1) perm(-1)); };
-log { source(src); filter(f_console); destination(console); };
+destination console { file("/dev/tty10" owner(-1) group(-1) perm(-1)); };
+log { source(src); source(chroots); filter(f_console); destination(console); };
destination xconsole { pipe("/dev/xconsole" owner(-1) group(-1) perm(-1)); };
-log { source(src); filter(f_console); destination(xconsole); };
+log { source(src); source(chroots); filter(f_console); destination(xconsole); };
# Enable this, if you want that root is informed immediately,
# e.g. of logins:
#
#destination root { usertty("root"); };
-#log { source(src); filter(f_alert); destination(root); };
+#log { source(src); source(chroots); filter(f_alert); destination(root); };
#
@@ -134,64 +116,64 @@
#
destination newscrit { file("/var/log/news/news.crit"
owner(news) group(news)); };
-log { source(src); filter(f_newscrit); destination(newscrit); };
+log { source(src); source(chroots); filter(f_newscrit); destination(newscrit); };
destination newserr { file("/var/log/news/news.err"
owner(news) group(news)); };
-log { source(src); filter(f_newserr); destination(newserr); };
+log { source(src); source(chroots); filter(f_newserr); destination(newserr); };
destination newsnotice { file("/var/log/news/news.notice"
owner(news) group(news)); };
-log { source(src); filter(f_newsnotice); destination(newsnotice); };
+log { source(src); source(chroots); filter(f_newsnotice); destination(newsnotice); };
#
# and optionally also all in one file:
# (don't forget to provide logrotation config)
#
#destination news { file("/var/log/news.all"); };
-#log { source(src); filter(f_news); destination(news); };
+#log { source(src); source(chroots); filter(f_news); destination(news); };
#
# Mail-messages in separate files:
#
destination mailinfo { file("/var/log/mail.info"); };
-log { source(src); filter(f_mailinfo); destination(mailinfo); };
+log { source(src); source(chroots); filter(f_mailinfo); destination(mailinfo); };
destination mailwarn { file("/var/log/mail.warn"); };
-log { source(src); filter(f_mailwarn); destination(mailwarn); };
+log { source(src); source(chroots); filter(f_mailwarn); destination(mailwarn); };
destination mailerr { file("/var/log/mail.err" fsync(yes)); };
-log { source(src); filter(f_mailerr); destination(mailerr); };
+log { source(src); source(chroots); filter(f_mailerr); destination(mailerr); };
#
# and also all in one file:
#
destination mail { file("/var/log/mail"); };
-log { source(src); filter(f_mail); destination(mail); };
+log { source(src); source(chroots); filter(f_mail); destination(mail); };
#
# acpid messages in one file:
#
destination acpid { file("/var/log/acpid"); };
-destination null { };
-log { source(src); filter(f_acpid); destination(acpid); flags(final); };
+destination devnull { };
+log { source(src); source(chroots); filter(f_acpid); destination(acpid); flags(final); };
#
# if you want more verbose acpid logging, comment the destination(null)
# line and uncomment the destination(acpid) line
#
-log { source(src); filter(f_acpid_full); destination(null); flags(final); };
-# log { source(src); filter(f_acpid_full); destination(acpid); flags(final); };
+log { source(src); source(chroots); filter(f_acpid_full); destination(devnull); flags(final); };
+# log { source(src); source(chroots); filter(f_acpid_full); destination(acpid); flags(final); };
#
# old acpid < 1.0.6
-log { source(src); filter(f_acpid_old); destination(acpid); flags(final); };
+log { source(src); source(chroots); filter(f_acpid_old); destination(acpid); flags(final); };
#
# NetworkManager messages in one file:
#
destination netmgm { file("/var/log/NetworkManager"); };
-log { source(src); filter(f_netmgm); destination(netmgm); flags(final); };
+log { source(src); source(chroots); filter(f_netmgm); destination(netmgm); flags(final); };
#
@@ -199,34 +181,34 @@
# (don't forget to provide logrotation config)
#
#destination cron { file("/var/log/cron"); };
-#log { source(src); filter(f_cron); destination(cron); };
+#log { source(src); source(chroots); filter(f_cron); destination(cron); };
#
# Some boot scripts use/require local[1-7]:
#
destination localmessages { file("/var/log/localmessages"); };
-log { source(src); filter(f_local); destination(localmessages); };
+log { source(src); source(chroots); filter(f_local); destination(localmessages); };
#
# All messages except iptables and the facilities news and mail:
#
-destination messages { file("/var/log/messages"); };
-log { source(src); filter(f_messages); destination(messages); };
+destination messages { file("/var/log/messages" owner(-1) group(-1) perm(-1)); };
+log { source(src); source(chroots); filter(f_messages); destination(messages); };
#
# Firewall (iptables) messages in one file:
#
destination firewall { file("/var/log/firewall"); };
-log { source(src); filter(f_iptables); destination(firewall); };
+log { source(src); source(chroots); filter(f_iptables); destination(firewall); };
#
# Warnings (except iptables) in one file:
#
destination warn { file("/var/log/warn" fsync(yes)); };
-log { source(src); filter(f_warn); destination(warn); };
+log { source(src); source(chroots); filter(f_warn); destination(warn); };
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org