git: dd35f167f40b - main - devel/hare: update to lastest development version

From: Stefan Eßer <se_at_FreeBSD.org>
Date: Sun, 05 Feb 2023 21:48:10 UTC
The branch main has been updated by se:

URL: https://cgit.FreeBSD.org/ports/commit/?id=dd35f167f40b219722bb3db63574c95035031edd

commit dd35f167f40b219722bb3db63574c95035031edd
Author:     Stefan Eßer <se@FreeBSD.org>
AuthorDate: 2023-02-05 21:47:17 +0000
Commit:     Stefan Eßer <se@FreeBSD.org>
CommitDate: 2023-02-05 21:47:17 +0000

    devel/hare: update to lastest development version
---
 devel/hare/Makefile        | 16 +++++++--------
 devel/hare/distinfo        |  6 +++---
 devel/hare/files/config.mk |  2 +-
 devel/hare/pkg-plist       | 49 ++++++++++++++++++++++++++++++++++------------
 4 files changed, 49 insertions(+), 24 deletions(-)

diff --git a/devel/hare/Makefile b/devel/hare/Makefile
index 9bb75228c7ce..eb21e9b24590 100644
--- a/devel/hare/Makefile
+++ b/devel/hare/Makefile
@@ -1,9 +1,9 @@
 PORTNAME=	hare
-PORTVERSION=	g20220709
+PORTVERSION=	g20230205
 CATEGORIES=	devel
 MASTER_SITES=	https://git.sr.ht/~sircmpwn/${PORTNAME}/archive/
 PKGNAMESUFFIX=	-lang
-DISTNAME=	bd1c1c4a
+DISTNAME=	274b8b72
 DIST_SUBDIR=	hare
 
 MAINTAINER=	se@FreeBSD.org
@@ -21,7 +21,7 @@ BUILD_DEPENDS=	harec:lang/harec \
 		scdoc:textproc/scdoc
 RUN_DEPENDS=	harec:lang/harec
 
-MAKE_ARGS=	DESTDIR=${STAGEDIR}
+MAKE_ARGS=	ARCH=${ARCH:S/^amd64$/x86_64/}
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTNAME}
 
@@ -29,12 +29,9 @@ OPTIONS_DEFINE=	DOCS
 
 .include <bsd.port.pre.mk>
 
-.if ${ARCH} == amd64
-MAKE_ARGS+=	ARCH=x86_64
-.endif
-
-pre-build:
+do-build:
 		${CP} ${FILESDIR}/config.mk ${WRKSRC}
