From da8d11aa17edbbe1a7ad2d0f74b84edf7d715901 Mon Sep 17 00:00:00 2001 From: wiz Date: Sun, 12 Mar 2023 14:15:50 +0000 Subject: [PATCH] pam-yubico: update to 2.27. * Version 2.27 (released 2021-04-09) ** Add always_prompt configuration option. ** Add client certificate support for ldap. ** Add starttls support for ldap. ** Add ldap_bind_as_user support. ** Parsing, cleanliness and string fixes. ** Documentation and spelling fixes. * Version 2.26 (released 2018-04-20) ** Make sure to close authfile (CVE-2018-9275). ** Fix compiler warnings. ** Open file descriptors with O_CLOEXEC. ** Use mkostemp() instead of mkstemp(). * Version 2.25 (released 2018-03-27) ** Documentation updates. ** Only do OTP validation if it's a token that might be valid. ** Return early in case user has no valid tokens. ** Ldap, compare values only with yubi_attr attributes. ** Add nullok parameter. * Version 2.24 (released 2016-11-25) ** Debug mode changed, allows file output with debug_file. ** Fixup returning user-unknown correctly. * Version 2.23 (released 2016-06-15) ** Fix an issue where a failure to set permissions was wrongly outputted. * Version 2.22 (released 2016-05-23) ** Documentation improvements. ** Retain ownership and permission of challenge files (issue #92). ** Make dependency on yubico-c-client 2.15 clearer. * Version 2.21 (released 2016-02-19) ** Add proxy support for yubico-c-client. ** Check that conv is set before trying to use it fixes a crash bug with the osx loginwindow. ** Add building of a mac installer. * Version 2.20 (released 2015-09-22) ** Add cainfo option to allow usage of a cabundle instead of path. ** Support comments in authfile. ** For challenge response with system-wide directory, write the files as root instead of the user. * Version 2.19 (released 2015-03-23) ** Add new ldap functionality ldap_bind_user and ldap_bind_password for authenticated binds ldap_filter for using subtree search and a filter ldap_cacertfile to use a specific cacert for ldaps * Version 2.18 (released 2015-02-12) ** Fix a memory leak of the pam response data. ** Add more tests. ** Add version flag to ykpamcfg. --- security/pam-yubico/Makefile | 17 +++++++++++------ security/pam-yubico/distinfo | 9 ++++----- security/pam-yubico/patches/patch-Makefile_in | 15 --------------- 3 files changed, 15 insertions(+), 26 deletions(-) delete mode 100644 security/pam-yubico/patches/patch-Makefile_in diff --git a/security/pam-yubico/Makefile b/security/pam-yubico/Makefile index 70949faf5a4c..bc01b6192792 100644 --- a/security/pam-yubico/Makefile +++ b/security/pam-yubico/Makefile @@ -1,21 +1,26 @@ -# $NetBSD: Makefile,v 1.34 2022/10/26 10:31:57 wiz Exp $ +# $NetBSD: Makefile,v 1.35 2023/03/12 14:15:50 wiz Exp $ -DISTNAME= pam_yubico-2.17 +DISTNAME= pam_yubico-2.27 PKGNAME= ${DISTNAME:S/_/-/} -PKGREVISION= 22 CATEGORIES= security -MASTER_SITES= http://opensource.yubico.com/yubico-pam/releases/ +MASTER_SITES= ${MASTER_SITE_GITHUB:=Yubico/} +GITHUB_PROJECT= yubico-pam +GITHUB_TAG= ${PKGVERSION_NOREV} MAINTAINER= pettai@NetBSD.org HOMEPAGE= http://opensource.yubico.com/yubico-pam/ COMMENT= Pluggable Authentication Module for Yubikey validation - LICENSE= modified-bsd +TOOL_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc + GNU_CONFIGURE= yes -USE_TOOLS+= pkg-config +USE_TOOLS+= pkg-config autoconf automake autoreconf USE_LIBTOOL= yes +pre-configure: + cd ${WRKSRC} && autoreconf -fiv + .include "../../security/libyubikey/buildlink3.mk" .include "../../security/ykclient/buildlink3.mk" .include "../../security/ykpers/buildlink3.mk" diff --git a/security/pam-yubico/distinfo b/security/pam-yubico/distinfo index d1f9ab1a4bd8..952e984797cb 100644 --- a/security/pam-yubico/distinfo +++ b/security/pam-yubico/distinfo @@ -1,6 +1,5 @@ -$NetBSD: distinfo,v 1.9 2021/10/26 11:17:35 nia Exp $ +$NetBSD: distinfo,v 1.10 2023/03/12 14:15:50 wiz Exp $ -BLAKE2s (pam_yubico-2.17.tar.gz) = 6ec2bf498d54cad9702f9c42b2d69fa5d6f219bdb61b4d31cd4b1c7d5a0b193b -SHA512 (pam_yubico-2.17.tar.gz) = ee2a1527c2f2b29ca601588700cc76edc688e58d305ef44d311db3c5f184513a5bdc3d9052cefd85b11de96c6999daeca3d22986e93f588c9d64e5c301c37ee8 -Size (pam_yubico-2.17.tar.gz) = 391559 bytes -SHA1 (patch-Makefile_in) = 1312fb660c479e96c07da4cdd54eb31ba03b5144 +BLAKE2s (pam_yubico-2.27.tar.gz) = f4ab41bcf05df439117f79def3277ee1440326968dab4110de41ae9ff3bce698 +SHA512 (pam_yubico-2.27.tar.gz) = 7d341e18f884216fc3372bdb837491c637235737dc04029fea30d7451718ab917ea99dd4a1249cbb4d10fb64b6bb6753b84a02e9bffbce2223d224d7420aeced +Size (pam_yubico-2.27.tar.gz) = 81374 bytes diff --git a/security/pam-yubico/patches/patch-Makefile_in b/security/pam-yubico/patches/patch-Makefile_in deleted file mode 100644 index 4c327a56e35e..000000000000 --- a/security/pam-yubico/patches/patch-Makefile_in +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-Makefile_in,v 1.2 2014/03/13 22:27:33 pettai Exp $ - -Fix MAKE_JOBS build. - ---- Makefile.in.orig 2013-09-23 06:17:47.000000000 +0000 -+++ Makefile.in -@@ -951,7 +951,7 @@ check-am: all-am - $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) - $(MAKE) $(AM_MAKEFLAGS) check-TESTS - check: check-am --all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(MANS) -+all-am: Makefile $(LTLIBRARIES) .WAIT $(PROGRAMS) $(MANS) - install-binPROGRAMS: install-libLTLIBRARIES - - installdirs: