Skip to content

Commit

Permalink
feat: add libxcrypt
Browse files Browse the repository at this point in the history
  • Loading branch information
LynnL4 committed Dec 19, 2024
1 parent 4ac18d8 commit a9597e3
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 0 deletions.
1 change: 1 addition & 0 deletions external/br2-external/Config.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
source "$BR2_EXTERNAL_BR2EXT_PATH/reCamera/Config.in"
source "$BR2_EXTERNAL_BR2EXT_PATH/libhv/Config.in"
source "$BR2_EXTERNAL_BR2EXT_PATH/libxcrypt-dev/Config.in"
source "$BR2_EXTERNAL_BR2EXT_PATH/sscma-node/Config.in"
source "$BR2_EXTERNAL_BR2EXT_PATH/sscma-supervisor/Config.in"
11 changes: 11 additions & 0 deletions external/br2-external/libxcrypt-dev/Config.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
config BR2_PACKAGE_LIBXCRYPT_DEV
bool "libxcrypt-dev"
help
libxcrypt is a modern library for one-way hashing
of passwords. It supports a wide variety of both
modern and historical hashing methods:
yescrypt, gost-yescrypt, scrypt, bcrypt, sha512crypt,
sha256crypt, md5crypt, SunMD5, sha1crypt, NT,
bsdicrypt, bigcrypt, and descrypt.

https://github.com/besser82/libxcrypt
4 changes: 4 additions & 0 deletions external/br2-external/libxcrypt-dev/libxcrypt-dev.hash
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Locally calculated
sha256 b979838d5f1f238869d467484793b72b8bca64c4eae696fdbba0a9e0b6c28453 libxcrypt-dev-4.4.36.tar.gz
sha256 f8198fcc4f002bf54512bac2e68e1e3f04af7d105f4f4f98d7d22cb110e04715 LICENSING
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB
20 changes: 20 additions & 0 deletions external/br2-external/libxcrypt-dev/libxcrypt-dev.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
################################################################################
#
# libxcrypt
#
################################################################################

LIBXCRYPT_DEV_VERSION = 4.4.36
LIBXCRYPT_DEV_SITE = $(call github,besser82,libxcrypt,v$(LIBXCRYPT_DEV_VERSION))
LIBXCRYPT_DEV_LICENSE = LGPL-2.1+
LIBXCRYPT_DEV_LICENSE_FILES = LICENSING COPYING.LIB
LIBXCRYPT_DEV_INSTALL_STAGING = YES
LIBXCRYPT_DEV_AUTORECONF = YES

# Some warnings turn into errors with some sensitive compilers
LIBXCRYPT_DEV_CONF_OPTS = --disable-werror

# Disable obsolete and unsecure API
LIBXCRYPT_DEV_CONF_OPTS += --disable-obsolete_api

$(eval $(autotools-package))

0 comments on commit a9597e3

Please sign in to comment.