+		cd ${WRKSRC} && ${MAKE} ${MAKE_ARGS}
 
 post-stage:
 		${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
@@ -43,4 +40,7 @@ post-stage:
 		${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/
 		${INSTALL_DATA} ${WRKSRC}/docs/*.md ${STAGEDIR}${DOCSDIR}/
 
+do-test:
+		cd ${WRKSRC} && ${MAKE} ${MAKE_ARGS} check
+
 .include <bsd.port.post.mk>
diff --git a/devel/hare/distinfo b/devel/hare/distinfo
index e1231d409940..d13000b6ffe7 100644
--- a/devel/hare/distinfo
+++ b/devel/hare/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1657318428
-SHA256 (hare/bd1c1c4a.tar.gz) = 7ec81b40ddab566583952d639112db1b17b29c05eafb6f9c6de398082dc57cd6
-SIZE (hare/bd1c1c4a.tar.gz) = 679174
+TIMESTAMP = 1675628590
+SHA256 (hare/274b8b72.tar.gz) = 8fa5c8dd3d919b699b818481bc836ca5971446e561039ae8d5031698575460da
+SIZE (hare/274b8b72.tar.gz) = 718566
diff --git a/devel/hare/files/config.mk b/devel/hare/files/config.mk
index 82390a5df19e..ad1c69790072 100644
--- a/devel/hare/files/config.mk
+++ b/devel/hare/files/config.mk
@@ -7,7 +7,7 @@ DATADIR= $(PREFIX)/share/hare
 SRCDIR = $(DATADIR)/src
 
 # Where to install the stdlib tree
-STDLIB = $(SRCDIR}/stdlib
+STDLIB = $(SRCDIR)/hare/stdlib
 
 # Default HAREPATH
 LOCALSRCDIR = ${SRCDIR}/local-src
diff --git a/devel/hare/pkg-plist b/devel/hare/pkg-plist
index 9b84222ae301..bd31eade1e3b 100644
--- a/devel/hare/pkg-plist
+++ b/devel/hare/pkg-plist
@@ -29,10 +29,14 @@ man/man1/haredoc.1.gz
 %%DATADIR%%/stdlib/crypto/aes/+x86_64/ni.ha
 %%DATADIR%%/stdlib/crypto/aes/+x86_64/ni_native.s
 %%DATADIR%%/stdlib/crypto/aes/README
+%%DATADIR%%/stdlib/crypto/aes/aes+x86_64.ha
+%%DATADIR%%/stdlib/crypto/aes/aes.ha
 %%DATADIR%%/stdlib/crypto/aes/aes_ct64.ha
+%%DATADIR%%/stdlib/crypto/aes/block.ha
 %%DATADIR%%/stdlib/crypto/aes/cbc+test.ha
 %%DATADIR%%/stdlib/crypto/aes/ct64+test.ha
 %%DATADIR%%/stdlib/crypto/aes/ctr+test.ha
+%%DATADIR%%/stdlib/crypto/aes/rt+test.ha
 %%DATADIR%%/stdlib/crypto/aes/xts/+test.ha
 %%DATADIR%%/stdlib/crypto/aes/xts/README
 %%DATADIR%%/stdlib/crypto/aes/xts/xts.ha
@@ -44,6 +48,16 @@ man/man1/haredoc.1.gz
 %%DATADIR%%/stdlib/crypto/bcrypt/README
 %%DATADIR%%/stdlib/crypto/bcrypt/base64.ha
 %%DATADIR%%/stdlib/crypto/bcrypt/bcrypt.ha
+%%DATADIR%%/stdlib/crypto/bigint/+test/arithm.ha
+%%DATADIR%%/stdlib/crypto/bigint/+test/encoding.ha
+%%DATADIR%%/stdlib/crypto/bigint/+test/monty.ha
+%%DATADIR%%/stdlib/crypto/bigint/+test/utils.ha
+%%DATADIR%%/stdlib/crypto/bigint/README
+%%DATADIR%%/stdlib/crypto/bigint/arithm.ha
+%%DATADIR%%/stdlib/crypto/bigint/encoding.ha
+%%DATADIR%%/stdlib/crypto/bigint/monty.ha
+%%DATADIR%%/stdlib/crypto/bigint/types.ha
+%%DATADIR%%/stdlib/crypto/bigint/util.ha
 %%DATADIR%%/stdlib/crypto/blake2b/+test.ha
 %%DATADIR%%/stdlib/crypto/blake2b/README
 %%DATADIR%%/stdlib/crypto/blake2b/blake2b.ha
@@ -95,6 +109,14 @@ man/man1/haredoc.1.gz
 %%DATADIR%%/stdlib/crypto/random/+linux.ha
 %%DATADIR%%/stdlib/crypto/random/README
 %%DATADIR%%/stdlib/crypto/random/random.ha
+%%DATADIR%%/stdlib/crypto/rsa/+test/core.ha
+%%DATADIR%%/stdlib/crypto/rsa/+test/keys.ha
+%%DATADIR%%/stdlib/crypto/rsa/+test/pkcs1.ha
+%%DATADIR%%/stdlib/crypto/rsa/README
+%%DATADIR%%/stdlib/crypto/rsa/core.ha
+%%DATADIR%%/stdlib/crypto/rsa/errors.ha
+%%DATADIR%%/stdlib/crypto/rsa/keys.ha
+%%DATADIR%%/stdlib/crypto/rsa/pkcs1.ha
 %%DATADIR%%/stdlib/crypto/salsa/+test.ha
 %%DATADIR%%/stdlib/crypto/salsa/README
 %%DATADIR%%/stdlib/crypto/salsa/salsa20.ha
@@ -126,15 +148,6 @@ man/man1/haredoc.1.gz
 %%DATADIR%%/stdlib/encoding/base64/base64.ha
 %%DATADIR%%/stdlib/encoding/hex/README
 %%DATADIR%%/stdlib/encoding/hex/hex.ha
-%%DATADIR%%/stdlib/encoding/json/+test/lexer.ha
-%%DATADIR%%/stdlib/encoding/json/+test/load.ha
-%%DATADIR%%/stdlib/encoding/json/+test/value.ha
-%%DATADIR%%/stdlib/encoding/json/README
-%%DATADIR%%/stdlib/encoding/json/dump.ha
-%%DATADIR%%/stdlib/encoding/json/lex.ha
-%%DATADIR%%/stdlib/encoding/json/load.ha
-%%DATADIR%%/stdlib/encoding/json/types.ha
-%%DATADIR%%/stdlib/encoding/json/value.ha
 %%DATADIR%%/stdlib/encoding/pem/+test.ha
 %%DATADIR%%/stdlib/encoding/pem/README
 %%DATADIR%%/stdlib/encoding/pem/pem.ha
@@ -294,6 +307,7 @@ man/man1/haredoc.1.gz
 %%DATADIR%%/stdlib/log/funcs.ha
 %%DATADIR%%/stdlib/log/global.ha
 %%DATADIR%%/stdlib/log/logger.ha
+%%DATADIR%%/stdlib/log/silent.ha
 %%DATADIR%%/stdlib/math/README
 %%DATADIR%%/stdlib/math/complex/+test.ha
 %%DATADIR%%/stdlib/math/complex/complex.ha
@@ -327,6 +341,7 @@ man/man1/haredoc.1.gz
 %%DATADIR%%/stdlib/net/dns/encode.ha
 %%DATADIR%%/stdlib/net/dns/error.ha
 %%DATADIR%%/stdlib/net/dns/query.ha
+%%DATADIR%%/stdlib/net/dns/strdomain.ha
 %%DATADIR%%/stdlib/net/dns/types.ha
 %%DATADIR%%/stdlib/net/errors.ha
 %%DATADIR%%/stdlib/net/ip/+freebsd.ha
@@ -436,6 +451,9 @@ man/man1/haredoc.1.gz
 %%DATADIR%%/stdlib/rt/+linux/syscallno+riscv64.ha
 %%DATADIR%%/stdlib/rt/+linux/syscallno+x86_64.ha
 %%DATADIR%%/stdlib/rt/+linux/syscalls.ha
+%%DATADIR%%/stdlib/rt/+linux/syscallsarch+aarch64.ha
+%%DATADIR%%/stdlib/rt/+linux/syscallsarch+riscv64.ha
+%%DATADIR%%/stdlib/rt/+linux/syscallsarch+x86_64.ha
 %%DATADIR%%/stdlib/rt/+linux/types.ha
 %%DATADIR%%/stdlib/rt/+riscv64/backtrace.ha
 %%DATADIR%%/stdlib/rt/+riscv64/cpuid.ha
@@ -450,6 +468,7 @@ man/man1/haredoc.1.gz
 %%DATADIR%%/stdlib/rt/+test/+linux.ha
 %%DATADIR%%/stdlib/rt/+test/cstring.ha
 %%DATADIR%%/stdlib/rt/+test/run.ha
+%%DATADIR%%/stdlib/rt/+test/signal.ha
 %%DATADIR%%/stdlib/rt/+test/ztos.ha
 %%DATADIR%%/stdlib/rt/+x86_64/backtrace.ha
 %%DATADIR%%/stdlib/rt/+x86_64/cpuid.ha
@@ -520,6 +539,8 @@ man/man1/haredoc.1.gz
 %%DATADIR%%/stdlib/strings/runes.ha
 %%DATADIR%%/stdlib/strings/sub.ha
 %%DATADIR%%/stdlib/strings/suffix.ha
+%%DATADIR%%/stdlib/strings/template/README
+%%DATADIR%%/stdlib/strings/template/template.ha
 %%DATADIR%%/stdlib/strings/tokenize.ha
 %%DATADIR%%/stdlib/strings/trim.ha
 %%DATADIR%%/stdlib/strings/utf8.ha
@@ -540,6 +561,7 @@ man/man1/haredoc.1.gz
 %%DATADIR%%/stdlib/time/chrono/+linux.ha
 %%DATADIR%%/stdlib/time/chrono/README
 %%DATADIR%%/stdlib/time/chrono/chronology.ha
+%%DATADIR%%/stdlib/time/chrono/error.ha
 %%DATADIR%%/stdlib/time/chrono/leapsec.ha
 %%DATADIR%%/stdlib/time/chrono/timescale.ha
 %%DATADIR%%/stdlib/time/chrono/timezone.ha
@@ -552,14 +574,19 @@ man/man1/haredoc.1.gz
 %%DATADIR%%/stdlib/types/arch+x86_64.ha
 %%DATADIR%%/stdlib/types/classes.ha
 %%DATADIR%%/stdlib/types/limits.ha
+%%DATADIR%%/stdlib/unix/+freebsd/getuid.ha
+%%DATADIR%%/stdlib/unix/+freebsd/groups.ha
 %%DATADIR%%/stdlib/unix/+freebsd/nice.ha
 %%DATADIR%%/stdlib/unix/+freebsd/pipe.ha
+%%DATADIR%%/stdlib/unix/+freebsd/setuid.ha
 %%DATADIR%%/stdlib/unix/+freebsd/umask.ha
+%%DATADIR%%/stdlib/unix/+linux/getuid.ha
+%%DATADIR%%/stdlib/unix/+linux/groups.ha
 %%DATADIR%%/stdlib/unix/+linux/nice.ha
 %%DATADIR%%/stdlib/unix/+linux/pipe.ha
+%%DATADIR%%/stdlib/unix/+linux/setuid.ha
 %%DATADIR%%/stdlib/unix/+linux/umask.ha
 %%DATADIR%%/stdlib/unix/README
-%%DATADIR%%/stdlib/unix/getuid.ha
 %%DATADIR%%/stdlib/unix/hosts/+freebsd.ha
 %%DATADIR%%/stdlib/unix/hosts/+linux.ha
 %%DATADIR%%/stdlib/unix/hosts/lookup.ha
@@ -573,7 +600,6 @@ man/man1/haredoc.1.gz
 %%DATADIR%%/stdlib/unix/resolvconf/+linux.ha
 %%DATADIR%%/stdlib/unix/resolvconf/README
 %%DATADIR%%/stdlib/unix/resolvconf/load.ha
-%%DATADIR%%/stdlib/unix/setuid.ha
 %%DATADIR%%/stdlib/unix/signal/+linux.ha
 %%DATADIR%%/stdlib/unix/signal/README
 %%DATADIR%%/stdlib/unix/signal/types.ha
@@ -592,4 +618,3 @@ man/man1/haredoc.1.gz
 %%DATADIR%%/stdlib/uuid/README
 %%DATADIR%%/stdlib/uuid/uuid.ha
 @dir %%DATADIR%%/src/hare
-@dir %%DATADIR%%/src/local-src