Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/openpam/dist OpenPAM Tabebuia ...



details:   https://anonhg.NetBSD.org/src/rev/66077440139a
branches:  trunk
changeset: 847243:66077440139a
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Dec 15 16:44:27 2019 +0000

description:
OpenPAM Tabebuia                                                2019-02-24

 - BUGFIX: Fix off-by-one bug in pam_getenv(3) which was introduced in
   OpenPAM Radula.

 - ENHANCE: Add unit tests for pam_{get,put,set}env(3).

diffstat:

 external/bsd/openpam/dist/CREDITS                             |    1 +
 external/bsd/openpam/dist/HISTORY                             |    9 +-
 external/bsd/openpam/dist/LICENSE                             |    2 +-
 external/bsd/openpam/dist/Makefile.in                         |   39 +-
 external/bsd/openpam/dist/RELNOTES                            |    4 +-
 external/bsd/openpam/dist/aclocal.m4                          |  192 +-
 external/bsd/openpam/dist/bin/Makefile.in                     |   31 +-
 external/bsd/openpam/dist/bin/openpam_dump_policy/Makefile.in |   50 +-
 external/bsd/openpam/dist/bin/pamtest/Makefile.in             |   46 +-
 external/bsd/openpam/dist/bin/su/Makefile.in                  |   46 +-
 external/bsd/openpam/dist/compile                             |   13 +-
 external/bsd/openpam/dist/config.h.in                         |    9 +-
 external/bsd/openpam/dist/configure                           |  630 +++++----
 external/bsd/openpam/dist/configure.ac                        |   38 +-
 external/bsd/openpam/dist/depcomp                             |   10 +-
 external/bsd/openpam/dist/doc/Makefile.in                     |   31 +-
 external/bsd/openpam/dist/doc/man/Makefile.in                 |   29 +-
 external/bsd/openpam/dist/include/Makefile.in                 |   31 +-
 external/bsd/openpam/dist/include/security/Makefile.in        |   29 +-
 external/bsd/openpam/dist/install-sh                          |    4 +-
 external/bsd/openpam/dist/lib/Makefile.in                     |   31 +-
 external/bsd/openpam/dist/lib/libpam/Makefile.in              |  306 +++-
 external/bsd/openpam/dist/m4/ax_pkg_config.m4                 |  157 ++
 external/bsd/openpam/dist/misc/Makefile.in                    |   29 +-
 external/bsd/openpam/dist/missing                             |   16 +-
 external/bsd/openpam/dist/modules/Makefile.in                 |   31 +-
 external/bsd/openpam/dist/modules/pam_deny/Makefile.in        |   71 +-
 external/bsd/openpam/dist/modules/pam_permit/Makefile.in      |   71 +-
 external/bsd/openpam/dist/modules/pam_return/Makefile.in      |   71 +-
 external/bsd/openpam/dist/modules/pam_unix/Makefile.in        |   74 +-
 external/bsd/openpam/dist/t/Makefile.am                       |   11 +-
 external/bsd/openpam/dist/t/Makefile.in                       |  169 +-
 external/bsd/openpam/dist/t/t_pam_env.c                       |  202 +++
 external/bsd/openpam/dist/t/t_pam_err.c                       |   63 +
 external/bsd/openpam/dist/t/t_pam_err.h                       |   44 +
 external/bsd/openpam/dist/test-driver                         |    6 +-
 36 files changed, 1741 insertions(+), 855 deletions(-)

diffs (truncated from 4712 to 300 lines):

diff -r e5152ea08f62 -r 66077440139a external/bsd/openpam/dist/CREDITS
--- a/external/bsd/openpam/dist/CREDITS Sun Dec 15 16:27:43 2019 +0000
+++ b/external/bsd/openpam/dist/CREDITS Sun Dec 15 16:44:27 2019 +0000
@@ -49,5 +49,6 @@
        Sebastian Krahmer <sebastian.krahmer%gmail.com@localhost>
        Solar Designer <solar%openwall.com@localhost>
        Takanori Saneto <sanewo%ba2.so-net.ne.jp@localhost>
+       Tim Creech <tcreech%tcreech.com@localhost>
        Wojciech A. Koszek <wkoszek%freebsd.org@localhost>
        Yar Tikhiy <yar%freebsd.org@localhost>
