mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/libpam-pkcs11: new package
The Linux-PAM login module for X.509 certificate based user login. https://github.com/OpenSC/pam_pkcs11 Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
ec1b800718
commit
e3812ea514
@@ -3421,6 +3421,7 @@ F: package/asterisk/
|
|||||||
F: package/evilwm/
|
F: package/evilwm/
|
||||||
F: package/fbv/
|
F: package/fbv/
|
||||||
F: package/libjwt/
|
F: package/libjwt/
|
||||||
|
F: package/libpam-pkcs11/
|
||||||
F: package/mksh/
|
F: package/mksh/
|
||||||
F: package/ruby/
|
F: package/ruby/
|
||||||
F: package/uclibc/
|
F: package/uclibc/
|
||||||
|
|||||||
@@ -2285,6 +2285,7 @@ menu "Other"
|
|||||||
if BR2_PACKAGE_LINUX_PAM
|
if BR2_PACKAGE_LINUX_PAM
|
||||||
comment "linux-pam plugins"
|
comment "linux-pam plugins"
|
||||||
source "package/libpam-nfc/Config.in"
|
source "package/libpam-nfc/Config.in"
|
||||||
|
source "package/libpam-pkcs11/Config.in"
|
||||||
source "package/libpam-radius-auth/Config.in"
|
source "package/libpam-radius-auth/Config.in"
|
||||||
source "package/libpam-tacplus/Config.in"
|
source "package/libpam-tacplus/Config.in"
|
||||||
endif
|
endif
|
||||||
|
|||||||
19
package/libpam-pkcs11/Config.in
Normal file
19
package/libpam-pkcs11/Config.in
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
config BR2_PACKAGE_LIBPAM_PKCS11
|
||||||
|
bool "libpam-pkcs11"
|
||||||
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||||
|
depends on BR2_USE_MMU # pcsc-lite -> fork()
|
||||||
|
depends on !BR2_STATIC_LIBS
|
||||||
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # pcsc-lite -> _Atomic keyword
|
||||||
|
select BR2_PACKAGE_OPENSSL
|
||||||
|
select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
|
||||||
|
select BR2_PACKAGE_PCSC_LITE
|
||||||
|
help
|
||||||
|
The Linux-PAM login module for X.509 certificate
|
||||||
|
based user login.
|
||||||
|
|
||||||
|
https://github.com/OpenSC/pam_pkcs11
|
||||||
|
|
||||||
|
comment "libpam-pkcs11 needs a toolchain w/ threads, dynamic library, gcc >= 4.9"
|
||||||
|
depends on BR2_USE_MMU
|
||||||
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
|
||||||
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||||
3
package/libpam-pkcs11/libpam-pkcs11.hash
Normal file
3
package/libpam-pkcs11/libpam-pkcs11.hash
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# Locally calculated
|
||||||
|
sha256 8a853f4e6e136ceecdcffad798570e3d6af2fde08e975656b2dc931989c35aff pam_pkcs11-0.6.13.tar.gz
|
||||||
|
sha256 a190dc9c8043755d90f8b0a75fa66b9e42d4af4c980bf5ddc633f0124db3cee7 COPYING
|
||||||
21
package/libpam-pkcs11/libpam-pkcs11.mk
Normal file
21
package/libpam-pkcs11/libpam-pkcs11.mk
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
# libpam-pkcs11
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
LIBPAM_PKCS11_VERSION = 0.6.13
|
||||||
|
LIBPAM_PKCS11_SOURCE = pam_pkcs11-$(LIBPAM_PKCS11_VERSION).tar.gz
|
||||||
|
LIBPAM_PKCS11_SITE = https://github.com/OpenSC/pam_pkcs11/archive/refs/tags
|
||||||
|
LIBPAM_PKCS11_LICENSE = LGPL-2.1
|
||||||
|
LIBPAM_PKCS11_LICENSE_FILES = COPYING
|
||||||
|
|
||||||
|
LIBPAM_PKCS11_AUTORECONF = YES
|
||||||
|
|
||||||
|
LIBPAM_PKCS11_CONF_OPTS = \
|
||||||
|
--libdir=/lib \
|
||||||
|
--without-docbook \
|
||||||
|
--without-ldap
|
||||||
|
LIBPAM_PKCS11_DEPENDENCIES = linux-pam openssl pcsc-lite
|
||||||
|
|
||||||
|
$(eval $(autotools-package))
|
||||||
Reference in New Issue
Block a user