Markus Hilger
b86e0aa27f
Make webauthn and eficompressor optional server dependencies
...
Neither is packaged by EPEL or Ubuntu, so the hard dependency made the
server uninstallable there without --nodeps or a stub package. Both are
already optional in the code: httpapi drops passkey support when
webauthn does not import, and the Lenovo IMM2 BIOS settings path reports
the missing module as unsupported functionality. Recommend them instead,
as the SUSE branch already does for webauthn.
See xcat2/confluent#192 .
2026-10-15 19:20:16 +02:00
Jarrod Johnson
d12fc1bc8b
Merge pull request #296 from Obihoernchen/fix/suse-packaging
...
Fix SUSE package dependencies and shebangs
2026-09-08 08:41:46 -04:00
Markus Hilger
ea435d00a2
Fix SUSE package dependencies and shebangs
2026-09-05 01:05:15 +02:00
Markus Hilger
811e5fe03d
Link the confluent pam service to wherever sshd's config lives
...
Linux-PAM reads vendor defaults from /usr/lib/pam.d and distributions are
migrating there package by package: systemd and polkit already ship into
it on both EL and Debian, and on SUSE 16 openssh has followed. There the
old code left a dangling /etc/pam.d/confluent and every pam authentication
against it failed.
The deb postinst carries the same logic, so fix it in step. ln -sf rather
than ln -s because -e is false for a dangling link, so the old code retried
the symlink and failed with 'File exists' instead of repairing it.
2026-09-05 01:03:42 +02:00
Markus Hilger
106905be38
Drop the sysvinit script
2026-09-04 18:01:35 +02:00
Markus Hilger
0d2b23de2f
Run on a Python that has no crypt module
...
crypt left the standard library in 3.13 and both imports of it here are
unconditional, so the server does not start on a 3.13 distro that ships no
crypt shim of its own.
legacycrypt and crypt_r both reach the same libcrypt call, tried in that
order because legacycrypt is pure ctypes while crypt_r wants a compiler.
Both were checked byte for byte against the stdlib for the $6$ salts used
here, and a hash written under the stdlib verifies under either, so stored
crypted.* attributes keep working.
Recommends rather than Requires, and only above 3.12: el9 and el10 still
ship the stdlib module, and some 3.13 distros package no candidate at all,
where a hard dependency would make the rpm uninstallable.
2026-09-01 06:03:16 +02:00
Markus Hilger
86d90281e0
Speed up find
...
Spawn just one find process and stop on first hit
2026-07-15 05:55:48 +02:00
Markus Hilger
dba2af71c7
Match Apache-2.0 license name with SPDX expressions
...
For EPEL the official SPDX license expressions have to be used.
Check:
- https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/
- https://spdx.org/licenses/
- https://docs.fedoraproject.org/en-US/legal/allowed-licenses/
2026-07-07 21:08:43 +02:00
Jarrod Johnson
18c539fcbd
Take the opportunity to move on from cryptodome
...
Cryptodome is redundant with cryptography, which we need anyway..
2026-05-28 09:30:17 -04:00
Jarrod Johnson
01a393bf7f
Remove python3-dns, sync up the webauthn dependency
2026-05-22 11:37:53 -04:00
Jarrod Johnson
65f2a13755
Add missing dependency for el10
2026-05-22 11:19:59 -04:00
Jarrod Johnson
b623eea76f
Update dependency information for deb/prm
2026-05-08 14:17:28 -04:00
Jarrod Johnson
bfc27595dc
Fold aiohmi into confluent
...
If someone asks for it independently, we can break it out again. But for now,
assume it's only for confluent.
2026-04-30 08:48:24 -04:00
Jarrod Johnson
2903e6dc23
Update dependencies for async
2026-04-14 15:30:00 -04:00
Jarrod Johnson
7984c02042
Temporarily remove eficompressor dependency
2026-01-22 09:42:05 -05:00
Jarrod Johnson
d338f8d586
Temporarily lift some rpm dependencies to work through dev
2026-01-22 09:26:45 -05:00
Jarrod Johnson
c0d53ba986
Clean up RPM dependencies for async branch
2026-01-22 09:26:01 -05:00
Jarrod Johnson
5a96c7a20c
Change to grep -E
...
This avoids a obsolescence message in rpm update
2025-06-11 15:57:39 -04:00
Jarrod Johnson
c7d41f8a4b
Support and prefer psutil
...
The netifaces library seems dead, we can use psutil instead
which seems more popular.
2025-06-09 14:12:31 -04:00
Jarrod Johnson
5f9250c492
Add el10 clause
2025-06-06 20:14:07 -04:00
Jarrod Johnson
8722e66583
Try a different dev build versioning
...
Python 3.12 refuses to use the current versioning
2025-05-21 10:00:47 -04:00
Tinashe
efda4b4ef7
remove LICENCE,VERSION and devel prints
2024-11-19 10:08:56 -05:00
Tinashe
8e89c8f622
use webauthn instead of webauthn-rp
2024-11-19 09:39:29 -05:00
Jarrod Johnson
dbfb800c1b
Fix regression in pyghmi dependency version
2024-09-12 13:26:15 -04:00
Tinashe Kucherera
c2abe7c4cd
Merge branch 'master' into webauthn
2024-09-12 11:40:20 -04:00
Jarrod Johnson
7c8f85eb06
Handle python mangling of filename consistently for rpm build
2024-09-04 10:53:05 -04:00
Jarrod Johnson
97e29a5655
Change versioning to consistently produce prerelease consistent with rpm and deb
2024-09-04 10:11:47 -04:00
Jarrod Johnson
08a3a0ee76
Correct wrong pyghmi version in dependencies
2024-08-27 10:43:47 -04:00
Jarrod Johnson
b601cd97c7
Bump pyghmi to a higher explicit version
2024-08-27 10:36:30 -04:00
Jarrod Johnson
4453ba3b64
Add cpio to confluent_server
...
In order to do osdeploy processing, we must have cpio
2024-08-07 09:20:34 -04:00
tkucherera
fa940579f1
adding webathn-rp dependency
2024-07-25 14:07:27 -04:00
Jarrod Johnson
56b644ead9
The 3rd party monotonic is no longer needed
2024-01-11 16:30:45 -05:00
Christian Goll
0b28d64c83
python3-dbm is required for SUSE
...
the python module `anydbm` is part of this python package
Signed-off-by: Christian Goll <cgoll@suse.com >
2023-11-27 15:18:57 +01:00
Jarrod Johnson
ee3aef0a4c
Mark COPYRIGHT as legal in rpm
2022-09-30 11:02:55 -04:00
Jarrod Johnson
b7dfe20286
Add legal artifacts to confluent_server
2022-09-30 10:43:18 -04:00
Jarrod Johnson
2a3e6cd6f1
Change websocket dependency name in EL7
2022-08-26 08:16:22 -04:00
Jarrod Johnson
8d5ad0d4a6
Fix EL7 spec file syntax
2022-06-17 13:11:08 -04:00
Jarrod Johnson
1387a67b61
Correct spec syntax error
2022-06-17 12:37:20 -04:00
Jarrod Johnson
4b08273379
Move EL7 back to python2
...
EL7's python3 support is barren and would require a lot of dependency
work.
Move EL7 back to python2 and will deprecate EL7 support when we ditch
python2
2022-06-17 12:10:44 -04:00
Jarrod Johnson
c96955b369
Add catch-all packaging for EL7
...
EL7 now precompiles and flags it in the packaging
2022-06-15 16:34:57 -04:00
Jarrod Johnson
e5c33cacd5
Change SuSE rpm name to pyyaml
2022-06-15 15:11:07 -04:00
Jarrod Johnson
03f0f16ed8
Change to dnspython for suse
2022-06-15 15:06:52 -04:00
Jarrod Johnson
0f815dc7d3
Switch to python3 for all builds
2022-06-15 15:00:19 -04:00
Jarrod Johnson
dbdc99905d
Update confluent server to python3 dependencies only
2022-06-15 14:31:32 -04:00
Jarrod Johnson
6d07dac46c
Fix ipmi missing logging state and trim el9 dependencies
2022-05-27 16:10:08 -04:00
Jarrod Johnson
46ffe3f5f2
Fix license directory name for confluent server
2022-04-26 08:00:13 -04:00
Jarrod Johnson
060f639ab3
Flag license files appropriately
2022-04-25 17:02:35 -04:00
Jarrod Johnson
7a66567625
Add missing monotic dependency
2022-03-24 09:20:14 -04:00
Jarrod Johnson
b2603aa1f8
Set ownership of /var/lib/confluent on installation
...
Some paths fail to initialize ownership earlier, give it
a head start
2022-03-16 10:26:16 -04:00
Jarrod Johnson
19a370b0f5
Add explicit client version dependency
2022-02-25 07:31:12 -05:00