mirror of
https://github.com/PartialVolume/shredos.x86_64.git
synced 2026-02-20 17:42:10 +00:00
Upgrade buildroot to 2023.05 (from 2021.08.2), kernel is upgraded to 6.3 (from 5.13.19).
This commit is contained in:
13
package/lua-argon2/Config.in
Normal file
13
package/lua-argon2/Config.in
Normal file
@@ -0,0 +1,13 @@
|
||||
config BR2_PACKAGE_LUA_ARGON2
|
||||
bool "lua-argon2"
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_USE_MMU # libargon2
|
||||
select BR2_PACKAGE_LIBARGON2
|
||||
help
|
||||
Lua C binding for the Argon2 password hashing algorithm.
|
||||
|
||||
https://github.com/thibaultcha/lua-argon2
|
||||
|
||||
comment "lua-argon2 needs a toolchain w/ dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_STATIC_LIBS
|
||||
2
package/lua-argon2/lua-argon2.hash
Normal file
2
package/lua-argon2/lua-argon2.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 d109c6e8e93cd9e27e8738567a998a2763d56252cc1abca1f0f2ac36ef8ce0f4 lua-argon2-3.0.1.tar.gz
|
||||
23
package/lua-argon2/lua-argon2.mk
Normal file
23
package/lua-argon2/lua-argon2.mk
Normal file
@@ -0,0 +1,23 @@
|
||||
################################################################################
|
||||
#
|
||||
# lua-argon2
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LUA_ARGON2_VERSION = 3.0.1
|
||||
LUA_ARGON2_SITE = $(call github,thibaultcha,lua-argon2,$(LUA_ARGON2_VERSION))
|
||||
LUA_ARGON2_LICENSE = MIT
|
||||
LUA_ARGON2_DEPENDENCIES = luainterpreter libargon2
|
||||
|
||||
define LUA_ARGON2_BUILD_CMDS
|
||||
$(MAKE) -C $(@D) \
|
||||
CC=$(TARGET_CC) \
|
||||
CFLAGS="$(TARGET_CFLAGS) -fPIC" \
|
||||
PREFIX="$(STAGING_DIR)/usr"
|
||||
endef
|
||||
|
||||
define LUA_ARGON2_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -m 755 -D $(@D)/argon2.so $(TARGET_DIR)/usr/lib/lua/$(LUAINTERPRETER_ABIVER)/argon2.so
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user