pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/rhash rhash: updated to 1.4.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2e3dc25d6090
branches:  trunk
changeset: 380775:2e3dc25d6090
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Jun 15 08:54:58 2022 +0000

description:
rhash: updated to 1.4.3

RHash v1.4.3

Allow simultaneous usage of --update and --check options
Honor --lowercase option while --embed-crc is in action
Improve ripemd160 performance
Support --brief option to show verification report without header and footer
Support --ignore-missing option, to ignore missing files in --check mode
Add --bt-transmission option to create Transmission compatible torrent files
Honor hash file extension in --update mode
LibRHash: add rhash_import() and rhash_export() functions
Support runtime loading of OpenSSL 3.0
Bugfix: Show total speed in the update mode
Bugfix: fix building of the LibRHash static library on Solaris
Bugfix: hash options were sometimes ignored in the --check mode
Bugfix: star character at the start of filepath must be ignored

diffstat:

 misc/rhash/Makefile                        |   5 ++---
 misc/rhash/buildlink3.mk                   |   4 ++--
 misc/rhash/distinfo                        |  11 +++++------
 misc/rhash/patches/patch-librhash_Makefile |  14 +++++++-------
 misc/rhash/patches/patch-librhash_util.h   |  16 ----------------
 5 files changed, 16 insertions(+), 34 deletions(-)

diffs (94 lines):

diff -r 69bb1d3370f7 -r 2e3dc25d6090 misc/rhash/Makefile
--- a/misc/rhash/Makefile       Wed Jun 15 08:34:57 2022 +0000
+++ b/misc/rhash/Makefile       Wed Jun 15 08:54:58 2022 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.19 2021/10/09 23:30:51 gutteridge Exp $
+# $NetBSD: Makefile,v 1.20 2022/06/15 08:54:58 adam Exp $
 
-DISTNAME=      rhash-1.4.2
-PKGREVISION=   2
+DISTNAME=      rhash-1.4.3
 CATEGORIES=    misc
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=rhash/}
 GITHUB_PROJECT=        RHash
diff -r 69bb1d3370f7 -r 2e3dc25d6090 misc/rhash/buildlink3.mk
--- a/misc/rhash/buildlink3.mk  Wed Jun 15 08:34:57 2022 +0000
+++ b/misc/rhash/buildlink3.mk  Wed Jun 15 08:54:58 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2021/10/03 17:34:11 nros Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2022/06/15 08:54:58 adam Exp $
 
 BUILDLINK_TREE+=       rhash
 
@@ -6,7 +6,7 @@
 RHASH_BUILDLINK3_MK:=
 
 BUILDLINK_API_DEPENDS.rhash+=  rhash>=1.3.1
-BUILDLINK_ABI_DEPENDS.rhash?=  rhash>=1.3.9nb1
+BUILDLINK_ABI_DEPENDS.rhash+=  rhash>=1.3.9nb1
 BUILDLINK_PKGSRCDIR.rhash?=    ../../misc/rhash
 
 .include "../../security/openssl/buildlink3.mk"
diff -r 69bb1d3370f7 -r 2e3dc25d6090 misc/rhash/distinfo
--- a/misc/rhash/distinfo       Wed Jun 15 08:34:57 2022 +0000
+++ b/misc/rhash/distinfo       Wed Jun 15 08:54:58 2022 +0000
@@ -1,8 +1,7 @@
-$NetBSD: distinfo,v 1.20 2022/01/10 00:40:47 tnn Exp $
+$NetBSD: distinfo,v 1.21 2022/06/15 08:54:58 adam Exp $
 
