[gimp-macos-build/wip/Benitoite/tests: 2/4] Revert "Update build.sh for hardened runtime codesign and notarize; from..."
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-macos-build/wip/Benitoite/tests: 2/4] Revert "Update build.sh for hardened runtime codesign and notarize; from..."
- Date: Thu, 21 May 2020 16:27:12 +0000 (UTC)
commit 743de9036e6cf2f8a80e9e646a00e77a5db37ee7
Author: Benitoite <kd6kxr gmail com>
Date: Thu May 21 13:46:02 2020 +0000
Revert "Update build.sh for hardened runtime codesign and notarize; from..."
This reverts commit 6c9544f5925d5fe443856e1a64b29d2c541fd178
package/build.sh | 16 ++--------------
package/gimp-hardening.entitlements | 8 --------
2 files changed, 2 insertions(+), 22 deletions(-)
---
diff --git a/package/build.sh b/package/build.sh
index ecc0de8..5859867 100755
--- a/package/build.sh
+++ b/package/build.sh
@@ -109,19 +109,11 @@ then
find ${PACKAGE_DIR}/GIMP-2.10.app/Contents/Resources/lib/ -type f -perm +111 \
| xargs file \
| grep ' Mach-O '|awk -F ':' '{print $1}' \
- | xargs /usr/bin/codesign -s "${codesign_subject}" \
- --options runtime \
- --entitlements ${HOME}/project/package/gimp-hardening.entitlements
+ | xargs /usr/bin/codesign -s "${codesign_subject}"
echo "Signing app"
- /usr/bin/codesign -s "${codesign_subject}" \
- --timestamp \
- --deep \
- --options runtime \
- --entitlements ${HOME}/project/package/gimp-hardening.entitlements \
- ${PACKAGE_DIR}/GIMP-2.10.app
+ /usr/bin/codesign -s "${codesign_subject}" --deep ${PACKAGE_DIR}/GIMP-2.10.app
fi
-
echo "Building DMG"
if [ -z "${CIRCLECI}" ]
then
@@ -159,8 +151,4 @@ then
/usr/bin/codesign -s "${codesign_subject}" "/tmp/artifacts/${DMGNAME}"
fi
-echo "Notarizing app"
-xcrun altool --notarize-app --file "/tmp/artifacts/${DMGNAME}" \
- -u "${notarization_login}" --primary-bundle-id -p "${notarization_password}"
-
echo "Done"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]