aboutsummaryrefslogtreecommitdiffstats
path: root/community/polkit-elogind/alpine-pam.patch
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-07-13 22:38:28 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-07-13 22:38:28 -0300
commitc9f2a0c8deca5c9bba672a5924fbdd454bdf8cef (patch)
tree3983695d7de5d3221bd3e446539ddcc310b06611 /community/polkit-elogind/alpine-pam.patch
parentae0d4bce74ebf5c86132811e185fc5644870f330 (diff)
downloadaports-c9f2a0c8deca5c9bba672a5924fbdd454bdf8cef.tar.bz2
aports-c9f2a0c8deca5c9bba672a5924fbdd454bdf8cef.tar.xz
community/polkit-elogind: move from testing
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