[vlc-commits] macOS: codesign: Add additional operations for Breakpad codesign

David Fuhrmann git at videolan.org
Mon Nov 20 20:27:41 CET 2017


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Mon Nov 20 19:46:16 2017 +0100| [32b60c98389e22adf94dde4f12b08e3a56aba72a] | committer: David Fuhrmann

macOS: codesign: Add additional operations for Breakpad codesign

Also covers breakpad helper application. Additionally, sign a helper
utility for sparkles autoupdate app.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=32b60c98389e22adf94dde4f12b08e3a56aba72a
---

 extras/package/macosx/codesign.sh | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/extras/package/macosx/codesign.sh b/extras/package/macosx/codesign.sh
index a45c513f24..7c0c2f30a5 100755
--- a/extras/package/macosx/codesign.sh
+++ b/extras/package/macosx/codesign.sh
@@ -94,11 +94,19 @@ else
     info "Signing frameworks"
     IDENTIFIER="com.growl.growlframework"
     codesign --force --verbose -s "$IDENTITY" --preserve-metadata=identifier,entitlements --requirements "$FIRSTPARTOF_REQUIREMENT$IDENTIFIER$SECONDPARTOF_REQUIREMENT" --timestamp=none VLC.app/Contents/Frameworks/Growl.framework/Versions/A
+
+    IDENTIFIER="fileop"
+    codesign --force --verbose -s "$IDENTITY" --preserve-metadata=identifier,entitlements --requirements "$FIRSTPARTOF_REQUIREMENT$IDENTIFIER$SECONDPARTOF_REQUIREMENT" --timestamp=none VLC.app/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/MacOS/fileop
     IDENTIFIER="org.sparkle-project.Sparkle.Autoupdate"
     codesign --force --verbose -s "$IDENTITY" --preserve-metadata=identifier,entitlements --requirements "$FIRSTPARTOF_REQUIREMENT$IDENTIFIER$SECONDPARTOF_REQUIREMENT" --timestamp=none VLC.app/Contents/Frameworks/Sparkle.framework/Resources/Autoupdate.app
     IDENTIFIER="org.sparkle-project.Sparkle"
     codesign --force --verbose -s "$IDENTITY" --preserve-metadata=identifier,entitlements --requirements "$FIRSTPARTOF_REQUIREMENT$IDENTIFIER$SECONDPARTOF_REQUIREMENT" --timestamp=none VLC.app/Contents/Frameworks/Sparkle.framework/Versions/A
 
+    IDENTIFIER="com.Breakpad.crash_report_sender"
+    codesign --force --verbose -s "$IDENTITY" --preserve-metadata=identifier,entitlements --requirements "$FIRSTPARTOF_REQUIREMENT$IDENTIFIER$SECONDPARTOF_REQUIREMENT" --timestamp=none VLC.app/Contents/Frameworks/Breakpad.framework/Resources/crash_report_sender.app
+    IDENTIFIER="com.googlecode.google-breakpad"
+    codesign --force --verbose -s "$IDENTITY" --preserve-metadata=identifier,entitlements --requirements "$FIRSTPARTOF_REQUIREMENT$IDENTIFIER$SECONDPARTOF_REQUIREMENT" --timestamp=none VLC.app/Contents/Frameworks/Breakpad.framework/Versions/A
+
     info "Signing the framework headers"
     for i in `find VLC.app/Contents/Frameworks/* -type f -name "*.h" -exec echo {} \;`
     do
@@ -182,6 +190,7 @@ fi
 info "all items signed, validating..."
 
 info "Validating frameworks"
+codesign --verify -vv VLC.app/Contents/Frameworks/Breakpad.framework
 codesign --verify -vv VLC.app/Contents/Frameworks/Growl.framework
 codesign --verify -vv VLC.app/Contents/Frameworks/Sparkle.framework
 



More information about the vlc-commits mailing list