commit rhash for openSUSE:Factory

2020-08-15 Thread root
Hello community,

here is the log from the commit of package rhash for openSUSE:Factory checked 
in at 2020-08-15 21:18:18

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


Package is "rhash"

Sat Aug 15 21:18:18 2020 rev:6 rq:826211 version:1.4.0

Changes:

--- /work/SRC/openSUSE:Factory/rhash/rhash.changes  2020-02-07 
15:53:01.831465479 +0100
+++ /work/SRC/openSUSE:Factory/.rhash.new.3399/rhash.changes2020-08-15 
21:18:35.639562163 +0200
@@ -1,0 +2,12 @@
+Thu Aug 13 06:48:38 UTC 2020 - Paolo Stivanin 
+
+- Update to 1.4.0:
+  * librhash: supported rhash_get_version() - get library version
+  * Bugfix: fix broken output on Win 7
+  * Bugfix: fix broken 'configure --localedir=' option
+  * Bugfix: fix broken makefile install-so-link target
+  * Bugfix: restore behavior of 'rhash -rc' to be the same as in v1.3.8
+  * Bugfix: fix a segfault and memory errors
+- Remove rhash-uk.patch
+
+---

Old:

  rhash-1.3.9.tar.gz
  rhash-uk.patch

New:

  rhash-1.4.0.tar.gz



Other differences:
--
++ rhash.spec ++
--- /var/tmp/diff_new_pack.6iPgFP/_old  2020-08-15 21:18:36.787562818 +0200
+++ /var/tmp/diff_new_pack.6iPgFP/_new  2020-08-15 21:18:36.791562821 +0200
@@ -18,13 +18,12 @@
 
 %define major   0
 Name:   rhash
-Version:1.3.9
+Version:1.4.0
 Release:0
 Summary:Recursive Hasher
 License:0BSD
 URL:https://github.com/rhash/RHash
 Source0:
https://github.com/rhash/RHash/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
-Patch0: rhash-uk.patch
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(openssl)
 

++ rhash-1.3.9.tar.gz -> rhash-1.4.0.tar.gz ++
 9559 lines of diff (skipped)




commit rhash for openSUSE:Factory

2020-02-07 Thread root
Hello community,

here is the log from the commit of package rhash for openSUSE:Factory checked 
in at 2020-02-07 15:52:20

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


Package is "rhash"

Fri Feb  7 15:52:20 2020 rev:5 rq:770003 version:1.3.9

Changes:

--- /work/SRC/openSUSE:Factory/rhash/rhash.changes  2019-11-07 
23:12:54.560297062 +0100
+++ /work/SRC/openSUSE:Factory/.rhash.new.26092/rhash.changes   2020-02-07 
15:53:01.831465479 +0100
@@ -1,0 +2,21 @@
+Tue Feb  4 14:47:45 UTC 2020 - Martin Pluskal 
+
+- Update to version 1.3.9:
+  * change project license to BSD Zero Clause License
+  * add uk translations
+  * new printf-format modifier '%u' to print url-encoded filename, path or hash
+  * Bugfix: btih in magnet links shall be hex-encoded
+  * correctly align UTF8 file paths, while printing verification results
+  * respect UTF8 BOM when updating or verifying a hash file
+  * print a new-line after ed2k link, when --ed2k-link option is passed
+  * exit on output errors with exit_code = 2
+  * change option --update= to update the specified file
+  * make short option '-P' to be an alias for --percents
+  * change %{mtime} format to '-MM-DD hh:mm:ss'
+  * Bugfix: --sysconfdir was ignored while searching for config on Linux
+  * support verification of base64-formated hash sums
+  * add formatting options: --hex, --base32, -b/--base64
+  * Bugfix: properly handle symlinks on the command line
+- Fix localisation building by rhash-uk.patch
+
+---

Old:

  rhash-1.3.8.tar.gz

New:

  rhash-1.3.9.tar.gz
  rhash-uk.patch



