Skip to contentSkip to conversation

package/libxcrypt: new package

PATCH New guillaume.bressaix at gmail.com 2 participants 2 messages Feb 11, 2021 – Feb 16, 2021

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 package/libxcrypt: new package

From: "Guillaume W. Bres" <[email protected]>

---

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.

Please discard my previous submission which contained a couple trailing whitespaces.

---
 DEVELOPERS                       |  1 +
 package/Config.in                |  1 +
 package/libxcrypt/Config.in      | 11 +++++++++++
 package/libxcrypt/libxcrypt.hash |  4 ++++
 package/libxcrypt/libxcrypt.mk   | 13 +++++++++++++
 5 files changed, 30 insertions(+)
 create mode 100644 package/libxcrypt/Config.in
 create mode 100644 package/libxcrypt/libxcrypt.hash
 create mode 100644 package/libxcrypt/libxcrypt.mk
DEVELOPERS +1 -0
index 361ee2f35a..a01047e596 100644
@@ -1059,6 +1059,7 @@ F:	package/sdl2/
 
 N:	Guillaume William Brs <[email protected]>
 F:	package/libnids/
+F:	package/libxcrypt/
 F:	package/liquid-dsp/
 F:	package/pixiewps/
 F:	package/python-pybind/
package/Config.in +1 -0
index 5304ab141c..1b9d7a4846 100644
@@ -1371,6 +1371,7 @@ menu "Crypto"
 	source "package/libssh2/Config.in"
 	source "package/libtomcrypt/Config.in"
 	source "package/libuecc/Config.in"
+	source "package/libxcrypt/Config.in"
 	source "package/mbedtls/Config.in"
 	source "package/nettle/Config.in"
 	source "package/openssl/Config.in"
package/libxcrypt/Config.in new file +11 -0
new file mode 100644
index 0000000000..57ae8f67a3
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_LIBXCRYPT
+	bool "libxcrypt"
+	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
package/libxcrypt/libxcrypt.hash new file +4 -0
new file mode 100644
index 0000000000..b56ab6beaf
@@ -0,0 +1,4 @@
+# Locally calculated
+sha256 7665168d0409574a03f7b484682e68334764c29c21ca5df438955a381384ca07  libxcrypt-4.4.17.tar.gz
+sha256 f8198fcc4f002bf54512bac2e68e1e3f04af7d105f4f4f98d7d22cb110e04715  LICENSING
+sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551  COPYING.LIB
package/libxcrypt/libxcrypt.mk new file +13 -0
new file mode 100644
index 0000000000..f9799ac006
@@ -0,0 +1,13 @@
+################################################################################
+#
+# libxcrypt
+#
+################################################################################
+
+LIBXCRYPT_VERSION = 4.4.17
+LIBXCRYPT_SITE = $(call github,besser82,libxcrypt,v$(LIBXCRYPT_VERSION))
+LIBXCRYPT_LICENSE = LGPL-2.1+
+LIBXCRYPT_LICENSE_FILES = LICENSING COPYING.LIB
+LIBXCRYPT_AUTORECONF = YES
+
+$(eval $(autotools-package))
Signature · 1 line
2.20.1
#1 lore raw

PATCH v2 1/1 package/libxcrypt: new package

Quoted 4 lines · On Thu, 11 Feb 2021 22:37:29 +0100 guillaume.bressaix at gmail.com wrote:

From: "Guillaume W. Bres" <[email protected]>

---

Applied to next, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com