xsecurelock: make authproto_{pamtester,htacceess} optional (#519515)

This commit is contained in:
Sandro
2026-06-25 09:01:02 +00:00
committed by GitHub
2 changed files with 13 additions and 10 deletions
+3
View File
@@ -13,6 +13,9 @@
- `databricks-cli` has been updated from `0.290.2` to `1.x.x`, the first major release. OAuth tokens for interactive logins (`auth_type = databricks-cli`) are now stored in the OS-native secure store by default (Secret Service on Linux) instead of `~/.databricks/token-cache.json`; cached tokens from older versions are not migrated, so run `databricks auth login` once per profile after upgrading. To keep the previous file-backed storage, set `DATABRICKS_AUTH_STORAGE=plaintext` or add `auth_storage = plaintext` under `[__settings__]` in `~/.databrickscfg`. Additionally, the `vector_search_endpoints` DABs resource renamed `min_qps` to `target_qps` (and the `vector-search-endpoints` command renamed `--min-qps` to `--target-qps`). See the [upstream changelog](https://github.com/databricks/cli/blob/main/CHANGELOG.md) for details.
- `hurl` has been updated to `8.x.x` which has some breaking changes. See [upstream changelog](https://github.com/Orange-OpenSource/hurl/releases/tag/8.0.0) for details.
- `xsecurelock` no longer supports authentication via htaccess files (`~/.xsecurelock.pw`) or via the `pamtester` program by default. Only the recommended PAM module is supported unless rebuilt with `withHtaccess` or `withPamtester`.
- `python3Packages.django-health-check` has been updated to major version 4. See its [migration guide](https://codingjoe.dev/django-health-check/migrate-to-v4/) and [changelog](https://github.com/codingjoe/django-health-check/releases/tag/4.0.0) for breaking changes.
- `libgdata` has been removed, as it was archived upstream and relied on the insecure libsoup 2.4.
+10 -10
View File
@@ -12,16 +12,18 @@
libxext,
libxscrnsaver,
pam,
apacheHttpd,
pamtester,
coreutils,
makeWrapper,
# boolean flags
withXscreensaver ? true,
xscreensaver ? null,
xscreensaver,
withDocs ? false,
pandoc ? null,
pandoc,
withHtaccess ? false,
apacheHttpd,
withPamtester ? false,
pamtester,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -40,9 +42,7 @@ stdenv.mkDerivation (finalAttrs: {
pkg-config
makeWrapper
]
++ lib.optionals withDocs [
pandoc
];
++ lib.optional withDocs pandoc;
buildInputs = [
libx11
@@ -53,9 +53,9 @@ stdenv.mkDerivation (finalAttrs: {
libxext
libxscrnsaver
pam
apacheHttpd
pamtester
];
]
++ lib.optional withHtaccess apacheHttpd
++ lib.optional withPamtester pamtester;
configureFlags = [
"--with-pam-service-name=login"