diff -dur -x '*.orig' syslog-ng-syslog-ng-3.14.1.orig/configure.ac syslog-ng-syslog-ng-3.14.1/configure.ac
--- syslog-ng-syslog-ng-3.14.1.orig/configure.ac 2018-04-03 09:50:19.000000000 +0200
+++ syslog-ng-syslog-ng-3.14.1/configure.ac 2018-04-03 09:51:38.000000000 +0200
+@@ -792,8 +792,8 @@
+ dnl libevtlog headers/libraries (remove after relicensing libevtlog)
+ dnl ***************************************************************************
+
+-EVTLOG_LIBS="\$(top_builddir)/lib/eventlog/src/libevtlog.la"
+-EVTLOG_NO_LIBTOOL_LIBS="\$(top_builddir)/lib/eventlog/src/.libs/libevtlog.la"
++EVTLOG_LIBS="-Wl,${WHOLE_ARCHIVE_OPT} -L\$(top_builddir)/lib/eventlog/src -levtlog -Wl,${NO_WHOLE_ARCHIVE_OPT}"
++EVTLOG_NO_LIBTOOL_LIBS="-Wl,${WHOLE_ARCHIVE_OPT} -L\$(top_builddir)/lib/eventlog/src/.libs -levtlog -Wl,${NO_WHOLE_ARCHIVE_OPT}"
+ EVTLOG_CFLAGS="-I\$(top_srcdir)/lib/eventlog/src -I\$(top_builddir)/lib/eventlog/src"
+
+ dnl ***************************************************************************
@@ -1639,9 +1639,9 @@
# syslog-ng binary is linked with the default link command (e.g. libtool)
SYSLOGNG_LINK='$(LINK)'
else
- SYSLOGNG_DEPS_LIBS="$LIBS $BASE_LIBS $RESOLV_LIBS $LD_START_STATIC -Wl,${WHOLE_ARCHIVE_OPT} $GLIB_LIBS $EVTLOG_NO_LIBTOOL_LIBS $PCRE_LIBS $REGEX_LIBS -Wl,${NO_WHOLE_ARCHIVE_OPT} $IVYKIS_NO_LIBTOOL_LIBS $LD_END_STATIC $LIBCAP_LIBS $DL_LIBS "
-+ SYSLOGNG_DEPS_LIBS="$LIBS $BASE_LIBS $RESOLV_LIBS $LD_START_STATIC -Wl,${WHOLE_ARCHIVE_OPT} $GLIB_LIBS $EVTLOG_NO_LIBTOOL_LIBS $PCRE_LIBS $REGEX_LIBS -Wl,${NO_WHOLE_ARCHIVE_OPT} $LD_END_STATIC $IVYKIS_LIBS $LIBCAP_LIBS $DL_LIBS "
++ SYSLOGNG_DEPS_LIBS="$LIBS $BASE_LIBS $RESOLV_LIBS $EVTLOG_NO_LIBTOOL_LIBS $LD_START_STATIC -Wl,${WHOLE_ARCHIVE_OPT} $GLIB_LIBS $PCRE_LIBS $REGEX_LIBS -Wl,${NO_WHOLE_ARCHIVE_OPT} $LD_END_STATIC $IVYKIS_LIBS $LIBCAP_LIBS $DL_LIBS "
TOOL_DEPS_LIBS="$LIBS $BASE_LIBS $GLIB_LIBS $EVTLOG_LIBS $RESOLV_LIBS $LIBCAP_LIBS $PCRE_LIBS $REGEX_LIBS $IVYKIS_LIBS $DL_LIBS"
- CORE_DEPS_LIBS=""
+ CORE_DEPS_LIBS="$IVYKIS_LIBS"
# Conditional build:
%bcond_with dynamic # link dynamically with glib, eventlog, pcre (modules are always linked dynamically)
%bcond_without sql # support for logging to SQL DB
-%bcond_without tests # do not perform "make check"
+%bcond_with tests # do not perform "make check"
%bcond_without http # support for HTTP destination
%bcond_without json # support for JSON template formatting
%bcond_without mongodb # support for mongodb destination
%define libivykis_version 0.42.2
%define glib2_ver 1:2.24.0
-%define mver 3.14
-%define docmver 3.14
+%define mver 3.15
+%define docmver 3.15
Summary: Syslog-ng - new generation of the system logger
Summary(pl.UTF-8): Syslog-ng - systemowy demon logujący nowej generacji
Summary(pt_BR.UTF-8): Daemon de log nova geração
Name: syslog-ng
-Version: 3.14.1
-Release: 3
+Version: 3.15.1
+Release: 1
License: GPL v2+ with OpenSSL exception
Group: Daemons
Source0: https://github.com/balabit/syslog-ng/archive/%{name}-%{version}.tar.gz
-# Source0-md5: 60c58c5e50860c5b81afb6e80abb0a04
+# Source0-md5: ad97a307a9ae2f26615f0aa8f7ec320f
Source1: %{name}.init
Source2: %{name}.conf
Source3: %{name}.logrotate
BuildRequires: bison >= 2.4
%{?with_http:BuildRequires: curl-devel}
BuildRequires: docbook-style-xsl
-BuildRequires: eventlog-devel >= 0.2.12
%{?with_tests:BuildRequires: findutils}
BuildRequires: flex
BuildRequires: glib2-devel >= %{glib2_ver}
BuildRequires: tzdata
%endif
%if %{without dynamic}
-BuildRequires: eventlog-static >= 0.2.12
BuildRequires: glib2-static >= %{glib2_ver}
%{?with_system_libivykis:BuildRequires: libivykis-static >= %{libivykis_version}}
BuildRequires: pcre-static >= 6.1
Summary(pl.UTF-8): Biblioteka współdzielona sysloga-ng
Group: Libraries
%if %{with dynamic}
-Requires: eventlog >= 0.2.12
Requires: glib2 >= %{glib2_ver}
%{?with_system_libivykis:Requires: libivykis >= 0.42}
Requires: pcre >= 6.1
Group: Development/Libraries
Requires: %{name}-libs = %{version}-%{release}
%if %{with dynamic}
-Requires: eventlog-devel >= 0.2.12
Requires: glib2-devel >= %{glib2_ver}
%{?with_system_libivykis:Requires: libivykis-devel >= 0.42}
Requires: pcre-devel >= 6.1
%{__sed} -i -e 's|/usr/bin/awk|/bin/awk|' scl/syslogconf/convert-syslogconf.awk
%build
-for i in . ; do
-cd $i
- %{__libtoolize}
- %{__aclocal} `[ -d m4 ] && echo '-I m4'`
- %{__autoconf}
- %{__autoheader}
- %{__automake}
-cd -
-done
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
%configure \
--sysconfdir=%{_sysconfdir}/syslog-ng \
--disable-silent-rules \
%attr(755,root,root) %{moduledir}/libgeoip2-plugin.so
%endif
%attr(755,root,root) %{moduledir}/libgraphite.so
+%attr(755,root,root) %{moduledir}/libhook-commands.so
%attr(755,root,root) %{moduledir}/libkvformat.so
%attr(755,root,root) %{moduledir}/liblinux-kmsg-format.so
%attr(755,root,root) %{moduledir}/libmap-value-pairs.so
%{_includedir}/syslog-ng/value-pairs
%{_datadir}/syslog-ng/tools
%{_pkgconfigdir}/syslog-ng.pc
-%{_pkgconfigdir}/syslog-ng-add-contextual-data.pc
%{_pkgconfigdir}/syslog-ng-native-connector.pc
-
-# test-devel ?
-%if "%{_libdir}/syslog-ng" != "{moduledir}"
-%dir %{_libdir}/syslog-ng
-%endif
-%dir %{_libdir}/syslog-ng/libtest
-%{_libdir}/syslog-ng/libtest/libsyslog-ng-test.a
-%{_includedir}/syslog-ng/libtest
-%{_pkgconfigdir}/syslog-ng-test.pc