mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-21 15:57:31 +09:00
Update NSS to 3.48 while keeping vc2013 hackfix and no-sslkeylogfile intact.
This commit is contained in:
parent
0b9855b841
commit
171849c8e5
351 changed files with 115185 additions and 57946 deletions
|
|
@ -12,6 +12,12 @@ source "$(dirname "$0")/setup.sh"
|
|||
# Clone NSPR.
|
||||
hg_clone https://hg.mozilla.org/projects/nspr nspr default
|
||||
|
||||
if [[ -f nss/nspr.patch && "$ALLOW_NSPR_PATCH" == "1" ]]; then
|
||||
pushd nspr
|
||||
cat ../nss/nspr.patch | patch -p1
|
||||
popd
|
||||
fi
|
||||
|
||||
# Build.
|
||||
make -C nss nss_build_all
|
||||
|
||||
|
|
|
|||
|
|
@ -31,8 +31,14 @@ export PATH="${PATH}:${PWD}/ninja/bin:${PWD}/gyp/test-env/Scripts"
|
|||
# Clone NSPR.
|
||||
hg_clone https://hg.mozilla.org/projects/nspr nspr default
|
||||
|
||||
if [[ -f nss/nspr.patch && "$ALLOW_NSPR_PATCH" == "1" ]]; then
|
||||
pushd nspr
|
||||
cat ../nss/nspr.patch | patch -p1
|
||||
popd
|
||||
fi
|
||||
|
||||
# Build with gyp.
|
||||
./nss/build.sh -g -v "$@"
|
||||
./nss/build.sh -g -v --enable-libpkix "$@"
|
||||
|
||||
# Package.
|
||||
7z a public/build/dist.7z dist
|
||||
|
|
|
|||
|
|
@ -6,7 +6,13 @@ set -v -e -x
|
|||
source $(dirname $0)/setup.sh
|
||||
|
||||
# Fetch artifact.
|
||||
wget -t 3 --retry-connrefused -w 5 --random-wait https://queue.taskcluster.net/v1/task/$TC_PARENT_TASK_ID/artifacts/public/build/dist.7z -O dist.7z
|
||||
if [ "$TASKCLUSTER_ROOT_URL" = "https://taskcluster.net" ] || [ -z "$TASKCLUSTER_ROOT_URL" ]; then
|
||||
url=https://queue.taskcluster.net/v1/task/$TC_PARENT_TASK_ID/artifacts/public/build/dist.7z
|
||||
else
|
||||
url=$TASKCLUSTER_ROOT_URL/api/queue/v1/task/$TC_PARENT_TASK_ID/artifacts/public/build/dist.7z
|
||||
fi
|
||||
|
||||
wget -t 3 --retry-connrefused -w 5 --random-wait $url -O dist.7z
|
||||
7z x dist.7z
|
||||
|
||||
# Generate certificates.
|
||||
|
|
|
|||
|
|
@ -6,7 +6,13 @@ set -v -e -x
|
|||
source $(dirname $0)/setup.sh
|
||||
|
||||
# Fetch artifact.
|
||||
wget -t 3 --retry-connrefused -w 5 --random-wait https://queue.taskcluster.net/v1/task/$TC_PARENT_TASK_ID/artifacts/public/build/dist.7z -O dist.7z
|
||||
if [ "$TASKCLUSTER_ROOT_URL" = "https://taskcluster.net" ] || [ -z "$TASKCLUSTER_ROOT_URL" ]; then
|
||||
url=https://queue.taskcluster.net/v1/task/$TC_PARENT_TASK_ID/artifacts/public/build/dist.7z
|
||||
else
|
||||
url=$TASKCLUSTER_ROOT_URL/api/queue/v1/task/$TC_PARENT_TASK_ID/artifacts/public/build/dist.7z
|
||||
fi
|
||||
|
||||
wget -t 3 --retry-connrefused -w 5 --random-wait $url -O dist.7z
|
||||
7z x dist.7z
|
||||
|
||||
# Run tests.
|
||||
|
|
|
|||
|
|
@ -17,9 +17,9 @@ hg_clone() {
|
|||
|
||||
hg_clone https://hg.mozilla.org/build/tools tools b8d7c263dfc3
|
||||
tools/scripts/tooltool/tooltool_wrapper.sh \
|
||||
$(dirname $0)/releng.manifest https://tooltool.mozilla-releng.net/ \
|
||||
$(dirname $0)/releng.manifest http://taskcluster/tooltool.mozilla-releng.net/ \
|
||||
non-existant-file.sh /c/mozilla-build/python/python.exe \
|
||||
/c/builds/tooltool.py --authentication-file /c/builds/relengapi.tok \
|
||||
/c/builds/tooltool.py \
|
||||
-c /c/builds/tooltool_cache
|
||||
|
||||
# This needs $m to be set.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue