Source-Changes-HG archive

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

[xsrc/xorg]: xsrc/external/mit/smproxy/dist initial import of smproxy-1.0.7



details:   https://anonhg.NetBSD.org/xsrc/rev/91847027b63b
branches:  xorg
changeset: 7183:91847027b63b
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Oct 16 22:56:54 2022 +0000

description:
initial import of smproxy-1.0.7

diffstat:

 external/mit/smproxy/dist/ChangeLog       |   150 +-
 external/mit/smproxy/dist/Makefile.am     |     2 +
 external/mit/smproxy/dist/Makefile.in     |   108 +-
 external/mit/smproxy/dist/README.md       |    18 +
 external/mit/smproxy/dist/aclocal.m4      |   546 +-
 external/mit/smproxy/dist/compile         |    17 +-
 external/mit/smproxy/dist/config.guess    |  1685 +++--
 external/mit/smproxy/dist/config.h.in     |    98 +-
 external/mit/smproxy/dist/config.sub      |  2911 +++++-----
 external/mit/smproxy/dist/configure       |  8188 +++++++++++++++-------------
 external/mit/smproxy/dist/configure.ac    |     6 +-
 external/mit/smproxy/dist/depcomp         |    10 +-
 external/mit/smproxy/dist/install-sh      |   172 +-
 external/mit/smproxy/dist/man/Makefile.in |    21 +-
 external/mit/smproxy/dist/missing         |    16 +-
 external/mit/smproxy/dist/save.c          |    36 +-
 external/mit/smproxy/dist/smproxy.c       |    50 +-
 17 files changed, 7690 insertions(+), 6344 deletions(-)

diffs (truncated from 20674 to 300 lines):

diff -r 0e3e9209295b -r 91847027b63b external/mit/smproxy/dist/ChangeLog
--- a/external/mit/smproxy/dist/ChangeLog       Sun Oct 16 22:46:00 2022 +0000
+++ b/external/mit/smproxy/dist/ChangeLog       Sun Oct 16 22:56:54 2022 +0000
@@ -1,3 +1,151 @@
+commit 36db00ecdce06709d7590f338eda7e2e7d96839a
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat Oct 15 09:40:43 2022 -0700
+
+    smproxy 1.0.7
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit f92f80fbb8926d980a6a46c488f7f60a35c9bf9c
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Aug 14 10:41:39 2022 -0700
+
+    CheckFullyQuantifiedName: improve gethostname() handling
+    
+    Handle errors and use HOST_NAME_MAX for the buffer size if it is
+    defined by <limits.h>
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 5bf2e626a25f0ac1503effbf89c01573392ea658
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Aug 14 10:15:06 2022 -0700
+
+    CheckFullyQuantifiedName: return unqualified name if alloc fails
+    
+    Makes a failure to allocate by asprintf() match other failure
+    cases and return the unqualified name instead of NULL.
+    
+    Fixes gcc warning:
+    smproxy.c: In function ‘FinishSaveYourself’:
+    smproxy.c:269:31: warning: ‘%s’ directive argument is null [-Wformat-truncation=]
+                       "rstart-rsh/%s", fullyQuantifiedName);
+                                   ^~
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 88262a274bdd850e14cc27dd3d421182bbc157d5
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Aug 14 10:10:23 2022 -0700
+
+    Use calloc instead of malloc to allocate arrays
+    
+    Most important in ReadProxyFileEntry, if we goto give_up before we
+    finish initializing the array, makes sure we don't try to free
+    uninitialized pointers during cleanup pass.
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 0c55e2eabe6755b88de9835da8185a52b7712847
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Aug 14 10:04:12 2022 -0700
+
+    Remove or correct obsolete casts
+    
+    Bring code up to C89 levels
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 5fdd590f9b9a9f5aa3a60e44fe8f010c43f8c54e
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Aug 14 09:49:22 2022 -0700
+
+    NullIceErrorHandler: make arg names match between definition & declaration
+    
+    Solves cppcheck warning:
+    [smproxy.c:73] -> [smproxy.c:448]: (style, inconclusive)
+      Function 'NullIceErrorHandler' argument 3 names different:
+        declaration 'offendingMinorOpCode' definition 'offendingMinorOpcode'.
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit f4800d0cfbadf9fc50dddbe2b1eb8d62548d7fe5
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Aug 14 09:47:41 2022 -0700
+
+    Reduce variable scopes as suggested by cppcheck
+    
+    [save.c:203]: (style) The scope of the variable 'i' can be reduced.
+    [save.c:457]: (style) The scope of the variable 'i' can be reduced.
+    [smproxy.c:101]: (style) The scope of the variable 'i' can be reduced.
+    [smproxy.c:1114]: (style) The scope of the variable 'client_window' can be reduced.
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 8f72bea9644450a3492349236a2d57610c7c78bc
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat Dec 4 10:05:43 2021 -0800
+
+    Build xz tarballs instead of bzip2
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit ef7d5344e9d96f4a6632f5a6f353ee809bef1001
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sat Dec 4 10:05:39 2021 -0800
+
+    gitlab CI: add a basic build test
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 2c60568de14fb3953b3cfe42ee32352298572fd8
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Wed Nov 21 16:57:31 2018 -0800
+
+    Update configure.ac bug URL for gitlab migration
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit b9c0047416eff09519bfe6a8088817c270f91d0a
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Fri Nov 16 20:49:33 2018 -0800
+
+    Update README for gitlab migration
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 94d925a449d5ea22c14ed0261389787a76c026ef
+Author: Mihail Konev <k.mvc%ya.ru@localhost>
+Date:   Thu Jan 26 14:00:20 2017 +1000
+
+    autogen: add default patch prefix
+    
+    Signed-off-by: Mihail Konev <k.mvc%ya.ru@localhost>
+
+commit d914bd6488ba53f648df442af9e182236cf63983
+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 eb3eabf9d910270026a2705afca1a8ceb385ea3f
+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 31b7fe5cc4e3f39f7265800a78a397935163990b
 Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
 Date:   Thu Apr 16 22:32:22 2015 -0700
