mariadb: update auth_pam handling
authorSebastian Kemper <sebastian_ml@gmx.net>
Mon, 11 May 2020 20:28:06 +0000 (22:28 +0200)
committerSebastian Kemper <sebastian_ml@gmx.net>
Mon, 11 May 2020 20:30:13 +0000 (22:30 +0200)
commitb16e9c1e2d73cb06eddbe8cec1429a2e6386ea59
tree6891bb45189485a5a5d51ad5d33f04942897567a
parent19de52a044e336b3f2acb06d9c20ea3044f538ee
mariadb: update auth_pam handling

With INSTALL_PAMDIR undefined some items necessary for the auth_pam
module aren't built. This adds the define so that configuration and
shared object become available.

This commit also tightens up the installation of the SUID tool. The
directory it is copied into gets created on the build host already with
u=rwx,g=rx,o=, so it cannot be accessed on target, except by root. The
post-install script then changes group ownership of the directory to the
"mariadb" group only if the directory is really a directory and owned by
"root:root".

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
utils/mariadb/Makefile