head 1.1; access; symbols pkgsrc-2024Q1:1.1.0.48 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.46 pkgsrc-2023Q4-base:1.1 pkgsrc-2023Q3:1.1.0.44 pkgsrc-2023Q3-base:1.1 pkgsrc-2023Q2:1.1.0.42 pkgsrc-2023Q2-base:1.1 pkgsrc-2023Q1:1.1.0.40 pkgsrc-2023Q1-base:1.1 pkgsrc-2022Q4:1.1.0.38 pkgsrc-2022Q4-base:1.1 pkgsrc-2022Q3:1.1.0.36 pkgsrc-2022Q3-base:1.1 pkgsrc-2022Q2:1.1.0.34 pkgsrc-2022Q2-base:1.1 pkgsrc-2022Q1:1.1.0.32 pkgsrc-2022Q1-base:1.1 pkgsrc-2021Q4:1.1.0.30 pkgsrc-2021Q4-base:1.1 pkgsrc-2021Q3:1.1.0.28 pkgsrc-2021Q3-base:1.1 pkgsrc-2021Q2:1.1.0.26 pkgsrc-2021Q2-base:1.1 pkgsrc-2021Q1:1.1.0.24 pkgsrc-2021Q1-base:1.1 pkgsrc-2020Q4:1.1.0.22 pkgsrc-2020Q4-base:1.1 pkgsrc-2020Q3:1.1.0.20 pkgsrc-2020Q3-base:1.1 pkgsrc-2020Q2:1.1.0.18 pkgsrc-2020Q2-base:1.1 pkgsrc-2020Q1:1.1.0.14 pkgsrc-2020Q1-base:1.1 pkgsrc-2019Q4:1.1.0.16 pkgsrc-2019Q4-base:1.1 pkgsrc-2019Q3:1.1.0.12 pkgsrc-2019Q3-base:1.1 pkgsrc-2019Q2:1.1.0.10 pkgsrc-2019Q2-base:1.1 pkgsrc-2019Q1:1.1.0.8 pkgsrc-2019Q1-base:1.1 pkgsrc-2018Q4:1.1.0.6 pkgsrc-2018Q4-base:1.1 pkgsrc-2018Q3:1.1.0.4 pkgsrc-2018Q3-base:1.1 pkgsrc-2018Q2:1.1.0.2 pkgsrc-2018Q2-base:1.1; locks; strict; comment @.\" @; 1.1 date 2018.05.15.07.57.32; author triaxx; state Exp; branches; next ; commitid 6FUQGcwqwMKfNmCA; desc @@ 1.1 log @openpam: update to 20170430 * patch-lib_libpam_openpam__constants.c: * comment it (make pkglint happy) * fix OPENPAM_MODULES_DIR (avoid openpam loading basesystem modules) * remove "CONFIGURE_ARGS+= --without-pam-su" (option not recognized by configure) * change '_dep_' to 'dep' in builtin.mk (make pkglint happy) * fix paths in manpages Changes from upstream: ============================================================================ OpenPAM Resedacea 2017-04-30 - BUGFIX: Reinstore the NULL check in pam_end(3) which was removed in OpenPAM Radula, as it breaks common error-handling constructs. - BUGFIX: Return PAM_SYMBOL_ERR instead of PAM_SYSTEM_ERR from the dispatcher when the required service function could not be found. - ENHANCE: Introduce the PAM_BAD_HANDLE error code for when pamh is NULL in API functions that have a NULL check. - ENHANCE: Introduce the PAM_BAD_ITEM, PAM_BAD_FEATURE and PAM_BAD_CONSTANT error codes for situations where we previously incorrectly used PAM_SYMBOL_ERR to denote that an invalid constant had been passed to an API function. - ENHANCE: Improve the RETURN VALUES section in API man pages, especially for functions that cannot fail, which were incorrectly documented as returning -1 on failure. ============================================================================ OpenPAM Radula 2017-02-19 - BUGFIX: Fix an inverted test which prevented pam_get_authtok(3) and pam_get_user(3) from using application-provided custom prompts. - BUGFIX: Plug a memory leak in pam_set_item(3). - BUGFIX: Plug a potential memory leak in openpam_readlinev(3). - BUGFIX: In openpam_readword(3), support line continuations within whitespace. - ENHANCE: Add a feature flag to control fallback to "other" policy. - ENHANCE: Add a pam_return(8) module which returns an arbitrary code specified in the module options. - ENHANCE: More and better unit tests. @ text @$NetBSD$ Fix hardcoded paths. --- doc/man/pam.conf.5.orig 2017-04-30 21:36:51.000000000 +0000 +++ doc/man/pam.conf.5 @@@@ -39,13 +39,9 @@@@ The PAM library searches for policies in decreasing order of preference: .Bl -enum .It -.Pa /etc/pam.d/ Ns Ar service-name +.Pa @@PKG_SYSCONFDIR@@/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 +.Pa @@PKG_SYSCONFDIR@@/pam.conf .El .Pp If none of these locations contains a policy for the given service, @@@@ -144,13 +140,10 @@@@ The .Ar module-path field specifies the name or full path of the module to call. If only the name is specified, the PAM library will search for it in -the following locations: -.Bl -enum -.It -.Pa /usr/lib -.It -.Pa /usr/local/lib -.El +the following location: +.Bd -unfilled -offset indent +.Ar @@PREFIX@@/lib/security +.Ed .Pp The remaining fields, if any, are passed unmodified to the module if and when it is invoked. @