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



details:   https://anonhg.NetBSD.org/xsrc/rev/94813cbcccf0
branches:  xorg
changeset: 10357:94813cbcccf0
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Jul 15 06:01:32 2019 +0000

description:
initial import of xauth-1.1

diffstat:

 external/mit/xauth/dist/ChangeLog         |   100 +
 external/mit/xauth/dist/Makefile.am       |     2 +
 external/mit/xauth/dist/Makefile.in       |    88 +-
 external/mit/xauth/dist/README.md         |    65 +
 external/mit/xauth/dist/aclocal.m4        |   535 +++--
 external/mit/xauth/dist/compile           |    13 +-
 external/mit/xauth/dist/config.guess      |   699 +++---
 external/mit/xauth/dist/config.sub        |  2757 ++++++++++++++--------------
 external/mit/xauth/dist/configure         |   299 +-
 external/mit/xauth/dist/configure.ac      |     4 +-
 external/mit/xauth/dist/depcomp           |    10 +-
 external/mit/xauth/dist/install-sh        |    47 +-
 external/mit/xauth/dist/man/Makefile.in   |    13 +-
 external/mit/xauth/dist/missing           |    16 +-
 external/mit/xauth/dist/process.c         |    82 +-
 external/mit/xauth/dist/test-driver       |    10 +-
 external/mit/xauth/dist/tests/Makefile.in |    40 +-
 17 files changed, 2576 insertions(+), 2204 deletions(-)

diffs (truncated from 6937 to 300 lines):