Other differences:
--
++ rhash.spec ++
--- /var/tmp/diff_new_pack.MfJLPO/_old  2020-02-07 15:53:03.523466404 +0100
+++ /var/tmp/diff_new_pack.MfJLPO/_new  2020-02-07 15:53:03.523466404 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rhash
 #
-# 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,12 +18,13 @@
 
 %define major   0
 Name:   rhash
-Version:1.3.8
+Version:1.3.9
 Release:0
 Summary:Recursive Hasher
-License:MIT
+License:0BSD
 URL:https://github.com/rhash/RHash
 Source0:
https://github.com/rhash/RHash/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Patch0: rhash-uk.patch
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(openssl)
 
@@ -73,7 +74,7 @@
 %lang_package
 
 %prep
-%setup -q -n RHash-%{version}
+%autosetup -n RHash-%{version} -p1
 
 %build
 # repleace unwanted fomit-frame pointer with desirable optflags
@@ -95,7 +96,7 @@
 %find_lang %{name} %{?no_lang_C}
 
 %check
-make %{?_smp_mflags} test
+%make_build test
 
 %post -n librhash%{major} -p /sbin/ldconfig
 %postun -n librhash%{major} -p /sbin/ldconfig
@@ -107,7 +108,8 @@
 %{_bindir}/ed2k-link
 %{_bindir}/edonr256-hash
 %{_bindir}/edonr512-hash
-%{_bindir}/gost-hash
+%{_bindir}/gost12-256-hash
+%{_bindir}/gost12-512-hash
 %{_bindir}/has160-hash
 %{_bindir}/magnet-link
 %{_bindir}/rhash
@@ -118,7 +120,8 @@
 %{_mandir}/man1/ed2k-link.1%{?ext_man}
 %{_mandir}/man1/edonr256-hash.1%{?ext_man}
 %{_mandir}/man1/edonr512-hash.1%{?ext_man}
-%{_mandir}/man1/gost-hash.1%{?ext_man}
+%{_mandir}/man1/gost12-256-hash.1%{?ext_man}
+%{_mandir}/man1/gost12-512-hash.1%{?ext_man}
 %{_mandir}/man1/has160-hash.1%{?ext_man}
 %{_mandir}/man1/magnet-link.1%{?ext_man}
 %{_mandir}/man1/rhash.1%{?ext_man}

++ rhash-1.3.8.tar.gz -> rhash-1.3.9.tar.gz ++
 20010 lines of diff (skipped)

++ rhash-uk.patch ++
>From a165520d3f63e976dd3b842c2fbb05f05f1029a8 Mon Sep 17 00:00:00 2001
From: Aleksey 
Date: Sun, 15 Dec 2019 03:35:09 +0300
Subject: [PATCH] i18n: fix a string in uk.po by adding newline

---
 po/uk.po | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/po/uk.po b/po/uk.po
index 959e47a..d6c0b1d 100644
--- a/po/uk.po
+++ b/po/uk.po
@@ -234,7 +234,7 @@ msgstr "Перевірити хеш-файли, вказані у командн
 
 #: parse_cmdline.c:91
 msgid "Update the specified hash file.\n"
-msgstr "Оновити вказаний хеш-файл"
+msgstr "Оновити вказаний хеш-файл.\n"
 
 #: parse_cmdline.c:92
 msgid "Rename files by inserting crc32 sum into name.\n"



commit rhash for openSUSE:Factory

2019-11-07 Thread root
Hello community,

here is the log from the commit of package rhash for openSUSE:Factory checked 
in at 2019-11-07 23:12:54

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


Package is "rhash"

Thu Nov  7 23:12:54 2019 rev:4 rq:738820 version:1.3.8

Changes:

