Hello community,
here is the log from the commit of package lsyncd for openSUSE:Factory checked in at 2018-08-02 14:58:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lsyncd (Old)
and /work/SRC/openSUSE:Factory/.lsyncd.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lsyncd"
Thu Aug 2 14:58:01 2018 rev:16 rq:626100 version:2.2.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/lsyncd/lsyncd.changes 2018-04-27 16:09:11.330584519 +0200
+++ /work/SRC/openSUSE:Factory/.lsyncd.new/lsyncd.changes 2018-08-02 14:58:01.916266227 +0200
@@ -1,0 +2,105 @@
+Sun Jul 29 11:21:00 UTC 2018 - jengelh@inai.de
+
+- Replace %__-type macro indirections. Use %_smp_mflags for
+ parallel build.
+
+-------------------------------------------------------------------
+Thu Apr 26 11:29:18 UTC 2018 - ecsos@opensuse.org
+
+- update to 2.2.3
+ - enhaencement: supporting includes with new filter and filterFrom
+ options
+ - change: needing now at least Lua 5.2 (Lua 5.1 no longer
+ supported, Lua5.3 supported)
+ - change: if the target/targetdir ends with a ':' do not append
+ a trailing '/' to it, since that would change it from homedir
+ to rootdir!
+ - add: example for Amazon S3 Bucket (Daniel Miranda)
+ - fix: setting stdout/stderr to linebuffer mode.
+ - fix: Lua5.3 compatiblity, using load() instead of loadstring()
+ - fix: cmake lua detection, will resort to "lua" and "luac"
+ binaries only if more specific suffixes (e.g. luac5.3) are not
+ available
+ - fix: test suit, Lua5.3 compatibility (table.unpack)
+- changes from 2.2.2
+ - fix: checkgauge 'insist'
+ - fix: no partial path exlusion tests
+ - fix: write pid of forked process in pidfile
+ - fix: crash on not reachable target
+ - workaround: changed back to filter style rsync calling until
+ https://bugzilla.samba.org/show_bug.cgi?id=12569 is fixed and
+ released.
+- changes from 2.2.1
+ - enhancement: now always using filter lists with rysnc instead
+ of include/exclude lists taking advantage of the new
+ --delete-missing-args parameter to delete files on target.
+ >>> Thus Lsyncd 2.2.1 needs rsync >= 3.1.0
+ - change: added "tests" make target to run all the tests.
+ - fix: crash due to typo in changed ^path, ^pathdir, ^pathname
+- changes from 2.2.0
+ - enhancement: add rsync options:
+ "append",
+ "append_verify",
+ "backup",
+ "backup_dir",
+ "chmod",
+ "chown",
+ "copy_dirlinks",
+ "existing",
+ "groupmap",
+ "omit_dir_times",
+ "omit_link_times",
+ "suffix,"
+ "usermap",
+ - enhancement: settings{ } now checks for unknown entries and
+ errors if so.
+ - change: Level3 scripts ^path,^pathdir and ^pathname now don't
+ start with a slash.
+ - change: Lsyncd now writes a startup log message before
+ daemonizing does in case logging fails, it is recognized before
+ it cannot message anything about it, since it deamonized
+ - change: compatible with Lua5.3 (along with 5.1 and 5.2)
+ - change: _verbatim forced for 'exitcodes' entry.
+ - change: manpage is not rebuild by default. it is provided
+ precompiled.
+ - change: faulty/deprecated config files that use
+ settings = { ... }, with equal sign are no longer worked
+ around.
+ - change: default.direct now calls copy with -p
+ - fix: potential race conditions: default.rsyncssh will now
+ channel deletes also through rsync and treats moves as
+ blocking events.
+ - fix: ']' is not escaped for rsync rules, since rsync only
+ applies doesn't applie pattern matching if no other pattern
+ chars are found.
+ - fix: Shell injection hole close for default.direct on mv
+ commands.
+ - fix: Crash of default-direct when source doesn't exit
+ - fix: fixed faulty event replacement, a race condition noticed
+ by extensive default.rsyncssh testing changed Delays were not
+ reflected in Events
+- changes from 2.1.6
+ - enhancement: Lsyncd now locks its pidfile
+ - enhancement: added ssh.identifyFile and ssh.options options
+ - enhancement: added rsync inplace option
+ - fix: ignore blank lines and rsync commenits in exclude files
+ - fix: don't tread exclude lines with embedded "+" chars as
+ inclusions
+ - fix: crash when debugging inotify
+ - fix: fixed Finished/Retrying error messages being swapped around
+ - fix: properly encapsulate filenames on ssh mv commands to avoid
+ shell command injections.
+ - fix: postcmd example
+ - change: closes also on INT signals
+ - change: now removes its pidfile on INT and TERM signals
+ - change: changed build system from autotools to cmake
+
+- change url and source to new location
+- remove lsyncd-lua-5_3.patch, because no more need
+- aad patch lsyncd-lua.patch to find libraries
+- add patch lsyncd-man.patch to put manpages to correct location
+- fix all rpmlint warnings
+- Replace %__-type macro indirections.
+- Use %_smp_mflags for parallel build.
+
+-------------------------------------------------------------------
Old:
----
lsyncd-2.1.5.tar.gz
lsyncd-lua-5_3.patch
New:
----
lsyncd-lua.patch
lsyncd-man.patch
release-2.2.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ lsyncd.spec ++++++
--- /var/tmp/diff_new_pack.6zqGHK/_old 2018-08-02 14:58:02.524267250 +0200
+++ /var/tmp/diff_new_pack.6zqGHK/_new 2018-08-02 14:58:02.528267257 +0200
@@ -1,7 +1,7 @@
#
# spec file for package lsyncd
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -28,22 +28,24 @@
%endif
Name: lsyncd
-Version: 2.1.5
+Version: 2.2.3
Release: 0
-Url: http://code.google.com/p/lsyncd/
-Source0: http://lsyncd.googlecode.com/files/%{name}-%{version}.tar.gz
+Url: https://github.com/axkibe/lsyncd
+Source0: https://github.com/axkibe/lsyncd/archive/release-%{version}.tar.gz
Source1: %{name}-init.d
Source2: %{name}.conf
Source3: rsync_sudo.sh
Source4: %{name}.service
Source5: %{name}.sysconfig
Source6: %{name}.logrotate
-Patch0: lsyncd-lua-5_3.patch
+Patch0: lsyncd-lua.patch
+Patch1: lsyncd-man.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: asciidoc
-BuildRequires: automake
-BuildRequires: lua-devel >= 5.1
+BuildRequires: cmake
+BuildRequires: gcc-c++
BuildRequires: pkg-config
+BuildRequires: pkgconfig(lua) >= 5.2
%if %{with systemd}
%{?systemd_requires}
BuildRequires: systemd-rpm-macros
@@ -51,44 +53,41 @@
PreReq: %insserv_prereq
%endif
PreReq: %fillup_prereq
-Requires: rsync
+Requires: logrotate
+Requires: rsync >= 3.1
Summary: Live Syncing (Mirror) Daemon
-License: GPL-2.0
+License: GPL-2.0-only
Group: Productivity/Networking/Other
%description
Lsyncd (Live Syncing (Mirror) Daemon) uses rsync to synchronize local directories with a remote machine running rsyncd. It watches multiple directory trees through inotify. The first step after adding the watches is to rsync all directories with the remote host, and then the software synchronizes single files by collecting the inotify events. lsyncd is a lightweight live mirror solution that should be easy to install and use while blending well with your system.
%prep
-%setup -q
-if pkg-config --atleast-version=5.3 lua; then
+%setup -q -n %{name}-release-%{version}
%patch0 -p1
-fi
+%patch1 -p1
%build
-autoreconf -fiv
export CFLAGS="%optflags"
-export LIBLUA_LIBS=$(pkg-config --libs lua)
-export LIBLUA_CFLAGS=$(pkg-config --cflags lua)
-%configure --docdir=%{_docdir}/%{name}
-%__make %{?jobs:-j%jobs}
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DCMAKE_INSTALL_MANDIR=%{_mandir}
+make %{?_smp_mflags}
%install
-%makeinstall
-%{__mkdir_p} %{buildroot}%{_sbindir}
-%{__mkdir_p} %{buildroot}%{_sysconfdir}/%{name}
-%{__mkdir_p} %{buildroot}%{_localstatedir}/log/lsyncd
+%make_install
+mkdir -p %{buildroot}/%{_sbindir} \
+ %{buildroot}/%{_sysconfdir}/%{name} \
+ %{buildroot}/%{_localstatedir}/log/lsyncd
%if %{with systemd}
-%__install -Dm 755 %{S:4} %{buildroot}%{_unitdir}/lsyncd.service
+install -Dm 644 %{S:4} %{buildroot}%{_unitdir}/lsyncd.service
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rc%{name}
-%__install -Dm 644 %{S:6} %{buildroot}%{_sysconfdir}/logrotate.d/lsyncd
+install -Dm 644 %{S:6} %{buildroot}%{_sysconfdir}/logrotate.d/lsyncd
%else
-%__install -Dm 755 %{S:1} %{buildroot}%{_initrddir}/lsyncd
+install -Dm 755 %{S:1} %{buildroot}/%{_initrddir}/lsyncd
ln -fs %{_sysconfdir}/init.d/lsyncd %{buildroot}%{_sbindir}/rc%{name}
%endif
-%__install -Dm 755 %{S:2} %{buildroot}%{_sysconfdir}/lsyncd/lsyncd.conf
-%__install -Dm 755 %{S:3} %{buildroot}%{_sysconfdir}/lsyncd/rsync_sudo.sh
-%__install -Dm 644 %{S:5} %{buildroot}%{_fillupdir}/sysconfig.%{name}
+install -Dm 644 %{S:2} %{buildroot}%{_sysconfdir}/lsyncd/lsyncd.conf
+install -Dm 755 %{S:3} %{buildroot}%{_sysconfdir}/lsyncd/rsync_sudo.sh
+install -Dm 644 %{S:5} %{buildroot}%{_fillupdir}/sysconfig.%{name}
%if %{with systemd}
%pre
@@ -119,12 +118,11 @@
%files
%defattr(-,root,root)
%doc ChangeLog COPYING
-%doc %{_defaultdocdir}/%{name}/
%{_bindir}/lsyncd
%{_mandir}/man1/lsyncd.1.gz
%if %{with systemd}
%{_unitdir}/lsyncd.service
-%{_sysconfdir}/logrotate.d/lsyncd
+%config(noreplace) %{_sysconfdir}/logrotate.d/lsyncd
%else
%{_initrddir}/lsyncd
%endif
++++++ lsyncd-lua-5_3.patch -> lsyncd-lua.patch ++++++
--- /work/SRC/openSUSE:Factory/lsyncd/lsyncd-lua-5_3.patch 2015-08-11 08:26:41.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.lsyncd.new/lsyncd-lua.patch 2018-08-02 14:58:01.884266173 +0200
@@ -1,26 +1,12 @@
-Index: lsyncd-2.1.5/configure.ac
-===================================================================
---- lsyncd-2.1.5.orig/configure.ac
-+++ lsyncd-2.1.5/configure.ac
-@@ -78,7 +78,7 @@ CPPFLAGS="${CPPFLAGS} ${LUA_CFLAGS}"
- AC_MSG_CHECKING([whether Lua library was compiled with compat support])
- AC_LINK_IFELSE(
- [AC_LANG_PROGRAM([
-- #define LUA_COMPAT_ALL
-+ #define LUA_COMPAT_5_1
- #include