@@ -491,7 +639,7 @@
         against tempfile race conditions in many places)
 
 commit 05ef9ba24d0b1b5c17e04036d03770a44efd6b78
-Author: Søren Sandmann Pedersen <sandmann%daimi.au.dk@localhost>
+Author: Søren Sandmann Pedersen  <sandmann%daimi.au.dk@localhost>
 Date:   Wed Jul 6 17:25:57 2005 +0000
 
     Build system for smproxy
diff -r 0e3e9209295b -r 91847027b63b external/mit/smproxy/dist/Makefile.am
--- a/external/mit/smproxy/dist/Makefile.am     Sun Oct 16 22:46:00 2022 +0000
+++ b/external/mit/smproxy/dist/Makefile.am     Sun Oct 16 22:56:54 2022 +0000
@@ -41,3 +41,5 @@
        $(CHANGELOG_CMD)
 
 dist-hook: ChangeLog INSTALL
+
+EXTRA_DIST = README.md
diff -r 0e3e9209295b -r 91847027b63b external/mit/smproxy/dist/Makefile.in
--- a/external/mit/smproxy/dist/Makefile.in     Sun Oct 16 22:46:00 2022 +0000
+++ b/external/mit/smproxy/dist/Makefile.in     Sun Oct 16 22:56:54 2022 +0000
@@ -1,7 +1,7 @@
-# Makefile.in generated by automake 1.15 from Makefile.am.
+# Makefile.in generated by automake 1.16.5 from Makefile.am.
 # @configure_input@
 
-# Copyright (C) 1994-2014 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,
@@ -143,7 +143,8 @@
 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)/save.Po ./$(DEPDIR)/smproxy.Po
 am__mv = mv -f
 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
@@ -179,9 +180,9 @@
   $(RECURSIVE_CLEAN_TARGETS) \
   $(am__extra_recursive_targets)
 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
-       cscope distdir dist dist-all distcheck
-am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
-       $(LISP)config.h.in
+       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,
 # and print each of them once, without duplicates.  Input order is
 # *not* preserved.
@@ -198,12 +199,9 @@
   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 README compile config.guess config.sub \
+       ChangeLog INSTALL README.md compile config.guess config.sub \
        depcomp install-sh missing
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 distdir = $(PACKAGE)-$(VERSION)
@@ -240,9 +238,11 @@
     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
 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
   | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
@@ -263,8 +263,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@
@@ -274,11 +275,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@
@@ -306,6 +306,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@
@@ -357,6 +359,7 @@
 prefix = @prefix@
 program_transform_name = @program_transform_name@
 psdir = @psdir@
+runstatedir = @runstatedir@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 srcdir = @srcdir@
@@ -374,6 +377,7 @@
         smproxy.h
 
 MAINTAINERCLEANFILES = ChangeLog INSTALL
+EXTRA_DIST = README.md
 all: config.h
        $(MAKE) $(AM_MAKEFLAGS) all-recursive
 
@@ -400,8 +404,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)
@@ -480,8 +484,14 @@
 distclean-compile:
        -rm -f *.tab.c


Home | Main Index | Thread Index | Old Index