Commit Graph

3 Commits

Author SHA1 Message Date
Dmitry V. Levin
29c390c7e5 build: check gdbm_close return type
gdbm_close() used to return void, later it was changed to return int.
We cannot assume either way and have to check whether gdbm_close()
returns int.

Fixes: 45c2c496dc ("pam_userdb: enable GDBM support")
2024-10-15 08:00:00 +00:00
Thorsten Kukuk
a2de804e56 pam_env: install environment file in vendordir
If vendordir is enabled, the distribution provided configuration files
should be below this directory and not in /etc.
2024-09-12 17:32:47 +02:00
Dmitry V. Levin
7fb6beed01 meson: build Linux-PAM using meson
On my non-representative hardware, the full build using autotools
(./autogen.sh && CFLAGS=-O2 ./configure && make -j`nproc` && make -j`nproc` install)
takes about 45 seconds.

On the same hardware, the full build using meson
(meson setup -Doptimization=2 dir && meson compile -C dir && meson install -C dir)
takes just about 7.5 seconds.
2024-09-10 08:00:00 +00:00