diff -r e5152ea08f62 -r 66077440139a external/bsd/openpam/dist/HISTORY
--- a/external/bsd/openpam/dist/HISTORY Sun Dec 15 16:27:43 2019 +0000
+++ b/external/bsd/openpam/dist/HISTORY Sun Dec 15 16:44:27 2019 +0000
@@ -1,3 +1,10 @@
+OpenPAM Tabebuia                                               2019-02-24
+
+ - BUGFIX: Fix off-by-one bug in pam_getenv(3) which was introduced in
+   OpenPAM Radula.
+
+ - ENHANCE: Add unit tests for pam_{get,put,set}env(3).
+============================================================================
 OpenPAM Resedacea                                              2017-04-30
 
  - BUGFIX: Reinstore the NULL check in pam_end(3) which was removed in
@@ -5,7 +12,7 @@
 
  - BUGFIX: Return PAM_SYMBOL_ERR instead of PAM_SYSTEM_ERR from the
    dispatcher when the required service function could not be found.
- 
+
  - ENHANCE: Introduce the PAM_BAD_HANDLE error code for when pamh is
    NULL in API functions that have a NULL check.
 
diff -r e5152ea08f62 -r 66077440139a external/bsd/openpam/dist/LICENSE
--- a/external/bsd/openpam/dist/LICENSE Sun Dec 15 16:27:43 2019 +0000
+++ b/external/bsd/openpam/dist/LICENSE Sun Dec 15 16:44:27 2019 +0000
@@ -1,6 +1,6 @@
 
 Copyright (c) 2002-2003 Networks Associates Technology, Inc.
-Copyright (c) 2004-2017 Dag-Erling Smørgrav
+Copyright (c) 2004-2019 Dag-Erling Smørgrav
 All rights reserved.
 
 This software was developed for the FreeBSD Project by ThinkSec AS and
diff -r e5152ea08f62 -r 66077440139a external/bsd/openpam/dist/Makefile.in
--- a/external/bsd/openpam/dist/Makefile.in     Sun Dec 15 16:27:43 2019 +0000
+++ b/external/bsd/openpam/dist/Makefile.in     Sun Dec 15 16:44:27 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,
@@ -92,10 +92,10 @@
 @WITH_DOC_TRUE@am__append_1 = doc
 subdir = .
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
-       $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
-       $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
-       $(top_srcdir)/configure.ac
+am__aclocal_m4_deps = $(top_srcdir)/m4/ax_pkg_config.m4 \
+       $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
+       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
+       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
        $(ACLOCAL_M4)
 DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
@@ -140,7 +140,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,
@@ -221,9 +221,9 @@
 CFLAGS = @CFLAGS@
 CPP = @CPP@
 CPPFLAGS = @CPPFLAGS@
+CRYB_TEST_CFLAGS = @CRYB_TEST_CFLAGS@
 CRYB_TEST_LIBS = @CRYB_TEST_LIBS@
-CRYPTO_LIBS = @CRYPTO_LIBS@
-CRYPT_LIBS = @CRYPT_LIBS@
+CRYB_TEST_VERSION = @CRYB_TEST_VERSION@
 CYGPATH_W = @CYGPATH_W@
 DEFS = @DEFS@
 DEPDIR = @DEPDIR@
@@ -271,6 +271,9 @@
 PACKAGE_URL = @PACKAGE_URL@
 PACKAGE_VERSION = @PACKAGE_VERSION@
 PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
 RANLIB = @RANLIB@
 SED = @SED@
 SET_MAKE = @SET_MAKE@
@@ -319,6 +322,7 @@
 mkdir_p = @mkdir_p@
 oldincludedir = @oldincludedir@
 pdfdir = @pdfdir@
+pkgconfigdir = @pkgconfigdir@
 prefix = @prefix@
 program_transform_name = @program_transform_name@
 psdir = @psdir@
@@ -367,8 +371,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)
@@ -512,7 +516,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'`; \
@@ -577,7 +584,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
@@ -603,7 +610,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
@@ -621,7 +628,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*) \
@@ -631,7 +638,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
diff -r e5152ea08f62 -r 66077440139a external/bsd/openpam/dist/RELNOTES
--- a/external/bsd/openpam/dist/RELNOTES        Sun Dec 15 16:27:43 2019 +0000
+++ b/external/bsd/openpam/dist/RELNOTES        Sun Dec 15 16:44:27 2019 +0000
@@ -1,6 +1,6 @@
 
