On Sun 15/12/2019 07:04, Björn Ketelaars wrote:
> Enclosed diff brings rhash to 1.3.9, which is a maintenance release.
> One of the changes is that the project license changed to BSD Zero
> Clause License. Changelog can be found at
> https://github.com/rhash/RHash/blob/v1.3.9/ChangeLog.
>
> Changes to the port:
> - update license marker to BSD
> - set DEBUG_PACKAGES=${BUILD_PACKAGES}
>
> Testing:
> - 'make test' runs successful
> - tested its only consumer: cmake
>
> Comments/OK?
Ping...
For your convenience:
diff --git Makefile Makefile
index 6524a596f1c..30f26250a78 100644
--- Makefile
+++ Makefile
@@ -2,7 +2,7 @@
COMMENT = utility and library for computing hash sums
-DISTNAME = rhash-1.3.8-src
+DISTNAME = rhash-1.3.9-src
PKGNAME = ${DISTNAME:S/-src$//}
SHARED_LIBS = rhash 0.0
@@ -13,7 +13,7 @@ HOMEPAGE = http://rhash.sf.net
MAINTAINER = Bjorn Ketelaars <[email protected]>
-# MIT
+# BSD
PERMIT_PACKAGE = Yes
WANTLIB = c
@@ -30,6 +30,8 @@ CONFIGURE_ARGS = --enable-lib-static \
--prefix=${PREFIX} \
--sysconfdir=${SYSCONFDIR}
+DEBUG_PACKAGES = ${BUILD_PACKAGES}
+
WRKDIST = ${WRKDIR}/${PKGNAME:S/^rhash/RHash/}
pre-configure:
diff --git distinfo distinfo
index 67d2dc248cb..fdcb7dce9db 100644
--- distinfo
+++ distinfo
@@ -1,2 +1,2 @@
-SHA256 (rhash-1.3.8-src.tar.gz) = vlNqVqz+/IfbyLHbMPxjkCDkHt8FUYGF6phjDj33wEw=
-SIZE (rhash-1.3.8-src.tar.gz) = 393544
+SHA256 (rhash-1.3.9-src.tar.gz) = QrEAb5mK2xibHzFr8aYOMXHaBHqFxKre0tDSbBR2yfY=
+SIZE (rhash-1.3.9-src.tar.gz) = 403415
diff --git patches/patch-Makefile patches/patch-Makefile
index 55b73d3f330..c4be7bec9b3 100644
--- patches/patch-Makefile
+++ patches/patch-Makefile
@@ -3,7 +3,7 @@ $OpenBSD: patch-Makefile,v 1.3 2019/11/24 04:43:26 bket Exp $
Index: Makefile
--- Makefile.orig
+++ Makefile
-@@ -81,8 +81,8 @@ install-man:
+@@ -79,8 +79,8 @@ install-man:
$(INSTALL_DATA) dist/rhash.1 $(MANDIR)/man1/rhash.1
install-conf:
diff --git patches/patch-configure patches/patch-configure
index d79cb451346..67720861944 100644
--- patches/patch-configure
+++ patches/patch-configure
@@ -3,7 +3,7 @@ $OpenBSD: patch-configure,v 1.1 2019/11/24 04:43:26 bket Exp $
Index: configure
--- configure.orig
+++ configure
-@@ -540,7 +540,7 @@ OPTFLAGS=$(join_params $BUILD_DEBUG $OPTLEVEL $OPTFLAG
+@@ -598,7 +598,7 @@ log_finish
# detect proper shared library name
SHARED_PREFIX="lib"
STATIC_PREFIX="lib"
diff --git pkg/PLIST pkg/PLIST
index e215531df8a..bf7979c5ae3 100644
--- pkg/PLIST
+++ pkg/PLIST
@@ -2,7 +2,8 @@
bin/ed2k-link
bin/edonr256-hash
bin/edonr512-hash
-bin/gost-hash
+bin/gost12-256-hash
+bin/gost12-512-hash
bin/has160-hash
bin/magnet-link
@bin bin/rhash
@@ -17,7 +18,8 @@ include/rhash_torrent.h
@man man/man1/ed2k-link.1
@man man/man1/edonr256-hash.1
@man man/man1/edonr512-hash.1
-@man man/man1/gost-hash.1
+@man man/man1/gost12-256-hash.1
+@man man/man1/gost12-512-hash.1
@man man/man1/has160-hash.1
@man man/man1/magnet-link.1
@man man/man1/rhash.1