Source-Changes-HG archive

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

[xsrc/trunk]: xsrc/external/mit/sessreg/dist initial import of sessreg-1.1.2



details:   https://anonhg.NetBSD.org/xsrc/rev/5818910fdd54
branches:  trunk
changeset: 10311:5818910fdd54
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Jul 08 20:37:48 2019 +0000

description:
initial import of sessreg-1.1.2

diffstat:

 external/mit/sessreg/dist/ChangeLog    |   57 +++
 external/mit/sessreg/dist/Makefile.am  |    2 +
 external/mit/sessreg/dist/Makefile.in  |    5 +-
 external/mit/sessreg/dist/README.md    |   19 +
 external/mit/sessreg/dist/aclocal.m4   |  244 ++++++++----
 external/mit/sessreg/dist/config.guess |  613 ++++++++++++++++----------------
 external/mit/sessreg/dist/config.sub   |  298 +++++++--------
 external/mit/sessreg/dist/configure    |   56 +-
 external/mit/sessreg/dist/configure.ac |    4 +-
 external/mit/sessreg/dist/sessreg.c    |   34 +-
 10 files changed, 742 insertions(+), 590 deletions(-)

diffs (truncated from 2985 to 300 lines):

diff -r 95896a6827bc -r 5818910fdd54 external/mit/sessreg/dist/ChangeLog
--- a/external/mit/sessreg/dist/ChangeLog       Mon Jul 08 20:04:05 2019 +0000
+++ b/external/mit/sessreg/dist/ChangeLog       Mon Jul 08 20:37:48 2019 +0000
@@ -1,3 +1,60 @@
+commit 3a91ab7d228f4c1a28970e447cff7d1a960db2fe
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Jun 9 11:39:22 2019 -0700
+
+    sessreg 1.1.2
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 600d183bf6f6967b53a3f2a0e31e8d90a5c13f18
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Sun Jun 9 11:08:08 2019 -0700
+
+    Add comment about why safe_strncpy isn't replaced with strlcpy
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 5b403d124c32c20fddc73bc5ae3c7e1febdf1bc4
+Author: Fabrice Fontaine <fontaine.fabrice%gmail.com@localhost>
+Date:   Fri May 3 07:48:06 2019 +0200
+
+    Fix missing defines _PATH_WTMPX/_PATH_UTMPX in musl
+    
+    Downloaded from
+    https://cgit.gentoo.org/proj/musl.git/tree/x11-apps/sessreg/files/sessreg-1.1.0-missing_path_wtmpx.patch
+    
+    Signed-off-by: Bernd Kuhls <bernd.kuhls%t-online.de@localhost>
+    [Retrieved from:
+    https://git.buildroot.net/buildroot/tree/package/x11r7/xapp_sessreg/0001-missing_path_wtmpx.patch]
+    Signed-off-by: Fabrice Fontaine <fontaine.fabrice%gmail.com@localhost>
+
+commit fd3c8491d9dbe20bab67dfc19ebcfe763e9a01d8
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Wed Nov 21 16:56:46 2018 -0800
+
+    Update configure.ac bug URL for gitlab migration
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 8c8e2321127d54e2729d4dc2cd08e8f34c35071e
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date:   Fri Nov 16 20:44:21 2018 -0800
+
+    Update README for gitlab migration
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 653dc1e61cd9d4d4921158a2c5dec49962bb9f0a
+Author: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+Date:   Wed Sep 12 14:46:05 2018 +1000
+
+    Replace strncpy calls with a sane version that always terminates
+    
+    Fixes coverity complaints about potentially unterminated strings
+    
+    Signed-off-by: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+    Reviewed-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
 commit 5457109783ee82599aeb6c6a690cc921a881d6bf
 Author: Matt Turner <mattst88%gmail.com@localhost>
 Date:   Mon Feb 27 18:25:03 2017 -0800
diff -r 95896a6827bc -r 5818910fdd54 external/mit/sessreg/dist/Makefile.am
--- a/external/mit/sessreg/dist/Makefile.am     Mon Jul 08 20:04:05 2019 +0000
+++ b/external/mit/sessreg/dist/Makefile.am     Mon Jul 08 20:37:48 2019 +0000
@@ -46,3 +46,5 @@
        $(CHANGELOG_CMD)
 
 dist-hook: ChangeLog INSTALL
+
+EXTRA_DIST = README.md
diff -r 95896a6827bc -r 5818910fdd54 external/mit/sessreg/dist/Makefile.in
--- a/external/mit/sessreg/dist/Makefile.in     Mon Jul 08 20:04:05 2019 +0000
+++ b/external/mit/sessreg/dist/Makefile.in     Mon Jul 08 20:37:48 2019 +0000
@@ -201,8 +201,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)
@@ -377,6 +377,7 @@
 @LINT_TRUE@                $(AM_CPPFLAGS) $(CPPFLAGS)
 
 MAINTAINERCLEANFILES = ChangeLog INSTALL
