Commit Graph
7 Commits
Author SHA1 Message Date
Fabrice Fontaine e6e0670ae3 package/libxcrypt: disable obsolete API
Disable obsolete API following upstream feedback as it raises build
failures on some architectures such as nds32le or arc and because this
API is unsecure: https://github.com/besser82/libxcrypt/issues/122

Fixes:
 - http://autobuild.buildroot.org/results/5ae235b6ec66ac86efadaa2847307be58064c167

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-03-16 21:24:43 +01:00
Guillaume W. Bres 4e827d930f package/libxcrypt: bump version to 4.4.18
Drop patch which has been merged into mainline.

LICENSING file identifies individual files in the tree, and some have
moved between 4.4.17 and 4.4.18 (upstream commit 3436c6a94b8d).

Fix two -spaces in hash file as well.

Signed-off-by: Guillaume W. Bres <guillaume.bressaix@gmail.com>
[yann.morin.1998@free.fr:
  - explain license hash change
  - two-spaces in hash file
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-02-26 23:05:01 +01:00
Guillaume W. Bres 8a854214bd package/libxcrypt: fix legal info
When the initial package has been submitted, the hashes for the
license files were computed against the files from the repository,
not the release tarball, but the files had changed in the repo
since the version was cut.

Fix that hash.

Fixes:
    http://autobuild.buildroot.net/results/206aac81799074ef45c0cc7b9979cbf02c3935d5
    http://autobuild.buildroot.net/results/8db5df1286673fdedb854bad2b9e5757d5218950

Signed-off-by: Guillaume W. Bres <guillaume.bressaix@gmail.com>
[yann.morin.1998@free.fr: expand commit log with root cause]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-02-26 22:44:21 +01:00
Guillaume W. Bres 04f0ed0a44 package/libxcrypt: fix conversion error
Fixes: http://autobuild.buildroot.net/results/e9a058a8c98daf197cd9d7ac632e0cb5707d524f

Some sensitive compilers may raise a warning that turns into an error on this line.

Signed-off-by: Guillaume W. Bres <guillaume.bressaix@gmail.com>
[yann.morin.1998@free.fr: backport the actual commit]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-02-21 22:54:55 +01:00
Guillaume W. Bres 6548729755 package/libxcrypt: --disable-werror to fix problem with sensitive compilers
Fixes: http://autobuild.buildroot.net/results/e9a058a8c98daf197cd9d7ac632e0cb5707d524f

Some sensitive compilers may raise warnings that turn into errors.

Signed-off-by: Guillaume W. Bres <guillaume.bressaix@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-02-20 18:42:23 +01:00
Guillaume W. Bres 63de6a68aa package/libxcrypt: also install to staging
Signed-off-by: Guillaume W. Bres <guillaume.bressaix@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-02-20 18:18:03 +01:00
Guillaume W. Bres 464bbe26ff package/libxcrypt: new package
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.

Signed-off-by: Guillaume W. Bres <guillaume.bressaix@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-02-16 22:16:51 +01:00