summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/libxcrypt
Commit message (Collapse)AuthorAgeFilesLines
* libxcrypt: update to 4.4.8Oleksandr Kravchuk2019-09-072-4/+2
| | | | | | | | | | LICENSE file checksum changed because few contributors were mentioned (see @edbdbbc50beced9c723e7405334583c60a702796). (From OE-Core rev: 06eb03ad1c0357731496531b290a0a2fdfd10f48) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxcrypt: Fix the build with -OsAdrian Bunk2019-09-011-2/+2
| | | | | | | | | | | | | | | | | In file included from ../git/lib/alg-des.c:66: | ../git/lib/alg-des.c: In function '_crypt_des_set_key': | ../git/lib/byteorder.h:24:1: error: inlining failed in call to 'be32_to_cpu': call is unlikely and code size would grow [-Werror=inline] | be32_to_cpu (const unsigned char *buf) | ^~~~~~~~~~~ | ../git/lib/alg-des.c:81:13: note: called from here | rawkey1 = be32_to_cpu (&key[4]); | ^~~~~~~~~~~~~~~~~~~~~ (From OE-Core rev: 5d4720dfc8ec29ff3f487f84c5c874678ba20851) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxcrypt-compat: Add recipe to build the obsolete APIsRichard Purdie2019-06-201-0/+18
| | | | | | | | | | Add a recipe which is able to build the obsolete APIs. This is mainly to support uninative which needs to have both the new and obsolete APIs available to support the different host combinations. (From OE-Core rev: ad83f35c012e84dc8d2d27e02a4847568b4f3f35) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxcrypt: Switch to disable obsolete APIsRichard Purdie2019-06-201-0/+3
| | | | | | | | | | | Since we have a fair amount of control of what we build in OE we can disable the obsolete APIs which is what most distros are doing at this point. This causes the library version to bump from 1 to 2. (From OE-Core rev: 641529503a4bce628327855dc4769b0e57a9cb1d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxcrypt: upgrade 4.4.4 -> 4.4.6Alexander Kanavin2019-05-221-2/+2
| | | | | | | (From OE-Core rev: 12efd701b9875bb955dca038ab67b7fec8fb21f4) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxcrypt: Stop adding -std=gnu99 to CPPFLAGSAdrian Bunk2019-05-081-1/+1
| | | | | | | | | Upstream now adds this automatically when required. (From OE-Core rev: 8ff6a2a8b88befd7e4c7965f525937c0d723c0bf) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxcrypt: update to 4.4.4Oleksandr Kravchuk2019-04-121-8/+10
| | | | | | | (From OE-Core rev: 4f1a7dc995002621ff65cd65b623673bb2649f3d) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxcrypt: Upgrade to 4.4.2Khem Raj2018-12-272-46/+4
| | | | | | | | | | | | | | | Licence-Update: Copyright Alexander Peslyak; 0-clause BSD added see https://github.com/besser82/libxcrypt/commit/e07290ec7c3de301ce2b813ee2b42131bef2b119 Rename recipe to ve versionless and add PV in recipe itself, makes it easy to traverse git history Drop upstreamed patch (From OE-Core rev: 2eae2d53df739acc2f89599a9296ccacbafebb60) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxcrypt: Fix nativesdk build with gcc9Khem Raj2018-12-201-0/+1
| | | | | | | (From OE-Core rev: 1ee90ec89a8c2d0b639f76090c5f3da0c420d3a7) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxcrypt: Upgrade to 4.4.1 releaseKhem Raj2018-12-182-3/+47
| | | | | | | | | | | | | | License-Update: New files added to existing list Add -Wno-error=missing-attributes to compiler flags, this helps in compiling with gcc 9.0, eventually, the code should be fixed Add a patch to fix x32 build (From OE-Core rev: 59be9254df9ffeda594b21af8be433564c898474) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxcrypt: tweak branch from master to developHongxu Jia2018-10-291-1/+1
| | | | | | | | | The master branch does not exist any more, use develop to replace. (From OE-Core rev: 6db5e994ed9179eb6174ace1fd60c007f11deadd) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxcrypt: Upgrade to 4.1.1Khem Raj2018-08-151-3/+3
| | | | | | | | | | | | | license update: Remove CDDL code with Public Domain pieces https://github.com/besser82/libxcrypt/commit/c76847e3be40c4ac0d78bc8518502418c6207144#diff-fdcb2380ff1eeea2e5795ec115ba1c0d inherit pkgconfig as it uses pkg-config during build (From OE-Core rev: 600b1f7da1bc308a52b566b77c994a90ed744b7e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxcrypt: Provide virtual/crypt for target and native as wellKhem Raj2018-08-151-5/+0
| | | | | | | | | virtual/crypt for musl will come from libc itself (From OE-Core rev: e0ed7d74e61294a986f72a531b23f7e67922de29) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxcrypt: Upgrade to 4.0.1Khem Raj2018-05-292-38/+1
| | | | | | | | | | | | | | Minor release primary fixes are * get it building with gcc8 * Fixes for riscv64 drop local gcc8 support patch which is not needed now (From OE-Core rev: b02ac5dd2dc27fe742cb7f20a12090eda3190c84) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxcrypt: Fix build with gcc8Khem Raj2018-05-152-1/+39
| | | | | | | | | Reported-by: Martin Jansa <martin.jansa@gmail.com> (From OE-Core rev: b4aadf55b9e0979108875778c05915f96e0770aa) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxcrypt: add -std=gnu99 to BUILD_CPPFLAGSMartin Jansa2018-04-101-1/+1
| | | | | | | | | | | | | | * add it to allow older distributions e.g. Ubuntu 14.04 with gcc 4.8 to build this, otherwise it fails with: ../git/gen-des-tables.c: In function 'write_table_u8': ../git/gen-des-tables.c:307:3: error: 'for' loop initial declarations are only allowed in C99 mode for (size_t i = 0; i < m; i++) ^ (From OE-Core rev: 2591741896a6a267ceca9519f21bd39b5b196559) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nativesdk-glibc: Split glibc and libcrypt to use libxcrypt insteadRichard Purdie2018-04-071-0/+31
Fedora28[1] has decided to go ahead and use libxcrypt to replace libcrypt from glibc despite the change not having merged into glibc upstream yet. This breaks the use of uninative in OE on fedora28 since binaries there are now using new symbols only found in libxcrypt. libxcrypt is meant to be backwards compatible with libcrypt but not the reverse. Since this will impact OE in the next release cycle, this changes nativesdk only to use this new model and adds libxcrypt to work in that case. This allows us to build a uninative which is compatible with fedora28 and previous other OSes. In order to work, recipes will now need to depend on virtual/crypt where they use libcrypt since its now a separate library and we can't depend on it from glibc to preseve backwards compatibility since glibc needs to build first. For now, only the problematic nativesdk recipes have been fixed up. For target use, the default provider remains glibc for now. Assuming this change is merged into upstream glibc, we will need to roll this change out for the target but we will do this in the next release cycle when we can better deal with the resulting bugs. [1] https://fedoraproject.org/wiki/Changes/Replace_glibc_libcrypt_with_libxcrypt Original patch from Charles-Antoine Couret <charles-antoine.couret@essensium.com>, tweaked by RP to add virtual provides, SkipRecipe for libxcrypt and other minor tweaks. (From OE-Core rev: c1573cb7faeb296fe7077a60d02443d5ed5bded0) Signed-off-by: Charles-Antoine Couret <charles-antoine.couret@essensium.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>