commit librsync for openSUSE:Factory

2020-08-17 Thread root
Hello community,

here is the log from the commit of package librsync for openSUSE:Factory 
checked in at 2020-08-17 12:03:56

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


Package is "librsync"

Mon Aug 17 12:03:56 2020 rev:26 rq:826924 version:2.3.1

Changes:

--- /work/SRC/openSUSE:Factory/librsync/librsync.changes2019-09-13 
15:04:12.221270954 +0200
+++ /work/SRC/openSUSE:Factory/.librsync.new.3399/librsync.changes  
2020-08-17 12:04:35.802668060 +0200
@@ -1,0 +2,26 @@
+Sun Aug 16 01:03:59 UTC 2020 - Dirk Mueller 
+
+- udpate to 2.3.1:
+ * Improved cmake popt handling to find popt dependencies using PkgConfig.
+ * Tidied internal code and improved tests for netint.[ch], tube.c, and
+   hashtable.h.
+ * Improved C99 compatibility. Add `-std=c99 -pedantic` to `CMAKE_C_FLAGS` for
+   gcc and clang. Fix all C99 warnings by making all code C99 compliant. Tidy
+   all CMake checks, `#cmakedefines`, and `#includes`. Fix 64bit support for
+   mdfour checksums (texierp, dbaarda,
+ * Usage clarified in rdiff (1) man page. (AaronM04,
+ * Fix #176 hangs calculating deltas for files larger than 4GB.
+ * Add RabinKarp rollsum support and make it the default. RabinKarp is a much
+   better rolling hash, which reduces the risk of hash collision corruption
+   and speeds up delta calculations. The rdiff cmd gets a new `-R
+   (rollsum|rabinkarp)` argument with the default being `rabinkarp`, Use `-R
+   rollsum` to generate backwards-compatible signatures. (dbaarda,
+   https://github.com/librsync/librsync/issues/3)
+ * Use single-byte literal commands for small inserts in deltas. This makes
+   each small insert use 1 less byte in deltas. (dbaarda,
+   https://github.com/librsync/librsync/issues/120)
+ * Change rs_file_size() to report -1 instead of 0 for unknown file sizes
+ * Add cmake BUILD_SHARED_LIBS option for static library support.
+ * Fix compile errors and add .gitignore entries for MSVS 2019. Fixes
+
+---

Old:

  v2.1.0.tar.gz

New:

  v2.3.1.tar.gz



Other differences:
--
++ librsync.spec ++
--- /var/tmp/diff_new_pack.GMGU9L/_old  2020-08-17 12:04:39.102669899 +0200
+++ /var/tmp/diff_new_pack.GMGU9L/_new  2020-08-17 12:04:39.106669902 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package librsync
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %define lname   librsync2
 Name:   librsync
-Version:2.1.0
+Version:2.3.1
 Release:0
 Summary:A Library for Generating Network Deltas
 License:LGPL-2.1-or-later

++ v2.1.0.tar.gz -> v2.3.1.tar.gz ++
 5623 lines of diff (skipped)




commit librsync for openSUSE:Factory

2019-09-13 Thread root
Hello community,

here is the log from the commit of package librsync for openSUSE:Factory 
checked in at 2019-09-13 15:02:38

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


Package is "librsync"

Fri Sep 13 15:02:38 2019 rev:25 rq:730530 version:2.1.0

Changes:

--- /work/SRC/openSUSE:Factory/librsync/librsync.changes2015-04-05 
02:02:46.0 +0200
+++ /work/SRC/openSUSE:Factory/.librsync.new.7948/librsync.changes  
2019-09-13 15:04:12.221270954 +0200
@@ -1,0 +2,11 @@
+Fri Sep 13 07:20:41 UTC 2019 - Tomáš Chvátal 
+
+- Update to 2.1.0:
+- Remove no longer applicable patches:
+  * blake2-config.patch
+  * librsync-0.9.7-getopt.patch
+  * librsync-0.9.7-strictalias.diff
+  * librsync-exports.patch
+  * librsync-man-example.diff
+
+---

Old:

  blake2-config.patch
  librsync-0.9.7-getopt.patch
  librsync-0.9.7-strictalias.diff
  librsync-exports.patch
  librsync-man-example.diff
  v1.0.0.tar.gz

New:

  v2.1.0.tar.gz



Other differences:
--
++ librsync.spec ++
--- /var/tmp/diff_new_pack.jQsieu/_old  2019-09-13 15:04:13.797270619 +0200
+++ /var/tmp/diff_new_pack.jQsieu/_new  2019-09-13 15:04:13.801270618 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package librsync
 #
-# Copyright (c) 2015 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,29 +12,24 @@
 # 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/
 #
 
 
 %define lname   librsync2
 Name:   librsync
-Version:1.0.0
+Version:2.1.0
 Release:0
 Summary:A Library for Generating Network Deltas
-License:LGPL-2.1+
+License:LGPL-2.1-or-later
 Group:  Development/Libraries/C and C++
-Url:http://librsync.sourceforge.net/
+URL:https://github.com/librsync/librsync
 Source: https://github.com/librsync/%{name}/archive/v%{version}.tar.gz
-Patch0: librsync-0.9.7-strictalias.diff
-Patch1: librsync-man-example.diff
-Patch2: librsync-0.9.7-getopt.patch
-Patch3: librsync-exports.patch
-Patch4: blake2-config.patch
-BuildRequires:  libbz2-devel
-BuildRequires:  libtool
-BuildRequires:  popt-devel
-BuildRequires:  zlib-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  cmake
+BuildRequires:  pkgconfig
+BuildRequires:  pkgconfig(bzip2)
+BuildRequires:  pkgconfig(popt)
+BuildRequires:  pkgconfig(zlib)
 
 %description
 librsync implements the "rsync" algorithm, which allows remote
@@ -44,8 +39,8 @@
 
 %package -n %{lname}
 Summary:A Library for Generating Network Deltas
-Group:  System/Libraries
 # O/P added 2011-11-26
+Group:  System/Libraries
 Obsoletes:  librsync < %{version}-%{release}
 Provides:   librsync = %{version}-%{release}
 
@@ -75,44 +70,33 @@
 
 %prep
 %setup -q
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
 
 %build
-autoreconf -fvi
-%configure \
-   --enable-shared \
-   --disable-static \
-   --with-pic
-make %{?_smp_mflags}
+%cmake \
+  -DENABLE_COMPRESSION=ON
+%cmake_build
 
 %install
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
-rm %{buildroot}%{_libdir}/*.la
+%cmake_install
 
 %check
-make %{?_smp_mflags} check
+export LD_LIBRARY_PATH=%{buildroot}%{_libdir}
+%ctest
 
 %post -n %{lname} -p /sbin/ldconfig
-
 %postun -n %{lname} -p /sbin/ldconfig
 
 %files -n %{lname}
-%defattr(-,root,root)
 %{_libdir}/librsync.so.*
-%doc AUTHORS COPYING NEWS README.md THANKS TODO.md
+%license COPYING
+%doc AUTHORS NEWS.md README.md THANKS TODO.md
 
 %files devel
-%defattr(-,root,root)
 %{_libdir}/librsync.so
 %{_mandir}/man3/*
 %{_includedir}/*.h
 
 %files -n rdiff
-%defattr(-,root,root)
 %{_bindir}/rdiff
 %{_mandir}/man1/*
 

++ v1.0.0.tar.gz -> v2.1.0.tar.gz ++
 31081 lines of diff (skipped)




commit librsync for openSUSE:Factory

2015-04-04 Thread h_root
Hello community,

here is the log from the commit of package librsync for openSUSE:Factory 
checked in at 2015-04-05 02:02:45

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


Package is librsync

Changes:

--- /work/SRC/openSUSE:Factory/librsync/librsync.changes2015-03-16 
09:40:29.0 +0100
+++ /work/SRC/openSUSE:Factory/.librsync.new/librsync.changes   2015-04-05 
02:02:46.0 +0200
@@ -1,0 +2,5 @@
+Mon Mar 23 22:18:33 UTC 2015 - sch...@linux-m68k.org
+
+- blake2-config.patch: add missing config.h
+
+---

New:

  blake2-config.patch



Other differences:
--
++ librsync.spec ++
--- /var/tmp/diff_new_pack.ropHl3/_old  2015-04-05 02:02:46.0 +0200
+++ /var/tmp/diff_new_pack.ropHl3/_new  2015-04-05 02:02:46.0 +0200
@@ -29,6 +29,7 @@
 Patch1: librsync-man-example.diff
 Patch2: librsync-0.9.7-getopt.patch
 Patch3: librsync-exports.patch
+Patch4: blake2-config.patch
 BuildRequires:  libbz2-devel
 BuildRequires:  libtool
 BuildRequires:  popt-devel
@@ -78,6 +79,7 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 autoreconf -fvi

++ blake2-config.patch ++
Index: librsync-1.0.0/blake2b-ref.c
===
--- librsync-1.0.0.orig/blake2b-ref.c
+++ librsync-1.0.0/blake2b-ref.c
@@ -15,6 +15,7 @@
  * librsync.
  */
 
+#include config.h
 #include stdint.h
 #include string.h
 #include stdio.h



commit librsync for openSUSE:Factory

2015-03-16 Thread h_root
Hello community,

here is the log from the commit of package librsync for openSUSE:Factory 
checked in at 2015-03-16 09:40:28

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


Package is librsync

Changes:

--- /work/SRC/openSUSE:Factory/librsync/librsync.changes2014-09-20 
15:49:48.0 +0200
+++ /work/SRC/openSUSE:Factory/.librsync.new/librsync.changes   2015-03-16 
09:40:29.0 +0100
@@ -1,0 +2,22 @@
+Mon Feb 16 15:06:41 UTC 2015 - tchva...@suse.com
+
+- Version bump to 1.0.0 fixes bnc#900914 CVE-2014-8242:
+  * Various build fixes, thanks Timothy Gu.
+  * Improved rdiff man page from Debian.
+  * Fixed bug #1110812 'internal error: job made no progress'; on large
+files.
+  * Moved hosting to https://github.com/librsync/librsync/
+  * Travis-CI.org integration test at https://travis-ci.org/librsync/librsync/
+  * Remove bundled copy of popt; it must be installed separately.
+- Refreshed patches:
+  * librsync-man-example.diff
+- Removed patches:
+  * librsync-noexecstack-nestedfunc.patch
+  * librsync-serial-tests.patch
+  * librsync-logn-sumset.patch
+  * librsync-logn-search.patch
+- Removed patches due to promoting bugs:
+  * librsync-0.9.7-largefiles.patch - currently in progress on:
+https://github.com/librsync/librsync/pull/14
+
+---

Old:

  librsync-0.9.7-largefiles.patch
  librsync-0.9.7.tar.bz2
  librsync-logn-search.patch
  librsync-logn-sumset.patch
  librsync-noexecstack-nestedfunc.patch
  librsync-serial-tests.patch

New:

  v1.0.0.tar.gz



Other differences:
--
++ librsync.spec ++
--- /var/tmp/diff_new_pack.NEKQha/_old  2015-03-16 09:40:30.0 +0100
+++ /var/tmp/diff_new_pack.NEKQha/_new  2015-03-16 09:40:30.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package librsync
 #
-# Copyright (c) 2014 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,24 +16,19 @@
 #
 
 
-%define lname   librsync1
+%define lname   librsync2
 Name:   librsync
-Version:0.9.7
+Version:1.0.0
 Release:0
 Summary:A Library for Generating Network Deltas
 License:LGPL-2.1+
 Group:  Development/Libraries/C and C++
 Url:http://librsync.sourceforge.net/
-Source: 
http://prdownloads.sourceforge.net/rproxy/%{name}-%{version}.tar.bz2
-Patch0: %{name}-%{version}-strictalias.diff
-Patch1: librsync-0.9.7-largefiles.patch
-Patch2: librsync-logn-search.patch
-Patch3: librsync-logn-sumset.patch
-Patch4: librsync-man-example.diff
-Patch5: librsync-serial-tests.patch
-Patch6: librsync-0.9.7-getopt.patch
-Patch7: librsync-exports.patch
-Patch8: librsync-noexecstack-nestedfunc.patch
+Source: https://github.com/librsync/%{name}/archive/v%{version}.tar.gz
+Patch0: librsync-0.9.7-strictalias.diff
+Patch1: librsync-man-example.diff
+Patch2: librsync-0.9.7-getopt.patch
+Patch3: librsync-exports.patch
 BuildRequires:  libbz2-devel
 BuildRequires:  libtool
 BuildRequires:  popt-devel
@@ -83,11 +78,6 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
-%patch8 -p1
 
 %build
 autoreconf -fvi
@@ -99,7 +89,7 @@
 
 %install
 make DESTDIR=%{buildroot} install %{?_smp_mflags}
-rm %{buildroot}%{_libdir}/librsync.la
+rm %{buildroot}%{_libdir}/*.la
 
 %check
 make %{?_smp_mflags} check
@@ -110,8 +100,8 @@
 
 %files -n %{lname}
 %defattr(-,root,root)
-%{_libdir}/librsync.so.1*
-%doc AUTHORS COPYING NEWS README THANKS TODO
+%{_libdir}/librsync.so.*
+%doc AUTHORS COPYING NEWS README.md THANKS TODO.md
 
 %files devel
 %defattr(-,root,root)

++ librsync-man-example.diff ++
--- /var/tmp/diff_new_pack.NEKQha/_old  2015-03-16 09:40:30.0 +0100
+++ /var/tmp/diff_new_pack.NEKQha/_new  2015-03-16 09:40:30.0 +0100
@@ -10,10 +10,10 @@
 
 http://lists.samba.org/archive/rsync/2009-November/024261.html
 
-Index: b/doc/librsync.3
+Index: librsync-1.0.0/doc/librsync.3
 ===
 a/doc/librsync.3
-+++ b/doc/librsync.3
+--- librsync-1.0.0.orig/doc/librsync.3
 librsync-1.0.0/doc/librsync.3
 @@ -53,6 +53,8 @@ scriptable access to rsync functions.
  .PP
  .I rdiff and librsync Manual
@@ -23,10 +23,10 @@
  \fIhttp://rproxy.sourceforge.net/\fP or \fIhttp://linuxcare.com.au/rproxy/\fP.
  .PP
  \fIdraft-pool-rsync\fP
-Index: b/doc/rdiff.1

commit librsync for openSUSE:Factory

2014-09-20 Thread h_root
Hello community,

here is the log from the commit of package librsync for openSUSE:Factory 
checked in at 2014-09-20 15:49:47

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


Package is librsync

Changes:

--- /work/SRC/openSUSE:Factory/librsync/librsync.changes2014-05-16 
17:56:30.0 +0200
+++ /work/SRC/openSUSE:Factory/.librsync.new/librsync.changes   2014-09-20 
15:49:48.0 +0200
@@ -1,0 +2,10 @@
+Sat Sep 13 03:42:42 UTC 2014 - crrodrig...@opensuse.org
+
+- Library ends compiled with executable stack, something we really
+  do not want around.. it turns out a nested function causes gcc
+  to emit trampolines. fix that (librsync-noexecstack-nestedfunc.patch)
+
+- Only export the public api, all symbols prefixed with rs_
+  (librsync-exports.patch)
+
+---

New:

  librsync-exports.patch
  librsync-noexecstack-nestedfunc.patch



Other differences:
--
++ librsync.spec ++
--- /var/tmp/diff_new_pack.6XVoEQ/_old  2014-09-20 15:49:49.0 +0200
+++ /var/tmp/diff_new_pack.6XVoEQ/_new  2014-09-20 15:49:49.0 +0200
@@ -32,6 +32,8 @@
 Patch4: librsync-man-example.diff
 Patch5: librsync-serial-tests.patch
 Patch6: librsync-0.9.7-getopt.patch
+Patch7: librsync-exports.patch
+Patch8: librsync-noexecstack-nestedfunc.patch
 BuildRequires:  libbz2-devel
 BuildRequires:  libtool
 BuildRequires:  popt-devel
@@ -84,10 +86,11 @@
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
-
-autoreconf -fvi
+%patch7 -p1
+%patch8 -p1
 
 %build
+autoreconf -fvi
 %configure \
--enable-shared \
--disable-static \

++ librsync-exports.patch ++
--- librsync-0.9.7.orig/Makefile.am
+++ librsync-0.9.7/Makefile.am
@@ -47,7 +47,7 @@ librsync_la_SOURCES =  prototab.c protot
 
 librsync_la_LIBADD = @LIBOBJS@
 
-librsync_la_LDFLAGS = -version-info @librsync_libversion@
+librsync_la_LDFLAGS = -export-symbols-regex '^rs_' -no-undefined -version-info 
@librsync_libversion@
 
 # This is the default for any programs that don't specify a preference.
 LDADD = librsync.la
++ librsync-noexecstack-nestedfunc.patch ++
--- librsync-0.9.7.orig/search.c
+++ librsync-0.9.7/search.c
@@ -54,29 +54,30 @@
 #define gettag2(s1,s2) (((s1) + (s2))  0x)
 #define gettag(sum) gettag2((sum)0x,(sum)16)
 
+
+static int rs_compare_targets(void const *a1, void const *a2, void *arg)
+{
+rs_target_t const *t1 = a1; 
+rs_target_t const *t2 = a2;
+rs_signature_t const *sums = arg;
+
+int v = (int) t1-t - (int) t2-t;
+if (v != 0)
+return v;
+
+rs_weak_sum_t w1 = sums-block_sigs[t1-i].weak_sum;
+rs_weak_sum_t w2 = sums-block_sigs[t2-i].weak_sum;
+
+v = (w1  w2) - (w1  w2);
+if (v != 0)
+return v;
+
+return memcmp(sums-block_sigs[t1-i].strong_sum, 
sums-block_sigs[t2-i].strong_sum, sums-strong_sum_len);
+}
+
 rs_result
 rs_build_hash_table(rs_signature_t * sums)
 {
-int rs_compare_targets(void const *a1, void const *a2) {
-   rs_target_t const *t1 = a1;
-   rs_target_t const *t2 = a2;
-
-   int v = (int) t1-t - (int) t2-t;
-   if (v != 0)
-   return v;
-
-   rs_weak_sum_t w1 = sums-block_sigs[t1-i].weak_sum;
-   rs_weak_sum_t w2 = sums-block_sigs[t2-i].weak_sum;
-
-   v = (w1  w2) - (w1  w2);
-   if (v != 0)
-   return v;
-
-   return memcmp(sums-block_sigs[t1-i].strong_sum,
-   sums-block_sigs[t2-i].strong_sum,
-   sums-strong_sum_len);
-}
-
 int i;
 
 sums-tag_table = calloc(TABLE_SIZE, sizeof(sums-tag_table[0]));
@@ -96,9 +97,9 @@ rs_build_hash_table(rs_signature_t * sum
sums-targets[i].t = gettag(sums-block_sigs[i].weak_sum);
}
 
-   qsort(sums-targets, sums-count,
+   qsort_r(sums-targets, sums-count,
  sizeof(sums-targets[0]),
-  rs_compare_targets);
+  rs_compare_targets, sums);
 }
 
 for (i = 0; i  TABLE_SIZE; i++) {
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit librsync for openSUSE:Factory

2014-05-16 Thread h_root
Hello community,

here is the log from the commit of package librsync for openSUSE:Factory 
checked in at 2014-05-16 17:56:26

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


Package is librsync

Changes:

--- /work/SRC/openSUSE:Factory/librsync/librsync.changes2013-05-03 
09:17:32.0 +0200
+++ /work/SRC/openSUSE:Factory/.librsync.new/librsync.changes   2014-05-16 
17:56:30.0 +0200
@@ -1,0 +2,12 @@
+Wed May 14 13:55:34 UTC 2014 - tchva...@suse.com
+
+- Remove accidentaly added file.
+
+---
+Tue May 13 13:21:43 UTC 2014 - tchva...@suse.com
+
+- Cleanup with spec-cleaner
+- Add patch librsync-0.9.7-getopt.patch fixing debian bug#435894
+  * makes rdiff avare of -i and -z getopt options
+
+---

Old:

  series

New:

  librsync-0.9.7-getopt.patch



Other differences:
--
++ librsync.spec ++
--- /var/tmp/diff_new_pack.BicVWN/_old  2014-05-16 17:56:30.0 +0200
+++ /var/tmp/diff_new_pack.BicVWN/_new  2014-05-16 17:56:30.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package librsync
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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
@@ -16,17 +16,13 @@
 #
 
 
-Name:   librsync
 %define lname  librsync1
-BuildRequires:  libbz2-devel
-BuildRequires:  libtool
-BuildRequires:  popt-devel
-BuildRequires:  zlib-devel
+Name:   librsync
+Version:0.9.7
+Release:0
 Summary:A Library for Generating Network Deltas
 License:LGPL-2.1+
 Group:  Development/Libraries/C and C++
-Version:0.9.7
-Release:0
 Url:http://librsync.sourceforge.net/
 Source: 
http://prdownloads.sourceforge.net/rproxy/%{name}-%{version}.tar.bz2
 Patch0: %{name}-%{version}-strictalias.diff
@@ -35,6 +31,11 @@
 Patch3: librsync-logn-sumset.patch
 Patch4: librsync-man-example.diff
 Patch5: librsync-serial-tests.patch
+Patch6: librsync-0.9.7-getopt.patch
+BuildRequires:  libbz2-devel
+BuildRequires:  libtool
+BuildRequires:  popt-devel
+BuildRequires:  zlib-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -43,14 +44,14 @@
 file's checksum, so the two files need not both be present to generate
 a delta.
 
-%package -n %lname
+%package -n %{lname}
 Summary:A Library for Generating Network Deltas
 Group:  System/Libraries
 # O/P added 2011-11-26
-Obsoletes:  librsync  %version-%release
-Provides:   librsync = %version-%release
+Obsoletes:  librsync  %{version}-%{release}
+Provides:   librsync = %{version}-%{release}
 
-%description -n %lname
+%description -n %{lname}
 librsync implements the rsync algorithm, which allows remote
 differencing of binary files.  librsync computes a delta relative to a
 file's checksum, so the two files need not both be present to generate
@@ -59,7 +60,7 @@
 %package devel
 Summary:Development files for librsync
 Group:  Development/Libraries/C and C++
-Requires:   %lname = %version
+Requires:   %{lname} = %{version}
 
 %description devel
 librsync implements the rsync algorithm, which allows remote
@@ -82,24 +83,29 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
+
+autoreconf -fvi
+
 %build
-autoreconf -fi
-%configure --enable-shared --disable-static --with-pic
+%configure \
+   --enable-shared \
+   --disable-static \
+   --with-pic
 make %{?_smp_mflags}
 
 %install
-%makeinstall
-%{__rm} %{buildroot}%{_libdir}/librsync.la
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
+rm %{buildroot}%{_libdir}/librsync.la
 
 %check
-pushd testsuite
 make %{?_smp_mflags} check
 
-%post -n %lname -p /sbin/ldconfig
+%post -n %{lname} -p /sbin/ldconfig
 
-%postun -n %lname -p /sbin/ldconfig
+%postun -n %{lname} -p /sbin/ldconfig
 
-%files -n %lname
+%files -n %{lname}
 %defattr(-,root,root)
 %{_libdir}/librsync.so.1*
 %doc AUTHORS COPYING NEWS README THANKS TODO

++ librsync-0.9.7-getopt.patch ++
Patch by Daniel Baumann dan...@debian.org for librsync = 0.9.7, which makes
rdiff aware of -i and -z getopt options mentioned in --help output. For further
information, please have a look to Debian bug ID #435894.

--- librsync-0.9.7/rdiff.c  2004-09-17 23:35:50.0 
+0200
+++ librsync-0.9.7/rdiff.c.getopt   2008-12-20 13:45:58.0 
+0100
@@ -97,8 +97,8 @@
 { sum-size,  

commit librsync for openSUSE:Factory

2013-05-03 Thread h_root
Hello community,

here is the log from the commit of package librsync for openSUSE:Factory 
checked in at 2013-05-03 09:17:31

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


Package is librsync

Changes:

--- /work/SRC/openSUSE:Factory/librsync/librsync.changes2013-03-18 
07:07:42.0 +0100
+++ /work/SRC/openSUSE:Factory/.librsync.new/librsync.changes   2013-05-03 
09:17:32.0 +0200
@@ -1,0 +2,5 @@
+Thu May  2 18:04:38 UTC 2013 - crrodrig...@opensuse.org
+
+- librsync-serial-tests.patch fix build with new automake 
+
+---

New:

  librsync-serial-tests.patch



Other differences:
--
++ librsync.spec ++
--- /var/tmp/diff_new_pack.EHBOim/_old  2013-05-03 09:17:33.0 +0200
+++ /var/tmp/diff_new_pack.EHBOim/_new  2013-05-03 09:17:33.0 +0200
@@ -34,6 +34,7 @@
 Patch2: librsync-logn-search.patch
 Patch3: librsync-logn-sumset.patch
 Patch4: librsync-man-example.diff
+Patch5: librsync-serial-tests.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -80,7 +81,7 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
-
+%patch5 -p1
 %build
 autoreconf -fi
 %configure --enable-shared --disable-static --with-pic

++ librsync-serial-tests.patch ++
--- librsync-0.9.7.orig/configure.ac
+++ librsync-0.9.7/configure.ac
@@ -7,7 +7,7 @@ AC_REVISION([$Revision: 1.12 $])
 AC_COPYRIGHT([Copyright (C) 1999, 2000, 01, 02, 04 by Martin Pool 
m...@samba.org])
 AC_CONFIG_SRCDIR([trace.c])
 AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE
+AM_INIT_AUTOMAKE([serial-tests])
 
 # GNU library versioning: This is NOT the librsync release number.
 # See libversions.txt and the libtool manual for an explanation of the
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit librsync for openSUSE:Factory

2013-03-18 Thread h_root
Hello community,

here is the log from the commit of package librsync for openSUSE:Factory 
checked in at 2013-03-18 07:07:41

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


Package is librsync, Maintainer is orpha...@suse.de

Changes:

--- /work/SRC/openSUSE:Factory/librsync/librsync.changes2012-02-16 
10:06:01.0 +0100
+++ /work/SRC/openSUSE:Factory/.librsync.new/librsync.changes   2013-03-18 
07:07:42.0 +0100
@@ -1,0 +2,8 @@
+Fri Mar 15 14:36:14 UTC 2013 - h...@urpla.net
+
+- apply librsync-logn-search.patch, librsync-logn-sumset.patch
+  librsync-man-example.diff
+- refresh all patches
+- enable tests
+
+---

New:

  librsync-logn-search.patch
  librsync-logn-sumset.patch
  librsync-man-example.diff
  series



Other differences:
--
++ librsync.spec ++
--- /var/tmp/diff_new_pack.G3S327/_old  2013-03-18 07:07:44.0 +0100
+++ /var/tmp/diff_new_pack.G3S327/_new  2013-03-18 07:07:44.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package librsync
 #
-# 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
@@ -31,6 +31,9 @@
 Source: 
http://prdownloads.sourceforge.net/rproxy/%{name}-%{version}.tar.bz2
 Patch0: %{name}-%{version}-strictalias.diff
 Patch1: librsync-0.9.7-largefiles.patch
+Patch2: librsync-logn-search.patch
+Patch3: librsync-logn-sumset.patch
+Patch4: librsync-man-example.diff
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -72,8 +75,11 @@
 
 %prep
 %setup -q
-%patch0
-%patch1
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
 
 %build
 autoreconf -fi
@@ -84,6 +90,10 @@
 %makeinstall
 %{__rm} %{buildroot}%{_libdir}/librsync.la
 
+%check
+pushd testsuite
+make %{?_smp_mflags} check
+
 %post -n %lname -p /sbin/ldconfig
 
 %postun -n %lname -p /sbin/ldconfig

++ librsync-0.9.7-largefiles.patch ++
--- /var/tmp/diff_new_pack.G3S327/_old  2013-03-18 07:07:44.0 +0100
+++ /var/tmp/diff_new_pack.G3S327/_new  2013-03-18 07:07:44.0 +0100
@@ -1,10 +1,10 @@
 RCS file: /cvsroot/librsync/librsync/mdfour.h,v
 retrieving revision 1.7
 retrieving revision 1.8
-Index: mdfour.h
+Index: b/mdfour.h
 ===
 mdfour.h.orig  2004-02-08 00:17:57.0 +0100
-+++ mdfour.h   2007-09-02 10:10:50.0 +0200
+--- a/mdfour.h
 b/mdfour.h
 @@ -1,7 +1,7 @@
  /*= -*- c-basic-offset: 4; indent-tabs-mode: nil; -*-
   *
@@ -23,10 +23,10 @@
  #if HAVE_UINT64
  uint64_ttotalN;
  #else
-Index: patch.c
+Index: b/patch.c
 ===
 patch.c.orig   2004-09-17 23:35:50.0 +0200
-+++ patch.c2007-09-02 10:10:50.0 +0200
+--- a/patch.c
 b/patch.c
 @@ -1,7 +1,7 @@
  /*= -*- c-basic-offset: 4; indent-tabs-mode: nil; -*-
   *
@@ -50,10 +50,10 @@
  
  if (!len)
  return RS_BLOCKED;
-Index: doc/rdiff.1
+Index: b/doc/rdiff.1
 ===
 doc/rdiff.1.orig   2004-02-08 00:17:57.0 +0100
-+++ doc/rdiff.12007-09-02 10:10:50.0 +0200
+--- a/doc/rdiff.1
 b/doc/rdiff.1
 @@ -1,6 +1,6 @@
  .\
  .\ librsync -- dynamic caching and delta update in HTTP

++ librsync-0.9.7-strictalias.diff ++
--- /var/tmp/diff_new_pack.G3S327/_old  2013-03-18 07:07:44.0 +0100
+++ /var/tmp/diff_new_pack.G3S327/_new  2013-03-18 07:07:44.0 +0100
@@ -1,7 +1,7 @@
-Index: netint.c
+Index: b/netint.c
 ===
 netint.c.orig  2004-09-17 23:35:50.0 +0200
-+++ netint.c   2007-09-02 10:10:50.0 +0200
+--- a/netint.c
 b/netint.c
 @@ -121,7 +121,7 @@ rs_squirt_n4(rs_job_t *job, int val)
  rs_result
  rs_suck_netint(rs_job_t *job, rs_long_t *v, int len)
@@ -11,7 +11,7 @@
  int i;
  rs_result   result;
  
-@@ -130,13 +130,13 @@ rs_suck_netint(rs_job_t *job, rs_long_t 
+@@ -130,13 +130,13 @@ rs_suck_netint(rs_job_t *job, rs_long_t
  return RS_INTERNAL_ERROR;
  }
  
@@ -27,10 +27,10 @@
  }
  
  return RS_DONE;
-Index: readsums.c
+Index: b/readsums.c
 ===
 readsums.c.orig2004-02-08 00:17:57.0 +0100
-+++ readsums.c 2007-09-02 

commit librsync for openSUSE:Factory

2012-02-16 Thread h_root
Hello community,

here is the log from the commit of package librsync for openSUSE:Factory 
checked in at 2012-02-16 10:06:00

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


Package is librsync, Maintainer is crrodrig...@novell.com

Changes:

--- /work/SRC/openSUSE:Factory/librsync/librsync.changes2011-11-22 
17:48:24.0 +0100
+++ /work/SRC/openSUSE:Factory/.librsync.new/librsync.changes   2012-02-16 
10:06:01.0 +0100
@@ -1,0 +2,12 @@
+Mon Feb 13 10:49:21 UTC 2012 - co...@suse.com
+
+- patch license to follow spdx.org standard
+
+---
+Tue Nov 22 15:50:11 UTC 2011 - jeng...@medozas.de
+
+- Remove redundant/unwanted tags/section (cf. specfile guidelines)
+- Use %_smp_mflags for parallel building
+- Employ shlib packaging
+
+---



Other differences:
--
++ librsync.spec ++
--- /var/tmp/diff_new_pack.XHWoH3/_old  2012-02-16 10:06:02.0 +0100
+++ /var/tmp/diff_new_pack.XHWoH3/_new  2012-02-16 10:06:02.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package librsync
 #
-# 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,16 +15,18 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:   librsync
-BuildRequires:  libbz2-devel libtool popt-devel zlib-devel
-License:LGPL v2.1 or later
-Group:  Development/Libraries/C and C++
+%define lname  librsync1
+BuildRequires:  libbz2-devel
+BuildRequires:  libtool
+BuildRequires:  popt-devel
+BuildRequires:  zlib-devel
 Summary:A Library for Generating Network Deltas
+License:LGPL-2.1+
+Group:  Development/Libraries/C and C++
 Version:0.9.7
-Release:169
+Release:0
 Url:http://librsync.sourceforge.net/
 Source: 
http://prdownloads.sourceforge.net/rproxy/%{name}-%{version}.tar.bz2
 Patch0: %{name}-%{version}-strictalias.diff
@@ -37,13 +39,36 @@
 file's checksum, so the two files need not both be present to generate
 a delta.
 
+%package -n %lname
+Summary:A Library for Generating Network Deltas
+Group:  System/Libraries
+# O/P added 2011-11-26
+Obsoletes:  librsync  %version-%release
+Provides:   librsync = %version-%release
 
+%description -n %lname
+librsync implements the rsync algorithm, which allows remote
+differencing of binary files.  librsync computes a delta relative to a
+file's checksum, so the two files need not both be present to generate
+a delta.
 
-Authors:
-
-Martin Pool m...@samba.org
-Andrew Tridgell tri...@samba.org
-Donovan Baarda a...@minkirri.apana.org.au
+%package devel
+Summary:Development files for librsync
+Group:  Development/Libraries/C and C++
+Requires:   %lname = %version
+
+%description devel
+librsync implements the rsync algorithm, which allows remote
+differencing of binary files.  librsync computes a delta relative to a
+file's checksum, so the two files need not both be present to generate
+a delta.
+
+%package -n rdiff
+Summary:Frontend to rsync's delta algorithm
+Group:  Productivity/Archiving/Backup
+
+%description -n rdiff
+rdiff computes and applies signature-based file differences.
 
 %prep
 %setup -q
@@ -52,28 +77,31 @@
 
 %build
 autoreconf -fi
-export CFLAGS=$RPM_OPT_FLAGS 
 %configure --enable-shared --disable-static --with-pic
-%{__make} %{?jobs:-j%jobs}
+make %{?_smp_mflags}
 
 %install
 %makeinstall
 %{__rm} %{buildroot}%{_libdir}/librsync.la
 
-%clean
-%{__rm} -rf $RPM_BUILD_ROOT
+%post -n %lname -p /sbin/ldconfig
 
-%post -p /sbin/ldconfig
+%postun -n %lname -p /sbin/ldconfig
 
-%postun -p /sbin/ldconfig
+%files -n %lname
+%defattr(-,root,root)
+%{_libdir}/librsync.so.1*
+%doc AUTHORS COPYING NEWS README THANKS TODO
 
-%files
+%files devel
 %defattr(-,root,root)
 %{_libdir}/librsync.so
-%{_libdir}/librsync.so.1*
-%{_bindir}/rdiff
-%{_mandir}/man?/*
+%{_mandir}/man3/*
 %{_includedir}/*.h
-%doc AUTHORS COPYING NEWS README THANKS TODO
+
+%files -n rdiff
+%defattr(-,root,root)
+%{_bindir}/rdiff
+%{_mandir}/man1/*
 
 %changelog

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



commit librsync for openSUSE:Factory

2011-11-22 Thread h_root
Hello community,

here is the log from the commit of package librsync for openSUSE:Factory 
checked in at 2011-11-22 17:48:21

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


Package is librsync, Maintainer is crrodrig...@novell.com

Changes:

--- /work/SRC/openSUSE:Factory/librsync/librsync.changes2011-09-23 
02:10:40.0 +0200
+++ /work/SRC/openSUSE:Factory/.librsync.new/librsync.changes   2011-11-22 
17:48:24.0 +0100
@@ -1,0 +2,5 @@
+Tue Nov 22 10:19:03 UTC 2011 - co...@suse.com
+
+- add libtool as buildrequire to avoid implicit dependency
+
+---



Other differences:
--
++ librsync.spec ++
--- /var/tmp/diff_new_pack.HtRaMZ/_old  2011-11-22 17:48:25.0 +0100
+++ /var/tmp/diff_new_pack.HtRaMZ/_new  2011-11-22 17:48:25.0 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package librsync (Version 0.9.7)
+# spec file for package librsync
 #
-# Copyright (c) 2009 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
@@ -19,10 +19,9 @@
 
 
 Name:   librsync
-BuildRequires:  libbz2-devel popt-devel zlib-devel
+BuildRequires:  libbz2-devel libtool popt-devel zlib-devel
 License:LGPL v2.1 or later
 Group:  Development/Libraries/C and C++
-AutoReqProv:on
 Summary:A Library for Generating Network Deltas
 Version:0.9.7
 Release:169

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