]> git.pld-linux.org Git - packages/xorg-app-xdm.git/commitdiff
- rediffed
authorMarcin Krol <hawk@tld-linux.org>
Wed, 6 Apr 2022 18:26:10 +0000 (18:26 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Wed, 6 Apr 2022 18:26:10 +0000 (18:26 +0000)
xorg-app-xdm-config.patch
xorg-app-xdm-consolekit.patch
xorg-app-xdm.spec

index 67faebc724ed2fecef5a5504da1382ebb3d09d56..ce595c54e65b61f67b1d4ce14572c617196b7a71 100644 (file)
@@ -1,7 +1,8 @@
---- xdm-1.1.12/config/Xresources.in.orig       2006-08-14 20:12:34.000000000 +0200
-+++ xdm-1.1.12/config/Xresources.in    2006-10-15 02:18:19.860305500 +0200
-@@ -78,7 +78,7 @@
- #endif /* XPM */
+diff -urNp -x '*.orig' xdm-1.1.12.org/config/Xresources.in xdm-1.1.12/config/Xresources.in
+--- xdm-1.1.12.org/config/Xresources.in        2019-03-02 22:06:13.000000000 +0000
++++ xdm-1.1.12/config/Xresources.in    2022-04-06 18:24:57.852216768 +0000
+@@ -58,7 +58,7 @@ xlogin*shdColor: black
+ xlogin*hiColor: black
  XHASHendif
  #ifdef XPM
 -XHASHif PLANES >= 8
  xlogin*logoFileName: BITMAPDIR/**//XDM_PIXMAP
  XHASHelse
  xlogin*logoFileName: BITMAPDIR/**//XDM_BWPIXMAP
---- xdm-1.1.0/xdm-xinitrc-0.2/GiveConsole.orig 2000-10-29 20:59:44.000000000 +0100
-+++ xdm-1.1.0/xdm-xinitrc-0.2/GiveConsole      2006-10-15 02:18:00.359086750 +0200
+diff -urNp -x '*.orig' xdm-1.1.12.org/xdm-xinitrc-0.2/GiveConsole xdm-1.1.12/xdm-xinitrc-0.2/GiveConsole
+--- xdm-1.1.12.org/xdm-xinitrc-0.2/GiveConsole 2000-10-29 19:59:44.000000000 +0000
++++ xdm-1.1.12/xdm-xinitrc-0.2/GiveConsole     2022-04-06 18:24:57.852216768 +0000
 @@ -8,4 +8,4 @@
  # causing serious grief.
  #
  chown $USER /dev/console
 -/usr/X11R6/bin/sessreg  -a -x "/etc/X11/xdm/Xservers" -l $DISPLAY -h "" $USER
 +/usr/bin/sessreg  -a -x "/etc/X11/xdm/Xservers" -l $DISPLAY -h "" $USER
---- xdm-1.1.0/xdm-xinitrc-0.2/TakeConsole.orig 2000-10-29 20:59:44.000000000 +0100
-+++ xdm-1.1.0/xdm-xinitrc-0.2/TakeConsole      2006-10-15 02:18:07.591538750 +0200
+diff -urNp -x '*.orig' xdm-1.1.12.org/xdm-xinitrc-0.2/TakeConsole xdm-1.1.12/xdm-xinitrc-0.2/TakeConsole
+--- xdm-1.1.12.org/xdm-xinitrc-0.2/TakeConsole 2000-10-29 19:59:44.000000000 +0000
++++ xdm-1.1.12/xdm-xinitrc-0.2/TakeConsole     2022-04-06 18:24:57.852216768 +0000
 @@ -5,4 +5,4 @@
  #
  chmod 622 /dev/console
  chown root /dev/console
 -/usr/X11R6/bin/sessreg -d -x "/etc/X11/xdm/Xservers" -l $DISPLAY -h "" $USER
 +/usr/bin/sessreg -d -x "/etc/X11/xdm/Xservers" -l $DISPLAY -h "" $USER
-
index 885ac6f4e95c49861e5208c4b5b954c9be96d155..ff566c3cb76dbc7f13e30147f7f0b42a16c6876c 100644 (file)
@@ -8,11 +8,12 @@
 
 Index: xdm-1.1.10/configure.ac
 ===================================================================
---- xdm-1.1.10.orig/configure.ac
-+++ xdm-1.1.10/configure.ac
-@@ -434,6 +434,20 @@ fi
- AM_CONDITIONAL(DYNAMIC_GREETER, test x$DYNAMIC_GREETER = xyes)
+diff -urNp -x '*.orig' xdm-1.1.12.org/configure.ac xdm-1.1.12/configure.ac
+--- xdm-1.1.12.org/configure.ac        2019-03-02 22:06:13.000000000 +0000
++++ xdm-1.1.12/configure.ac    2022-04-06 18:25:09.812244306 +0000
+@@ -429,6 +429,20 @@ AM_CONDITIONAL(HAS_XDM_AUTH, test x$xdma
+ AC_SUBST(XDM_CFLAGS)
+ AC_SUBST(XDM_LIBS)
  
 +# ConsoleKit support
 +AC_ARG_WITH(consolekit, AC_HELP_STRING([--with-consolekit], [Use ConsoleKit]),
@@ -29,10 +30,84 @@ Index: xdm-1.1.10/configure.ac
 +dnl AM_CONDITIONAL(USE_CONSOLEKIT, test$USE_CONSOLEKIT = xyes)
 +
  #
- #  XDM
+ # xdmshell
  #
---- xdm-1.1.12/xdm/session.c.orig      2019-03-02 23:06:13.000000000 +0100
-+++ xdm-1.1.12/xdm/session.c   2019-03-05 18:55:19.964592706 +0100
+diff -urNp -x '*.orig' xdm-1.1.12.org/include/dm.h xdm-1.1.12/include/dm.h
+--- xdm-1.1.12.org/include/dm.h        2019-03-02 22:06:13.000000000 +0000
++++ xdm-1.1.12/include/dm.h    2022-04-06 18:25:09.813244308 +0000
+@@ -327,6 +327,9 @@ extern char        *randomFile;
+ extern char   *prngdSocket;
+ extern int    prngdPort;
+ # endif
++#ifdef USE_CONSOLEKIT
++extern int    use_consolekit;
++#endif
+ extern char   *greeterLib;
+ extern char   *willing;
+diff -urNp -x '*.orig' xdm-1.1.12.org/man/xdm.man xdm-1.1.12/man/xdm.man
+--- xdm-1.1.12.org/man/xdm.man 2019-03-02 22:06:13.000000000 +0000
++++ xdm-1.1.12/man/xdm.man     2022-04-06 18:25:09.813244308 +0000
+@@ -48,6 +48,8 @@ xdm \- X Display Manager with support fo
+ ] [
+ .B \-session
+ .I session_program
++] [
++.B \-noconsolekit
+ ]
+ .SH DESCRIPTION
+ .I Xdm
+@@ -215,6 +217,10 @@ indicates the program to run as the sess
+ .IP "\fB\-xrm\fP \fIresource_specification\fP"
+ Allows an arbitrary resource to be specified, as in most
+ X Toolkit applications.
++.IP "\fB\-noconsolekit\fP"
++Specifies ``false'' as the value for the \fBDisplayManager.consoleKit\fP
++resource.
++This suppresses the session management using ConsoleKit.
+ .SH RESOURCES
+ At many stages the actions of
+ .I xdm
+diff -urNp -x '*.orig' xdm-1.1.12.org/xdm/resource.c xdm-1.1.12/xdm/resource.c
+--- xdm-1.1.12.org/xdm/resource.c      2019-03-02 22:06:13.000000000 +0000
++++ xdm-1.1.12/xdm/resource.c  2022-04-06 18:25:09.813244308 +0000
+@@ -65,6 +65,9 @@ char *randomDevice;
+ char  *prngdSocket;
+ int   prngdPort;
+ #endif
++#ifdef USE_CONSOLEKIT
++int   use_consolekit;
++#endif
+ char  *greeterLib;
+ char  *willing;
+@@ -192,6 +195,10 @@ struct dmResources {
+                               "false"} ,
+ { "willing",  "Willing",      DM_STRING,      &willing,
+                               ""} ,
++#ifdef USE_CONSOLEKIT
++{ "consoleKit",       "ConsoleKit",   DM_BOOL,        (char **) &use_consolekit,
++                              "true"} ,
++#endif
+ };
+ #define NUM_DM_RESOURCES      (sizeof DmResources / sizeof DmResources[0])
+@@ -377,7 +384,11 @@ XrmOptionDescRec optionTable [] = {
+ {"-debug",    "*debugLevel",          XrmoptionSepArg,        (caddr_t) NULL },
+ {"-xrm",      NULL,                   XrmoptionResArg,        (caddr_t) NULL },
+ {"-daemon",   ".daemonMode",          XrmoptionNoArg,         "true"         },
+-{"-nodaemon", ".daemonMode",          XrmoptionNoArg,         "false"        }
++{"-nodaemon", ".daemonMode",          XrmoptionNoArg,         "false"        },
++#ifdef USE_CONSOLEKIT
++{"-consolekit",       ".consoleKit",          XrmoptionNoArg,         "true"  },
++{"-noconsolekit", ".consoleKit",      XrmoptionNoArg,         "false" }
++#endif
+ };
+ static int    originalArgc;
+diff -urNp -x '*.orig' xdm-1.1.12.org/xdm/session.c xdm-1.1.12/xdm/session.c
+--- xdm-1.1.12.org/xdm/session.c       2019-03-02 22:06:13.000000000 +0000
++++ xdm-1.1.12/xdm/session.c   2022-04-06 18:25:09.812244306 +0000
 @@ -73,6 +73,11 @@ extern int key_setnet(struct key_netstar
  # endif
  #endif /* USE_PAM */
@@ -163,73 +238,3 @@ Index: xdm-1.1.10/configure.ac
      switch (pid = fork ()) {
      case 0:
        CleanUpChild ();
---- xdm-1.1.11.orig/include/dm.h
-+++ xdm-1.1.11/include/dm.h
-@@ -323,6 +323,9 @@ extern char        *randomFile;
- extern char   *prngdSocket;
- extern int    prngdPort;
- # endif
-+#ifdef USE_CONSOLEKIT
-+extern int    use_consolekit;
-+#endif
- extern char   *greeterLib;
- extern char   *willing;
---- xdm-1.1.11.orig/xdm/resource.c
-+++ xdm-1.1.11/xdm/resource.c
-@@ -65,6 +65,9 @@ char *randomDevice;
- char  *prngdSocket;
- int   prngdPort;
- #endif
-+#ifdef USE_CONSOLEKIT
-+int   use_consolekit;
-+#endif
- char  *greeterLib;
- char  *willing;
-@@ -196,6 +199,10 @@ struct dmResources {
-                               "false"} ,
- { "willing",  "Willing",      DM_STRING,      &willing,
-                               ""} ,
-+#ifdef USE_CONSOLEKIT
-+{ "consoleKit",       "ConsoleKit",   DM_BOOL,        (char **) &use_consolekit,
-+                              "true"} ,
-+#endif
- };
- #define NUM_DM_RESOURCES      (sizeof DmResources / sizeof DmResources[0])
-@@ -378,7 +385,11 @@ XrmOptionDescRec optionTable [] = {
- {"-debug",    "*debugLevel",          XrmoptionSepArg,        (caddr_t) NULL },
- {"-xrm",      NULL,                   XrmoptionResArg,        (caddr_t) NULL },
- {"-daemon",   ".daemonMode",          XrmoptionNoArg,         "true"         },
--{"-nodaemon", ".daemonMode",          XrmoptionNoArg,         "false"        }
-+{"-nodaemon", ".daemonMode",          XrmoptionNoArg,         "false"        },
-+#ifdef USE_CONSOLEKIT
-+{"-consolekit",       ".consoleKit",          XrmoptionNoArg,         "true"  },
-+{"-noconsolekit", ".consoleKit",      XrmoptionNoArg,         "false" }
-+#endif
- };
- static int    originalArgc;
---- xdm-1.1.10.orig/man/xdm.man
-+++ xdm-1.1.10/man/xdm.man
-@@ -48,6 +48,8 @@ xdm \- X Display Manager with support fo
- ] [
- .B \-session
- .I session_program
-+] [
-+.B \-noconsolekit
- ]
- .SH DESCRIPTION
- .I Xdm
-@@ -215,6 +217,10 @@ indicates the program to run as the sess
- .IP "\fB\-xrm\fP \fIresource_specification\fP"
- Allows an arbitrary resource to be specified, as in most
- X Toolkit applications.
-+.IP "\fB\-noconsolekit\fP"
-+Specifies ``false'' as the value for the \fBDisplayManager.consoleKit\fP
-+resource.
-+This suppresses the session management using ConsoleKit.
- .SH RESOURCES
- At many stages the actions of
- .I xdm
index 7745b7d9732639728e919d1be0a61883c51ec9ad..03361431e0636aec1ae6fc2b3a0e7ad32a39c4a5 100644 (file)
@@ -7,7 +7,7 @@ Summary(ru.UTF-8):      Менеджер дисплея X
 Summary(uk.UTF-8):     Менеджер дисплею X
 Name:          xorg-app-xdm
 Version:       1.1.12
-Release:       1
+Release:       2
 License:       MIT
 Group:         X11/Applications
 Source0:       https://xorg.freedesktop.org/releases/individual/app/xdm-%{version}.tar.bz2
This page took 0.259711 seconds and 4 git commands to generate.