notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
rhash Utility and library for computing and checking of file hashes
1.4.4_1 security on this many watch lists=23 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.4.4_1Version of this port present on the latest quarterly branch.
Maintainer: danfe@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2015-03-13 17:59:15
Last Update: 2024-01-23 15:59:54
Commit Hash: 8dd1c5f
People watching this port, also watch:: readline, pkgconf, libedit, jsoncpp, expat
License: BSD0CLAUSE
WWW:
https://rhash.sourceforge.net/
Description:
RHash is a console utility and library for computing and verifying hash sums of files. It supports CRC32, MD4, MD5, SHA1, SHA256, SHA512, SHA3, Tiger, TTH, Torrent BTIH, AICH, ED2K, GOST R 34.11-94, RIPEMD-160, HAS-160, EDON-R 256/512, Whirlpool, and Snefru-128/256 hash sums. Its features are: * Can calculate Magnet links * Output in a predefined (SFV, BSD-like) or a user-defined format * Ability to process directories recursively * Updating existing hash-files (adding hash sums of files missing in a hash-file) * Portable, written in pure C, small in size, open source (MIT license) Perl wrapper is available as `security/p5-Crypt-RHash' port.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (49 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/rhash-1.4.4_1/catalog.mk
  3. /usr/local/share/licenses/rhash-1.4.4_1/LICENSE
  4. /usr/local/share/licenses/rhash-1.4.4_1/BSD0CLAUSE
  5. bin/ed2k-link
  6. bin/edonr256-hash
  7. bin/edonr512-hash
  8. bin/gost12-256-hash
  9. bin/gost12-512-hash
  10. bin/has160-hash
  11. bin/magnet-link
  12. bin/rhash
  13. bin/sfv-hash
  14. bin/tiger-hash
  15. bin/tth-hash
  16. bin/whirlpool-hash
  17. @sample etc/rhashrc.sample
  18. include/rhash.h
  19. include/rhash_torrent.h
  20. lib/librhash.a
  21. lib/librhash.so
  22. lib/librhash.so.1
  23. lib/librhash.so.1.4.4
  24. libdata/pkgconfig/librhash.pc
  25. share/man/man1/ed2k-link.1.gz
  26. share/man/man1/edonr256-hash.1.gz
  27. share/man/man1/edonr512-hash.1.gz
  28. share/man/man1/gost12-256-hash.1.gz
  29. share/man/man1/gost12-512-hash.1.gz
  30. share/man/man1/has160-hash.1.gz
  31. share/man/man1/magnet-link.1.gz
  32. share/man/man1/rhash.1.gz
  33. share/man/man1/sfv-hash.1.gz
  34. share/man/man1/tiger-hash.1.gz
  35. share/man/man1/tth-hash.1.gz
  36. share/man/man1/whirlpool-hash.1.gz
  37. share/locale/ca/LC_MESSAGES/rhash.mo
  38. share/locale/de/LC_MESSAGES/rhash.mo
  39. share/locale/en_AU/LC_MESSAGES/rhash.mo
  40. share/locale/es/LC_MESSAGES/rhash.mo
  41. share/locale/fr/LC_MESSAGES/rhash.mo
  42. share/locale/gl/LC_MESSAGES/rhash.mo
  43. share/locale/it/LC_MESSAGES/rhash.mo
  44. share/locale/ro/LC_MESSAGES/rhash.mo
  45. share/locale/ru/LC_MESSAGES/rhash.mo
  46. share/locale/uk/LC_MESSAGES/rhash.mo
  47. @owner
  48. @group
  49. @mode
Collapse this list.
Dependency lines:
  • rhash>0:security/rhash
To install the port:
cd /usr/ports/security/rhash/ && make install clean
To add the package, run one of these commands:
  • pkg install security/rhash
  • pkg install rhash
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: rhash
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1694680883 SHA256 (rhash-1.4.4-src.tar.gz) = 8e7d1a8ccac0143c8fe9b68ebac67d485df119ea17a613f4038cda52f84ef52a SIZE (rhash-1.4.4-src.tar.gz) = 435691

Expand this list (6 items)

Collapse this list.

SHA256 (c804982d1b24c6533118b3068d2cfdca685076f3.patch) = 96c7070da5a1eb89a7f241db5198730117fa87a58014a6a49675237da09fc1cb SIZE (c804982d1b24c6533118b3068d2cfdca685076f3.patch) = 834 SHA256 (9ef90b958b7ae50aeeb5c269468034d73d6e2efe.patch) = ce8ac2e2b675340a9ad0fd6b49a1c1e537be97047f2840fde557b16b87e8588e SIZE (9ef90b958b7ae50aeeb5c269468034d73d6e2efe.patch) = 2195 SHA256 (b8c91ea6551e99e10352386cd46ea26973bb4a4d.patch) = b6df1f7f8648675fb8a1ce31ee1dd017519681c7c2d362a5f0fd7629b237b45d SIZE (b8c91ea6551e99e10352386cd46ea26973bb4a4d.patch) = 834

Collapse this list.


Packages (timestamps in pop-ups are UTC):
rhash
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.4.4_11.4.4_11.4.11.4.4_11.4.4_1-1.4.1-
FreeBSD:13:quarterly1.4.4_11.4.4_11.4.31.4.4_11.4.4_11.4.41.4.41.4.4
FreeBSD:14:latest1.4.4_11.4.4_11.4.31.4.4_11.4.4_11.4.3-1.4.3
FreeBSD:14:quarterly1.4.4_11.4.4_1-1.4.4_11.4.4_11.4.41.4.41.4.4
FreeBSD:15:latest1.4.4_11.4.4_1n/a1.4.4_1n/a1.4.4_11.4.4_11.4.4_1
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. gettext-runtime>=0.22_1 : devel/gettext-runtime
  2. msgfmt : devel/gettext-tools
Library dependencies:
  1. libintl.so : devel/gettext-runtime
This port is required by:
for Libraries
  1. devel/cmake-core
  2. devel/cmake-gui

Configuration Options:
===> The following configuration options are available for rhash-1.4.4_1: DOCS=on: Build and/or install documentation NLS=on: Native Language Support ===> Use 'make config' to modify these settings
Options name:
security_rhash
USES:
cpe gettext localbase:ldflags
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (56 items)
Collapse this list.
  1. http://cfhcable.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  2. http://cytranet.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  3. http://deac-ams.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  4. http://deac-fra.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  5. http://deac-riga.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  6. http://downloads.sourceforge.net/project/rhash/rhash/1.4.4/
  7. http://excellmedia.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  8. http://freefr.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  9. http://gigenet.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  10. http://ixpeering.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  11. http://jaist.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  12. http://jztkft.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  13. http://kumisystems.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  14. http://liquidtelecom.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  15. http://nchc.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  16. http://netactuate.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  17. http://netcologne.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  18. http://netix.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  19. http://onboardcloud.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  20. http://phoenixnap.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  21. http://razaoinfo.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  22. http://sinalbr.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  23. http://sitsa.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  24. http://sonik.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  25. http://tenet.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  26. http://udomain.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  27. http://ufpr.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  28. http://versaweb.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  29. https://cfhcable.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  30. https://cytranet.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  31. https://deac-ams.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  32. https://deac-fra.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  33. https://deac-riga.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  34. https://downloads.sourceforge.net/project/rhash/rhash/1.4.4/
  35. https://excellmedia.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  36. https://freefr.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  37. https://gigenet.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  38. https://ixpeering.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  39. https://jaist.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  40. https://jztkft.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  41. https://kumisystems.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  42. https://liquidtelecom.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  43. https://nchc.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  44. https://netactuate.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  45. https://netcologne.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  46. https://netix.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  47. https://onboardcloud.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  48. https://phoenixnap.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  49. https://razaoinfo.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  50. https://sinalbr.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  51. https://sitsa.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  52. https://sonik.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  53. https://tenet.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  54. https://udomain.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  55. https://ufpr.dl.sourceforge.net/project/rhash/rhash/1.4.4/
  56. https://versaweb.dl.sourceforge.net/project/rhash/rhash/1.4.4/
Collapse this list.

Number of commits found: 21

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.4.4_1
23 Jan 2024 15:59:54
commit hash: 8dd1c5f9f2bb4e048a0cd5c5bf25fbcab01ad058commit hash: 8dd1c5f9f2bb4e048a0cd5c5bf25fbcab01ad058commit hash: 8dd1c5f9f2bb4e048a0cd5c5bf25fbcab01ad058commit hash: 8dd1c5f9f2bb4e048a0cd5c5bf25fbcab01ad058 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
security/rhash: Impelled to share/man

Approved by:    portmgr (blanket)
1.4.4
06 Nov 2023 10:03:47
commit hash: 06df180a9e39055026499a326ef67812801a8919commit hash: 06df180a9e39055026499a326ef67812801a8919commit hash: 06df180a9e39055026499a326ef67812801a8919commit hash: 06df180a9e39055026499a326ef67812801a8919 files touched by this commit
Rodrigo Osorio (rodrigo) search for other commits by this committer
*/*: Update WWW to use HTTPS for sourceforge.net projects

Homepage link is permanent redirected to its HTTPS counterpart
Issue reported by repology : https://repology.org/repository/freebsd/problems

Approved by:	portmgr (blanket)
PR:		274888
1.4.4
20 Sep 2023 20:12:31
commit hash: e0acbd158ec92f50ecbf8932a57b9d7587564138commit hash: e0acbd158ec92f50ecbf8932a57b9d7587564138commit hash: e0acbd158ec92f50ecbf8932a57b9d7587564138commit hash: e0acbd158ec92f50ecbf8932a57b9d7587564138 files touched by this commit
Dimitry Andric (dim) search for other commits by this committer
security/rhash: update to 1.4.4 and fix build with lld 17

With lld 17, which has become more strict about undefined symbols in
version scripts, security/rhash fails to link its librhash.so:

  ld: error: version script assignment of 'global' to symbol 'rhash_wfile'
failed: symbol not defined

This has been fixed in https://github.com/rhash/RHash/commit/e4b8b92,
which was included in rhash 1.4.4, so update the port to that version.

Unfortunately this also requires a bunch of follow-up build fixes:
* https://github.com/rhash/RHash/commit/c804982: fix assignment
* https://github.com/rhash/RHash/commit/9ef90b9: build on *BSD
* https://github.com/rhash/RHash/commit/b8c91ea: build on Unix

PR:		273775
Approved by:	danfe (maintainer)
MFH:		2023Q3
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
1.4.3
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.4.3
20 Jul 2022 14:22:56
commit hash: 857c05f8674c5f4c990f49f9d0fb7034ebd340fecommit hash: 857c05f8674c5f4c990f49f9d0fb7034ebd340fecommit hash: 857c05f8674c5f4c990f49f9d0fb7034ebd340fecommit hash: 857c05f8674c5f4c990f49f9d0fb7034ebd340fe files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
security: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  <ports@c0decafe.net>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
  *  Aldis Berjoza <aldis@bsdroot.lv>
  *  Alex Dupre <ale@FreeBSD.org>
  *  Alex Kapranoff <kappa@rambler-co.ru>
  *  Alex Samorukov <samm@freebsd.org>
  *  Alexander Botero-Lowry <alex@foxybanana.com>
  *  Alexander Kriventsov <avk@vl.ru>
  *  Alexander Leidinger <netchild@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.4.3
18 Jun 2022 11:44:54
commit hash: 593c072323b2fe336bdb25c407c821586087b7cfcommit hash: 593c072323b2fe336bdb25c407c821586087b7cfcommit hash: 593c072323b2fe336bdb25c407c821586087b7cfcommit hash: 593c072323b2fe336bdb25c407c821586087b7cf files touched by this commit
Alexey Dokuchaev (danfe) search for other commits by this committer
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/
1.4.2
02 Dec 2021 10:37:33
commit hash: 21c98d2ffb95c24b1af5decd1c19251ba1f2a77ccommit hash: 21c98d2ffb95c24b1af5decd1c19251ba1f2a77ccommit hash: 21c98d2ffb95c24b1af5decd1c19251ba1f2a77ccommit hash: 21c98d2ffb95c24b1af5decd1c19251ba1f2a77c files touched by this commit
Tobias Kortkamp (tobik) search for other commits by this committer
security/rhash: Fix license
1.4.2
13 Oct 2021 13:15:40
commit hash: 3eb8f3f12a23671cb556c8e8a3779c13f0861b6ccommit hash: 3eb8f3f12a23671cb556c8e8a3779c13f0861b6ccommit hash: 3eb8f3f12a23671cb556c8e8a3779c13f0861b6ccommit hash: 3eb8f3f12a23671cb556c8e8a3779c13f0861b6c files touched by this commit
Stefan Eßer (se) search for other commits by this committer
security/rhash: Add CPE information

Approved by:	portmgr (blanket)
1.4.2
21 Jul 2021 09:36:19
commit hash: 089890788468de58ceb785335426576e4bb899e0commit hash: 089890788468de58ceb785335426576e4bb899e0commit hash: 089890788468de58ceb785335426576e4bb899e0commit hash: 089890788468de58ceb785335426576e4bb899e0 files touched by this commit
Alexey Dokuchaev (danfe) search for other commits by this committer
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
1.4.1
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
1.4.1
08 Jan 2021 09:21:17
Revision:560754Original commit files touched by this commit
danfe search for other commits by this committer
- Update to version 1.4.1
- GC patch applied upstream

Reported by:	portscout
1.4.0
11 Nov 2020 04:49:20
Revision:554869Original commit files touched by this commit
danfe search for other commits by this committer
Update to version 1.4.0, this allows to drop some patches, including
a couple from Gentoo which are no longer fetchable.

PR:	251010
1.3.9
11 Nov 2020 03:13:37
Revision:554868Original commit files touched by this commit
danfe search for other commits by this committer
Unbreak the build against OpenSSL without MD4 support.

PR:	250578
1.3.9
13 Apr 2020 09:54:35
Revision:531588Original commit files touched by this commit
danfe search for other commits by this committer
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/
1.3.9
13 Apr 2020 07:59:30
Revision:531582Original commit files touched by this commit
danfe search for other commits by this committer
- Belatedly update to version 1.3.9
- Pull two patches from Gentoo Linux
- Install *.pc file for pkgconf(1)
- Allow to build with NLS support

PR:	245424
1.3.5
15 Feb 2019 23:51:14
Revision:493018Original commit files touched by this commit
sunpoet search for other commits by this committer
Update WWW

http://rhash.anz.ru/ redirects to https://www.anz.ru/404

Approved by:	portmgr (blanket)
1.3.5
27 Oct 2017 14:40:41
Revision:452987Original commit files touched by this commit
danfe search for other commits by this committer
- Update `security/rhash' to version 1.3.5 [*]
- Drop now-conflicting hunk from the patch and move needed targets to
  the INSTALL_TARGET instead
