This commit is contained in:
milisbir 2018-06-03 20:02:15 +02:00
parent 4ff9d53ca0
commit 404b1dae1c
3 changed files with 21 additions and 26 deletions

View File

@ -5,7 +5,7 @@
# Grup: sistem
isim=lightdm-gtk-greeter
surum=2.0.3
surum=2.0.5
devir=1
kaynak=(https://launchpad.net/lightdm-gtk-greeter/${surum%.*}/$surum/+download/lightdm-gtk-greeter-$surum.tar.gz

View File

@ -1,10 +1,6 @@
grub_ekle() {
groupadd -g 800 lightdm"
useradd -d /var/lib/lightdm -s /bin/false -u 800 -g 800 lightdm"
}
if ! getent group lightdm 1>/dev/null 2>/dev/null ; then
grub_ekle
elif ! getent passwd lightdm 1>/dev/null 2>/dev/null ; then
grub_ekle
fi
userdel lightdm
groupdel lightdm
groupadd -g 800 lightdm
useradd -d /var/lib/lightdm -s /bin/false -u 800 -g 800 lightdm
[ -d /var/lib/lightdm ] && chown lightdm:lightdm /var/lib/lightdm
[ -d /var/lib/lightdm-data ] && chown lightdm:lightdm /var/lib/lightdm-data

View File

@ -2,13 +2,13 @@
# URL: https://launchpad.net/lightdm
# Paketçi: milisarge
# Gerekler: glib gobject-introspection intltool itstool libgcrypt xorg-libxi xorg-libx11 libxcb xorg-libxdmcp xorg-libxklavier pam polkit vala
# GRup: sistem
# Grup: sistem
isim=lightdm
surum=1.24.0
surum=1.26.0
devir=1
kaynak=(https://launchpad.net/lightdm/1.24/1.24.0/+download/lightdm-1.24.0.tar.xz
kaynak=(https://github.com/CanonicalLtd/lightdm/releases/download/${surum}/lightdm-${surum}.tar.xz
Xsession)
derle() {
@ -41,26 +41,25 @@ derle() {
rm -rf $PKG/etc/apparmor.d
rm -rf $PKG/etc/init
mv $PKG/etc/lightdm/lightdm.conf $PKG/etc/lightdm/lightdm.conf.new
mv $PKG/etc/lightdm/users.conf $PKG/etc/lightdm/users.conf.new
mv $PKG/etc/lightdm/keys.conf $PKG/etc/lightdm/keys.conf.new
#mv $PKG/etc/lightdm/lightdm.conf $PKG/etc/lightdm/lightdm.conf.new
#mv $PKG/etc/lightdm/users.conf $PKG/etc/lightdm/users.conf.new
#mv $PKG/etc/lightdm/keys.conf $PKG/etc/lightdm/keys.conf.new
mv $PKG/etc/pam.d/lightdm $PKG/etc/pam.d/lightdm.new
mv $PKG/etc/pam.d/lightdm-autologin $PKG/etc/pam.d/lightdm-autologin.new
mv $PKG/etc/pam.d/lightdm-greeter $PKG/etc/pam.d/lightdm-greeter.new
#mv $PKG/etc/pam.d/lightdm $PKG/etc/pam.d/lightdm.new
#mv $PKG/etc/pam.d/lightdm-autologin $PKG/etc/pam.d/lightdm-autologin.new
#mv $PKG/etc/pam.d/lightdm-greeter $PKG/etc/pam.d/lightdm-greeter.new
# Remove systemd entries from pam files
sed -i 's@^.*pam_systemd.so.*$@@' $PKG/etc/pam.d/lightdm.new
sed -i 's@^.*pam_systemd.so.*$@@' $PKG/etc/pam.d/lightdm-autologin.new
sed -i 's@^.*pam_systemd.so.*$@@' $PKG/etc/pam.d/lightdm-greeter.new
sed -i 's@^.*pam_systemd.so.*$@@' $PKG/etc/pam.d/lightdm
sed -i 's@^.*pam_systemd.so.*$@@' $PKG/etc/pam.d/lightdm-autologin
sed -i 's@^.*pam_systemd.so.*$@@' $PKG/etc/pam.d/lightdm-greeter
# Fix session-wrapper in config
sed -i 's@^.*session-wrapper.*$@session-wrapper=/etc/lightdm/Xsession@' $PKG/etc/lightdm/lightdm.conf.new
sed -i 's@^.*session-wrapper.*$@session-wrapper=/etc/lightdm/Xsession@' $PKG/etc/lightdm/lightdm.conf
mkdir -p $PKG/var/lib/lightdm
chown lightdm:lightdm $PKG/var/lib/lightdm
mkdir -p $PKG/var/lib/lightdm-data
chown lightdm:lightdm $PKG/var/lib/lightdm-data
# servis kurulması
cd /sources/milis.git/ayarlar/servisler