]> git.pld-linux.org Git - packages/xorg-app-xdm.git/blob - xorg-app-xdm-config.patch
- fix apps paths, add configure option for auth dir
[packages/xorg-app-xdm.git] / xorg-app-xdm-config.patch
1 --- xdm-1.1.0/config/Xreset.orig        2006-07-11 04:52:23.000000000 +0200
2 +++ xdm-1.1.0/config/Xreset     2006-10-15 02:17:46.910246250 +0200
3 @@ -1,5 +1,5 @@
4  #!/bin/sh
5  # Deregister a login. (Derived from TakeConsole as follows:)
6  #
7 -/usr/X11R6/bin/sessreg -d -w "/var/log/wtmp" -u "/var/run/utmp" \
8 +/usr/bin/sessreg -d -w "/var/log/wtmp" -u "/var/run/utmp" \
9         -x "/etc/X11/xdm/Xservers" -l $DISPLAY -h "" $USER
10 --- xdm-1.1.0/config/Xstartup.orig      2006-07-11 04:52:23.000000000 +0200
11 +++ xdm-1.1.0/config/Xstartup   2006-10-15 02:17:41.909933750 +0200
12 @@ -1,5 +1,5 @@
13  #!/bin/sh
14  # Register a login (derived from GiveConsole as follows:)
15  #
16 -/usr/X11R6/bin/sessreg  -a -w "/var/log/wtmp" -u "/var/run/utmp" \
17 +/usr/bin/sessreg  -a -w "/var/log/wtmp" -u "/var/run/utmp" \
18         -x "/etc/X11/xdm/Xservers" -l $DISPLAY -h "" $USER
19 --- xdm-1.1.0/config/Xresources.cpp.orig        2006-08-14 20:12:34.000000000 +0200
20 +++ xdm-1.1.0/config/Xresources.cpp     2006-10-15 02:18:19.860305500 +0200
21 @@ -78,7 +78,7 @@
22  #endif /* XPM */
23  XHASHendif
24  #ifdef XPM
25 -XHASHif PLANES >= 8
26 +XHASHif PLANES > 8
27  xlogin*logoFileName: BITMAPDIR/**//XDM_PIXMAP
28  XHASHelse
29  xlogin*logoFileName: BITMAPDIR/**//XDM_BWPIXMAP
30 --- xdm-1.1.0/xdm-xinitrc-0.2/GiveConsole.orig  2000-10-29 20:59:44.000000000 +0100
31 +++ xdm-1.1.0/xdm-xinitrc-0.2/GiveConsole       2006-10-15 02:18:00.359086750 +0200
32 @@ -8,4 +8,4 @@
33  # causing serious grief.
34  #
35  chown $USER /dev/console
36 -/usr/X11R6/bin/sessreg  -a -x "/etc/X11/xdm/Xservers" -l $DISPLAY -h "" $USER
37 +/usr/bin/sessreg  -a -x "/etc/X11/xdm/Xservers" -l $DISPLAY -h "" $USER
38 --- xdm-1.1.0/xdm-xinitrc-0.2/TakeConsole.orig  2000-10-29 20:59:44.000000000 +0100
39 +++ xdm-1.1.0/xdm-xinitrc-0.2/TakeConsole       2006-10-15 02:18:07.591538750 +0200
40 @@ -5,4 +5,4 @@
41  #
42  chmod 622 /dev/console
43  chown root /dev/console
44 -/usr/X11R6/bin/sessreg -d -x "/etc/X11/xdm/Xservers" -l $DISPLAY -h "" $USER
45 +/usr/bin/sessreg -d -x "/etc/X11/xdm/Xservers" -l $DISPLAY -h "" $USER
46 --- xdm-1.1.0/configure.ac.orig 2006-10-04 03:11:27.000000000 +0200
47 +++ xdm-1.1.0/configure.ac      2006-10-15 02:17:10.495970500 +0200
48 @@ -216,6 +216,11 @@
49         [XDMPIDDIR="$withval"], [XDMPIDDIR="/var/run"])
50  AC_SUBST(XDMPIDDIR)
51  
52 +AC_ARG_WITH(xdmauthdir,
53 +       AC_HELP_STRING([--with-xdmauthdir=<pathname>],
54 +         [specify directory for authentication cookie files (default=configdir)]),
55 +       [XDMAUTHDIR="$withval"], [XDMAUTHDIR="$XDMCONFIGDIR"])
56 +
57  AC_ARG_WITH(default-vt,
58         AC_HELP_STRING([--with-default-vt=<vtname>],
59           [specify default vt to start xdm on (default=none)]),
60 @@ -494,7 +499,7 @@
61  
62  # -DDEF_AUTH_DIR="$(XDMDIR)"
63  
64 -AC_DEFINE_DIR(DEF_AUTH_DIR, XDMCONFIGDIR, 
65 +AC_DEFINE_DIR(DEF_AUTH_DIR, XDMAUTHDIR, 
66         [Define to pathname where authentication cookie files should be stored])
67  
68  # -DDEF_GREETER_LIB="$(XDMDIR)/libXdmGreet.so"
This page took 0.036546 seconds and 4 git commands to generate.