97 Commits

Author SHA256 Message Date
369ced799b Accepting request 1316449 from network:utilities
- Fix build for C23 - gcc-15.
  This fixes https://github.com/chaos/pdsh/issues/165.
  Add-support-for-C23-gcc-15.patch

OBS-URL: https://build.opensuse.org/request/show/1316449
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pdsh?expand=0&rev=55
2025-11-07 17:24:14 +00:00
ff68e48e52 mention patch
OBS-URL: https://build.opensuse.org/package/show/network:utilities/pdsh?expand=0&rev=92
2025-11-07 14:08:17 +00:00
22e4419f62 Accepting request 1251535 from home:eeich:branches:network:utilities
- Fix build for C23 - gcc-15.
  This fixes https://github.com/chaos/pdsh/issues/165.

OBS-URL: https://build.opensuse.org/request/show/1251535
OBS-URL: https://build.opensuse.org/package/show/network:utilities/pdsh?expand=0&rev=91
2025-03-11 08:51:55 +00:00
9a0ef64f1d Accepting request 1239225 from network:utilities
- Fix version test for munge build (bsc#1236156). (forwarded request 1239224 from eeich)

OBS-URL: https://build.opensuse.org/request/show/1239225
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pdsh?expand=0&rev=54
2025-01-21 20:10:54 +00:00
04e7ae2aa1 - Fix version test for munge build (bsc#1236156).
OBS-URL: https://build.opensuse.org/package/show/network:utilities/pdsh?expand=0&rev=89
2025-01-21 10:06:25 +00:00
49693f4c50 Accepting request 1238991 from network:utilities
- Do not build Slurm flavors if we don't build for Slurm. (forwarded request 1238990 from eeich)

OBS-URL: https://build.opensuse.org/request/show/1238991
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pdsh?expand=0&rev=53
2025-01-20 16:15:14 +00:00
63644192a8 - Do not build Slurm flavors if we don't build for Slurm.
OBS-URL: https://build.opensuse.org/package/show/network:utilities/pdsh?expand=0&rev=87
2025-01-20 11:08:28 +00:00
370083662a Accepting request 1237651 from network:utilities
- Drop munge and mrsh support for TW and Leap 16: the biggest
  consumer of munge authentication has been Slurm. Slurm can
  now be used without it, therefore, it is a good time to start
  phasing it out. `mrsh` has been a 'drop-in' replacement for
  `rsh`, `pdsh` is perfectly capable of using `ssh` and we may
  assume that this is the preferred way to use a parallel shell
  today.
- Do not build Slurm support for s390x and i586: Slurm no longer
  builds for s390x or 32bit. (forwarded request 1237536 from eeich)

OBS-URL: https://build.opensuse.org/request/show/1237651
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pdsh?expand=0&rev=52
2025-01-14 15:23:58 +00:00
aaf8fc33b4 - Drop munge and mrsh support for TW and Leap 16: the biggest
consumer of munge authentication has been Slurm. Slurm can
  now be used without it, therefore, it is a good time to start
  phasing it out. `mrsh` has been a 'drop-in' replacement for
  `rsh`, `pdsh` is perfectly capable of using `ssh` and we may
  assume that this is the preferred way to use a parallel shell
  today.
- Do not build Slurm support for s390x and i586: Slurm no longer
  builds for s390x or 32bit.

OBS-URL: https://build.opensuse.org/package/show/network:utilities/pdsh?expand=0&rev=85
2025-01-14 07:56:18 +00:00
53b2e3cf97 Accepting request 1140554 from network:utilities
- Update to version 2.35
  * slurm: call slurm_init() once before any call to Slurm API (Egbert Eich)
    Removed:
    Add-call-to-slurm_init-this-makes-sure-the-config-options-are-set.patch
  * slurm: fix compile of slurm plugin against Slurm >= 23.x
    Removed:
    Hack-to-work-around-a-generic-type-name-breakage-introduced-by-latest-Slurm.patch
  * log module option errors with -d (Erik Jacobson)
  * fail fast on connect error or non-zero return code (Jerry Mannil)
    Removed: fail-fast-on-ssh-errors-or-non-zero-return-code.patch
    Removed: doc-fast-fail-update.patch
  * Release a lock that is no longer used (ycaibb)
    Removed: Release-a-lock-that-is-no-longer-used-in-dsh.patch
  * build: use LDADD instead of LDFLAGS for libcommon.la (orbea)
  * slurm: add -C to restrict hostlist to nodes with features (Dylan Simon)
    Removed: slurm-add-C-features-constraint.patch
            slurm-add-documentation-for-C.patch
  * ssh: fix sshcmd_signal on macos
  * dsbak: fix handling of empty input lines
    Removed: dshbak-fix-uninitialized-use-of-tag-on-empty-input.patch
  * Removed additional backport:
    hostlist-fix-use-of-strchr.patch
- Remove outdated and defunct project URI on Google. The content
  can still be found in the archives at:
     https://code.google.com/archive/p/pdsh/.
  The project has moved to github entirely. (forwarded request 1140553 from eeich)

OBS-URL: https://build.opensuse.org/request/show/1140554
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pdsh?expand=0&rev=51
2024-01-22 19:38:25 +00:00
b65033f6ff Accepting request 1140553 from home:eeich:branches:network:utilities
- Update to version 2.35
  * slurm: call slurm_init() once before any call to Slurm API (Egbert Eich)
    Removed:
    Add-call-to-slurm_init-this-makes-sure-the-config-options-are-set.patch
  * slurm: fix compile of slurm plugin against Slurm >= 23.x
    Removed:
    Hack-to-work-around-a-generic-type-name-breakage-introduced-by-latest-Slurm.patch
  * log module option errors with -d (Erik Jacobson)
  * fail fast on connect error or non-zero return code (Jerry Mannil)
    Removed: fail-fast-on-ssh-errors-or-non-zero-return-code.patch
    Removed: doc-fast-fail-update.patch
  * Release a lock that is no longer used (ycaibb)
    Removed: Release-a-lock-that-is-no-longer-used-in-dsh.patch
  * build: use LDADD instead of LDFLAGS for libcommon.la (orbea)
  * slurm: add -C to restrict hostlist to nodes with features (Dylan Simon)
    Removed: slurm-add-C-features-constraint.patch
            slurm-add-documentation-for-C.patch
  * ssh: fix sshcmd_signal on macos
  * dsbak: fix handling of empty input lines
    Removed: dshbak-fix-uninitialized-use-of-tag-on-empty-input.patch
  * Removed additional backport:
    hostlist-fix-use-of-strchr.patch
- Remove outdated and defunct project URI on Google. The content
  can still be found in the archives at:
     https://code.google.com/archive/p/pdsh/.
  The project has moved to github entirely.

OBS-URL: https://build.opensuse.org/request/show/1140553
OBS-URL: https://build.opensuse.org/package/show/network:utilities/pdsh?expand=0&rev=83
2024-01-22 10:09:34 +00:00
10d4983c07 Accepting request 1096630 from network:utilities
- Only call slurm_init() if Slurm > 21.02 (bsc#1212946). (forwarded request 1096619 from eeich)

OBS-URL: https://build.opensuse.org/request/show/1096630
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pdsh?expand=0&rev=50
2023-07-04 13:22:23 +00:00
0d00e0f6f5 Accepting request 1096619 from home:eeich:branches:network:utilities
- Only call slurm_init() if Slurm > 21.02 (bsc#1212946).

OBS-URL: https://build.opensuse.org/request/show/1096619
OBS-URL: https://build.opensuse.org/package/show/network:utilities/pdsh?expand=0&rev=81
2023-07-03 16:09:28 +00:00
20ad77c6fb Accepting request 1091382 from network:utilities
- Fix multibuild file (forwarded request 1091381 from eeich)

OBS-URL: https://build.opensuse.org/request/show/1091382
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pdsh?expand=0&rev=49
2023-06-09 18:37:21 +00:00
4c1718f22f Accepting request 1091381 from home:eeich:branches:network:utilities
- Fix multibuild file

OBS-URL: https://build.opensuse.org/request/show/1091381
OBS-URL: https://build.opensuse.org/package/show/network:utilities/pdsh?expand=0&rev=79
2023-06-08 06:52:47 +00:00
e50fba6477 Accepting request 1091379 from home:eeich:branches:network:utilities
- Preparing pdsh for Slurm 23.02.

OBS-URL: https://build.opensuse.org/request/show/1091379
OBS-URL: https://build.opensuse.org/package/show/network:utilities/pdsh?expand=0&rev=78
2023-06-08 06:45:26 +00:00
f81f6252bb Accepting request 1071207 from network:utilities
- Fix slurm plugin: make sure slurm_init() is called before using
  the Slurm API. This has been the case since version 20.11 (bsc#1209216).
  Add-call-to-slurm_init-this-makes-sure-the-config-options-are-set.patch (forwarded request 1071206 from eeich)

OBS-URL: https://build.opensuse.org/request/show/1071207
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pdsh?expand=0&rev=48
2023-03-14 17:16:48 +00:00
69fa220276 Accepting request 1071206 from home:eeich:branches:network:utilities
- Fix slurm plugin: make sure slurm_init() is called before using
  the Slurm API. This has been the case since version 20.11 (bsc#1209216).
  Add-call-to-slurm_init-this-makes-sure-the-config-options-are-set.patch

OBS-URL: https://build.opensuse.org/request/show/1071206
OBS-URL: https://build.opensuse.org/package/show/network:utilities/pdsh?expand=0&rev=76
2023-03-13 18:04:46 +00:00
4d797b11ac Accepting request 1068674 from network:utilities
- Hack-to-work-around-a-generic-type-name-breakage-introduced-by-latest-Slurm.patch
  Schedmd did it again! Slurm 23.02 broke the pdsh-internal
  List type by exposing it thru it's public API. The way to
  protect from it no longer works as types are actually used
  in the header.
  This is a hot fix on the pdsh side, that is hopefully sufficiently
  generic. (boo#1208846). (forwarded request 1068673 from eeich)

OBS-URL: https://build.opensuse.org/request/show/1068674
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pdsh?expand=0&rev=47
2023-03-02 22:04:18 +00:00
d9b8e42587 Accepting request 1068673 from home:eeich:branches:network:utilities
- Hack-to-work-around-a-generic-type-name-breakage-introduced-by-latest-Slurm.patch
  Schedmd did it again! Slurm 23.02 broke the pdsh-internal
  List type by exposing it thru it's public API. The way to
  protect from it no longer works as types are actually used
  in the header.
  This is a hot fix on the pdsh side, that is hopefully sufficiently
  generic. (boo#1208846).

OBS-URL: https://build.opensuse.org/request/show/1068673
OBS-URL: https://build.opensuse.org/package/show/network:utilities/pdsh?expand=0&rev=74
2023-03-02 11:47:20 +00:00
b5dd525ec4 Accepting request 1046438 from network:utilities
- Backport a number of features and fixes from the git master branch
  (boo#1206795):
  * Add '-C' option on Slrum plugin to restrict selected nodes to ones
    with the specified features present:
     slurm-add-C-features-constraint.patch
     slurm-add-documentation-for-C.patch
  * Add option '-k' to the ssh plugin to fail faster on connection failures:
     fail-fast-on-ssh-errors-or-non-zero-return-code.patch
     doc-fast-fail-update.patch
  * Fix use of strchr
     hostlist-fix-use-of-strchr.patch
  * Dshbak: Fix uninitialized use of $tag on empty input
     dshbak-fix-uninitialized-use-of-tag-on-empty-input.patch
  * Dsh: Release a lock that is no longer used in dsh()
     Release-a-lock-that-is-no-longer-used-in-dsh.patch (forwarded request 1046437 from eeich)

OBS-URL: https://build.opensuse.org/request/show/1046438
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pdsh?expand=0&rev=46
2023-01-03 14:05:49 +00:00
129aa141bd Accepting request 1046437 from home:eeich:branches:network:utilities
- Backport a number of features and fixes from the git master branch
  (boo#1206795):
  * Add '-C' option on Slrum plugin to restrict selected nodes to ones
    with the specified features present:
     slurm-add-C-features-constraint.patch
     slurm-add-documentation-for-C.patch
  * Add option '-k' to the ssh plugin to fail faster on connection failures:
     fail-fast-on-ssh-errors-or-non-zero-return-code.patch
     doc-fast-fail-update.patch
  * Fix use of strchr
     hostlist-fix-use-of-strchr.patch
  * Dshbak: Fix uninitialized use of $tag on empty input
     dshbak-fix-uninitialized-use-of-tag-on-empty-input.patch
  * Dsh: Release a lock that is no longer used in dsh()
     Release-a-lock-that-is-no-longer-used-in-dsh.patch

OBS-URL: https://build.opensuse.org/request/show/1046437
OBS-URL: https://build.opensuse.org/package/show/network:utilities/pdsh?expand=0&rev=72
2023-01-03 08:46:11 +00:00
162fb182d9 Accepting request 1033560 from network:utilities
- Preparing pdsh for Slurm 22.05.
  * No later version of Slurm builds on 32 bit. (forwarded request 1032558 from eeich)

OBS-URL: https://build.opensuse.org/request/show/1033560
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pdsh?expand=0&rev=45
2022-11-04 16:38:22 +00:00
fab9b6209e Accepting request 1032558 from home:eeich:branches:network:utilities
- Preparing pdsh for Slurm 22.05.
  * No later version of Slurm builds on 32 bit.

OBS-URL: https://build.opensuse.org/request/show/1032558
OBS-URL: https://build.opensuse.org/package/show/network:utilities/pdsh?expand=0&rev=70
2022-11-04 15:11:50 +00:00
c5265e88d5 Accepting request 875192 from network:utilities
- Add an explicit Conflicts: when pdsh is rebuilt for a
  non-default version of Slurm. (forwarded request 875190 from eeich)

OBS-URL: https://build.opensuse.org/request/show/875192
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pdsh?expand=0&rev=44
2021-02-26 20:59:36 +00:00
f87bf2c21c Accepting request 875190 from home:eeich:branches:network:utilities
- Add an explicit Conflicts: when pdsh is rebuilt for a
  non-default version of Slurm.

OBS-URL: https://build.opensuse.org/request/show/875190
OBS-URL: https://build.opensuse.org/package/show/network:utilities/pdsh?expand=0&rev=68
2021-02-25 16:52:08 +00:00
85a10e167d Accepting request 867414 from network:utilities
- Preparing pdsh for Slurm 20.11.

- Simplify convoluted condition - no need for Leap 42.2 support. (forwarded request 867407 from eeich)

OBS-URL: https://build.opensuse.org/request/show/867414
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pdsh?expand=0&rev=43
2021-01-28 20:28:42 +00:00
4aaaa22135 Accepting request 867407 from home:eeich:branches:network:utilities
- Preparing pdsh for Slurm 20.11.

- Simplify convoluted condition - no need for Leap 42.2 support.

OBS-URL: https://build.opensuse.org/request/show/867407
OBS-URL: https://build.opensuse.org/package/show/network:utilities/pdsh?expand=0&rev=66
2021-01-28 10:00:04 +00:00
5a0b65c672 Accepting request 795856 from network:utilities
- Bring QA to the package build: add %%check stage

- Since the build for the SLE-12 HPC Module got fixed, simplify
  spec file and remove legacy workarounds.
- Remove _multibuild file where not needed.

OBS-URL: https://build.opensuse.org/request/show/795856
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pdsh?expand=0&rev=42
2020-04-21 11:06:17 +00:00
6679e81e35 Accepting request 795330 from home:eeich:branches:network:utilities
- Bring QA to the package build: add %%check stage

OBS-URL: https://build.opensuse.org/request/show/795330
OBS-URL: https://build.opensuse.org/package/show/network:utilities/pdsh?expand=0&rev=64
2020-04-20 14:02:33 +00:00
34e5f33783 Accepting request 792925 from home:eeich:branches:network:utilities
- Since the build for the SLE-12 HPC Module got fixed, simplify
  spec file and remove legacy workarounds.
- Remove _multibuild file where not needed.

OBS-URL: https://build.opensuse.org/request/show/792925
OBS-URL: https://build.opensuse.org/package/show/network:utilities/pdsh?expand=0&rev=63
2020-04-18 05:34:28 +00:00
c8ca265528 Accepting request 790363 from network:utilities
- Add better legacy support.
- Make sure to not ship duplicate files with builds for multiple
  SLURM versions.

OBS-URL: https://build.opensuse.org/request/show/790363
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pdsh?expand=0&rev=41
2020-04-04 10:23:38 +00:00
8d3e4ddbd4 Accepting request 790358 from home:eeich:branches:network:utilities
- Fix license string for legacy builds: trick service scripts to ignore it.

OBS-URL: https://build.opensuse.org/request/show/790358
OBS-URL: https://build.opensuse.org/package/show/network:utilities/pdsh?expand=0&rev=61
2020-03-31 21:27:50 +00:00
2324fbd156 - Add backward compatible license string.
OBS-URL: https://build.opensuse.org/package/show/network:utilities/pdsh?expand=0&rev=60
2020-03-31 21:02:53 +00:00
b672678f0a Accepting request 790291 from home:eeich:branches:network:utilities
- Add better legacy support.
- Make sure to not ship duplicate files with builds for multiple
  SLURM versions.

OBS-URL: https://build.opensuse.org/request/show/790291
OBS-URL: https://build.opensuse.org/package/show/network:utilities/pdsh?expand=0&rev=59
2020-03-31 18:42:42 +00:00
e1f239ec81 Accepting request 789106 from network:utilities
- Define %%make_build for all products that do have it defined.

- Update to version pdsh-2.34 (2020-01-07) (bsc#1167704)

OBS-URL: https://build.opensuse.org/request/show/789106
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pdsh?expand=0&rev=40
2020-03-27 21:01:11 +00:00
03086a66ce - add missing %_smp_mflags to %make_build macro
OBS-URL: https://build.opensuse.org/package/show/network:utilities/pdsh?expand=0&rev=57
2020-03-27 16:28:20 +00:00
707114c67e Accepting request 788986 from home:eeich:branches:network:utilities
- Define %%make_build for all products that do have it defined.

- Update to version pdsh-2.34 (2020-01-07) (bsc#1167704)

OBS-URL: https://build.opensuse.org/request/show/788986
OBS-URL: https://build.opensuse.org/package/show/network:utilities/pdsh?expand=0&rev=56
2020-03-27 11:38:52 +00:00
3620d0a0f3 Accepting request 788524 from network:utilities
Fix build (forwarded request 788523 from eeich)

OBS-URL: https://build.opensuse.org/request/show/788524
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pdsh?expand=0&rev=39
2020-03-26 22:32:51 +00:00
4295d449d8 Accepting request 788523 from home:eeich:branches:network:utilities
Fix build

OBS-URL: https://build.opensuse.org/request/show/788523
OBS-URL: https://build.opensuse.org/package/show/network:utilities/pdsh?expand=0&rev=54
2020-03-26 12:08:00 +00:00
1aad12745e - Do not build for SLURM on 32bit platforms on Factory: SLURM 20.02
doesn't support this.

OBS-URL: https://build.opensuse.org/package/show/network:utilities/pdsh?expand=0&rev=53
2020-03-26 11:21:17 +00:00
545755ac51 Accepting request 788466 from home:anag:branches:network:utilities
- Spec cleanup

OBS-URL: https://build.opensuse.org/request/show/788466
OBS-URL: https://build.opensuse.org/package/show/network:utilities/pdsh?expand=0&rev=52
2020-03-26 09:48:03 +00:00
c195b775d4 Accepting request 788359 from home:eeich:branches:network:utilities
- Update to version pdsh-2.34 (2020-01-07)
  * Fix for output corruption with no newlines (#114)
  * pipecmd: fix result check error handling (Dylan Simon)
  * slurm: workaround slurm export of internal List interfaces
  * readline: add application name as argv[0] (#112)
  * Fix errors from lgtm.com scan
- Remove obsolete patches:
  Change-typedef-List-to-typedef-xList.patch
  pdsh-rename-list-to-xlist.patch

OBS-URL: https://build.opensuse.org/request/show/788359
OBS-URL: https://build.opensuse.org/package/show/network:utilities/pdsh?expand=0&rev=51
2020-03-25 22:09:47 +00:00
d30546c2f2 Accepting request 778681 from network:utilities
- Add Change-typedef-List-to-typedef-xList.patch:
  * Change 'typedef List' to 'typedef xList'.
    Since SLURM exposes a type List in its public API without proper
    namespacing we need to change this type in pdsh.
    To remain compatible with older versions of SLURM whose type List
    was identical to pdsh's we need to rename not only the struct.

OBS-URL: https://build.opensuse.org/request/show/778681
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pdsh?expand=0&rev=38
2020-02-24 14:54:38 +00:00
147716af71 - Add Change-typedef-List-to-typedef-xList.patch:
* Change 'typedef List' to 'typedef xList'.
    Since SLURM exposes a type List in its public API without proper

OBS-URL: https://build.opensuse.org/package/show/network:utilities/pdsh?expand=0&rev=49
2020-02-24 06:52:07 +00:00
22e8b8afe8 Accepting request 777429 from home:eeich:branches:network:utilities
- Change 'typedef List' to 'typedef xList'
  * Since SLURM exposes a type List in its public API without proper
    namespacing we need to change this type in pdsh.
    To remain compatible with older versions of SLURM whose type List
    was identical to pdsh's we need to rename not only the struct.

OBS-URL: https://build.opensuse.org/request/show/777429
OBS-URL: https://build.opensuse.org/package/show/network:utilities/pdsh?expand=0&rev=48
2020-02-24 06:16:18 +00:00
170023f9b4 Accepting request 764793 from network:utilities
- Add support for an alternative SLURM version when building the
  slurm plugin.
- Use %license macro

OBS-URL: https://build.opensuse.org/request/show/764793
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pdsh?expand=0&rev=37
2020-01-16 17:20:02 +00:00
e03d29f120 flavor default -> base
OBS-URL: https://build.opensuse.org/package/show/network:utilities/pdsh?expand=0&rev=46
2020-01-15 07:38:04 +00:00
f00b388229 Accepting request 761847 from home:eeich:branches:network:utilities
- Add support for an alternative SLURM version when building the
  slurm plugin.
- Use %license macro

OBS-URL: https://build.opensuse.org/request/show/761847
OBS-URL: https://build.opensuse.org/package/show/network:utilities/pdsh?expand=0&rev=45
2020-01-09 11:51:07 +00:00
69a7647a0c Accepting request 592455 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/592455
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pdsh?expand=0&rev=36
2018-03-30 10:09:19 +00:00