Source-Changes-HG archive

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

[xsrc/xorg]: xsrc/external/mit/xauth/dist initial import of xauth-1.1.2



details:   https://anonhg.NetBSD.org/xsrc/rev/704325389b99
branches:  xorg
changeset: 7040:704325389b99
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Jul 11 09:08:10 2022 +0000

description:
initial import of xauth-1.1.2

diffstat:

 external/mit/xauth/dist/ChangeLog                        |   128 +
 external/mit/xauth/dist/Makefile.in                      |    25 +-
 external/mit/xauth/dist/README.md                        |     3 +-
 external/mit/xauth/dist/aclocal.m4                       |   146 +-
 external/mit/xauth/dist/compile                          |     2 +-
 external/mit/xauth/dist/config.guess                     |    39 +-
 external/mit/xauth/dist/config.h.in                      |    98 +-
 external/mit/xauth/dist/config.sub                       |    39 +-
 external/mit/xauth/dist/configure                        |  8727 +++++++------
 external/mit/xauth/dist/configure.ac                     |    13 +-
 external/mit/xauth/dist/depcomp                          |     2 +-
 external/mit/xauth/dist/man/Makefile.in                  |    12 +-
 external/mit/xauth/dist/missing                          |     2 +-
 external/mit/xauth/dist/parsedpy.c                       |     6 +-
 external/mit/xauth/dist/process.c                        |     4 +-
 external/mit/xauth/dist/test-driver                      |    11 +-
 external/mit/xauth/dist/tests/010-xauth-add-inet.script  |     6 +-
 external/mit/xauth/dist/tests/020-xauth-add-local.script |     8 +-
 external/mit/xauth/dist/tests/030-xauth-extract.script   |    10 +-
 external/mit/xauth/dist/tests/040-xauth-source.script    |     8 +-
 external/mit/xauth/dist/tests/090-xauth-bad-usage.script |     6 +-
 external/mit/xauth/dist/tests/Makefile.am                |     6 +-
 external/mit/xauth/dist/tests/Makefile.in                |   193 +-
 external/mit/xauth/dist/tests/setup-sourced              |     4 +-
 external/mit/xauth/dist/tests/test_xauth                 |    44 +
 25 files changed, 5131 insertions(+), 4411 deletions(-)

diffs (truncated from 14950 to 300 lines):

