aur/lightdm to 1.4.0-6

This commit is contained in:
Kevin Mihelich 2012-12-03 23:26:13 +00:00
parent 64f643a4e3
commit ae70891fdc
3 changed files with 22 additions and 33 deletions

View file

@ -1,7 +1,7 @@
#Mantainer: M0Rf30
pkgname=lightdm
pkgver=1.4.0
pkgrel=1
pkgrel=6
pkgdesc="A lightweight display manager"
arch=('i686' 'x86_64')
url="https://launchpad.net/lightdm"
@ -9,7 +9,6 @@ license=('GPL3' 'LGPL3')
source=("https://launchpad.net/lightdm/1.4/$pkgver/+download/$pkgname-$pkgver.tar.gz"
lightdm.rc
lightdm.service
lightdm-plymouth.service
lightdm.tmpfiles
xsession
lightdm-autologin.pam
@ -18,11 +17,13 @@ depends=('dbus-glib' 'libxklavier')
options=(!libtool)
install=lightdm.install
optdepends=('accountsservice'
optdepends=('xorg-server-xephyr: run lightdm in test mode'
'accountsservice: limit account shown by the greeter'
'lightdm-kde: Qt lightdm greeter'
'lightdm-gtk-greeter: You need this package to test the default greeter'
'xorg-server-xephyr: run lightdm in test mode'
'lightdm-webkit-greeter-bzr: webkit lightdm greeter'
'lightdm-crowd-greeter: 3d lightdm greeter')
'lightdm-crowd-greeter: 3d lightdm greeter'
'lightdm-pantheon-greeter: ElementaryOS greeter writtern in vala')
makedepends=('gobject-introspection' 'pkg-config' 'intltool' 'patch' 'itstool')
@ -49,7 +50,6 @@ package() {
# init services file
install -D -m755 ../lightdm.rc $pkgdir/etc/rc.d/lightdm
install -D -m644 ../lightdm.service $pkgdir/usr/lib/systemd/system/lightdm.service
install -D -m644 ../lightdm-plymouth.service $pkgdir/usr/lib/systemd/system/lightdm-plymouth.service
install -D -m644 ../lightdm.tmpfiles $pkgdir/usr/lib/tmpfiles.d/lightdm.conf
# some tweaks
@ -70,9 +70,8 @@ package() {
md5sums=('622d9087ec773dd0626a250a5868f88c'
'6699eb35f65ff498d1d05e6782f4f902'
'b9781cdb3aaae3755f21c7852dcc76bf'
'e6d573b1913f3aa020cbde3863ee80f0'
'737c6f27488517c6320bfc797954b400'
'b1e1baf7351ff58c7b3b9b204472f6bb'
'683bc8bc3f423157065dc6295f9fecef'
'9e39da461e36f9d3fdd4447a80ebd878'
'94b407926e12db7c79932a127e778a30')
'a5c60ec8739a698e4127b47ef417e517')

View file

@ -1,25 +1,12 @@
#%PAM-1.0
# Block login if they are disabled
auth required pam_nologin.so
# Load environment from /etc/environment and ~/.pam_environment
auth required pam_env.so
# Use /etc/passwd and /etc/shadow for passwords
auth required pam_unix.so
# Check account is active, change password if required
account required pam_unix.so
# Allow password to be changed
password required pam_unix.so
# Setup session
session required pam_unix.so
-session optional pam_systemd.so
session required pam_limits.so
# Allow user to automatically unlock the default gnome-keyring
auth requisite pam_nologin.so
auth required pam_env.so
auth required pam_unix.so
-auth optional pam_gnome_keyring.so
-session optional pam_gnome_keyring.so auto_start
account required pam_unix.so
session required pam_limits.so
session required pam_unix.so
password required pam_unix.so
-session optional pam_loginuid.so
-session optional pam_systemd.so
-session optional pam_gnome_keyring.so auto_start

View file

@ -1,11 +1,14 @@
[Unit]
Description=LightDM Display Manager
Documentation=man:lightdm(1)
After=systemd-user-sessions.service
[Service]
ExecStart=/usr/sbin/lightdm
StandardOutput=syslog
Restart=always
IgnoreSIGPIPE=no
BusName=org.freedesktop.DisplayManager
[Install]
WantedBy=graphical.target
Alias=display-manager.service