Bug 759114 - Port bug 723176 - support mac dmg signing in the Thunderbird system. r+a=Standard8
authorRail Aliiev <rail@mozilla.com>
Tue, 29 May 2012 11:35:34 +0100
changeset 11357 82e2188d2a1a562825502341c09bac9ce4678590
parent 11356 01303a6f3d9b407f5df7eb37af6c19f97daa3765
child 11358 99054008c3828b89d59f154da5e4d154228d6da0
push idunknown
push userunknown
push dateunknown
bugs759114, 723176
Bug 759114 - Port bug 723176 - support mac dmg signing in the Thunderbird system. r+a=Standard8
mail/app/macbuild/Contents/CodeResources
mail/app/macbuild/Contents/_CodeSignature/CodeResources
mail/installer/package-manifest.in
new file mode 120000
--- /dev/null
+++ b/mail/app/macbuild/Contents/CodeResources
@@ -0,0 +1,1 @@
+_CodeSignature/CodeResources
\ No newline at end of file
new file mode 100644
--- /dev/null
+++ b/mail/app/macbuild/Contents/_CodeSignature/CodeResources
@@ -0,0 +1,65 @@
+<?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>rules</key>
+        <dict>
+            <key>^Info.plist$</key>
+            <true/>
+            <key>^PkgInfo$</key>
+            <true/>
+            <key>^MacOS/</key>
+            <true/>
+            <key>^Resources/</key>
+            <true/>
+            <key>^MacOS/extensions/.*</key><dict>
+                <key>omit</key>
+                <true/>
+                <key>weight</key>
+                <real>10</real>
+            </dict>
+            <key>^MacOS/distribution/.*</key><dict>
+                <key>omit</key>
+                <true/>
+                <key>weight</key>
+                <real>10</real>
+            </dict>
+            <key>^MacOS/updates/.*</key><dict>
+                <key>omit</key>
+                <true/>
+                <key>weight</key>
+                <real>10</real>
+            </dict>
+            <key>^MacOS/active-update.xml$</key><dict>
+                <key>omit</key>
+                <true/>
+                <key>weight</key>
+                <real>10</real>
+            </dict>
+            <key>^MacOS/defaults/.*</key><dict>
+                <key>omit</key>
+                <true/>
+                <key>weight</key>
+                <real>10</real>
+            </dict>
+            <key>^MacOS/mozilla.cfg$</key><dict>
+                <key>omit</key>
+                <true/>
+                <key>weight</key>
+                <real>10</real>
+            </dict>
+            <key>^MacOS/removed-files$</key><dict>
+                <key>omit</key>
+                <true/>
+                <key>weight</key>
+                <real>10</real>
+            </dict>
+            <key>^MacOS/updates.xml$</key><dict>
+                <key>omit</key>
+                <true/>
+                <key>weight</key>
+                <real>10</real>
+            </dict>
+        </dict>
+    </dict>
+</plist>
--- a/mail/installer/package-manifest.in
+++ b/mail/installer/package-manifest.in
@@ -20,16 +20,17 @@
 #endif
 #endif
 
 #ifdef XP_MACOSX
 ; Mac bundle stuff
 @APPNAME@/Contents/Info.plist
 @APPNAME@/Contents/PkgInfo
 @APPNAME@/Contents/Resources/
+@APPNAME@/Contents/_CodeSignature/CodeResources
 @APPNAME@/Contents/Library/
 #endif
 
 [@AB_CD@]
 @BINPATH@/chrome/@AB_CD@@JAREXT@
 @BINPATH@/chrome/@AB_CD@.manifest
 @BINPATH@/@PREF_DIR@/all-l10n.js
 @BINPATH@/searchplugins/*