From patchwork Thu Feb 11 21:37:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Bres X-Patchwork-Id: 1439673 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=blkapKRx; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Dc9394KDlz9sCD for ; Fri, 12 Feb 2021 08:37:57 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 229C286F53; Thu, 11 Feb 2021 21:37:53 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6oGoLyqEysxp; Thu, 11 Feb 2021 21:37:50 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 9D68386DB2; Thu, 11 Feb 2021 21:37:50 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 8079A1BF390 for ; Thu, 11 Feb 2021 21:37:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 799448756C for ; Thu, 11 Feb 2021 21:37:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9mGJ3njNBnlT for ; Thu, 11 Feb 2021 21:37:47 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) by whitealder.osuosl.org (Postfix) with ESMTPS id 87BAB87561 for ; Thu, 11 Feb 2021 21:37:47 +0000 (UTC) Received: by mail-wr1-f49.google.com with SMTP id n6so5596976wrv.8 for ; Thu, 11 Feb 2021 13:37:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=gJR82KuhX7pB4PaABDtbo2+30NDSeRq1Pxrl8rI/HCc=; b=blkapKRxdacpyTz9qVi/6SxptRBEVh6fbvNk0/Fy6T8P2rzADkN1sclNqmUO3uZ8pZ IamH+sMsdj3oIXmkgMQkjZkwPO1dR2ZSZDCvZGJcu6A0vhVD1VKc/AhS8Ryx+XZJoK10 Z2QQat9gQekkZSY7aJFf4AU+T3HfXO6Uzt6m5sHL1Df1ptZQcJcosoZnWvvGdm6RN4ya Uusc0PxzxScR5bUSdpDhgAPPbasLwlTo7sEQlreE/eRbeyV16VtNz945t4I74WLLpa9i kvrJRTST4tZh3XmA7Gt4foSvi9emg+tvURS2OuANDkJmt1RS2vKh3SOFzapYLAIiiNpo uADg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=gJR82KuhX7pB4PaABDtbo2+30NDSeRq1Pxrl8rI/HCc=; b=q+DbG5Q6fcrAAyb8sW5rRn018esnvjLE18II+LUMWyLdevXWcL//94fzLLXIJzxhjX T2P2lwXqqviZ0Gw4s5EgAvLYSG/Fy+ASfMo+exXgfafXvJGWZIMzGBN+X4r3x1Xwp5/w 1MzzcBB/FYcnX0SuNm+aN74ak2aBxo2UwXhBCKp1bs1pgWXTbk87anf1ijwlQypAVnL5 CPgwq+VupY3jILGUs6aKr/oim1Wz7+Gi7zHwhc+D+oZOlg+5qeHEV7HpH/oSw3M8APtL clE/3Jy0W3qNnYmcr4ko5ywkXtcgH6oQxy98/JndshvhtxvC9bfu6IunpED7BmylT8tA uuOg== X-Gm-Message-State: AOAM533qRPbNVn6nmnR8xOMTtEQjC+bTbfYKnYYUNMW8XF75OGvPcYAH KGoD8xuxRC/BzCu5vEO8H14DjAfKSWs= X-Google-Smtp-Source: ABdhPJyc6mFzKAvThCydxbIC82a9++mj2SMhYTx8hZNtF4jNMFQxEz+r6C5iNbMhoE6Pe9Rf5dtXug== X-Received: by 2002:a5d:4cd0:: with SMTP id c16mr7592758wrt.84.1613079465962; Thu, 11 Feb 2021 13:37:45 -0800 (PST) Received: from pc-140.home ([2a01:cb15:81d3:300:7285:c2ff:fea6:cc85]) by smtp.gmail.com with ESMTPSA id s23sm10777473wmc.35.2021.02.11.13.37.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Feb 2021 13:37:45 -0800 (PST) From: guillaume.bressaix@gmail.com X-Google-Original-From: guillaume.bresaix@gmail.com To: buildroot@busybox.net Date: Thu, 11 Feb 2021 22:37:29 +0100 Message-Id: <20210211213729.32230-1-guillaume.bresaix@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 1/1] package/libxcrypt: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Guillaume W. Bres" Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: "Guillaume W. Bres" Signed-off-by: Guillaume W. Bres --- 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. Signed-off-by: Guillaume W. Bres --- 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 diff --git a/DEVELOPERS b/DEVELOPERS index 361ee2f35a..a01047e596 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1059,6 +1059,7 @@ F: package/sdl2/ N: Guillaume William Brs F: package/libnids/ +F: package/libxcrypt/ F: package/liquid-dsp/ F: package/pixiewps/ F: package/python-pybind/ diff --git a/package/Config.in b/package/Config.in index 5304ab141c..1b9d7a4846 100644 --- a/package/Config.in +++ b/package/Config.in @@ -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" diff --git a/package/libxcrypt/Config.in b/package/libxcrypt/Config.in new file mode 100644 index 0000000000..57ae8f67a3 --- /dev/null +++ b/package/libxcrypt/Config.in @@ -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 diff --git a/package/libxcrypt/libxcrypt.hash b/package/libxcrypt/libxcrypt.hash new file mode 100644 index 0000000000..b56ab6beaf --- /dev/null +++ b/package/libxcrypt/libxcrypt.hash @@ -0,0 +1,4 @@ +# Locally calculated +sha256 7665168d0409574a03f7b484682e68334764c29c21ca5df438955a381384ca07 libxcrypt-4.4.17.tar.gz +sha256 f8198fcc4f002bf54512bac2e68e1e3f04af7d105f4f4f98d7d22cb110e04715 LICENSING +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/package/libxcrypt/libxcrypt.mk b/package/libxcrypt/libxcrypt.mk new file mode 100644 index 0000000000..f9799ac006 --- /dev/null +++ b/package/libxcrypt/libxcrypt.mk @@ -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))