summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2020-04-13 09:54:35 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2020-04-13 09:54:35 +0000
commitbda1b7d4808b70fcb0807f8b21488527514cca52 (patch)
tree42a3f5e1149b18e93cd1feb9f134e1accfe9d414
parentUpdate to release 1.9.0 (diff)
Pull the community patch which yields some performance boost to RIPEMD-160
by interleaving the macro/function calls. Effect is more visible on older and less potent CPUs. Obtained from: https://sourceforge.net/p/rhash/patches/5/
Notes
Notes: svn path=/head/; revision=531588
-rw-r--r--security/rhash/Makefile9
-rw-r--r--security/rhash/distinfo2
2 files changed, 8 insertions, 3 deletions
diff --git a/security/rhash/Makefile b/security/rhash/Makefile
index bc1105b77e9e..0de75e5db885 100644
--- a/security/rhash/Makefile
+++ b/security/rhash/Makefile
@@ -7,9 +7,12 @@ CATEGORIES= security
MASTER_SITES= SF
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
-PATCH_SITES= https://gitweb.gentoo.org/repo/gentoo.git/plain/app-crypt/rhash/files/ \
- https://raw.githubusercontent.com/gentoo/gentoo/master/app-crypt/rhash/files/
-PATCHFILES= rhash-1.3.9-nls.patch:-p1 rhash-1.3.9-rc-segfault.patch:-p1
+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.9-nls.patch:-p1:gentoo \
+ rhash-1.3.9-rc-segfault.patch:-p1:gentoo \
+ 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 e88ba23f5160..28530237fb48 100644
--- a/security/rhash/distinfo
+++ b/security/rhash/distinfo
@@ -5,3 +5,5 @@ SHA256 (rhash-1.3.9-nls.patch) = 2e60e6e34d32296f8b6d0851f5f8fe6506836dea8d560d1
SIZE (rhash-1.3.9-nls.patch) = 744
SHA256 (rhash-1.3.9-rc-segfault.patch) = 39e875cde8026fb609e1008d7afc7133474e104c5f823bd7552060d39ae7d891
SIZE (rhash-1.3.9-rc-segfault.patch) = 9662
+SHA256 (rhash-1.3.2.patch) = 9aeeb0d89f0203429a6f5433e7dd5fd4b621b34bc42fb6d5d32ede6279c990b0
+SIZE (rhash-1.3.2.patch) = 9021