Source-Changes-HG archive

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

[xsrc/trunk]: xsrc/external/mit/libXau/dist initial import of libXau-1.0.9



details:   https://anonhg.NetBSD.org/xsrc/rev/3647bd465926
branches:  trunk
changeset: 10109:3647bd465926
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Mar 03 07:03:33 2019 +0000

description:
initial import of libXau-1.0.9

diffstat:

 external/mit/libXau/dist/AuDispose.c     |     6 +-
 external/mit/libXau/dist/AuRead.c        |    18 +-
 external/mit/libXau/dist/ChangeLog       |   132 +
 external/mit/libXau/dist/INSTALL         |   119 +-
 external/mit/libXau/dist/Makefile.in     |    57 +-
 external/mit/libXau/dist/aclocal.m4      |  5274 +++++++++++++++-----------
 external/mit/libXau/dist/compile         |   347 +
 external/mit/libXau/dist/config.guess    |   892 ++--
 external/mit/libXau/dist/config.h.in     |     3 +-
 external/mit/libXau/dist/config.sub      |   345 +-
 external/mit/libXau/dist/configure       |  3562 ++++++++++-------
 external/mit/libXau/dist/configure.ac    |     4 +-
 external/mit/libXau/dist/depcomp         |     5 +-
 external/mit/libXau/dist/install-sh      |   354 +-
 external/mit/libXau/dist/ltmain.sh       |  5812 ++++++++++++++++++-----------
 external/mit/libXau/dist/man/Makefile.in |    25 +-
 external/mit/libXau/dist/missing         |     6 +-
 external/mit/libXau/dist/test-driver     |    35 +-
 18 files changed, 10172 insertions(+), 6824 deletions(-)

diffs (truncated from 29695 to 300 lines):