diff -r e09f655df346 -r 94813cbcccf0 external/mit/xauth/dist/ChangeLog
--- a/external/mit/xauth/dist/ChangeLog Mon Jul 15 05:53:30 2019 +0000
+++ b/external/mit/xauth/dist/ChangeLog Mon Jul 15 06:01:32 2019 +0000
@@ -1,3 +1,103 @@
+commit e97992671b3870878709a1c01991488965b61b94
+Author: Adam Jackson <ajax%redhat.com@localhost>
+Date:   Thu Jul 11 13:49:26 2019 -0400
+
+    xauth 1.1
+
+commit 0932418d9b47e8240160bcbacbdc38b9bc9870d3
+Author: Adam Jackson <ajax%redhat.com@localhost>
+Date:   Tue Jun 18 12:03:33 2019 -0400
+
+    process: Close a window where no authority file would exist
+    
+    unlink()ing the old auth file before link()ing the temp to the new is
+    just silly. rename() is atomic and will happily clobber the destination,
+    and the only thing link() can give you here is the ability to fail on
+    filesystems that don't support hardlinks.
+    
+    Fixes: xorg/app/xauth#2
+
+commit 42239054b088dcdfc637880a8edf39b841c5ea51
+Author: Michal Srb <msrb%suse.com@localhost>
+Date:   Thu May 31 15:12:36 2018 +0200
+
+    Sort entries from most specific to most generic.
+    
+    There is no point in adding entry or merging lists if a FamilyWild entry would
+    end in front of any entry, or entry without display number would end in front
+    of entry with number.
+    
+    This sorts all entries in order:
+      * FamilyWild without display number
+      * FamilyWild with display number
+      * Other family without display number
+      * Other family with display number
+    
+    The order of the entries in each category is kept.
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 06a21f7c3d5eb5dc9a86418e87946cc7ac83e437
+Author: Michal Srb <msrb%suse.com@localhost>
+Date:   Thu May 31 15:12:35 2018 +0200
+
+    Merge only entries with equal dpy and protoname.
+    
+    Merging two lists, or adding entry a into list acts unexpectedly if the list
+    contains FamilyWild or entry with an empty display numbers. For example:
+    
+      > xauth list
+      #ffff#6f70656e737573652d74756d626c6577656564#:  MIT-MAGIC-COOKIE-1  1500d80327733252cc42ba469138a259
+    
+      > xauth add test/unix:2 MIT-MAGIC-COOKIE-1 aabbccddeeff00112233445566778899
+      > xauth list
+      test/unix:2  MIT-MAGIC-COOKIE-1  aabbccddeeff00112233445566778899
+    
+    This is because merge_entries compares entries using `match_auth`, which
+    follows the same rules as XauGetBestAuthByAddr. Following these rules is good
+    when filtering the output of `xauth list`, but for merging we should compare
+    for equality. It used to be done that way before commit 1555fff4. That commit
+    changed it to improve the `xauth list` behavior, but did not seem consider the
+    impact on merge.
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 673d42c5ffbbb07ad6b9b3d99a9cc78198999dd1
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Wed Nov 21 16:58:33 2018 -0800
+
+    Update configure.ac bug URL for gitlab migration
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit fa5c2797921b2b0c6dcdde5cf1832a90a0a9dfbf
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Fri Nov 16 21:03:57 2018 -0800
+
+    Update README for gitlab migration
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 4a3a9fc5271cd04ab9123e4713d00b161daf0b6a
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat May 5 14:58:15 2018 -0700
+
+    Change fall through comment in process.c to match gcc's requirements
+    
+    Needs to match one of the regexps shown under
+    https://gcc.gnu.org/onlinedocs/gcc-7.3.0/gcc/Warning-Options.html#index-Wimplicit-fallthrough
+    
+    Silences warning from gcc 7.3:
+    process.c: In function â??dump_entryâ??:
+    process.c:1007:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
+          if (dpyname) {
+             ^
+    process.c:1012:4: note: here
+        default:
+        ^~~~~~~
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
 commit 536d1003a5c4d5ac24cd3b8afd10492e4e6242df
 Author: Matt Turner <mattst88%gmail.com@localhost>
 Date:   Sun Jan 29 13:09:12 2017 -0800
diff -r e09f655df346 -r 94813cbcccf0 external/mit/xauth/dist/Makefile.am
--- a/external/mit/xauth/dist/Makefile.am       Mon Jul 15 05:53:30 2019 +0000
+++ b/external/mit/xauth/dist/Makefile.am       Mon Jul 15 06:01:32 2019 +0000
@@ -51,3 +51,5 @@
        $(CHANGELOG_CMD)
 
 dist-hook: ChangeLog INSTALL
+
+EXTRA_DIST = README.md
diff -r e09f655df346 -r 94813cbcccf0 external/mit/xauth/dist/Makefile.in
--- a/external/mit/xauth/dist/Makefile.in       Mon Jul 15 05:53:30 2019 +0000
+++ b/external/mit/xauth/dist/Makefile.in       Mon Jul 15 06:01:32 2019 +0000
@@ -1,7 +1,7 @@
-# Makefile.in generated by automake 1.15 from Makefile.am.
+# Makefile.in generated by automake 1.16.1 from Makefile.am.
 # @configure_input@
 
-# Copyright (C) 1994-2014 Free Software Foundation, Inc.
+# Copyright (C) 1994-2018 Free Software Foundation, Inc.
 
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -144,7 +144,9 @@
 am__v_at_1 = 
 DEFAULT_INCLUDES = -I.@am__isrc@
 depcomp = $(SHELL) $(top_srcdir)/depcomp
-am__depfiles_maybe = depfiles
+am__maybe_remake_depfiles = depfiles
+am__depfiles_remade = ./$(DEPDIR)/gethost.Po ./$(DEPDIR)/parsedpy.Po \
+       ./$(DEPDIR)/process.Po ./$(DEPDIR)/xauth.Po
 am__mv = mv -f
 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
@@ -180,7 +182,7 @@
   $(RECURSIVE_CLEAN_TARGETS) \
   $(am__extra_recursive_targets)
 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
-       cscope distdir dist dist-all distcheck
+       cscope distdir distdir-am dist dist-all distcheck
 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
        $(LISP)config.h.in
 # Read a list of newline-separated strings from the standard input,
@@ -204,8 +206,8 @@
 CSCOPE = cscope
 DIST_SUBDIRS = $(SUBDIRS)
 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in COPYING \
-       ChangeLog INSTALL README compile config.guess config.sub \
-       depcomp install-sh missing
+       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)
@@ -384,6 +386,7 @@
 @LINT_TRUE@                $(AM_CPPFLAGS) $(CPPFLAGS) $(XAUTH_CFLAGS)
 
 MAINTAINERCLEANFILES = ChangeLog INSTALL
+EXTRA_DIST = README.md
 all: config.h
        $(MAKE) $(AM_MAKEFLAGS) all-recursive
 
@@ -410,8 +413,8 @@
            echo ' $(SHELL) ./config.status'; \
            $(SHELL) ./config.status;; \
          *) \
-           echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
-           cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
+           echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
+           cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
        esac;
 
 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
