diff --git a/kscreenlocker/.footprint b/kscreenlocker/.footprint index dca8cd9..7bdaf4a 100644 --- a/kscreenlocker/.footprint +++ b/kscreenlocker/.footprint @@ -1,4 +1,9 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/pam.d/ +-rw-r--r-- root/root etc/pam.d/kde drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/ck-unlock-session drwxr-xr-x root/root usr/include/ drwxr-xr-x root/root usr/include/KScreenLocker/ drwxr-xr-x root/root usr/include/KScreenLocker/KScreenLocker/ diff --git a/kscreenlocker/.signature b/kscreenlocker/.signature index 5c41203..35f30de 100644 --- a/kscreenlocker/.signature +++ b/kscreenlocker/.signature @@ -1,5 +1,6 @@ untrusted comment: verify with /etc/ports/kde-plasma-6.pub -RWTGxEYrvi0p3j2QtGV6VNtW9p0uLzD7Rzjqe7T0mpcbTaiRnOcGGkh7MBrmTM1UXwBa5jZJke9MhmjEQ5VqGJt+3xrki/mqKw4= -SHA256 (Pkgfile) = cea56e52ff9b87ffd11825c345455e211e3aab439d209d45d5ba411657f0df3e -SHA256 (.footprint) = def921dd66e41db2dceffe66d7ad10d6c148b9e0555b87647829c994c4b5cab3 +RWTGxEYrvi0p3pJBSypUUIxm1Z7gkgt2/G6Awpaj148mJvABOHSFlTDkhEhioVYFEy5Hku4qNVOqyxbNdXKuxMVCmTzcFW8fQAc= +SHA256 (Pkgfile) = 11adfce1b3f08a15590f35f723767f1fa9b55e7e027c5214f1085a55d4ade8ba +SHA256 (.footprint) = 44d479f5cf165a47eb7f887d241e48e0d6d443e3ee4004fa60067da0b36b97e5 SHA256 (kscreenlocker-6.0.2.tar.xz) = 451c69a2356c545c118e32c9f8b4586272b299f8d9ddc4c9c884b19db427b53f +SHA256 (kde.pam) = 316ce73bf6f1022c22a6ccef56db88cfabdf7501cdcf508befd81fb216a34334 diff --git a/kscreenlocker/Pkgfile b/kscreenlocker/Pkgfile index 85cef69..05c03ed 100644 --- a/kscreenlocker/Pkgfile +++ b/kscreenlocker/Pkgfile @@ -1,12 +1,13 @@ # Description: Library and components for secure lock screen architecture # URL: https://kde.org/plasma-desktop/ # Maintainer: CRUX KDE Ports, kde-ports at crux dot nu -# Depends on: kidletime layer-shell-qt libkscreen libplasma +# Depends on: kidletime layer-shell-qt libkscreen libplasma consolekit name=kscreenlocker version=6.0.2 -release=2 -source=(https://download.kde.org/stable/plasma/$version/$name-$version.tar.xz) +release=3 +source=(https://download.kde.org/stable/plasma/$version/$name-$version.tar.xz \ + kde.pam) build() { cmake -S $name-$version -B build -G Ninja \ @@ -22,6 +23,8 @@ build() { DESTDIR=$PKG cmake --install build rm -r $PKG/usr/share/locale + + install -Dm 0644 $SRC/kde.pam $PKG/etc/pam.d/kde } # vim: set ts=4 et: diff --git a/kscreenlocker/kde.pam b/kscreenlocker/kde.pam new file mode 100644 index 0000000..3223eb5 --- /dev/null +++ b/kscreenlocker/kde.pam @@ -0,0 +1,6 @@ +#%PAM-1.0 +# +# /etc/pam.d/kde - kde service module configuration +# + +auth include common-auth