Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37562646
en ru br
ALT Linux repos
S:1.10.2-alt2_2.1

Group :: File tools
RPM: hashrat

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# BEGIN SourceDeps(oneline):
BuildRequires: libssl-devel zlib-devel
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
%global _name Hashrat

Name: hashrat
Summary: Hashing tool supporting several hashes and recursivity
Version: 1.10.2
License: GPLv3
Release: alt2_2.1
Group: File tools
URL: http://www.cjpaget.co.uk/Code/Hashrat
Source0: https://codeload.github.com/ColumPaget/%{_name}/tar.gz/%{version}/%{_name}-%{version}.tar.gz
Source44: import.info

%description
Hashrat is a hash-generation utility that supports the md5, sha1, sha256,
sha512, whirlpool, jh-244, jh256, jh-384 and jh-512 hash functions, and
also the HMAC versions of those functions. It can output in 'traditional'
format (same as md5sum and shasum and the like), or it's own format.

Hashes can be output in octal, decimal, hexadecimal, uppercase hexadecimal
or base64. Hashrat also supports directory recursion, hashing entire devices,
generating a hash for an entire directory, operations in remote machines
and several other features. It has a 'CGI' mode that can be used as a
web-page to lookup hashes. This tool is useful in forensics investigations
and network security.

%prep
%setup -q -n %{_name}-%{version}

%build
%configure --enable-xattr
%make_build

%install
make install DESTDIR=%{buildroot}

%files
%doc LICENSE README.md
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin