rhash: 1.4.2 -> 1.4.3

This commit is contained in:
Tim Biermann 2022-06-18 21:33:28 +02:00
parent b624ad0a3f
commit eb589e64b4
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 22 additions and 9 deletions

View File

@ -1,3 +1,5 @@
drwxr-xr-x root/root etc/
-rw-r--r-- root/root etc/rhashrc
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
lrwxrwxrwx root/root usr/bin/ed2k-link -> rhash
@ -12,13 +14,15 @@ lrwxrwxrwx root/root usr/bin/sfv-hash -> rhash
lrwxrwxrwx root/root usr/bin/tiger-hash -> rhash
lrwxrwxrwx root/root usr/bin/tth-hash -> rhash
lrwxrwxrwx root/root usr/bin/whirlpool-hash -> rhash
drwxr-xr-x root/root usr/etc/
-rw-r--r-- root/root usr/etc/rhashrc
drwxr-xr-x root/root usr/include/
-rw-r--r-- root/root usr/include/rhash.h
-rw-r--r-- root/root usr/include/rhash_torrent.h
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/librhash.so.0
-rw-r--r-- root/root usr/lib/librhash.a
lrwxrwxrwx root/root usr/lib/librhash.so -> librhash.so.0
-rwxr-xr-x root/root usr/lib/librhash.so.0
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/librhash.pc
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3y1Sbsb0s0VdoiGTE5a2WR2TmapEcEU8/mPYzEQLoUgsn9OPc65Pl5+gnYzhs0VbD2FEVUU0LrNywYhf2BQmDAw=
SHA256 (Pkgfile) = 075484b2cc77593345a460c4ded70c6fd1e48593a3b2b11640cf9aa2b64c2e3d
SHA256 (.footprint) = 5f2cb67899a87e482415c95b2164fc00b8160689cab14e29b6bb410ec7d536fe
SHA256 (rhash-1.4.2.tar.gz) = 600d00f5f91ef04194d50903d3c79412099328c42f28ff43a0bdb777b00bec62
RWSagIOpLGJF3waFxIQ6To4+HAYlMAmm6z86+6o5koqsSiuCn4ncBsYuw+iqsH+GRsaOsmDJhWAYp4W2Z+utXsVJ/3tkTK00tQk=
SHA256 (Pkgfile) = ee6aef9e1361a1a8bf4ac7bdc415348a9927487aa9544cafaebf1e0384331461
SHA256 (.footprint) = 85234d2bc4a5bbf1defa6546d6f57138ba0c1cab618911b504b86a0995a7f230
SHA256 (rhash-1.4.3.tar.gz) = 1e40fa66966306920f043866cbe8612f4b939b033ba5e2708c3f41be257c8a3e

View File

@ -3,16 +3,25 @@
# Maintainer: Tim Biermann, tbier at posteo dot de
name=rhash
version=1.4.2
version=1.4.3
release=1
source=(https://github.com/rhash/RHash/archive/v$version/$name-$version.tar.gz)
build() {
cd RHash-$version
sed -i -e '/^INSTALL_SHARED/s/644/755/' librhash/Makefile
./configure --prefix=/usr \
--sysconfdir=/etc \
--enable-lib-{static,shared} \
--extra-cflags="$CFLAGS" \
--extra-ldflags="$LDFLAGS"
make
make test test-lib
make DESTDIR=$PKG install
make DESTDIR=$PKG install-lib-headers install-lib-shared
make -C librhash DESTDIR=$PKG install-lib-headers install-so-link
install -Dm0644 -o root -g root dist/librhash.pc \
$PKG/usr/lib/pkgconfig/librhash.pc
}