mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02:00
pam: Port to sd-bus
This pam plugin never used GDBus because it transparently uses threads which do not work well with a lot of PAM applications. But even settling on the "still better to use than plain dbus library" dbus-glib wasn't without problems, as any use or initialisation of GIO sockets would modify signal handler for signals such as SIGPIPE (see gio/gsocket.c). Many years later, sd-bus is a more modern alternative to the bare dbus library with a better API. This includes: - Removing use of gboolean, guint, g_new0() and many glib string helpers - Simplifying debug logging - Marking user-facing messages to be translated
This commit is contained in:
@ -25,7 +25,7 @@ PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.56 dbus-glib-1)
|
||||
AC_SUBST(GLIB_CFLAGS)
|
||||
AC_SUBST(GLIB_LIBS)
|
||||
|
||||
PKG_CHECK_MODULES(PAM_MODULE, glib-2.0 >= 2.56 dbus-glib-1)
|
||||
PKG_CHECK_MODULES(PAM_MODULE, libsystemd)
|
||||
AC_SUBST(PAM_MODULE_CFLAGS)
|
||||
AC_SUBST(PAM_MODULE_LIBS)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user