--- /work/SRC/openSUSE:Factory/rhash/rhash.changes  2019-02-28 
21:37:32.973656298 +0100
+++ /work/SRC/openSUSE:Factory/.rhash.new.2990/rhash.changes2019-11-07 
23:12:54.560297062 +0100
@@ -1,0 +2,9 @@
+Wed Oct 16 07:51:08 UTC 2019 - Martin Pluskal 
+
+- Cleanup spec file:
+  * Honor optflags and allow creation of debuginfo package
+  * Add missed dependencies on openssl and pkgconfig
+  * Use url for download
+  * Misc small cleanups
+
+---

Old:

  RHash-1.3.8.tar.gz

New:

  rhash-1.3.8.tar.gz



Other differences:
--
++ rhash.spec ++
--- /var/tmp/diff_new_pack.gG9cIG/_old  2019-11-07 23:12:55.060297610 +0100
+++ /var/tmp/diff_new_pack.gG9cIG/_new  2019-11-07 23:12:55.060297610 +0100
@@ -12,7 +12,7 @@
 # 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/
 #
 
 
@@ -22,10 +22,10 @@
 Release:0
 Summary:Recursive Hasher
 License:MIT
-Group:  Productivity/File utilities
 URL:https://github.com/rhash/RHash
-Source0:RHash-%{version}.tar.gz
-Recommends: %{name}-lang
+Source0:
https://github.com/rhash/RHash/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+BuildRequires:  pkgconfig
+BuildRequires:  pkgconfig(openssl)
 
 %description
 RHash (Recurcive Hasher) is a console utility for computing and
@@ -45,7 +45,6 @@
 
 %package -n librhash%{major}
 Summary:LibRHash Shared Library
-Group:  System/Libraries
 
 %description -n librhash%{major}
 LibRHash is a professional, portable, thread-safe C library for
@@ -57,7 +56,6 @@
 
 %package devel
 Summary:Headers and Static Library for LibRHash
-Group:  Development/Libraries/C and C++
 Requires:   librhash%{major} = %{version}
 Provides:   librhash-devel = %{version}
 Obsoletes:  librhash-devel < 1.3.1
@@ -78,32 +76,26 @@
 %setup -q -n RHash-%{version}
 
 %build
-export CFLAGS="%{optflags}"
-export CXXFLAGS="%{optflags}"
-%{_configure} --prefix=%{_prefix} \
---exec-prefix=%{_prefix} \
---bindir=%{_bindir} \
---sysconfdir=%{_sysconfdir} \
---libdir=%{_libdir} \
---mandir=%{_mandir} \
---enable-lib-shared \
---enable-gettext
-
-# Parallel make_build fails on older versions
-# Use OPTLDFLAGS="" not to strip binaries.
-make ADDCFLAGS="-rdynamic" OPTLDFLAGS=""
+# repleace unwanted fomit-frame pointer with desirable optflags
+sed -i "s|-fomit-frame-pointer|%{optflags}|g" configure
+# not a autotools configure
+./configure \
+  --prefix=%{_prefix} \
+  --exec-prefix=%{_prefix} \
+  --bindir=%{_bindir} \
+  --sysconfdir=%{_sysconfdir} \
+  --libdir=%{_libdir} \
+  --mandir=%{_mandir} \
+  --enable-lib-shared \
+  --enable-gettext
+%make_build
 
 %install
 %make_install install-lib-so-link install-lib-headers install-gmo
 %find_lang %{name} %{?no_lang_C}
 
 %check
-make \
-OPTFLAGS="%{optflags}" \
-ADDCFLAGS="-DUSE_OPENSSL -DOPENSSL_RUNTIME -rdynamic" \
-ADDLDFLAGS="-ldl" \
-LD_LIBRARY_PATH="../librhash" \
-test
+make %{?_smp_mflags} test
 
 %post -n librhash%{major} -p /sbin/ldconfig
 %postun -n librhash%{major} -p /sbin/ldconfig




commit rhash for openSUSE:Factory

2019-02-28 Thread root
Hello community,

