From a4cf08a43f8d780ed6660632c2f22acc4e842ac8 Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Sat, 1 Jun 2019 21:53:22 +0200 Subject: testing/kscreenlocker: new aport --- testing/kscreenlocker/APKBUILD | 41 ++++++++++++++++++++++++++++++++++++++++ testing/kscreenlocker/kde-np.pam | 10 ++++++++++ testing/kscreenlocker/kde.pam | 11 +++++++++++ 3 files changed, 62 insertions(+) create mode 100644 testing/kscreenlocker/APKBUILD create mode 100644 testing/kscreenlocker/kde-np.pam create mode 100644 testing/kscreenlocker/kde.pam (limited to 'testing') diff --git a/testing/kscreenlocker/APKBUILD b/testing/kscreenlocker/APKBUILD new file mode 100644 index 0000000000..d04a4c53d3 --- /dev/null +++ b/testing/kscreenlocker/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kscreenlocker +pkgver=5.16.1 +pkgrel=0 +pkgdesc="Library and components for secure lock screen architecture" +arch="all" +url="https://www.kde.org/workspaces/plasmadesktop/" +license="GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only)" +depends="linux-pam elogind" +depends_dev="qt5-qtbase-dev qt5-qtx11extras-dev kcrash-dev kdeclarative-dev kglobalaccel-dev ki18n-dev kidletime-dev kcmutils-dev knotifications-dev solid-dev ktextwidgets-dev kwindowsystem-dev kxmlgui-dev xcb-util-keysyms-dev kwayland-dev linux-pam-dev libseccomp-dev elogind-dev" +makedepends="$depends_dev extra-cmake-modules" +checkdepends="xvfb-run" +source="https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz + kde.pam + kde-np.pam" +subpackages="$pkgname-dev $pkgname-lang" +options="!check" # Requires running loginctl + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + make +} + +check() { + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest +} + +package() { + DESTDIR="$pkgdir" make install + + install -D -m644 "$srcdir"/kde.pam "$pkgdir"/etc/pam.d/kde + install -m644 "$srcdir"/kde-np.pam "$pkgdir"/etc/pam.d/kde-np +} + +sha512sums="5aa7d4ef2cfcc5d95f7d83023df1275ebe2d52465182f8c5743af2067e98edb662d384081b24d8e2905157d8aebcda4a907bda95f1668306319f443a100f1d15 kscreenlocker-5.16.1.tar.xz +56e87d02d75c4a8cc4ed183faed416fb4972e7f223b8759959c0f5da32e11e657907a1df279d62a44a6a174f5aca8b2ac66a5f3325c5deb92011bcf71eed74c3 kde.pam +565265485dd7466b77966d75a56766216b8bcc187c95a997e531e9481cf50ddbe576071eb0e334421202bcab19aa6de6b93e042447ca4797a24bf97e1d053ffd kde-np.pam" diff --git a/testing/kscreenlocker/kde-np.pam b/testing/kscreenlocker/kde-np.pam new file mode 100644 index 0000000000..07b7861ed9 --- /dev/null +++ b/testing/kscreenlocker/kde-np.pam @@ -0,0 +1,10 @@ +#%PAM-1.0 + +auth required pam_nologin.so +auth required pam_permit.so + +account include base-account + +password include base-password + +session include base-session-noninteractive diff --git a/testing/kscreenlocker/kde.pam b/testing/kscreenlocker/kde.pam new file mode 100644 index 0000000000..1b9e446ce3 --- /dev/null +++ b/testing/kscreenlocker/kde.pam @@ -0,0 +1,11 @@ +#%PAM-1.0 + +auth required pam_nologin.so + +auth include base-auth + +account include base-account + +password include base-password + +session include base-session-noninteractive -- cgit v1.2.3