commit lsyncd for openSUSE:Factory

2018-08-02 Thread root
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.changes2018-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 - jeng...@inai.de
+
+- Replace %__-type macro indirections. Use %_smp_mflags for
+  parallel build.
+
+---
+Thu Apr 26 11:29:18 UTC 2018 - ec...@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

commit lsyncd for openSUSE:Factory

2018-04-27 Thread root
Hello community,

here is the log from the commit of package lsyncd for openSUSE:Factory checked 
in at 2018-04-27 16:09:01

Comparing /work/SRC/openSUSE:Factory/lsyncd (Old)
 and  /work/SRC/openSUSE:Factory/.lsyncd.new (New)


Package is "lsyncd"

Fri Apr 27 16:09:01 2018 rev:15 rq:601610 version:2.1.5

Changes:

--- /work/SRC/openSUSE:Factory/lsyncd/lsyncd.changes2018-02-06 
16:49:03.776324455 +0100
+++ /work/SRC/openSUSE:Factory/.lsyncd.new/lsyncd.changes   2018-04-27 
16:09:11.330584519 +0200
@@ -1,0 +2,5 @@
+Tue Apr 17 13:48:00 UTC 2018 - mikhail.kasi...@gmail.com
+
+- Updated path to lsyncd.conf for lsyncd.service and lsyncd.sysconfig
+(boo#975118)
+---



Other differences:
--
++ lsyncd.service ++
--- /var/tmp/diff_new_pack.cMbShu/_old  2018-04-27 16:09:11.982560607 +0200
+++ /var/tmp/diff_new_pack.cMbShu/_new  2018-04-27 16:09:11.982560607 +0200
@@ -6,7 +6,7 @@
 Type=simple
 Nice=19
 EnvironmentFile=-/etc/sysconfig/lsyncd
-ExecStart=/usr/bin/sh -c 'eval `/usr/bin/lsyncd -nodaemon $LSYNCD_OPTIONS 
/etc/lsyncd.conf`'
+ExecStart=/usr/bin/sh -c 'eval `/usr/bin/lsyncd -nodaemon $LSYNCD_OPTIONS 
/etc/lsyncd/lsyncd.conf`'
 
 [Install]
 WantedBy=multi-user.target

++ lsyncd.sysconfig ++
--- /var/tmp/diff_new_pack.cMbShu/_old  2018-04-27 16:09:12.002559873 +0200
+++ /var/tmp/diff_new_pack.cMbShu/_new  2018-04-27 16:09:12.006559727 +0200
@@ -1,6 +1,6 @@
 # Keep the space there for systemd. Don't nest variables without
 # changing the systemd service file to use: /usr/bin/sh -c 'eval '
 #
-#LSYNCD_OPTIONS="-pidfile /run/lsyncd.pid /etc/lsyncd.conf"
+#LSYNCD_OPTIONS="-pidfile /run/lsyncd.pid /etc/lsyncd/lsyncd.conf"
 
 #LSYNCD_OPTIONS=" "




commit lsyncd for openSUSE:Factory

2018-02-06 Thread root
Hello community,

here is the log from the commit of package lsyncd for openSUSE:Factory checked 
in at 2018-02-06 16:48:52

Comparing /work/SRC/openSUSE:Factory/lsyncd (Old)
 and  /work/SRC/openSUSE:Factory/.lsyncd.new (New)


Package is "lsyncd"

Tue Feb  6 16:48:52 2018 rev:14 rq:572994 version:2.1.5

Changes:

--- /work/SRC/openSUSE:Factory/lsyncd/lsyncd.changes2017-05-20 
10:11:01.306276744 +0200
+++ /work/SRC/openSUSE:Factory/.lsyncd.new/lsyncd.changes   2018-02-06 
16:49:03.776324455 +0100
@@ -1,0 +2,6 @@
+Thu Nov 23 13:51:52 UTC 2017 - rbr...@suse.com
+
+- Replace references to /var/adm/fillup-templates with new 
+  %_fillupdir macro (boo#1069468)
+
+---



Other differences:
--
++ lsyncd.spec ++
--- /var/tmp/diff_new_pack.C20zw7/_old  2018-02-06 16:49:04.652283467 +0100
+++ /var/tmp/diff_new_pack.C20zw7/_new  2018-02-06 16:49:04.672282532 +0100
@@ -16,6 +16,11 @@
 #
 
 
+#Compat macro for new _fillupdir macro introduced in Nov 2017
+%if ! %{defined _fillupdir}
+  %define _fillupdir /var/adm/fillup-templates
+%endif
+
 %if 0%{?suse_version} > 1230
 %bcond_without systemd
 %else
@@ -83,7 +88,7 @@
 %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}%{_var}/adm/fillup-templates/sysconfig.%{name}
+%__install -Dm 644 %{S:5} %{buildroot}%{_fillupdir}/sysconfig.%{name}
 
 %if %{with systemd}
 %pre
@@ -128,6 +133,6 @@
 %config(noreplace) %{_sysconfdir}/%{name}/lsyncd.conf
 %config(noreplace) %{_sysconfdir}/%{name}/rsync_sudo.sh
 %dir %{_localstatedir}/log/%{name}
-%{_var}/adm/fillup-templates/sysconfig.%{name}
+%{_fillupdir}/sysconfig.%{name}
 
 %changelog




commit lsyncd for openSUSE:Factory

2017-05-20 Thread root
Hello community,

here is the log from the commit of package lsyncd for openSUSE:Factory checked 
in at 2017-05-20 10:10:59

Comparing /work/SRC/openSUSE:Factory/lsyncd (Old)
 and  /work/SRC/openSUSE:Factory/.lsyncd.new (New)


Package is "lsyncd"

Sat May 20 10:10:59 2017 rev:13 rq:495453 version:2.1.5

Changes:

--- /work/SRC/openSUSE:Factory/lsyncd/lsyncd.changes2015-08-11 
08:26:41.0 +0200
+++ /work/SRC/openSUSE:Factory/.lsyncd.new/lsyncd.changes   2017-05-20 
10:11:01.306276744 +0200
@@ -1,0 +2,6 @@
+Wed Mar 15 16:37:02 UTC 2017 - dims...@opensuse.org
+
+- Explicitly package files installed by make install into _docdir:
+  rpm 4.13 no longer implicitly packages those files.
+
+---



Other differences:
--
++ lsyncd.spec ++
--- /var/tmp/diff_new_pack.Q1DMX8/_old  2017-05-20 10:11:01.914190849 +0200
+++ /var/tmp/diff_new_pack.Q1DMX8/_new  2017-05-20 10:11:01.918190284 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package lsyncd
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -114,6 +114,7 @@
 %files
 %defattr(-,root,root)
 %doc ChangeLog COPYING
+%doc %{_defaultdocdir}/%{name}/
 %{_bindir}/lsyncd
 %{_mandir}/man1/lsyncd.1.gz
 %if %{with systemd}




commit lsyncd for openSUSE:Factory

2015-08-10 Thread h_root
Hello community,

here is the log from the commit of package lsyncd for openSUSE:Factory checked 
in at 2015-08-11 08:26:40

Comparing /work/SRC/openSUSE:Factory/lsyncd (Old)
 and  /work/SRC/openSUSE:Factory/.lsyncd.new (New)


Package is "lsyncd"

Changes:

--- /work/SRC/openSUSE:Factory/lsyncd/lsyncd.changes2013-04-08 
14:53:48.0 +0200
+++ /work/SRC/openSUSE:Factory/.lsyncd.new/lsyncd.changes   2015-08-11 
08:26:41.0 +0200
@@ -1,0 +2,32 @@
+Thu Jul 30 09:58:39 UTC 2015 - dims...@opensuse.org
+
+- Add lsyncd-lua-5_3.patch: Fix build with LUA 5.3.
+
+---
+Fri Jun  5 22:32:26 UTC 2015 - p.drou...@gmail.com
+
+- Remove scriptlets pre/post on systems with sysvinit support.
+
+---
+Sun Mar  1 13:59:17 UTC 2015 - p.drou...@gmail.com
+
+- Update to version 2.1.5
+  * enhancement: Added rsync options: bwlimit, timeout
+  * fix: Specifying ssh port no longer overwrites the last rsync option
+  * fix: rsync option password_file is now accepted
+  * fix: onAttrib is accepted again
+  * fix: -log Exec now prints now fully all arguments
+  * fix: configure script lua detection now includes math lib to workaround 
+wrongly created "needs COMPAT_ALL" messages.
+  * fix: repaired variable replacement for layer 3 scripts
+  * fix: config.delay is now checked to a number >= 0
+  * change: a2x is no longer checked by configure script. should not be
+needed when building from tarball
+- Use download Url as source
+- Add sysconfig config script support for init scripts
+- Fix sysvinit script to be able to use sysconfig options
+- Add systemd support for openSUSE > 13.2
+- Add required macros to support correctly sysvinit script
+- Remove redundant %clean section
+
+---

Old:

  lsyncd-2.1.4.tar.gz

New:

  lsyncd-2.1.5.tar.gz
  lsyncd-lua-5_3.patch
  lsyncd.logrotate
  lsyncd.service
  lsyncd.sysconfig



Other differences:
--
++ lsyncd.spec ++
--- /var/tmp/diff_new_pack.9tE78u/_old  2015-08-11 08:26:42.0 +0200
+++ /var/tmp/diff_new_pack.9tE78u/_new  2015-08-11 08:26:42.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package lsyncd
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -16,23 +16,36 @@
 #
 
 
+%if 0%{?suse_version} > 1230
+%bcond_without systemd
+%else
+%bcond_withsystemd
+%endif
+
 Name:   lsyncd
-Version:2.1.4
+Version:2.1.5
 Release:0
 Url:http://code.google.com/p/lsyncd/
-Source0:%{name}-%{version}.tar.gz
+Source0:http://lsyncd.googlecode.com/files/%{name}-%{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
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version}
+BuildRequires:  asciidoc
+BuildRequires:  automake
+BuildRequires:  lua-devel >= 5.1
 BuildRequires:  pkg-config
+%if %{with systemd}
+%{?systemd_requires}
+BuildRequires:  systemd-rpm-macros
 %else
-BuildRequires:  pkgconfig
+PreReq: %insserv_prereq 
 %endif
-BuildRequires:  automake
-BuildRequires:  asciidoc
-BuildRequires:  lua-devel >= 5.1
+PreReq: %fillup_prereq
 Requires:   rsync
 Summary:Live Syncing (Mirror) Daemon
 License:GPL-2.0
@@ -43,6 +56,9 @@
 
 %prep
 %setup -q
+if pkg-config --atleast-version=5.3 lua; then
+%patch0 -p1
+fi
 
 %build
 autoreconf -fiv
@@ -54,25 +70,63 @@
 
 %install
 %makeinstall
-%{__mkdir_p} %{buildroot}%{_docdir}/%{name}
+%{__mkdir_p} %{buildroot}%{_sbindir}
 %{__mkdir_p} %{buildroot}%{_sysconfdir}/%{name}
 %{__mkdir_p} %{buildroot}%{_localstatedir}/log/lsyncd
+%if %{with systemd}
+%__install -Dm 755 %{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
+%else
 %__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}%{_var}/adm/fillup-templates/sysconfig.%{name}
 
-%clean
-test "%{buildroot}" != "/

commit lsyncd for openSUSE:Factory

2013-04-08 Thread h_root
Hello community,

here is the log from the commit of package lsyncd for openSUSE:Factory checked 
in at 2013-04-08 14:53:46

Comparing /work/SRC/openSUSE:Factory/lsyncd (Old)
 and  /work/SRC/openSUSE:Factory/.lsyncd.new (New)


Package is "lsyncd", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/lsyncd/lsyncd.changes2012-11-12 
16:05:20.0 +0100
+++ /work/SRC/openSUSE:Factory/.lsyncd.new/lsyncd.changes   2013-04-08 
14:53:48.0 +0200
@@ -1,0 +2,6 @@
+Wed Feb  6 11:33:44 UTC 2013 - e.isto...@edss.ee
+
+- update to 2.1.4
+- remove lua 5.2 patch (https://github.com/axkibe/lsyncd/pull/148)
+
+---

Old:

  lsyncd-2.0.7.tar.gz
  lsyncd-lua52.patch

New:

  lsyncd-2.1.4.tar.gz



Other differences:
--
++ lsyncd.spec ++
--- /var/tmp/diff_new_pack.XnFPjn/_old  2013-04-08 14:53:50.0 +0200
+++ /var/tmp/diff_new_pack.XnFPjn/_new  2013-04-08 14:53:50.0 +0200
@@ -17,10 +17,10 @@
 
 
 Name:   lsyncd
-Version:2.0.7
+Version:2.1.4
 Release:0
 Url:http://code.google.com/p/lsyncd/
-Source0:http://lsyncd.googlecode.com/files/%{name}-%{version}.tar.gz
+Source0:%{name}-%{version}.tar.gz
 Source1:%{name}-init.d
 Source2:%{name}.conf
 Source3:rsync_sudo.sh
@@ -31,19 +31,18 @@
 BuildRequires:  pkgconfig
 %endif
 BuildRequires:  automake
+BuildRequires:  asciidoc
 BuildRequires:  lua-devel >= 5.1
 Requires:   rsync
 Summary:Live Syncing (Mirror) Daemon
 License:GPL-2.0
 Group:  Productivity/Networking/Other
-Patch:  lsyncd-lua52.patch
 
 %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
-%patch
 
 %build
 autoreconf -fiv

++ lsyncd-2.0.7.tar.gz -> lsyncd-2.1.4.tar.gz ++
 15594 lines of diff (skipped)

++ lsyncd-init.d ++
--- /var/tmp/diff_new_pack.XnFPjn/_old  2013-04-08 14:53:50.0 +0200
+++ /var/tmp/diff_new_pack.XnFPjn/_new  2013-04-08 14:53:50.0 +0200
@@ -2,8 +2,8 @@
 #
 ### BEGIN INIT INFO
 # Provides:lsyncd
-# Required-Start:
-# Required-Stop:
+# Required-Start:   $local_fs $remote_fs $network
+# Required-Stop:$local_fs $remote_fs $network
 # Default-Start:3 5
 # Default-Stop:0 1 2 6
 # Short-Description:Start lsyncd

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit lsyncd for openSUSE:Factory

2012-11-12 Thread h_root
Hello community,

here is the log from the commit of package lsyncd for openSUSE:Factory checked 
in at 2012-11-12 16:05:17

Comparing /work/SRC/openSUSE:Factory/lsyncd (Old)
 and  /work/SRC/openSUSE:Factory/.lsyncd.new (New)


Package is "lsyncd", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/lsyncd/lsyncd.changes2012-03-20 
11:30:26.0 +0100
+++ /work/SRC/openSUSE:Factory/.lsyncd.new/lsyncd.changes   2012-11-12 
16:05:20.0 +0100
@@ -1,0 +2,5 @@
+Tue Oct  9 01:45:43 UTC 2012 - crrodrig...@opensuse.org
+
+- Build against LUA 5.2  
+
+---

Old:

  lsyncd-2.0.5.tar.gz

New:

  lsyncd-2.0.7.tar.gz
  lsyncd-lua52.patch



Other differences:
--
++ lsyncd.spec ++
--- /var/tmp/diff_new_pack.7yoivb/_old  2012-11-12 16:05:21.0 +0100
+++ /var/tmp/diff_new_pack.7yoivb/_new  2012-11-12 16:05:21.0 +0100
@@ -15,11 +15,12 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:   lsyncd
-Version:2.0.5
+Version:2.0.7
 Release:0
 Url:http://code.google.com/p/lsyncd/
-Source0:%{name}-%{version}.tar.gz
+Source0:http://lsyncd.googlecode.com/files/%{name}-%{version}.tar.gz
 Source1:%{name}-init.d
 Source2:%{name}.conf
 Source3:rsync_sudo.sh
@@ -29,23 +30,24 @@
 %else
 BuildRequires:  pkgconfig
 %endif
-%if 0%{?suse_version} > 1210
-BuildRequires:  lua51-devel
-%else
+BuildRequires:  automake
 BuildRequires:  lua-devel >= 5.1
-%endif
 Requires:   rsync
 Summary:Live Syncing (Mirror) Daemon
 License:GPL-2.0
 Group:  Productivity/Networking/Other
+Patch:  lsyncd-lua52.patch
 
 %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
+%patch
 
 %build
+autoreconf -fiv
+export CFLAGS="%optflags"
 export LIBLUA_LIBS=$(pkg-config --libs lua)
 export LIBLUA_CFLAGS=$(pkg-config --cflags lua)
 %configure --docdir=%{_docdir}/%{name}

++ lsyncd-2.0.5.tar.gz -> lsyncd-2.0.7.tar.gz ++
 19857 lines of diff (skipped)

++ lsyncd-lua52.patch ++
--- lsyncd.h.orig
+++ lsyncd.h
@@ -23,9 +23,19 @@
 #include 
 #include 
 
-#define LUA_USE_APICHECK 1
+#define LUA_COMPAT_ALL
 #include 
 
+#ifndef luaL_Reg
+/* Lua 5.0 */
+#define luaL_Reg luaL_reg
+#endif
+
+#ifndef lua_open
+#define lua_open luaL_newstate
+#endif
+
+
 /**
  * Lsyncd runtime configuration
  */
--- configure.ac.orig
+++ configure.ac
@@ -6,7 +6,9 @@ AC_CONFIG_SRCDIR([lsyncd.c])
 AC_CONFIG_HEADER([config.h])
 AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
 # Checks for programs.
-AC_PROG_CC
+AC_PROG_CC_STDC
+AC_USE_SYSTEM_EXTENSIONS
+AC_SYS_LARGEFILE
 AC_PROG_INSTALL
 AC_PROG_MAKE_SET
 
--- Makefile.am.orig
+++ Makefile.am
@@ -1,7 +1,8 @@
 AUTOMAKE_OPTIONS = foreign
-CFLAGS += -Wall $(LUA_CFLAGS)
+AM_CFLAGS = -Wall $(LUA_CFLAGS)
 bin_PROGRAMS = lsyncd
-lsyncd_SOURCES = lsyncd.h lsyncd.c lsyncd.lua default-rsync.lua
+BUILT_SOURCES = runner.c defaults.c
+lsyncd_SOURCES = lsyncd.h lsyncd.c runner.c defaults.c lsyncd.lua 
default-rsync.lua
 
 if INOTIFY
 lsyncd_SOURCES += inotify.c
@@ -39,8 +40,6 @@ doc/lsyncd.1: doc/lsyncd.1.txt
 
 CLEANFILES = runner.out defaults.out runner.c defaults.c
 
-# compiles the runner and the defaults into the binary
-lsyncd_LDADD += runner.o defaults.o
 
 runner.o: runner.c
 defaults.o: defaults.c
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit lsyncd for openSUSE:Factory

2012-03-20 Thread h_root
Hello community,

here is the log from the commit of package lsyncd for openSUSE:Factory checked 
in at 2012-03-20 11:29:12

Comparing /work/SRC/openSUSE:Factory/lsyncd (Old)
 and  /work/SRC/openSUSE:Factory/.lsyncd.new (New)


Package is "lsyncd", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/lsyncd/lsyncd.changes2011-09-23 
02:12:11.0 +0200
+++ /work/SRC/openSUSE:Factory/.lsyncd.new/lsyncd.changes   2012-03-20 
11:30:26.0 +0100
@@ -1,0 +2,34 @@
+Sun Feb 26 16:02:41 CET 2012 - dmuel...@suse.de
+
+- fix build in factory (build against lua 5.1) 
+
+---
+Mon Nov 28 09:58:02 UTC 2011 - eugene.isto...@edss.ee
+- update to 2.0.5
+  * fix: Lsyncd will now terminate if it inotify watching exceeds 
+its preset limit.
+  * fix: rsync error exit code 12 now results in retries.
+  * fix: Lsyncd 2.0.5 should now compile better on a bit elder 
+GNU/Linux versions.
+  * fix: examples are now installed in the configured document directory.
+  * fix: partial transfers during startup are considered ok. Lsyncd 
+will rework the specified files anyway.
+  * change: Layer 1 interface init() now receives an "Init" event 
+instead of an inlet.
+  * change: builtin Lua code is now loaded via a c-array.Now more 
+portable and correct memory flags are set.
+  * change: Lsyncd will now bail on unknown error codes.
+  * enhancement: settings.maxProcesses can now be set as a global limit of 
childprocesses
+  * enhancement: Lsyncd will refuse to start when any startup rsync 
+does not work cleanly and returns "again" unless settings.insist or
+--insist is specified, then Lsyncd will keep retrying until it works.
+  * enhancement: option "rsyncBinary" determines which rsync Lsyncd calls.
+Default is "/usr/bin/rsync"
+  * enhancement: fsevents ("inotify for OSX") fixed for Snowleopard.
+and is available to configure by default.
+  * enhancement: settings.inotifyMode: the actualy Modification event
+Lsyncd reacts to can now be configured. Default is to react on
+file closing in write mode.
+  * enhancement: readdir(path) is available to userscripts, reads the contents
+of a directory.
+---

Old:

  lsyncd-2.0.4.tar.bz2

New:

  lsyncd-2.0.5.tar.gz
  lsyncd-init.d
  lsyncd.conf
  rsync_sudo.sh



Other differences:
--
++ lsyncd.spec ++
--- /var/tmp/diff_new_pack.d0tY44/_old  2012-03-20 11:30:28.0 +0100
+++ /var/tmp/diff_new_pack.d0tY44/_new  2012-03-20 11:30:28.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package lsyncd
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,26 +15,29 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
-
 Name:   lsyncd
-Version:2.0.4
-Release:1
-License:GPL-2.0
-Group:  Productivity/Networking/Other
+Version:2.0.5
+Release:0
 Url:http://code.google.com/p/lsyncd/
-Source0:%{name}-%{version}.tar.bz2
+Source0:%{name}-%{version}.tar.gz
+Source1:%{name}-init.d
+Source2:%{name}.conf
+Source3:rsync_sudo.sh
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}
 BuildRequires:  pkg-config
 %else
 BuildRequires:  pkgconfig
 %endif
-#BuildRequires:  pkgconfig(lua) >= 5.1
+%if 0%{?suse_version} > 1210
+BuildRequires:  lua51-devel
+%else
 BuildRequires:  lua-devel >= 5.1
+%endif
 Requires:   rsync
 Summary:Live Syncing (Mirror) Daemon
+License:GPL-2.0
+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.
@@ -51,8 +54,11 @@
 %install
 %makeinstall
 %{__mkdir_p} %{buildroot}%{_docdir}/%{name}
-mv %{buildroot}%{_datadir}/doc/%{name}/* %{buildroot}%{_docdir}/%{name}
-rm -rf %{buildroot}%{_datadir}/doc/%{name}
+%{__mkdir_p} %{buildroot}%{_sysconfdir}/%{name}
+%{__mkdir_p} %{buildroot}%{_localstatedir}/log/lsyncd
+%__install -Dm 755 %{S:1} 

commit lsyncd for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package lsyncd for openSUSE:Factory checked 
in at 2011-12-06 18:27:19

Comparing /work/SRC/openSUSE:Factory/lsyncd (Old)
 and  /work/SRC/openSUSE:Factory/.lsyncd.new (New)


Package is "lsyncd", Maintainer is ""

Changes:




Other differences:
--
++ lsyncd.spec ++
--- /var/tmp/diff_new_pack.IBeGt8/_old  2011-12-06 18:49:00.0 +0100
+++ /var/tmp/diff_new_pack.IBeGt8/_new  2011-12-06 18:49:00.0 +0100
@@ -21,7 +21,7 @@
 Name:   lsyncd
 Version:2.0.4
 Release:1
-License:GPLv2
+License:GPL-2.0
 Group:  Productivity/Networking/Other
 Url:http://code.google.com/p/lsyncd/
 Source0:%{name}-%{version}.tar.bz2

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit lsyncd for openSUSE:Factory

2011-05-12 Thread h_root

Hello community,

here is the log from the commit of package lsyncd for openSUSE:Factory
checked in at Thu May 12 09:24:15 CEST 2011.




New Changes file:

--- /dev/null   2010-08-26 16:28:41.0 +0200
+++ /mounts/work_src_done/STABLE/lsyncd/lsyncd.changes  2011-03-28 
13:34:01.0 +0200
@@ -0,0 +1,59 @@
+---
+Mon Mar 28 11:29:46 UTC 2011 - dmacvi...@suse.de
+
+- update to 2.0.4
+  * enhancement: new setting options logident, logfacility 
+  * fix: moving filenames with spaces through ssh 
+  * fix: excludes containing chars % $ ( ) . [ ] + - 
+  * fix: various typos 
+  * change: api, settings.statusInterval instead of 
+   settings.statusIntervall 
+
+---
+Tue Mar  8 09:00:01 UTC 2011 - dmacvi...@suse.de
+
+- update to 2.0.3
+  * enhancement: new default target --direct using /bin/ binaries
+to keep to local dirs in sync (and by default
+not preserving ownership)
+  * example: added a new example how to remotely execute a command
+after each rsync operations
+  * fix: possible crash with long rsyncOps table exceeding lua stack.
+  * fix: excludes now properly match relative and absolute paths
+  * fix: call to nil function when manually adding blanket delays
+  * fix: on ReiserFS not delivering proper dir stats and when
+encountering a symlink, aquire the node stat for the symlink
+instead from the linked node.
+  * change: leave lua apichecking enabled by default.
+
+---
+Fri Jan 21 07:47:38 UTC 2011 - dmacvi...@suse.de
+
+- update to 2.0.2
+  * fix: exclude rules not terminated with '/' now match a file or dir
+  named exactly the same not starting with.
+  * fix: pass exclude rules to the startup sync
+  * fix: when matching exclusion to not add inotify use same partial path
+than on syncs
+  * fix: properly close pipes that needed more than one write.
+- 2.0.1 changes
+  * most important fix: The garbage collector in 2.0.0 was able to
+remove event lists just at the wrong moment so an "agent unknown"
+error was raised.
+  * fixed: The pid in the pidfile should be now the pid after the deamon
+fork() and not the pid initiators pid.
+  * improved: You can now specify multiple command-line options in
+rsyncOps by using a table. eg. rsyncOps = {"--lts", "--safe-links"}
+
+---
+Thu Dec  2 13:18:29 UTC 2010 - dmacvi...@suse.de
+
+- update to 2.0.0 final
+
+---
+Fri Nov 26 15:06:35 UTC 2010 - dmacvi...@suse.de
+
+- update to 2.0beta3
+
+
+

calling whatdependson for head-i586


New:

  lsyncd-2.0.4.tar.bz2
  lsyncd.changes
  lsyncd.spec



Other differences:
--
++ lsyncd.spec ++
#
# spec file for package lsyncd
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:   lsyncd
Version:2.0.4
Release:1
License:GPLv2
Group:  Productivity/Networking/Other
Url:http://code.google.com/p/lsyncd/
Source0:%{name}-%{version}.tar.bz2
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version}
BuildRequires:  pkg-config
%else
BuildRequires:  pkgconfig
%endif
#BuildRequires:  pkgconfig(lua) >= 5.1
BuildRequires:  lua-devel >= 5.1
Requires:   rsync
Summary:Live Syncing (Mirror) Daemon

%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

%build
export LIBLUA_LIBS=$(pkg-config --libs lua)
export LIBLUA_CFLAGS=$(pkg-config --cflags lua)
%configure --docdir=%{_docdir}/%{name}
%__make %{?jobs:-j%jobs}

%install
%makeinstall
%{__mkdir_p} %{buildroot}%{_docdir}/%{name}
mv %{buil