+EXTRA_DIST = README.md
 all: config.h
        $(MAKE) $(AM_MAKEFLAGS) all-recursive
 
diff -r 95896a6827bc -r 5818910fdd54 external/mit/sessreg/dist/README.md
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/sessreg/dist/README.md       Mon Jul 08 20:37:48 2019 +0000
@@ -0,0 +1,19 @@
+Sessreg is a simple program for managing utmp/wtmp entries for X sessions.
+It was originally written for use with xdm, but may also be used with
+other display managers such as gdm or kdm.
+
+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/sessreg
+
+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 95896a6827bc -r 5818910fdd54 external/mit/sessreg/dist/aclocal.m4
--- a/external/mit/sessreg/dist/aclocal.m4      Mon Jul 08 20:04:05 2019 +0000
+++ b/external/mit/sessreg/dist/aclocal.m4      Mon Jul 08 20:37:48 2019 +0000
@@ -20,32 +20,63 @@
 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'.])])
 
-# pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*-
-# serial 1 (pkg-config-0.24)
-# 
-# Copyright © 2004 Scott James Remnant <scott%netsplit.com@localhost>.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-#
-# As a special exception to the GNU General Public License, if you
-# distribute this file as part of a program that contains a
-# configuration script generated by Autoconf, you may include it under
-# the same distribution terms that you use for the rest of that program.
+dnl pkg.m4 - Macros to locate and utilise pkg-config.   -*- Autoconf -*-
+dnl serial 11 (pkg-config-0.29)
+dnl
+dnl Copyright © 2004 Scott James Remnant <scott%netsplit.com@localhost>.
+dnl Copyright © 2012-2015 Dan Nicholson <dbn.lists%gmail.com@localhost>
+dnl
+dnl This program is free software; you can redistribute it and/or modify
+dnl it under the terms of the GNU General Public License as published by
+dnl the Free Software Foundation; either version 2 of the License, or
+dnl (at your option) any later version.
+dnl
+dnl This program is distributed in the hope that it will be useful, but
+dnl WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+dnl General Public License for more details.
+dnl
+dnl You should have received a copy of the GNU General Public License
+dnl along with this program; if not, write to the Free Software
+dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+dnl 02111-1307, USA.
+dnl
+dnl As a special exception to the GNU General Public License, if you
+dnl distribute this file as part of a program that contains a
+dnl configuration script generated by Autoconf, you may include it under
+dnl the same distribution terms that you use for the rest of that
+dnl program.
 
