|
|
a1174d |
# HG changeset patch
|
|
|
a1174d |
# User Rob Lemley <rob@thunderbird.net>
|
|
|
a1174d |
# Date 1663866047 14400
|
|
|
a1174d |
# Thu Sep 22 13:00:47 2022 -0400
|
|
|
a1174d |
# Node ID 8c718243f4e83fc18dfc88bf5d817c5c18f13937
|
|
|
a1174d |
# Parent 17dc6bb322b5d40299bba0a90d59c0593137d4f6
|
|
|
a1174d |
Bug 1790116 - update_rnp.sh changes for RNP v0.16.2. r=kaie
|
|
|
a1174d |
|
|
|
a1174d |
The changes in bug_1768424.patch are now included upstream in
|
|
|
a1174d |
https://github.com/rnpgp/rnp/commit/ac6f58ef7ccea270b735b53f87da2c3ca5b34290.
|
|
|
a1174d |
|
|
|
a1174d |
bug_1763641.patch removed per bug 1790116 comment 26.
|
|
|
a1174d |
|
|
|
a1174d |
disable_obsolete_ciphers.patch no longer needed, use security rules instead.
|
|
|
a1174d |
|
|
|
a1174d |
Differential Revision: https://phabricator.services.mozilla.com/D157010
|
|
|
a1174d |
|
|
|
a1174d |
diff --git a/comm/third_party/update_rnp.sh b/comm/third_party/update_rnp.sh
|
|
|
a1174d |
--- a/comm/third_party/update_rnp.sh
|
|
|
a1174d |
+++ b/comm/third_party/update_rnp.sh
|
|
|
a1174d |
@@ -43,11 +43,11 @@ TAGLIST=$(git -C "${RNPgit}" tag --list
|
|
|
a1174d |
LATEST_VERSION=$($THIRDROC latest_version $TAGLIST)
|
|
|
a1174d |
REVISION=$(git -C "${RNPgit}" rev-parse --verify HEAD)
|
|
|
a1174d |
TIMESTAMP=$(git -C "${RNPgit}" show -s --format=%ct)
|
|
|
a1174d |
|
|
|
a1174d |
# Cleanup rnp checkout
|
|
|
a1174d |
-rm -rf ${RNPgit}/{.git,.github,.cirrus.yml,.clang-format,.gitignore}
|
|
|
a1174d |
+rm -rf ${RNPgit}/{.git,.github,.cirrus.yml,.clang-format,.gitignore,.codespellrc}
|
|
|
a1174d |
rm -rf ${RNPgit}/{_config.yml,docker.sh,ci,cmake,git-hooks,travis.sh,vcpkg.txt}
|
|
|
a1174d |
rm -rf ${RNPgit}/{Brewfile,CMakeLists.txt,CMakeSettings.json}
|
|
|
a1174d |
|
|
|
a1174d |
# Do the switch
|
|
|
a1174d |
rm -rf rnp
|
|
|
a1174d |
@@ -60,17 +60,17 @@ mv "${RNPgit}" rnp
|
|
|
a1174d |
|
|
|
a1174d |
# Restore moz.build
|
|
|
a1174d |
hg revert rnp/moz.build rnp/module.ver rnp/rnp.symbols rnp/src/lib/rnp/rnp_export.h \
|
|
|
a1174d |
rnp/src/rnp/moz.build rnp/src/rnpkeys/moz.build
|
|
|
a1174d |
|
|
|
a1174d |
-# Reapply Thunderbird patch to disable obsolete ciphers
|
|
|
a1174d |
-PATCH_FILES=("patches/rnp/disable_obsolete_ciphers.patch" \
|
|
|
a1174d |
- "patches/rnp/bug_1763641.patch" \
|
|
|
a1174d |
- "patches/rnp/bug_1768424.patch")
|
|
|
a1174d |
-for PATCH_FILE in "${PATCH_FILES[@]}"; do
|
|
|
a1174d |
- patch -p2 -i "${PATCH_FILE}" -N -r "${MY_TEMP_DIR}/${PATCH_FILE}.rej"
|
|
|
a1174d |
-done
|
|
|
a1174d |
+# Patch librnp - currently not needed
|
|
|
a1174d |
+#PATCH_FILES=("patches/rnp/disable_obsolete_ciphers.patch")
|
|
|
a1174d |
+#for PATCH_FILE in "${PATCH_FILES[@]}"; do
|
|
|
a1174d |
+# # shellcheck disable=SC2086
|
|
|
a1174d |
+# echo "Applying patch $(basename ${PATCH_FILE})"
|
|
|
a1174d |
+# patch -p2 -i "${PATCH_FILE}" -N -r "${MY_TEMP_DIR}/${PATCH_FILE}.rej"
|
|
|
a1174d |
+#done
|
|
|
a1174d |
|
|
|
a1174d |
# Patch sometimes creates backup files that are not wanted.
|
|
|
a1174d |
find rnp -name '*.orig' -exec rm -f '{}' \;
|
|
|
a1174d |
|
|
|
a1174d |
rm -rf "${MY_TEMP_DIR}"
|