[arch-commits] Commit in xdm-archlinux/trunk (5 files)

Sergej Pupykin spupykin at archlinux.org
Mon Feb 1 16:46:22 UTC 2016


    Date: Monday, February 1, 2016 @ 17:46:21
  Author: spupykin
Revision: 159802

upgpkg: xdm-archlinux 0.5-1

upd

Modified:
  xdm-archlinux/trunk/PKGBUILD
  xdm-archlinux/trunk/Xstartup
  xdm-archlinux/trunk/xdm-archlinux.install
  xdm-archlinux/trunk/xdm-archlinux.service
  xdm-archlinux/trunk/xdm-config

-----------------------+
 PKGBUILD              |   10 +++++-----
 Xstartup              |    4 ++--
 xdm-archlinux.install |    8 --------
 xdm-archlinux.service |    2 ++
 xdm-config            |    6 +++++-
 5 files changed, 14 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-02-01 16:45:18 UTC (rev 159801)
+++ PKGBUILD	2016-02-01 16:46:21 UTC (rev 159802)
@@ -4,8 +4,8 @@
 # Contributor: whompus
 
 pkgname=xdm-archlinux
-pkgver=0.4
-pkgrel=2
+pkgver=0.5
+pkgrel=1
 pkgdesc="An XDM setup that looks better than the defaults"
 arch=(any)
 license=('GPL')
@@ -23,13 +23,13 @@
 	buttons
 	arch.xpm.gz
 	xdm-archlinux.service)
-md5sums=('67408e20a533d32774aba6157e1101d1'
+md5sums=('cd7057f4ee6ef35eb256a62325aafd56'
          '03299fb4d54fa7724b34ab794f076c4e'
-         '1628c6cf77d5da2528265dbaf2eaacf4'
+         '3145bd39757db8332678cf35695eeb6b'
          '9157c5c2eb36afaae1461c20a091ef2a'
          'd483fffd98587d09c7a1f6f066f2f0e6'
          '5cc5d8f639006a17dd175389bdcaf583'
-         'd80891baeb54cfac2d8a5d1713de606e')
+         'a004aba9114f1784c99c59ac4d14eed1')
 
 package() {
   mkdir -p $pkgdir/etc/X11/xdm/archlinux

Modified: Xstartup
===================================================================
--- Xstartup	2016-02-01 16:45:18 UTC (rev 159801)
+++ Xstartup	2016-02-01 16:46:21 UTC (rev 159802)
@@ -3,5 +3,5 @@
 # Get rid of all clients started by Xsetup
 xwininfo -root -children | grep '  0x' | cut -d' ' -f6 | xargs -n1 xkill -id
 
-# From the default Xstartup file; 'GiveConsole'
-chown $USER /dev/console
+# Register a login (derived from GiveConsole as follows:)
+exec /usr/bin/sessreg  -a -w /var/log/wtmp -u /var/run/utmp 	-x /etc/X11/xdm/Xservers -l $DISPLAY -h "" $USER

Modified: xdm-archlinux.install
===================================================================
--- xdm-archlinux.install	2016-02-01 16:45:18 UTC (rev 159801)
+++ xdm-archlinux.install	2016-02-01 16:46:21 UTC (rev 159802)
@@ -1,15 +1,7 @@
 post_install() {
   cat << EOF
-
-  Using sysvinit, make the xdm line near the end of /etc/inittab read;
-    x:5:respawn:/usr/bin/xdm -nodaemon -config /etc/X11/xdm/archlinux/xdm-config
-
-  Using systemd, execute
-    systemctl enable xdm-archlinux
-
   If you want an xconsole on the login screen, or don't want the clock or the
   halt and reboot buttons, edit /etc/X11/xdm/archlinux/Xsetup
-
 EOF
 }
 

Modified: xdm-archlinux.service
===================================================================
--- xdm-archlinux.service	2016-02-01 16:45:18 UTC (rev 159801)
+++ xdm-archlinux.service	2016-02-01 16:46:21 UTC (rev 159802)
@@ -4,6 +4,8 @@
 
 [Service]
 ExecStart=/usr/bin/xdm -nodaemon -config /etc/X11/xdm/archlinux/xdm-config
+Type=notify
+NotifyAccess=all
 
 [Install]
 Alias=display-manager.service

Modified: xdm-config
===================================================================
--- xdm-config	2016-02-01 16:45:18 UTC (rev 159801)
+++ xdm-config	2016-02-01 16:46:21 UTC (rev 159802)
@@ -1,9 +1,10 @@
+DisplayManager.authDir:		/var/lib/xdm
 DisplayManager.errorLogFile:	/var/log/xdm.log
 DisplayManager.pidFile:		/var/run/xdm.pid
 DisplayManager.keyFile:		/etc/X11/xdm/xdm-keys
 DisplayManager.servers:		/etc/X11/xdm/Xservers
 DisplayManager.accessFile:	/etc/X11/xdm/Xaccess
-DisplayManager.willing:		su nobody -c /etc/X11/xdm/Xwilling
+DisplayManager.willing:		su nobody -s /bin/sh -c /etc/X11/xdm/Xwilling
 
 DisplayManager*authorize:	true
 
@@ -15,5 +16,8 @@
 DisplayManager*resources:	/etc/X11/xdm/archlinux/Xresources
 DisplayManager*session:		/etc/X11/xdm/Xsession
 DisplayManager*authComplain:	true
+DisplayManager*startup:		/etc/X11/xdm/archlinux/Xstartup
+DisplayManager*reset:		/etc/X11/xdm/Xreset
+DisplayManager*loginmoveInterval:	10
 
 DisplayManager.requestPort:	0



More information about the arch-commits mailing list