Hello community,

here is the log from the commit of package prelude-lml for openSUSE:Factory 
checked in at 2017-04-03 11:05:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/prelude-lml (Old)
 and      /work/SRC/openSUSE:Factory/.prelude-lml.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "prelude-lml"

Mon Apr  3 11:05:08 2017 rev:3 rq:482279 version:3.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/prelude-lml/prelude-lml.changes  2017-02-19 
01:00:53.424775878 +0100
+++ /work/SRC/openSUSE:Factory/.prelude-lml.new/prelude-lml.changes     
2017-04-03 11:05:09.603241035 +0200
@@ -1,0 +2,15 @@
+Thu Mar 23 14:41:36 UTC 2017 - a...@ajaissle.de
+
+- Added %ghost /run/%{name}
+
+-------------------------------------------------------------------
+Fri Feb 10 00:33:55 UTC 2017 - thomas.andre...@gmail.com
+
+- Update to 3.1.0 (Prelude 3.1.0 released on 14 Sept 2016)
+- Add missing /var/lib/prelude-lml dir
+- Remove unnecessary spool directory
+- Patch the configuration to be naturally OK with rsyslog
+  prelude-lml-conf_rsyslog.patch
+- Spec-Cleaner
+
+-------------------------------------------------------------------

Old:
----
  prelude-lml-3.0.0.tar.gz

New:
----
  prelude-lml-3.1.0.tar.gz
  prelude-lml-conf_rsyslog.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ prelude-lml.spec ++++++
--- /var/tmp/diff_new_pack.U9gM2u/_old  2017-04-03 11:05:10.483116724 +0200
+++ /var/tmp/diff_new_pack.U9gM2u/_new  2017-04-03 11:05:10.487116159 +0200
@@ -17,20 +17,24 @@
 
 
 Name:           prelude-lml
-Version:        3.0.0
+Version:        3.1.0
 Release:        0
 Summary:        The prelude log analyzer
-License:        GPL-3.0+
+# Prelude is GPL-2.0+
+# libmissing is LGPL-2.1+
+# libmissing/test is GPL-3.0+
+License:        GPL-2.0+ and LGPL-2.1 and GPL-3.0+
 Group:          System/Daemons
 Url:            https://www.prelude-siem.org
-Source0:        
https://www.prelude-siem.org/pkg/src/3.0.0/%{name}-%{version}.tar.gz
+Source0:        
https://www.prelude-siem.org/pkg/src/%{version}/%{name}-%{version}.tar.gz
 Source1:        %{name}.service
 Source2:        %{name}.run
+# Add default syslog format to work out of the box
+Patch0:         %{name}-conf_rsyslog.patch
 BuildRequires:  gamin-devel
 BuildRequires:  libprelude-devel
 BuildRequires:  pcre-devel
 BuildRequires:  systemd
-Requires:       libprelude23
 %{?systemd_requires}
 
 %description
@@ -52,6 +56,7 @@
 
 %prep
 %setup -q
+%patch0
 
 %build
 %configure
@@ -60,13 +65,13 @@
 %install
 mkdir -p %{buildroot}/%{_sysconfdir}/%{name}/ruleset/
 mkdir -p %{buildroot}/%{_sbindir}
-make install DESTDIR=%{buildroot} INSTALL="%{__install} -c -p"
+%make_install
 rm -f %{buildroot}/%{_libdir}/%{name}/debug.la
 rm -f %{buildroot}/%{_libdir}/%{name}/pcre.la
 install -d -m 0755 %{buildroot}/%{_tmpfilesdir}
 install -m 0644 %{SOURCE2} %{buildroot}/%{_tmpfilesdir}/%{name}.conf
-mkdir -p %{buildroot}/%{_localstatedir}/spool/prelude/%{name}/
-ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rc%{name}
+mkdir -p %{buildroot}/%{_var}/lib/%{name}
+ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
 rm -rf %{buildroot}/%{_localstatedir}/run/%{name}
 install -D -m 444 %{SOURCE1} %{buildroot}%{_unitdir}/%{name}.service
 
@@ -75,7 +80,7 @@
 
 %post
 /sbin/ldconfig
-/usr/bin/systemd-tmpfiles --create %{_tmpfilesdir}/%{name}.conf
+%{_bindir}/systemd-tmpfiles --create %{_tmpfilesdir}/%{name}.conf
 %service_add_post %{name}.service
 
 %preun
@@ -99,8 +104,9 @@
 %{_sbindir}/rc%{name}
 %dir %{_tmpfilesdir}
 %{_tmpfilesdir}/%{name}.conf
-%attr(0750,-,-) %dir %{_localstatedir}/spool/prelude/%{name}
 %{_unitdir}/%{name}.service
+%dir %{_var}/lib/%{name}
+%ghost /run/%{name}
 
 %files devel
 %defattr(-,root,root,-)

++++++ prelude-lml-3.0.0.tar.gz -> prelude-lml-3.1.0.tar.gz ++++++
++++ 18766 lines of diff (skipped)

++++++ prelude-lml-conf_rsyslog.patch ++++++
From: Thomas Andrejak <thomas.andre...@gmail.com>
Date: 2017-02-27 23:25:00 +0100
References: Specific
Upstream: no
Subject: Add default syslog format to work out of the box

--- prelude-lml.conf    2016-09-15 09:03:39.835000884 +0200
+++ prelude-lml.conf    2017-02-18 00:46:18.061525071 +0100
@@ -88,6 +88,13 @@
 #
 
 
+[format=rsyslog]
+time-format = "%Y-%m-%dT%H:%M:%S" 
+prefix-regex = "^(?P<timestamp>.{20}).{12} (?P<hostname>\S+) 
(?:(?P<process>\S+?)(?:\[(?P<pid>[0-9]+)\])?: )?"
+file = /var/log/messages
+file = /var/log/secure
+
+
 [format=syslog]
 time-format = "%b %d %H:%M:%S"
 prefix-regex = "^(?P<timestamp>.{15}) (?P<hostname>\S+) 
(?:(?P<process>\S+?)(?:\[(?P<pid>[0-9]+)\])?: )?"
--- prelude-lml.conf.in 2016-09-15 08:49:20.170000884 +0200
+++ prelude-lml.conf.in 2017-02-18 00:46:47.168897144 +0100
@@ -88,6 +88,13 @@
 #
 
 
+[format=rsyslog]
+time-format = "%Y-%m-%dT%H:%M:%S" 
+prefix-regex = "^(?P<timestamp>.{20}).{12} (?P<hostname>\S+) 
(?:(?P<process>\S+?)(?:\[(?P<pid>[0-9]+)\])?: )?"
+file = /var/log/messages
+file = /var/log/secure
+
+
 [format=syslog]
 time-format = "%b %d %H:%M:%S"
 prefix-regex = "^(?P<timestamp>.{15}) (?P<hostname>\S+) 
(?:(?P<process>\S+?)(?:\[(?P<pid>[0-9]+)\])?: )?"

Reply via email to