Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[xsrc/xorg]: xsrc/external/mit/xdm/dist initial import of xdm-1.1.12



details:   https://anonhg.NetBSD.org/xsrc/rev/389fd36eb998
branches:  xorg
changeset: 10176:389fd36eb998
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Mar 05 08:26:47 2019 +0000

description:
initial import of xdm-1.1.12

diffstat:

 external/mit/xdm/dist/ChangeLog                |    763 +-
 external/mit/xdm/dist/INSTALL                  |    119 +-
 external/mit/xdm/dist/Makefile.am              |     11 +-
 external/mit/xdm/dist/Makefile.in              |    450 +-
 external/mit/xdm/dist/README.md                |     57 +
 external/mit/xdm/dist/aclocal.m4               |  11365 +++-------------------
 external/mit/xdm/dist/app-defaults/Makefile.in |    165 +-
 external/mit/xdm/dist/chooser/Makefile.in      |    264 +-
 external/mit/xdm/dist/chooser/chooser.c        |    235 +-
 external/mit/xdm/dist/compile                  |    232 +-
 external/mit/xdm/dist/config.guess             |   1069 +-
 external/mit/xdm/dist/config.h.in              |     18 +-
 external/mit/xdm/dist/config.sub               |    570 +-
 external/mit/xdm/dist/config/Makefile.am       |     68 +-
 external/mit/xdm/dist/config/Makefile.in       |    282 +-
 external/mit/xdm/dist/config/TakeConsole       |      2 +-
 external/mit/xdm/dist/config/Xreset.in         |      5 +
 external/mit/xdm/dist/config/Xresources.in     |     81 +
 external/mit/xdm/dist/config/Xservers.ws.in    |     12 +
 external/mit/xdm/dist/config/Xsession.in       |     66 +
 external/mit/xdm/dist/config/Xstartup.in       |      5 +
 external/mit/xdm/dist/config/xdm-config.in     |     33 +
 external/mit/xdm/dist/configure                |   9393 ++++++++++++++++--
 external/mit/xdm/dist/configure.ac             |     84 +-
 external/mit/xdm/dist/depcomp                  |    527 +-
 external/mit/xdm/dist/greeter/Login.c          |     30 +-
 external/mit/xdm/dist/greeter/Login.h          |      1 +
 external/mit/xdm/dist/greeter/LoginP.h         |      2 +
 external/mit/xdm/dist/greeter/Makefile.am      |      2 +-
 external/mit/xdm/dist/greeter/Makefile.in      |    279 +-
 external/mit/xdm/dist/greeter/greet.c          |      6 +-
 external/mit/xdm/dist/greeter/verify.c         |    111 +-
 external/mit/xdm/dist/include/Makefile.in      |    209 +-
 external/mit/xdm/dist/include/dm.h             |     45 +-
 external/mit/xdm/dist/include/dm_error.h       |      2 +-
 external/mit/xdm/dist/include/dm_socket.h      |      4 +
 external/mit/xdm/dist/include/greet.h          |      8 +-
 external/mit/xdm/dist/install-sh               |    373 +-
 external/mit/xdm/dist/ltmain.sh                |   5873 +++++++----
 external/mit/xdm/dist/m4/libtool.m4            |   4236 +++++---
 external/mit/xdm/dist/m4/ltoptions.m4          |    147 +-
 external/mit/xdm/dist/m4/ltsugar.m4            |      7 +-
 external/mit/xdm/dist/m4/ltversion.m4          |     14 +-
 external/mit/xdm/dist/m4/lt~obsolete.m4        |     17 +-
 external/mit/xdm/dist/man/Makefile.am          |     20 +-
 external/mit/xdm/dist/man/Makefile.in          |    217 +-
 external/mit/xdm/dist/man/xdm.man              |    382 +-
 external/mit/xdm/dist/man/xdmshell.man         |      6 +-
 external/mit/xdm/dist/missing                  |    443 +-
 external/mit/xdm/dist/xdm.service.in           |      2 +
 external/mit/xdm/dist/xdm/Makefile.am          |      5 +-
 external/mit/xdm/dist/xdm/Makefile.in          |    287 +-
 external/mit/xdm/dist/xdm/access.c             |     66 +-
 external/mit/xdm/dist/xdm/auth.c               |    305 +-
 external/mit/xdm/dist/xdm/choose.c             |     90 +-
 external/mit/xdm/dist/xdm/dm.c                 |    150 +-
 external/mit/xdm/dist/xdm/file.c               |      2 +-
 external/mit/xdm/dist/xdm/genauth.c            |     17 +-
 external/mit/xdm/dist/xdm/netaddr.c            |     80 +-
 external/mit/xdm/dist/xdm/policy.c             |      3 -
 external/mit/xdm/dist/xdm/prngc.c              |     12 +-
 external/mit/xdm/dist/xdm/protodpy.c           |     13 +-
 external/mit/xdm/dist/xdm/reset.c              |      3 +-
 external/mit/xdm/dist/xdm/resource.c           |     37 +-
 external/mit/xdm/dist/xdm/server.c             |     46 +-
 external/mit/xdm/dist/xdm/session.c            |    116 +-
 external/mit/xdm/dist/xdm/socket.c             |     82 +-
 external/mit/xdm/dist/xdm/util.c               |     16 +-
 external/mit/xdm/dist/xdm/xdmauth.c            |      6 +-
 external/mit/xdm/dist/xdm/xdmcp.c              |    142 +-
 external/mit/xdm/dist/xdmshell/Makefile.in     |    265 +-
 71 files changed, 21496 insertions(+), 18559 deletions(-)

