rhash: update to 1.4.2

- significantly improve file reading performance on Linux/Unix
  - print 'Nothing to verify' when verifying a hash file without a
    message digest
  - count unparsed lines of a hash file as errors
  - print line numbers of unparsed lines of a hash file
  - Bugfix: fix verification of some hash files containing spaces in
    file paths
This commit is contained in:
J Farkas 2021-07-18 17:22:01 +00:00 committed by Leah Neukirchen
parent cbef43559b
commit b321ec2ad7

View file

@ -1,21 +1,21 @@
# Template file for 'rhash' # Template file for 'rhash'
pkgname=rhash pkgname=rhash
version=1.4.1 version=1.4.2
revision=2 revision=1
wrksrc="RHash-${version}" wrksrc="RHash-${version}"
build_style=configure build_style=configure
configure_args="--enable-openssl --disable-openssl-runtime configure_args="--enable-openssl --disable-openssl-runtime
--prefix=/usr --sysconfdir=/etc" --prefix=/usr --sysconfdir=/etc"
conf_files="/etc/rhashrc" conf_files="/etc/rhashrc"
make_build_target="all lib-shared"
make_install_target="install install-lib-shared"
makedepends="openssl-devel" makedepends="openssl-devel"
short_desc="Utility for computing hash sums and creating magnet links" short_desc="Utility for computing hash sums and creating magnet links"
maintainer="Leah Neukirchen <leah@vuxu.org>" maintainer="Leah Neukirchen <leah@vuxu.org>"
license="0BSD" license="0BSD"
homepage="https://github.com/rhash/RHash" homepage="https://github.com/rhash/RHash"
distfiles="https://github.com/rhash/RHash/archive/v${version}.tar.gz" distfiles="https://github.com/rhash/RHash/archive/v${version}.tar.gz"
checksum=430c812733e69b78f07ce30a05db69563450e41e217ae618507a4ce2e144a297 checksum=600d00f5f91ef04194d50903d3c79412099328c42f28ff43a0bdb777b00bec62
make_build_target="all lib-shared"
make_install_target="install install-lib-shared"
post_extract() { post_extract() {
sed -i 's/__GLIBC__/__linux__/' librhash/byte_order.h sed -i 's/__GLIBC__/__linux__/' librhash/byte_order.h