scrypt: new package

[Thomas:
  - move from "Libraries -> Crypto" to "System tools", since it only
    installs one binary, scrypt, and no library.
  - bump from 1.1.6 to 1.2.0
  - add comment in the .hash file explaining where the hash is coming
    from.
  - add missing dependency on OpenSSL
  - use BSD-2c as the license code, instead of BSD2
  - use 'main.c' as the license file.]

Signed-off-by: Parnell Springmeyer <parnell@digitalmentat.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Parnell Springmeyer 2015-08-08 11:51:42 -05:00 committed by Thomas Petazzoni
parent 5226957212
commit 84face61cf
4 changed files with 23 additions and 0 deletions

View File

@ -754,6 +754,7 @@ menu "Crypto"
source "package/nettle/Config.in"
source "package/openssl/Config.in"
source "package/polarssl/Config.in"
source "package/scrypt/Config.in"
endmenu
menu "Database"

8
package/scrypt/Config.in Normal file
View File

@ -0,0 +1,8 @@
config BR2_PACKAGE_SCRYPT
bool "scrypt"
help
A password-based key derivation function specifically designed
to make it costly to perform large-scale custom hardware attacks
by requiring large amounts of memory.
http://www.tarsnap.com/scrypt.html

View File

@ -0,0 +1 @@
sha256 dfd0d1a544439265bbb9b58043ad3c8ce50a3987b44a61b1d39fd7a3ed5b7fb8 scrypt-1.1.6.tgz

13
package/scrypt/scrypt.mk Normal file
View File

@ -0,0 +1,13 @@
################################################################################
#
# scrypt
#
################################################################################
SCRYPT_VERSION = 1.1.6
SCRYPT_SOURCE = scrypt-$(SCRYPT_VERSION).tgz
SCRYPT_SITE = http://www.tarsnap.com/scrypt
SCRYPT_LICENSE = BSD2
SCRYPT_INSTALL_STAGING = YES
$(eval $(autotools-package))