- (Tests are currently broken, but this is not a regression from 1.3.4
  which has the same issues: `test_rhash.sh' invokes grep(1) and sed(1)
  assuming they are GNU versions, which should not be hard to patch,
  but most importantly, rhash(1) sporadically crashes with ``Illegal
  instruction (core dumped)'' error which requires more investigation)
- TIMESTAMP (rhash-1.3.5-src.tar.gz) = 1502675104

Found out via:	repology.org [*]
1.3.4
14 Nov 2016 10:32:12
Revision:426100Original commit files touched by this commit
danfe search for other commits by this committer
- Update to version 1.3.4, which had integrated some of our patches
- Further offload patches by setting some make(1) variables; this also
  allows to install binaries and libraries properly stripped (subject
  to WITH_DEBUG) and retire this ugly `post-install' target
- Prefer to install shared program rather than statically linked one

Reported by:	portscout

TIMESTAMP (rhash-1.3.4-src.tar.gz) = 1478556322
1.3.3
28 Oct 2016 14:32:54
Revision:424854Original commit files touched by this commit
danfe search for other commits by this committer
- Fix byte order detection to allow the build on ARM (armv6)
- Enable tests, add LICENSE_FILE, optionize DOCS while here

PR:		213847
Submitted by:	amdmi3
1.3.3
13 Mar 2015 17:59:01
Revision:381228Original commit files touched by this commit
danfe search for other commits by this committer
Add port of RHash, console utility and library for computing and verifying
hash sums of files.  It is based on the same code as existing Perl wrapper,
`security/p5-Crypt-RHash' port.

Also, properly sort `security/Makefile' while here.

Number of commits found: 21