Source-Changes-HG archive

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

[xsrc/xorg]: xsrc/external/mit/xhost/dist initial import of xhost-1.0.8



details:   https://anonhg.NetBSD.org/xsrc/rev/2f3c6098d25c
branches:  xorg
changeset: 10132:2f3c6098d25c
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Mar 03 09:11:42 2019 +0000

description:
initial import of xhost-1.0.8

diffstat:

 external/mit/xhost/dist/ChangeLog       |    93 +
 external/mit/xhost/dist/Makefile.am     |     2 +-
 external/mit/xhost/dist/Makefile.in     |     7 +-
 external/mit/xhost/dist/README.md       |    18 +
 external/mit/xhost/dist/aclocal.m4      |  2561 ++++++++++++++++--------------
 external/mit/xhost/dist/config.guess    |   679 ++++---
 external/mit/xhost/dist/config.h.in     |     3 +
 external/mit/xhost/dist/config.sub      |   304 +-
 external/mit/xhost/dist/configure       |   113 +-
 external/mit/xhost/dist/configure.ac    |     7 +-
 external/mit/xhost/dist/man/Makefile.in |     2 +
 external/mit/xhost/dist/xhost.c         |    34 +-
 12 files changed, 2088 insertions(+), 1735 deletions(-)

diffs (truncated from 5655 to 300 lines):

diff -r c28d5a23172c -r 2f3c6098d25c external/mit/xhost/dist/ChangeLog
--- a/external/mit/xhost/dist/ChangeLog Sun Mar 03 08:35:10 2019 +0000
+++ b/external/mit/xhost/dist/ChangeLog Sun Mar 03 09:11:42 2019 +0000
@@ -1,3 +1,96 @@
+commit 997135c6e37faa50f8b42a5f95c0cc8461ed6be9
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Tue Feb 19 14:50:20 2019 -0800
+
+    xhost 1.0.8
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 0ef87307f77e7e3df04b227046904cecbe6dd3f6
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Wed Nov 21 17:06:21 2018 -0800
+
+    Update configure.ac bug URL for gitlab migration
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 136e3be46cbd93a490483126b837f67c391129a1
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Fri Nov 16 22:15:54 2018 -0800
+
+    Update README for gitlab migration
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 317312bd23cf5c524932c6f12319ed3eed68d981
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Mon Nov 12 14:05:52 2018 -0800
+
+    Drop ancient workarounds for Cray that are no longer needed
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 62bfa9d421138ec538682eb0323fa9f438d6b2c7
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Mon Nov 12 13:27:55 2018 -0800
+
+    Prefer inet_aton, if available, over inet_addr
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 0c3627bc7dac395c6af8bd1fb747ef3556e95fb4
+Author: Tobias Stoeckmann <tobias%stoeckmann.org@localhost>
+Date:   Wed Jul 4 16:20:06 2018 +0200
+
+    Prevent OOB access on illegal server response.
+    
+    While parsing Xorg responses it is possible to trigger an out of
+    boundary read if the response does not contain enough bytes.
+    
+    In case of IPv4, the padding normally prevents this, but IPv6
+    addresses can trigger an out of boundary read.
+    
+    It takes a hostile xorg-server to reproduce this issue. If
+    os/access.c is adjusted to always use a length of 1, it is possible
+    to reproduce it and make it visible with an ASAN-compiled xhost.
+    
+    Reading past the memory boundary could reveal sensitive information
+    to external DNS servers, because a lookup will be performed.
+    
+    Signed-off-by: Tobias Stoeckmann <tobias%stoeckmann.org@localhost>
+    Reviewed-by: Matthieu Herrb <matthieu%herrb.eu@localhost>
+
+commit 28015d91e284ee4b797a6e99ec16d53147c0ddb6
+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 3ee80cd398579c0f182ff7131ebfe7b65efed72b
+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 991e4a8a26e9c03faa291b522067443a8d05af7a
+Author: Jon TURNEY <jon.turney%dronecode.org.uk@localhost>
+Date:   Sun Sep 14 18:13:28 2014 +0100
+
+    Move sethostent()/gethostent() stubs used in Windows builds to avoid implicit-function-declaration warnings
+    
+    Signed-off-by: Jon TURNEY <jon.turney%dronecode.org.uk@localhost>
+    Reviewed-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+    Reviewed-by: David Macek <david.macek.0%gmail.com@localhost>
+
 commit 06d71376aa43f9177ec1e37ed1e4d0faca655cff
 Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
 Date:   Thu Apr 16 23:28:02 2015 -0700
diff -r c28d5a23172c -r 2f3c6098d25c external/mit/xhost/dist/Makefile.am
--- a/external/mit/xhost/dist/Makefile.am       Sun Mar 03 08:35:10 2019 +0000
+++ b/external/mit/xhost/dist/Makefile.am       Sun Mar 03 09:11:42 2019 +0000
@@ -18,4 +18,4 @@
 
 dist-hook: ChangeLog INSTALL
 
-
+EXTRA_DIST = README.md
diff -r c28d5a23172c -r 2f3c6098d25c external/mit/xhost/dist/Makefile.in
--- a/external/mit/xhost/dist/Makefile.in       Sun Mar 03 08:35:10 2019 +0000
+++ b/external/mit/xhost/dist/Makefile.in       Sun Mar 03 09:11:42 2019 +0000
@@ -182,8 +182,8 @@
 CSCOPE = cscope
 DIST_SUBDIRS = $(SUBDIRS)
 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in AUTHORS \