diff -r 1a488267be54 -r 704325389b99 external/mit/xauth/dist/ChangeLog
--- a/external/mit/xauth/dist/ChangeLog Mon Jul 11 09:08:06 2022 +0000
+++ b/external/mit/xauth/dist/ChangeLog Mon Jul 11 09:08:10 2022 +0000
@@ -1,3 +1,131 @@
+commit c5783216c07fa9870da1b5cce023e24d649254c3
+Author: Matt Turner <mattst88%gmail.com@localhost>
+Date:   Tue Apr 19 19:04:26 2022 -0700
+
+    xauth 1.1.2
+    
+    Signed-off-by: Matt Turner <mattst88%gmail.com@localhost>
+
+commit ce87ae39d5ab28733b4125a09d0a643d1581b1c8
+Author: Larry Doolittle <larry%doolittle.boa.org@localhost>
+Date:   Sat Apr 16 15:28:31 2022 -0700
+
+    Expand checks of socket file with S_ISSOCK
+    
+    Extend work done in commit 18a3c3a to earlier in the socket detection process
+    Fixes issue #6.
+
+commit 83e97b2bf683f341da177bd5df5b1297cbdc16a4
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat Apr 16 13:11:36 2022 -0700
+
+    gitlab CI: stop requiring Signed-off-by in commits
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit a5c70489f99c8259d4770aeb96524a91395b8ab9
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Apr 10 10:46:51 2022 -0700
+
+    Fix off-by-one in quote-stripping routines
+    
+    Reported by Oracle Parfait:
+    
+    Error: Buffer overrun
+       Buffer overflow [buffer-overflow] (CWE 120):
+          In pointer dereference of key[(len - 1)] with index (len - 1)
+          Array size >= 1 bytes, index >= 1
+            at line 1647 of process.c in function 'do_add'.
+    
+    Error: Buffer overrun
+       Buffer overflow [buffer-overflow] (CWE 120):
+          In pointer dereference of authdata[(authdatalen - 1)] with index (authdatalen - 1)
+          Array size is ??? bytes, index is ???
+            at line 1965 of process.c in function 'do_generate'.
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 999691ffaef492d4bebea69605d274fa2023dfee
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat Dec 4 10:29:07 2021 -0800
+
+    Build xz tarballs instead of bzip2
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit cb0ef91ea63105b0629324837a4dc752e32d6d67
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Tue Nov 30 17:07:42 2021 -0800
+
+    gitlab CI: add a basic build test
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 25f94d50523f8967f6f22a631d462355dbd680a3
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Tue Nov 30 17:05:46 2021 -0800
+
+    configure.ac: fail build if xtrans is not found
+    
+    Copied from libX11/configure.ac
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit f17b241220fef63a32d1b7329edfbcf6f435fabe
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Tue Nov 30 17:29:59 2021 -0800
+
+    tests: report failure if stderr has unexpected output
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 6ad2fc509b55003a10fe9d973e2f8672946d4180
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Tue Nov 30 17:23:07 2021 -0800
+
+    tests: Fix failure to make distcheck
+    
+    Add test_xauth to EXTRA_DIST
+    Add test output files to CLEANFILES
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 5598b8612b095d9f5f513ada2a4bbacaca1bfea8
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Tue Nov 30 15:11:43 2021 -0800
+
+    tests: make tests work in out-of-tree builds
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 3d6519f11867183b9698cbf8cc9515bc767b98af
+Author: Dr. Tilmann Bubeck <tilmann%bubecks.de@localhost>
+Date:   Mon Nov 29 15:05:39 2021 +0100
+
+    Fix warning -Wstringop-truncation for strncpy by using memcpy instead
+
+commit 5da9a32e638f4bce66ec92dff64ed68a1bbd6b6b
+Author: Dr. Tilmann Bubeck <tilmann%bubecks.de@localhost>
+Date:   Mon Nov 29 12:30:17 2021 +0100
+
+    Removed build requirement "cmdtest".
+    Replaced by a shell script with the needed functionality.
+
+commit d6d1423fabdaec25d4a677e794f91a91f7c09c70
+Author: Baptiste Daroussin <bapt%FreeBSD.org@localhost>
+Date:   Mon Feb 6 22:28:44 2017 +0100
+
+    Improve portability
+    
+    there is no need to hard depend on bash given almost all the code is
+    /bin/sh compliant
+    
+    Remove the function keyword from setup-source to make it /bin/sh
+    compliant
+    
+    pipe wc -l output to xargs to make the command output compatible with
+    both GNU wc and BSD wc (which prefix the output with a tab)
+
 commit 477307d00c1220f8594622e1af982fb0e4e215bf
 Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
 Date:   Sun Nov 28 15:32:37 2021 -0800
diff -r 1a488267be54 -r 704325389b99 external/mit/xauth/dist/Makefile.in
--- a/external/mit/xauth/dist/Makefile.in       Mon Jul 11 09:08:06 2022 +0000
+++ b/external/mit/xauth/dist/Makefile.in       Mon Jul 11 09:08:10 2022 +0000
@@ -1,7 +1,7 @@
-# Makefile.in generated by automake 1.16.3 from Makefile.am.
+# Makefile.in generated by automake 1.16.5 from Makefile.am.
 # @configure_input@
 
-# Copyright (C) 1994-2020 Free Software Foundation, Inc.
+# Copyright (C) 1994-2021 Free Software Foundation, Inc.
 
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -201,13 +201,10 @@
   unique=`for i in $$list; do \
     if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
   done | $(am__uniquify_input)`
-ETAGS = etags
-CTAGS = ctags
-CSCOPE = cscope
 DIST_SUBDIRS = $(SUBDIRS)
 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in COPYING \
-       ChangeLog INSTALL compile config.guess config.sub depcomp \
-       install-sh missing
+       ChangeLog INSTALL README.md compile config.guess config.sub \
+       depcomp install-sh missing
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 distdir = $(PACKAGE)-$(VERSION)
 top_distdir = $(distdir)
@@ -243,9 +240,9 @@
     dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
   done; \
   reldir="$$dir2"
-DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
+DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.xz
 GZIP_ENV = --best
-DIST_TARGETS = dist-bzip2 dist-gzip
+DIST_TARGETS = dist-xz dist-gzip
 # Exists only to be overridden by the user if desired.
 AM_DISTCHECK_DVI_TARGET = dvi
 distuninstallcheck_listfiles = find . -type f -print
@@ -268,8 +265,9 @@
 CCDEPMODE = @CCDEPMODE@
 CFLAGS = @CFLAGS@
 CHANGELOG_CMD = @CHANGELOG_CMD@
-CPP = @CPP@
 CPPFLAGS = @CPPFLAGS@
+CSCOPE = @CSCOPE@
+CTAGS = @CTAGS@
 CWARNFLAGS = @CWARNFLAGS@
 CYGPATH_W = @CYGPATH_W@
 DEFS = @DEFS@
