[Bug 292799] sysutils/slurm-wlm: update to 25.11.2 & fix sockaddr length handling on BSD

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 29 Jan 2026 08:31:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292799

            Bug ID: 292799
           Summary: sysutils/slurm-wlm: update to 25.11.2 & fix sockaddr
                    length handling on BSD
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: rikka.goering@outlook.de
             Flags: maintainer-feedback+

Summary
 - Update sysutils/slurm-wlm from 25.11.0 to 25.11.2.
 - Add a small slurm_sockaddr helper and autoconf checks for BSD sockaddr
length members (sa_len / sin_len / sin6_len / sun_len) and use the corrected
lengths in bind(2), connect(2), and getnameinfo(3) call sites to avoid
EINVAL/mis-sized sockaddr issues on BSD.
 - Fix HDF5 profiling plugin/sh5util linking by detecting and linking -lhdf5_hl
when H5PTopen is provided by the HDF5 high-level library.
 - Initialize resolver state in slurm_resolv.c (struct __res_state res = {0};)
for correctness on BSD libc/resolver implementations.

Testing
 - built and installed successfully. Cluster is able to cummincate and run
jobs.
 - portclippy Makefile [OK]
 - portlint -AC [OK]
 - make stage-qa [OK]
 - make check-plist [OK]
 - poudriere testport [ok]

Tested
 $ srun -N1 -n1 /bin/hostname [OK]
 $ srun -N1 -n1 /bin/true [OK]

The patch is attached to this PR.

-- 
You are receiving this mail because:
You are the assignee for the bug.