Source-Changes-HG archive

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

[xsrc/xorg]: xsrc/external/mit/xinit/dist initial import of xinit-1.4.1



details:   https://anonhg.NetBSD.org/xsrc/rev/fd8fb066a101
branches:  xorg
changeset: 10155:fd8fb066a101
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Mar 03 21:36:26 2019 +0000

description:
initial import of xinit-1.4.1

diffstat:

 external/mit/xinit/dist/ChangeLog      |  64 ++++++++++++++++++++++++++++++++++
 external/mit/xinit/dist/Makefile.am    |   2 +-
 external/mit/xinit/dist/Makefile.in    |   6 +-
 external/mit/xinit/dist/README.md      |  22 +++++++++++
 external/mit/xinit/dist/configure      |  30 +++++++-------
 external/mit/xinit/dist/configure.ac   |   4 +-
 external/mit/xinit/dist/man/startx.man |  20 +++------
 external/mit/xinit/dist/man/xinit.man  |   2 +-
 external/mit/xinit/dist/xinit.c        |   7 ++-
 9 files changed, 119 insertions(+), 38 deletions(-)

diffs (truncated from 340 to 300 lines):

diff -r 8ba528b5b0a4 -r fd8fb066a101 external/mit/xinit/dist/ChangeLog
--- a/external/mit/xinit/dist/ChangeLog Sun Mar 03 21:36:24 2019 +0000
+++ b/external/mit/xinit/dist/ChangeLog Sun Mar 03 21:36:26 2019 +0000
@@ -1,3 +1,67 @@
+commit 9a8b937bcfd84575e13039f316cbcb14c9729df4
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Mar 3 11:56:43 2019 -0800
+
+    xinit 1.4.1
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit b3dc751212e5f2f6b5d263e009cc2b85e56bfdbf
+Author: Tobias Stoeckmann <tobias%stoeckmann.org@localhost>
+Date:   Thu Feb 7 20:54:37 2019 +0100
+
+    Buffer overflow with many arguments.
+    
+    Command line arguments are copied into clientargv and serverargv without
+    verifying that enough space is available. A high amount of arguments can
+    therefore trigger a buffer overflow like this:
+    
+    $ xinit $(seq 1 500)
+    
+    Signed-off-by: Tobias Stoeckmann <tobias%stoeckmann.org@localhost>
+    Reviewed-by: Walter Harms wharms@bfs,de
+
+commit f727023c1a75dcc467dd99a3db69a5834a0718f0
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Wed Nov 21 17:06:34 2018 -0800
+
+    Update configure.ac bug URL for gitlab migration
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit ce311771ca86a4134511aecda5601d7c76d763dd
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Fri Nov 16 22:19:18 2018 -0800
+
+    Update README for gitlab migration
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 752ef176eb99f6315be27f00896b37ce217758b9
+Author: Laurent Bigonville <bigon%bigon.be@localhost>
+Date:   Fri Sep 12 15:35:49 2014 +0200
+
+    Fix some miscellaneous stuffs in the manpages
+    
+    See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=726962
+    https://bugs.freedesktop.org/show_bug.cgi?id=83797
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit aac8e17d28665dd35a73ee188c007f0b0f9cd9fe
+Author: Jon TURNEY <jon.turney%dronecode.org.uk@localhost>
+Date:   Mon Oct 26 13:55:35 2009 +0000
+
+    Make text about supplying X server arguments via startx more generic
+    
+    Make text about supplying X server arguments via startx more generic,
+    rather than assuming the started server will be Xorg, and hence will
+    take Xorg's arguments.
+    
+    Signed-off-by: Jon TURNEY <jon.turney%dronecode.org.uk@localhost>
+    Reviewed-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
 commit 2df7937c6d57a4f44288d13fc50218fe088c4185
 Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
 Date:   Fri Mar 9 17:44:47 2018 -0800