-       COPYING ChangeLog INSTALL README compile config.guess \
-       config.sub depcomp install-sh missing
+       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)
@@ -285,6 +285,8 @@
 PACKAGE_VERSION = @PACKAGE_VERSION@
 PATH_SEPARATOR = @PATH_SEPARATOR@
 PKG_CONFIG = @PKG_CONFIG@
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
 SED = @SED@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
@@ -351,6 +353,7 @@
 AM_CFLAGS = $(CWARNFLAGS) $(XHOST_CFLAGS) $(XAU_CFLAGS)
 xhost_LDADD = $(XHOST_LIBS)
 MAINTAINERCLEANFILES = ChangeLog INSTALL
+EXTRA_DIST = README.md
 all: config.h
        $(MAKE) $(AM_MAKEFLAGS) all-recursive
 
diff -r c28d5a23172c -r 2f3c6098d25c external/mit/xhost/dist/README.md
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/xhost/dist/README.md Sun Mar 03 09:11:42 2019 +0000
@@ -0,0 +1,18 @@
+xhost is used to manage the list of host names or user names
+allowed to make connections to the X server.
+
+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/xhost
+
+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 c28d5a23172c -r 2f3c6098d25c external/mit/xhost/dist/aclocal.m4
--- a/external/mit/xhost/dist/aclocal.m4        Sun Mar 03 08:35:10 2019 +0000
+++ b/external/mit/xhost/dist/aclocal.m4        Sun Mar 03 09:11:42 2019 +0000
@@ -20,1165 +20,71 @@
 If you have problems, you may need to regenerate the build system entirely.
 To do so, use the procedure documented by the package, typically 'autoreconf'.])])
 
-# Copyright (C) 2002-2014 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# AM_AUTOMAKE_VERSION(VERSION)
-# ----------------------------
-# Automake X.Y traces this macro to ensure aclocal.m4 has been
-# generated from the m4 files accompanying Automake X.Y.
-# (This private macro should not be called outside this file.)
-AC_DEFUN([AM_AUTOMAKE_VERSION],
-[am__api_version='1.15'
-dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
-dnl require some minimum version.  Point them to the right macro.
-m4_if([$1], [1.15], [],
-      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
-])
-
-# _AM_AUTOCONF_VERSION(VERSION)
-# -----------------------------
-# aclocal traces this macro to find the Autoconf version.
-# This is a private macro too.  Using m4_define simplifies
-# the logic in aclocal, which can simply ignore this definition.
-m4_define([_AM_AUTOCONF_VERSION], [])
-
-# AM_SET_CURRENT_AUTOMAKE_VERSION
-# -------------------------------
-# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
-# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
-AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-[AM_AUTOMAKE_VERSION([1.15])dnl
-m4_ifndef([AC_AUTOCONF_VERSION],
-  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
-_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
-
-# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
-
-# Copyright (C) 2001-2014 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
-# $ac_aux_dir to '$srcdir/foo'.  In other projects, it is set to
-# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
-#
-# Of course, Automake must honor this variable whenever it calls a
-# tool from the auxiliary directory.  The problem is that $srcdir (and
-# therefore $ac_aux_dir as well) can be either absolute or relative,
-# depending on how configure is run.  This is pretty annoying, since
-# it makes $ac_aux_dir quite unusable in subdirectories: in the top
-# source directory, any form will work fine, but in subdirectories a
-# relative path needs to be adjusted first.
-#
-# $ac_aux_dir/missing
-#    fails when called from a subdirectory if $ac_aux_dir is relative
-# $top_srcdir/$ac_aux_dir/missing
-#    fails if $ac_aux_dir is absolute,
-#    fails when called from a subdirectory in a VPATH build with
-#          a relative $ac_aux_dir
-#
-# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
-# are both prefixed by $srcdir.  In an in-source build this is usually
-# harmless because $srcdir is '.', but things will broke when you
-# start a VPATH build or use an absolute $srcdir.
-#
-# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
-# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
-#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
-# and then we would define $MISSING as
-#   MISSING="\${SHELL} $am_aux_dir/missing"
-# This will work as long as MISSING is not called from configure, because
-# unfortunately $(top_srcdir) has no meaning in configure.
-# However there are other variables, like CC, which are often used in
-# configure, and could therefore not use this "fixed" $ac_aux_dir.
-#
-# Another solution, used here, is to always expand $ac_aux_dir to an
-# absolute PATH.  The drawback is that using absolute paths prevent a
-# configured tree to be moved without reconfiguration.
-
-AC_DEFUN([AM_AUX_DIR_EXPAND],
-[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
-# Expand $ac_aux_dir to an absolute path.
-am_aux_dir=`cd "$ac_aux_dir" && pwd`
-])
-
-# AM_CONDITIONAL                                            -*- Autoconf -*-
-
-# Copyright (C) 1997-2014 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ([2.52])dnl
- m4_if([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
-       [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])dnl
-AC_SUBST([$1_FALSE])dnl
-_AM_SUBST_NOTMAKE([$1_TRUE])dnl
-_AM_SUBST_NOTMAKE([$1_FALSE])dnl
-m4_define([_AM_COND_VALUE_$1], [$2])dnl
-if $2; then
-  $1_TRUE=
-  $1_FALSE='#'
-else
-  $1_TRUE='#'
-  $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
-  AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-# Copyright (C) 1999-2014 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-
-# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's



Home | Main Index | Thread Index | Old Index