diffs (truncated from 57019 to 300 lines):

diff -r b24c5ed047a3 -r 389fd36eb998 external/mit/xdm/dist/ChangeLog
--- a/external/mit/xdm/dist/ChangeLog   Tue Mar 05 06:02:50 2019 +0000
+++ b/external/mit/xdm/dist/ChangeLog   Tue Mar 05 08:26:47 2019 +0000
@@ -1,3 +1,754 @@
+commit a03a628e2adeac10aa0fc494a5f04f25e3b31d7e
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat Mar 2 14:02:19 2019 -0800
+
+    xdm 1.1.12
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 5f941a815b7bad49a766987660094b01046c8e7d
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Mon Feb 25 14:22:27 2019 -0800
+
+    Use sed instead of the C pre-processor to generate config files
+    
+    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=93359
+    while avoiding https://bugs.freedesktop.org/show_bug.cgi?id=107368
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit dd7402c2f1e828cc3b0fae036b62f74b8014814b
+Author: David Carlier <devnexen%gmail.com@localhost>
+Date:   Wed May 4 17:46:15 2016 +0100
+
+    fix length format in StartClient() debug message
+    
+    changing the printf-like format as strlen returns an unsigned type
+    
+    Reviewed-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 42ae3d66283a9efa0c510d5d438f821549656fe6
+Author: David Carlier <devnexen%gmail.com@localhost>
+Date:   Wed May 4 17:46:15 2016 +0100
+
+    fix memory leak in StorePid()
+    
+    Reviewed-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 7a56946260616f7f5ff43ecbaac1f2ada9b0afcd
+Author: Chí-Thanh Christopher Nguy�n <chithanh%gentoo.org@localhost>
+Date:   Mon Jan 6 15:52:47 2014 +0000
+
+    xdm uses setproctitle without proper includes for Linux libbsd
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 786b2c7ed39fb0cdd4c34e51f5c58f980087dcc1
+Author: Chí-Thanh Christopher Nguy�n <chithanh%gentoo.org@localhost>
+Date:   Mon Jan 6 15:52:00 2014 +0000
+
+    xdm uses arc4random without proper includes for Linux libbsd
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 16d74befa4430eb024d81ee4070520afff697d60
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Wed Nov 21 17:01:20 2018 -0800
+
+    Update configure.ac bug URL for gitlab migration
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit a7623a6555689cb3d1acfc66c0562985b106a85b
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Fri Nov 16 21:30:06 2018 -0800
+
+    Update README for gitlab migration
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 768a8c524642955527066ba90be6ffd511e30ed5
+Author: Björn Esser <besser82%fedoraproject.org@localhost>
+Date:   Thu Aug 16 15:42:34 2018 -0400
+
+    glibc: Include <crypt.h> if needed, fix build with 2.28
+    
+    Signed-off-by: Adam Jackson <ajax%redhat.com@localhost>
+
+commit b6853380678b793bad81ac09b2f872f8225ccec6
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat May 5 12:28:27 2018 -0700
+
+    Add missing brackets to multi-statement if in SaveServerAuthorizations
+    
+    Introduced by commit 5222d28e8d8e5b4cc
+    
+    Reported by gcc 7.3:
+    
+    auth.c: In function â??SaveServerAuthorizationsâ??:
+    auth.c:447:6: warning: this â??ifâ?? clause does not guard... [-Wmisleading-indentation]
+          if (auths[i]->data_length > 0)
+          ^~
+    auth.c:452:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the â??ifâ??
+       (void) fflush (auth_file);
+       ^
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+    Reviewed-by: Matthieu Herrb <matthieu%herrb.eu@localhost>
+
+commit 50bd014ad8ed0b0af1e9e8130779acd0473a6899
+Author: Matthieu Herrb <matthieu%herrb.eu@localhost>
+Date:   Sun Oct 1 09:43:53 2017 +0200
+
+    chown before chmod
+    
+    This prevents a malicious user logging out from calling
+    chmod while still owning /dev/console and thus by-passing
+    the '622' mode that is set here.
+    
+    Issue reported by Tim Chase. Thanks.
+    
+    Reviewed-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 4743378ccf1defe5984ad71797283b98029aa920
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Mon Jan 16 16:21:37 2017 -0800
+
+    Install xdm man pages under admin section (8), not user programs (1)
+    
+    As best I can tell, it was historically under section 1 mainly because
+    the old X Consortium Imake configs only supported installing program
+    man pages there, and didn't have an option for using other sections.
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+    Reviewed-by: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+
+commit 53a781392bdd785db8a12572a7323de35a16d896
+Author: Mihail Konev <k.mvc%ya.ru@localhost>
+Date:   Thu Jan 26 14:00:21 2017 +1000
+
+    autogen: add default patch prefix
+    
+    Signed-off-by: Mihail Konev <k.mvc%ya.ru@localhost>
+
+commit 6004d4b43e76522528cb93f56b38f4f5130d4e1f
+Author: Emil Velikov <emil.l.velikov%gmail.com@localhost>
+Date:   Mon Mar 9 12:00:52 2015 +0000
+
+    autogen.sh: use quoted string variables
+    
+    Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent
+    fall-outs, when they contain space.
+    
+    Signed-off-by: Emil Velikov <emil.l.velikov%gmail.com@localhost>
+    Reviewed-by: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+    Signed-off-by: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+
+commit 62e239d1ea3294239830f39ac8e4d21b6b17ec8d
+Author: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+Date:   Tue Jan 24 10:32:07 2017 +1000
+
+    autogen.sh: use exec instead of waiting for configure to finish
+    
+    Syncs the invocation of configure with the one from the server.
+    
+    Signed-off-by: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+    Reviewed-by: Emil Velikov <emil.velikov%collabora.com@localhost>
+
+commit 02c5858734585795f53b90a245afafb3c606c5ce
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Thu Jan 28 09:02:06 2016 -0800
+
+    Remove non-existent cpp resource from man page
+    
+    From what I can see in the ancient X Consortium archives, the cpp
+    resource was added in X11R4 and documented but never actually used,
+    and removed in X11R5 without remembering to remove it from the man page.
+    
+    Reported-by: John Smith <wempwer%gmail.com@localhost>
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+    Reviewed-by: Matthieu Herrb <matthieu%herrb.eu@localhost>
+    Signed-off-by: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+
+commit 994d32ad92e12aa381f222db68db9997a602197e
+Author: Matthieu Herrb <matthieu%herrb.eu@localhost>
+Date:   Tue Jan 5 21:31:12 2016 +0100
+
+    Missed on arc4random() conversion.
+    
+    Signed-off-by: Matthieu Herrb <matthieu%herrb.eu@localhost>
+    Reviewed-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 5defb9365b7bfb758024ed203b30ee245285b77f
+Author: Matthieu Herrb <matthieu%herrb.eu@localhost>
+Date:   Mon Oct 26 17:09:53 2015 +0100
+
+    Unifdef X_NO_SYS_UN
+    
+    Nothing has set that since the modularization
+    
+    Signed-off-by: Matthieu Herrb <matthieu%herrb.eu@localhost>
+    Reviewed-by: Adam Jackson <ajax%redhat.com@localhost>
+    Reviewed-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 720378013765a5bad7bddbb775aa6845c6d9c4af
+Author: Matthieu Herrb <matthieu%herrb.eu@localhost>
+Date:   Mon Oct 26 16:59:09 2015 +0100
+
+    Remove AIXV3, SCO, Unixware, OS/2 support
+    
+    Signed-off-by: Matthieu Herrb <matthieu%herrb.eu@localhost>
+    Reviewed-by: Adam Jackson <ajax%redhat.com@localhost>
+    Reviewed-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 82298bc7aa1b1715adce9de1cf61c6335bc659d8
+Author: Matthieu Herrb <matthieu%herrb.eu@localhost>
+Date:   Tue Dec 1 19:15:50 2015 +0100
+
+    Remove #if 0'd code
+    
+    Signed-off-by: Matthieu Herrb <matthieu%herrb.eu@localhost>
+    Reviewed-by: Adam Jackson <ajax%redhat.com@localhost>
+    Reviewed-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit c0c3ad0cc5a6e5cf528245fb7f4e47b91163333c
+Author: Jeremy Huddleston Sequoia <jeremyhu%apple.com@localhost>
+Date:   Sun Oct 18 22:35:00 2015 -0700
+
+    Fixup various format warnings in PrintProtoDisplay
+    
+    protodpy.c:52:35: warning: format specifies type 'unsigned int' but the argument has type 'struct protoDisplay *' [-Wformat]
+        Debug ("ProtoDisplay 0x%x\n", pdpy);
+                               ~~     ^~~~
+    protodpy.c:54:20: warning: incompatible pointer types passing 'XdmcpNetaddr' (aka 'char *') to parameter of type 'struct sockaddr *'
+          [-Wincompatible-pointer-types]
+        PrintSockAddr (pdpy->address, pdpy->addrlen);
+                       ^~~~~~~~~~~~~
+    ../include/dm_socket.h:46:45: note: passing argument to parameter 'a' here
+    extern void PrintSockAddr (struct sockaddr *a, int len);
+                                                ^
+    protodpy.c:55:41: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
+        Debug ("\tdate %d (%d from now)\n", pdpy->date, time(0) - pdpy->date);
+                       ~~                   ^~~~~~~~~~
+                       %lu
+    protodpy.c:55:53: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
+        Debug ("\tdate %d (%d from now)\n", pdpy->date, time(0) - pdpy->date);
+                           ~~                           ^~~~~~~~~~~~~~~~~~~~
+                           %lu
+    protodpy.c:57:32: warning: format specifies type 'int' but the argument has type 'CARD32' (aka 'unsigned long') [-Wformat]
+        Debug ("\tsessionID %d\n", pdpy->sessionID);
+                            ~~     ^~~~~~~~~~~~~~~
+                            %lu
+    
+    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu%apple.com@localhost>
+
+commit d5aa455a2575fca74219bb567ae4cb8c63a8401d
+Author: Jeremy Huddleston Sequoia <jeremyhu%apple.com@localhost>
+Date:   Sun Oct 18 22:21:05 2015 -0700
+
+    Silence -Wmissing-noreturn warnings
+    
+    choose.c:463:1: warning: function 'RunChooser' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
+    chooser.c:1062:1: warning: function 'DoCancel' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
+    reset.c:81:1: warning: function 'abortReset' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
+    server.c:154:1: warning: function 'serverPauseAbort' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
+    server.c:161:1: warning: function 'serverPauseUsr1' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
+    server.c:236:1: warning: function 'abortOpen' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
+    server.c:329:1: warning: function 'PingLost' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
+    server.c:348:1: warning: function 'PingLostSig' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
+    session.c:231:1: warning: function 'catchTerm' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
+    session.c:293:1: warning: function 'SessionPingFailed' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
+    session.c:240:1: warning: function 'catchAlrm' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
+    session.c:249:1: warning: function 'waitAbort' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
+    session.c:330:1: warning: function 'ManageSession' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
+    session.c:471:1: warning: function 'syncTimeout' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
+    session.c:519:1: warning: function 'SessionExit' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
+    
+    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu%apple.com@localhost>
+
+commit 6cc5153d77f9f48b8dd16e17e48eac4d6ef13929
+Author: Jeremy Huddleston Sequoia <jeremyhu%apple.com@localhost>
+Date:   Sun Oct 18 22:13:31 2015 -0700
+
+    Add missing prototype for PrintSockAddr
+    
+    protodpy.c:53:5: error: implicit declaration of function 'PrintSockAddr' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
+        PrintSockAddr (pdpy->address, pdpy->addrlen);
+        ^
+    
+    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu%apple.com@localhost>
+
+commit 68de911889c66133cc6e2f5c64b18a02e84de500
+Author: Jeremy Huddleston Sequoia <jeremyhu%apple.com@localhost>
+Date:   Sun Oct 18 22:12:14 2015 -0700
+
+    Add missing return type (void) for PrintProtoDisplay
+    
+    protodpy.c:49:1: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
+    PrintProtoDisplay (struct protoDisplay *pdpy)
+    ^
+    
+    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu%apple.com@localhost>
+
+commit 0d8bb02d5ab7af1dc505987c9468c11caf3b889d
+Author: Jeremy Huddleston Sequoia <jeremyhu%apple.com@localhost>



Home | Main Index | Thread Index | Old Index