-BLAKE2s (rhash-1.4.2.tar.gz) = b1500945094920b948c9e2c59ea2e7a32382e751895c6ee049915abffdc841a0
-SHA512 (rhash-1.4.2.tar.gz) = 41df57e8b3f32c93d8e6f2ac668b32aaa23eb2eaf90a83f109e61e511404a5036ea88bcf2854e19c1ade0f61960e0d9edf01f3d82e1c645fed36579e9d7a6a25
-Size (rhash-1.4.2.tar.gz) = 416853 bytes
+BLAKE2s (rhash-1.4.3.tar.gz) = fd47c6f7997416d295fa92fa0611dc956596ff91f1199049baf3b6bd2d88a427
+SHA512 (rhash-1.4.3.tar.gz) = d87ffcde28d8f25cf775c279fed457e52d24523ed9b695629dae694b3c22372247d18f6032f8ce13a0b70fa2953be408982e46659daaa7c4ab227ae89eaed9c7
+Size (rhash-1.4.3.tar.gz) = 429290 bytes
 SHA1 (patch-configure) = 6f0c4abf3f487f046feea5aca5866481eda4546a
-SHA1 (patch-librhash_Makefile) = bbc2f173bd66a886a6ed5eae37e501096ce93d14
-SHA1 (patch-librhash_util.h) = 78d34ff14a7d03069915de0ade14f3d0faff2d69
+SHA1 (patch-librhash_Makefile) = f5a3ccdd8c0467b11f2dda553310bf5a9c8ade0c
diff -r 69bb1d3370f7 -r 2e3dc25d6090 misc/rhash/patches/patch-librhash_Makefile
--- a/misc/rhash/patches/patch-librhash_Makefile        Wed Jun 15 08:34:57 2022 +0000
+++ b/misc/rhash/patches/patch-librhash_Makefile        Wed Jun 15 08:54:58 2022 +0000
@@ -1,15 +1,15 @@
-$NetBSD: patch-librhash_Makefile,v 1.1 2022/01/10 00:40:47 tnn Exp $
+$NetBSD: patch-librhash_Makefile,v 1.2 2022/06/15 08:54:58 adam Exp $
 
 Make ar(1) flags compatible with SunOS 
 
---- librhash/Makefile.orig     2021-07-14 20:55:34.000000000 +0000
+--- librhash/Makefile.orig     2022-06-14 20:25:13.000000000 +0000
 +++ librhash/Makefile
-@@ -180,7 +180,7 @@ $(LIBRHASH_SHARED): $(SOURCES) $(EXPORTS
- 
+@@ -181,7 +181,7 @@ $(LIBRHASH_SHARED): $(SOURCES) $(EXPORTS
  # build static library
  $(LIBRHASH_STATIC): $(OBJECTS)
--      $(AR) cqs $@ $(OBJECTS)
-+      $(AR) crs $@ $(OBJECTS)
+       rm -f $@
+-      $(AR) -cqs $@ $(OBJECTS)
++      $(AR) -crs $@ $(OBJECTS)
  
  # test targets
- $(TEST_SHARED): $(LIBRHASH_SHARED) test_hashes.o
+ $(TEST_SHARED): $(LIBRHASH_SHARED) test_lib.o
diff -r 69bb1d3370f7 -r 2e3dc25d6090 misc/rhash/patches/patch-librhash_util.h
--- a/misc/rhash/patches/patch-librhash_util.h  Wed Jun 15 08:34:57 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: patch-librhash_util.h,v 1.1 2020/08/24 12:58:52 schmonz Exp $
-
-Avoid choosing aligned_alloc() when it's not present, such as CentOS 6
-with lang/gcc7.
-
---- librhash/util.h.orig       2020-07-14 19:35:11.000000000 +0000
-+++ librhash/util.h
-@@ -39,7 +39,7 @@ extern "C" {
- # define rhash_aligned_alloc(alignment, size) _aligned_malloc((size), (alignment))
- # define rhash_aligned_free(ptr) _aligned_free(ptr)
- 
--#elif (__STDC_VERSION__ >= 201112L || defined(_ISOC11_SOURCE)) && !defined(__APPLE__)
-+#elif (__STDC_VERSION__ >= 201112L || defined(_ISOC11_SOURCE)) && !defined(__APPLE__) && !defined(NOPE_DOES_NOT_HAS_STDC_ALIGNED_ALLOC)
- 
- # define HAS_STDC_ALIGNED_ALLOC
- # include <stdlib.h>



Home | Main Index | Thread Index | Old Index