summaryrefslogtreecommitdiffstats
path: root/contrib/openpam/doc
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2008-12-13 22:45:22 +0000
committerdes <des@FreeBSD.org>2008-12-13 22:45:22 +0000
commit646ea20decc87530f871e5c56e96980c93fcf391 (patch)
tree9151e2f3daf5644596ed8a0e176d5e719b780a10 /contrib/openpam/doc
parent5bb985da807ca1473ce8a14def069f52914bce8e (diff)
downloadFreeBSD-src-646ea20decc87530f871e5c56e96980c93fcf391.zip
FreeBSD-src-646ea20decc87530f871e5c56e96980c93fcf391.tar.gz
Flatten and clean up.
Diffstat (limited to 'contrib/openpam/doc')
-rw-r--r--contrib/openpam/doc/Makefile.am3
-rw-r--r--contrib/openpam/doc/Makefile.in489
-rw-r--r--contrib/openpam/doc/man/Makefile.am89
-rw-r--r--contrib/openpam/doc/man/Makefile.in517
-rw-r--r--contrib/openpam/doc/man/openpam.3144
-rw-r--r--contrib/openpam/doc/man/openpam.man13
-rw-r--r--contrib/openpam/doc/man/openpam_borrow_cred.395
-rw-r--r--contrib/openpam/doc/man/openpam_free_data.378
-rw-r--r--contrib/openpam/doc/man/openpam_free_envlist.375
-rw-r--r--contrib/openpam/doc/man/openpam_get_option.381
-rw-r--r--contrib/openpam/doc/man/openpam_log.3115
-rw-r--r--contrib/openpam/doc/man/openpam_nullconv.3102
-rw-r--r--contrib/openpam/doc/man/openpam_readline.3109
-rw-r--r--contrib/openpam/doc/man/openpam_restore_cred.387
-rw-r--r--contrib/openpam/doc/man/openpam_set_option.384
-rw-r--r--contrib/openpam/doc/man/openpam_ttyconv.397
-rw-r--r--contrib/openpam/doc/man/pam.3293
-rw-r--r--contrib/openpam/doc/man/pam.conf.5178
-rw-r--r--contrib/openpam/doc/man/pam.man99
-rw-r--r--contrib/openpam/doc/man/pam_acct_mgmt.3114
-rw-r--r--contrib/openpam/doc/man/pam_authenticate.3128
-rw-r--r--contrib/openpam/doc/man/pam_chauthtok.3120
-rw-r--r--contrib/openpam/doc/man/pam_close_session.3110
-rw-r--r--contrib/openpam/doc/man/pam_conv.3183
-rw-r--r--contrib/openpam/doc/man/pam_end.387
-rw-r--r--contrib/openpam/doc/man/pam_error.387
-rw-r--r--contrib/openpam/doc/man/pam_get_authtok.3134
-rw-r--r--contrib/openpam/doc/man/pam_get_data.396
-rw-r--r--contrib/openpam/doc/man/pam_get_item.3129
-rw-r--r--contrib/openpam/doc/man/pam_get_user.3111
-rw-r--r--contrib/openpam/doc/man/pam_getenv.385
-rw-r--r--contrib/openpam/doc/man/pam_getenvlist.3106
-rw-r--r--contrib/openpam/doc/man/pam_info.387
-rw-r--r--contrib/openpam/doc/man/pam_open_session.3111
-rw-r--r--contrib/openpam/doc/man/pam_prompt.399
-rw-r--r--contrib/openpam/doc/man/pam_putenv.390
-rw-r--r--contrib/openpam/doc/man/pam_set_data.3100
-rw-r--r--contrib/openpam/doc/man/pam_set_item.394
-rw-r--r--contrib/openpam/doc/man/pam_setcred.3123
-rw-r--r--contrib/openpam/doc/man/pam_setenv.389
-rw-r--r--contrib/openpam/doc/man/pam_sm_acct_mgmt.3104
-rw-r--r--contrib/openpam/doc/man/pam_sm_authenticate.3106
-rw-r--r--contrib/openpam/doc/man/pam_sm_chauthtok.3106
-rw-r--r--contrib/openpam/doc/man/pam_sm_close_session.398
-rw-r--r--contrib/openpam/doc/man/pam_sm_open_session.398
-rw-r--r--contrib/openpam/doc/man/pam_sm_setcred.3104
-rw-r--r--contrib/openpam/doc/man/pam_start.3109
-rw-r--r--contrib/openpam/doc/man/pam_strerror.381
-rw-r--r--contrib/openpam/doc/man/pam_verror.391
-rw-r--r--contrib/openpam/doc/man/pam_vinfo.391
-rw-r--r--contrib/openpam/doc/man/pam_vprompt.3128
51 files changed, 0 insertions, 6147 deletions
diff --git a/contrib/openpam/doc/Makefile.am b/contrib/openpam/doc/Makefile.am
deleted file mode 100644
index 374d969..0000000
--- a/contrib/openpam/doc/Makefile.am
+++ /dev/null
@@ -1,3 +0,0 @@
-# $Id: Makefile.am 320 2006-02-16 20:33:19Z des $
-
-SUBDIRS = man
diff --git a/contrib/openpam/doc/Makefile.in b/contrib/openpam/doc/Makefile.in
deleted file mode 100644
index c89496a..0000000
--- a/contrib/openpam/doc/Makefile.in
+++ /dev/null
@@ -1,489 +0,0 @@
-# Makefile.in generated by automake 1.9.6 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005 Free Software Foundation, Inc.
-# This Makefile.in 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.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-
-# $Id: Makefile.am 320 2006-02-16 20:33:19Z des $
-srcdir = @srcdir@
-top_srcdir = @top_srcdir@
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-top_builddir = ..
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-INSTALL = @INSTALL@
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-target_triplet = @target@
-subdir = doc
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
- $(ACLOCAL_M4)
-mkinstalldirs = $(install_sh) -d
-CONFIG_HEADER = $(top_builddir)/config.h
-CONFIG_CLEAN_FILES =
-SOURCES =
-DIST_SOURCES =
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
- html-recursive info-recursive install-data-recursive \
- install-exec-recursive install-info-recursive \
- install-recursive installcheck-recursive installdirs-recursive \
- pdf-recursive ps-recursive uninstall-info-recursive \
- uninstall-recursive
-ETAGS = etags
-CTAGS = ctags
-DIST_SUBDIRS = $(SUBDIRS)
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-ACLOCAL = @ACLOCAL@
-AMDEP_FALSE = @AMDEP_FALSE@
-AMDEP_TRUE = @AMDEP_TRUE@
-AMTAR = @AMTAR@
-AR = @AR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CFLAGS = @CFLAGS@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CRYPT_LIBS = @CRYPT_LIBS@
-CXX = @CXX@
-CXXCPP = @CXXCPP@
-CXXDEPMODE = @CXXDEPMODE@
-CXXFLAGS = @CXXFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DL_LIBS = @DL_LIBS@
-ECHO = @ECHO@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-F77 = @F77@
-FFLAGS = @FFLAGS@
-GREP = @GREP@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-LDFLAGS = @LDFLAGS@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LIBTOOL = @LIBTOOL@
-LIB_MAJ = @LIB_MAJ@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAKEINFO = @MAKEINFO@
-OBJEXT = @OBJEXT@
-OPENPAM_MODULES_DIR = @OPENPAM_MODULES_DIR@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-RANLIB = @RANLIB@
-SED = @SED@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRIP = @STRIP@
-VERSION = @VERSION@
-WITH_DOC_FALSE = @WITH_DOC_FALSE@
-WITH_DOC_TRUE = @WITH_DOC_TRUE@
-WITH_PAM_UNIX_FALSE = @WITH_PAM_UNIX_FALSE@
-WITH_PAM_UNIX_TRUE = @WITH_PAM_UNIX_TRUE@
-WITH_SU_FALSE = @WITH_SU_FALSE@
-WITH_SU_TRUE = @WITH_SU_TRUE@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_CXX = @ac_ct_CXX@
-ac_ct_F77 = @ac_ct_F77@
-am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
-am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
-am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
-am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-sysconfdir = @sysconfdir@
-target = @target@
-target_alias = @target_alias@
-target_cpu = @target_cpu@
-target_os = @target_os@
-target_vendor = @target_vendor@
-SUBDIRS = man
-all: all-recursive
-
-.SUFFIXES:
-$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
- @for dep in $?; do \
- case '$(am__configure_deps)' in \
- *$$dep*) \
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
- && exit 0; \
- exit 1;; \
- esac; \
- done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/Makefile'; \
- cd $(top_srcdir) && \
- $(AUTOMAKE) --foreign doc/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- @case '$?' in \
- *config.status*) \
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
- *) \
- echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
- cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
- esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: $(am__configure_deps)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): $(am__aclocal_m4_deps)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-mostlyclean-libtool:
- -rm -f *.lo
-
-clean-libtool:
- -rm -rf .libs _libs
-
-distclean-libtool:
- -rm -f libtool
-uninstall-info-am:
-
-# This directory's subdirectories are mostly independent; you can cd
-# into them and run `make' without going through this Makefile.
-# To change the values of `make' variables: instead of editing Makefiles,
-# (1) if the variable is set in `config.status', edit `config.status'
-# (which will cause the Makefiles to be regenerated when you run `make');
-# (2) otherwise, pass the desired values on the `make' command line.
-$(RECURSIVE_TARGETS):
- @failcom='exit 1'; \
- for f in x $$MAKEFLAGS; do \
- case $$f in \
- *=* | --[!k]*);; \
- *k*) failcom='fail=yes';; \
- esac; \
- done; \
- dot_seen=no; \
- target=`echo $@ | sed s/-recursive//`; \
- list='$(SUBDIRS)'; for subdir in $$list; do \
- echo "Making $$target in $$subdir"; \
- if test "$$subdir" = "."; then \
- dot_seen=yes; \
- local_target="$$target-am"; \
- else \
- local_target="$$target"; \
- fi; \
- (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- || eval $$failcom; \
- done; \
- if test "$$dot_seen" = "no"; then \
- $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
- fi; test -z "$$fail"
-
-mostlyclean-recursive clean-recursive distclean-recursive \
-maintainer-clean-recursive:
- @failcom='exit 1'; \
- for f in x $$MAKEFLAGS; do \
- case $$f in \
- *=* | --[!k]*);; \
- *k*) failcom='fail=yes';; \
- esac; \
- done; \
- dot_seen=no; \
- case "$@" in \
- distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
- *) list='$(SUBDIRS)' ;; \
- esac; \
- rev=''; for subdir in $$list; do \
- if test "$$subdir" = "."; then :; else \
- rev="$$subdir $$rev"; \
- fi; \
- done; \
- rev="$$rev ."; \
- target=`echo $@ | sed s/-recursive//`; \
- for subdir in $$rev; do \
- echo "Making $$target in $$subdir"; \
- if test "$$subdir" = "."; then \
- local_target="$$target-am"; \
- else \
- local_target="$$target"; \
- fi; \
- (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- || eval $$failcom; \
- done && test -z "$$fail"
-tags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
- done
-ctags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
- done
-
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) ' { files[$$0] = 1; } \
- END { for (i in files) print i; }'`; \
- mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- tags=; \
- here=`pwd`; \
- if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
- include_option=--etags-include; \
- empty_fix=.; \
- else \
- include_option=--include; \
- empty_fix=; \
- fi; \
- list='$(SUBDIRS)'; for subdir in $$list; do \
- if test "$$subdir" = .; then :; else \
- test ! -f $$subdir/TAGS || \
- tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
- fi; \
- done; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) ' { files[$$0] = 1; } \
- END { for (i in files) print i; }'`; \
- if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
- test -n "$$unique" || unique=$$empty_fix; \
- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- $$tags $$unique; \
- fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- tags=; \
- here=`pwd`; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) ' { files[$$0] = 1; } \
- END { for (i in files) print i; }'`; \
- test -z "$(CTAGS_ARGS)$$tags$$unique" \
- || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
- $$tags $$unique
-
-GTAGS:
- here=`$(am__cd) $(top_builddir) && pwd` \
- && cd $(top_srcdir) \
- && gtags -i $(GTAGS_ARGS) $$here
-
-distclean-tags:
- -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-
-distdir: $(DISTFILES)
- @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
- topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
- list='$(DISTFILES)'; for file in $$list; do \
- case $$file in \
- $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
- $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
- esac; \
- if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
- dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
- if test "$$dir" != "$$file" && test "$$dir" != "."; then \
- dir="/$$dir"; \
- $(mkdir_p) "$(distdir)$$dir"; \
- else \
- dir=''; \
- fi; \
- if test -d $$d/$$file; then \
- if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
- cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
- fi; \
- cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
- else \
- test -f $(distdir)/$$file \
- || cp -p $$d/$$file $(distdir)/$$file \
- || exit 1; \
- fi; \
- done
- list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
- if test "$$subdir" = .; then :; else \
- test -d "$(distdir)/$$subdir" \
- || $(mkdir_p) "$(distdir)/$$subdir" \
- || exit 1; \
- distdir=`$(am__cd) $(distdir) && pwd`; \
- top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
- (cd $$subdir && \
- $(MAKE) $(AM_MAKEFLAGS) \
- top_distdir="$$top_distdir" \
- distdir="$$distdir/$$subdir" \
- distdir) \
- || exit 1; \
- fi; \
- done
-check-am: all-am
-check: check-recursive
-all-am: Makefile
-installdirs: installdirs-recursive
-installdirs-am:
-install: install-recursive
-install-exec: install-exec-recursive
-install-data: install-data-recursive
-uninstall: uninstall-recursive
-
-install-am: all-am
- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-recursive
-install-strip:
- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- `test -z '$(STRIP)' || \
- echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
-mostlyclean-generic:
-
-clean-generic:
-
-distclean-generic:
- -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-
-maintainer-clean-generic:
- @echo "This command is intended for maintainers to use"
- @echo "it deletes files that may require special tools to rebuild."
-clean: clean-recursive
-
-clean-am: clean-generic clean-libtool mostlyclean-am
-
-distclean: distclean-recursive
- -rm -f Makefile
-distclean-am: clean-am distclean-generic distclean-libtool \
- distclean-tags
-
-dvi: dvi-recursive
-
-dvi-am:
-
-html: html-recursive
-
-info: info-recursive
-
-info-am:
-
-install-data-am:
-
-install-exec-am:
-
-install-info: install-info-recursive
-
-install-man:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-recursive
- -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-recursive
-
-mostlyclean-am: mostlyclean-generic mostlyclean-libtool
-
-pdf: pdf-recursive
-
-pdf-am:
-
-ps: ps-recursive
-
-ps-am:
-
-uninstall-am: uninstall-info-am
-
-uninstall-info: uninstall-info-recursive
-
-.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
- clean clean-generic clean-libtool clean-recursive ctags \
- ctags-recursive distclean distclean-generic distclean-libtool \
- distclean-recursive distclean-tags distdir dvi dvi-am html \
- html-am info info-am install install-am install-data \
- install-data-am install-exec install-exec-am install-info \
- install-info-am install-man install-strip installcheck \
- installcheck-am installdirs installdirs-am maintainer-clean \
- maintainer-clean-generic maintainer-clean-recursive \
- mostlyclean mostlyclean-generic mostlyclean-libtool \
- mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
- uninstall uninstall-am uninstall-info-am
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
diff --git a/contrib/openpam/doc/man/Makefile.am b/contrib/openpam/doc/man/Makefile.am
deleted file mode 100644
index 0a69e7a..0000000
--- a/contrib/openpam/doc/man/Makefile.am
+++ /dev/null
@@ -1,89 +0,0 @@
-# $Id: Makefile.am 397 2007-10-24 10:01:13Z des $
-
-NULL =
-
-# Standard PAM API
-PMAN = \
- pam_acct_mgmt.3 \
- pam_authenticate.3 \
- pam_chauthtok.3 \
- pam_close_session.3 \
- pam_end.3 \
- pam_get_data.3 \
- pam_get_item.3 \
- pam_get_user.3 \
- pam_getenv.3 \
- pam_getenvlist.3 \
- pam_open_session.3 \
- pam_putenv.3 \
- pam_set_data.3 \
- pam_set_item.3 \
- pam_setcred.3 \
- pam_start.3 \
- pam_strerror.3 \
- $(NULL)
-
-# Standard module API
-MMAN = \
- pam_sm_acct_mgmt.3 \
- pam_sm_authenticate.3 \
- pam_sm_chauthtok.3 \
- pam_sm_close_session.3 \
- pam_sm_open_session.3 \
- pam_sm_setcred.3 \
- $(NULL)
-
-# OpenPAM extensions
-OMAN = \
- openpam_borrow_cred.3 \
- openpam_free_data.3 \
- openpam_free_envlist.3 \
- openpam_get_option.3 \
- openpam_log.3 \
- openpam_nullconv.3 \
- openpam_readline.3 \
- openpam_restore_cred.3 \
- openpam_set_option.3 \
- openpam_ttyconv.3 \
- pam_error.3 \
- pam_get_authtok.3 \
- pam_info.3 \
- pam_prompt.3 \
- pam_setenv.3 \
- pam_verror.3 \
- pam_vinfo.3 \
- pam_vprompt.3 \
- $(NULL)
-
-EXTRA_DIST = openpam.man pam.man
-
-ALLCMAN = $(PMAN) $(MMAN) $(OMAN)
-
-LINKS = $(ALLCMAN:.3=.c) openpam_configure.c openpam_dispatch.c
-
-dist_man3_MANS = $(ALLCMAN) openpam.3 pam.3 pam_conv.3
-
-dist_man5_MANS = pam.conf.5
-
-CLEANFILES = $(ALLCMAN) $(LINKS) openpam.3 pam.3 symlink-stamp
-
-GENDOC = $(top_srcdir)/misc/gendoc.pl
-
-SUFFIXES = .3
-
-$(LINKS): symlink-stamp
-
-symlink-stamp: Makefile
- for lnk in $(LINKS); do \
- ln -sf $(top_srcdir)/lib/$$lnk . || exit; \
- done
- touch symlink-stamp
-
-.c.3: symlink-stamp
- perl -w $(GENDOC) $<
-
-openpam.3: $(OMAN) $(GENDOC) openpam.man
- perl -w $(GENDOC) -o $(OMAN) <$(srcdir)/openpam.man
-
-pam.3: $(PMAN) $(GENDOC) pam.man
- perl -w $(GENDOC) -p $(PMAN) <$(srcdir)/pam.man
diff --git a/contrib/openpam/doc/man/Makefile.in b/contrib/openpam/doc/man/Makefile.in
deleted file mode 100644
index ae51f41..0000000
--- a/contrib/openpam/doc/man/Makefile.in
+++ /dev/null
@@ -1,517 +0,0 @@
-# Makefile.in generated by automake 1.9.6 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005 Free Software Foundation, Inc.
-# This Makefile.in 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.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-
-# $Id: Makefile.am 397 2007-10-24 10:01:13Z des $
-srcdir = @srcdir@
-top_srcdir = @top_srcdir@
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-top_builddir = ../..
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-INSTALL = @INSTALL@
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-target_triplet = @target@
-subdir = doc/man
-DIST_COMMON = $(dist_man3_MANS) $(dist_man5_MANS) \
- $(srcdir)/Makefile.am $(srcdir)/Makefile.in
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
- $(ACLOCAL_M4)
-mkinstalldirs = $(install_sh) -d
-CONFIG_HEADER = $(top_builddir)/config.h
-CONFIG_CLEAN_FILES =
-SOURCES =
-DIST_SOURCES =
-man3dir = $(mandir)/man3
-am__installdirs = "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(man5dir)"
-man5dir = $(mandir)/man5
-NROFF = nroff
-MANS = $(dist_man3_MANS) $(dist_man5_MANS)
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-ACLOCAL = @ACLOCAL@
-AMDEP_FALSE = @AMDEP_FALSE@
-AMDEP_TRUE = @AMDEP_TRUE@
-AMTAR = @AMTAR@
-AR = @AR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CFLAGS = @CFLAGS@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CRYPT_LIBS = @CRYPT_LIBS@
-CXX = @CXX@
-CXXCPP = @CXXCPP@
-CXXDEPMODE = @CXXDEPMODE@
-CXXFLAGS = @CXXFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DL_LIBS = @DL_LIBS@
-ECHO = @ECHO@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-F77 = @F77@
-FFLAGS = @FFLAGS@
-GREP = @GREP@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-LDFLAGS = @LDFLAGS@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LIBTOOL = @LIBTOOL@
-LIB_MAJ = @LIB_MAJ@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAKEINFO = @MAKEINFO@
-OBJEXT = @OBJEXT@
-OPENPAM_MODULES_DIR = @OPENPAM_MODULES_DIR@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-RANLIB = @RANLIB@
-SED = @SED@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRIP = @STRIP@
-VERSION = @VERSION@
-WITH_DOC_FALSE = @WITH_DOC_FALSE@
-WITH_DOC_TRUE = @WITH_DOC_TRUE@
-WITH_PAM_UNIX_FALSE = @WITH_PAM_UNIX_FALSE@
-WITH_PAM_UNIX_TRUE = @WITH_PAM_UNIX_TRUE@
-WITH_SU_FALSE = @WITH_SU_FALSE@
-WITH_SU_TRUE = @WITH_SU_TRUE@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_CXX = @ac_ct_CXX@
-ac_ct_F77 = @ac_ct_F77@
-am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
-am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
-am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
-am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-sysconfdir = @sysconfdir@
-target = @target@
-target_alias = @target_alias@
-target_cpu = @target_cpu@
-target_os = @target_os@
-target_vendor = @target_vendor@
-NULL =
-
-# Standard PAM API
-PMAN = \
- pam_acct_mgmt.3 \
- pam_authenticate.3 \
- pam_chauthtok.3 \
- pam_close_session.3 \
- pam_end.3 \
- pam_get_data.3 \
- pam_get_item.3 \
- pam_get_user.3 \
- pam_getenv.3 \
- pam_getenvlist.3 \
- pam_open_session.3 \
- pam_putenv.3 \
- pam_set_data.3 \
- pam_set_item.3 \
- pam_setcred.3 \
- pam_start.3 \
- pam_strerror.3 \
- $(NULL)
-
-
-# Standard module API
-MMAN = \
- pam_sm_acct_mgmt.3 \
- pam_sm_authenticate.3 \
- pam_sm_chauthtok.3 \
- pam_sm_close_session.3 \
- pam_sm_open_session.3 \
- pam_sm_setcred.3 \
- $(NULL)
-
-
-# OpenPAM extensions
-OMAN = \
- openpam_borrow_cred.3 \
- openpam_free_data.3 \
- openpam_free_envlist.3 \
- openpam_get_option.3 \
- openpam_log.3 \
- openpam_nullconv.3 \
- openpam_readline.3 \
- openpam_restore_cred.3 \
- openpam_set_option.3 \
- openpam_ttyconv.3 \
- pam_error.3 \
- pam_get_authtok.3 \
- pam_info.3 \
- pam_prompt.3 \
- pam_setenv.3 \
- pam_verror.3 \
- pam_vinfo.3 \
- pam_vprompt.3 \
- $(NULL)
-
-EXTRA_DIST = openpam.man pam.man
-ALLCMAN = $(PMAN) $(MMAN) $(OMAN)
-LINKS = $(ALLCMAN:.3=.c) openpam_configure.c openpam_dispatch.c
-dist_man3_MANS = $(ALLCMAN) openpam.3 pam.3 pam_conv.3
-dist_man5_MANS = pam.conf.5
-CLEANFILES = $(ALLCMAN) $(LINKS) openpam.3 pam.3 symlink-stamp
-GENDOC = $(top_srcdir)/misc/gendoc.pl
-SUFFIXES = .3
-all: all-am
-
-.SUFFIXES:
-.SUFFIXES: .3 .c
-$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
- @for dep in $?; do \
- case '$(am__configure_deps)' in \
- *$$dep*) \
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
- && exit 0; \
- exit 1;; \
- esac; \
- done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/man/Makefile'; \
- cd $(top_srcdir) && \
- $(AUTOMAKE) --foreign doc/man/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- @case '$?' in \
- *config.status*) \
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
- *) \
- echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
- cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
- esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: $(am__configure_deps)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): $(am__aclocal_m4_deps)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-mostlyclean-libtool:
- -rm -f *.lo
-
-clean-libtool:
- -rm -rf .libs _libs
-
-distclean-libtool:
- -rm -f libtool
-uninstall-info-am:
-install-man3: $(man3_MANS) $(man_MANS)
- @$(NORMAL_INSTALL)
- test -z "$(man3dir)" || $(mkdir_p) "$(DESTDIR)$(man3dir)"
- @list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
- l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
- for i in $$l2; do \
- case "$$i" in \
- *.3*) list="$$list $$i" ;; \
- esac; \
- done; \
- for i in $$list; do \
- if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
- else file=$$i; fi; \
- ext=`echo $$i | sed -e 's/^.*\\.//'`; \
- case "$$ext" in \
- 3*) ;; \
- *) ext='3' ;; \
- esac; \
- inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
- inst=`echo $$inst | sed -e 's/^.*\///'`; \
- inst=`echo $$inst | sed '$(transform)'`.$$ext; \
- echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \
- $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst"; \
- done
-uninstall-man3:
- @$(NORMAL_UNINSTALL)
- @list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
- l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
- for i in $$l2; do \
- case "$$i" in \
- *.3*) list="$$list $$i" ;; \
- esac; \
- done; \
- for i in $$list; do \
- ext=`echo $$i | sed -e 's/^.*\\.//'`; \
- case "$$ext" in \
- 3*) ;; \
- *) ext='3' ;; \
- esac; \
- inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
- inst=`echo $$inst | sed -e 's/^.*\///'`; \
- inst=`echo $$inst | sed '$(transform)'`.$$ext; \
- echo " rm -f '$(DESTDIR)$(man3dir)/$$inst'"; \
- rm -f "$(DESTDIR)$(man3dir)/$$inst"; \
- done
-install-man5: $(man5_MANS) $(man_MANS)
- @$(NORMAL_INSTALL)
- test -z "$(man5dir)" || $(mkdir_p) "$(DESTDIR)$(man5dir)"
- @list='$(man5_MANS) $(dist_man5_MANS) $(nodist_man5_MANS)'; \
- l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
- for i in $$l2; do \
- case "$$i" in \
- *.5*) list="$$list $$i" ;; \
- esac; \
- done; \
- for i in $$list; do \
- if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
- else file=$$i; fi; \
- ext=`echo $$i | sed -e 's/^.*\\.//'`; \
- case "$$ext" in \
- 5*) ;; \
- *) ext='5' ;; \
- esac; \
- inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
- inst=`echo $$inst | sed -e 's/^.*\///'`; \
- inst=`echo $$inst | sed '$(transform)'`.$$ext; \
- echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man5dir)/$$inst'"; \
- $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man5dir)/$$inst"; \
- done
-uninstall-man5:
- @$(NORMAL_UNINSTALL)
- @list='$(man5_MANS) $(dist_man5_MANS) $(nodist_man5_MANS)'; \
- l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
- for i in $$l2; do \
- case "$$i" in \
- *.5*) list="$$list $$i" ;; \
- esac; \
- done; \
- for i in $$list; do \
- ext=`echo $$i | sed -e 's/^.*\\.//'`; \
- case "$$ext" in \
- 5*) ;; \
- *) ext='5' ;; \
- esac; \
- inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
- inst=`echo $$inst | sed -e 's/^.*\///'`; \
- inst=`echo $$inst | sed '$(transform)'`.$$ext; \
- echo " rm -f '$(DESTDIR)$(man5dir)/$$inst'"; \
- rm -f "$(DESTDIR)$(man5dir)/$$inst"; \
- done
-tags: TAGS
-TAGS:
-
-ctags: CTAGS
-CTAGS:
-
-
-distdir: $(DISTFILES)
- @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
- topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
- list='$(DISTFILES)'; for file in $$list; do \
- case $$file in \
- $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
- $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
- esac; \
- if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
- dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
- if test "$$dir" != "$$file" && test "$$dir" != "."; then \
- dir="/$$dir"; \
- $(mkdir_p) "$(distdir)$$dir"; \
- else \
- dir=''; \
- fi; \
- if test -d $$d/$$file; then \
- if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
- cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
- fi; \
- cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
- else \
- test -f $(distdir)/$$file \
- || cp -p $$d/$$file $(distdir)/$$file \
- || exit 1; \
- fi; \
- done
-check-am: all-am
-check: check-am
-all-am: Makefile $(MANS)
-installdirs:
- for dir in "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(man5dir)"; do \
- test -z "$$dir" || $(mkdir_p) "$$dir"; \
- done
-install: install-am
-install-exec: install-exec-am
-install-data: install-data-am
-uninstall: uninstall-am
-
-install-am: all-am
- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-am
-install-strip:
- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- `test -z '$(STRIP)' || \
- echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
-mostlyclean-generic:
-
-clean-generic:
- -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
-
-distclean-generic:
- -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-
-maintainer-clean-generic:
- @echo "This command is intended for maintainers to use"
- @echo "it deletes files that may require special tools to rebuild."
-clean: clean-am
-
-clean-am: clean-generic clean-libtool mostlyclean-am
-
-distclean: distclean-am
- -rm -f Makefile
-distclean-am: clean-am distclean-generic distclean-libtool
-
-dvi: dvi-am
-
-dvi-am:
-
-html: html-am
-
-info: info-am
-
-info-am:
-
-install-data-am: install-man
-
-install-exec-am:
-
-install-info: install-info-am
-
-install-man: install-man3 install-man5
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-am
- -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-am
-
-mostlyclean-am: mostlyclean-generic mostlyclean-libtool
-
-pdf: pdf-am
-
-pdf-am:
-
-ps: ps-am
-
-ps-am:
-
-uninstall-am: uninstall-info-am uninstall-man
-
-uninstall-man: uninstall-man3 uninstall-man5
-
-.PHONY: all all-am check check-am clean clean-generic clean-libtool \
- distclean distclean-generic distclean-libtool distdir dvi \
- dvi-am html html-am info info-am install install-am \
- install-data install-data-am install-exec install-exec-am \
- install-info install-info-am install-man install-man3 \
- install-man5 install-strip installcheck installcheck-am \
- installdirs maintainer-clean maintainer-clean-generic \
- mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
- ps ps-am uninstall uninstall-am uninstall-info-am \
- uninstall-man uninstall-man3 uninstall-man5
-
-
-$(LINKS): symlink-stamp
-
-symlink-stamp: Makefile
- for lnk in $(LINKS); do \
- ln -sf $(top_srcdir)/lib/$$lnk . || exit; \
- done
- touch symlink-stamp
-
-.c.3: symlink-stamp
- perl -w $(GENDOC) $<
-
-openpam.3: $(OMAN) $(GENDOC) openpam.man
- perl -w $(GENDOC) -o $(OMAN) <$(srcdir)/openpam.man
-
-pam.3: $(PMAN) $(GENDOC) pam.man
- perl -w $(GENDOC) -p $(PMAN) <$(srcdir)/pam.man
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
diff --git a/contrib/openpam/doc/man/openpam.3 b/contrib/openpam/doc/man/openpam.3
deleted file mode 100644
index eb23a76..0000000
--- a/contrib/openpam/doc/man/openpam.3
+++ /dev/null
@@ -1,144 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt OPENPAM 3
-.Os
-.Sh NAME
-.Nm openpam_borrow_cred ,
-.Nm openpam_free_data ,
-.Nm openpam_free_envlist ,
-.Nm openpam_get_option ,
-.Nm openpam_log ,
-.Nm openpam_nullconv ,
-.Nm openpam_readline ,
-.Nm openpam_restore_cred ,
-.Nm openpam_set_option ,
-.Nm openpam_ttyconv ,
-.Nm pam_error ,
-.Nm pam_get_authtok ,
-.Nm pam_info ,
-.Nm pam_prompt ,
-.Nm pam_setenv ,
-.Nm pam_verror ,
-.Nm pam_vinfo ,
-.Nm pam_vprompt
-.Nd Pluggable Authentication Modules Library
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In security/openpam.h
-.Ft "int"
-.Fn openpam_borrow_cred "pam_handle_t *pamh" "const struct passwd *pwd"
-.Ft "void"
-.Fn openpam_free_data "pam_handle_t *pamh" "void *data" "int status"
-.Ft "void"
-.Fn openpam_free_envlist "char **envlist"
-.Ft "const char *"
-.Fn openpam_get_option "pam_handle_t *pamh" "const char *option"
-.Ft "void"
-.Fn openpam_log "int level" "const char *fmt" "..."
-.Ft "int"
-.Fn openpam_nullconv "int n" "const struct pam_message **msg" "struct pam_response **resp" "void *data"
-.Ft "char *"
-.Fn openpam_readline "FILE *f" "int *lineno" "size_t *lenp"
-.Ft "int"
-.Fn openpam_restore_cred "pam_handle_t *pamh"
-.Ft "int"
-.Fn openpam_set_option "pam_handle_t *pamh" "const char *option" "const char *value"
-.Ft "int"
-.Fn openpam_ttyconv "int n" "const struct pam_message **msg" "struct pam_response **resp" "void *data"
-.Ft "int"
-.Fn pam_error "const pam_handle_t *pamh" "const char *fmt" "..."
-.Ft "int"
-.Fn pam_get_authtok "pam_handle_t *pamh" "int item" "const char **authtok" "const char *prompt"
-.Ft "int"
-.Fn pam_info "const pam_handle_t *pamh" "const char *fmt" "..."
-.Ft "int"
-.Fn pam_prompt "const pam_handle_t *pamh" "int style" "char **resp" "const char *fmt" "..."
-.Ft "int"
-.Fn pam_setenv "pam_handle_t *pamh" "const char *name" "const char *value" "int overwrite"
-.Ft "int"
-.Fn pam_verror "const pam_handle_t *pamh" "const char *fmt" "va_list ap"
-.Ft "int"
-.Fn pam_vinfo "const pam_handle_t *pamh" "const char *fmt" "va_list ap"
-.Ft "int"
-.Fn pam_vprompt "const pam_handle_t *pamh" "int style" "char **resp" "const char *fmt" "va_list ap"
-.\"
-.\" $Id: openpam.man 320 2006-02-16 20:33:19Z des $
-.\"
-.Sh DESCRIPTION
-These functions are OpenPAM extensions to the PAM API.
-Those named
-.Fn pam_*
-are, in the author's opinion, logical and necessary extensions to the
-standard API, while those named
-.Fn openpam_*
-are either simple convenience functions, or functions intimately tied
-to OpenPAM implementation details, and therefore not well suited to
-standardization.
-.Sh SEE ALSO
-.Xr openpam_borrow_cred 3 ,
-.Xr openpam_free_data 3 ,
-.Xr openpam_free_envlist 3 ,
-.Xr openpam_get_option 3 ,
-.Xr openpam_log 3 ,
-.Xr openpam_nullconv 3 ,
-.Xr openpam_readline 3 ,
-.Xr openpam_restore_cred 3 ,
-.Xr openpam_set_option 3 ,
-.Xr openpam_ttyconv 3 ,
-.Xr pam_error 3 ,
-.Xr pam_get_authtok 3 ,
-.Xr pam_info 3 ,
-.Xr pam_prompt 3 ,
-.Xr pam_setenv 3 ,
-.Xr pam_verror 3 ,
-.Xr pam_vinfo 3 ,
-.Xr pam_vprompt 3
-.Sh STANDARDS
-.Rs
-.%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
-.%D "June 1997"
-.Re
-.Sh AUTHORS
-The OpenPAM library and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/openpam.man b/contrib/openpam/doc/man/openpam.man
deleted file mode 100644
index 38a10b5..0000000
--- a/contrib/openpam/doc/man/openpam.man
+++ /dev/null
@@ -1,13 +0,0 @@
-.\"
-.\" $Id: openpam.man 320 2006-02-16 20:33:19Z des $
-.\"
-.Sh DESCRIPTION
-These functions are OpenPAM extensions to the PAM API.
-Those named
-.Fn pam_*
-are, in the author's opinion, logical and necessary extensions to the
-standard API, while those named
-.Fn openpam_*
-are either simple convenience functions, or functions intimately tied
-to OpenPAM implementation details, and therefore not well suited to
-standardization.
diff --git a/contrib/openpam/doc/man/openpam_borrow_cred.3 b/contrib/openpam/doc/man/openpam_borrow_cred.3
deleted file mode 100644
index 4ae7123..0000000
--- a/contrib/openpam/doc/man/openpam_borrow_cred.3
+++ /dev/null
@@ -1,95 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt OPENPAM_BORROW_CRED 3
-.Os
-.Sh NAME
-.Nm openpam_borrow_cred
-.Nd temporarily borrow user credentials
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.In security/openpam.h
-.Ft "int"
-.Fn openpam_borrow_cred "pam_handle_t *pamh" "const struct passwd *pwd"
-.Sh DESCRIPTION
-The
-.Nm
-function saves the current credentials and
-switches to those of the user specified by its
-.Fa pwd
-argument.
-The affected credentials are the effective UID, the effective GID, and
-the group access list.
-The original credentials can be restored using
-.Xr openpam_restore_cred 3 .
-.Pp
-.Sh RETURN VALUES
-The
-.Nm
-function returns one of the following values:
-.Bl -tag -width 18n
-.It Bq Er PAM_BUF_ERR
-Memory buffer error.
-.It Bq Er PAM_PERM_DENIED
-Permission denied.
-.It Bq Er PAM_SYSTEM_ERR
-System error.
-.El
-.Sh SEE ALSO
-.Xr setegid 2 ,
-.Xr seteuid 2 ,
-.Xr setgroups 2 ,
-.Xr openpam_restore_cred 3 ,
-.Xr pam 3 ,
-.Xr pam_strerror 3
-.Sh STANDARDS
-The
-.Nm
-function is an OpenPAM extension.
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/openpam_free_data.3 b/contrib/openpam/doc/man/openpam_free_data.3
deleted file mode 100644
index 542a5d2..0000000
--- a/contrib/openpam/doc/man/openpam_free_data.3
+++ /dev/null
@@ -1,78 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt OPENPAM_FREE_DATA 3
-.Os
-.Sh NAME
-.Nm openpam_free_data
-.Nd generic cleanup function
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.In security/openpam.h
-.Ft "void"
-.Fn openpam_free_data "pam_handle_t *pamh" "void *data" "int status"
-.Sh DESCRIPTION
-The
-.Nm
-function is a cleanup function suitable for
-passing to
-.Xr pam_set_data 3 .
-It simply releases the data by passing its
-.Fa data
-argument to
-.Xr free 3 .
-.Sh SEE ALSO
-.Xr free 3 ,
-.Xr pam 3 ,
-.Xr pam_set_data 3
-.Sh STANDARDS
-The
-.Nm
-function is an OpenPAM extension.
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/openpam_free_envlist.3 b/contrib/openpam/doc/man/openpam_free_envlist.3
deleted file mode 100644
index 8f02464..0000000
--- a/contrib/openpam/doc/man/openpam_free_envlist.3
+++ /dev/null
@@ -1,75 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt OPENPAM_FREE_ENVLIST 3
-.Os
-.Sh NAME
-.Nm openpam_free_envlist
-.Nd free an environment list
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.In security/openpam.h
-.Ft "void"
-.Fn openpam_free_envlist "char **envlist"
-.Sh DESCRIPTION
-The
-.Nm
-function is a convenience function which
-frees all the environment variables in an environment list, and the
-list itself.
-It is suitable for freeing the return value from
-.Xr pam_getenvlist 3 .
-.Sh SEE ALSO
-.Xr pam 3 ,
-.Xr pam_getenvlist 3
-.Sh STANDARDS
-The
-.Nm
-function is an OpenPAM extension.
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/openpam_get_option.3 b/contrib/openpam/doc/man/openpam_get_option.3
deleted file mode 100644
index cb5d5e3..0000000
--- a/contrib/openpam/doc/man/openpam_get_option.3
+++ /dev/null
@@ -1,81 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt OPENPAM_GET_OPTION 3
-.Os
-.Sh NAME
-.Nm openpam_get_option
-.Nd returns the value of a module option
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.In security/openpam.h
-.Ft "const char *"
-.Fn openpam_get_option "pam_handle_t *pamh" "const char *option"
-.Sh DESCRIPTION
-The
-.Nm
-function returns the value of the specified
-option in the context of the currently executing service module, or
-.Dv NULL
-if the option is not set or no module is currently executing.
-.Pp
-.Sh RETURN VALUES
-The
-.Nm
-function returns
-.Dv NULL
-on failure.
-.Sh SEE ALSO
-.Xr openpam_set_option 3 ,
-.Xr pam 3
-.Sh STANDARDS
-The
-.Nm
-function is an OpenPAM extension.
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/openpam_log.3 b/contrib/openpam/doc/man/openpam_log.3
deleted file mode 100644
index 208bdf4..0000000
--- a/contrib/openpam/doc/man/openpam_log.3
+++ /dev/null
@@ -1,115 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt OPENPAM_LOG 3
-.Os
-.Sh NAME
-.Nm openpam_log
-.Nd log a message through syslog
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.In security/openpam.h
-.Ft "void"
-.Fn openpam_log "int level" "const char *fmt" "..."
-.Sh DESCRIPTION
-The
-.Nm
-function logs messages using
-.Xr syslog 3 .
-It is primarily intended for internal use by the library and modules.
-.Pp
-The
-.Fa level
-argument indicates the importance of the message.
-The following levels are defined:
-.Bl -tag -width 18n
-.It Dv PAM_LOG_DEBUG
-Debugging messages.
-These messages are normally not logged unless the global
-integer variable
-.Va _openpam_debug
-is set to a non-zero
-value, in which case they are logged with a
-.Xr syslog 3
-priority of
-.Dv LOG_DEBUG .
-.It Dv PAM_LOG_VERBOSE
-Information about the progress of the authentication
-process, or other non-essential messages.
-These messages are logged with a
-.Xr syslog 3
-priority of
-.Dv LOG_INFO .
-.It Dv PAM_LOG_NOTICE
-Messages relating to non-fatal errors.
-These messages are logged with a
-.Xr syslog 3
-priority of
-.Dv LOG_NOTICE .
-.It Dv PAM_LOG_ERROR
-Messages relating to serious errors.
-These messages are logged with a
-.Xr syslog 3
-priority of
-.Dv LOG_ERR .
-.El
-.Pp
-The remaining arguments are a
-.Xr printf 3
-format string and the
-corresponding arguments.
-.Sh SEE ALSO
-.Xr pam 3 ,
-.Xr printf 3 ,
-.Xr syslog 3
-.Sh STANDARDS
-The
-.Nm
-function is an OpenPAM extension.
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/openpam_nullconv.3 b/contrib/openpam/doc/man/openpam_nullconv.3
deleted file mode 100644
index 6e9bb8e..0000000
--- a/contrib/openpam/doc/man/openpam_nullconv.3
+++ /dev/null
@@ -1,102 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt OPENPAM_NULLCONV 3
-.Os
-.Sh NAME
-.Nm openpam_nullconv
-.Nd null conversation function
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.In security/openpam.h
-.Ft "int"
-.Fn openpam_nullconv "int n" "const struct pam_message **msg" "struct pam_response **resp" "void *data"
-.Sh DESCRIPTION
-The
-.Nm
-function is a null conversation function suitable
-for applications that want to use PAM but don't support interactive
-dialog with the user.
-Such applications should set
-.Dv PAM_AUTHTOK
-to whatever authentication
-token they've obtained on their own before calling
-.Xr pam_authenticate 3
-and / or
-.Xr pam_chauthtok 3 ,
-and their PAM configuration should specify the
-.Dv use_first_pass
-option for all modules that require access to the
-authentication token, to make sure they use
-.Dv PAM_AUTHTOK
-rather than
-try to query the user.
-.Pp
-.Sh RETURN VALUES
-The
-.Nm
-function returns one of the following values:
-.Bl -tag -width 18n
-.It Bq Er PAM_CONV_ERR
-Conversation failure.
-.El
-.Sh SEE ALSO
-.Xr openpam_ttyconv 3 ,
-.Xr pam 3 ,
-.Xr pam_authenticate 3 ,
-.Xr pam_chauthtok 3 ,
-.Xr pam_prompt 3 ,
-.Xr pam_set_item 3 ,
-.Xr pam_strerror 3 ,
-.Xr pam_vprompt 3
-.Sh STANDARDS
-The
-.Nm
-function is an OpenPAM extension.
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/openpam_readline.3 b/contrib/openpam/doc/man/openpam_readline.3
deleted file mode 100644
index 8478920..0000000
--- a/contrib/openpam/doc/man/openpam_readline.3
+++ /dev/null
@@ -1,109 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt OPENPAM_READLINE 3
-.Os
-.Sh NAME
-.Nm openpam_readline
-.Nd read a line from a file
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.In security/openpam.h
-.Ft "char *"
-.Fn openpam_readline "FILE *f" "int *lineno" "size_t *lenp"
-.Sh DESCRIPTION
-The
-.Nm
-function reads a line from a file, and returns it
-in a NUL-terminated buffer allocated with
-.Xr malloc 3 .
-.Pp
-The
-.Nm
-function performs a certain amount of processing
-on the data it reads.
-Comments (introduced by a hash sign) are stripped, as is leading and
-trailing whitespace.
-Any amount of linear whitespace is collapsed to a single space.
-Blank lines are ignored.
-If a line ends in a backslash, the backslash is stripped and the next
-line is appended.
-.Pp
-If
-.Fa lineno
-is not
-.Dv NULL ,
-the integer variable it points to is
-incremented every time a newline character is read.
-.Pp
-If
-.Fa lenp
-is not
-.Dv NULL ,
-the length of the line (not including the
-terminating NUL character) is stored in the variable it points to.
-.Pp
-The caller is responsible for releasing the returned buffer by passing
-it to
-.Xr free 3 .
-.Sh RETURN VALUES
-The
-.Nm
-function returns
-.Dv NULL
-on failure.
-.Sh SEE ALSO
-.Xr free 3 ,
-.Xr malloc 3 ,
-.Xr pam 3
-.Sh STANDARDS
-The
-.Nm
-function is an OpenPAM extension.
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/openpam_restore_cred.3 b/contrib/openpam/doc/man/openpam_restore_cred.3
deleted file mode 100644
index f1da98a..0000000
--- a/contrib/openpam/doc/man/openpam_restore_cred.3
+++ /dev/null
@@ -1,87 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt OPENPAM_RESTORE_CRED 3
-.Os
-.Sh NAME
-.Nm openpam_restore_cred
-.Nd restore credentials
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.In security/openpam.h
-.Ft "int"
-.Fn openpam_restore_cred "pam_handle_t *pamh"
-.Sh DESCRIPTION
-The
-.Nm
-function restores the credentials saved by
-.Xr openpam_borrow_cred 3 .
-.Pp
-.Sh RETURN VALUES
-The
-.Nm
-function returns one of the following values:
-.Bl -tag -width 18n
-.It Bq Er PAM_NO_MODULE_DATA
-Module data not found.
-.It Bq Er PAM_SYSTEM_ERR
-System error.
-.El
-.Sh SEE ALSO
-.Xr setegid 2 ,
-.Xr seteuid 2 ,
-.Xr setgroups 2 ,
-.Xr openpam_borrow_cred 3 ,
-.Xr pam 3 ,
-.Xr pam_strerror 3
-.Sh STANDARDS
-The
-.Nm
-function is an OpenPAM extension.
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/openpam_set_option.3 b/contrib/openpam/doc/man/openpam_set_option.3
deleted file mode 100644
index e262584..0000000
--- a/contrib/openpam/doc/man/openpam_set_option.3
+++ /dev/null
@@ -1,84 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt OPENPAM_SET_OPTION 3
-.Os
-.Sh NAME
-.Nm openpam_set_option
-.Nd sets the value of a module option
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.In security/openpam.h
-.Ft "int"
-.Fn openpam_set_option "pam_handle_t *pamh" "const char *option" "const char *value"
-.Sh DESCRIPTION
-The
-.Nm
-function sets the specified option in the
-context of the currently executing service module.
-.Pp
-.Sh RETURN VALUES
-The
-.Nm
-function returns one of the following values:
-.Bl -tag -width 18n
-.It Bq Er PAM_BUF_ERR
-Memory buffer error.
-.It Bq Er PAM_SYSTEM_ERR
-System error.
-.El
-.Sh SEE ALSO
-.Xr openpam_get_option 3 ,
-.Xr pam 3 ,
-.Xr pam_strerror 3
-.Sh STANDARDS
-The
-.Nm
-function is an OpenPAM extension.
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/openpam_ttyconv.3 b/contrib/openpam/doc/man/openpam_ttyconv.3
deleted file mode 100644
index 7374a94..0000000
--- a/contrib/openpam/doc/man/openpam_ttyconv.3
+++ /dev/null
@@ -1,97 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt OPENPAM_TTYCONV 3
-.Os
-.Sh NAME
-.Nm openpam_ttyconv
-.Nd simple tty-based conversation function
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.In security/openpam.h
-.Ft "int"
-.Fn openpam_ttyconv "int n" "const struct pam_message **msg" "struct pam_response **resp" "void *data"
-.Sh DESCRIPTION
-The
-.Nm
-function is a standard conversation function
-suitable for use on TTY devices.
-It should be adequate for the needs of most text-based interactive
-programs.
-.Pp
-The
-.Nm
-function allows the application to specify a
-timeout for user input by setting the global integer variable
-.Va openpam_ttyconv_timeout
-to the length of the timeout in seconds.
-.Pp
-.Sh RETURN VALUES
-The
-.Nm
-function returns one of the following values:
-.Bl -tag -width 18n
-.It Bq Er PAM_BUF_ERR
-Memory buffer error.
-.It Bq Er PAM_CONV_ERR
-Conversation failure.
-.It Bq Er PAM_SYSTEM_ERR
-System error.
-.El
-.Sh SEE ALSO
-.Xr openpam_nullconv 3 ,
-.Xr pam 3 ,
-.Xr pam_prompt 3 ,
-.Xr pam_strerror 3 ,
-.Xr pam_vprompt 3
-.Sh STANDARDS
-The
-.Nm
-function is an OpenPAM extension.
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/pam.3 b/contrib/openpam/doc/man/pam.3
deleted file mode 100644
index 5740a4d..0000000
--- a/contrib/openpam/doc/man/pam.3
+++ /dev/null
@@ -1,293 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt PAM 3
-.Os
-.Sh NAME
-.Nm pam_acct_mgmt ,
-.Nm pam_authenticate ,
-.Nm pam_chauthtok ,
-.Nm pam_close_session ,
-.Nm pam_end ,
-.Nm pam_get_data ,
-.Nm pam_get_item ,
-.Nm pam_get_user ,
-.Nm pam_getenv ,
-.Nm pam_getenvlist ,
-.Nm pam_open_session ,
-.Nm pam_putenv ,
-.Nm pam_set_data ,
-.Nm pam_set_item ,
-.Nm pam_setcred ,
-.Nm pam_start ,
-.Nm pam_strerror
-.Nd Pluggable Authentication Modules Library
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In security/pam_appl.h
-.Ft "int"
-.Fn pam_acct_mgmt "pam_handle_t *pamh" "int flags"
-.Ft "int"
-.Fn pam_authenticate "pam_handle_t *pamh" "int flags"
-.Ft "int"
-.Fn pam_chauthtok "pam_handle_t *pamh" "int flags"
-.Ft "int"
-.Fn pam_close_session "pam_handle_t *pamh" "int flags"
-.Ft "int"
-.Fn pam_end "pam_handle_t *pamh" "int status"
-.Ft "int"
-.Fn pam_get_data "const pam_handle_t *pamh" "const char *module_data_name" "const void **data"
-.Ft "int"
-.Fn pam_get_item "const pam_handle_t *pamh" "int item_type" "const void **item"
-.Ft "int"
-.Fn pam_get_user "pam_handle_t *pamh" "const char **user" "const char *prompt"
-.Ft "const char *"
-.Fn pam_getenv "pam_handle_t *pamh" "const char *name"
-.Ft "char **"
-.Fn pam_getenvlist "pam_handle_t *pamh"
-.Ft "int"
-.Fn pam_open_session "pam_handle_t *pamh" "int flags"
-.Ft "int"
-.Fn pam_putenv "pam_handle_t *pamh" "const char *namevalue"
-.Ft "int"
-.Fn pam_set_data "pam_handle_t *pamh" "const char *module_data_name" "void *data" "void (*cleanup)(pam_handle_t *pamh, void *data, int pam_end_status)"
-.Ft "int"
-.Fn pam_set_item "pam_handle_t *pamh" "int item_type" "const void *item"
-.Ft "int"
-.Fn pam_setcred "pam_handle_t *pamh" "int flags"
-.Ft "int"
-.Fn pam_start "const char *service" "const char *user" "const struct pam_conv *pam_conv" "pam_handle_t **pamh"
-.Ft "const char *"
-.Fn pam_strerror "const pam_handle_t *pamh" "int error_number"
-.\"
-.\" $Id: pam.man 320 2006-02-16 20:33:19Z des $
-.\"
-.Sh DESCRIPTION
-The Pluggable Authentication Modules (PAM) library abstracts a number
-of common authentication-related operations and provides a framework
-for dynamically loaded modules that implement these operations in
-various ways.
-.Ss Terminology
-In PAM parlance, the application that uses PAM to authenticate a user
-is the server, and is identified for configuration purposes by a
-service name, which is often (but not necessarily) the program name.
-.Pp
-The user requesting authentication is called the applicant, while the
-user (usually, root) charged with verifying his identity and granting
-him the requested credentials is called the arbitrator.
-.Pp
-The sequence of operations the server goes through to authenticate a
-user and perform whatever task he requested is a PAM transaction; the
-context within which the server performs the requested task is called
-a session.
-.Pp
-The functionality embodied by PAM is divided into six primitives
-grouped into four facilities: authentication, account management,
-session management and password management.
-.Ss Conversation
-The PAM library expects the application to provide a conversation
-callback which it can use to communicate with the user.
-Some modules may use specialized conversation functions to communicate
-with special hardware such as cryptographic dongles or biometric
-devices.
-See
-.Xr pam_conv 3
-for details.
-.Ss Initialization and Cleanup
-The
-.Fn pam_start
-function initializes the PAM library and returns a handle which must
-be provided in all subsequent function calls.
-The transaction state is contained entirely within the structure
-identified by this handle, so it is possible to conduct multiple
-transactions in parallel.
-.Pp
-The
-.Fn pam_end
-function releases all resources associated with the specified context,
-and can be called at any time to terminate a PAM transaction.
-.Ss Storage
-The
-.Fn pam_set_item
-and
-.Fn pam_get_item
-functions set and retrieve a number of predefined items, including the
-service name, the names of the requesting and target users, the
-conversation function, and prompts.
-.Pp
-The
-.Fn pam_set_data
-and
-.Fn pam_get_data
-functions manage named chunks of free-form data, generally used by
-modules to store state from one invocation to another.
-.Ss Authentication
-There are two authentication primitives:
-.Fn pam_authenticate
-and
-.Fn pam_setcred .
-The former authenticates the user, while the latter manages his
-credentials.
-.Ss Account Management
-The
-.Fn pam_acct_mgmt
-function enforces policies such as password expiry, account expiry,
-time-of-day restrictions, and so forth.
-.Ss Session Management
-The
-.Fn pam_open_session
-and
-.Fn pam_close_session
-functions handle session setup and teardown.
-.Ss Password Management
-The
-.Fn pam_chauthtok
-function allows the server to change the user's password, either at
-the user's request or because the password has expired.
-.Ss Miscellaneous
-The
-.Fn pam_putenv ,
-.Fn pam_getenv
-and
-.Fn pam_getenvlist
-functions manage a private environment list in which modules can set
-environment variables they want the server to export during the
-session.
-.Pp
-The
-.Fn pam_strerror
-function returns a pointer to a string describing the specified PAM
-error code.
-.Sh RETURN VALUES
-The following return codes are defined by
-.In security/pam_constants.h :
-.Bl -tag -width 18n
-.It Bq Er PAM_ABORT
-General failure.
-.It Bq Er PAM_ACCT_EXPIRED
-User account has expired.
-.It Bq Er PAM_AUTHINFO_UNAVAIL
-Authentication information is unavailable.
-.It Bq Er PAM_AUTHTOK_DISABLE_AGING
-Authentication token aging disabled.
-.It Bq Er PAM_AUTHTOK_ERR
-Authentication token failure.
-.It Bq Er PAM_AUTHTOK_EXPIRED
-Password has expired.
-.It Bq Er PAM_AUTHTOK_LOCK_BUSY
-Authentication token lock busy.
-.It Bq Er PAM_AUTHTOK_RECOVERY_ERR
-Failed to recover old authentication token.
-.It Bq Er PAM_AUTH_ERR
-Authentication error.
-.It Bq Er PAM_BUF_ERR
-Memory buffer error.
-.It Bq Er PAM_CONV_ERR
-Conversation failure.
-.It Bq Er PAM_CRED_ERR
-Failed to set user credentials.
-.It Bq Er PAM_CRED_EXPIRED
-User credentials have expired.
-.It Bq Er PAM_CRED_INSUFFICIENT
-Insufficient credentials.
-.It Bq Er PAM_CRED_UNAVAIL
-Failed to retrieve user credentials.
-.It Bq Er PAM_DOMAIN_UNKNOWN
-Unknown authentication domain.
-.It Bq Er PAM_IGNORE
-Ignore this module.
-.It Bq Er PAM_MAXTRIES
-Maximum number of tries exceeded.
-.It Bq Er PAM_MODULE_UNKNOWN
-Unknown module type.
-.It Bq Er PAM_NEW_AUTHTOK_REQD
-New authentication token required.
-.It Bq Er PAM_NO_MODULE_DATA
-Module data not found.
-.It Bq Er PAM_OPEN_ERR
-Failed to load module.
-.It Bq Er PAM_PERM_DENIED
-Permission denied.
-.It Bq Er PAM_SERVICE_ERR
-Error in service module.
-.It Bq Er PAM_SESSION_ERR
-Session failure.
-.It Bq Er PAM_SUCCESS
-Success.
-.It Bq Er PAM_SYMBOL_ERR
-Invalid symbol.
-.It Bq Er PAM_SYSTEM_ERR
-System error.
-.It Bq Er PAM_TRY_AGAIN
-Try again.
-.It Bq Er PAM_USER_UNKNOWN
-Unknown user.
-.El
-.Sh SEE ALSO
-.Xr openpam 3 ,
-.Xr pam_acct_mgmt 3 ,
-.Xr pam_authenticate 3 ,
-.Xr pam_chauthtok 3 ,
-.Xr pam_close_session 3 ,
-.Xr pam_conv 3 ,
-.Xr pam_end 3 ,
-.Xr pam_get_data 3 ,
-.Xr pam_getenv 3 ,
-.Xr pam_getenvlist 3 ,
-.Xr pam_get_item 3 ,
-.Xr pam_get_user 3 ,
-.Xr pam_open_session 3 ,
-.Xr pam_putenv 3 ,
-.Xr pam_setcred 3 ,
-.Xr pam_set_data 3 ,
-.Xr pam_set_item 3 ,
-.Xr pam_start 3 ,
-.Xr pam_strerror 3
-.Sh STANDARDS
-.Rs
-.%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
-.%D "June 1997"
-.Re
-.Sh AUTHORS
-The OpenPAM library and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/pam.conf.5 b/contrib/openpam/doc/man/pam.conf.5
deleted file mode 100644
index 8ffb6a3..0000000
--- a/contrib/openpam/doc/man/pam.conf.5
+++ /dev/null
@@ -1,178 +0,0 @@
-.\"-
-.\" Copyright (c) 2005 Dag-Erling Coïdan Smørgrav
-.\" All rights reserved.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $Id: pam.conf.5 320 2006-02-16 20:33:19Z des $
-.\"
-.Dd June 16, 2005
-.Dt PAM.CONF 5
-.Os
-.Sh NAME
-.Nm pam.conf
-.Nd PAM policy file format
-.Sh DESCRIPTION
-The PAM library searches for policies in the following files, in
-decreasing order of preference:
-.Bl -enum
-.It
-.Pa /etc/pam.d/ Ns Ar service-name
-.It
-.Pa /etc/pam.conf
-.It
-.Pa /usr/local/etc/pam.d/ Ns Ar service-name
-.It
-.Pa /usr/local/etc/pam.conf
-.El
-.Pp
-If none of these locations contains a policy for the given service,
-the
-.Dv default
-policy is used instead, if it exists.
-.Pp
-Entries in per-service policy files must be of one of the two forms
-below:
-.Bd -unfilled -offset indent
-.Ar function-class control-flag module-path Op Ar arguments ...
-.Ar function-class Cm include Ar other-service-name
-.Ed
-.Pp
-Entries in
-.Pa pam.conf Ns -style
-policy files are of the same form, but are prefixed by an additional
-field specifying the name of the service they apply to.
-.Pp
-In both types of policy files, blank lines are ignored, as is anything
-to the right of a
-.Ql #
-sign.
-.Pp
-The
-.Ar function-class
-field specifies the class of functions the entry applies to, and is
-one of:
-.Bl -tag -width ".Cm password"
-.It Cm auth
-Authentication functions
-.Po
-.Xr pam_authenticate 3 ,
-.Xr pam_setcred 3
-.Pc
-.It Cm account
-Account management functions
-.Pq Xr pam_acct_mgmt 3
-.It Cm session
-Session handling functions
-.Po
-.Xr pam_open_session 3 ,
-.Xr pam_close_session 3
-.Pc
-.It Cm password
-Password management functions
-.Pq Xr pam_chauthtok 3
-.El
-.Pp
-The
-.Ar control-flag
-field determines how the result returned by the module affects the
-flow of control through (and the final result of) the rest of the
-chain, and is one of:
-.Bl -tag -width ".Cm sufficient"
-.It Cm required
-If this module succeeds, the result of the chain will be success
-unless a later module fails.
-If it fails, the rest of the chain still runs, but the final result
-will be failure regardless of the success of later modules.
-.It Cm requisite
-If this module succeeds, the result of the chain will be success
-unless a later module fails.
-If it module fails, the chain is broken and the result is failure.
-.It Cm sufficient
-If this module succeeds, the chain is broken and the result is
-success.
-If it fails, the rest of the chain still runs, but the final result
-will be failure unless a later module succeeds.
-.It Cm binding
-If this module succeeds, the chain is broken and the result is
-success.
-If it fails, the rest of the chain still runs, but the final result
-will be failure regardless of the success of later modules.
-.It Cm optional
-If this module succeeds, the result of the chain will be success
-unless a later module fails.
-If this module fails, the result of the chain will be failure unless a
-later module succeeds.
-.El
-.Pp
-There are two exceptions to the above:
-.Cm sufficient
-and
-.Cm binding
-modules are treated as
-.Cm optional
-by
-.Xr pam_setcred 3 ,
-and in the
-.Dv PAM_PRELIM_CHECK
-phase of
-.Xr pam_chauthtok 3 .
-.Pp
-The
-.Ar module-path
-field specifies the name, or optionally the full path, of the module
-to call.
-.Pp
-The remaining fields are passed as arguments to the module if and when
-it is invoked.
-.Pp
-The
-.Cm include
-form of entry causes entries from a different chain (specified by
-.Ar other-system-name )
-to be included in the current one.
-This allows one to define system-wide policies which are then included
-into service-specific policies.
-The system-wide policy can then be modified without having to also
-modify each and every service-specific policy.
-.Sh SEE ALSO
-.Xr pam 3
-.Sh STANDARDS
-.Rs
-.%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
-.%D "June 1997"
-.Re
-.Sh AUTHORS
-The OpenPAM library was developed for the
-.Fx
-Project by ThinkSec
-AS and Network Associates Laboratories, the Security Research Division
-of Network Associates, Inc.\& under DARPA/SPAWAR contract
-N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
-.Pp
-This manual page was written by
-.An Dag-Erling Sm\(/orgrav Aq des@FreeBSD.org .
diff --git a/contrib/openpam/doc/man/pam.man b/contrib/openpam/doc/man/pam.man
deleted file mode 100644
index d268ce4..0000000
--- a/contrib/openpam/doc/man/pam.man
+++ /dev/null
@@ -1,99 +0,0 @@
-.\"
-.\" $Id: pam.man 320 2006-02-16 20:33:19Z des $
-.\"
-.Sh DESCRIPTION
-The Pluggable Authentication Modules (PAM) library abstracts a number
-of common authentication-related operations and provides a framework
-for dynamically loaded modules that implement these operations in
-various ways.
-.Ss Terminology
-In PAM parlance, the application that uses PAM to authenticate a user
-is the server, and is identified for configuration purposes by a
-service name, which is often (but not necessarily) the program name.
-.Pp
-The user requesting authentication is called the applicant, while the
-user (usually, root) charged with verifying his identity and granting
-him the requested credentials is called the arbitrator.
-.Pp
-The sequence of operations the server goes through to authenticate a
-user and perform whatever task he requested is a PAM transaction; the
-context within which the server performs the requested task is called
-a session.
-.Pp
-The functionality embodied by PAM is divided into six primitives
-grouped into four facilities: authentication, account management,
-session management and password management.
-.Ss Conversation
-The PAM library expects the application to provide a conversation
-callback which it can use to communicate with the user.
-Some modules may use specialized conversation functions to communicate
-with special hardware such as cryptographic dongles or biometric
-devices.
-See
-.Xr pam_conv 3
-for details.
-.Ss Initialization and Cleanup
-The
-.Fn pam_start
-function initializes the PAM library and returns a handle which must
-be provided in all subsequent function calls.
-The transaction state is contained entirely within the structure
-identified by this handle, so it is possible to conduct multiple
-transactions in parallel.
-.Pp
-The
-.Fn pam_end
-function releases all resources associated with the specified context,
-and can be called at any time to terminate a PAM transaction.
-.Ss Storage
-The
-.Fn pam_set_item
-and
-.Fn pam_get_item
-functions set and retrieve a number of predefined items, including the
-service name, the names of the requesting and target users, the
-conversation function, and prompts.
-.Pp
-The
-.Fn pam_set_data
-and
-.Fn pam_get_data
-functions manage named chunks of free-form data, generally used by
-modules to store state from one invocation to another.
-.Ss Authentication
-There are two authentication primitives:
-.Fn pam_authenticate
-and
-.Fn pam_setcred .
-The former authenticates the user, while the latter manages his
-credentials.
-.Ss Account Management
-The
-.Fn pam_acct_mgmt
-function enforces policies such as password expiry, account expiry,
-time-of-day restrictions, and so forth.
-.Ss Session Management
-The
-.Fn pam_open_session
-and
-.Fn pam_close_session
-functions handle session setup and teardown.
-.Ss Password Management
-The
-.Fn pam_chauthtok
-function allows the server to change the user's password, either at
-the user's request or because the password has expired.
-.Ss Miscellaneous
-The
-.Fn pam_putenv ,
-.Fn pam_getenv
-and
-.Fn pam_getenvlist
-functions manage a private environment list in which modules can set
-environment variables they want the server to export during the
-session.
-.Pp
-The
-.Fn pam_strerror
-function returns a pointer to a string describing the specified PAM
-error code.
diff --git a/contrib/openpam/doc/man/pam_acct_mgmt.3 b/contrib/openpam/doc/man/pam_acct_mgmt.3
deleted file mode 100644
index 9fee0d3..0000000
--- a/contrib/openpam/doc/man/pam_acct_mgmt.3
+++ /dev/null
@@ -1,114 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt PAM_ACCT_MGMT 3
-.Os
-.Sh NAME
-.Nm pam_acct_mgmt
-.Nd perform PAM account validation procedures
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.Ft "int"
-.Fn pam_acct_mgmt "pam_handle_t *pamh" "int flags"
-.Sh DESCRIPTION
-The
-.Nm
-function verifies and enforces account restrictions
-after the user has been authenticated.
-.Pp
-The
-.Fa flags
-argument is the binary or of zero or more of the following
-values:
-.Bl -tag -width 18n
-.It Dv PAM_SILENT
-Do not emit any messages.
-.It Dv PAM_DISALLOW_NULL_AUTHTOK
-Fail if the user's authentication token is null.
-.El
-.Pp
-If any other bits are set,
-.Nm
-will return
-.Dv PAM_SYMBOL_ERR .
-.Sh RETURN VALUES
-The
-.Nm
-function returns one of the following values:
-.Bl -tag -width 18n
-.It Bq Er PAM_ABORT
-General failure.
-.It Bq Er PAM_ACCT_EXPIRED
-User account has expired.
-.It Bq Er PAM_AUTH_ERR
-Authentication error.
-.It Bq Er PAM_BUF_ERR
-Memory buffer error.
-.It Bq Er PAM_CONV_ERR
-Conversation failure.
-.It Bq Er PAM_NEW_AUTHTOK_REQD
-New authentication token required.
-.It Bq Er PAM_PERM_DENIED
-Permission denied.
-.It Bq Er PAM_SERVICE_ERR
-Error in service module.
-.It Bq Er PAM_SYSTEM_ERR
-System error.
-.It Bq Er PAM_USER_UNKNOWN
-Unknown user.
-.El
-.Sh SEE ALSO
-.Xr pam 3 ,
-.Xr pam_strerror 3
-.Sh STANDARDS
-.Rs
-.%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
-.%D "June 1997"
-.Re
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/pam_authenticate.3 b/contrib/openpam/doc/man/pam_authenticate.3
deleted file mode 100644
index 4cb1ec3..0000000
--- a/contrib/openpam/doc/man/pam_authenticate.3
+++ /dev/null
@@ -1,128 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt PAM_AUTHENTICATE 3
-.Os
-.Sh NAME
-.Nm pam_authenticate
-.Nd perform authentication within the PAM framework
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.Ft "int"
-.Fn pam_authenticate "pam_handle_t *pamh" "int flags"
-.Sh DESCRIPTION
-The
-.Nm
-function attempts to authenticate the user
-associated with the pam context specified by the
-.Fa pamh
-argument.
-.Pp
-The application is free to call
-.Nm
-as many times as it
-wishes, but some modules may maintain an internal retry counter and
-return
-.Dv PAM_MAXTRIES
-when it exceeds some preset or hardcoded limit.
-.Pp
-The
-.Fa flags
-argument is the binary or of zero or more of the following
-values:
-.Bl -tag -width 18n
-.It Dv PAM_SILENT
-Do not emit any messages.
-.It Dv PAM_DISALLOW_NULL_AUTHTOK
-Fail if the user's authentication token is null.
-.El
-.Pp
-If any other bits are set,
-.Nm
-will return
-.Dv PAM_SYMBOL_ERR .
-.Sh RETURN VALUES
-The
-.Nm
-function returns one of the following values:
-.Bl -tag -width 18n
-.It Bq Er PAM_ABORT
-General failure.
-.It Bq Er PAM_AUTHINFO_UNAVAIL
-Authentication information is unavailable.
-.It Bq Er PAM_AUTH_ERR
-Authentication error.
-.It Bq Er PAM_BUF_ERR
-Memory buffer error.
-.It Bq Er PAM_CONV_ERR
-Conversation failure.
-.It Bq Er PAM_CRED_INSUFFICIENT
-Insufficient credentials.
-.It Bq Er PAM_MAXTRIES
-Maximum number of tries exceeded.
-.It Bq Er PAM_PERM_DENIED
-Permission denied.
-.It Bq Er PAM_SERVICE_ERR
-Error in service module.
-.It Bq Er PAM_SYMBOL_ERR
-Invalid symbol.
-.It Bq Er PAM_SYSTEM_ERR
-System error.
-.It Bq Er PAM_USER_UNKNOWN
-Unknown user.
-.El
-.Sh SEE ALSO
-.Xr pam 3 ,
-.Xr pam_strerror 3
-.Sh STANDARDS
-.Rs
-.%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
-.%D "June 1997"
-.Re
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/pam_chauthtok.3 b/contrib/openpam/doc/man/pam_chauthtok.3
deleted file mode 100644
index 570dbc2..0000000
--- a/contrib/openpam/doc/man/pam_chauthtok.3
+++ /dev/null
@@ -1,120 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt PAM_CHAUTHTOK 3
-.Os
-.Sh NAME
-.Nm pam_chauthtok
-.Nd perform password related functions within the PAM framework
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.Ft "int"
-.Fn pam_chauthtok "pam_handle_t *pamh" "int flags"
-.Sh DESCRIPTION
-The
-.Nm
-function attempts to change the authentication token
-for the user associated with the pam context specified by the
-.Fa pamh
-argument.
-.Pp
-The
-.Fa flags
-argument is the binary or of zero or more of the following
-values:
-.Bl -tag -width 18n
-.It Dv PAM_SILENT
-Do not emit any messages.
-.It Dv PAM_CHANGE_EXPIRED_AUTHTOK
-Change only those authentication tokens that have expired.
-.El
-.Pp
-If any other bits are set,
-.Nm
-will return
-.Dv PAM_SYMBOL_ERR .
-.Sh RETURN VALUES
-The
-.Nm
-function returns one of the following values:
-.Bl -tag -width 18n
-.It Bq Er PAM_ABORT
-General failure.
-.It Bq Er PAM_AUTHTOK_DISABLE_AGING
-Authentication token aging disabled.
-.It Bq Er PAM_AUTHTOK_ERR
-Authentication token failure.
-.It Bq Er PAM_AUTHTOK_LOCK_BUSY
-Authentication token lock busy.
-.It Bq Er PAM_AUTHTOK_RECOVERY_ERR
-Failed to recover old authentication token.
-.It Bq Er PAM_BUF_ERR
-Memory buffer error.
-.It Bq Er PAM_CONV_ERR
-Conversation failure.
-.It Bq Er PAM_PERM_DENIED
-Permission denied.
-.It Bq Er PAM_SERVICE_ERR
-Error in service module.
-.It Bq Er PAM_SYMBOL_ERR
-Invalid symbol.
-.It Bq Er PAM_SYSTEM_ERR
-System error.
-.It Bq Er PAM_TRY_AGAIN
-Try again.
-.El
-.Sh SEE ALSO
-.Xr pam 3 ,
-.Xr pam_strerror 3
-.Sh STANDARDS
-.Rs
-.%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
-.%D "June 1997"
-.Re
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/pam_close_session.3 b/contrib/openpam/doc/man/pam_close_session.3
deleted file mode 100644
index d6e3bc3..0000000
--- a/contrib/openpam/doc/man/pam_close_session.3
+++ /dev/null
@@ -1,110 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt PAM_CLOSE_SESSION 3
-.Os
-.Sh NAME
-.Nm pam_close_session
-.Nd close an existing user session
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.Ft "int"
-.Fn pam_close_session "pam_handle_t *pamh" "int flags"
-.Sh DESCRIPTION
-The
-.Nm
-function tears down the user session previously
-set up by
-.Xr pam_open_session 3 .
-.Pp
-The
-.Fa flags
-argument is the binary or of zero or more of the following
-values:
-.Bl -tag -width 18n
-.It Dv PAM_SILENT
-Do not emit any messages.
-.El
-.Pp
-If any other bits are set,
-.Nm
-will return
-.Dv PAM_SYMBOL_ERR .
-.Sh RETURN VALUES
-The
-.Nm
-function returns one of the following values:
-.Bl -tag -width 18n
-.It Bq Er PAM_ABORT
-General failure.
-.It Bq Er PAM_BUF_ERR
-Memory buffer error.
-.It Bq Er PAM_CONV_ERR
-Conversation failure.
-.It Bq Er PAM_PERM_DENIED
-Permission denied.
-.It Bq Er PAM_SERVICE_ERR
-Error in service module.
-.It Bq Er PAM_SESSION_ERR
-Session failure.
-.It Bq Er PAM_SYMBOL_ERR
-Invalid symbol.
-.It Bq Er PAM_SYSTEM_ERR
-System error.
-.El
-.Sh SEE ALSO
-.Xr pam 3 ,
-.Xr pam_open_session 3 ,
-.Xr pam_strerror 3
-.Sh STANDARDS
-.Rs
-.%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
-.%D "June 1997"
-.Re
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/pam_conv.3 b/contrib/openpam/doc/man/pam_conv.3
deleted file mode 100644
index b74e8f4..0000000
--- a/contrib/openpam/doc/man/pam_conv.3
+++ /dev/null
@@ -1,183 +0,0 @@
-.\"-
-.\" Copyright (c) 2002-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $Id: pam_conv.3 408 2007-12-21 11:36:24Z des $
-.\"
-.Dd June 16, 2005
-.Dt PAM_CONV 3
-.Os
-.Sh NAME
-.Nm pam_conv
-.Nd PAM conversation system
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In security/pam_appl.h
-.Bd -literal
-struct pam_message {
- int msg_style;
- char *msg;
-};
-
-struct pam_response {
- char *resp;
- int resp_retcode;
-};
-
-struct pam_conv {
- int (*conv)(int, const struct pam_message **,
- struct pam_response **, void *);
- void *appdata_ptr;
-};
-.Ed
-.Sh DESCRIPTION
-The PAM library uses an application-defined callback to communicate
-with the user.
-This callback is specified by the
-.Vt struct pam_conv
-passed to
-.Fn pam_start
-at the start of the transaction.
-It is also possible to set or change the conversation function at any
-point during a PAM transaction by changing the value of the
-.Dv PAM_CONV
-item.
-.Pp
-The conversation function's first argument specifies the number of
-messages (up to
-.Dv PAM_NUM_MSG )
-to process.
-The second argument is a pointer to an array of pointers to
-.Vt pam_message
-structures containing the actual messages.
-.Pp
-Each message can have one of four types, specified by the
-.Va msg_style
-member of
-.Vt struct pam_message :
-.Bl -tag -width 18n
-.It Dv PAM_PROMPT_ECHO_OFF
-Display a prompt and accept the user's response without echoing it to
-the terminal.
-This is commonly used for passwords.
-.It Dv PAM_PROMPT_ECHO_ON
-Display a prompt and accept the user's response, echoing it to the
-terminal.
-This is commonly used for login names and one-time passphrases.
-.It Dv PAM_ERROR_MSG
-Display an error message.
-.It Dv PAM_TEXT_INFO
-Display an informational message.
-.El
-.Pp
-In each case, the prompt or message to display is pointed to by the
-.Va msg
-member of
-.Vt struct pam_message .
-It can be up to
-.Dv PAM_MAX_MSG_SIZE
-characters long, including the terminating NUL.
-.Pp
-On success, the conversation function should allocate and fill a
-contiguous array of
-.Vt struct pam_response ,
-one for each message that was passed in.
-A pointer to the user's response to each message (or
-.Dv NULL
-in the case of informational or error messages) should be stored in
-the
-.Va resp
-member of the corresponding
-.Vt struct pam_response .
-Each response can be up to
-.Dv PAM_MAX_RESP_SIZE
-characters long, including the terminating NUL.
-.Pp
-The
-.Va resp_retcode
-member of
-.Vt struct pam_response
-is unused and should be set to zero.
-.Pp
-The conversation function should store a pointer to this array in the
-location pointed to by its third argument.
-It is the caller's responsibility to release both this array and the
-responses themselves, using
-.Xr free 3 .
-It is the conversation function's responsibility to ensure that it is
-legal to do so.
-.Pp
-The
-.Va appdata_ptr
-member of
-.Vt struct pam_conv
-is passed unmodified to the conversation function as its fourth and
-final argument.
-.Pp
-On failure, the conversation function should release any resources it
-has allocated, and return one of the predefined PAM error codes.
-.Sh RETURN VALUES
-The conversation function should return one of the following values:
-.Bl -tag -width 18n
-.It Bq Er PAM_BUF_ERR
-Memory buffer error.
-.It Bq Er PAM_CONV_ERR
-Conversation failure.
-.It Bq Er PAM_SUCCESS
-Success.
-.It Bq Er PAM_SYSTEM_ERR
-System error.
-.El
-.Sh SEE ALSO
-.Xr openpam_nullconv 3 ,
-.Xr openpam_ttyconv 3 ,
-.Xr pam 3 ,
-.Xr pam_error 3 ,
-.Xr pam_get_item 3 ,
-.Xr pam_info 3 ,
-.Xr pam_prompt 3 ,
-.Xr pam_set_item 3 ,
-.Xr pam_start 3
-.Sh STANDARDS
-.Rs
-.%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
-.%D "June 1997"
-.Re
-.Sh AUTHORS
-The OpenPAM library and this manual page were developed for the
-FreeBSD Project by ThinkSec AS and Network Associates Laboratories,
-the Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/pam_end.3 b/contrib/openpam/doc/man/pam_end.3
deleted file mode 100644
index bb130930..0000000
--- a/contrib/openpam/doc/man/pam_end.3
+++ /dev/null
@@ -1,87 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt PAM_END 3
-.Os
-.Sh NAME
-.Nm pam_end
-.Nd terminate the PAM transaction
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.Ft "int"
-.Fn pam_end "pam_handle_t *pamh" "int status"
-.Sh DESCRIPTION
-The
-.Nm
-function terminates a PAM transaction and destroys the
-corresponding PAM context, releasing all resources allocated to it.
-.Pp
-The
-.Fa status
-argument should be set to the error code returned by the
-last API call before the call to
-.Nm
-.
-.Sh RETURN VALUES
-The
-.Nm
-function returns one of the following values:
-.Bl -tag -width 18n
-.It Bq Er PAM_SYSTEM_ERR
-System error.
-.El
-.Sh SEE ALSO
-.Xr pam 3 ,
-.Xr pam_strerror 3
-.Sh STANDARDS
-.Rs
-.%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
-.%D "June 1997"
-.Re
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/pam_error.3 b/contrib/openpam/doc/man/pam_error.3
deleted file mode 100644
index 2863a1e..0000000
--- a/contrib/openpam/doc/man/pam_error.3
+++ /dev/null
@@ -1,87 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt PAM_ERROR 3
-.Os
-.Sh NAME
-.Nm pam_error
-.Nd display an error message
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.Ft "int"
-.Fn pam_error "const pam_handle_t *pamh" "const char *fmt" "..."
-.Sh DESCRIPTION
-The
-.Nm
-function displays an error message through the
-intermediary of the given PAM context's conversation function.
-.Pp
-.Sh RETURN VALUES
-The
-.Nm
-function returns one of the following values:
-.Bl -tag -width 18n
-.It Bq Er PAM_BUF_ERR
-Memory buffer error.
-.It Bq Er PAM_CONV_ERR
-Conversation failure.
-.It Bq Er PAM_SYSTEM_ERR
-System error.
-.El
-.Sh SEE ALSO
-.Xr pam 3 ,
-.Xr pam_info 3 ,
-.Xr pam_prompt 3 ,
-.Xr pam_strerror 3 ,
-.Xr pam_verror 3
-.Sh STANDARDS
-The
-.Nm
-function is an OpenPAM extension.
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/pam_get_authtok.3 b/contrib/openpam/doc/man/pam_get_authtok.3
deleted file mode 100644
index d2cda79..0000000
--- a/contrib/openpam/doc/man/pam_get_authtok.3
+++ /dev/null
@@ -1,134 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt PAM_GET_AUTHTOK 3
-.Os
-.Sh NAME
-.Nm pam_get_authtok
-.Nd retrieve authentication token
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.Ft "int"
-.Fn pam_get_authtok "pam_handle_t *pamh" "int item" "const char **authtok" "const char *prompt"
-.Sh DESCRIPTION
-The
-.Nm
-function returns the cached authentication token,
-or prompts the user if no token is currently cached.
-Either way, a pointer to the authentication token is stored in the
-location pointed to by the
-.Fa authtok
-argument.
-.Pp
-The
-.Fa item
-argument must have one of the following values:
-.Bl -tag -width 18n
-.It Dv PAM_AUTHTOK
-Returns the current authentication token, or the new token
-when changing authentication tokens.
-.It Dv PAM_OLDAUTHTOK
-Returns the previous authentication token when changing
-authentication tokens.
-.El
-.Pp
-The
-.Fa prompt
-argument specifies a prompt to use if no token is cached.
-If it is
-.Dv NULL ,
-the
-.Dv PAM_AUTHTOK_PROMPT
-or
-.Dv PAM_OLDAUTHTOK_PROMPT
-item,
-as appropriate, will be used.
-If that item is also
-.Dv NULL ,
-a hardcoded default prompt will be used.
-.Pp
-If
-.Fa item
-is set to
-.Dv PAM_AUTHTOK
-and there is a non-null
-.Dv PAM_OLDAUTHTOK
-item,
-.Nm
-will ask the user to confirm the new token by
-retyping it.
-If there is a mismatch,
-.Nm
-will return
-.Dv PAM_TRY_AGAIN .
-.Pp
-.Sh RETURN VALUES
-The
-.Nm
-function returns one of the following values:
-.Bl -tag -width 18n
-.It Bq Er PAM_BUF_ERR
-Memory buffer error.
-.It Bq Er PAM_CONV_ERR
-Conversation failure.
-.It Bq Er PAM_SYSTEM_ERR
-System error.
-.It Bq Er PAM_TRY_AGAIN
-Try again.
-.El
-.Sh SEE ALSO
-.Xr pam 3 ,
-.Xr pam_get_item 3 ,
-.Xr pam_get_user 3 ,
-.Xr pam_strerror 3
-.Sh STANDARDS
-The
-.Nm
-function is an OpenPAM extension.
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/pam_get_data.3 b/contrib/openpam/doc/man/pam_get_data.3
deleted file mode 100644
index 6ae03cf..0000000
--- a/contrib/openpam/doc/man/pam_get_data.3
+++ /dev/null
@@ -1,96 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt PAM_GET_DATA 3
-.Os
-.Sh NAME
-.Nm pam_get_data
-.Nd get module information
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.Ft "int"
-.Fn pam_get_data "const pam_handle_t *pamh" "const char *module_data_name" "const void **data"
-.Sh DESCRIPTION
-The
-.Nm
-function looks up the opaque object associated with
-the string specified by the
-.Fa module_data_name
-argument, in the PAM
-context specified by the
-.Fa pamh
-argument.
-A pointer to the object is stored in the location pointed to by the
-.Fa data
-argument.
-.Pp
-This function and its counterpart
-.Xr pam_set_data 3
-are useful for managing
-data that are meaningful only to a particular service module.
-.Sh RETURN VALUES
-The
-.Nm
-function returns one of the following values:
-.Bl -tag -width 18n
-.It Bq Er PAM_NO_MODULE_DATA
-Module data not found.
-.It Bq Er PAM_SYSTEM_ERR
-System error.
-.El
-.Sh SEE ALSO
-.Xr pam 3 ,
-.Xr pam_set_data 3 ,
-.Xr pam_strerror 3
-.Sh STANDARDS
-.Rs
-.%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
-.%D "June 1997"
-.Re
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/pam_get_item.3 b/contrib/openpam/doc/man/pam_get_item.3
deleted file mode 100644
index 01c4243..0000000
--- a/contrib/openpam/doc/man/pam_get_item.3
+++ /dev/null
@@ -1,129 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt PAM_GET_ITEM 3
-.Os
-.Sh NAME
-.Nm pam_get_item
-.Nd get PAM information
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.Ft "int"
-.Fn pam_get_item "const pam_handle_t *pamh" "int item_type" "const void **item"
-.Sh DESCRIPTION
-The
-.Nm
-function stores a pointer to the item specified by
-the
-.Fa item_type
-argument in the location specified by the
-.Fa item
-argument.
-The item is retrieved from the PAM context specified by the
-.Fa pamh
-argument.
-The following item types are recognized:
-.Bl -tag -width 18n
-.It Dv PAM_SERVICE
-The name of the requesting service.
-.It Dv PAM_USER
-The name of the user the application is trying to
-authenticate.
-.It Dv PAM_TTY
-The name of the current terminal.
-.It Dv PAM_RHOST
-The name of the applicant's host.
-.It Dv PAM_CONV
-A
-.Vt struct pam_conv
-describing the current conversation
-function.
-.It Dv PAM_AUTHTOK
-The current authentication token.
-.It Dv PAM_OLDAUTHTOK
-The expired authentication token.
-.It Dv PAM_RUSER
-The name of the applicant.
-.It Dv PAM_USER_PROMPT
-The prompt to use when asking the applicant for a user
-name to authenticate as.
-.It Dv PAM_AUTHTOK_PROMPT
-The prompt to use when asking the applicant for an
-authentication token.
-.It Dv PAM_OLDAUTHTOK_PROMPT
-The prompt to use when asking the applicant for an
-expired authentication token prior to changing it.
-.El
-.Pp
-See
-.Xr pam_start 3
-for a description of
-.Vt struct pam_conv .
-.Pp
-.Sh RETURN VALUES
-The
-.Nm
-function returns one of the following values:
-.Bl -tag -width 18n
-.It Bq Er PAM_SYMBOL_ERR
-Invalid symbol.
-.It Bq Er PAM_SYSTEM_ERR
-System error.
-.El
-.Sh SEE ALSO
-.Xr pam 3 ,
-.Xr pam_set_item 3 ,
-.Xr pam_start 3 ,
-.Xr pam_strerror 3
-.Sh STANDARDS
-.Rs
-.%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
-.%D "June 1997"
-.Re
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/pam_get_user.3 b/contrib/openpam/doc/man/pam_get_user.3
deleted file mode 100644
index 74b7130..0000000
--- a/contrib/openpam/doc/man/pam_get_user.3
+++ /dev/null
@@ -1,111 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt PAM_GET_USER 3
-.Os
-.Sh NAME
-.Nm pam_get_user
-.Nd retrieve user name
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.Ft "int"
-.Fn pam_get_user "pam_handle_t *pamh" "const char **user" "const char *prompt"
-.Sh DESCRIPTION
-The
-.Nm
-function returns the name of the target user, as
-specified to
-.Xr pam_start 3 .
-If no user was specified, nor set using
-.Xr pam_set_item 3 ,
-.Nm
-will prompt for a user name.
-Either way, a pointer to the user name is stored in the location
-pointed to by the
-.Fa user
-argument.
-.Pp
-The
-.Fa prompt
-argument specifies a prompt to use if no user name is
-cached.
-If it is
-.Dv NULL ,
-the
-.Dv PAM_USER_PROMPT
-will be used.
-If that item is also
-.Dv NULL ,
-a hardcoded default prompt will be used.
-.Pp
-.Sh RETURN VALUES
-The
-.Nm
-function returns one of the following values:
-.Bl -tag -width 18n
-.It Bq Er PAM_BUF_ERR
-Memory buffer error.
-.It Bq Er PAM_CONV_ERR
-Conversation failure.
-.It Bq Er PAM_SYSTEM_ERR
-System error.
-.El
-.Sh SEE ALSO
-.Xr pam 3 ,
-.Xr pam_get_authtok 3 ,
-.Xr pam_get_item 3 ,
-.Xr pam_set_item 3 ,
-.Xr pam_start 3 ,
-.Xr pam_strerror 3
-.Sh STANDARDS
-.Rs
-.%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
-.%D "June 1997"
-.Re
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/pam_getenv.3 b/contrib/openpam/doc/man/pam_getenv.3
deleted file mode 100644
index bacaf13..0000000
--- a/contrib/openpam/doc/man/pam_getenv.3
+++ /dev/null
@@ -1,85 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt PAM_GETENV 3
-.Os
-.Sh NAME
-.Nm pam_getenv
-.Nd retrieve the value of a PAM environment variable
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.Ft "const char *"
-.Fn pam_getenv "pam_handle_t *pamh" "const char *name"
-.Sh DESCRIPTION
-The
-.Nm
-function returns the value of an environment variable.
-Its semantics are similar to those of
-.Xr getenv 3 ,
-but it accesses the PAM
-context's environment list instead of the application's.
-.Pp
-.Sh RETURN VALUES
-The
-.Nm
-function returns
-.Dv NULL
-on failure.
-.Sh SEE ALSO
-.Xr getenv 3 ,
-.Xr pam 3 ,
-.Xr pam_getenvlist 3 ,
-.Xr pam_putenv 3 ,
-.Xr pam_setenv 3
-.Sh STANDARDS
-.Rs
-.%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
-.%D "June 1997"
-.Re
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/pam_getenvlist.3 b/contrib/openpam/doc/man/pam_getenvlist.3
deleted file mode 100644
index bafd482..0000000
--- a/contrib/openpam/doc/man/pam_getenvlist.3
+++ /dev/null
@@ -1,106 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt PAM_GETENVLIST 3
-.Os
-.Sh NAME
-.Nm pam_getenvlist
-.Nd returns a list of all the PAM environment variables
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.Ft "char **"
-.Fn pam_getenvlist "pam_handle_t *pamh"
-.Sh DESCRIPTION
-The
-.Nm
-function returns a copy of the given PAM context's
-environment list as a pointer to an array of strings.
-The last element in the array is
-.Dv NULL .
-The pointer is suitable for assignment to
-.Va environ .
-.Pp
-The array and the strings it lists are allocated using
-.Xr malloc 3 ,
-and
-should be released using
-.Xr free 3
-after use:
-.Pp
-.Bd -literal
- char **envlist, **env;
-
- envlist = environ;
- environ = pam_getenvlist(pamh);
- /* do something nifty */
- for (env = environ; *env != NULL; env++)
- free(*env);
- free(environ);
- environ = envlist;
-.Ed
-.Sh RETURN VALUES
-The
-.Nm
-function returns
-.Dv NULL
-on failure.
-.Sh SEE ALSO
-.Xr free 3 ,
-.Xr malloc 3 ,
-.Xr pam 3 ,
-.Xr pam_getenv 3 ,
-.Xr pam_putenv 3 ,
-.Xr pam_setenv 3 ,
-.Xr environ 7
-.Sh STANDARDS
-.Rs
-.%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
-.%D "June 1997"
-.Re
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/pam_info.3 b/contrib/openpam/doc/man/pam_info.3
deleted file mode 100644
index dc1fcc9..0000000
--- a/contrib/openpam/doc/man/pam_info.3
+++ /dev/null
@@ -1,87 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt PAM_INFO 3
-.Os
-.Sh NAME
-.Nm pam_info
-.Nd display an information message
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.Ft "int"
-.Fn pam_info "const pam_handle_t *pamh" "const char *fmt" "..."
-.Sh DESCRIPTION
-The
-.Nm
-function displays an informational message through the
-intermediary of the given PAM context's conversation function.
-.Pp
-.Sh RETURN VALUES
-The
-.Nm
-function returns one of the following values:
-.Bl -tag -width 18n
-.It Bq Er PAM_BUF_ERR
-Memory buffer error.
-.It Bq Er PAM_CONV_ERR
-Conversation failure.
-.It Bq Er PAM_SYSTEM_ERR
-System error.
-.El
-.Sh SEE ALSO
-.Xr pam 3 ,
-.Xr pam_error 3 ,
-.Xr pam_prompt 3 ,
-.Xr pam_strerror 3 ,
-.Xr pam_vinfo 3
-.Sh STANDARDS
-The
-.Nm
-function is an OpenPAM extension.
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/pam_open_session.3 b/contrib/openpam/doc/man/pam_open_session.3
deleted file mode 100644
index 1bc4de4..0000000
--- a/contrib/openpam/doc/man/pam_open_session.3
+++ /dev/null
@@ -1,111 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt PAM_OPEN_SESSION 3
-.Os
-.Sh NAME
-.Nm pam_open_session
-.Nd open a user session
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.Ft "int"
-.Fn pam_open_session "pam_handle_t *pamh" "int flags"
-.Sh DESCRIPTION
-The
-.Nm
-sets up a user session for a previously
-authenticated user.
-The session should later be torn down by a call to
-.Xr pam_close_session 3 .
-.Pp
-The
-.Fa flags
-argument is the binary or of zero or more of the following
-values:
-.Bl -tag -width 18n
-.It Dv PAM_SILENT
-Do not emit any messages.
-.El
-.Pp
-If any other bits are set,
-.Nm
-will return
-.Dv PAM_SYMBOL_ERR .
-.Sh RETURN VALUES
-The
-.Nm
-function returns one of the following values:
-.Bl -tag -width 18n
-.It Bq Er PAM_ABORT
-General failure.
-.It Bq Er PAM_BUF_ERR
-Memory buffer error.
-.It Bq Er PAM_CONV_ERR
-Conversation failure.
-.It Bq Er PAM_PERM_DENIED
-Permission denied.
-.It Bq Er PAM_SERVICE_ERR
-Error in service module.
-.It Bq Er PAM_SESSION_ERR
-Session failure.
-.It Bq Er PAM_SYMBOL_ERR
-Invalid symbol.
-.It Bq Er PAM_SYSTEM_ERR
-System error.
-.El
-.Sh SEE ALSO
-.Xr pam 3 ,
-.Xr pam_close_session 3 ,
-.Xr pam_strerror 3
-.Sh STANDARDS
-.Rs
-.%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
-.%D "June 1997"
-.Re
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/pam_prompt.3 b/contrib/openpam/doc/man/pam_prompt.3
deleted file mode 100644
index 8712647..0000000
--- a/contrib/openpam/doc/man/pam_prompt.3
+++ /dev/null
@@ -1,99 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt PAM_PROMPT 3
-.Os
-.Sh NAME
-.Nm pam_prompt
-.Nd call the conversation function
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.Ft "int"
-.Fn pam_prompt "const pam_handle_t *pamh" "int style" "char **resp" "const char *fmt" "..."
-.Sh DESCRIPTION
-The
-.Nm
-function constructs a message from the specified format
-string and arguments and passes it to the given PAM context's
-conversation function.
-.Pp
-A pointer to the response, or
-.Dv NULL
-if the conversation function did
-not return one, is stored in the location pointed to by the
-.Fa resp
-argument.
-.Pp
-See
-.Xr pam_vprompt 3
-for further details.
-.Pp
-.Sh RETURN VALUES
-The
-.Nm
-function returns one of the following values:
-.Bl -tag -width 18n
-.It Bq Er PAM_BUF_ERR
-Memory buffer error.
-.It Bq Er PAM_CONV_ERR
-Conversation failure.
-.It Bq Er PAM_SYSTEM_ERR
-System error.
-.El
-.Sh SEE ALSO
-.Xr pam 3 ,
-.Xr pam_error 3 ,
-.Xr pam_info 3 ,
-.Xr pam_strerror 3 ,
-.Xr pam_vprompt 3
-.Sh STANDARDS
-The
-.Nm
-function is an OpenPAM extension.
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/pam_putenv.3 b/contrib/openpam/doc/man/pam_putenv.3
deleted file mode 100644
index 0db2828..0000000
--- a/contrib/openpam/doc/man/pam_putenv.3
+++ /dev/null
@@ -1,90 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt PAM_PUTENV 3
-.Os
-.Sh NAME
-.Nm pam_putenv
-.Nd set the value of an environment variable
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.Ft "int"
-.Fn pam_putenv "pam_handle_t *pamh" "const char *namevalue"
-.Sh DESCRIPTION
-The
-.Nm
-function sets a environment variable.
-Its semantics are similar to those of
-.Xr putenv 3 ,
-but it modifies the PAM
-context's environment list instead of the application's.
-.Pp
-.Sh RETURN VALUES
-The
-.Nm
-function returns one of the following values:
-.Bl -tag -width 18n
-.It Bq Er PAM_BUF_ERR
-Memory buffer error.
-.It Bq Er PAM_SYSTEM_ERR
-System error.
-.El
-.Sh SEE ALSO
-.Xr pam 3 ,
-.Xr pam_getenv 3 ,
-.Xr pam_getenvlist 3 ,
-.Xr pam_setenv 3 ,
-.Xr pam_strerror 3 ,
-.Xr putenv 3
-.Sh STANDARDS
-.Rs
-.%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
-.%D "June 1997"
-.Re
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/pam_set_data.3 b/contrib/openpam/doc/man/pam_set_data.3
deleted file mode 100644
index d8c2c61..0000000
--- a/contrib/openpam/doc/man/pam_set_data.3
+++ /dev/null
@@ -1,100 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt PAM_SET_DATA 3
-.Os
-.Sh NAME
-.Nm pam_set_data
-.Nd set module information
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.Ft "int"
-.Fn pam_set_data "pam_handle_t *pamh" "const char *module_data_name" "void *data" "void (*cleanup)(pam_handle_t *pamh, void *data, int pam_end_status)"
-.Sh DESCRIPTION
-The
-.Nm
-function associates a pointer to an opaque object
-with an arbitrary string specified by the
-.Fa module_data_name
-argument,
-in the PAM context specified by the
-.Fa pamh
-argument.
-.Pp
-If not
-.Dv NULL ,
-the
-.Fa cleanup
-argument should point to a function
-responsible for releasing the resources associated with the object.
-.Pp
-This function and its counterpart
-.Xr pam_get_data 3
-are useful for managing
-data that are meaningful only to a particular service module.
-.Sh RETURN VALUES
-The
-.Nm
-function returns one of the following values:
-.Bl -tag -width 18n
-.It Bq Er PAM_BUF_ERR
-Memory buffer error.
-.It Bq Er PAM_SYSTEM_ERR
-System error.
-.El
-.Sh SEE ALSO
-.Xr pam 3 ,
-.Xr pam_get_data 3 ,
-.Xr pam_strerror 3
-.Sh STANDARDS
-.Rs
-.%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
-.%D "June 1997"
-.Re
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/pam_set_item.3 b/contrib/openpam/doc/man/pam_set_item.3
deleted file mode 100644
index f4662d0..0000000
--- a/contrib/openpam/doc/man/pam_set_item.3
+++ /dev/null
@@ -1,94 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt PAM_SET_ITEM 3
-.Os
-.Sh NAME
-.Nm pam_set_item
-.Nd set authentication information
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.Ft "int"
-.Fn pam_set_item "pam_handle_t *pamh" "int item_type" "const void *item"
-.Sh DESCRIPTION
-The
-.Nm
-function sets the item specified by the
-.Fa item_type
-argument to a copy of the object pointed to by the
-.Fa item
-argument.
-The item is stored in the PAM context specified by the
-.Fa pamh
-argument.
-See
-.Xr pam_get_item 3
-for a list of recognized item types.
-.Sh RETURN VALUES
-The
-.Nm
-function returns one of the following values:
-.Bl -tag -width 18n
-.It Bq Er PAM_BUF_ERR
-Memory buffer error.
-.It Bq Er PAM_SYMBOL_ERR
-Invalid symbol.
-.It Bq Er PAM_SYSTEM_ERR
-System error.
-.El
-.Sh SEE ALSO
-.Xr pam 3 ,
-.Xr pam_get_item 3 ,
-.Xr pam_strerror 3
-.Sh STANDARDS
-.Rs
-.%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
-.%D "June 1997"
-.Re
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/pam_setcred.3 b/contrib/openpam/doc/man/pam_setcred.3
deleted file mode 100644
index 4df9b30..0000000
--- a/contrib/openpam/doc/man/pam_setcred.3
+++ /dev/null
@@ -1,123 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt PAM_SETCRED 3
-.Os
-.Sh NAME
-.Nm pam_setcred
-.Nd modify / delete user credentials for an authentication service
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.Ft "int"
-.Fn pam_setcred "pam_handle_t *pamh" "int flags"
-.Sh DESCRIPTION
-The
-.Nm
-function manages the application's credentials.
-.Pp
-The
-.Fa flags
-argument is the binary or of zero or more of the following
-values:
-.Bl -tag -width 18n
-.It Dv PAM_SILENT
-Do not emit any messages.
-.It Dv PAM_ESTABLISH_CRED
-Establish the credentials of the target user.
-.It Dv PAM_DELETE_CRED
-Revoke all established credentials.
-.It Dv PAM_REINITIALIZE_CRED
-Fully reinitialise credentials.
-.It Dv PAM_REFRESH_CRED
-Refresh credentials.
-.El
-.Pp
-The latter four are mutually exclusive.
-.Pp
-If any other bits are set,
-.Nm
-will return
-.Dv PAM_SYMBOL_ERR .
-.Sh RETURN VALUES
-The
-.Nm
-function returns one of the following values:
-.Bl -tag -width 18n
-.It Bq Er PAM_ABORT
-General failure.
-.It Bq Er PAM_BUF_ERR
-Memory buffer error.
-.It Bq Er PAM_CONV_ERR
-Conversation failure.
-.It Bq Er PAM_CRED_ERR
-Failed to set user credentials.
-.It Bq Er PAM_CRED_EXPIRED
-User credentials have expired.
-.It Bq Er PAM_CRED_UNAVAIL
-Failed to retrieve user credentials.
-.It Bq Er PAM_PERM_DENIED
-Permission denied.
-.It Bq Er PAM_SERVICE_ERR
-Error in service module.
-.It Bq Er PAM_SYMBOL_ERR
-Invalid symbol.
-.It Bq Er PAM_SYSTEM_ERR
-System error.
-.It Bq Er PAM_USER_UNKNOWN
-Unknown user.
-.El
-.Sh SEE ALSO
-.Xr pam 3 ,
-.Xr pam_strerror 3
-.Sh STANDARDS
-.Rs
-.%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
-.%D "June 1997"
-.Re
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/pam_setenv.3 b/contrib/openpam/doc/man/pam_setenv.3
deleted file mode 100644
index 681ea03..0000000
--- a/contrib/openpam/doc/man/pam_setenv.3
+++ /dev/null
@@ -1,89 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt PAM_SETENV 3
-.Os
-.Sh NAME
-.Nm pam_setenv
-.Nd mirrors setenv(3)
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.Ft "int"
-.Fn pam_setenv "pam_handle_t *pamh" "const char *name" "const char *value" "int overwrite"
-.Sh DESCRIPTION
-The
-.Nm
-function sets a environment variable.
-Its semantics are similar to those of
-.Xr setenv 3 ,
-but it modifies the PAM
-context's environment list instead of the application's.
-.Pp
-.Sh RETURN VALUES
-The
-.Nm
-function returns one of the following values:
-.Bl -tag -width 18n
-.It Bq Er PAM_BUF_ERR
-Memory buffer error.
-.It Bq Er PAM_SYSTEM_ERR
-System error.
-.El
-.Sh SEE ALSO
-.Xr pam 3 ,
-.Xr pam_getenv 3 ,
-.Xr pam_getenvlist 3 ,
-.Xr pam_putenv 3 ,
-.Xr pam_strerror 3 ,
-.Xr setenv 3
-.Sh STANDARDS
-The
-.Nm
-function is an OpenPAM extension.
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/pam_sm_acct_mgmt.3 b/contrib/openpam/doc/man/pam_sm_acct_mgmt.3
deleted file mode 100644
index b4aa0d9..0000000
--- a/contrib/openpam/doc/man/pam_sm_acct_mgmt.3
+++ /dev/null
@@ -1,104 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt PAM_SM_ACCT_MGMT 3
-.Os
-.Sh NAME
-.Nm pam_sm_acct_mgmt
-.Nd service module implementation for pam_acct_mgmt
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.In security/pam_modules.h
-.Ft "int"
-.Fn pam_sm_acct_mgmt "pam_handle_t *pamh" "int flags" "int argc" "const char **argv"
-.Sh DESCRIPTION
-The
-.Nm
-function is the service module's implementation
-of the
-.Xr pam_acct_mgmt 3
-API function.
-.Sh RETURN VALUES
-The
-.Nm
-function returns one of the following values:
-.Bl -tag -width 18n
-.It Bq Er PAM_ABORT
-General failure.
-.It Bq Er PAM_ACCT_EXPIRED
-User account has expired.
-.It Bq Er PAM_AUTH_ERR
-Authentication error.
-.It Bq Er PAM_BUF_ERR
-Memory buffer error.
-.It Bq Er PAM_CONV_ERR
-Conversation failure.
-.It Bq Er PAM_IGNORE
-Ignore this module.
-.It Bq Er PAM_NEW_AUTHTOK_REQD
-New authentication token required.
-.It Bq Er PAM_PERM_DENIED
-Permission denied.
-.It Bq Er PAM_SERVICE_ERR
-Error in service module.
-.It Bq Er PAM_SYSTEM_ERR
-System error.
-.It Bq Er PAM_USER_UNKNOWN
-Unknown user.
-.El
-.Sh SEE ALSO
-.Xr pam 3 ,
-.Xr pam_acct_mgmt 3 ,
-.Xr pam_strerror 3
-.Sh STANDARDS
-.Rs
-.%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
-.%D "June 1997"
-.Re
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/pam_sm_authenticate.3 b/contrib/openpam/doc/man/pam_sm_authenticate.3
deleted file mode 100644
index 0dbb646..0000000
--- a/contrib/openpam/doc/man/pam_sm_authenticate.3
+++ /dev/null
@@ -1,106 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt PAM_SM_AUTHENTICATE 3
-.Os
-.Sh NAME
-.Nm pam_sm_authenticate
-.Nd service module implementation for pam_authenticate
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.In security/pam_modules.h
-.Ft "int"
-.Fn pam_sm_authenticate "pam_handle_t *pamh" "int flags" "int argc" "const char **argv"
-.Sh DESCRIPTION
-The
-.Nm
-function is the service module's
-implementation of the
-.Xr pam_authenticate 3
-API function.
-.Sh RETURN VALUES
-The
-.Nm
-function returns one of the following values:
-.Bl -tag -width 18n
-.It Bq Er PAM_ABORT
-General failure.
-.It Bq Er PAM_AUTHINFO_UNAVAIL
-Authentication information is unavailable.
-.It Bq Er PAM_AUTH_ERR
-Authentication error.
-.It Bq Er PAM_BUF_ERR
-Memory buffer error.
-.It Bq Er PAM_CONV_ERR
-Conversation failure.
-.It Bq Er PAM_CRED_INSUFFICIENT
-Insufficient credentials.
-.It Bq Er PAM_IGNORE
-Ignore this module.
-.It Bq Er PAM_MAXTRIES
-Maximum number of tries exceeded.
-.It Bq Er PAM_PERM_DENIED
-Permission denied.
-.It Bq Er PAM_SERVICE_ERR
-Error in service module.
-.It Bq Er PAM_SYSTEM_ERR
-System error.
-.It Bq Er PAM_USER_UNKNOWN
-Unknown user.
-.El
-.Sh SEE ALSO
-.Xr pam 3 ,
-.Xr pam_authenticate 3 ,
-.Xr pam_strerror 3
-.Sh STANDARDS
-.Rs
-.%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
-.%D "June 1997"
-.Re
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/pam_sm_chauthtok.3 b/contrib/openpam/doc/man/pam_sm_chauthtok.3
deleted file mode 100644
index b348cf2..0000000
--- a/contrib/openpam/doc/man/pam_sm_chauthtok.3
+++ /dev/null
@@ -1,106 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt PAM_SM_CHAUTHTOK 3
-.Os
-.Sh NAME
-.Nm pam_sm_chauthtok
-.Nd service module implementation for pam_chauthtok
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.In security/pam_modules.h
-.Ft "int"
-.Fn pam_sm_chauthtok "pam_handle_t *pamh" "int flags" "int argc" "const char **argv"
-.Sh DESCRIPTION
-The
-.Nm
-function is the service module's implementation
-of the
-.Xr pam_chauthtok 3
-API function.
-.Sh RETURN VALUES
-The
-.Nm
-function returns one of the following values:
-.Bl -tag -width 18n
-.It Bq Er PAM_ABORT
-General failure.
-.It Bq Er PAM_AUTHTOK_DISABLE_AGING
-Authentication token aging disabled.
-.It Bq Er PAM_AUTHTOK_ERR
-Authentication token failure.
-.It Bq Er PAM_AUTHTOK_LOCK_BUSY
-Authentication token lock busy.
-.It Bq Er PAM_AUTHTOK_RECOVERY_ERR
-Failed to recover old authentication token.
-.It Bq Er PAM_BUF_ERR
-Memory buffer error.
-.It Bq Er PAM_CONV_ERR
-Conversation failure.
-.It Bq Er PAM_IGNORE
-Ignore this module.
-.It Bq Er PAM_PERM_DENIED
-Permission denied.
-.It Bq Er PAM_SERVICE_ERR
-Error in service module.
-.It Bq Er PAM_SYSTEM_ERR
-System error.
-.It Bq Er PAM_TRY_AGAIN
-Try again.
-.El
-.Sh SEE ALSO
-.Xr pam 3 ,
-.Xr pam_chauthtok 3 ,
-.Xr pam_strerror 3
-.Sh STANDARDS
-.Rs
-.%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
-.%D "June 1997"
-.Re
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/pam_sm_close_session.3 b/contrib/openpam/doc/man/pam_sm_close_session.3
deleted file mode 100644
index 927d48a..0000000
--- a/contrib/openpam/doc/man/pam_sm_close_session.3
+++ /dev/null
@@ -1,98 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt PAM_SM_CLOSE_SESSION 3
-.Os
-.Sh NAME
-.Nm pam_sm_close_session
-.Nd service module implementation for pam_close_session
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.In security/pam_modules.h
-.Ft "int"
-.Fn pam_sm_close_session "pam_handle_t *pamh" "int flags" "int args" "const char **argv"
-.Sh DESCRIPTION
-The
-.Nm
-function is the service module's
-implementation of the
-.Xr pam_close_session 3
-API function.
-.Sh RETURN VALUES
-The
-.Nm
-function returns one of the following values:
-.Bl -tag -width 18n
-.It Bq Er PAM_ABORT
-General failure.
-.It Bq Er PAM_BUF_ERR
-Memory buffer error.
-.It Bq Er PAM_CONV_ERR
-Conversation failure.
-.It Bq Er PAM_IGNORE
-Ignore this module.
-.It Bq Er PAM_PERM_DENIED
-Permission denied.
-.It Bq Er PAM_SERVICE_ERR
-Error in service module.
-.It Bq Er PAM_SESSION_ERR
-Session failure.
-.It Bq Er PAM_SYSTEM_ERR
-System error.
-.El
-.Sh SEE ALSO
-.Xr pam 3 ,
-.Xr pam_close_session 3 ,
-.Xr pam_strerror 3
-.Sh STANDARDS
-.Rs
-.%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
-.%D "June 1997"
-.Re
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/pam_sm_open_session.3 b/contrib/openpam/doc/man/pam_sm_open_session.3
deleted file mode 100644
index bc47b30..0000000
--- a/contrib/openpam/doc/man/pam_sm_open_session.3
+++ /dev/null
@@ -1,98 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt PAM_SM_OPEN_SESSION 3
-.Os
-.Sh NAME
-.Nm pam_sm_open_session
-.Nd service module implementation for pam_open_session
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.In security/pam_modules.h
-.Ft "int"
-.Fn pam_sm_open_session "pam_handle_t *pamh" "int flags" "int argc" "const char **argv"
-.Sh DESCRIPTION
-The
-.Nm
-function is the service module's
-implementation of the
-.Xr pam_open_session 3
-API function.
-.Sh RETURN VALUES
-The
-.Nm
-function returns one of the following values:
-.Bl -tag -width 18n
-.It Bq Er PAM_ABORT
-General failure.
-.It Bq Er PAM_BUF_ERR
-Memory buffer error.
-.It Bq Er PAM_CONV_ERR
-Conversation failure.
-.It Bq Er PAM_IGNORE
-Ignore this module.
-.It Bq Er PAM_PERM_DENIED
-Permission denied.
-.It Bq Er PAM_SERVICE_ERR
-Error in service module.
-.It Bq Er PAM_SESSION_ERR
-Session failure.
-.It Bq Er PAM_SYSTEM_ERR
-System error.
-.El
-.Sh SEE ALSO
-.Xr pam 3 ,
-.Xr pam_open_session 3 ,
-.Xr pam_strerror 3
-.Sh STANDARDS
-.Rs
-.%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
-.%D "June 1997"
-.Re
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/pam_sm_setcred.3 b/contrib/openpam/doc/man/pam_sm_setcred.3
deleted file mode 100644
index 6f37589..0000000
--- a/contrib/openpam/doc/man/pam_sm_setcred.3
+++ /dev/null
@@ -1,104 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt PAM_SM_SETCRED 3
-.Os
-.Sh NAME
-.Nm pam_sm_setcred
-.Nd service module implementation for pam_setcred
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.In security/pam_modules.h
-.Ft "int"
-.Fn pam_sm_setcred "pam_handle_t *pamh" "int flags" "int argc" "const char **argv"
-.Sh DESCRIPTION
-The
-.Nm
-function is the service module's implementation of
-the
-.Xr pam_setcred 3
-API function.
-.Sh RETURN VALUES
-The
-.Nm
-function returns one of the following values:
-.Bl -tag -width 18n
-.It Bq Er PAM_ABORT
-General failure.
-.It Bq Er PAM_BUF_ERR
-Memory buffer error.
-.It Bq Er PAM_CONV_ERR
-Conversation failure.
-.It Bq Er PAM_CRED_ERR
-Failed to set user credentials.
-.It Bq Er PAM_CRED_EXPIRED
-User credentials have expired.
-.It Bq Er PAM_CRED_UNAVAIL
-Failed to retrieve user credentials.
-.It Bq Er PAM_IGNORE
-Ignore this module.
-.It Bq Er PAM_PERM_DENIED
-Permission denied.
-.It Bq Er PAM_SERVICE_ERR
-Error in service module.
-.It Bq Er PAM_SYSTEM_ERR
-System error.
-.It Bq Er PAM_USER_UNKNOWN
-Unknown user.
-.El
-.Sh SEE ALSO
-.Xr pam 3 ,
-.Xr pam_setcred 3 ,
-.Xr pam_strerror 3
-.Sh STANDARDS
-.Rs
-.%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
-.%D "June 1997"
-.Re
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/pam_start.3 b/contrib/openpam/doc/man/pam_start.3
deleted file mode 100644
index b020456..0000000
--- a/contrib/openpam/doc/man/pam_start.3
+++ /dev/null
@@ -1,109 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt PAM_START 3
-.Os
-.Sh NAME
-.Nm pam_start
-.Nd initiate a PAM transaction
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.Ft "int"
-.Fn pam_start "const char *service" "const char *user" "const struct pam_conv *pam_conv" "pam_handle_t **pamh"
-.Sh DESCRIPTION
-The
-.Nm
-function creates and initializes a PAM context.
-.Pp
-The
-.Fa service
-argument specifies the name of the policy to apply, and is
-stored in the
-.Dv PAM_SERVICE
-item in the created context.
-.Pp
-The
-.Fa user
-argument specifies the name of the target user - the user the
-created context will serve to authenticate.
-It is stored in the
-.Dv PAM_USER
-item in the created context.
-.Pp
-The
-.Fa pam_conv
-argument points to a
-.Vt struct pam_conv
-describing the
-conversation function to use; see
-.Fa pam_conv
-for details.
-.Pp
-.Sh RETURN VALUES
-The
-.Nm
-function returns one of the following values:
-.Bl -tag -width 18n
-.It Bq Er PAM_BUF_ERR
-Memory buffer error.
-.It Bq Er PAM_SYSTEM_ERR
-System error.
-.El
-.Sh SEE ALSO
-.Xr pam 3 ,
-.Xr pam_end 3 ,
-.Xr pam_get_item 3 ,
-.Xr pam_set_item 3 ,
-.Xr pam_strerror 3
-.Sh STANDARDS
-.Rs
-.%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
-.%D "June 1997"
-.Re
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/pam_strerror.3 b/contrib/openpam/doc/man/pam_strerror.3
deleted file mode 100644
index b626eac..0000000
--- a/contrib/openpam/doc/man/pam_strerror.3
+++ /dev/null
@@ -1,81 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt PAM_STRERROR 3
-.Os
-.Sh NAME
-.Nm pam_strerror
-.Nd get PAM standard error message string
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.Ft "const char *"
-.Fn pam_strerror "const pam_handle_t *pamh" "int error_number"
-.Sh DESCRIPTION
-The
-.Nm
-function returns a pointer to a string containing a
-textual description of the error indicated by the
-.Fa error_number
-argument, in the context of the PAM transaction described by the
-.Fa pamh
-argument.
-.Sh RETURN VALUES
-The
-.Nm
-function returns
-.Dv NULL
-on failure.
-.Sh SEE ALSO
-.Xr pam 3
-.Sh STANDARDS
-.Rs
-.%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
-.%D "June 1997"
-.Re
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/pam_verror.3 b/contrib/openpam/doc/man/pam_verror.3
deleted file mode 100644
index 1a03438..0000000
--- a/contrib/openpam/doc/man/pam_verror.3
+++ /dev/null
@@ -1,91 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt PAM_VERROR 3
-.Os
-.Sh NAME
-.Nm pam_verror
-.Nd display an error message
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.Ft "int"
-.Fn pam_verror "const pam_handle_t *pamh" "const char *fmt" "va_list ap"
-.Sh DESCRIPTION
-The
-.Nm
-function passes its arguments to
-.Xr pam_vprompt 3
-with a
-style argument of
-.Dv PAM_ERROR_MSG ,
-and discards the response.
-.Pp
-.Sh RETURN VALUES
-The
-.Nm
-function returns one of the following values:
-.Bl -tag -width 18n
-.It Bq Er PAM_BUF_ERR
-Memory buffer error.
-.It Bq Er PAM_CONV_ERR
-Conversation failure.
-.It Bq Er PAM_SYSTEM_ERR
-System error.
-.El
-.Sh SEE ALSO
-.Xr pam 3 ,
-.Xr pam_error 3 ,
-.Xr pam_strerror 3 ,
-.Xr pam_vinfo 3 ,
-.Xr pam_vprompt 3
-.Sh STANDARDS
-The
-.Nm
-function is an OpenPAM extension.
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/pam_vinfo.3 b/contrib/openpam/doc/man/pam_vinfo.3
deleted file mode 100644
index a28965d..0000000
--- a/contrib/openpam/doc/man/pam_vinfo.3
+++ /dev/null
@@ -1,91 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt PAM_VINFO 3
-.Os
-.Sh NAME
-.Nm pam_vinfo
-.Nd display an information message
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.Ft "int"
-.Fn pam_vinfo "const pam_handle_t *pamh" "const char *fmt" "va_list ap"
-.Sh DESCRIPTION
-The
-.Nm
-function passes its arguments to
-.Xr pam_vprompt 3
-with a
-style argument of
-.Dv PAM_TEXT_INFO ,
-and discards the response.
-.Pp
-.Sh RETURN VALUES
-The
-.Nm
-function returns one of the following values:
-.Bl -tag -width 18n
-.It Bq Er PAM_BUF_ERR
-Memory buffer error.
-.It Bq Er PAM_CONV_ERR
-Conversation failure.
-.It Bq Er PAM_SYSTEM_ERR
-System error.
-.El
-.Sh SEE ALSO
-.Xr pam 3 ,
-.Xr pam_info 3 ,
-.Xr pam_strerror 3 ,
-.Xr pam_verror 3 ,
-.Xr pam_vprompt 3
-.Sh STANDARDS
-The
-.Nm
-function is an OpenPAM extension.
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
diff --git a/contrib/openpam/doc/man/pam_vprompt.3 b/contrib/openpam/doc/man/pam_vprompt.3
deleted file mode 100644
index 72bca70..0000000
--- a/contrib/openpam/doc/man/pam_vprompt.3
+++ /dev/null
@@ -1,128 +0,0 @@
-.\"-
-.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2007 Dag-Erling Smørgrav
-.\" All rights reserved.
-.\"
-.\" This software was developed for the FreeBSD Project by ThinkSec AS and
-.\" Network Associates Laboratories, the Security Research Division of
-.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
-.\" ("CBOSS"), as part of the DARPA CHATS research program.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. The name of the author may not be used to endorse or promote
-.\" products derived from this software without specific prior written
-.\" permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $P4$
-.\"
-.Dd December 21, 2007
-.Dt PAM_VPROMPT 3
-.Os
-.Sh NAME
-.Nm pam_vprompt
-.Nd call the conversation function
-.Sh LIBRARY
-.Lb libpam
-.Sh SYNOPSIS
-.In sys/types.h
-.In security/pam_appl.h
-.Ft "int"
-.Fn pam_vprompt "const pam_handle_t *pamh" "int style" "char **resp" "const char *fmt" "va_list ap"
-.Sh DESCRIPTION
-The
-.Nm
-function constructs a string from the
-.Fa fmt
-and
-.Fa ap
-arguments using
-.Xr vsnprintf 3 ,
-and passes it to the given PAM context's
-conversation function.
-.Pp
-The
-.Fa style
-argument specifies the type of interaction requested, and
-must be one of the following:
-.Bl -tag -width 18n
-.It Dv PAM_PROMPT_ECHO_OFF
-Display the message and obtain the user's response without
-displaying it.
-.It Dv PAM_PROMPT_ECHO_ON
-Display the message and obtain the user's response.
-.It Dv PAM_ERROR_MSG
-Display the message as an error message, and do not wait
-for a response.
-.It Dv PAM_TEXT_INFO
-Display the message as an informational message, and do
-not wait for a response.
-.El
-.Pp
-A pointer to the response, or
-.Dv NULL
-if the conversation function did
-not return one, is stored in the location pointed to by the
-.Fa resp
-argument.
-.Pp
-The message and response should not exceed
-.Dv PAM_MAX_MSG_SIZE
-or
-.Dv PAM_MAX_RESP_SIZE ,
-respectively.
-If they do, they may be truncated.
-.Pp
-.Sh RETURN VALUES
-The
-.Nm
-function returns one of the following values:
-.Bl -tag -width 18n
-.It Bq Er PAM_BUF_ERR
-Memory buffer error.
-.It Bq Er PAM_CONV_ERR
-Conversation failure.
-.It Bq Er PAM_SYSTEM_ERR
-System error.
-.El
-.Sh SEE ALSO
-.Xr pam 3 ,
-.Xr pam_error 3 ,
-.Xr pam_info 3 ,
-.Xr pam_prompt 3 ,
-.Xr pam_strerror 3 ,
-.Xr pam_verror 3 ,
-.Xr pam_vinfo 3 ,
-.Xr vsnprintf 3
-.Sh STANDARDS
-The
-.Nm
-function is an OpenPAM extension.
-.Sh AUTHORS
-The
-.Nm
-function and this manual page were developed for the
-.Fx
-Project by ThinkSec AS and Network Associates Laboratories, the
-Security Research Division of Network Associates, Inc.\& under
-DARPA/SPAWAR contract N66001-01-C-8035
-.Pq Dq CBOSS ,
-as part of the DARPA CHATS research program.
OpenPOWER on IntegriCloud