Date: Sunday, May 14, 2023 @ 08:34:58
Author: foutrelis
Revision: 477784
archrelease: copy trunk to testing-x86_64
Added:
slim/repos/testing-x86_64/
slim/repos/testing-x86_64/PKGBUILD
(from rev 477783, slim/trunk/PKGBUILD)
slim/repos/testing-x86_64/default-path.patch
(from rev 477783, slim/trunk/default-path.patch)
slim/repos/testing-x86_64/slim.logrotate
(from rev 477783, slim/trunk/slim.logrotate)
slim/repos/testing-x86_64/slim.pam
(from rev 477783, slim/trunk/slim.pam)
slim/repos/testing-x86_64/slimlock.pam
(from rev 477783, slim/trunk/slimlock.pam)
--------------------+
PKGBUILD | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++
default-path.patch | 12 +++++++++
slim.logrotate | 9 +++++++
slim.pam | 7 +++++
slimlock.pam | 3 ++
5 files changed, 93 insertions(+)
Copied: slim/repos/testing-x86_64/PKGBUILD (from rev 477783,
slim/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2023-05-14 08:34:58 UTC (rev 477784)
@@ -0,0 +1,62 @@
+# Maintainer: Evangelos Foutras <[email protected]>
+# Contributor: Gaetan Bisson <[email protected]>
+# Contributor: Thayer Williams <[email protected]>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+# Contributor: Hugo Ideler <[email protected]>
+
+pkgname=slim
+pkgver=1.4.0
+pkgrel=1
+pkgdesc="Simple Login Manager resurrected"
+arch=('x86_64')
+url="https://slim-fork.sourceforge.io/"
+license=('GPL2')
+depends=('gcc-libs' 'libjpeg' 'libpng' 'libx11' 'libxext' 'libxft' 'libxmu'
+ 'libxrandr' 'pam' 'ttf-font' 'xorg-sessreg' 'xorg-xauth')
+makedepends=('cmake')
+backup=('etc/logrotate.d/slim'
+ 'etc/pam.d/slim'
+ 'etc/slim.conf'
+ 'etc/slimlock.conf')
+source=(https://downloads.sourceforge.net/project/slim-fork/$pkgname-$pkgver.tar.gz
+ slim.pam
+ slimlock.pam
+ slim.logrotate
+ default-path.patch)
+sha256sums=('350b31d5070002e9729ea63e1d62f97596ba0062151c0f3ee16f02af67753204'
+ 'b9a77a614c451287b574c33d41e28b5b149c6d2464bdb3a5274799842bca51a4'
+ 'dfe35488b50f19fd96526374edc16850ed37dac919834dd579392b1a7518f2ab'
+ '5bf44748b5003f2332d8b268060c400120b9100d033fa9d35468670d827f6def'
+ '408337b006760b8029b1aeec37b103b1d02a23a85328cf9e2ac9c1a89faab279')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -Np1 -i ../default-path.patch
+}
+
+build() {
+ cd $pkgname-$pkgver
+
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DBUILD_SLIMLOCK=ON \
+ -DUSE_CONSOLEKIT=OFF \
+ -DUSE_PAM=ON
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+
+ make DESTDIR="$pkgdir" install
+ install -Dm644 slim.service -t "$pkgdir/usr/lib/systemd/system"
+ install -Dm644 slimlock.conf -t "$pkgdir/etc"
+
+ install -Dm644 ../slim.pam "$pkgdir/etc/pam.d/slim"
+ install -Dm644 ../slimlock.pam "$pkgdir/etc/pam.d/slimlock"
+ install -Dm644 ../slim.logrotate "$pkgdir/etc/logrotate.d/slim"
+}
+
+# vim:set ts=2 sw=2 et:
Copied: slim/repos/testing-x86_64/default-path.patch (from rev 477783,
slim/trunk/default-path.patch)
===================================================================
--- testing-x86_64/default-path.patch (rev 0)
+++ testing-x86_64/default-path.patch 2023-05-14 08:34:58 UTC (rev 477784)
@@ -0,0 +1,12 @@
+diff -upr slim-1.4.0.orig/slim.conf slim-1.4.0/slim.conf
+--- slim-1.4.0.orig/slim.conf 2023-01-14 13:47:23.000000000 +0200
++++ slim-1.4.0/slim.conf 2023-05-14 11:09:38.095795009 +0300
+@@ -1,7 +1,7 @@
+ # Path, X server and arguments (if needed)
+ # Note: -xauth $authfile is automatically appended, vt07 appended if no
+ # vtxx argument given.
+-default_path /bin:/usr/bin:/usr/local/bin
++default_path /usr/local/sbin:/usr/local/bin:/usr/bin
+ default_xserver /usr/bin/X
+ #xserver_arguments -dpi 75
+ xserver_arguments -nolisten tcp -deferglyphs 16
Copied: slim/repos/testing-x86_64/slim.logrotate (from rev 477783,
slim/trunk/slim.logrotate)
===================================================================
--- testing-x86_64/slim.logrotate (rev 0)
+++ testing-x86_64/slim.logrotate 2023-05-14 08:34:58 UTC (rev 477784)
@@ -0,0 +1,9 @@
+/var/log/slim.log {
+ compress
+ rotate 1
+ size 1024k
+ notifempty
+ missingok
+ copytruncate
+ noolddir
+}
Copied: slim/repos/testing-x86_64/slim.pam (from rev 477783,
slim/trunk/slim.pam)
===================================================================
--- testing-x86_64/slim.pam (rev 0)
+++ testing-x86_64/slim.pam 2023-05-14 08:34:58 UTC (rev 477784)
@@ -0,0 +1,7 @@
+#%PAM-1.0
+
+auth include system-local-login
+-auth optional pam_gnome_keyring.so
+account include system-local-login
+session include system-local-login
+-session optional pam_gnome_keyring.so auto_start
Copied: slim/repos/testing-x86_64/slimlock.pam (from rev 477783,
slim/trunk/slimlock.pam)
===================================================================
--- testing-x86_64/slimlock.pam (rev 0)
+++ testing-x86_64/slimlock.pam 2023-05-14 08:34:58 UTC (rev 477784)
@@ -0,0 +1,3 @@
+#%PAM-1.0
+
+auth include system-local-login