here is the log from the commit of package rhash for openSUSE:Factory checked 
in at 2019-02-28 21:37:31

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


Package is "rhash"

Thu Feb 28 21:37:31 2019 rev:3 rq:678649 version:1.3.8

Changes:

--- /work/SRC/openSUSE:Factory/rhash/rhash.changes  2017-08-24 
18:28:07.962502059 +0200
+++ /work/SRC/openSUSE:Factory/.rhash.new.28833/rhash.changes   2019-02-28 
21:37:32.973656298 +0100
@@ -1,0 +2,26 @@
+Fri Feb 22 11:57:32 UTC 2019 - d...@posteo.net
+
+- Update to version 1.3.8
+  Version 1.3.8
+  * rename Windows encoding options: --ansi to --win, --oem to --dos
+  * support GOST R 34.11-2012 hash function (options: --gost12-256, 
--gost12-512)
+  * changed the short option `-G' to be alias of --gost12-256
+  * changed printf format token `%g' to be alias of %{gost12-256}
+
+  Version 1.3.7
+  * option `--message==' to calculate a hash for string
+  * option `--crc32c' for CRC32C hash function
+  * changed magnet link short option from '-m' to '-g'
+  * Bugfix: `--file-list=-' shall read a file list from stdin
+  * speedup CRC32 hash function
+
+  Version 1.3.6
+  * support --file-list option
+  * librhash: speedup sha3
+  * Bugfix: fix --follow option
+  * better MSYS and CygWin support
+  * configuration script
+  * Bugfix: broken binary hash output
+- Remove rhash-1.3.0-shared.patch
+
+---

Old:

  rhash-1.3.0-shared.patch
  rhash-1.3.5-src.tar.gz

New:

  RHash-1.3.8.tar.gz



Other differences:
--
++ rhash.spec ++
--- /var/tmp/diff_new_pack.Onq2pB/_old  2019-02-28 21:37:33.525656125 +0100
+++ /var/tmp/diff_new_pack.Onq2pB/_new  2019-02-28 21:37:33.525656125 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rhash
 #
-# Copyright (c) 2017 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
@@ -18,15 +18,13 @@
 
 %define major   0
 Name:   rhash
-Version:1.3.5
+Version:1.3.8
 Release:0
 Summary:Recursive Hasher
 License:MIT
 Group:  Productivity/File utilities
-Url:http://rhash.anz.ru/?l=en
-Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}-src.tar.gz
-# PATCH-FIX-OPENSUSE rhash-1.3.0-shared.patch lazy.k...@opensuse.org -- 
install development files with shared library
-Patch0: rhash-1.3.0-shared.patch
+URL:https://github.com/rhash/RHash
+Source0:RHash-%{version}.tar.gz
 Recommends: %{name}-lang
 
 %description
@@ -78,25 +76,25 @@
 
 %prep
 %setup -q -n RHash-%{version}
-%patch0 -p1
 
 %build
-# Don't run parallel make %{?_smp_mflags} — it doesn't work.
+export CFLAGS="%{optflags}"
+export CXXFLAGS="%{optflags}"
+%{_configure} --prefix=%{_prefix} \
+--exec-prefix=%{_prefix} \
+--bindir=%{_bindir} \
+--sysconfdir=%{_sysconfdir} \
+--libdir=%{_libdir} \
+--mandir=%{_mandir} \
+--enable-lib-shared \
+--enable-gettext
+
+# Parallel make_build fails on older versions
 # Use OPTLDFLAGS="" not to strip binaries.
-make \
-ADDCFLAGS="-DUSE_GETTEXT -rdynamic" \
-OPTFLAGS="%{optflags}" \
-OPTLDFLAGS="" \
-lib-shared all
+make ADDCFLAGS="-rdynamic" OPTLDFLAGS=""
 
 %install
-%make_install \
-PREFIX=%{_prefix} \
-LIBDIR=%{_libdir} \
-OPTFLAGS="%{optflags}" \
-OPTLDFLAGS="" \
-install-lib-shared \
-install-gmo
+%make_install install-lib-so-link install-lib-headers install-gmo
 %find_lang %{name} %{?no_lang_C}
 
 %check
@@ -111,10 +109,12 @@
 %postun -n librhash%{major} -p /sbin/ldconfig
 
 %files
-%doc ChangeLog COPYING README
+%license COPYING
+%doc ChangeLog README.md
 %config(noreplace) %{_sysconfdir}/rhashrc
-%{_sysconfdir}/rhashrc
 %{_bindir}/ed2k-link
+%{_bindir}/edonr256-hash
+%{_bindir}/edonr512-hash
 %{_bindir}/gost-hash
 %{_bindir}/has160-hash
 %{_bindir}/magnet-link
@@ -123,21 +123,24 @@
 %{_bindir}/tiger-hash
 %{_bindir}/tth-hash
 %{_bindir}/whirlpool-hash
-%{_mandir}/man1/ed2k-link.1%{ext_man}
-%{_mandir}/man1/gost-hash.1%{ext_man}
-%{_mandir}/man1/has160-hash.1%{ext_man}
-%{_mandir}/man1/magnet-link.1%{ext_man}
-%{_mandir}/man1/rhash.1%{ext_man}
-%{_mandir}/man1/sfv-hash.1%{ext_man}
-%{_mandir}/man1/tiger-hash.1%{ext_man}
-%{_mandir}/man1/tth-hash.1%{ext_man}
-%{_mandir}/man1/whirlpool-hash.1%{ext_man}
+%{_mandir}/man1/ed2k-link.1%{?ext_man}
+%{_mandir}/man1/edonr256-hash.1%{?ext_man}
+%{_mandir}/man1/edonr512-hash.1%{?ext_man}
+%{_mandir}/man1/gost-hash.1%{?ext_man}
+%{_mandir}/man1/has160-hash.1%{?ext_man}

commit rhash for openSUSE:Factory

2017-08-24 Thread root
Hello community,

here is the log from the commit of package rhash for openSUSE:Factory checked 
in at 2017-08-24 18:28:03

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


Package is "rhash"

Thu Aug 24 18:28:03 2017 rev:2 rq:517907 version:1.3.5

Changes:

--- /work/SRC/openSUSE:Factory/rhash/rhash.changes  2017-06-16 
10:54:00.658023062 +0200
+++ /work/SRC/openSUSE:Factory/.rhash.new/rhash.changes 2017-08-24 
18:28:07.962502059 +0200
@@ -1,0 +2,8 @@
+Wed Aug 16 14:09:59 UTC 2017 - mplus...@suse.com
+
+- Update to version 1.3.5:
+   * look for locales directory at PROGRAM_DIRECTORY\locale on
+Windows
+   * look for config at PROGRAM_DIRECTORY\rhashrc on Windows
+
+---

Old:

  rhash-1.3.4-src.tar.gz

New:

  rhash-1.3.5-src.tar.gz



Other differences:
--
++ rhash.spec ++
--- /var/tmp/diff_new_pack.VVgUUt/_old  2017-08-24 18:28:09.842237228 +0200
+++ /var/tmp/diff_new_pack.VVgUUt/_new  2017-08-24 18:28:09.846236665 +0200
@@ -18,7 +18,7 @@
 
 %define major   0
 Name:   rhash
-Version:1.3.4
+Version:1.3.5
 Release:0
 Summary:Recursive Hasher
 License:MIT
@@ -77,11 +77,11 @@
 %lang_package
 
 %prep
-%setup -q
+%setup -q -n RHash-%{version}
 %patch0 -p1
 
 %build
-# Don't run parallel make — it doesn't work.
+# Don't run parallel make %{?_smp_mflags} — it doesn't work.
 # Use OPTLDFLAGS="" not to strip binaries.
 make \
 ADDCFLAGS="-DUSE_GETTEXT -rdynamic" \
@@ -111,23 +111,37 @@
 %postun -n librhash%{major} -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root,-)
-%doc ChangeLog COPYING README dist/rhash.1.html
-%{_bindir}/*
-%{_mandir}/man?/*
+%doc ChangeLog COPYING README
 %config(noreplace) %{_sysconfdir}/rhashrc
+%{_sysconfdir}/rhashrc
+%{_bindir}/ed2k-link
+%{_bindir}/gost-hash
+%{_bindir}/has160-hash
+%{_bindir}/magnet-link
+%{_bindir}/rhash
+%{_bindir}/sfv-hash
+%{_bindir}/tiger-hash
+%{_bindir}/tth-hash
+%{_bindir}/whirlpool-hash
+%{_mandir}/man1/ed2k-link.1%{ext_man}
+%{_mandir}/man1/gost-hash.1%{ext_man}
+%{_mandir}/man1/has160-hash.1%{ext_man}
+%{_mandir}/man1/magnet-link.1%{ext_man}
+%{_mandir}/man1/rhash.1%{ext_man}
+%{_mandir}/man1/sfv-hash.1%{ext_man}
+%{_mandir}/man1/tiger-hash.1%{ext_man}
+%{_mandir}/man1/tth-hash.1%{ext_man}
+%{_mandir}/man1/whirlpool-hash.1%{ext_man}
 
 %files -n librhash%{major}
-%defattr(-,root,root,-)
-%{_libdir}/*.so.*
+%{_libdir}/librhash.so.%{major}*
 
 %files devel
-%defattr(-,root,root,-)
 %doc ChangeLog COPYING README
-%{_includedir}/rhash*
-%{_libdir}/*.so
+%{_includedir}/rhash.h
+%{_includedir}/rhash_torrent.h
+%{_libdir}/librhash.so
 
 %files lang -f %{name}.lang
-%defattr(-,root,root)
 
 %changelog

++ rhash-1.3.0-shared.patch ++
--- /var/tmp/diff_new_pack.VVgUUt/_old  2017-08-24 18:28:09.878232157 +0200
+++ /var/tmp/diff_new_pack.VVgUUt/_new  2017-08-24 18:28:09.878232157 +0200
@@ -1,10 +1,10 @@
 Description: Install development files with shared library.
 Author: Kyrill Detinov 
-Index: rhash-1.3.4/Makefile
+Index: RHash-1.3.5/Makefile
 ===
 rhash-1.3.4.orig/Makefile
-+++ rhash-1.3.4/Makefile
-@@ -164,7 +164,7 @@ check: version.h
+--- RHash-1.3.5.orig/Makefile
 RHash-1.3.5/Makefile
+@@ -174,7 +174,7 @@ check: version.h
echo "version=$(VERSION)" > bindings/version.properties
[ -s dist/rhash.1.html ]
  
@@ -13,12 +13,12 @@
$(CC) $(OBJECTS) -o $@ $(ALLLDFLAGS)
  
  $(SHARED_TRG): $(OBJECTS) $(SHAREDLIB)
-Index: rhash-1.3.4/librhash/Makefile
+Index: RHash-1.3.5/librhash/Makefile
 ===
 rhash-1.3.4.orig/librhash/Makefile
-+++ rhash-1.3.4/librhash/Makefile
-@@ -43,13 +43,14 @@ lib-shared: $(SONAME)
- libs-all: lib-static lib-shared
+--- RHash-1.3.5.orig/librhash/Makefile
 RHash-1.3.5/librhash/Makefile
+@@ -49,13 +49,14 @@ dylib: $(DYNAME)
+ dll: $(DLLNAME)
  dist-clean: clean
  
 -install-lib-static: $(LIBRARY) install-headers

++ rhash-1.3.4-src.tar.gz -> rhash-1.3.5-src.tar.gz ++
 13305 lines of diff (skipped)