nss: update to 3.61.

This commit is contained in:
Đoàn Trần Công Danh 2021-01-27 08:48:38 +07:00
parent 63f110b5c6
commit 35a032a00a
2 changed files with 16 additions and 2 deletions

View File

@ -0,0 +1,12 @@
Index: nss/gtests/manifest.mn
===================================================================
--- nss/gtests/manifest.mn.orig
+++ nss/gtests/manifest.mn
@@ -41,6 +41,7 @@ certdb_gtest: common
certhigh_gtest: common
cryptohi_gtest: common
der_gtest: common
+freebl_gtest: common
pk11_gtest: common pkcs11testmodule
smime_gtest: common
softoken_gtest: common

View File

@ -3,7 +3,7 @@
_nsprver=4.29 _nsprver=4.29
pkgname=nss pkgname=nss
version=3.60.1 version=3.61
revision=1 revision=1
hostmakedepends="perl" hostmakedepends="perl"
makedepends="nspr-devel sqlite-devel zlib-devel" makedepends="nspr-devel sqlite-devel zlib-devel"
@ -13,7 +13,7 @@ maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="MPL-2.0" license="MPL-2.0"
homepage="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS" homepage="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS"
distfiles="${MOZILLA_SITE}/security/nss/releases/NSS_${version//\./_}_RTM/src/nss-${version}.tar.gz" distfiles="${MOZILLA_SITE}/security/nss/releases/NSS_${version//\./_}_RTM/src/nss-${version}.tar.gz"
checksum=2051c20b61112df24bad533ac37f6c66c1bc0d6ea70bb9d9cad102d20324279d checksum=312e2d804b34ccf0fec70b57cf8cd6ac853f8ced60df53e30ebb0a7bcd0e1370
export NS_USE_GCC=1 export NS_USE_GCC=1
export LIBRUNPATH= export LIBRUNPATH=
@ -55,6 +55,8 @@ do_build() {
make ${makejobs} LD=$BUILD_LD LDFLAGS="$BUILD_LDFLAGS" ${_native_use64} -C coreconf make ${makejobs} LD=$BUILD_LD LDFLAGS="$BUILD_LDFLAGS" ${_native_use64} -C coreconf
if [ "$CROSS_BUILD" ]; then if [ "$CROSS_BUILD" ]; then
# We don't run test in cross build
export NSS_DISABLE_GTESTS=1
if [ "$XBPS_TARGET_WORDSIZE" = "64" ]; then if [ "$XBPS_TARGET_WORDSIZE" = "64" ]; then
CFLAGS+=" -DNS_PTR_GT_32" CFLAGS+=" -DNS_PTR_GT_32"
_target_use64="USE_64=1" _target_use64="USE_64=1"