diff -r 4613b9efb77a -r 3647bd465926 external/mit/libXau/dist/AuDispose.c
--- a/external/mit/libXau/dist/AuDispose.c      Fri Mar 01 02:22:27 2019 +0000
+++ b/external/mit/libXau/dist/AuDispose.c      Sun Mar 03 07:03:33 2019 +0000
@@ -34,9 +34,9 @@
 XauDisposeAuth (Xauth *auth)
 {
     if (auth) {
-       if (auth->address) (void) free (auth->address);
-       if (auth->number) (void) free (auth->number);
-       if (auth->name) (void) free (auth->name);
+       free (auth->address);
+       free (auth->number);
+       free (auth->name);
        if (auth->data) {
            (void) bzero (auth->data, auth->data_length);
            (void) free (auth->data);
diff -r 4613b9efb77a -r 3647bd465926 external/mit/libXau/dist/AuRead.c
--- a/external/mit/libXau/dist/AuRead.c Fri Mar 01 02:22:27 2019 +0000
+++ b/external/mit/libXau/dist/AuRead.c Sun Mar 03 07:03:33 2019 +0000
@@ -77,25 +77,25 @@
     if (read_counted_string (&local.address_length, &local.address, auth_file) == 0)
        return NULL;
     if (read_counted_string (&local.number_length, &local.number, auth_file) == 0) {
-       if (local.address) free (local.address);
+       free (local.address);
        return NULL;
     }
     if (read_counted_string (&local.name_length, &local.name, auth_file) == 0) {
-       if (local.address) free (local.address);
-       if (local.number) free (local.number);
+       free (local.address);
+       free (local.number);
        return NULL;
     }
     if (read_counted_string (&local.data_length, &local.data, auth_file) == 0) {
-       if (local.address) free (local.address);
-       if (local.number) free (local.number);
-       if (local.name) free (local.name);
+       free (local.address);
+       free (local.number);
+       free (local.name);
        return NULL;
     }
     ret = (Xauth *) malloc (sizeof (Xauth));
     if (!ret) {
-       if (local.address) free (local.address);
-       if (local.number) free (local.number);
-       if (local.name) free (local.name);
+       free (local.address);
+       free (local.number);
+       free (local.name);
        if (local.data) {
            bzero (local.data, local.data_length);
            free (local.data);
diff -r 4613b9efb77a -r 3647bd465926 external/mit/libXau/dist/ChangeLog
--- a/external/mit/libXau/dist/ChangeLog        Fri Mar 01 02:22:27 2019 +0000
+++ b/external/mit/libXau/dist/ChangeLog        Sun Mar 03 07:03:33 2019 +0000
@@ -1,3 +1,135 @@
+commit d9443b2c57b512cfb250b35707378654d86c7dea
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Feb 10 14:42:30 2019 -0800
+
+    libXau 1.0.9
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 6f0b6fcf699592d9ed284356571a2f4681726ac5
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Fri Dec 7 19:38:53 2018 -0800
+
+    Update configure.ac bug URL for gitlab migration
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 7ba7085b4f01f3cd72008712a5333ea3f0edfd88
+Author: walter harms <wharms%bfs.de@localhost>
+Date:   Sat Oct 28 19:14:22 2017 +0200
+
+    AuRead.c: remove redundant null check on calling free()
+    
+    this removes simply unneeded code from XauReadAuth
+    
+    Signed-off-by: Walter Harms <wharms%bfs.de@localhost>
+    Reviewed-by: Daniel Martin <consume.noise%gmail.com@localhost>
+    Reviewed-by: Emil Velikov <emil.velikov%collabora.com@localhost>
+
+commit cf6cc845ba12dbfa7d29a4eab810888838a9749b
+Author: walter harms <wharms%bfs.de@localhost>
+Date:   Sat Oct 28 19:14:26 2017 +0200
+
+    Au FileName.c: remove redundant null check on calling free()
+    
+    remove redundant null check on calling free()
+    Signed-off-by: Walter Harms <wharms%bfs.de@localhost>
+    Reviewed-by: Daniel Martin <consume.noise%gmail.com@localhost>
+    Reviewed-by: Emil Velikov <emil.velikov%collabora.com@localhost>
+
+commit fdbb21274a4e8af419b2581e05242f5058471f72
+Author: walter harms <wharms%bfs.de@localhost>
+Date:   Sat Oct 28 19:14:13 2017 +0200
+
+    AuDispose.c:remove redundant null check on calling free()
+    
+    redundant null check on auth->address calling free()
+    redundant null check on auth->number calling free()
+    redundant null check on auth->name calling free()
+    
+    Signed-off-by: Walter Harms <wharms%bfs.de@localhost>
+    Reviewed-by: Daniel Martin <consume.noise%gmail.com@localhost>
+    Reviewed-by: Emil Velikov <emil.velikov%collabora.com@localhost>
+
+commit 987fee49dc1750082cfe6e24833379233777a13b
+Author: Tobias Stoeckmann <tobias%stoeckmann.org@localhost>
+Date:   Thu Oct 19 22:18:18 2017 +0200
+
+    Avoid out of boundary read access
+    
+    If the environment variable HOME is empty, XauFileName triggers an
+    out of boundary read access (name[1]). If HOME consists of a single
+    character relative path, the output becomes unexpected, because
+    "HOME=a" leads to "a.Xauthority" instead of "a/.Xauthority". Granted,
+    a relative HOME path leads to trouble in general, the code should
+    properly return "a/.Xauthority" nonetheless.
+    
+    Signed-off-by: Tobias Stoeckmann <tobias%stoeckmann.org@localhost>
+    Reviewed-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 42e152c6f2d1bd839e77c5e97f3a509d890c3237
+Author: Mihail Konev <k.mvc%ya.ru@localhost>
+Date:   Thu Jan 26 13:52:49 2017 +1000
+
+    autogen: add default patch prefix
+    
+    Signed-off-by: Mihail Konev <k.mvc%ya.ru@localhost>
+
+commit fca98447c95ae0284b4f1b0c381011f8ccaf1ff0
+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 33f792eb48687793bbb92e62d7462828c7468b55
+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 1e4635be11154dd8262f37b379511bd627defa2a
+Author: Jeremy Huddleston Sequoia <jeremyhu%apple.com@localhost>
+Date:   Thu Jan 2 01:07:41 2014 -0800
+
+    Silence a benign static analysis warning with an assert of allocation size
+    
+    AuFileName.c:72:8: warning: Call to 'malloc' has an allocation size of 0 bytes
+            buf = malloc (size);
+                  ^~~~~~~~~~~~~
+    
+    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu%apple.com@localhost>
+
+commit 304a11be4727c5a7feeb2501e8e001466f8ce84e
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Sep 29 09:23:45 2013 -0700
+
+    XauFileName: always go through buf allocation if buf is NULL
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 67beb3d0bc41c3416902c858f595b35306f76704
+Author: Fuminobu TAKEYAMA <ftake%geeko.jp@localhost>
+Date:   Sun Sep 29 09:21:05 2013 -0700
+
+    XauFileName: reset bsize when malloc failed
+    
+    https://bugs.freedesktop.org/show_bug.cgi?id=69929
+    
+    Reviewed-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
 commit 899790011304c4029e15abf410e49ce7cec17e0a
 Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
 Date:   Fri May 24 15:04:00 2013 -0700
diff -r 4613b9efb77a -r 3647bd465926 external/mit/libXau/dist/INSTALL
--- a/external/mit/libXau/dist/INSTALL  Fri Mar 01 02:22:27 2019 +0000
+++ b/external/mit/libXau/dist/INSTALL  Sun Mar 03 07:03:33 2019 +0000
@@ -1,11 +1,13 @@
 Installation Instructions
 *************************
 
-Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
-2006, 2007, 2008 Free Software Foundation, Inc.
+Copyright (C) 1994-1996, 1999-2002, 2004-2011 Free Software Foundation,
+Inc.
 
-   This file is free documentation; the Free Software Foundation gives
-unlimited permission to copy, distribute and modify it.
+   Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.  This file is offered as-is,
+without warranty of any kind.
 
 Basic Installation
 ==================
@@ -13,7 +15,11 @@
    Briefly, the shell commands `./configure; make; make install' should
 configure, build, and install this package.  The following
 more-detailed instructions are generic; see the `README' file for
-instructions specific to this package.
+instructions specific to this package.  Some packages provide this
+`INSTALL' file but do not implement all of the features documented
+below.  The lack of an optional feature in a given package is not
+necessarily a bug.  More recommendations for GNU packages can be found
+in *note Makefile Conventions: (standards)Makefile Conventions.
 
    The `configure' shell script attempts to guess correct values for
 various system-dependent variables used during compilation.  It uses
@@ -42,7 +48,7 @@
 you want to change it or regenerate `configure' using a newer version
 of `autoconf'.
 
-The simplest way to compile this package is:
+   The simplest way to compile this package is:
 
   1. `cd' to the directory containing the package's source code and type
      `./configure' to configure the package for your system.
@@ -53,12 +59,22 @@
   2. Type `make' to compile the package.
 
   3. Optionally, type `make check' to run any self-tests that come with
-     the package.
+     the package, generally using the just-built uninstalled binaries.
 
   4. Type `make install' to install the programs and any data files and
-     documentation.
+     documentation.  When installing into a prefix owned by root, it is
+     recommended that the package be configured and built as a regular
+     user, and only the `make install' phase executed with root
+     privileges.
 
-  5. You can remove the program binaries and object files from the
+  5. Optionally, type `make installcheck' to repeat any self-tests, but
+     this time using the binaries in their final installed location.
+     This target does not install anything.  Running this target as a
+     regular user, particularly if the prior `make install' required
+     root privileges, verifies that the installation completed
+     correctly.
+
+  6. You can remove the program binaries and object files from the
      source code directory by typing `make clean'.  To also remove the
      files that `configure' created (so you can compile the package for
      a different kind of computer), type `make distclean'.  There is
@@ -67,8 +83,15 @@
      all sorts of other programs in order to regenerate files that came
      with the distribution.
 
-  6. Often, you can also type `make uninstall' to remove the installed
-     files again.
+  7. Often, you can also type `make uninstall' to remove the installed
+     files again.  In practice, not all packages have tested that
+     uninstallation works correctly, even though it is required by the
+     GNU Coding Standards.
+
+  8. Some packages, particularly those that use Automake, provide `make
+     distcheck', which can by used by developers to test that all other
+     targets like `make install' and `make uninstall' work correctly.
+     This target is generally not run by end users.
 
 Compilers and Options
 =====================
@@ -93,7 +116,8 @@
 own directory.  To do this, you can use GNU `make'.  `cd' to the
 directory where you want the object files and executables to go and run
 the `configure' script.  `configure' automatically checks for the
-source code in the directory that `configure' is in and in `..'.
+source code in the directory that `configure' is in and in `..'.  This
+is known as a "VPATH" build.
 
    With a non-GNU `make', it is safer to compile the package for one
 architecture at a time in the source code directory.  After you have
@@ -120,7 +144,8 @@
    By default, `make install' installs the package's commands under
 `/usr/local/bin', include files under `/usr/local/include', etc.  You
 can specify an installation prefix other than `/usr/local' by giving
-`configure' the option `--prefix=PREFIX'.
+`configure' the option `--prefix=PREFIX', where PREFIX must be an
+absolute file name.
 
    You can specify separate installation prefixes for
 architecture-specific files and architecture-independent files.  If you



Home | Main Index | Thread Index | Old Index