diff -r 8ba528b5b0a4 -r fd8fb066a101 external/mit/xinit/dist/Makefile.am
--- a/external/mit/xinit/dist/Makefile.am       Sun Mar 03 21:36:24 2019 +0000
+++ b/external/mit/xinit/dist/Makefile.am       Sun Mar 03 21:36:26 2019 +0000
@@ -61,7 +61,7 @@
 CLEANFILES = xinitrc startx
 
 EXTRA_DIST = xinitrc.cpp startx.cpp \
-               autogen.sh
+               autogen.sh README.md
 
 .PHONY: ChangeLog INSTALL
 
diff -r 8ba528b5b0a4 -r fd8fb066a101 external/mit/xinit/dist/Makefile.in
--- a/external/mit/xinit/dist/Makefile.in       Sun Mar 03 21:36:24 2019 +0000
+++ b/external/mit/xinit/dist/Makefile.in       Sun Mar 03 21:36:26 2019 +0000
@@ -243,8 +243,8 @@
 CSCOPE = cscope
 DIST_SUBDIRS = man launchd
 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
-       $(top_srcdir)/cpprules.in COPYING ChangeLog INSTALL README \
-       compile config.guess config.sub depcomp install-sh missing
+       $(top_srcdir)/cpprules.in COPYING ChangeLog INSTALL compile \
+       config.guess config.sub depcomp install-sh missing
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 distdir = $(PACKAGE)-$(VERSION)
 top_distdir = $(distdir)
@@ -469,7 +469,7 @@
 MAINTAINERCLEANFILES = ChangeLog INSTALL
 CLEANFILES = xinitrc startx
 EXTRA_DIST = xinitrc.cpp startx.cpp \
-               autogen.sh
+               autogen.sh README.md
 
 all: config.h
        $(MAKE) $(AM_MAKEFLAGS) all-recursive
diff -r 8ba528b5b0a4 -r fd8fb066a101 external/mit/xinit/dist/README.md
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/xinit/dist/README.md Sun Mar 03 21:36:26 2019 +0000
@@ -0,0 +1,22 @@
+The xinit program is used to start the X Window System server and a first
+client program on systems that are not using a display manager such as xdm.
+
+The xinit is not intended for naive users.  Instead, site administrators should
+design user-friendly scripts that present the desired interface when starting
+up X.  The startx script is one such example.
+
+All questions regarding this software should be directed at the
+Xorg mailing list:
+
+  https://lists.x.org/mailman/listinfo/xorg
+
+The master development code repository can be found at:
+
+  https://gitlab.freedesktop.org/xorg/app/xinit
+
+Please submit bug reports and requests to merge patches there.
+
+For patch submission instructions, see:
+
+  https://www.x.org/wiki/Development/Documentation/SubmittingPatches
+
diff -r 8ba528b5b0a4 -r fd8fb066a101 external/mit/xinit/dist/configure
--- a/external/mit/xinit/dist/configure Sun Mar 03 21:36:24 2019 +0000
+++ b/external/mit/xinit/dist/configure Sun Mar 03 21:36:26 2019 +0000
@@ -1,8 +1,8 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for xinit 1.4.0.
+# Generated by GNU Autoconf 2.69 for xinit 1.4.1.
 #
-# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
+# Report bugs to <https://gitlab.freedesktop.org/xorg/app/xinit/issues>.
 #
 #
 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -267,7 +267,7 @@
     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
   else
     $as_echo "$0: Please tell bug-autoconf%gnu.org@localhost and
-$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
+$0: https://gitlab.freedesktop.org/xorg/app/xinit/issues
 $0: about your system, including any error possibly output
 $0: before this message. Then install a modern shell, or
 $0: manually run the script under such a shell if you do
@@ -581,9 +581,9 @@
 # Identity of this package.
 PACKAGE_NAME='xinit'
 PACKAGE_TARNAME='xinit'
-PACKAGE_VERSION='1.4.0'
-PACKAGE_STRING='xinit 1.4.0'
-PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
+PACKAGE_VERSION='1.4.1'
+PACKAGE_STRING='xinit 1.4.1'
+PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xinit/issues'
 PACKAGE_URL=''
 
 ac_unique_file="Makefile.am"
