Page MenuHomeFreeBSD

sysutils/slurm-wlm: upgrade to 23-11-0-1
AbandonedPublic

Authored by thierry on Nov 24 2023, 8:50 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Sep 24, 6:06 AM
Unknown Object (File)
Aug 27 2025, 3:52 AM
Unknown Object (File)
Aug 20 2025, 8:02 PM
Unknown Object (File)
Jul 30 2025, 2:12 AM
Unknown Object (File)
Jul 23 2025, 4:26 PM
Unknown Object (File)
Jul 19 2025, 7:27 PM
Unknown Object (File)
Jun 16 2025, 5:13 PM
Unknown Object (File)
Jun 11 2025, 10:14 PM

Details

Reviewers
dteske
Group Reviewers
Ports Committers
Summary

Changelog at https://github.com/SchedMD/slurm/blob/master/NEWS.

Remark: do not commit ATM, because it breaks MPICH.
See https://github.com/pmodels/mpich/issues/6806.

Test Plan

I only use this port as a dependency for net/mpich or net/openmpi.

It would be great if someone who really use it could review this patch.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

thierry edited the test plan for this revision. (Show Details)

Thanks for working on this!

sysutils/slurm-wlm/Makefile
4

Use USE_GITHUB if there's no release archive ( seems to be located here: https://download.schedmd.com/slurm/slurm-23.11.0.tar.bz2 ) ?

45

Please be consistent with DISTVERSION / PORTVERSION (convert everything to DISTVERSION)

96

USE USES= localbase:ldflags

sysutils/slurm-wlm/Makefile
45

They are not the same. DISTVERSION is the released tag, with dash (23-11-0-1), but PORTVERSION transforms the dashes into dots.

sysutils/slurm-wlm/Makefile
45

Ahh, if that's the intention:

diizzy@freebsd-dev:/usr/ports/net/libwebsockets # make -V DISTVERSION
4-3-3
diizzy@freebsd-dev:/usr/ports/net/libwebsockets # make -V PKGVERSION
4.3.3
sysutils/slurm-wlm/Makefile
45

Yes, it is. But I do not understand: why is PKGVERSION prefetable to PORTVERSION?

sysutils/slurm-wlm/Makefile
45

PORTVERSION is intended to be used (set) when our framework for DISTVERSION fails to extract a "valid" version that eventually ends up as PKGVERSION and it is a defined variable ( https://cgit.freebsd.org/ports/tree/Mk/bsd.port.mk#n74 ). While it (PORTVERSION) does work ( https://cgit.freebsd.org/ports/tree/Mk/bsd.port.mk#n1358 ) I say its cleaner to user on PKGVERSION looking at how the framework is designed.

sysutils/slurm-wlm/Makefile
45

OK, fine!

My patches have been accepted upstream, and they will release a new version: I will update this differential accordingly.

I have just committed the latest version, fetched directly from SchedMD.