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 Import ximenia (last was tabebuia)
details: https://anonhg.NetBSD.org/src/rev/4f0bbae5196b
branches: trunk
changeset: 377202:4f0bbae5196b
user: christos <christos%NetBSD.org@localhost>
date: Fri Jun 30 21:44:02 2023 +0000
description:
Import ximenia (last was tabebuia)
- BUGFIX: Fix race condition in openpam_ttyconv(3) when used with
expect scripts.
- BUGFIX: In openpam_set_option(3), when removing an option, properly
decrement the option count.
- BUGFIX: In openpam_subst(3), avoid incrementing past the end of the
template.
diffstat:
external/bsd/openpam/dist/CREDITS | 2 +
external/bsd/openpam/dist/HISTORY | 11 +
external/bsd/openpam/dist/LICENSE | 2 +-
external/bsd/openpam/dist/Makefile.am | 31 +-
external/bsd/openpam/dist/Makefile.in | 99 +-
external/bsd/openpam/dist/RELNOTES | 4 +-
external/bsd/openpam/dist/aclocal.m4 | 119 +-
external/bsd/openpam/dist/autogen.sh | 3 -
external/bsd/openpam/dist/bin/Makefile.am | 2 -
external/bsd/openpam/dist/bin/Makefile.in | 29 +-
external/bsd/openpam/dist/bin/openpam_dump_policy/Makefile.am | 2 -
external/bsd/openpam/dist/bin/openpam_dump_policy/Makefile.in | 29 +-
external/bsd/openpam/dist/bin/openpam_dump_policy/openpam_dump_policy.c | 2 -
external/bsd/openpam/dist/bin/pamtest/Makefile.am | 2 -
external/bsd/openpam/dist/bin/pamtest/Makefile.in | 29 +-
external/bsd/openpam/dist/bin/su/Makefile.am | 2 -
external/bsd/openpam/dist/bin/su/Makefile.in | 29 +-
external/bsd/openpam/dist/compile | 6 +-
external/bsd/openpam/dist/config.h.in | 114 +-
external/bsd/openpam/dist/configure | 10965 +++++++--
external/bsd/openpam/dist/configure.ac | 55 +-
external/bsd/openpam/dist/depcomp | 2 +-
external/bsd/openpam/dist/doc/Makefile.am | 2 -
external/bsd/openpam/dist/doc/Makefile.in | 29 +-
external/bsd/openpam/dist/doc/man/Makefile.am | 2 -
external/bsd/openpam/dist/doc/man/Makefile.in | 27 +-
external/bsd/openpam/dist/doc/man/openpam.man | 3 -
external/bsd/openpam/dist/doc/man/pam.man | 3 -
external/bsd/openpam/dist/freebsd/Makefile.in | 33 +
external/bsd/openpam/dist/include/Makefile.am | 2 -
external/bsd/openpam/dist/include/Makefile.in | 29 +-
external/bsd/openpam/dist/include/security/Makefile.am | 2 -
external/bsd/openpam/dist/include/security/Makefile.in | 29 +-
external/bsd/openpam/dist/install-sh | 170 +-
external/bsd/openpam/dist/lib/Makefile.am | 2 -
external/bsd/openpam/dist/lib/Makefile.in | 29 +-
external/bsd/openpam/dist/lib/libpam/Makefile.am | 2 -
external/bsd/openpam/dist/lib/libpam/Makefile.in | 29 +-
external/bsd/openpam/dist/ltmain.sh | 879 +-
external/bsd/openpam/dist/m4/ax_compiler_vendor.m4 | 117 +
external/bsd/openpam/dist/misc/Makefile.am | 2 +-
external/bsd/openpam/dist/misc/Makefile.in | 34 +-
external/bsd/openpam/dist/missing | 2 +-
external/bsd/openpam/dist/modules/Makefile.am | 2 -
external/bsd/openpam/dist/modules/Makefile.in | 29 +-
external/bsd/openpam/dist/modules/pam_deny/Makefile.am | 2 -
external/bsd/openpam/dist/modules/pam_deny/Makefile.in | 29 +-
external/bsd/openpam/dist/modules/pam_permit/Makefile.am | 2 -
external/bsd/openpam/dist/modules/pam_permit/Makefile.in | 29 +-
external/bsd/openpam/dist/modules/pam_return/Makefile.am | 2 -
external/bsd/openpam/dist/modules/pam_return/Makefile.in | 29 +-
external/bsd/openpam/dist/modules/pam_return/pam_return.c | 2 -
external/bsd/openpam/dist/modules/pam_unix/Makefile.am | 2 -
external/bsd/openpam/dist/modules/pam_unix/Makefile.in | 29 +-
external/bsd/openpam/dist/t/Makefile.am | 4 +-
external/bsd/openpam/dist/t/Makefile.in | 87 +-
external/bsd/openpam/dist/t/t_openpam_ctype.c | 2 -
external/bsd/openpam/dist/t/t_openpam_dispatch.c | 2 -
external/bsd/openpam/dist/t/t_openpam_straddch.c | 183 +
external/bsd/openpam/dist/t/t_openpam_subst.c | 105 +
external/bsd/openpam/dist/t/t_pam_conv.c | 2 -
external/bsd/openpam/dist/t/t_pam_conv.h | 2 -
external/bsd/openpam/dist/t/t_pam_env.c | 2 -
external/bsd/openpam/dist/t/t_pam_err.c | 2 -
external/bsd/openpam/dist/t/t_pam_err.h | 2 -
external/bsd/openpam/dist/test-driver | 25 +-
66 files changed, 9759 insertions(+), 3782 deletions(-)
diffs (truncated from 20778 to 300 lines):
diff -r 4f3d514151ee -r 4f0bbae5196b external/bsd/openpam/dist/CREDITS
--- a/external/bsd/openpam/dist/CREDITS Fri Jun 30 21:42:29 2023 +0000
+++ b/external/bsd/openpam/dist/CREDITS Fri Jun 30 21:44:02 2023 +0000
@@ -18,6 +18,7 @@ ideas:
Ankita Pal <pal.ankita.ankita%gmail.com@localhost>
Baptiste Daroussin <bapt%freebsd.org@localhost>
Brian Fundakowski Feldman <green%freebsd.org@localhost>
+ Brooks Davis <brooks%freebsd.org@localhost>
Christos Zoulas <christos%netbsd.org@localhost>
Daniel Richard G. <skunk%iskunk.org@localhost>
Darren J. Moffat <darren.moffat%sun.com@localhost>
@@ -44,6 +45,7 @@ ideas:
Mikko Työläjärvi <mbsd%pacbell.net@localhost>
Nick Hibma <nick%van-laarhoven.org@localhost>
Patrick Bihan-Faou <patrick-fbsd%mindstep.com@localhost>
+ Robert Morris <rtm%lcs.mit.edu@localhost>
Robert Watson <rwatson%freebsd.org@localhost>
Ruslan Ermilov <ru%freebsd.org@localhost>
Sebastian Krahmer <sebastian.krahmer%gmail.com@localhost>
diff -r 4f3d514151ee -r 4f0bbae5196b external/bsd/openpam/dist/HISTORY
--- a/external/bsd/openpam/dist/HISTORY Fri Jun 30 21:42:29 2023 +0000
+++ b/external/bsd/openpam/dist/HISTORY Fri Jun 30 21:44:02 2023 +0000
@@ -1,3 +1,14 @@
+OpenPAM Ximenia 2023-06-27
+
+ - BUGFIX: Fix race condition in openpam_ttyconv(3) when used with
+ expect scripts.
+
+ - BUGFIX: In openpam_set_option(3), when removing an option, properly
+ decrement the option count.
+
+ - BUGFIX: In openpam_subst(3), avoid incrementing past the end of the
+ template.
+============================================================================
OpenPAM Tabebuia 2019-02-24
- BUGFIX: Fix off-by-one bug in pam_getenv(3) which was introduced in
diff -r 4f3d514151ee -r 4f0bbae5196b external/bsd/openpam/dist/LICENSE
--- a/external/bsd/openpam/dist/LICENSE Fri Jun 30 21:42:29 2023 +0000
+++ b/external/bsd/openpam/dist/LICENSE Fri Jun 30 21:44:02 2023 +0000
@@ -1,6 +1,6 @@
Copyright (c) 2002-2003 Networks Associates Technology, Inc.
-Copyright (c) 2004-2019 Dag-Erling Smørgrav
+Copyright (c) 2004-2023 Dag-Erling Smørgrav
All rights reserved.
This software was developed for the FreeBSD Project by ThinkSec AS and
diff -r 4f3d514151ee -r 4f0bbae5196b external/bsd/openpam/dist/Makefile.am
--- a/external/bsd/openpam/dist/Makefile.am Fri Jun 30 21:42:29 2023 +0000
+++ b/external/bsd/openpam/dist/Makefile.am Fri Jun 30 21:44:02 2023 +0000
@@ -1,5 +1,3 @@
-# $OpenPAM: Makefile.am 938 2017-04-30 21:34:42Z des $
-
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = misc include lib bin modules
@@ -19,3 +17,32 @@ EXTRA_DIST = \
RELNOTES \
autogen.sh \
misc/gendoc.pl
+
+if WITH_CODE_COVERAGE
+covdir = @abs_top_builddir@/cov
+coverage: coverage-clean all coverage-prepare coverage-run coverage-report
+coverage-clean:
+ -rm -rf "${covdir}"
+coverage-prepare:
+ mkdir "${covdir}"
+if CLANG_CODE_COVERAGE
+profdata = ${covdir}/@PACKAGE@.profdata
+# hardcoding libpam.so here is horrible, need to find a better solution
+coverage-run:
+ LLVM_PROFILE_FILE="${covdir}/@PACKAGE@.%p.raw" \
+ ${MAKE} -C "@abs_top_builddir@" check
+coverage-report:
+ llvm-profdata@clang_ver@ merge \
+ --sparse "${covdir}/@PACKAGE@".*.raw -o "${profdata}"
+ llvm-cov@clang_ver@ show \
+ --format=html --tab-size=8 \
+ --output-dir="${covdir}" \
+ --instr-profile="${profdata}" \
+ --object "@abs_top_builddir@/lib/libpam/.libs/libpam.so"
+ @echo "coverage report: file://${covdir}/index.html"
+endif
+else
+coverage:
+ echo "code coverage is not enabled." >&2
+ false
+endif
diff -r 4f3d514151ee -r 4f0bbae5196b external/bsd/openpam/dist/Makefile.in
--- a/external/bsd/openpam/dist/Makefile.in Fri Jun 30 21:42:29 2023 +0000
+++ b/external/bsd/openpam/dist/Makefile.in Fri Jun 30 21:44:02 2023 +0000
@@ -1,7 +1,7 @@
-# Makefile.in generated by automake 1.16.1 from Makefile.am.
+# Makefile.in generated by automake 1.16.5 from Makefile.am.
# @configure_input@
-# Copyright (C) 1994-2018 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,
@@ -13,8 +13,6 @@
# PARTICULAR PURPOSE.
@SET_MAKE@
-
-# $OpenPAM: Makefile.am 938 2017-04-30 21:34:42Z des $
VPATH = @srcdir@
am__is_gnu_make = { \
if test -z '$(MAKELEVEL)'; then \
@@ -92,10 +90,11 @@ host_triplet = @host@
@WITH_DOC_TRUE@am__append_1 = doc
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-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__aclocal_m4_deps = $(top_srcdir)/m4/ax_compiler_vendor.m4 \
+ $(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 \
@@ -104,7 +103,7 @@ am__CONFIG_DISTCLEAN_FILES = config.stat
configure.lineno config.status.lineno
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = config.h
-CONFIG_CLEAN_FILES = mkpkgng
+CONFIG_CLEAN_FILES = freebsd/Makefile
CONFIG_CLEAN_VPATH_FILES =
AM_V_P = $(am__v_P_@AM_V@)
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
@@ -141,8 +140,8 @@ am__recursive_targets = \
$(am__extra_recursive_targets)
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
cscope distdir distdir-am dist dist-all distcheck
-am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
- $(LISP)config.h.in
+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.
@@ -159,13 +158,10 @@ am__define_uniq_tagged_files = \
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 = misc include lib bin modules doc t
am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
- $(srcdir)/mkpkgng.in INSTALL README TODO compile config.guess \
- config.sub install-sh ltmain.sh missing
+ $(top_srcdir)/freebsd/Makefile.in INSTALL README TODO compile \
+ config.guess config.sub depcomp install-sh ltmain.sh missing
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
@@ -204,6 +200,8 @@ am__relativize = \
DIST_ARCHIVES = $(distdir).tar.gz
GZIP_ENV = --best
DIST_TARGETS = 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$$'
@@ -224,6 +222,12 @@ CPPFLAGS = @CPPFLAGS@
CRYB_TEST_CFLAGS = @CRYB_TEST_CFLAGS@
CRYB_TEST_LIBS = @CRYB_TEST_LIBS@
CRYB_TEST_VERSION = @CRYB_TEST_VERSION@
+CSCOPE = @CSCOPE@
+CTAGS = @CTAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
@@ -235,8 +239,10 @@ ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
+ETAGS = @ETAGS@
EXEEXT = @EXEEXT@
FGREP = @FGREP@
+FILECMD = @FILECMD@
GREP = @GREP@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
@@ -287,6 +293,7 @@ abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
ac_ct_AR = @ac_ct_AR@
ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
@@ -300,6 +307,7 @@ build_cpu = @build_cpu@
build_os = @build_os@
build_vendor = @build_vendor@
builddir = @builddir@
+clang_ver = @clang_ver@
datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
@@ -326,6 +334,7 @@ pkgconfigdir = @pkgconfigdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
+runstatedir = @runstatedir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
@@ -346,6 +355,8 @@ EXTRA_DIST = \
autogen.sh \
misc/gendoc.pl
+@WITH_CODE_COVERAGE_TRUE@covdir = @abs_top_builddir@/cov
+@CLANG_CODE_COVERAGE_TRUE@@WITH_CODE_COVERAGE_TRUE@profdata = ${covdir}/@PACKAGE@.profdata
all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
@@ -398,7 +409,7 @@ stamp-h1: $(srcdir)/config.h.in $(top_bu
distclean-hdr:
-rm -f config.h stamp-h1
-mkpkgng: $(top_builddir)/config.status $(srcdir)/mkpkgng.in
+freebsd/Makefile: $(top_builddir)/config.status $(top_srcdir)/freebsd/Makefile.in
cd $(top_builddir) && $(SHELL) ./config.status $@
mostlyclean-libtool:
@@ -515,7 +526,6 @@ cscopelist-am: $(am__tagged_files)
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
@@ -599,6 +609,10 @@ dist-xz: distdir
tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
$(am__post_remove_distdir)
+dist-zstd: distdir
+ tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
+ $(am__post_remove_distdir)
+
dist-tarZ: distdir
@echo WARNING: "Support for distribution archives compressed with" \
"legacy program 'compress' is deprecated." >&2
@@ -641,6 +655,8 @@ distcheck: dist
eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
*.zip*) \
unzip $(distdir).zip ;;\
+ *.tar.zst*) \
+ zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
esac
chmod -R a-w $(distdir)
chmod u+w $(distdir)
@@ -656,7 +672,7 @@ distcheck: dist
$(DISTCHECK_CONFIGURE_FLAGS) \
--srcdir=../.. --prefix="$$dc_install_base" \
&& $(MAKE) $(AM_MAKEFLAGS) \
- && $(MAKE) $(AM_MAKEFLAGS) dvi \
+ && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
&& $(MAKE) $(AM_MAKEFLAGS) check \
&& $(MAKE) $(AM_MAKEFLAGS) install \
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
@@ -818,21 +834,42 @@ uninstall-am:
am--refresh check check-am clean clean-cscope clean-generic \
clean-libtool cscope cscopelist-am ctags ctags-am dist \
dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
- dist-xz dist-zip distcheck distclean distclean-generic \
- distclean-hdr distclean-libtool distclean-tags distcleancheck \
- distdir distuninstallcheck dvi dvi-am html html-am info \
- info-am install install-am 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-generic \
- mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
- uninstall-am
+ dist-xz dist-zip dist-zstd distcheck distclean \
+ distclean-generic distclean-hdr distclean-libtool \
+ distclean-tags distcleancheck distdir distuninstallcheck dvi \
+ dvi-am html html-am info info-am install install-am \
+ 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 \
Home |
Main Index |
Thread Index |
Old Index