commit csync2 for openSUSE:Factory
Hello community, here is the log from the commit of package csync2 for openSUSE:Factory checked in at 2019-05-28 09:42:38 Comparing /work/SRC/openSUSE:Factory/csync2 (Old) and /work/SRC/openSUSE:Factory/.csync2.new.5148 (New) Package is "csync2" Tue May 28 09:42:38 2019 rev:23 rq:705608 version:2.0+git.1542296533.b974921 Changes: --- /work/SRC/openSUSE:Factory/csync2/csync2.changes2018-08-20 16:19:07.656797667 +0200 +++ /work/SRC/openSUSE:Factory/.csync2.new.5148/csync2.changes 2019-05-28 09:42:41.365856242 +0200 @@ -1,0 +2,27 @@ +Mon May 27 08:13:02 UTC 2019 - Kristoffer Gronlund + +- Update to 2.0+git.1542296533.b974921: + * Convert documentation to asciidoc + * Add error handling for out-of-memory while parsing config file + * create_key: use all random bits; add some error handling + +- Update patches + * Add 0001-Add-COPYING-as-docfile.patch + * Add 0002-Patch-sonames.patch + * Add 0003-Set-AC_PROG_CPP-in-configure.ac.patch + * Remove add-COPYING.patch + * Remove add-ac_prog_cpp.patch + * Remove fix-sonames.patch + +--- +Mon May 27 08:13:02 UTC 2019 - Kristoffer Gronlund + +- Update patches + * Add 0001-Add-COPYING-as-docfile.patch + * Add 0002-Patch-sonames.patch + * Add 0003-Set-AC_PROG_CPP-in-configure.ac.patch + * Remove add-COPYING.patch + * Remove add-ac_prog_cpp.patch + * Remove fix-sonames.patch + +--- Old: add-COPYING.patch add-ac_prog_cpp.patch csync2-2.0+git.1529072214.b66d298.tar.bz2 fix-sonames.patch New: 0001-Add-COPYING-as-docfile.patch 0002-Patch-sonames.patch 0003-Set-AC_PROG_CPP-in-configure.ac.patch csync2-2.0+git.1542296533.b974921.tar.bz2 Other differences: -- ++ csync2.spec ++ --- /var/tmp/diff_new_pack.W3ENcG/_old 2019-05-28 09:42:43.35782 +0200 +++ /var/tmp/diff_new_pack.W3ENcG/_new 2019-05-28 09:42:43.381855544 +0200 @@ -1,7 +1,7 @@ # # spec file for package csync2 # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,12 +12,12 @@ # 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/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: csync2 -Version:2.0+git.1529072214.b66d298 +Version:2.0+git.1542296533.b974921 Release:0 Summary:Cluster synchronization tool License:GPL-2.0-or-later @@ -29,12 +29,12 @@ Source2:csync2-rm-ssl-cert Source3:csync2.socket Source4:csync2@.service -# PATCH-FIX-UPSTREAM -- add-ac_prog_cpp.patch tser...@suse.com -- fix ugly ./configure warnings about missing headers -Patch10:add-ac_prog_cpp.patch -# PATCH-FIX-UPSTREAM -- fix-sonames.patch tser...@suse.com -- use properly versioned sonames in dlopen() -Patch12:fix-sonames.patch -# PATCH-FIX-UPSTREAM -- add-COPYING.patch tser...@suse.com -- ensure COPYING is present in docfiles and thus %doc -Patch13:add-COPYING.patch +# PATCH-FIX-UPSTREAM -- tser...@suse.com -- fix ugly ./configure warnings about missing headers +Patch10:0003-Set-AC_PROG_CPP-in-configure.ac.patch +# PATCH-FIX-UPSTREAM -- tser...@suse.com -- use properly versioned sonames in dlopen() +Patch12:0002-Patch-sonames.patch +# PATCH-FIX-UPSTREAM -- tser...@suse.com -- ensure COPYING is present in docfiles and thus %doc +Patch13:0001-Add-COPYING-as-docfile.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: bison @@ -90,22 +90,17 @@ %service_add_post csync2.socket umask 077 if [ ! -f %{_sysconfdir}/csync2/csync2_ssl_key.pem ]; then -%{_bindir}/openssl genrsa -rand /proc/apm:/proc/cpuinfo:/proc/dma:/proc/filesystems:/proc/interrupts:/proc/ioports:/proc/pci:/proc/rtc:/proc/uptime 1024 > %{_sysconfdir}/csync2/csync2_ssl_key.pem 2>/dev/null + %{_bindir}/openssl genrsa -out %{_sysconfdir}/csync2/csync2_ssl_key.pem 1024 fi FQDN=`hostname` if [ "x${FQDN}" = "x" ]; then FQDN=localhost.localdomain fi if [ ! -f %{_sysconfdir}/csync2/csync2_ssl_cert.pem ]; then -cat << EOF | %{_bindir}/openssl req -new -key %{_sysconfdir}/csync2/csync2_ssl_key.pem -x509 -days 3000 -out %{_sysconfdir}/csync2/csync2_ssl_cert.pem 2>/dev/null --- -SomeState -SomeCity -SomeOrganization -SomeOrganization -SomeName -n...@example.com -EOF + yes '' | %{_bindir}/openssl req -new -key
commit csync2 for openSUSE:Factory
Hello community, here is the log from the commit of package csync2 for openSUSE:Factory checked in at 2018-08-20 16:19:05 Comparing /work/SRC/openSUSE:Factory/csync2 (Old) and /work/SRC/openSUSE:Factory/.csync2.new (New) Package is "csync2" Mon Aug 20 16:19:05 2018 rev:22 rq:629416 version:2.0+git.1529072214.b66d298 Changes: --- /work/SRC/openSUSE:Factory/csync2/csync2.changes2017-08-13 14:59:31.285999838 +0200 +++ /work/SRC/openSUSE:Factory/.csync2.new/csync2.changes 2018-08-20 16:19:07.656797667 +0200 @@ -1,0 +2,13 @@ +Wed Aug 15 14:20:12 UTC 2018 - kgronl...@suse.com + +- comparison of peer names provided via command line should not be case sensitive (bsc#1082576) +- fix for inetd stderr >& stdout +- fix log message when generating backup files, demote log level +- document -l and -N switches + +--- +Tue Aug 14 14:10:16 UTC 2018 - kgronl...@suse.com + +- Avoid systemd service removal errors when uninstalling (bsc#1093165) + +--- Old: csync2-2.0+git.1461714863.10636a4.tar.bz2 New: csync2-2.0+git.1529072214.b66d298.tar.bz2 Other differences: -- ++ csync2.spec ++ --- /var/tmp/diff_new_pack.pFo3oL/_old 2018-08-20 16:19:08.188798417 +0200 +++ /var/tmp/diff_new_pack.pFo3oL/_new 2018-08-20 16:19:08.188798417 +0200 @@ -1,7 +1,7 @@ # # spec file for package csync2 # -# 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 @@ -17,10 +17,10 @@ Name: csync2 -Version:2.0+git.1461714863.10636a4 +Version:2.0+git.1529072214.b66d298 Release:0 Summary:Cluster synchronization tool -License:GPL-2.0+ +License:GPL-2.0-or-later Group: Productivity/Clustering/HA Url:http://oss.linbit.com/csync2/ #Source0: http://oss.linbit.com/csync2/%{name}-%{version}.tar.gz @@ -109,7 +109,7 @@ fi %preun -%service_del_preun csync2.socket csync2@.service +%service_del_preun csync2.socket # Cleanup all databases upon last removal if [ $1 -eq 0 ]; then rm -f %{_localstatedir}/lib/csync2/* ++ _service ++ --- /var/tmp/diff_new_pack.pFo3oL/_old 2018-08-20 16:19:08.212798451 +0200 +++ /var/tmp/diff_new_pack.pFo3oL/_new 2018-08-20 16:19:08.212798451 +0200 @@ -1,6 +1,6 @@ -git://git.linbit.com/csync2.git +https://github.com/LINBIT/csync2.git git .git 2.0+git.%ct.%h ++ csync2-2.0+git.1461714863.10636a4.tar.bz2 -> csync2-2.0+git.1529072214.b66d298.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/csync2-2.0+git.1461714863.10636a4/check.c new/csync2-2.0+git.1529072214.b66d298/check.c --- old/csync2-2.0+git.1461714863.10636a4/check.c 2016-04-27 11:48:11.0 +0200 +++ new/csync2-2.0+git.1529072214.b66d298/check.c 2018-06-15 16:16:54.0 +0200 @@ -290,7 +290,7 @@ if ( check_type>0 && lstat_strict(prefixsubst(file), ) != 0 ) { if ( ignnoent ) return 0; csync_fatal("This should not happen: " - "Can't stat %s.\n", file); + "Can't stat %s.\n", prefixsubst(file)); } switch ( check_type ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/csync2-2.0+git.1461714863.10636a4/configure.ac new/csync2-2.0+git.1529072214.b66d298/configure.ac --- old/csync2-2.0+git.1461714863.10636a4/configure.ac 2016-04-27 11:48:11.0 +0200 +++ new/csync2-2.0+git.1529072214.b66d298/configure.ac 2018-06-15 16:16:54.0 +0200 @@ -43,7 +43,7 @@ dnl inspired by rsync's configure.ac -AC_CHECK_FUNCS(fchmod setmode open64 mkstemp64) +AC_CHECK_FUNCS(fchmod setmode open64 mkstemp64 strlcpy) AC_CACHE_CHECK([for secure mkstemp],csync_cv_HAVE_SECURE_MKSTEMP,[ AC_TRY_RUN([#include #include diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/csync2-2.0+git.1461714863.10636a4/csync2.1 new/csync2-2.0+git.1529072214.b66d298/csync2.1 --- old/csync2-2.0+git.1461714863.10636a4/csync2.1 2016-04-27 11:48:11.0 +0200 +++ new/csync2-2.0+git.1529072214.b66d298/csync2.1 2018-06-15 16:16:54.0 +0200 @@ -1,12 +1,14 @@ .\" Hey, EMACS: -*- nroff -*- -.TH CSYNC2 "1" "March 2013" "csync2 " "User Commands" +.TH CSYNC2 "1" "October 2017" "csync2 " "User Commands" .SH
commit csync2 for openSUSE:Factory
Hello community, here is the log from the commit of package csync2 for openSUSE:Factory checked in at 2017-08-13 14:59:30 Comparing /work/SRC/openSUSE:Factory/csync2 (Old) and /work/SRC/openSUSE:Factory/.csync2.new (New) Package is "csync2" Sun Aug 13 14:59:30 2017 rev:21 rq:516067 version:2.0+git.1461714863.10636a4 Changes: --- /work/SRC/openSUSE:Factory/csync2/csync2.changes2017-07-17 09:11:31.452844092 +0200 +++ /work/SRC/openSUSE:Factory/.csync2.new/csync2.changes 2017-08-13 14:59:31.285999838 +0200 @@ -1,0 +2,11 @@ +Thu Jul 19 13:46:24 UTC 2017 - tchva...@suse.com + +- Remove systemd dep in favor of systemd-rpm-macros +- Format a bit with spec-cleaner +- Add proper dependency over openssl +- Remove all the tex deps as we now reduce from 300 to 160 buildrequires +- Remove xinetd service and use only socket activation to keep + only one tool for the job + * Also remove patch csync2-fix-xinetd.patch + +--- Old: csync2-fix-xinetd.patch Other differences: -- ++ csync2.spec ++ --- /var/tmp/diff_new_pack.PGkCpO/_old 2017-08-13 14:59:32.457835378 +0200 +++ /var/tmp/diff_new_pack.PGkCpO/_new 2017-08-13 14:59:32.469833695 +0200 @@ -16,13 +16,12 @@ # -Summary:Cluster synchronization tool -License:GPL-2.0+ -Group: Productivity/Clustering/HA - Name: csync2 Version:2.0+git.1461714863.10636a4 Release:0 +Summary:Cluster synchronization tool +License:GPL-2.0+ +Group: Productivity/Clustering/HA Url:http://oss.linbit.com/csync2/ #Source0: http://oss.linbit.com/csync2/%{name}-%{version}.tar.gz Source0:%{name}-%{version}.tar.bz2 @@ -30,15 +29,12 @@ Source2:csync2-rm-ssl-cert Source3:csync2.socket Source4:csync2@.service -# PATCH-FIX-UPSTREAM -- csync2-fix-xinetd.patch tser...@suse.com -- disables csync2 in xinetd by default, fixes port. -Patch0: csync2-fix-xinetd.patch # PATCH-FIX-UPSTREAM -- add-ac_prog_cpp.patch tser...@suse.com -- fix ugly ./configure warnings about missing headers Patch10:add-ac_prog_cpp.patch # PATCH-FIX-UPSTREAM -- fix-sonames.patch tser...@suse.com -- use properly versioned sonames in dlopen() Patch12:fix-sonames.patch # PATCH-FIX-UPSTREAM -- add-COPYING.patch tser...@suse.com -- ensure COPYING is present in docfiles and thus %doc Patch13:add-COPYING.patch - BuildRequires: autoconf BuildRequires: automake BuildRequires: bison @@ -47,21 +43,13 @@ BuildRequires: librsync-devel BuildRequires: pkgconfig BuildRequires: sqlite3-devel +BuildRequires: systemd-rpm-macros +Requires: sqlite3 +Requires(post): openssl %if 0%{?suse_version} > 1320 # Conflicts with net-tools in Leap Requires(post): hostname %endif -Requires(post): openssl -Requires: sqlite3 -%if 0%{?suse_version} >= 1210 -BuildRequires: systemd -%endif -# texlive is for pdflatex to build PDF version of the manual -BuildRequires: texlive-latex -%if 0%{?suse_version} > 1220 -BuildRequires: texlive-nopageno -%endif -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Csync2 is a cluster synchronization tool. It can be used to keep files on @@ -71,25 +59,21 @@ %prep %setup -q -%{?suse_update_config:%{suse_update_config}} - -%patch0 -p1 %patch10 -p1 %patch12 -p1 %patch13 -p1 %build -export CFLAGS="%{optflags}" -if ! [ -f configure ]; then ./autogen.sh; fi -%configure --enable-sqlite3 \ - --sysconfdir=%{_sysconfdir}/csync2 --docdir=%{_docdir}/%{name} - +autoreconf -fvi +%configure \ +--enable-sqlite3 \ +--sysconfdir=%{_sysconfdir}/csync2 \ +--docdir=%{_docdir}/%{name} make %{?_smp_mflags} %install %make_install mkdir -p %{buildroot}%{_localstatedir}/lib/csync2 -install -p -D -m 644 csync2.xinetd %{buildroot}%{_sysconfdir}/xinetd.d/csync2 install -p -m 644 %{SOURCE1} %{buildroot}%{_docdir}/%{name}/README.quickstart install -p -m 755 %{SOURCE2} %{buildroot}%{_sbindir}/csync2-rm-ssl-cert mkdir -p %{buildroot}%{_unitdir} @@ -106,14 +90,14 @@ %service_add_post csync2.socket umask 077 if [ ! -f %{_sysconfdir}/csync2/csync2_ssl_key.pem ]; then -/usr/bin/openssl genrsa -rand /proc/apm:/proc/cpuinfo:/proc/dma:/proc/filesystems:/proc/interrupts:/proc/ioports:/proc/pci:/proc/rtc:/proc/uptime 1024 > %{_sysconfdir}/csync2/csync2_ssl_key.pem 2>/dev/null +%{_bindir}/openssl genrsa -rand /proc/apm:/proc/cpuinfo:/proc/dma:/proc/filesystems:/proc/interrupts:/proc/ioports:/proc/pci:/proc/rtc:/proc/uptime 1024 > %{_sysconfdir}/csync2/csync2_ssl_key.pem 2>/dev/null fi FQDN=`hostname` if [ "x${FQDN}" = "x" ]; then FQDN=localhost.localdomain fi if
commit csync2 for openSUSE:Factory
Hello community, here is the log from the commit of package csync2 for openSUSE:Factory checked in at 2017-07-17 09:11:28 Comparing /work/SRC/openSUSE:Factory/csync2 (Old) and /work/SRC/openSUSE:Factory/.csync2.new (New) Package is "csync2" Mon Jul 17 09:11:28 2017 rev:20 rq:510186 version:2.0+git.1461714863.10636a4 Changes: --- /work/SRC/openSUSE:Factory/csync2/csync2.changes2016-05-17 17:16:17.0 +0200 +++ /work/SRC/openSUSE:Factory/.csync2.new/csync2.changes 2017-07-17 09:11:31.452844092 +0200 @@ -1,0 +2,5 @@ +Thu Jul 13 11:24:17 UTC 2017 - o...@aepfle.de + +- Requires(post) hostname|openssl + +--- Other differences: -- ++ csync2.spec ++ --- /var/tmp/diff_new_pack.Gkwk9o/_old 2017-07-17 09:11:32.868644673 +0200 +++ /var/tmp/diff_new_pack.Gkwk9o/_new 2017-07-17 09:11:32.868644673 +0200 @@ -1,7 +1,7 @@ # # spec file for package csync2 # -# Copyright (c) 2016 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 @@ -45,11 +45,13 @@ BuildRequires: flex BuildRequires: libgnutls-devel BuildRequires: librsync-devel -# openssl required at build time due to rpmlint checks which run postinstall script which uses openssl -BuildRequires: openssl BuildRequires: pkgconfig BuildRequires: sqlite3-devel -Requires: openssl +%if 0%{?suse_version} > 1320 +# Conflicts with net-tools in Leap +Requires(post): hostname +%endif +Requires(post): openssl Requires: sqlite3 %if 0%{?suse_version} >= 1210 BuildRequires: systemd
commit csync2 for openSUSE:Factory
Hello community, here is the log from the commit of package csync2 for openSUSE:Factory checked in at 2016-05-17 17:16:16 Comparing /work/SRC/openSUSE:Factory/csync2 (Old) and /work/SRC/openSUSE:Factory/.csync2.new (New) Package is "csync2" Changes: --- /work/SRC/openSUSE:Factory/csync2/csync2.changes2015-03-28 18:38:41.0 +0100 +++ /work/SRC/openSUSE:Factory/.csync2.new/csync2.changes 2016-05-17 17:16:17.0 +0200 @@ -1,0 +2,20 @@ +Fri May 6 21:13:01 UTC 2016 - jeng...@inai.de + +- Avoid runtime dependency on systemd, the macros can all deal with + its absence. +- Ensure csync@.service template instances are disabled on package + removal. + +--- +Wed Apr 27 09:49:11 UTC 2016 - kgronl...@suse.com + +- Update to csync2-2.0-6-g10636a4: + - Document the -N flag to bind csync2 to a specific ip address. + - fix diff mode truncation to first 512 byte + - fix diff mode prefix substitution + +- Drop merged patches: + - Remove csync2-librsync-1.0.0.patch + - Remove fix-csync2_ssl_cert-filename.patch + +--- Old: csync2-2.0+git.1368794815.cf835a7.tar.bz2 csync2-librsync-1.0.0.patch fix-csync2_ssl_cert-filename.patch New: csync2-2.0+git.1461714863.10636a4.tar.bz2 Other differences: -- ++ csync2.spec ++ --- /var/tmp/diff_new_pack.4zXGgb/_old 2016-05-17 17:16:18.0 +0200 +++ /var/tmp/diff_new_pack.4zXGgb/_new 2016-05-17 17:16:18.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package csync2 # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -21,7 +21,7 @@ Group: Productivity/Clustering/HA Name: csync2 -Version:2.0+git.1368794815.cf835a7 +Version:2.0+git.1461714863.10636a4 Release:0 Url:http://oss.linbit.com/csync2/ #Source0: http://oss.linbit.com/csync2/%{name}-%{version}.tar.gz @@ -34,14 +34,10 @@ Patch0: csync2-fix-xinetd.patch # PATCH-FIX-UPSTREAM -- add-ac_prog_cpp.patch tser...@suse.com -- fix ugly ./configure warnings about missing headers Patch10:add-ac_prog_cpp.patch -# PATCH-FIX-UPSTREAM -- fix-csync2_ssl_cert-filename.patch tser...@suse.com -- correct csync2 ssl cert filename -Patch11:fix-csync2_ssl_cert-filename.patch # PATCH-FIX-UPSTREAM -- fix-sonames.patch tser...@suse.com -- use properly versioned sonames in dlopen() Patch12:fix-sonames.patch # PATCH-FIX-UPSTREAM -- add-COPYING.patch tser...@suse.com -- ensure COPYING is present in docfiles and thus %doc Patch13:add-COPYING.patch -# PATCH-FIX-UPSTREAM csync2-librsync-1.0.0.patch dims...@opensuse.org -- Fix build with librsync 1.0.0 -Patch14:csync2-librsync-1.0.0.patch BuildRequires: autoconf BuildRequires: automake @@ -55,7 +51,6 @@ BuildRequires: sqlite3-devel Requires: openssl Requires: sqlite3 -%{?systemd_requires} %if 0%{?suse_version} >= 1210 BuildRequires: systemd %endif @@ -64,7 +59,6 @@ %if 0%{?suse_version} > 1220 BuildRequires: texlive-nopageno %endif - BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -79,10 +73,8 @@ %patch0 -p1 %patch10 -p1 -%patch11 -p1 %patch12 -p1 %patch13 -p1 -%patch14 -p1 %build export CFLAGS="%{optflags}" @@ -131,7 +123,7 @@ fi %preun -%service_del_preun csync2.socket +%service_del_preun csync2.socket csync2@.service # Cleanup all databases upon last removal if [ $1 -eq 0 ]; then rm -f %{_localstatedir}/lib/csync2/* ++ csync2-2.0+git.1368794815.cf835a7.tar.bz2 -> csync2-2.0+git.1461714863.10636a4.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/csync2-2.0+git.1368794815.cf835a7/Makefile.am new/csync2-2.0+git.1461714863.10636a4/Makefile.am --- old/csync2-2.0+git.1368794815.cf835a7/Makefile.am 2013-08-21 06:48:24.0 +0200 +++ new/csync2-2.0+git.1461714863.10636a4/Makefile.am 2016-04-27 11:48:11.0 +0200 @@ -1,5 +1,5 @@ # csync2 - cluster synchronization tool, 2nd generation -# Copyright (C) 2004 - 2013 LINBIT Information Technologies GmbH +# Copyright (C) 2004 - 2015 LINBIT Information Technologies GmbH # http://www.linbit.com; see also AUTHORS # # This program is free software; you can redistribute it and/or modify diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/csync2-2.0+git.1368794815.cf835a7/README
commit csync2 for openSUSE:Factory
Hello community, here is the log from the commit of package csync2 for openSUSE:Factory checked in at 2015-03-28 18:38:40 Comparing /work/SRC/openSUSE:Factory/csync2 (Old) and /work/SRC/openSUSE:Factory/.csync2.new (New) Package is csync2 Changes: --- /work/SRC/openSUSE:Factory/csync2/csync2.changes2013-10-11 08:53:51.0 +0200 +++ /work/SRC/openSUSE:Factory/.csync2.new/csync2.changes 2015-03-28 18:38:41.0 +0100 @@ -1,0 +2,5 @@ +Thu Mar 26 11:25:01 UTC 2015 - dims...@opensuse.org + +- Add csync2-librsync-1.0.0.patch: Fix build with librsync 1.0.0. + +--- New: csync2-librsync-1.0.0.patch Other differences: -- ++ csync2.spec ++ --- /var/tmp/diff_new_pack.mpGoMg/_old 2015-03-28 18:38:41.0 +0100 +++ /var/tmp/diff_new_pack.mpGoMg/_new 2015-03-28 18:38:41.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package csync2 # -# Copyright (c) 2013 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 @@ -40,6 +40,8 @@ Patch12:fix-sonames.patch # PATCH-FIX-UPSTREAM -- add-COPYING.patch tser...@suse.com -- ensure COPYING is present in docfiles and thus %doc Patch13:add-COPYING.patch +# PATCH-FIX-UPSTREAM csync2-librsync-1.0.0.patch dims...@opensuse.org -- Fix build with librsync 1.0.0 +Patch14:csync2-librsync-1.0.0.patch BuildRequires: autoconf BuildRequires: automake @@ -59,7 +61,9 @@ %endif # texlive is for pdflatex to build PDF version of the manual BuildRequires: texlive-latex +%if 0%{?suse_version} 1220 BuildRequires: texlive-nopageno +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -78,6 +82,7 @@ %patch11 -p1 %patch12 -p1 %patch13 -p1 +%patch14 -p1 %build export CFLAGS=%{optflags} ++ csync2-librsync-1.0.0.patch ++ Index: csync2-2.0+git.1368794815.cf835a7/rsync.c === --- csync2-2.0+git.1368794815.cf835a7.orig/rsync.c +++ csync2-2.0+git.1368794815.cf835a7/rsync.c @@ -461,7 +461,11 @@ int csync_rs_sigfile(const char *filenam goto out; csync_debug(3, Running rs_sig_file() from librsync\n); +#ifdef RS_DEFAULT_STRONG_LEN result = rs_sig_file(basis_file, sig_file, RS_DEFAULT_BLOCK_LEN, RS_DEFAULT_STRONG_LEN, stats); +#else + result = rs_sig_file(basis_file, sig_file, RS_DEFAULT_BLOCK_LEN, 8, RS_MD4_SIG_MAGIC, stats); +#endif *sig_file_out = sig_file; sig_file = NULL; if (result != RS_DONE) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit csync2 for openSUSE:Factory
Hello community, here is the log from the commit of package csync2 for openSUSE:Factory checked in at 2013-10-11 08:53:50 Comparing /work/SRC/openSUSE:Factory/csync2 (Old) and /work/SRC/openSUSE:Factory/.csync2.new (New) Package is csync2 Changes: --- /work/SRC/openSUSE:Factory/csync2/csync2.changes2013-05-27 09:43:46.0 +0200 +++ /work/SRC/openSUSE:Factory/.csync2.new/csync2.changes 2013-10-11 08:53:51.0 +0200 @@ -1,0 +2,28 @@ +Thu Sep 26 09:07:40 UTC 2013 - tser...@suse.com + +- Ensure COPYING file is included in package + + Added add-COPYING.patch + +--- +Wed Sep 11 05:12:22 UTC 2013 - tser...@suse.com + +- Update to upstream version 2.0-rc2. Changes since 1.34 too numerous + to list, but include: + + Database abstraction layer (default build uses sqlite3) + + IPv6 support + + Native GnuTLS support + + tempdir and lock-timeout config options + + do-local-only config option for actions +- Reworked patches and extra source being carried in openSUSE: + + Added csync2.socket and csync2@.service for use via systemd + + Added add-ac_prog_cpp.patch + + Added fix-csync2_ssl_cert-filename.patch + + Added fix-sonames.patch + + Updated csync2-fix-xinetd.patch + + Updated README.quickstart + + Removed fix-missing-sentinels.diff (upstream) + + Removed csync2-1.34-pure-gnutls-r2.patch (obsolete) + + Removed force-debug-stderr-off-inetd.patch (obsolete) + + Removed bind-to-local-hostname.patch (obsolete) + +--- Old: bind-to-local-hostname.patch csync2-1.34-pure-gnutls-r2.patch csync2-1.34.tar.gz fix-missing-sentinels.diff force-debug-stderr-off-inetd.patch New: _service add-COPYING.patch add-ac_prog_cpp.patch csync2-2.0+git.1368794815.cf835a7.tar.bz2 csync2.socket csync2@.service fix-csync2_ssl_cert-filename.patch fix-sonames.patch Other differences: -- ++ csync2.spec ++ --- /var/tmp/diff_new_pack.tIB5bF/_old 2013-10-11 08:53:53.0 +0200 +++ /var/tmp/diff_new_pack.tIB5bF/_new 2013-10-11 08:53:53.0 +0200 @@ -17,75 +17,94 @@ Summary:Cluster synchronization tool -License:GPL-2.0+ and LGPL-2.1+ +License:GPL-2.0+ Group: Productivity/Clustering/HA Name: csync2 -Version:1.34 +Version:2.0+git.1368794815.cf835a7 Release:0 Url:http://oss.linbit.com/csync2/ -Source0:http://oss.linbit.com/csync2/%{name}-%{version}.tar.gz +#Source0: http://oss.linbit.com/csync2/%{name}-%{version}.tar.gz +Source0:%{name}-%{version}.tar.bz2 Source1:csync2-README.quickstart Source2:csync2-rm-ssl-cert +Source3:csync2.socket +Source4:csync2@.service +# PATCH-FIX-UPSTREAM -- csync2-fix-xinetd.patch tser...@suse.com -- disables csync2 in xinetd by default, fixes port. Patch0: csync2-fix-xinetd.patch -Patch1: fix-missing-sentinels.diff -%if 0%{?suse_version} 1120 -Patch2: csync2-1.34-pure-gnutls-r2.patch -BuildRequires: pkg-config -%endif -Patch3: force-debug-stderr-off-inetd.patch -Patch4: bind-to-local-hostname.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Requires(post): openssl -Requires: gnutls -Requires: sqlite2 -Requires: xinetd +# PATCH-FIX-UPSTREAM -- add-ac_prog_cpp.patch tser...@suse.com -- fix ugly ./configure warnings about missing headers +Patch10:add-ac_prog_cpp.patch +# PATCH-FIX-UPSTREAM -- fix-csync2_ssl_cert-filename.patch tser...@suse.com -- correct csync2 ssl cert filename +Patch11:fix-csync2_ssl_cert-filename.patch +# PATCH-FIX-UPSTREAM -- fix-sonames.patch tser...@suse.com -- use properly versioned sonames in dlopen() +Patch12:fix-sonames.patch +# PATCH-FIX-UPSTREAM -- add-COPYING.patch tser...@suse.com -- ensure COPYING is present in docfiles and thus %doc +Patch13:add-COPYING.patch + +BuildRequires: autoconf +BuildRequires: automake BuildRequires: bison BuildRequires: flex BuildRequires: libgnutls-devel -%if 0%{?sles_version} == 11 -BuildRequires: libgnutls-extra-devel -%endif -BuildRequires: libtasn1-devel -BuildRequires: sqlite2-devel -%if 0%{?suse_version} 1210 BuildRequires: librsync-devel -%else -BuildRequires: librsync +# openssl required at build time due to rpmlint checks which run postinstall script which uses openssl +BuildRequires: openssl +BuildRequires: pkgconfig +BuildRequires: sqlite3-devel +Requires: openssl +Requires: sqlite3 +%{?systemd_requires} +%if 0%{?suse_version} = 1210 +BuildRequires: systemd %endif +# texlive is for pdflatex to build
commit csync2 for openSUSE:Factory
Hello community, here is the log from the commit of package csync2 for openSUSE:Factory checked in at 2013-03-01 07:17:03 Comparing /work/SRC/openSUSE:Factory/csync2 (Old) and /work/SRC/openSUSE:Factory/.csync2.new (New) Package is csync2, Maintainer is j...@suse.com Changes: --- /work/SRC/openSUSE:Factory/csync2/csync2.changes2012-06-05 15:29:58.0 +0200 +++ /work/SRC/openSUSE:Factory/.csync2.new/csync2.changes 2013-03-01 07:17:04.0 +0100 @@ -1,0 +2,5 @@ +Thu Feb 28 06:00:00 UTC 2013 - co...@suse.com + +- update license to new format + +--- Other differences: -- ++ csync2.spec ++ --- /var/tmp/diff_new_pack.6EJEpV/_old 2013-03-01 07:17:05.0 +0100 +++ /var/tmp/diff_new_pack.6EJEpV/_new 2013-03-01 07:17:05.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package csync2 # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 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 @@ -17,7 +17,7 @@ Summary:Cluster synchronization tool -License:GPL-2.0+ ; LGPL-2.1+ +License:GPL-2.0+ and LGPL-2.1+ Group: Productivity/Clustering/HA Name: csync2 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit csync2 for openSUSE:Factory
Hello community, here is the log from the commit of package csync2 for openSUSE:Factory checked in at 2012-06-05 15:29:55 Comparing /work/SRC/openSUSE:Factory/csync2 (Old) and /work/SRC/openSUSE:Factory/.csync2.new (New) Package is csync2, Maintainer is j...@suse.com Changes: --- /work/SRC/openSUSE:Factory/csync2/csync2.changes2012-05-03 10:54:56.0 +0200 +++ /work/SRC/openSUSE:Factory/.csync2.new/csync2.changes 2012-06-05 15:29:58.0 +0200 @@ -1,0 +2,5 @@ +Mon Jun 4 08:56:27 UTC 2012 - tser...@suse.com + +- Drop requirement on libgnutls-extra-devel (unnecessary on openSUSE) + +--- Other differences: -- ++ csync2.spec ++ --- /var/tmp/diff_new_pack.hBB1Ga/_old 2012-06-05 15:30:00.0 +0200 +++ /var/tmp/diff_new_pack.hBB1Ga/_new 2012-06-05 15:30:00.0 +0200 @@ -42,7 +42,9 @@ BuildRequires: bison BuildRequires: flex BuildRequires: libgnutls-devel +%if 0%{?sles_version} == 11 BuildRequires: libgnutls-extra-devel +%endif BuildRequires: libtasn1-devel BuildRequires: sqlite2-devel %if 0%{?suse_version} 1210 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit csync2 for openSUSE:Factory
Hello community, here is the log from the commit of package csync2 for openSUSE:Factory checked in at 2012-05-03 10:54:54 Comparing /work/SRC/openSUSE:Factory/csync2 (Old) and /work/SRC/openSUSE:Factory/.csync2.new (New) Package is csync2, Maintainer is j...@suse.com Changes: --- /work/SRC/openSUSE:Factory/csync2/csync2.changes2012-02-21 12:17:04.0 +0100 +++ /work/SRC/openSUSE:Factory/.csync2.new/csync2.changes 2012-05-03 10:54:56.0 +0200 @@ -1,0 +2,6 @@ +Mon Mar 19 12:51:03 UTC 2012 - tser...@suse.com + +- Force debug output off completely when running under xinetd (fixes + protocol breakage when target directories don't exist; bnc#752563) + +--- New: force-debug-stderr-off-inetd.patch Other differences: -- ++ csync2.spec ++ --- /var/tmp/diff_new_pack.KofoEL/_old 2012-05-03 10:54:57.0 +0200 +++ /var/tmp/diff_new_pack.KofoEL/_new 2012-05-03 10:54:57.0 +0200 @@ -33,6 +33,7 @@ Patch2: csync2-1.34-pure-gnutls-r2.patch BuildRequires: pkg-config %endif +Patch3: force-debug-stderr-off-inetd.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires(post): openssl Requires: gnutls @@ -64,6 +65,7 @@ %if 0%{?suse_version} 1120 %patch2 -p1 %endif +%patch3 -p1 install -p -m 644 %{SOURCE1} README.quickstart %build ++ force-debug-stderr-off-inetd.patch ++ Index: csync2-1.34/csync2.c === --- csync2-1.34.orig/csync2.c +++ csync2-1.34/csync2.c @@ -458,6 +458,16 @@ int main(int argc, char ** argv) for (i=0; myhostname[i]; i++) myhostname[i] = tolower(myhostname[i]); + if ( mode == MODE_INETD ) { + /* Force debug level below zero when running under inetd, +* else stderr junk may be emitted back to some other host +* which breaks the protocol. One case is where a target +* directory does not exist resulting in allegations of +* I/O error during rsync write (bnc#752563) +*/ + csync_debug_level = -1; + } + /* Stand-alone server mode. This is a hack.. */ if ( mode == MODE_SERVER || mode == MODE_SINGLE ) { -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit csync2 for openSUSE:Factory
Hello community, here is the log from the commit of package csync2 for openSUSE:Factory checked in at 2012-02-21 12:17:02 Comparing /work/SRC/openSUSE:Factory/csync2 (Old) and /work/SRC/openSUSE:Factory/.csync2.new (New) Package is csync2, Maintainer is j...@suse.com Changes: --- /work/SRC/openSUSE:Factory/csync2/csync2.changes2011-10-26 15:34:53.0 +0200 +++ /work/SRC/openSUSE:Factory/.csync2.new/csync2.changes 2012-02-21 12:17:04.0 +0100 @@ -1,0 +2,5 @@ +Mon Feb 20 19:10:40 UTC 2012 - co...@suse.com + +- factory has librsync split into devel package + +--- Other differences: -- ++ csync2.spec ++ --- /var/tmp/diff_new_pack.OVXQqg/_old 2012-02-21 12:17:06.0 +0100 +++ /var/tmp/diff_new_pack.OVXQqg/_new 2012-02-21 12:17:06.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package csync2 # -# 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 @@ -17,12 +17,12 @@ Summary:Cluster synchronization tool +License:GPL-2.0+ ; LGPL-2.1+ +Group: Productivity/Clustering/HA Name: csync2 Version:1.34 -Release:2 -Group: Productivity/Clustering/HA -License:GPL-2.0+ ; LGPL-2.1+ +Release:0 Url:http://oss.linbit.com/csync2/ Source0:http://oss.linbit.com/csync2/%{name}-%{version}.tar.gz Source1:csync2-README.quickstart @@ -35,8 +35,20 @@ %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires(post): openssl -Requires: xinetd gnutls sqlite2 -BuildRequires: bison flex libgnutls-devel libgnutls-extra-devel librsync libtasn1-devel sqlite2-devel +Requires: gnutls +Requires: sqlite2 +Requires: xinetd +BuildRequires: bison +BuildRequires: flex +BuildRequires: libgnutls-devel +BuildRequires: libgnutls-extra-devel +BuildRequires: libtasn1-devel +BuildRequires: sqlite2-devel +%if 0%{?suse_version} 1210 +BuildRequires: librsync-devel +%else +BuildRequires: librsync +%endif %description Csync2 is a cluster synchronization tool. It can be used to keep files -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit csync2 for openSUSE:Factory
Hello community, here is the log from the commit of package csync2 for openSUSE:Factory checked in at 2011-12-06 18:04:55 Comparing /work/SRC/openSUSE:Factory/csync2 (Old) and /work/SRC/openSUSE:Factory/.csync2.new (New) Package is csync2, Maintainer is j...@suse.com Changes: Other differences: -- ++ csync2.spec ++ --- /var/tmp/diff_new_pack.rP35vg/_old 2011-12-06 18:07:55.0 +0100 +++ /var/tmp/diff_new_pack.rP35vg/_new 2011-12-06 18:07:55.0 +0100 @@ -22,7 +22,7 @@ Version:1.34 Release:2 Group: Productivity/Clustering/HA -License:GPLv2+ ; LGPLv2.1+ +License:GPL-2.0+ ; LGPL-2.1+ Url:http://oss.linbit.com/csync2/ Source0:http://oss.linbit.com/csync2/%{name}-%{version}.tar.gz Source1:csync2-README.quickstart -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit csync2 for openSUSE:Factory
Hello community, here is the log from the commit of package csync2 for openSUSE:Factory checked in at 2011-10-26 15:22:17 Comparing /work/SRC/openSUSE:Factory/csync2 (Old) and /work/SRC/openSUSE:Factory/.csync2.new (New) Package is csync2, Maintainer is j...@suse.com Changes: --- /work/SRC/openSUSE:Factory/csync2/csync2.changes2011-09-23 01:54:43.0 +0200 +++ /work/SRC/openSUSE:Factory/.csync2.new/csync2.changes 2011-10-26 15:34:53.0 +0200 @@ -1,0 +2,15 @@ +Wed Oct 26 09:19:16 UTC 2011 - tser...@suse.com + +- Remove explicit lib dependencies from spec file + +--- +Tue Sep 20 12:41:40 UTC 2011 - tser...@suse.com + +- Add csync2-rm-ssl-cert helper script (bnc#709811) + +--- +Sun Sep 18 00:06:31 UTC 2011 - jeng...@medozas.de + +- Remove redundant tags/sections from specfile + +--- New: csync2-rm-ssl-cert Other differences: -- ++ csync2.spec ++ --- /var/tmp/diff_new_pack.pM8SgO/_old 2011-10-26 15:34:58.0 +0200 +++ /var/tmp/diff_new_pack.pM8SgO/_new 2011-10-26 15:34:58.0 +0200 @@ -1,7 +1,7 @@ # -# spec file for package csync2 (Version 1.34) +# spec file for package csync2 # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# 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 @@ -20,12 +20,13 @@ Name: csync2 Version:1.34 -Release:1 +Release:2 Group: Productivity/Clustering/HA License:GPLv2+ ; LGPLv2.1+ Url:http://oss.linbit.com/csync2/ Source0:http://oss.linbit.com/csync2/%{name}-%{version}.tar.gz Source1:csync2-README.quickstart +Source2:csync2-rm-ssl-cert Patch0: csync2-fix-xinetd.patch Patch1: fix-missing-sentinels.diff %if 0%{?suse_version} 1120 @@ -34,7 +35,7 @@ %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires(post): openssl -Requires: xinetd libgnutls26 libgnutls-extra26 gnutls sqlite2 librsync libtasn1-3 +Requires: xinetd gnutls sqlite2 BuildRequires: bison flex libgnutls-devel libgnutls-extra-devel librsync libtasn1-devel sqlite2-devel %description @@ -44,12 +45,6 @@ detect conflicts. It is expedient for HA-clusters, HPC-clusters, COWs and server farms. - - -Authors: - -Clifford Wolf cliff...@clifford.at - %prep %setup -q %patch0 -p1 -b .fix-xinetd @@ -64,17 +59,14 @@ make %{?_smp_mflags} %install -rm -rf %{buildroot} make install DESTDIR=%{buildroot} mkdir -p %{buildroot}%{_var}/lib/csync2 install -p -D -m 644 csync2.xinetd %{buildroot}%{_sysconfdir}/xinetd.d/csync2 +install -p -m 755 %{SOURCE2} %{buildroot}%{_sbindir}/csync2-rm-ssl-cert # We need these empty files to be able to %%ghost them touch %{buildroot}%{_sysconfdir}/csync2/csync2_ssl_key.pem touch %{buildroot}%{_sysconfdir}/csync2/csync2_ssl_cert.pem -%clean -rm -rf %{buildroot} - %post umask 077 if [ ! -f %{_sysconfdir}/csync2/csync2_ssl_key.pem ]; then @@ -112,6 +104,7 @@ %ghost %config %{_sysconfdir}/csync2/csync2_ssl_cert.pem %{_sbindir}/csync2 %{_sbindir}/csync2-compare +%{_sbindir}/csync2-rm-ssl-cert %{_mandir}/man1/csync2.1* %dir %{_var}/lib/csync2/ ++ csync2-README.quickstart ++ --- /var/tmp/diff_new_pack.pM8SgO/_old 2011-10-26 15:34:58.0 +0200 +++ /var/tmp/diff_new_pack.pM8SgO/_new 2011-10-26 15:34:58.0 +0200 @@ -29,6 +29,13 @@ /etc/csync2/csync2_ssl_key.pem /etc/csync2/csync2_ssl_cert.pem +Note that the common name (CN) in each node's SSL certificate must be the +same, or the SSL connection will fail. If you ever replace a node, and its +SSL key changes, existing nodes will still have a cached copy of the old key, +and the connection will fail. To remove the old key from an existing node's +cache, run the following command on each existing node: + csync2-rm-ssl-cert replaced-hostname + The csync2 service is disabled by default. To start it on both your hosts : chkconfig csync2 on chkconfig --level 345 xinetd on ++ csync2-rm-ssl-cert ++ #!/bin/bash if [ $# -eq 0 -o $1 = -h ]; then cat END Remove a peer's SSL certificate from csync2's local database. Use this after replacing a peer node (or regenerating its SSL certificate). Usage: $0 [-h] hostname Options: -h Display this usage information END exit 0 fi DBFILE=/var/lib/csync2/$(hostname).db if [ ! -f $DBFILE ]; then