pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/misc/rhash
Module Name: pkgsrc
Committed By: adam
Date: Wed May 14 05:22:59 UTC 2025
Modified Files:
pkgsrc/misc/rhash: Makefile distinfo
pkgsrc/misc/rhash/patches: patch-configure patch-librhash_Makefile
Removed Files:
pkgsrc/misc/rhash/patches: patch-common__func.h
Log Message:
rhash: updated to 1.4.6
1.4.6
Added BLAKE3 hash support (use new --blake3 flag)
Faster file reading during hash computation
Improved SHA1/SHA256 performance using Intel SHA CPU extensions
Resolved build issues with GCC 7 and GCC 15
Updated translations
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/misc/rhash/Makefile
cvs rdiff -u -r1.26 -r1.27 pkgsrc/misc/rhash/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/misc/rhash/patches/patch-common__func.h
cvs rdiff -u -r1.5 -r1.6 pkgsrc/misc/rhash/patches/patch-configure \
pkgsrc/misc/rhash/patches/patch-librhash_Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/misc/rhash/Makefile
diff -u pkgsrc/misc/rhash/Makefile:1.25 pkgsrc/misc/rhash/Makefile:1.26
--- pkgsrc/misc/rhash/Makefile:1.25 Mon Oct 14 13:04:00 2024
+++ pkgsrc/misc/rhash/Makefile Wed May 14 05:22:59 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.25 2024/10/14 13:04:00 adam Exp $
+# $NetBSD: Makefile,v 1.26 2025/05/14 05:22:59 adam Exp $
-DISTNAME= rhash-1.4.5
+DISTNAME= rhash-1.4.6
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_GITHUB:=rhash/}
GITHUB_PROJECT= RHash
Index: pkgsrc/misc/rhash/distinfo
diff -u pkgsrc/misc/rhash/distinfo:1.26 pkgsrc/misc/rhash/distinfo:1.27
--- pkgsrc/misc/rhash/distinfo:1.26 Wed Oct 16 07:37:03 2024
+++ pkgsrc/misc/rhash/distinfo Wed May 14 05:22:59 2025
@@ -1,9 +1,8 @@
-$NetBSD: distinfo,v 1.26 2024/10/16 07:37:03 nia Exp $
+$NetBSD: distinfo,v 1.27 2025/05/14 05:22:59 adam Exp $
-BLAKE2s (rhash-1.4.5.tar.gz) = 3a9ec276de596097b4861eecbbbfa9e8e5addbb1db6ca98eeb502d4f77f19de4
-SHA512 (rhash-1.4.5.tar.gz) = 49bd6aa2497efc4871ae31eaca51d2dc78ceb7126311557d5280b14fafe9355eaecad37f0f78f865e4e1dd1aeb506d3301989cd2f9fff7b0091c81978e8c2f2e
-Size (rhash-1.4.5.tar.gz) = 444526 bytes
+BLAKE2s (rhash-1.4.6.tar.gz) = cf6c21dda8208ade1ac149d7ee2235c5bc54a843e6fb63e2f7bdae5413a927aa
+SHA512 (rhash-1.4.6.tar.gz) = c125b71ec36cce2ec31057239cac8b987555f5e3b152dacb6386b905f8cc4d449c1de5b53e5a5206a2d87975681225c9b54e5826c10ffd91b3440f8595d22b15
+Size (rhash-1.4.6.tar.gz) = 461244 bytes
SHA1 (patch-Makefile) = 55d3e148db36ab4bcff9fd23add3e32b51a3854c
-SHA1 (patch-common__func.h) = dae4b22b5469ce62efcbec6480b62a7acb2f1e86
-SHA1 (patch-configure) = 7ed3477a93aa321847dc3d84e6493f14be9509a3
-SHA1 (patch-librhash_Makefile) = 7d73616ed7f14e1d41fac2c5c788f6eed8a91b4d
+SHA1 (patch-configure) = 0c0fe7ae06ccaabbfbd4a9e33e8ed8c929e21761
+SHA1 (patch-librhash_Makefile) = c93c2078fc459468390723d9a92843883b77e235
Index: pkgsrc/misc/rhash/patches/patch-configure
diff -u pkgsrc/misc/rhash/patches/patch-configure:1.5 pkgsrc/misc/rhash/patches/patch-configure:1.6
--- pkgsrc/misc/rhash/patches/patch-configure:1.5 Mon Oct 14 13:04:00 2024
+++ pkgsrc/misc/rhash/patches/patch-configure Wed May 14 05:22:59 2025
@@ -1,13 +1,13 @@
-$NetBSD: patch-configure,v 1.5 2024/10/14 13:04:00 adam Exp $
+$NetBSD: patch-configure,v 1.6 2025/05/14 05:22:59 adam Exp $
Skip compiler detection magic.
Avoid choosing aligned_alloc() when it's not present, such as CentOS 6
with lang/gcc7 and older Solaris releases.
---- configure.orig 2024-10-13 23:43:50.000000000 +0000
+--- configure.orig 2025-05-13 20:58:34.000000000 +0000
+++ configure
-@@ -647,8 +647,6 @@ else
+@@ -655,8 +655,6 @@ else
fi
done
fi # icc
@@ -16,8 +16,8 @@ with lang/gcc7 and older Solaris release
log_start "compiler working with default options"
if ! cc_check_cflag; then
-@@ -758,6 +756,16 @@ elif test "$OPT_OPENSSL" = "auto" || tes
- finish_check "$ALLOW_RUNTIME_LINKING"
+@@ -788,6 +786,16 @@ if test "$OPT_SHANI" = "auto"; then
+ finish_check "$HAS_X86_SSE4_SHANI"
fi
+start_check "libc provides aligned_alloc"
Index: pkgsrc/misc/rhash/patches/patch-librhash_Makefile
diff -u pkgsrc/misc/rhash/patches/patch-librhash_Makefile:1.5 pkgsrc/misc/rhash/patches/patch-librhash_Makefile:1.6
--- pkgsrc/misc/rhash/patches/patch-librhash_Makefile:1.5 Mon Oct 14 13:04:00 2024
+++ pkgsrc/misc/rhash/patches/patch-librhash_Makefile Wed May 14 05:22:59 2025
@@ -1,13 +1,13 @@
-$NetBSD: patch-librhash_Makefile,v 1.5 2024/10/14 13:04:00 adam Exp $
+$NetBSD: patch-librhash_Makefile,v 1.6 2025/05/14 05:22:59 adam Exp $
libtoolize.
---- librhash/Makefile.orig 2024-10-13 23:43:50.000000000 +0000
+--- librhash/Makefile.orig 2025-05-13 20:58:34.000000000 +0000
+++ librhash/Makefile
@@ -4,7 +4,7 @@ include config.mak
- HEADERS = algorithms.h byte_order.h plug_openssl.h rhash.h rhash_torrent.h aich.h blake2b.h blake2s.h crc32.h ed2k.h edonr.h hex.h md4.h md5.h sha1.h sha256.h sha512.h sha3.h ripemd-160.h gost12.h
gost94.h has160.h snefru.h tiger.h tth.h torrent.h ustd.h util.h whirlpool.h
- SOURCES = algorithms.c byte_order.c plug_openssl.c rhash.c rhash_torrent.c aich.c blake2b.c blake2s.c crc32.c ed2k.c edonr.c hex.c md4.c md5.c sha1.c sha256.c sha512.c sha3.c ripemd-160.c gost12.c
gost94.c has160.c snefru.c tiger.c tiger_sbox.c tth.c torrent.c util.c whirlpool.c whirlpool_sbox.c
+ HEADERS = algorithms.h byte_order.h plug_openssl.h rhash.h rhash_torrent.h aich.h blake2b.h blake2s.h blake3.h crc32.h ed2k.h edonr.h hex.h md4.h md5.h sha1.h sha_ni.h sha256.h sha512.h sha3.h
ripemd-160.h gost12.h gost94.h has160.h snefru.h tiger.h tth.h torrent.h ustd.h util.h whirlpool.h
+ SOURCES = algorithms.c byte_order.c plug_openssl.c rhash.c rhash_torrent.c aich.c blake2b.c blake2s.c blake3.c crc32.c ed2k.c edonr.c hex.c md4.c md5.c sha1.c sha_ni.c sha256.c sha512.c sha3.c
ripemd-160.c gost12.c gost94.c has160.c snefru.c tiger.c tiger_sbox.c tth.c torrent.c util.c whirlpool.c whirlpool_sbox.c
-OBJECTS = $(SOURCES:.c=.o)
+OBJECTS = $(SOURCES:.c=.lo)
LIB_HEADERS = rhash.h rhash_torrent.h
@@ -25,7 +25,7 @@ libtoolize.
install-implib:
$(INSTALL) -d $(LIBDIR)
-@@ -63,111 +60,10 @@ uninstall-lib-headers:
+@@ -63,119 +60,10 @@ uninstall-lib-headers:
#%.o: %.c
# $(CC) -c $(CFLAGS) $< -o $@
@@ -36,9 +36,10 @@ libtoolize.
- $(CC) -c $(CFLAGS) $< -o $@
-
-algorithms.o: algorithms.c algorithms.h rhash.h byte_order.h ustd.h \
-- aich.h sha1.h blake2b.h blake2s.h crc32.h ed2k.h md4.h edonr.h gost12.h \
-- gost94.h has160.h md5.h ripemd-160.h snefru.h sha256.h sha512.h sha3.h \
-- tiger.h torrent.h tth.h whirlpool.h
+- util.h aich.h sha1.h blake2b.h blake2s.h blake3.h crc32.h ed2k.h md4.h \
+- edonr.h gost12.h gost94.h has160.h md5.h ripemd-160.h snefru.h sha_ni.h \
+- sha256.h sha512.h sha3.h tiger.h torrent.h tth.h whirlpool.h \
+- plug_openssl.h
- $(CC) -c $(CFLAGS) $< -o $@
-
-blake2b.o: blake2b.c blake2b.h ustd.h byte_order.h
@@ -47,6 +48,9 @@ libtoolize.
-blake2s.o: blake2s.c blake2s.h ustd.h byte_order.h
- $(CC) -c $(CFLAGS) $< -o $@
-
+-blake3.o: blake3.c blake3.h ustd.h byte_order.h
+- $(CC) -c $(CFLAGS) $< -o $@
+-
-byte_order.o: byte_order.c byte_order.h ustd.h
- $(CC) -c $(CFLAGS) $< -o $@
-
@@ -77,7 +81,8 @@ libtoolize.
-md5.o: md5.c byte_order.h ustd.h md5.h
- $(CC) -c $(CFLAGS) $< -o $@
-
--plug_openssl.o: plug_openssl.c
+-plug_openssl.o: plug_openssl.c util.h plug_openssl.h algorithms.h rhash.h \
+- byte_order.h ustd.h
- $(CC) -c $(CFLAGS) $< -o $@
-
-rhash.o: rhash.c rhash.h algorithms.h byte_order.h ustd.h hex.h \
@@ -94,6 +99,9 @@ libtoolize.
-sha1.o: sha1.c byte_order.h ustd.h sha1.h
- $(CC) -c $(CFLAGS) $< -o $@
-
+-sha_ni.o: sha_ni.c sha_ni.h sha1.h ustd.h sha256.h byte_order.h
+- $(CC) -c $(CFLAGS) $< -o $@
+-
-sha256.o: sha256.c byte_order.h ustd.h sha256.h
- $(CC) -c $(CFLAGS) $< -o $@
-
@@ -140,7 +148,7 @@ libtoolize.
# build shared library
$(EXPORTS_FILE): $(LIB_HEADERS)
-@@ -181,8 +77,8 @@ $(LIBRHASH_SOLINK):
+@@ -189,8 +77,8 @@ $(LIBRHASH_SOLINK):
rm -f $(LIBRHASH_SOLINK)
ln -s $(LIBRHASH_SO_MAJ) $(LIBRHASH_SOLINK)
Home |
Main Index |
Thread Index |
Old Index