rhash: update to 1.4.4.

This commit is contained in:
Leah Neukirchen 2023-07-18 14:47:31 +02:00
parent 9730a509ac
commit d57a49d0ae
3 changed files with 10 additions and 37 deletions

View File

@ -3021,7 +3021,7 @@ libXfont2.so.2 libXfont2-2.0.1_1
libqalculate.so.22 libqalculate-3.20.1_1
libweston-9.so.0 weston-9.0.0_1
libostree-1.so.1 ostree-2023.1_1
librhash.so.0 rhash-1.3.4_1
librhash.so.1 rhash-1.4.4_1
libserialport.so.0 libserialport-0.1.1_1
libsigrok.so.4 libsigrok-0.5.0_1
libsigrokcxx.so.4 libsigrok-0.5.0_1

View File

@ -1,27 +0,0 @@
From 01bcf3b6163a1e43845fbc08efe9ff551534db3c Mon Sep 17 00:00:00 2001
From: Aleksey Kravchenko <rhash.admin@gmail.com>
Date: Wed, 15 Jun 2022 06:17:59 +0300
Subject: [PATCH 1/2] Fix version macro
---
bindings/version.properties | 2 +-
version.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bindings/version.properties b/bindings/version.properties
index 162590e..54aef26 100644
--- a/bindings/version.properties
+++ b/bindings/version.properties
@@ -1 +1 @@
-version=1.4.2
+version=1.4.3
diff --git a/version.h b/version.h
index af30db7..3fc0325 100644
--- a/version.h
+++ b/version.h
@@ -1 +1 @@
-#define VERSION "1.4.2"
+#define VERSION "1.4.3"
--
2.36.1

View File

@ -1,20 +1,18 @@
# Template file for 'rhash'
pkgname=rhash
version=1.4.3
revision=2
version=1.4.4
revision=1
build_style=configure
configure_args="--enable-openssl --disable-openssl-runtime
--prefix=/usr --sysconfdir=/etc"
configure_args="--enable-openssl --prefix=/usr --sysconfdir=/etc"
make_install_target="install install-lib-headers"
conf_files="/etc/rhashrc"
make_build_target="all lib-shared"
make_install_target="install install-lib-shared"
makedepends="openssl-devel"
short_desc="Utility for computing hash sums and creating magnet links"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="0BSD"
homepage="https://github.com/rhash/RHash"
distfiles="https://github.com/rhash/RHash/archive/v${version}.tar.gz"
checksum=1e40fa66966306920f043866cbe8612f4b939b033ba5e2708c3f41be257c8a3e
checksum=8e7d1a8ccac0143c8fe9b68ebac67d485df119ea17a613f4038cda52f84ef52a
post_extract() {
vsed -i -e 's/__GLIBC__/__linux__/' librhash/byte_order.h
@ -22,8 +20,10 @@ post_extract() {
post_install() {
vlicense COPYING
make -C librhash install-lib-headers DESTDIR=$DESTDIR PREFIX=/usr
ln -s librhash.so.0 $DESTDIR/usr/lib/librhash.so
(
cd $DESTDIR/usr/lib
ln -sf librhash.so.[0-9] librhash.so
)
}
rhash-devel_package() {