BSD Ports

security/rhash 1.4.4_1 MidnightBSD

Utility and library for computing and checking of file hashes

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
bsd0
Categories
security

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.

In the other systems

SystemPortVersion
MidnightBSDsecurity/rhash1.4.4_1
FreeBSDsecurity/rhash1.4.6
OpenBSDsecurity/rhash1.4.6
NetBSDmisc/rhash1.4.6
DragonFlysecurity/rhash1.4.4_1

Install

Binary package:

mport install rhash

From mports:

cd /usr/mports/security/rhash && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	rhash>0:security/rhash
LIB_DEPENDS=	librhash.so:security/rhash

Dependencies

No port depends on this one.

Configuration

Options name: security_rhash

OptionDefaultDescription
DOCSoff
NLSoff
USES
cpe
Service scripts
none

Files

Manual pages 12
  • ed2k-link(1)
  • edonr256-hash(1)
  • edonr512-hash(1)
  • gost12-256-hash(1)
  • gost12-512-hash(1)
  • has160-hash(1)
  • magnet-link(1)
  • rhash(1)
  • sfv-hash(1)
  • tiger-hash(1)
  • tth-hash(1)
  • whirlpool-hash(1)
pkg-plist 41
  • bin/ed2k-link
  • bin/edonr256-hash
  • bin/edonr512-hash
  • bin/gost12-256-hash
  • bin/gost12-512-hash
  • bin/has160-hash
  • bin/magnet-link
  • bin/rhash
  • bin/sfv-hash
  • bin/tiger-hash
  • bin/tth-hash
  • bin/whirlpool-hash
  • @sample etc/rhashrc.sample
  • include/rhash.h
  • include/rhash_torrent.h
  • lib/librhash.a
  • lib/librhash.so
  • lib/librhash.so.1
  • libdata/pkgconfig/librhash.pc
  • share/man/man1/ed2k-link.1.gz
  • share/man/man1/edonr256-hash.1.gz
  • share/man/man1/edonr512-hash.1.gz
  • share/man/man1/gost12-256-hash.1.gz
  • share/man/man1/gost12-512-hash.1.gz
  • share/man/man1/has160-hash.1.gz
  • share/man/man1/magnet-link.1.gz
  • share/man/man1/rhash.1.gz
  • share/man/man1/sfv-hash.1.gz
  • share/man/man1/tiger-hash.1.gz
  • share/man/man1/tth-hash.1.gz
  • share/man/man1/whirlpool-hash.1.gz
  • share/locale/ca/LC_MESSAGES/rhash.mo
  • share/locale/de/LC_MESSAGES/rhash.mo
  • share/locale/en_AU/LC_MESSAGES/rhash.mo
  • share/locale/es/LC_MESSAGES/rhash.mo
  • share/locale/fr/LC_MESSAGES/rhash.mo
  • share/locale/gl/LC_MESSAGES/rhash.mo
  • share/locale/it/LC_MESSAGES/rhash.mo
  • share/locale/ro/LC_MESSAGES/rhash.mo
  • share/locale/ru/LC_MESSAGES/rhash.mo
  • share/locale/uk/LC_MESSAGES/rhash.mo
distinfo 4
FileSizeSHA256
rhash-1.4.4-src.tar.gz4356918e7d1a8ccac0143c8fe9b68ebac67d485df119ea17a613f4038cda52f84ef52a
c804982d1b24c6533118b3068d2cfdca685076f3.patch83496c7070da5a1eb89a7f241db5198730117fa87a58014a6a49675237da09fc1cb
9ef90b958b7ae50aeeb5c269468034d73d6e2efe.patch2195ce8ac2e2b675340a9ad0fd6b49a1c1e537be97047f2840fde557b16b87e8588e
b8c91ea6551e99e10352386cd46ea26973bb4a4d.patch834b6df1f7f8648675fb8a1ce31ee1dd017519681c7c2d362a5f0fd7629b237b45d
Master sites 1
  • SF