Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/apache/directory-studio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Seelmann <mail@stefan-seelmann.de>2021-02-07 21:40:05 +0300
committerStefan Seelmann <mail@stefan-seelmann.de>2021-02-07 21:41:25 +0300
commit38f734112e4ded94089ce36d324b114376716795 (patch)
tree15e4e885db487b02ee653ed6b77166f5b67064f4
parent020b4a00090b3ec088f29e9aea9c21b1cf7e673c (diff)
DIRSTUDIO-1257 DIRSTUDIO-1264: Prepare notarization
-rwxr-xr-xinstallers/macos/src/dmg/createDMG.sh2
-rw-r--r--installers/macos/src/dmg/entitlements.plist16
2 files changed, 17 insertions, 1 deletions
diff --git a/installers/macos/src/dmg/createDMG.sh b/installers/macos/src/dmg/createDMG.sh
index 0626ec193..17d10b908 100755
--- a/installers/macos/src/dmg/createDMG.sh
+++ b/installers/macos/src/dmg/createDMG.sh
@@ -39,7 +39,7 @@ mv DS_Store dmg/.DS_Store
ln -s /Applications dmg/Applications
# Codesign the App with the ASF key, and verify
-codesign --force --deep -s ${APPLE_SIGNING_ID} dmg/ApacheDirectoryStudio.app
+codesign --force --deep --timestamp --options runtime --entitlements entitlements.plist -s ${APPLE_SIGNING_ID} dmg/ApacheDirectoryStudio.app
codesign -dv --verbose=4 dmg/ApacheDirectoryStudio.app
# Creating the disk image
diff --git a/installers/macos/src/dmg/entitlements.plist b/installers/macos/src/dmg/entitlements.plist
new file mode 100644
index 000000000..d34af29fe
--- /dev/null
+++ b/installers/macos/src/dmg/entitlements.plist
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>com.apple.security.cs.allow-jit</key>
+ <true/>
+ <key>com.apple.security.cs.allow-unsigned-executable-memory</key>
+ <true/>
+ <key>com.apple.security.cs.disable-executable-page-protection</key>
+ <true/>
+ <key>com.apple.security.cs.allow-dyld-environment-variables</key>
+ <true/>
+ <key>com.apple.security.cs.disable-library-validation</key>
+ <true/>
+</dict>
+</plist> \ No newline at end of file