aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/nss
AgeCommit message (Collapse)Author
2020-10-19nss: upgrade 3.56 -> 3.57Andrej Valek
- Refresh freebl-add-a-configure-option-to-disable-ARM-HW-cryp.patch - Drop pkix-Do-not-use-NULL-where-0-is-needed.patch Signed-off-by: Andrej Kozemcak <andrej.kozemcak@siemens.com> Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-01nss: remove signlibs.shMartin Jansa
Looks like my "solution" also isn't working well at least for images with read-only-rootfs in IMAGE_FEATURES. pkg_postinst_ontarget_${PN} is always forced to run on the target, which for read-only-rootfs results in: log.do_rootfs: ... NOTE: If an image is being built, the postinstalls for the following packages will be postponed for first boot: nss ... ERROR: The following packages could not be configured offline and rootfs is read-only: ['nss'] and now looking at the /usr/bin/signlibs.sh and it does pretty much the same as the postinst script when D isn't empty. >From oe-core git history it shows that signlibs.sh was added first: https://git.openembedded.org/openembedded-core/commit/?id=a4580f967c8064294a06d406acf5deb24aee2acc then the offline version of postinst was added to support read-only-rootfs in: https://git.openembedded.org/openembedded-core/commit/?id=64e87fc6e99bc1d4807034166735034b1f92bad8 and nss-native should always provide the shlibsign since: https://git.openembedded.org/openembedded-core/commit/?id=88540c5b08dea069660d1a68e506aebdd68e6ae0 and only after https://git.openembedded.org/openembedded-core/commit/?id=8f782f7095e718dd9452055af53363beb6bdbece it looked like signlibs.sh was something special only for target. So it looks to me, that we should just remove signlibs.sh script and let the same postinst be used on target and offline (with or without D being empty). Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-28nss: fix postinst in do_rootfs for targetMartin Jansa
Partially revert "nss: fix postinst script for nativesdk build" This reverts commit 31552510b15c1c97aa6cbe180c2bb53d139efbcc. When running in do_rootfs we need to run shlibsign provided by nss-native, otherwise it fails when /usr/bin/shlibsign doesn't exist on host builder: do_rootfs: Postinstall scriptlets of ['nss'] have failed. If the intention is to defer them to first boot, then please place them into pkg_postinst_ontarget_${PN} (). Deferring to first boot via 'exit 1' is no longer supported. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-28nss: Upgrade to 3.56Khem Raj
Forward port 0001-freebl-add-a-configure-option-to-disable-ARM-HW-cryp.patch Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-27nss: Disable Werror across all recipe typesKhem Raj
We are seeing warnigs with gcc-10 even on target builds e.g. | In file included from nsinstall.c:20: | /usr/include/unistd.h:520:14: note: in a call to function ‘getcwd’ declared with attribute ‘write_only (1, 2)’ | 520 | extern char *getcwd (char *__buf, size_t __size) __THROW __wur | | ^~~~~~ | nsinstall.c:70:16: error: argument 1 is null but the corresponding size argument 2 value is 4096 [-Werror=nonnull] | 70 | #define GETCWD getcwd | | ^ | nsinstall.c:246:13: note: in expansion of macro ‘GETCWD’ | 246 | todir = GETCWD(0, PATH_MAX); | | ^~~~~~ Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-26nss: Avoid converting enum to void*Khem Raj
Found with clang-11 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-26nss: fix postinst script for nativesdk buildMikko Rapeli
It's better to refer to binaries in postinst script with full path which also works on SDK when /opt/nativesysroot/usr/bin is not in PATH. Fixes install of nativesdk-nss: Configuring nativesdk-nss. /var/lib/opkg/info/nativesdk-nss.postinst: line 14: signlibs.sh: not found Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-13nss: upgrade 3.51.1 -> 3.54Ovidiu Panait
Upgrade nss 3.51.1 -> 3.54: * Refresh patches * Drop riscv.patch and 0001-Enable-uint128-on-mips64.patch patches as upstream commit [1] should implement that logic * Use "autobuild" as do_compile make target (Makefile logic has changed significantly, so the default target is no longer enough) [1] https://hg.mozilla.org/projects/nss/rev/60aa7df14f119d2a21750668c5ce36fa38ef2c6c Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-08nss: Remove mcpu to avoid march conflictsKhem Raj
Some files are compiled with armv8-a+crypto and when using cortex-a55 the deduced march is armv8.2-a which then conflicts Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-03nss: enable uint128 support on mips64Mingli Yu
Fix below build error: | verified/kremlin/kremlib/dist/minimal/FStar_UInt128.h:22:1: error: 'FStar_UInt128___proj__Mkuint128__item__low' declared 'static' but never defined [-Werror=unused-function] | 22 | FStar_UInt128___proj__Mkuint128__item__low(FStar_UInt128_uint128 projectee); Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-25nss: Fix build on riscv64Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-13nss: upgrade 3.51 -> 3.51.1Pierre-Jean Texier
See full release notes: - https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_3.51.1_release_notes Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-18nss: upgrade 3.50 -> 3.51Wang Mingyu
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-08nss,nspr: Add recipesKhem Raj
oe-core has punted them, but they are still needed by many packages e.g. mozjs Signed-off-by: Khem Raj <raj.khem@gmail.com>