diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-06-01 21:53:22 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-06-19 21:18:38 -0300 |
commit | a4cf08a43f8d780ed6660632c2f22acc4e842ac8 (patch) | |
tree | c2c1d81efb0251ada12aebc097100fe21bc1df5e /testing | |
parent | f9f8a301e138305d945b608a914dc9652b903e3e (diff) | |
download | aports-a4cf08a43f8d780ed6660632c2f22acc4e842ac8.tar.bz2 aports-a4cf08a43f8d780ed6660632c2f22acc4e842ac8.tar.xz |
testing/kscreenlocker: new aport
Diffstat (limited to 'testing')
-rw-r--r-- | testing/kscreenlocker/APKBUILD | 41 | ||||
-rw-r--r-- | testing/kscreenlocker/kde-np.pam | 10 | ||||
-rw-r--r-- | testing/kscreenlocker/kde.pam | 11 |
3 files changed, 62 insertions, 0 deletions
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 <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +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 |