From: James Turner Subject: Update: hare 0.24.2 To: ports@openbsd.org Cc: me@xha.li Date: Mon, 30 Jun 2025 00:04:51 +0200 The following diff updates hare ahd harec to 0.24.2. Tested on arm64. Ok? Index: Makefile.inc =================================================================== RCS file: /cvs/ports/lang/hare/Makefile.inc,v diff -u -p -u -p -r1.5 Makefile.inc --- Makefile.inc 17 Jul 2024 14:02:17 -0000 1.5 +++ Makefile.inc 29 Jun 2025 22:02:30 -0000 @@ -6,8 +6,7 @@ CATEGORIES ?= lang devel HOMEPAGE ?= https://harelang.org/ MAINTAINER ?= Lorenz (xha) -V ?= 0.24.2 -REVISION ?= 0 +V ?= 0.25.2 # Compiler: GPLv3 only # Runtime: MPL 2.0 Index: hare/Makefile =================================================================== RCS file: /cvs/ports/lang/hare/hare/Makefile,v diff -u -p -u -p -r1.5 Makefile --- hare/Makefile 17 Jul 2024 14:02:17 -0000 1.5 +++ hare/Makefile 29 Jun 2025 22:02:30 -0000 @@ -16,10 +16,8 @@ PORTHOME = ${WRKDIST} do-gen: cp ${WRKSRC}/configs/openbsd.mk ${WRKSRC}/config.mk - sed -i "s/aarch64-//g" ${WRKSRC}/config.mk - sed -i "s/riscv64-//g" ${WRKSRC}/config.mk .if ${MACHINE_ARCH:Maarch64} || ${MACHINE_ARCH:Mriscv64} - echo "ARCH = $$(arch -s)" >> ${WRKSRC}/config.mk + sed -i "s/x86_64/$$(arch -s)/g" ${WRKSRC}/config.mk .endif .include Index: hare/distinfo =================================================================== RCS file: /cvs/ports/lang/hare/hare/distinfo,v diff -u -p -u -p -r1.3 distinfo --- hare/distinfo 16 Jul 2024 20:08:39 -0000 1.3 +++ hare/distinfo 29 Jun 2025 22:02:30 -0000 @@ -1,2 +1,2 @@ -SHA256 (hare-0.24.2.tar.gz) = r7pp/VN6Y0QtpT0RXZtQ9SWRgVmzlYQ+3ipUczI+B3Y= -SIZE (hare-0.24.2.tar.gz) = 912808 +SHA256 (hare-0.25.2.tar.gz) = 0Lr3T04go6h13djispkDKtpOXeF9hBMFPK0PcJRGNI4= +SIZE (hare-0.25.2.tar.gz) = 940391 Index: hare/patches/patch-scripts_version =================================================================== RCS file: hare/patches/patch-scripts_version diff -N hare/patches/patch-scripts_version --- hare/patches/patch-scripts_version 16 Jul 2024 20:08:39 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,12 +0,0 @@ -Index: scripts/version ---- scripts/version.orig -+++ scripts/version -@@ -1,7 +1,7 @@ - #!/bin/sh - # Distro packagers may set the LOCALVER variable to add their distribution to - # the version, e.g. 1.0-alpine. --VERSION=${VERSION:0.24.2} -+VERSION=${VERSION:-0.24.2} - - ver=$(git describe 2>/dev/null) - if [ $? -ne 0 ] Index: hare/pkg/PLIST =================================================================== RCS file: /cvs/ports/lang/hare/hare/pkg/PLIST,v diff -u -p -u -p -r1.3 PLIST --- hare/pkg/PLIST 16 Jul 2024 20:08:39 -0000 1.3 +++ hare/pkg/PLIST 29 Jun 2025 22:02:30 -0000 @@ -171,20 +171,24 @@ src/hare/stdlib/crypto/rsa/+test/ src/hare/stdlib/crypto/rsa/+test/core_test.ha src/hare/stdlib/crypto/rsa/+test/keys_test.ha src/hare/stdlib/crypto/rsa/+test/pkcs1_test.ha +src/hare/stdlib/crypto/rsa/+test/pss_test.ha src/hare/stdlib/crypto/rsa/README src/hare/stdlib/crypto/rsa/core.ha src/hare/stdlib/crypto/rsa/errors.ha src/hare/stdlib/crypto/rsa/keys.ha src/hare/stdlib/crypto/rsa/pkcs1.ha +src/hare/stdlib/crypto/rsa/pss.ha src/hare/stdlib/crypto/salsa/ src/hare/stdlib/crypto/salsa/+test.ha src/hare/stdlib/crypto/salsa/README src/hare/stdlib/crypto/salsa/salsa20.ha src/hare/stdlib/crypto/sha1/ src/hare/stdlib/crypto/sha1/+test.ha +src/hare/stdlib/crypto/sha1/README src/hare/stdlib/crypto/sha1/sha1.ha src/hare/stdlib/crypto/sha256/ src/hare/stdlib/crypto/sha256/+test.ha +src/hare/stdlib/crypto/sha256/README src/hare/stdlib/crypto/sha256/sha256.ha src/hare/stdlib/crypto/sha512/ src/hare/stdlib/crypto/sha512/+test.ha @@ -258,8 +262,12 @@ src/hare/stdlib/debug/image/self+linux.h src/hare/stdlib/debug/image/self+netbsd.ha src/hare/stdlib/debug/image/self+openbsd.ha src/hare/stdlib/debug/image/self_argv.ha +src/hare/stdlib/debug/malloc+libc.ha +src/hare/stdlib/debug/malloc.ha +src/hare/stdlib/debug/source.ha src/hare/stdlib/debug/symbols.ha src/hare/stdlib/debug/testaddr.ha +src/hare/stdlib/debug/traces.ha src/hare/stdlib/dirs/ src/hare/stdlib/dirs/README src/hare/stdlib/dirs/xdg.ha @@ -277,6 +285,7 @@ src/hare/stdlib/encoding/asn1/encoder.ha src/hare/stdlib/encoding/asn1/errors.ha src/hare/stdlib/encoding/asn1/oid.ha src/hare/stdlib/encoding/asn1/stdoid/ +src/hare/stdlib/encoding/asn1/stdoid/README src/hare/stdlib/encoding/asn1/stdoid/db.ha src/hare/stdlib/encoding/asn1/stdoid/db.txt src/hare/stdlib/encoding/asn1/strings.ha @@ -465,21 +474,25 @@ src/hare/stdlib/io/+freebsd/ src/hare/stdlib/io/+freebsd/dup.ha src/hare/stdlib/io/+freebsd/mmap.ha src/hare/stdlib/io/+freebsd/platform_file.ha +src/hare/stdlib/io/+freebsd/sync.ha src/hare/stdlib/io/+freebsd/vector.ha src/hare/stdlib/io/+linux/ src/hare/stdlib/io/+linux/dup.ha src/hare/stdlib/io/+linux/mmap.ha src/hare/stdlib/io/+linux/platform_file.ha +src/hare/stdlib/io/+linux/sync.ha src/hare/stdlib/io/+linux/vector.ha src/hare/stdlib/io/+netbsd/ src/hare/stdlib/io/+netbsd/dup.ha src/hare/stdlib/io/+netbsd/mmap.ha src/hare/stdlib/io/+netbsd/platform_file.ha +src/hare/stdlib/io/+netbsd/sync.ha src/hare/stdlib/io/+netbsd/vector.ha src/hare/stdlib/io/+openbsd/ src/hare/stdlib/io/+openbsd/dup.ha src/hare/stdlib/io/+openbsd/mmap.ha src/hare/stdlib/io/+openbsd/platform_file.ha +src/hare/stdlib/io/+openbsd/sync.ha src/hare/stdlib/io/+openbsd/vector.ha src/hare/stdlib/io/+test/ src/hare/stdlib/io/+test/limit_test.ha @@ -503,7 +516,6 @@ src/hare/stdlib/linux/ src/hare/stdlib/linux/+linux/ src/hare/stdlib/linux/+linux/README src/hare/stdlib/linux/+linux/env.ha -src/hare/stdlib/linux/+linux/start+libc.ha src/hare/stdlib/linux/+linux/start.ha src/hare/stdlib/linux/keyctl/ src/hare/stdlib/linux/keyctl/+linux/ @@ -591,6 +603,7 @@ src/hare/stdlib/net/ip/+freebsd.ha src/hare/stdlib/net/ip/+linux.ha src/hare/stdlib/net/ip/+netbsd.ha src/hare/stdlib/net/ip/+openbsd.ha +src/hare/stdlib/net/ip/README src/hare/stdlib/net/ip/ip.ha src/hare/stdlib/net/ip/test+test.ha src/hare/stdlib/net/msg.ha @@ -599,6 +612,7 @@ src/hare/stdlib/net/tcp/+freebsd.ha src/hare/stdlib/net/tcp/+linux.ha src/hare/stdlib/net/tcp/+netbsd.ha src/hare/stdlib/net/tcp/+openbsd.ha +src/hare/stdlib/net/tcp/README src/hare/stdlib/net/tcp/listener.ha src/hare/stdlib/net/tcp/options.ha src/hare/stdlib/net/types.ha @@ -607,6 +621,7 @@ src/hare/stdlib/net/udp/+freebsd.ha src/hare/stdlib/net/udp/+linux.ha src/hare/stdlib/net/udp/+netbsd.ha src/hare/stdlib/net/udp/+openbsd.ha +src/hare/stdlib/net/udp/README src/hare/stdlib/net/udp/options.ha src/hare/stdlib/net/unix/ src/hare/stdlib/net/unix/+freebsd.ha @@ -633,6 +648,7 @@ src/hare/stdlib/os/+freebsd/dirfdfs.ha src/hare/stdlib/os/+freebsd/exit+libc-test.ha src/hare/stdlib/os/+freebsd/exit+test.ha src/hare/stdlib/os/+freebsd/exit.ha +src/hare/stdlib/os/+freebsd/fcntl.ha src/hare/stdlib/os/+freebsd/fs.ha src/hare/stdlib/os/+freebsd/memfd.ha src/hare/stdlib/os/+freebsd/platform_environ.ha @@ -644,6 +660,7 @@ src/hare/stdlib/os/+linux/dirfdfs.ha src/hare/stdlib/os/+linux/exit+libc-test.ha src/hare/stdlib/os/+linux/exit+test.ha src/hare/stdlib/os/+linux/exit.ha +src/hare/stdlib/os/+linux/fcntl.ha src/hare/stdlib/os/+linux/fs.ha src/hare/stdlib/os/+linux/memfd.ha src/hare/stdlib/os/+linux/memory.ha @@ -655,6 +672,7 @@ src/hare/stdlib/os/+netbsd/ src/hare/stdlib/os/+netbsd/dirfdfs.ha src/hare/stdlib/os/+netbsd/exit+test.ha src/hare/stdlib/os/+netbsd/exit.ha +src/hare/stdlib/os/+netbsd/fcntl.ha src/hare/stdlib/os/+netbsd/fs.ha src/hare/stdlib/os/+netbsd/platform_environ.ha src/hare/stdlib/os/+netbsd/shm.ha @@ -664,12 +682,14 @@ src/hare/stdlib/os/+openbsd/ src/hare/stdlib/os/+openbsd/dirfdfs.ha src/hare/stdlib/os/+openbsd/exit+test.ha src/hare/stdlib/os/+openbsd/exit.ha +src/hare/stdlib/os/+openbsd/fcntl.ha src/hare/stdlib/os/+openbsd/fs.ha src/hare/stdlib/os/+openbsd/platform_environ.ha src/hare/stdlib/os/+openbsd/shm.ha src/hare/stdlib/os/+openbsd/status.ha src/hare/stdlib/os/+openbsd/stdfd.ha src/hare/stdlib/os/README +src/hare/stdlib/os/bufio.ha src/hare/stdlib/os/environ.ha src/hare/stdlib/os/exec/ src/hare/stdlib/os/exec/+freebsd/ @@ -690,6 +710,7 @@ src/hare/stdlib/os/exec/+openbsd/platfor src/hare/stdlib/os/exec/+openbsd/process.ha src/hare/stdlib/os/exec/README src/hare/stdlib/os/exec/cmd.ha +src/hare/stdlib/os/exec/env+test.ha src/hare/stdlib/os/exec/types.ha src/hare/stdlib/os/os.ha src/hare/stdlib/path/ @@ -830,10 +851,10 @@ src/hare/stdlib/rt/+x86_64/fenv.s src/hare/stdlib/rt/+x86_64/longjmp.s src/hare/stdlib/rt/+x86_64/setjmp.s src/hare/stdlib/rt/README -src/hare/stdlib/rt/abort+test.ha src/hare/stdlib/rt/abort.ha src/hare/stdlib/rt/ensure.ha src/hare/stdlib/rt/fenv_defs.ha +src/hare/stdlib/rt/heap-libc.ha src/hare/stdlib/rt/jmp.ha src/hare/stdlib/rt/malloc+debug.ha src/hare/stdlib/rt/malloc+libc.ha @@ -855,6 +876,7 @@ src/hare/stdlib/sort/+test.ha src/hare/stdlib/sort/README src/hare/stdlib/sort/bisect.ha src/hare/stdlib/sort/cmp/ +src/hare/stdlib/sort/cmp/README src/hare/stdlib/sort/cmp/cmp.ha src/hare/stdlib/sort/search.ha src/hare/stdlib/sort/sort.ha @@ -863,11 +885,10 @@ src/hare/stdlib/strconv/ src/hare/stdlib/strconv/+test/ src/hare/stdlib/strconv/+test/ftos_test.ha src/hare/stdlib/strconv/README +src/hare/stdlib/strconv/decimal.ha src/hare/stdlib/strconv/ftos.ha -src/hare/stdlib/strconv/ftos_multiprecision.ha src/hare/stdlib/strconv/ftos_ryu.ha src/hare/stdlib/strconv/itos.ha -src/hare/stdlib/strconv/numeric.ha src/hare/stdlib/strconv/stof.ha src/hare/stdlib/strconv/stof_data.ha src/hare/stdlib/strconv/stoi.ha @@ -900,6 +921,7 @@ src/hare/stdlib/temp/+netbsd.ha src/hare/stdlib/temp/README src/hare/stdlib/test/ src/hare/stdlib/test/+test.ha +src/hare/stdlib/test/README src/hare/stdlib/test/fail+test.ha src/hare/stdlib/test/util+test.ha src/hare/stdlib/test/util.ha @@ -924,30 +946,38 @@ src/hare/stdlib/time/chrono/+netbsd.ha src/hare/stdlib/time/chrono/+openbsd.ha src/hare/stdlib/time/chrono/README src/hare/stdlib/time/chrono/arithmetic.ha -src/hare/stdlib/time/chrono/chronology.ha src/hare/stdlib/time/chrono/error.ha -src/hare/stdlib/time/chrono/leapsec.ha +src/hare/stdlib/time/chrono/moment.ha src/hare/stdlib/time/chrono/timescale.ha -src/hare/stdlib/time/chrono/timezone.ha -src/hare/stdlib/time/chrono/tzdb.ha -src/hare/stdlib/time/conv.ha +src/hare/stdlib/time/chrono/utc.ha src/hare/stdlib/time/date/ +src/hare/stdlib/time/date/+freebsd.ha +src/hare/stdlib/time/date/+linux.ha +src/hare/stdlib/time/date/+netbsd.ha +src/hare/stdlib/time/date/+openbsd.ha src/hare/stdlib/time/date/README src/hare/stdlib/time/date/constants.ha src/hare/stdlib/time/date/date.ha src/hare/stdlib/time/date/daydate.ha src/hare/stdlib/time/date/daytime.ha +src/hare/stdlib/time/date/duration.ha src/hare/stdlib/time/date/error.ha src/hare/stdlib/time/date/format.ha +src/hare/stdlib/time/date/hop.ha src/hare/stdlib/time/date/locality.ha src/hare/stdlib/time/date/observe.ha -src/hare/stdlib/time/date/parithm.ha src/hare/stdlib/time/date/parse.ha -src/hare/stdlib/time/date/period.ha +src/hare/stdlib/time/date/posix.ha src/hare/stdlib/time/date/reckon.ha -src/hare/stdlib/time/date/tarithm.ha +src/hare/stdlib/time/date/span.ha +src/hare/stdlib/time/date/step.ha +src/hare/stdlib/time/date/timezone.ha +src/hare/stdlib/time/date/traverse.ha +src/hare/stdlib/time/date/truncate.ha +src/hare/stdlib/time/date/tzdb.ha src/hare/stdlib/time/date/virtual.ha -src/hare/stdlib/time/types.ha +src/hare/stdlib/time/duration.ha +src/hare/stdlib/time/instant.ha src/hare/stdlib/types/ src/hare/stdlib/types/README src/hare/stdlib/types/arch+aarch64.ha @@ -968,21 +998,25 @@ src/hare/stdlib/unix/+freebsd/ src/hare/stdlib/unix/+freebsd/creds.ha src/hare/stdlib/unix/+freebsd/nice.ha src/hare/stdlib/unix/+freebsd/pipe.ha +src/hare/stdlib/unix/+freebsd/rlimit.ha src/hare/stdlib/unix/+freebsd/umask.ha src/hare/stdlib/unix/+linux/ src/hare/stdlib/unix/+linux/creds.ha src/hare/stdlib/unix/+linux/nice.ha src/hare/stdlib/unix/+linux/pipe.ha +src/hare/stdlib/unix/+linux/rlimit.ha src/hare/stdlib/unix/+linux/umask.ha src/hare/stdlib/unix/+netbsd/ src/hare/stdlib/unix/+netbsd/creds.ha src/hare/stdlib/unix/+netbsd/nice.ha src/hare/stdlib/unix/+netbsd/pipe.ha +src/hare/stdlib/unix/+netbsd/rlimit.ha src/hare/stdlib/unix/+netbsd/umask.ha src/hare/stdlib/unix/+openbsd/ src/hare/stdlib/unix/+openbsd/creds.ha src/hare/stdlib/unix/+openbsd/nice.ha src/hare/stdlib/unix/+openbsd/pipe.ha +src/hare/stdlib/unix/+openbsd/rlimit.ha src/hare/stdlib/unix/+openbsd/umask.ha src/hare/stdlib/unix/README src/hare/stdlib/unix/hosts/ @@ -990,10 +1024,12 @@ src/hare/stdlib/unix/hosts/+freebsd.ha src/hare/stdlib/unix/hosts/+linux.ha src/hare/stdlib/unix/hosts/+netbsd.ha src/hare/stdlib/unix/hosts/+openbsd.ha +src/hare/stdlib/unix/hosts/README src/hare/stdlib/unix/hosts/errors.ha src/hare/stdlib/unix/hosts/hosts.ha src/hare/stdlib/unix/hosts/test+test.ha src/hare/stdlib/unix/passwd/ +src/hare/stdlib/unix/passwd/README src/hare/stdlib/unix/passwd/group.ha src/hare/stdlib/unix/passwd/passwd.ha src/hare/stdlib/unix/passwd/types.ha @@ -1020,6 +1056,7 @@ src/hare/stdlib/unix/signal/+linux.ha src/hare/stdlib/unix/signal/+netbsd.ha src/hare/stdlib/unix/signal/+openbsd.ha src/hare/stdlib/unix/signal/README +src/hare/stdlib/unix/signal/signal+test.ha src/hare/stdlib/unix/signal/types.ha src/hare/stdlib/unix/tty/ src/hare/stdlib/unix/tty/+freebsd/ @@ -1051,7 +1088,7 @@ src/hare/stdlib/unix/tty/+openbsd/pty.ha src/hare/stdlib/unix/tty/+openbsd/termios.ha src/hare/stdlib/unix/tty/+openbsd/winsize.ha src/hare/stdlib/unix/tty/README -src/hare/stdlib/unix/tty/pty_test.ha +src/hare/stdlib/unix/tty/pty_test+test.ha src/hare/stdlib/unix/tty/types.ha src/hare/stdlib/uuid/ src/hare/stdlib/uuid/README Index: harec/Makefile =================================================================== RCS file: /cvs/ports/lang/hare/harec/Makefile,v diff -u -p -u -p -r1.7 Makefile --- harec/Makefile 28 Jan 2025 11:22:02 -0000 1.7 +++ harec/Makefile 29 Jun 2025 22:02:30 -0000 @@ -1,8 +1,6 @@ DISTNAME = harec-${V} DISTFILES = harec-{harec/archive/}${V}${EXTRACT_SUFX} -REVISION = 0 - WANTLIB += c m # C11 @@ -25,6 +23,9 @@ CONFIGURE_ENV = AS="gas" do-gen: cp ${WRKSRC}/configs/openbsd.mk ${WRKSRC}/config.mk +.if ${MACHINE_ARCH:Maarch64} || ${MACHINE_ARCH:Mriscv64} + sed -i "s/x86_64/$$(arch -s)/g" ${WRKSRC}/config.mk +.endif TEST_TARGET = check Index: harec/distinfo =================================================================== RCS file: /cvs/ports/lang/hare/harec/distinfo,v diff -u -p -u -p -r1.3 distinfo --- harec/distinfo 16 Jul 2024 20:08:39 -0000 1.3 +++ harec/distinfo 29 Jun 2025 22:02:30 -0000 @@ -1,2 +1,2 @@ -SHA256 (harec-0.24.2.tar.gz) = iLOWGyNvv+Og37RruVR0H6XAMbvabQf7wjjJjwq7QaI= -SIZE (harec-0.24.2.tar.gz) = 201789 +SHA256 (harec-0.25.2.tar.gz) = 4gOKb+6tzW1N/X16sAC+yR8yYXcgYygp9WWJFs08sXo= +SIZE (harec-0.25.2.tar.gz) = 205091 Index: harec/patches/patch-scripts_version =================================================================== RCS file: harec/patches/patch-scripts_version diff -N harec/patches/patch-scripts_version --- harec/patches/patch-scripts_version 16 Jul 2024 20:08:39 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,12 +0,0 @@ -Index: scripts/version ---- scripts/version.orig -+++ scripts/version -@@ -1,7 +1,7 @@ - #!/bin/sh - # Distro packagers may set the LOCALVER variable to add their distribution to - # the version, e.g. 1.0-alpine. --VERSION=${VERSION:0.24.2} -+VERSION=${VERSION:-0.24.2} - - ver=$(git describe 2>/dev/null) - if [ $? -ne 0 ]