wok diff slim-pam/receipt @ rev 25503

f3: include extra programs
author Hans-G?nter Theisgen
date Fri Jan 27 10:37:43 2023 +0100 (16 months ago)
parents 9c874a5c3b17
children
line diff
     1.1 --- a/slim-pam/receipt	Wed Jul 20 17:04:10 2022 +0100
     1.2 +++ b/slim-pam/receipt	Fri Jan 27 10:37:43 2023 +0100
     1.3 @@ -6,12 +6,12 @@
     1.4  SHORT_DESC="Desktop-independent graphical login manager for X11 (PAM enabled)."
     1.5  MAINTAINER="pascal.bellard@slitaz.org"
     1.6  LICENSE="GPL2"
     1.7 -WEB_SITE="https://sourceforge.net/projects/slim.berlios/"
     1.8 +WEB_SITE="https://www.berlios.de/software/slim/"
     1.9  REPOLOGY="slim-login-manager"
    1.10  
    1.11  SOURCE="slim"
    1.12  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.13 -WGET_URL="https://downloads.sourceforge.net/project/slim.berlios/$TARBALL"
    1.14 +WGET_URL="https://github.com/iwamatsu/$SOURCE/archive/refs/tags/v$VERSION.tar.gz"
    1.15  
    1.16  PROVIDE="slim:pam"
    1.17  RELATED="slim slim-theme-default"
    1.18 @@ -56,7 +56,7 @@
    1.19  	cp -a $install/usr/lib		$fs/usr
    1.20  	cp -a $WOK/$SOURCE/stuff/themes	$fs/usr/share/slim
    1.21  
    1.22 -	# Configuration file and rc script.
    1.23 +	# rc script.
    1.24  	cp -a $WOK/$SOURCE/stuff/etc	$fs
    1.25  	chown -R root.root		$fs
    1.26  
    1.27 @@ -66,6 +66,7 @@
    1.28  
    1.29  post_install()
    1.30  {
    1.31 +	# replace default user tux by user with userid 1000 in slim.conf
    1.32  	local USER
    1.33  	USER=$(awk -F: '/:1000:1000:/ { print $1 }' < "$1/etc/passwd")
    1.34  	[ -n "$USER" ] &&
    1.35 @@ -74,7 +75,7 @@
    1.36  	# In order to update the SLiM, we need to restart it.
    1.37  	# We can't just "/etc/init.d/slim restart" because it momentarily interrupts
    1.38  	# X session and the user will get a terrible console with strange letters.
    1.39 -	printf '%40s\n' | tr ' ' '='
    1.40 +	printf '\n%40s\n' | tr ' ' '='
    1.41  	echo "In order to update the SLiM,"
    1.42  	echo "please, reboot your system!"
    1.43  }
    1.44 @@ -86,5 +87,5 @@
    1.45  
    1.46  testsuite()
    1.47  {
    1.48 -	ldd $install/usr/bin/slim
    1.49 +	readelf -h	$install/usr/bin/slim
    1.50  }