summaryrefslogtreecommitdiff
path: root/misc/rhash
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2021-07-15 09:39:17 +0000
committeradam <adam@pkgsrc.org>2021-07-15 09:39:17 +0000
commitd637e42b12619f1629441b784cdaca0facd8a994 (patch)
treecee0be1c0f0f2a48596b5f160342595b21d34904 /misc/rhash
parentf9b4c4ef1edb7a9498915a84b2e43e0d3873230b (diff)
downloadpkgsrc-d637e42b12619f1629441b784cdaca0facd8a994.tar.gz
rhash: updated to 1.4.2
RHash v1.4.2 significantly improve file reading performance on Linux/Unix print 'Nothing to verify' when verifying a hash file without a message digest count unparsed lines of a hash file as errors print line numbers of unparsed lines of a hash file Bugfix: fix verification of some hash files containing spaces in file paths
Diffstat (limited to 'misc/rhash')
-rw-r--r--misc/rhash/Makefile5
-rw-r--r--misc/rhash/distinfo12
-rw-r--r--misc/rhash/patches/patch-configure17
3 files changed, 22 insertions, 12 deletions
diff --git a/misc/rhash/Makefile b/misc/rhash/Makefile
index b0a2f041589..ba9a0c87f09 100644
--- a/misc/rhash/Makefile
+++ b/misc/rhash/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.15 2021/01/07 22:00:29 adam Exp $
+# $NetBSD: Makefile,v 1.16 2021/07/15 09:39:17 adam Exp $
-DISTNAME= rhash-1.4.1
+DISTNAME= rhash-1.4.2
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_GITHUB:=rhash/}
GITHUB_PROJECT= RHash
@@ -15,7 +15,6 @@ WRKSRC= ${WRKDIR}/${DISTNAME:S/rh/RH/}
HAS_CONFIGURE= yes
USE_GCC_RUNTIME= yes
CONFIGURE_ARGS+= --disable-symlinks
-CONFIGURE_ARGS+= --disable-openssl-runtime
CONFIGURE_ARGS+= --enable-lib-shared
CONFIGURE_ARGS+= --enable-lib-static
CONFIGURE_ARGS+= --enable-openssl
diff --git a/misc/rhash/distinfo b/misc/rhash/distinfo
index 2b7a2621993..4e0dafa845c 100644
--- a/misc/rhash/distinfo
+++ b/misc/rhash/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.16 2021/01/07 22:00:29 adam Exp $
+$NetBSD: distinfo,v 1.17 2021/07/15 09:39:17 adam Exp $
-SHA1 (rhash-1.4.1.tar.gz) = e1f559d060fd07bfca854c8ae3384798bd2ef266
-RMD160 (rhash-1.4.1.tar.gz) = fa43a665be6f994e536ca6e69c5239cbc4febaa0
-SHA512 (rhash-1.4.1.tar.gz) = 30bbef7ce7815ee4ac062c537206a0b895845f61de4b1fdc0c0494f66284d9f3c1b06f812ea913fa35a3342d230d25d0986a1db644c7b4464bc1185997beb638
-Size (rhash-1.4.1.tar.gz) = 413274 bytes
-SHA1 (patch-configure) = ed8e4fc7106cd59f0e25f807ad588a219a798e92
+SHA1 (rhash-1.4.2.tar.gz) = fdb0b0c16f3ba3eba734b3adf9f2fc4c427ff987
+RMD160 (rhash-1.4.2.tar.gz) = 0427c702fa88f53c9c4a16255f8ae3c20c225b47
+SHA512 (rhash-1.4.2.tar.gz) = 41df57e8b3f32c93d8e6f2ac668b32aaa23eb2eaf90a83f109e61e511404a5036ea88bcf2854e19c1ade0f61960e0d9edf01f3d82e1c645fed36579e9d7a6a25
+Size (rhash-1.4.2.tar.gz) = 416853 bytes
+SHA1 (patch-configure) = 6f0c4abf3f487f046feea5aca5866481eda4546a
SHA1 (patch-librhash_util.h) = 78d34ff14a7d03069915de0ade14f3d0faff2d69
diff --git a/misc/rhash/patches/patch-configure b/misc/rhash/patches/patch-configure
index 6a0db15f3dc..89e19aa04be 100644
--- a/misc/rhash/patches/patch-configure
+++ b/misc/rhash/patches/patch-configure
@@ -1,11 +1,22 @@
-$NetBSD: patch-configure,v 1.1 2020/08/24 12:58:52 schmonz Exp $
+$NetBSD: patch-configure,v 1.2 2021/07/15 09:39:17 adam Exp $
+
+Skip compiler detection magic.
Avoid choosing aligned_alloc() when it's not present, such as CentOS 6
with lang/gcc7.
---- configure.orig 2020-07-14 19:35:11.000000000 +0000
+--- configure.orig 2021-07-14 20:55:34.000000000 +0000
+++ configure
-@@ -655,6 +655,16 @@ elif test "$OPT_OPENSSL" = "auto" || tes
+@@ -563,8 +563,6 @@ else
+ fi
+ done
+ fi # icc
+-test -z "$cc_vendor" && die "compiler not found"
+-test "$cc_fail" = "yes" && die "unsupported compiler version"
+
+ log_start "compiler working with default options"
+ if ! cc_check_cflag; then
+@@ -660,6 +658,16 @@ elif test "$OPT_OPENSSL" = "auto" || tes
finish_check "$ALLOW_RUNTIME_LINKING"
fi