aboutsummaryrefslogtreecommitdiffstats
path: root/community/polkit-elogind/alpine-pam.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/polkit-elogind/alpine-pam.patch')
-rw-r--r--community/polkit-elogind/alpine-pam.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/community/polkit-elogind/alpine-pam.patch b/community/polkit-elogind/alpine-pam.patch
new file mode 100644
index 0000000000..662e7c4d99
--- /dev/null
+++ b/community/polkit-elogind/alpine-pam.patch
@@ -0,0 +1,18 @@
+Point /etc/pam.d/polkit-1 to the right PAM files.
+
+diff --git configure.ac configure.ac
+index 36df239..53b5573 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -470,6 +470,11 @@ elif test x$with_os_type = xfreebsd -o x$with_os_type = xnetbsd; then
+ PAM_FILE_INCLUDE_ACCOUNT=system
+ PAM_FILE_INCLUDE_PASSWORD=system
+ PAM_FILE_INCLUDE_SESSION=system
++elif test x$with_os_type = xalpine; then
++ PAM_FILE_INCLUDE_AUTH=base-auth
++ PAM_FILE_INCLUDE_ACCOUNT=base-account
++ PAM_FILE_INCLUDE_PASSWORD=base-password
++ PAM_FILE_INCLUDE_SESSION=base-session
+ else
+ PAM_FILE_INCLUDE_AUTH=system-auth
+ PAM_FILE_INCLUDE_ACCOUNT=system-auth