@@ -490,10 +493,16 @@
 distclean-compile:
        -rm -f *.tab.c
 
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gethost.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parsedpy.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/process.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xauth.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gethost.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parsedpy.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/process.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xauth.Po@am__quote@ # am--include-marker
+
+$(am__depfiles_remade):
+       @$(MKDIR_P) $(@D)
+       @echo '# dummy' >$@-t && $(am__mv) $@-t $@
+
+am--depfiles: $(am__depfiles_remade)
 
 .c.o:
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
@@ -615,7 +624,10 @@
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
        -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
 
-distdir: $(DISTFILES)
+distdir: $(BUILT_SOURCES)
+       $(MAKE) $(AM_MAKEFLAGS) distdir-am
+
+distdir-am: $(DISTFILES)
        $(am__remove_distdir)
        test -d "$(distdir)" || mkdir "$(distdir)"
        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
@@ -683,7 +695,7 @@
          ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
        || chmod -R a+r "$(distdir)"
 dist-gzip: distdir
-       tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+       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
@@ -708,7 +720,7 @@
        @echo WARNING: "Support for shar distribution archives is" \
                       "deprecated." >&2
        @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
-       shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
+       shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
        $(am__post_remove_distdir)
 
 dist-zip: distdir
@@ -726,7 +738,7 @@
 distcheck: dist
        case '$(DIST_ARCHIVES)' in \
        *.tar.gz*) \
-         GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
+         eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
        *.tar.bz2*) \
          bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
        *.tar.lz*) \
@@ -736,7 +748,7 @@
        *.tar.Z*) \
          uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
        *.shar.gz*) \
-         GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
+         eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
        *.zip*) \
          unzip $(distdir).zip ;;\
        esac
@@ -850,7 +862,10 @@
 
 distclean: distclean-recursive
        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
-       -rm -rf ./$(DEPDIR)
+               -rm -f ./$(DEPDIR)/gethost.Po
+       -rm -f ./$(DEPDIR)/parsedpy.Po
+       -rm -f ./$(DEPDIR)/process.Po
+       -rm -f ./$(DEPDIR)/xauth.Po
        -rm -f Makefile
 distclean-am: clean-am distclean-compile distclean-generic \
        distclean-hdr distclean-tags
@@ -898,7 +913,10 @@
 maintainer-clean: maintainer-clean-recursive
        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
        -rm -rf $(top_srcdir)/autom4te.cache
-       -rm -rf ./$(DEPDIR)
+               -rm -f ./$(DEPDIR)/gethost.Po
+       -rm -f ./$(DEPDIR)/parsedpy.Po
+       -rm -f ./$(DEPDIR)/process.Po
+       -rm -f ./$(DEPDIR)/xauth.Po
        -rm -f Makefile
 maintainer-clean-am: distclean-am maintainer-clean-generic
 
@@ -919,22 +937,22 @@
 .MAKE: $(am__recursive_targets) all install-am install-strip
 
 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
-       am--refresh check check-am clean clean-binPROGRAMS \
-       clean-cscope clean-generic cscope cscopelist-am ctags ctags-am \
-       dist dist-all dist-bzip2 dist-gzip dist-hook dist-lzip \
-       dist-shar dist-tarZ dist-xz dist-zip distcheck distclean \
-       distclean-compile distclean-generic distclean-hdr \
-       distclean-tags distcleancheck distdir distuninstallcheck dvi \
-       dvi-am html html-am info info-am install install-am \
-       install-binPROGRAMS install-data install-data-am install-dvi \
-       install-dvi-am install-exec install-exec-am install-html \
-       install-html-am install-info install-info-am install-man \
-       install-pdf install-pdf-am install-ps install-ps-am \
-       install-strip installcheck installcheck-am installdirs \
-       installdirs-am maintainer-clean maintainer-clean-generic \
-       mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \
-       ps ps-am tags tags-am uninstall uninstall-am \
-       uninstall-binPROGRAMS
+       am--depfiles am--refresh check check-am clean \
+       clean-binPROGRAMS clean-cscope clean-generic cscope \
+       cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
+       dist-gzip dist-hook dist-lzip dist-shar dist-tarZ dist-xz \
+       dist-zip distcheck distclean distclean-compile \
+       distclean-generic distclean-hdr distclean-tags distcleancheck \
+       distdir distuninstallcheck dvi dvi-am html html-am info \
+       info-am install install-am install-binPROGRAMS install-data \



Home | Main Index | Thread Index | Old Index