-                Release notes for OpenPAM Resedacea
-                ===================================
+                 Release notes for OpenPAM Tabebuia
+                 ==================================
 
 OpenPAM is developed primarily on FreeBSD, but is expected to work on
 almost any POSIX-like platform that has GNU autotools, GNU make and
diff -r e5152ea08f62 -r 66077440139a external/bsd/openpam/dist/aclocal.m4
--- a/external/bsd/openpam/dist/aclocal.m4      Sun Dec 15 16:27:43 2019 +0000
+++ b/external/bsd/openpam/dist/aclocal.m4      Sun Dec 15 16:44:27 2019 +0000
@@ -1,6 +1,6 @@
-# generated automatically by aclocal 1.15 -*- Autoconf -*-
+# generated automatically by aclocal 1.16.1 -*- Autoconf -*-
 
-# Copyright (C) 1996-2014 Free Software Foundation, Inc.
+# Copyright (C) 1996-2018 Free Software Foundation, Inc.
 
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -20,7 +20,7 @@
 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'.])])
 
-# Copyright (C) 2002-2014 Free Software Foundation, Inc.
+# Copyright (C) 2002-2018 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -32,10 +32,10 @@
 # generated from the m4 files accompanying Automake X.Y.
 # (This private macro should not be called outside this file.)
 AC_DEFUN([AM_AUTOMAKE_VERSION],
-[am__api_version='1.15'
+[am__api_version='1.16'
 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
 dnl require some minimum version.  Point them to the right macro.
-m4_if([$1], [1.15], [],
+m4_if([$1], [1.16.1], [],
       [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
 ])
 
@@ -51,14 +51,14 @@
 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-[AM_AUTOMAKE_VERSION([1.15])dnl
+[AM_AUTOMAKE_VERSION([1.16.1])dnl
 m4_ifndef([AC_AUTOCONF_VERSION],
   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
 
 # AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
 
-# Copyright (C) 2001-2014 Free Software Foundation, Inc.
+# Copyright (C) 2001-2018 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -110,7 +110,7 @@
 
 # AM_CONDITIONAL                                            -*- Autoconf -*-
 
-# Copyright (C) 1997-2014 Free Software Foundation, Inc.
+# Copyright (C) 1997-2018 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -141,7 +141,7 @@
 Usually this means the macro was only invoked conditionally.]])
 fi])])
 
-# Copyright (C) 1999-2014 Free Software Foundation, Inc.
+# Copyright (C) 1999-2018 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -332,13 +332,12 @@
 
 # Generate code to set up dependency tracking.              -*- Autoconf -*-
 
-# Copyright (C) 1999-2014 Free Software Foundation, Inc.
+# Copyright (C) 1999-2018 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-
 # _AM_OUTPUT_DEPENDENCY_COMMANDS
 # ------------------------------
 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
@@ -346,49 +345,41 @@
   # Older Autoconf quotes --file arguments for eval, but not when files
   # are listed without --file.  Let's play safe and only enable the eval
   # if we detect the quoting.
-  case $CONFIG_FILES in
-  *\'*) eval set x "$CONFIG_FILES" ;;
-  *)   set x $CONFIG_FILES ;;
-  esac
+  # TODO: see whether this extra hack can be removed once we start
+  # requiring Autoconf 2.70 or later.
+  AS_CASE([$CONFIG_FILES],
+          [*\'*], [eval set x "$CONFIG_FILES"],
+          [*], [set x $CONFIG_FILES])
   shift
-  for mf
+  # Used to flag and report bootstrapping failures.
+  am_rc=0
+  for am_mf
   do
     # Strip MF so we end up with the name of the file.
-    mf=`echo "$mf" | sed -e 's/:.*$//'`
-    # Check whether this is an Automake generated Makefile or not.
-    # We used to match only the files named 'Makefile.in', but
-    # some people rename them; so instead we look at the file content.
-    # Grep'ing the first line is not enough: some people post-process
-    # each Makefile.in and add a new line on top of each file to say so.
-    # Grep'ing the whole file is not good either: AIX grep has a line
+    am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'`
+    # Check whether this is an Automake generated Makefile which includes
+    # dependency-tracking related rules and includes.
+    # Grep'ing the whole file directly is not great: AIX grep has a line
     # limit of 2048, but all sed's we know have understand at least 4000.
-    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
-      dirpart=`AS_DIRNAME("$mf")`



Home | Main Index | Thread Index | Old Index