Initial Commit
- initial default booting image
This commit is contained in:
27
package/oath-toolkit/Config.in
Normal file
27
package/oath-toolkit/Config.in
Normal file
@@ -0,0 +1,27 @@
|
||||
config BR2_PACKAGE_OATH_TOOLKIT
|
||||
bool "oath-toolkit"
|
||||
depends on BR2_USE_WCHAR
|
||||
help
|
||||
OATH Toolkit provide components to build one-time password
|
||||
authentication systems. It contains shared C libraries,
|
||||
command line tools and a PAM module. Supported technologies
|
||||
include the event-based HOTP algorithm (RFC 4226), the
|
||||
time-based TOTP algorithm (RFC 6238), and Portable Symmetric
|
||||
Key Container (PSKC, RFC 6030) to manage secret key
|
||||
data. OATH stands for Open AuTHentication, which is the
|
||||
organization that specify the algorithms.
|
||||
|
||||
https://www.nongnu.org/oath-toolkit/
|
||||
|
||||
if BR2_PACKAGE_OATH_TOOLKIT
|
||||
|
||||
config BR2_PACKAGE_OATH_TOOLKIT_PSKC
|
||||
bool "enable PSKC"
|
||||
select BR2_PACKAGE_LIBXML2
|
||||
help
|
||||
Enable the Portable Symmetric Key Container (PSKC) support.
|
||||
|
||||
endif
|
||||
|
||||
comment "oath-toolkit needs a toolchain w/ wchar"
|
||||
depends on !BR2_USE_WCHAR
|
||||
8
package/oath-toolkit/oath-toolkit.hash
Normal file
8
package/oath-toolkit/oath-toolkit.hash
Normal file
@@ -0,0 +1,8 @@
|
||||
# After checking pgp signature from:
|
||||
# https://download.savannah.nongnu.org/releases/oath-toolkit/oath-toolkit-2.6.14.tar.gz.sig
|
||||
# using key A3CC9C870B9D310ABAD4CF2F51722B08FE4745A2
|
||||
# From release announce:
|
||||
# https://mail.gnu.org/archive/html/oath-toolkit-help/2026-01/msg00000.html
|
||||
sha256 8b1da365759f1249be57a82aec6e107f7b57dc77d813f96dc0aaf81624f28971 oath-toolkit-2.6.14.tar.gz
|
||||
# Locally calculated
|
||||
sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 COPYING
|
||||
33
package/oath-toolkit/oath-toolkit.mk
Normal file
33
package/oath-toolkit/oath-toolkit.mk
Normal file
@@ -0,0 +1,33 @@
|
||||
################################################################################
|
||||
#
|
||||
# oath-toolkit
|
||||
#
|
||||
################################################################################
|
||||
|
||||
OATH_TOOLKIT_VERSION = 2.6.14
|
||||
OATH_TOOLKIT_SITE = https://download.savannah.nongnu.org/releases/oath-toolkit
|
||||
OATH_TOOLKIT_LICENSE = GPL-3.0+ (tools), LGPL-2.1+ (libraries)
|
||||
OATH_TOOLKIT_LICENSE_FILES = COPYING
|
||||
OATH_TOOLKIT_CPE_ID_VENDOR = nongnu
|
||||
OATH_TOOLKIT_CPE_ID_PRODUCT = oath_toolkit
|
||||
OATH_TOOLKIT_INSTALL_STAGING = YES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
|
||||
# Set the pam directory defined in linux-pam (see --enable-securedir
|
||||
# in LINUX_PAM_CONF_OPTS in package/linux-pam/linux-pam.mk).
|
||||
OATH_TOOLKIT_CONF_OPTS += \
|
||||
--enable-pam \
|
||||
--with-pam-dir=/lib/security
|
||||
OATH_TOOLKIT_DEPENDENCIES += linux-pam
|
||||
else
|
||||
OATH_TOOLKIT_CONF_OPTS += --disable-pam
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OATH_TOOLKIT_PSKC),y)
|
||||
OATH_TOOLKIT_CONF_OPTS += --enable-pskc
|
||||
OATH_TOOLKIT_DEPENDENCIES += host-libxml2 libxml2
|
||||
else
|
||||
OATH_TOOLKIT_CONF_OPTS += --disable-pskc
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user