-# PKG_PROG_PKG_CONFIG([MIN-VERSION])
-# ----------------------------------
+dnl PKG_PREREQ(MIN-VERSION)
+dnl -----------------------
+dnl Since: 0.29
+dnl
+dnl Verify that the version of the pkg-config macros are at least
+dnl MIN-VERSION. Unlike PKG_PROG_PKG_CONFIG, which checks the user's
+dnl installed version of pkg-config, this checks the developer's version
+dnl of pkg.m4 when generating configure.
+dnl
+dnl To ensure that this macro is defined, also add:
+dnl m4_ifndef([PKG_PREREQ],
+dnl     [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])])
+dnl
+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_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
+
+dnl PKG_PROG_PKG_CONFIG([MIN-VERSION])
+dnl ----------------------------------
+dnl Since: 0.16
+dnl
+dnl Search for the pkg-config tool and set the PKG_CONFIG variable to
+dnl first found in the path. Checks that the version of pkg-config found
+dnl is at least MIN-VERSION. If MIN-VERSION is not specified, 0.9.0 is
+dnl used since that's the first version where most current features of
+dnl pkg-config existed.
 AC_DEFUN([PKG_PROG_PKG_CONFIG],
 [m4_pattern_forbid([^_?PKG_[A-Z_]+$])
 m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
@@ -67,18 +98,19 @@
                PKG_CONFIG=""
        fi
 fi[]dnl
-])# PKG_PROG_PKG_CONFIG
+])dnl PKG_PROG_PKG_CONFIG
 
-# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
-#
-# Check to see whether a particular set of modules exists.  Similar
-# to PKG_CHECK_MODULES(), but does not set variables or print errors.
-#
-# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
-# only at the first occurence in configure.ac, so if the first place
-# it's called might be skipped (such as if it is within an "if", you
-# have to call PKG_CHECK_EXISTS manually
-# --------------------------------------------------------------
+dnl PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+dnl -------------------------------------------------------------------
+dnl Since: 0.18
+dnl
+dnl Check to see whether a particular set of modules exists. Similar to
+dnl PKG_CHECK_MODULES(), but does not set variables or print errors.
+dnl
+dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
+dnl only at the first occurence in configure.ac, so if the first place
+dnl it's called might be skipped (such as if it is within an "if", you
+dnl have to call PKG_CHECK_EXISTS manually
 AC_DEFUN([PKG_CHECK_EXISTS],
 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
 if test -n "$PKG_CONFIG" && \
@@ -88,8 +120,10 @@
   $3])dnl
 fi])
 
-# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
-# ---------------------------------------------
+dnl _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
+dnl ---------------------------------------------
+dnl Internal wrapper calling pkg-config via PKG_CONFIG and setting
+dnl pkg_failed based on the result.
 m4_define([_PKG_CONFIG],
 [if test -n "$$1"; then
     pkg_cv_[]$1="$$1"
@@ -101,10 +135,11 @@
  else
     pkg_failed=untried
 fi[]dnl
-])# _PKG_CONFIG
+])dnl _PKG_CONFIG
 
-# _PKG_SHORT_ERRORS_SUPPORTED
-# -----------------------------
+dnl _PKG_SHORT_ERRORS_SUPPORTED
+dnl ---------------------------
+dnl Internal check to see if pkg-config supports short errors.
 AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
@@ -112,19 +147,17 @@
 else
         _pkg_short_errors_supported=no
 fi[]dnl
-])# _PKG_SHORT_ERRORS_SUPPORTED
+])dnl _PKG_SHORT_ERRORS_SUPPORTED
 
 
-# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
-# [ACTION-IF-NOT-FOUND])
-#
-#
-# Note that if there is a possibility the first call to
-# PKG_CHECK_MODULES might not happen, you should be sure to include an
-# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
-#
-#
-# --------------------------------------------------------------
+dnl PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
+dnl   [ACTION-IF-NOT-FOUND])
+dnl --------------------------------------------------------------
+dnl Since: 0.4.0
+dnl
+dnl Note that if there is a possibility the first call to
+dnl PKG_CHECK_MODULES might not happen, you should be sure to include an
+dnl explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
 AC_DEFUN([PKG_CHECK_MODULES],
 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
 AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
@@ -178,16 +211,40 @@
         AC_MSG_RESULT([yes])



Home | Main Index | Thread Index | Old Index