Solved problem with auth pam

This commit is contained in:
jolupa 2019-06-30 22:26:49 +02:00
parent 02c8469bb4
commit 2bb8336789
3 changed files with 33 additions and 2 deletions

View File

@ -1 +1,2 @@
de1345235613eba15ff09aab3666c643 common_auth.patch
2a5663d1b45b94c4fd77974bdd5fa589 xfce4-screensaver-0.1.6.tar.gz

View File

@ -5,22 +5,29 @@
name=xfce4-screensaver
version=0.1.6
release=1
source=(https://git.xfce.org/apps/$name/snapshot/$name-$version.tar.gz)
release=2
source=(https://git.xfce.org/apps/$name/snapshot/$name-$version.tar.gz common_auth.patch)
build() {
cd $name-$version
patch -p1 -i $SRC/common_auth.patch
./autogen.sh \
--prefix=/usr \
--libexecdir=/usr/lib/$name \
--sysconfdir=/etc \
--enable-pam \
--enable-authentication-scheme=pam \
--with-pam-prefix=/etc \
--with-pam-auth-type=common \
--mandir=/usr/man \
--disable-static \
--with-mit-ext \
--with-console-kit \
--without-systemd \
--without-elogind \
--with-libgl
make

View File

@ -0,0 +1,23 @@
From 9ed7a72b483755481e3e7b8ba67f5d0226f91ef3 Mon Sep 17 00:00:00 2001
From: Kai Kang <kai.kang@windriver.com>
Date: Fri, 21 Jun 2019 17:16:04 +0800
Subject: [PATCH] xfce4-screensaver.common-auth: replace @include with standard
systax
'@include' is not a standard sysntax. Replace with 'auth include'.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
data/xfce4-screensaver.common-auth | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/data/xfce4-screensaver.common-auth b/data/xfce4-screensaver.common-auth
index a9fd9ce..3bfea70 100644
--- a/data/xfce4-screensaver.common-auth
+++ b/data/xfce4-screensaver.common-auth
@@ -1,2 +1,2 @@
-@include common-auth
+auth include common-auth
auth optional pam_gnome_keyring.so
--
2.20.1