mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 20:47:01 +01:00
* feat: Rebuild the deb packaging flow fix: Add more sudo, GHA likes sudo fix: Give build_debs.sh only the triplet argument fix: Work around more GHA weirdness in apt sources Drop crossbuild as it was only used by debian packaging docs: Update book and other docs for packaging flow feat: package kanidm_tools aka kanidm cli docs: Update packaging docs for latest process and clarity fix: use full triple in sdynlib variants fix: Correct kanidm.pam asset placement fix: Give pam & nss modules a description so the debs get it fix: Work around wonky libssl3 naming in Ubuntu 24.04 fix: Place kanidm bin correctly :3 feat: Pin all blame on @yaleman :3 WIP: Swap out the submodule reference. Still not the final one though. refactor: Switch kanidm-pam & kanidm-nss to mandatory deps While in theory unixd will start and run without them, it also won't do anything useful. fix: explicit depends for nss & pam libs without versions We build the debs on the ubuntu24.04 GHA runner so automatic pins versions that are too new for 22.04. Ideally we'd run cargo-deb also on the target images but that'll have to be a future improvement. * refactor: Switch nss_kanidm & pam_kanidm package naming closer to debian guidance * feat: Attempt enabling unixd by default with secure defaults * fix: Relax config permissions so the kanidm user can read Also, update postinst config instructions
49 lines
1.3 KiB
TOML
49 lines
1.3 KiB
TOML
[package]
|
|
name = "nss_kanidm"
|
|
description = "Kanidm NSS module"
|
|
|
|
version = { workspace = true }
|
|
authors = { workspace = true }
|
|
rust-version = { workspace = true }
|
|
edition = { workspace = true }
|
|
license = { workspace = true }
|
|
homepage = { workspace = true }
|
|
repository = { workspace = true }
|
|
|
|
[lib]
|
|
name = "nss_kanidm"
|
|
crate-type = [ "cdylib" ]
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
kanidm_unix_common = { workspace = true }
|
|
|
|
[target.'cfg(not(target_family = "windows"))'.dependencies]
|
|
libnss = { workspace = true }
|
|
libc = { workspace = true }
|
|
paste = { workspace = true }
|
|
lazy_static = { workspace = true }
|
|
|
|
## Debian packaging
|
|
# The base metadata does **not** work to build a functioning package!
|
|
# A target specific variant must be used to get the right multiarch path.
|
|
[package.metadata.deb]
|
|
name = "libnss-kanidm"
|
|
maintainer = "James Hodgkinson <james@terminaloutcomes.com>"
|
|
depends = ""
|
|
section = "network"
|
|
priority = "optional"
|
|
assets = [
|
|
# Empty on purpose
|
|
]
|
|
|
|
[package.metadata.deb.variants.aarch64-unknown-linux-gnu]
|
|
merge-assets.append = [
|
|
[ "target/release/libnss_kanidm.so", "usr/lib/aarch64-linux-gnu/libnss_kanidm.so.2", "644"],
|
|
]
|
|
|
|
[package.metadata.deb.variants.x86_64-unknown-linux-gnu]
|
|
merge-assets.append = [
|
|
[ "target/release/libnss_kanidm.so", "usr/lib/x86_64-linux-gnu/libnss_kanidm.so.2", "644"],
|
|
]
|