@@ -1352,7 +1352,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures xinit 1.4.0 to adapt to many kinds of systems.
+\`configure' configures xinit 1.4.1 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1422,7 +1422,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of xinit 1.4.0:";;
+     short | recursive ) echo "Configuration of xinit 1.4.1:";;
    esac
   cat <<\_ACEOF
 
@@ -1494,7 +1494,7 @@
 Use these variables to override the choices made by `configure' or to help
 it to find libraries and programs with nonstandard names/locations.
 
-Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
+Report bugs to <https://gitlab.freedesktop.org/xorg/app/xinit/issues>.
 _ACEOF
 ac_status=$?
 fi
@@ -1557,7 +1557,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-xinit configure 1.4.0
+xinit configure 1.4.1
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1881,7 +1881,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by xinit $as_me 1.4.0, which was
+It was created by xinit $as_me 1.4.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2749,7 +2749,7 @@
 
 # Define the identity of the package.
  PACKAGE='xinit'
- VERSION='1.4.0'
+ VERSION='1.4.1'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -11873,7 +11873,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by xinit $as_me 1.4.0, which was
+This file was extended by xinit $as_me 1.4.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -11933,13 +11933,13 @@
 Configuration commands:
 $config_commands
 
-Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
+Report bugs to <https://gitlab.freedesktop.org/xorg/app/xinit/issues>."
 
 _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-xinit config.status 1.4.0
+xinit config.status 1.4.1
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -r 8ba528b5b0a4 -r fd8fb066a101 external/mit/xinit/dist/configure.ac
--- a/external/mit/xinit/dist/configure.ac      Sun Mar 03 21:36:24 2019 +0000
+++ b/external/mit/xinit/dist/configure.ac      Sun Mar 03 21:36:26 2019 +0000
@@ -22,8 +22,8 @@
 
 # Initialize Autoconf
 AC_PREREQ([2.60])
-AC_INIT([xinit], [1.4.0],
-        [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [xinit])
+AC_INIT([xinit], [1.4.1],
+        [https://gitlab.freedesktop.org/xorg/app/xinit/issues], [xinit])
 AC_CONFIG_SRCDIR([Makefile.am])
 AC_CONFIG_HEADERS([config.h])
 
diff -r 8ba528b5b0a4 -r fd8fb066a101 external/mit/xinit/dist/man/startx.man
--- a/external/mit/xinit/dist/man/startx.man    Sun Mar 03 21:36:24 2019 +0000
+++ b/external/mit/xinit/dist/man/startx.man    Sun Mar 03 21:36:26 2019 +0000
@@ -54,25 +54,19 @@
 command are used to start a client in the same manner as
 .BR xinit (__appmansuffix__).
 The special argument
-.RB '--'
+.RB '\-\^\-'
 marks the end of client arguments and the beginning of server options.
-It may be convenient to specify server options with startx to change on a
-per-session basis the
-default color depth, the server's notion of the number of dots-per-inch the
-display device presents, or take advantage of a different server layout, as
-permitted by the
-.BR __XSERVERNAME__ (__appmansuffix__)
-server and specified in the
-.BR __XCONFIGFILEMAN__
-configuration.  Some examples of specifying server arguments follow; consult
+It may be convenient to specify server options with startx to change them on a
+per-session basis.
+Some examples of specifying server arguments follow; consult
 the manual page for your X server to determine which arguments are legal.
 .RS
 .PP
-startx -- -depth 16
+startx \-\^\- \-depth 16
 .PP
-startx -- -dpi 100
+startx \-\^\- \-dpi 100
 .PP
-startx -- -layout Multihead
+startx \-\^\- \-layout Multihead
 .RE
 .PP
 To determine the client to run,
diff -r 8ba528b5b0a4 -r fd8fb066a101 external/mit/xinit/dist/man/xinit.man
--- a/external/mit/xinit/dist/man/xinit.man     Sun Mar 03 21:36:24 2019 +0000
+++ b/external/mit/xinit/dist/man/xinit.man     Sun Mar 03 21:36:26 2019 +0000



Home | Main Index | Thread Index | Old Index