@@ -279,11 +277,10 @@
 ECHO_C = @ECHO_C@
 ECHO_N = @ECHO_N@
 ECHO_T = @ECHO_T@
-EGREP = @EGREP@
+ETAGS = @ETAGS@
 EXEEXT = @EXEEXT@
 FILE_MAN_DIR = @FILE_MAN_DIR@
 FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
-GREP = @GREP@
 INSTALL = @INSTALL@
 INSTALL_CMD = @INSTALL_CMD@
 INSTALL_DATA = @INSTALL_DATA@
@@ -366,6 +363,7 @@
 prefix = @prefix@
 program_transform_name = @program_transform_name@
 psdir = @psdir@
+runstatedir = @runstatedir@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 srcdir = @srcdir@
@@ -625,7 +623,6 @@
 distclean-tags:
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
        -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
-
 distdir: $(BUILT_SOURCES)
        $(MAKE) $(AM_MAKEFLAGS) distdir-am
 
@@ -699,6 +696,7 @@
 dist-gzip: distdir
        tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
        $(am__post_remove_distdir)
+
 dist-bzip2: distdir
        tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
        $(am__post_remove_distdir)
@@ -706,7 +704,6 @@
 dist-lzip: distdir
        tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
        $(am__post_remove_distdir)
-
 dist-xz: distdir
        tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
        $(am__post_remove_distdir)
diff -r 1a488267be54 -r 704325389b99 external/mit/xauth/dist/README.md
--- a/external/mit/xauth/dist/README.md Mon Jul 11 09:08:06 2022 +0000
+++ b/external/mit/xauth/dist/README.md Mon Jul 11 09:08:10 2022 +0000
@@ -11,8 +11,7 @@
 
 Use "./autogen.sh" to configure the package and "make" to compile it.
 A black box check for the correctness of the package can be initiated
-by "make check" (make sure to install "cmdtest" from
-http://liw.fi/cmdtest/). The installation is done by "make install".
+by "make check". The installation is done by "make install".
 
 III. COMMUNICATION
 ------------------
diff -r 1a488267be54 -r 704325389b99 external/mit/xauth/dist/aclocal.m4
--- a/external/mit/xauth/dist/aclocal.m4        Mon Jul 11 09:08:06 2022 +0000
+++ b/external/mit/xauth/dist/aclocal.m4        Mon Jul 11 09:08:10 2022 +0000
@@ -1,6 +1,6 @@
-# generated automatically by aclocal 1.16.3 -*- Autoconf -*-
-
-# Copyright (C) 1996-2020 Free Software Foundation, Inc.
+# generated automatically by aclocal 1.16.5 -*- Autoconf -*-
+
+# Copyright (C) 1996-2021 Free Software Foundation, Inc.
 
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -14,15 +14,15 @@
 m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
 m4_ifndef([AC_AUTOCONF_VERSION],
   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
-m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
-[m4_warning([this file was generated for autoconf 2.69.
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.71],,
+[m4_warning([this file was generated for autoconf 2.71.
 You have another version of autoconf.  It may work, but is not guaranteed to.
 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'.])])
 
-dnl pkg.m4 - Macros to locate and utilise pkg-config.   -*- Autoconf -*-
-dnl serial 11 (pkg-config-0.29)
-dnl
+# pkg.m4 - Macros to locate and utilise pkg-config.   -*- Autoconf -*-
+# serial 11 (pkg-config-0.29.1)
+
 dnl Copyright © 2004 Scott James Remnant <scott%netsplit.com@localhost>.
 dnl Copyright © 2012-2015 Dan Nicholson <dbn.lists%gmail.com@localhost>
 dnl
@@ -63,7 +63,7 @@
 dnl See the "Since" comment for each macro you use to see what version
 dnl of the macros you require.
 m4_defun([PKG_PREREQ],
-[m4_define([PKG_MACROS_VERSION], [0.29])
+[m4_define([PKG_MACROS_VERSION], [0.29.1])
 m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1,
     [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])])
 ])dnl PKG_PREREQ
@@ -296,6 +296,74 @@
 AS_VAR_IF([$1], [""], [$5], [$4])dnl
 ])dnl PKG_CHECK_VAR
 
+dnl PKG_WITH_MODULES(VARIABLE-PREFIX, MODULES,
+dnl   [ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND],
+dnl   [DESCRIPTION], [DEFAULT])
+dnl ------------------------------------------
+dnl
+dnl Prepare a "--with-" configure option using the lowercase
+dnl [VARIABLE-PREFIX] name, merging the behaviour of AC_ARG_WITH and
+dnl PKG_CHECK_MODULES in a single macro.



Home | Main Index | Thread Index | Old Index