Skip to content

Instantly share code, notes, and snippets.

@rtrouton
Created November 10, 2017 03:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rtrouton/43b0fef8502bc5db834c4aaec3a4edd7 to your computer and use it in GitHub Desktop.
Save rtrouton/43b0fef8502bc5db834c4aaec3a4edd7 to your computer and use it in GitHub Desktop.
Sample Google Chrome .pkg recipe override which uses the PkgSigner processor
<?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>Identifier</key>
<string>local.pkg.GoogleChrome</string>
<key>Input</key>
<dict>
<key>DOWNLOAD_URL</key>
<string>https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg</string>
<key>NAME</key>
<string>Google Chrome</string>
<key>PACKAGER</key>
<string>Company Name</string>
<key>SIGNINGCERTIFICATE</key>
<string>Developer ID Installer&#58; Rich Trouton &#40;XF95CST45F&#41;</string>
<key>SOFTWARETITLE</key>
<string>Chrome</string>
<key>VENDOR</key>
<string>Google</string>
</dict>
<key>ParentRecipe</key>
<string>com.company.pkg.GoogleChrome</string>
<key>ParentRecipeTrustInfo</key>
<dict>
<key>non_core_processors</key>
<dict>
<key>PkgSigner</key>
<dict>
<key>path</key>
<string>/Users/username/Library/AutoPkg/RecipeRepos/com.company.autopkg.recipes/GoogleChrome/PkgSigner.py</string>
<key>sha256_hash</key>
<string>475e5a7ffaa8145bf3f4c103e504719594072363ce9faf003c7ace8a3f05e109</string>
</dict>
</dict>
<key>parent_recipes</key>
<dict>
<key>com.company.pkg.GoogleChrome</key>
<dict>
<key>path</key>
<string>/Users/username/Library/AutoPkg/RecipeRepos/com.company.autopkg.recipes/GoogleChrome/GoogleChrome.pkg.recipe</string>
<key>sha256_hash</key>
<string>91c39577df611d211b9499a685dcf2dc337d5444ed7c9840921dd4cd5a5ad979</string>
</dict>
<key>com.github.autopkg.download.googlechrome</key>
<dict>
<key>git_hash</key>
<string>f29f399c54adee7122e9fdc3c1ea7ed4c67388a4</string>
<key>path</key>
<string>/Users/username/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes/GoogleChrome/GoogleChrome.download.recipe</string>
<key>sha256_hash</key>
<string>880dbbc39342ba18bb4609a4746be75fa4b41667840201876c0f936aef7599e6</string>
</dict>
</dict>
</dict>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment