git: 593c072323b2 - main - security/rhash: update RHash to the latest version 1.4.3

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Sat, 18 Jun 2022 11:45:48 UTC
The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=593c072323b2fe336bdb25c407c821586087b7cf

commit 593c072323b2fe336bdb25c407c821586087b7cf
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2022-06-18 11:44:54 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2022-06-18 11:44:54 +0000

    security/rhash: update RHash to the latest version 1.4.3
    
    After a long long time, the patch* yielding ~1.6x performance boost
    of RIPEMD-160 on some CPUs by interleaving the macro/function calls
    had been finally integrated upstream, remove it from the port.
    
    Reported by:    portscout
    
    *) https://sourceforge.net/p/rhash/patches/5/
---
 security/rhash/Makefile              |  8 +-------
 security/rhash/distinfo              |  8 +++-----
 security/rhash/files/patch-configure | 27 ---------------------------
 3 files changed, 4 insertions(+), 39 deletions(-)

diff --git a/security/rhash/Makefile b/security/rhash/Makefile
index 3c75cc4d9d7c..870f5a114148 100644
--- a/security/rhash/Makefile
+++ b/security/rhash/Makefile
@@ -1,17 +1,11 @@
 # Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
 
 PORTNAME=	rhash
-PORTVERSION=	1.4.2
+PORTVERSION=	1.4.3
 CATEGORIES=	security
 MASTER_SITES=	SF
 DISTNAME=	${PORTNAME}-${PORTVERSION}-src
 
-PATCH_SITES=	https://gitweb.gentoo.org/repo/gentoo.git/plain/app-crypt/rhash/files/:gentoo \
-		https://raw.githubusercontent.com/gentoo/gentoo/master/app-crypt/rhash/files/:gentoo \
-		https://sourceforge.net/p/rhash/patches/_discuss/thread/271b85e9/0ac7/attachment/:sf
-PATCHFILES=	\
-		rhash-1.3.2.patch:-p1:sf
-
 MAINTAINER=	danfe@FreeBSD.org
 COMMENT=	Utility and library for computing and checking of file hashes
 
diff --git a/security/rhash/distinfo b/security/rhash/distinfo
index f93ba59d584a..391dc48921f4 100644
--- a/security/rhash/distinfo
+++ b/security/rhash/distinfo
@@ -1,5 +1,3 @@
-TIMESTAMP = 1626297459
-SHA256 (rhash-1.4.2-src.tar.gz) = 600d00f5f91ef04194d50903d3c79412099328c42f28ff43a0bdb777b00bec62
-SIZE (rhash-1.4.2-src.tar.gz) = 416853
-SHA256 (rhash-1.3.2.patch) = 9aeeb0d89f0203429a6f5433e7dd5fd4b621b34bc42fb6d5d32ede6279c990b0
-SIZE (rhash-1.3.2.patch) = 9021
+TIMESTAMP = 1655392419
+SHA256 (rhash-1.4.3-src.tar.gz) = 1e40fa66966306920f043866cbe8612f4b939b033ba5e2708c3f41be257c8a3e
+SIZE (rhash-1.4.3-src.tar.gz) = 429290
diff --git a/security/rhash/files/patch-configure b/security/rhash/files/patch-configure
deleted file mode 100644
index 3d90c2a96f68..000000000000
--- a/security/rhash/files/patch-configure
+++ /dev/null
@@ -1,27 +0,0 @@
---- configure.orig	2021-07-14 20:55:34 UTC
-+++ configure
-@@ -513,14 +513,9 @@ else
-   CC_TMP="$CC"
-   test -n "$OPT_CC" && OTHER_CC= || OTHER_CC="gcc cc"
-   for CC in "$CC_TMP" $OTHER_CC; do
--    cc_name_tmp=
-     if run_cmd "$CC -v"; then
-       cc_name_tmp=$($CC -v 2>&1 | tail -n 1 | cut -d ' ' -f 1)
--    elif run_cmd "$CC --version"; then
--      cc_name_tmp=$($CC --version 2>&1 | head -n 1 | cut -d ' ' -f 1)
--    fi
--    if test -n "${cc_name_tmp}"; then
--      if echo "$cc_name_tmp" | grep -q "gcc"; then
-+      if test "$cc_name_tmp" = "gcc"; then
-         cc_name=$cc_name_tmp
-         start_check "$CC version"
-         cc_vendor=gnu
-@@ -544,7 +539,7 @@ else
-         finish_check "$cc_name $cc_version"
-         break
-       fi
--      if echo "$cc_name_tmp" | grep -q "clang"; then
-+      if $CC -v 2>&1 | grep -q "clang"; then
-         start_check "$CC version"
-         cc_vendor=clang
-         cc_version=$($CC -dumpversion 2>&1)