Skip to content

Instantly share code, notes, and snippets.

View jesseendahl's full-sized avatar

Jesse Endahl jesseendahl

  • San Francisco, CA
View GitHub Profile
@arubdesu
arubdesu / AddCodeSigVerificationToRecipeWiki.md
Last active September 24, 2015 20:33
New page for under the Autopkg->Recipes wiki heading

###Using CodeSignatureVerification in your recipe

The CodeSignatureVerifier processor was added to allow signature verification for both:

  1. Installer packages (.pkg or .mpkg).

  2. Application bundles (.app). This option is necessary since not all software is supplied as packages. Instead, software is commonly released for download 'bare' at the root of a zip archive. CodeSignatureVerifier can look inside a DMG mount, but zip's must use the Unarchiver processor first.

Take into account the fact that both the computer running autopkg and the one that genrates the required configuration settings should have the default spctl settings, meaning Gatekeeper allows apps from the App Store and those signed with an Apple-recognized Developer ID. ####Adding Application bundle (.app) verification to your recipe

@scalp42
scalp42 / bldpkg.sh
Created October 4, 2012 16:58 — forked from crazed/bldpkg.sh
build mcollective pkgs on OS X
#!/bin/bash
MPATH=$1
BETCIDR='/etc/mcollective'
BRUBYDIR='/Library/Ruby/Site/1.8'
BSBINDIR='/usr/sbin'
BBINDIR='/usr/bin'
BLIBEXECDIR='/usr/libexec/mcollective'
BDOCDIR='/usr/share/doc/mcollective'
BLAUNCHDIR='/Library/LaunchDaemons'
PACKAGEMAKER='/Applications/PackageMaker.app/Contents/MacOS/PackageMaker'