Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jul 2021 09:37:10 GMT
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 089890788468 - main - security/rhash: the port had been updated (+)
Message-ID:  <202107210937.16L9bAjP043088@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=089890788468de58ceb785335426576e4bb899e0

commit 089890788468de58ceb785335426576e4bb899e0
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2021-07-21 09:36:02 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2021-07-21 09:36:19 +0000

    security/rhash: the port had been updated (+)
    
    - Update RHash to version 1.4.2
    - Revert one change in the configure script which
      breaks the build on FreeBSD (at least)
    
    Reported by:    portscout
---
 security/rhash/Makefile              |  2 +-
 security/rhash/distinfo              |  6 +++---
 security/rhash/files/patch-configure | 27 +++++++++++++++++++++++++++
 3 files changed, 31 insertions(+), 4 deletions(-)

diff --git a/security/rhash/Makefile b/security/rhash/Makefile
index 086da8637f3e..0ee04111f25a 100644
--- a/security/rhash/Makefile
+++ b/security/rhash/Makefile
@@ -1,7 +1,7 @@
 # Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
 
 PORTNAME=	rhash
-PORTVERSION=	1.4.1
+PORTVERSION=	1.4.2
 CATEGORIES=	security
 MASTER_SITES=	SF
 DISTNAME=	${PORTNAME}-${PORTVERSION}-src
diff --git a/security/rhash/distinfo b/security/rhash/distinfo
index fa8fa4ea462d..f93ba59d584a 100644
--- a/security/rhash/distinfo
+++ b/security/rhash/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1610013545
-SHA256 (rhash-1.4.1-src.tar.gz) = 430c812733e69b78f07ce30a05db69563450e41e217ae618507a4ce2e144a297
-SIZE (rhash-1.4.1-src.tar.gz) = 413274
+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
diff --git a/security/rhash/files/patch-configure b/security/rhash/files/patch-configure
new file mode 100644
index 000000000000..3d90c2a96f68
--- /dev/null
+++ b/security/rhash/files/patch-configure
@@ -0,0 +1,27 @@
+--- 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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107210937.16L9bAjP043088>