slim: switched to maintained fork, updated to version 1.4.0
This commit is contained in:
parent
5005ab353d
commit
c7bb8df0bb
@ -1,17 +1,21 @@
|
|||||||
drwxr-xr-x root/root etc/
|
drwxr-xr-x root/root etc/
|
||||||
|
drwxr-xr-x root/root etc/pam.d/
|
||||||
|
-rw-r--r-- root/root etc/pam.d/slim
|
||||||
drwxr-xr-x root/root etc/rc.d/
|
drwxr-xr-x root/root etc/rc.d/
|
||||||
-rwxr-xr-x root/root etc/rc.d/slim
|
-rwxr-xr-x root/root etc/rc.d/slim
|
||||||
-rw-r--r-- root/root etc/slim.conf
|
-rw-r--r-- root/root etc/slim.conf
|
||||||
drwxr-xr-x root/root usr/
|
drwxr-xr-x root/root usr/
|
||||||
drwxr-xr-x root/root usr/bin/
|
drwxr-xr-x root/root usr/bin/
|
||||||
-rwxr-xr-x root/root usr/bin/slim
|
-rwxr-xr-x root/root usr/bin/slim
|
||||||
|
-rwsr-xr-x root/root usr/bin/slimlock
|
||||||
drwxr-xr-x root/root usr/lib/
|
drwxr-xr-x root/root usr/lib/
|
||||||
lrwxrwxrwx root/root usr/lib/libslim.so -> libslim.so.1.3.6
|
lrwxrwxrwx root/root usr/lib/libslim.so -> libslim.so.1.4.0
|
||||||
-rwxr-xr-x root/root usr/lib/libslim.so.1.3.6
|
-rwxr-xr-x root/root usr/lib/libslim.so.1.4.0
|
||||||
drwxr-xr-x root/root usr/share/
|
drwxr-xr-x root/root usr/share/
|
||||||
drwxr-xr-x root/root usr/share/man/
|
drwxr-xr-x root/root usr/share/man/
|
||||||
drwxr-xr-x root/root usr/share/man/man1/
|
drwxr-xr-x root/root usr/share/man/man1/
|
||||||
-rw-r--r-- root/root usr/share/man/man1/slim.1.gz
|
-rw-r--r-- root/root usr/share/man/man1/slim.1.gz
|
||||||
|
-rw-r--r-- root/root usr/share/man/man1/slimlock.1.gz
|
||||||
drwxr-xr-x root/root usr/share/slim/
|
drwxr-xr-x root/root usr/share/slim/
|
||||||
drwxr-xr-x root/root usr/share/slim/themes/
|
drwxr-xr-x root/root usr/share/slim/themes/
|
||||||
drwxr-xr-x root/root usr/share/slim/themes/crux-smooth/
|
drwxr-xr-x root/root usr/share/slim/themes/crux-smooth/
|
||||||
@ -22,3 +26,7 @@ drwxr-xr-x root/root usr/share/slim/themes/default/
|
|||||||
-rw-r--r-- root/root usr/share/slim/themes/default/background.jpg
|
-rw-r--r-- root/root usr/share/slim/themes/default/background.jpg
|
||||||
-rw-r--r-- root/root usr/share/slim/themes/default/panel.png
|
-rw-r--r-- root/root usr/share/slim/themes/default/panel.png
|
||||||
-rw-r--r-- root/root usr/share/slim/themes/default/slim.theme
|
-rw-r--r-- root/root usr/share/slim/themes/default/slim.theme
|
||||||
|
drwxr-xr-x root/root usr/share/slim/themes/original/
|
||||||
|
-rw-r--r-- root/root usr/share/slim/themes/original/background.jpg
|
||||||
|
-rw-r--r-- root/root usr/share/slim/themes/original/panel.png
|
||||||
|
-rw-r--r-- root/root usr/share/slim/themes/original/slim.theme
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
untrusted comment: verify with /etc/ports/opt.pub
|
untrusted comment: verify with /etc/ports/opt.pub
|
||||||
RWSE3ohX2g5d/ehfcKMMofb8qZia5mvR7jbEA6KgiLQbmCnnwCQpKlfmkabqM28zaoTeKa6Dg/WabU0/vl7ba3G+lJqcGyK4uwE=
|
RWSE3ohX2g5d/Td6bBLcM5yRUr8Iim+TlIApX4XhRFtXiAab18D7430VnhrUryYVob5hA2qMq+NJuQiReXnh21mZgGDHMR4UygU=
|
||||||
SHA256 (Pkgfile) = 603ae627ed8158e3ba7da34677c0de17e6ac0e2a1795a71c7b9b9e30231f1078
|
SHA256 (Pkgfile) = d1fd84f04a8f9b27740108b0e513066a0443ede21dd37f538d1001915b0bbb51
|
||||||
SHA256 (.footprint) = 58d4f98570e611e4d175f24b0afa122c075444f01ec5c2ffb9dc9d5fda571976
|
SHA256 (.footprint) = 12f38b86ed47e8577922817615fa77369a4f7da349a9b77611a566a3600404e6
|
||||||
SHA256 (slim-1.3.6.tar.gz) = 21defeed175418c46d71af71fd493cd0cbffd693f9d43c2151529125859810df
|
SHA256 (slim-1.4.0.tar.gz) = 350b31d5070002e9729ea63e1d62f97596ba0062151c0f3ee16f02af67753204
|
||||||
SHA256 (slim-crux-smooth.tar.gz) = 19d9106386b2965f151cf5813952f0da836138543dc713348a92c641ccf651fb
|
SHA256 (slim-crux-smooth.tar.gz) = 19d9106386b2965f151cf5813952f0da836138543dc713348a92c641ccf651fb
|
||||||
SHA256 (slim.rc) = a59dd5e96b89b1b1f88fece37aa24bd00e643341057bf08d361d761043942ef0
|
SHA256 (slim.rc) = a59dd5e96b89b1b1f88fece37aa24bd00e643341057bf08d361d761043942ef0
|
||||||
SHA256 (signed-comparison.patch) = 8a9f9c4af9359c3622799ac60e92ec82574702a98d02c7556a663883c443592b
|
SHA256 (slim.pam) = 874532f69b362bdd6b7c5aa2215520b6165efd25df88cae88948b4e479093396
|
||||||
|
31
slim/Pkgfile
31
slim/Pkgfile
@ -1,25 +1,23 @@
|
|||||||
# Description: a graphical login utility
|
# Description: Simple Login Manager
|
||||||
# URL: https://sourceforge.net/projects/slim.berlios/
|
# URL: https://slim-fork.sourceforge.io/
|
||||||
# Maintainer: Matt Housh, jaeger at crux dot ninja
|
# Maintainer: Matt Housh, jaeger at crux dot ninja
|
||||||
# Depends on: xorg-xauth libjpeg-turbo
|
# Depends on: xorg-xauth libjpeg-turbo
|
||||||
|
|
||||||
name=slim
|
name=slim
|
||||||
version=1.3.6
|
version=1.4.0
|
||||||
release=1
|
release=1
|
||||||
source=(http://downloads.sourceforge.net/project/slim.berlios/slim-$version.tar.gz
|
source=(https://sourceforge.net/projects/slim-fork/files/$name-$version.tar.gz
|
||||||
https://crux.nu/files/slim-crux-smooth.tar.gz $name.rc
|
https://crux.nu/files/slim-crux-smooth.tar.gz $name.rc $name.pam)
|
||||||
signed-comparison.patch)
|
|
||||||
|
|
||||||
build () {
|
build () {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
|
||||||
# https://bugs.gentoo.org/786498
|
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
patch -p1 -i $SRC/signed-comparison.patch
|
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
# do NOT build slimlock (because of pam)
|
-DUSE_PAM=yes \
|
||||||
sed -i -e '224d' CMakeLists.txt
|
-DBUILD_SLIMLOCK=yes \
|
||||||
|
-DUSE_CONSOLEKIT=no
|
||||||
cmake -DCMAKE_INSTALL_PREFIX=/usr
|
|
||||||
|
|
||||||
make
|
make
|
||||||
make DESTDIR=$PKG install
|
make DESTDIR=$PKG install
|
||||||
@ -31,6 +29,5 @@ build () {
|
|||||||
cp -r slim-crux-smooth $PKG/usr/share/slim/themes/crux-smooth
|
cp -r slim-crux-smooth $PKG/usr/share/slim/themes/crux-smooth
|
||||||
chmod 0644 $PKG/usr/share/slim/themes/crux-smooth/*
|
chmod 0644 $PKG/usr/share/slim/themes/crux-smooth/*
|
||||||
|
|
||||||
# no systemd support
|
install -Dm 0644 $name.pam $PKG/etc/pam.d/$name
|
||||||
rm -r $PKG/lib $PKG/usr/share/man/man1/slimlock.1
|
|
||||||
}
|
}
|
||||||
|
@ -1,11 +0,0 @@
|
|||||||
--- 1/panel.cpp
|
|
||||||
+++ 1/panel.cpp
|
|
||||||
@@ -48,7 +48,7 @@
|
|
||||||
gcm = GCGraphicsExposures;
|
|
||||||
gcv.graphics_exposures = False;
|
|
||||||
WinGC = XCreateGC(Dpy, Win, gcm, &gcv);
|
|
||||||
- if (WinGC < 0) {
|
|
||||||
+ if (WinGC == 0) {
|
|
||||||
cerr << APPNAME
|
|
||||||
<< ": failed to create pixmap\n.";
|
|
||||||
exit(ERR_EXIT);
|
|
10
slim/slim.pam
Normal file
10
slim/slim.pam
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
#%PAM-1.0
|
||||||
|
auth requisite pam_nologin.so
|
||||||
|
auth required pam_env.so
|
||||||
|
auth required pam_unix.so
|
||||||
|
account required pam_unix.so
|
||||||
|
password required pam_unix.so
|
||||||
|
session required pam_limits.so
|
||||||
|
session required pam_unix.so
|
||||||
|
session optional pam_loginuid.so
|
||||||
|
session optional pam_ck_connector.so
|
Loading…
x
Reference in New Issue
Block a user