Git Product home page Git Product logo

homebysix-recipes's Introduction

homebysix-recipes

My recipes for AutoPkg. If you use them, click the Star button above to show your support!

Many of these recipes were created with the aid of Recipe Robot, an app you should definitely check out.

Installation

To add my repo to your Mac (with AutoPkg and Git already installed), run this command:

autopkg repo-add homebysix-recipes

Dependencies

Some of my recipes have parent recipes that live in another repo. Refer to a given recipe's parent recipe identifier to determine which repo you'll need to add. For example, my Sketch.pkg recipe uses com.github.foigus.download.Sketch as its parent, so you would need to run autopkg repo-add foigus-recipes before you could run Sketch.pkg successfully.

Known issues

If you're having a problem with one of my recipes, check the issues to see whether a known problem exists. If not, please submit an issue so I can investigate.

Shared Processors

I wrote a couple custom processors for my own recipes. Feel free to refer to them if you find them useful, or modify and redistribute as you like.

  • BinaryFileVersioner
    This processor returns the version number of a binary file that has an embedded info plist, using the /usr/bin/otool command.

  • FindAndReplace
    This processor performs a find/replace on a specified environment variable. The result is saved as a new variable, %output_string%.

  • VersionSplitter
    This processor splits version numbers. This is especially useful if the version contains two parts (e.g. version and build) but you only need/want one of them. For example, "0.3.4 (build 352ac3)" could become simply "0.3.4".

Submissions

Forks/pulls/issues are welcome. I'm always tweaking.

homebysix-recipes's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

homebysix-recipes's Issues

ResilioSync.munki.recipe downloads but doesn't add to Munki repo

I've been using the BTSync recipe for some time, and finally got around to replacing it with the Resilio recipe (as in removing the BTSync Munki recipe and now using the Resilio Munki recipe).

Now I honestly don't know whether this is due to the Resilio recipe, AutoPgr (which I recently upgraded to 1.4.2), or my own stupidity (quite possible). I haven't been modifying Munki configs in awhile so I'm a tad rusty. But while all my other recipes seem to be working fine (and are updating apps in the repo/etc.), and I can see that this one is downloading the .DMG in the cache folder, it's not adding it to the repo. And I can't for the life of me figure out why. I've been doing some stare and compares of different recipes, and at least the .munki.recipe files look to be fine. (One question: there's the use of %NAME% in several places including pathnames, and some apps like Resilio Sync have a space in them. Could this be the issue? I've tried replacing %NAME% with ResilioSync (no space) but no dice.)

I sure wish AutoPkg/AutoPkgr would have a debug mode where we could see each step being executed to find out why things aren't going as they should.

Anyway, am I nuts here? When I still had the BTSync munki recipe, I noticed at one point it started pulling down Resilio Sync and adding that to the repo. I thought, "Oh, cool." But it wasn't showing in the Managed Software Center where I had things configured, so figured it was time to clean up and just remove all references to BTSync and have it just be Resilio Sync. (Mind you, my current setup only impacts machines I manage.) But I'm clearly missing something. At the very least, I can't seem to find logs/evidence to explain what I'm doing wrong. But I'm hoping you might be able to point me in the right direction.

Thanks in advance for any/all help.

i have an error

No match found on URL: http://continuum.io/downloads

Code signature verification failed. Note that all verifications can be disabled by setting the variable DISABLE_CODE_SIGNATURE_VERIFICATION to a non-empty value.

Mismatch in authority names. Note that all verification can be disabled by setting the variable DISABLE_CODE_SIGNATURE_VERIFICATION to a non-empty value.

Error processing path '/private/tmp/dmg.PrUtbK/Tableau Reader.app' with glob.

Issue with GithubDesktop.install and AutoPkg 0.6.1

$ autopkg run -v GithubDesktop.install

Processing GithubDesktop.install...
URLDownloader
URLDownloader: Downloaded /Users/grahamgilbert/Library/AutoPkg/Cache/com.github.homebysix.install.GitHubDesktop/downloads/GitHubDesktop.zip
EndOfCheckPhase
Unarchiver
Unarchiver: Guessed archive format 'zip' from filename GitHubDesktop.zip
Unarchiving /Users/grahamgilbert/Library/AutoPkg/Cache/com.github.homebysix.install.GitHubDesktop/downloads/GitHubDesktop.zip with ditto failed: ditto: GitHub Desktop.app/Contents/Resources/git-lfs/bin/git-lfs: No such file or directory
ditto: Couldn't read pkzip signature.
ditto: Couldn't read pkzip signature.
ditto: Couldn't read pkzip signature.
ditto: Couldn't read pkzip signature.
ditto: Couldn't read pkzip signature.
ditto: Couldn't read pkzip signature.

Failed.
Receipt written to /Users/grahamgilbert/Library/AutoPkg/Cache/com.github.homebysix.install.GitHubDesktop/receipts/GithubDesktop-receipt-20160401-010015.plist

The following recipes failed:
    GithubDesktop.install
        Error in com.github.homebysix.install.GitHubDesktop: Processor: Unarchiver: Error: Unarchiving /Users/grahamgilbert/Library/AutoPkg/Cache/com.github.homebysix.install.GitHubDesktop/downloads/GitHubDesktop.zip with ditto failed: ditto: GitHub Desktop.app/Contents/Resources/git-lfs/bin/git-lfs: No such file or directory
ditto: Couldn't read pkzip signature.
ditto: Couldn't read pkzip signature.
ditto: Couldn't read pkzip signature.
ditto: Couldn't read pkzip signature.
ditto: Couldn't read pkzip signature.
ditto: Couldn't read pkzip signature.


The following new items were downloaded:
    Download Path                                                                                                      
    -------------                                                                                                      
    /Users/grahamgilbert/Library/AutoPkg/Cache/com.github.homebysix.install.GitHubDesktop/downloads/GitHubDesktop.zip 

BitTorrent Sync is now Resilio Sync

Hey Elliot!

I noticed that BitTorrent Sync has changed their name - with version 2.4.0, it's now known as Resilio Sync:

https://www.getsync.com/individuals/

What's the best way to handle this? Should the old recipe be retired of a new one, or the existing recipe be renamed?

Also, I'm thinking I'll add BitTorrent Sync to blocking_applications and include this as a postinstall_script:

#!/bin/bash

rm="/bin/rm"

${rm} "/Applications/BitTorrent Sync.app"

exit 0

(via an override, of course)

Mike

Cakebrew recipe not running? Update your recipe_list.txt with new identifier.

The Cakebrew recipe identifiers have finally changed to match the correct capitalization of the app. If you're using AutoPkgr, this means that you're probably getting errors like this:

No valid recipe found for com.github.homebysix.munki.CakeBrew

To solve this error, you need to edit your recipe list file (usually ~/Library/Application Support/AutoPkgr/recipe_list.txt) and remove any lines that contain CakeBrew.

Once you've done that, you can add the new Cakebrew recipes in the AutoPkgr interface as you normally would.

Alternatively, here's a quick and easy Terminal command that will get you sorted:

sed -i.bak 's/CakeBrew/Cakebrew/g' ~/Library/Application\ Support/AutoPkgr/recipe_list.txt

(Substitute the name of your recipe list, if it's something other than `recipe_list.txt'.)

Known issue with LiveSurfaceContext recipes

Because of a "400 bad request" error on a URL referenced from the LiveSurface Context sparkle feed, all LiveSurfaceContext recipes are failing right now. Unfortunately, this isn't something I can fix in the recipe. We'll have to wait for LiveSurface to fix it.

Known issue causing Metabase recipes to fail

The code signature verification on Metabase is failing because Sparkle components were altered after the resources were sealed. I expect a future app update to fix this.

CodeSignatureVerifier
CodeSignatureVerifier: Verifying application bundle signature...
CodeSignatureVerifier: /Users/elliot/Library/AutoPkg/Cache/com.github.homebysix.download.Metabase/Metabase/Applications/Metabase.app: a sealed resource is missing or invalid
CodeSignatureVerifier: In subcomponent: /Users/elliot/Library/AutoPkg/Cache/com.github.homebysix.download.Metabase/Metabase/Applications/Metabase.app/Contents/Frameworks/Sparkle.framework
CodeSignatureVerifier: file added: /Users/elliot/Library/AutoPkg/Cache/com.github.homebysix.download.Metabase/Metabase/Applications/Metabase.app/Contents/Frameworks/Sparkle.framework/Versions/Current/Resources/fr_CA.lproj/Sparkle.strings
CodeSignatureVerifier: file added: /Users/elliot/Library/AutoPkg/Cache/com.github.homebysix.download.Metabase/Metabase/Applications/Metabase.app/Contents/Frameworks/Sparkle.framework/Versions/Current/Resources/fr_CA.lproj/SUAutomaticUpdateAlert.nib
CodeSignatureVerifier: file added: /Users/elliot/Library/AutoPkg/Cache/com.github.homebysix.download.Metabase/Metabase/Applications/Metabase.app/Contents/Frameworks/Sparkle.framework/Versions/Current/Resources/fr_CA.lproj/SUUpdateAlert.nib
CodeSignatureVerifier: file added: /Users/elliot/Library/AutoPkg/Cache/com.github.homebysix.download.Metabase/Metabase/Applications/Metabase.app/Contents/Frameworks/Sparkle.framework/Versions/Current/Resources/fr_CA.lproj/SUUpdatePermissionPrompt.nib
CodeSignatureVerifier: file added: /Users/elliot/Library/AutoPkg/Cache/com.github.homebysix.download.Metabase/Metabase/Applications/Metabase.app/Contents/Frameworks/Sparkle.framework/Versions/Current/Resources/pt.lproj/Sparkle.strings
CodeSignatureVerifier: file added: /Users/elliot/Library/AutoPkg/Cache/com.github.homebysix.download.Metabase/Metabase/Applications/Metabase.app/Contents/Frameworks/Sparkle.framework/Versions/Current/Resources/pt.lproj/SUAutomaticUpdateAlert.nib
CodeSignatureVerifier: file added: /Users/elliot/Library/AutoPkg/Cache/com.github.homebysix.download.Metabase/Metabase/Applications/Metabase.app/Contents/Frameworks/Sparkle.framework/Versions/Current/Resources/pt.lproj/SUUpdateAlert.nib
CodeSignatureVerifier: file added: /Users/elliot/Library/AutoPkg/Cache/com.github.homebysix.download.Metabase/Metabase/Applications/Metabase.app/Contents/Frameworks/Sparkle.framework/Versions/Current/Resources/pt.lproj/SUUpdatePermissionPrompt.nib
CodeSignatureVerifier: file missing: /Users/elliot/Library/AutoPkg/Cache/com.github.homebysix.download.Metabase/Metabase/Applications/Metabase.app/Contents/Frameworks/Sparkle.framework/Versions/Current/Resources/fr_CA.lproj
CodeSignatureVerifier: file missing: /Users/elliot/Library/AutoPkg/Cache/com.github.homebysix.download.Metabase/Metabase/Applications/Metabase.app/Contents/Frameworks/Sparkle.framework/Versions/Current/Resources/pt.lproj
Code signature verification failed. Note that all verifications can be disabled by setting the variable DISABLE_CODE_SIGNATURE_VERIFICATION to a non-empty value.
Failed.

Acorn recipe fails code signature verification

I haven't had a chance to look at this in-depth yet, but Acorn 6.0 just came out - that's probably related.

$ autopkg run -v local.munki.Acorn
Processing local.munki.Acorn...
URLDownloader
URLDownloader: Item at URL is unchanged.
URLDownloader: Using existing /Users/macadmin/Library/AutoPkg/Cache/local.munki.Acorn/downloads/Acorn.zip
EndOfCheckPhase
Unarchiver
Unarchiver: Guessed archive format 'zip' from filename Acorn.zip
Unarchiver: Unarchived /Users/macadmin/Library/AutoPkg/Cache/local.munki.Acorn/downloads/Acorn.zip to /Users/macadmin/Library/AutoPkg/Cache/local.munki.Acorn/Acorn/Applications
CodeSignatureVerifier
CodeSignatureVerifier: Verifying application bundle signature...
CodeSignatureVerifier: /Users/macadmin/Library/AutoPkg/Cache/local.munki.Acorn/Acorn/Applications/Acorn.app: valid on disk
CodeSignatureVerifier: /Users/macadmin/Library/AutoPkg/Cache/local.munki.Acorn/Acorn/Applications/Acorn.app: satisfies its Designated Requirement
CodeSignatureVerifier: test-requirement: code failed to satisfy specified code requirement(s)
Code signature verification failed. Note that all verifications can be disabled by setting the variable DISABLE_CODE_SIGNATURE_VERIFICATION to a non-empty value.
Failed.
Receipt written to /Users/macadmin/Library/AutoPkg/Cache/local.munki.Acorn/receipts/local.munki-receipt-20170713-112447.plist

The following recipes failed:
    local.munki.Acorn
        Error in local.munki.Acorn: Processor: CodeSignatureVerifier: Error: Code signature verification failed. Note that all verifications can be disabled by setting the variable DISABLE_CODE_SIGNATURE_VERIFICATION to a non-empty value.

Nothing downloaded, packaged or imported.

Known issue causing Anvil recipes to fail

The app used to be a standard app-within-a-zip, but as of version 1.1.6, it's now an app-within-a-folder-within-a-zip. I suspect this was a mistake and will be corrected by the developer in the next release. Until then, Anvil recipes will fail.

Issue with ADPassMon.munki

The output from a verbose run is below

autopkg run ADPassMon.munki.recipe -vvv  
Processing ADPassMon.munki.recipe...
{'AUTOPKG_VERSION': u'0.5.1',
 u'GITHUB_REPO': u'apps/macmule/ADPassMon',
 u'MUNKI_REPO': u'/Users/grahamgilbert/src/Munki/work_munki',
 u'MUNKI_REPO_SUBDIR': u'apps/ADPassMon',
 u'NAME': u'ADPassMon',
 'PARENT_RECIPES': [u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.homebysix-recipes/ADPassMon/ADPassMon.munki.recipe',
                    u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.homebysix-recipes/ADPassMon/ADPassMon.download.recipe'],
 'RECIPE_CACHE_DIR': u'/Users/grahamgilbert/Library/AutoPkg/Cache/com.xbstech.munki.ADPassMon',
 'RECIPE_DIR': '/Users/grahamgilbert/Dropbox (Personal)/src/Work/autopkg-overrides',
 'RECIPE_OVERRIDE_DIRS': ['~/Library/AutoPkg/RecipeOverrides'],
 'RECIPE_PATH': '/Users/grahamgilbert/Dropbox (Personal)/src/Work/autopkg-overrides/ADPassMon.munki.recipe',
 u'RECIPE_REPOS': {u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.arubdesu-recipes': {
    URL = "https://github.com/autopkg/arubdesu-recipes";
},
                   u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.dankeller-recipes': {
    URL = "https://github.com/autopkg/dankeller-recipes";
},
                   u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.derak-recipes': {
    URL = "https://github.com/autopkg/derak-recipes";
},
                   u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.gerardkok-recipes': {
    URL = "https://github.com/autopkg/gerardkok-recipes";
},
                   u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.grahamgilbert-recipes': {
    URL = "https://github.com/autopkg/grahamgilbert-recipes";
},
                   u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.hansen-m-recipes': {
    URL = "https://github.com/autopkg/hansen-m-recipes";
},
                   u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.hjuutilainen-recipes': {
    URL = "https://github.com/autopkg/hjuutilainen-recipes";
},
                   u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.homebysix-recipes': {
    URL = "https://github.com/autopkg/homebysix-recipes";
},
                   u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.jaharmi-recipes': {
    URL = "https://github.com/autopkg/jaharmi-recipes";
},
                   u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.jessepeterson-recipes': {
    URL = "https://github.com/autopkg/jessepeterson-recipes";
},
                   u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.jleggat-recipes': {
    URL = "https://github.com/autopkg/jleggat-recipes";
},
                   u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.joshua-d-miller-recipes': {
    URL = "https://github.com/autopkg/joshua-d-miller-recipes";
},
                   u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.jps3-recipes': {
    URL = "https://github.com/autopkg/jps3-recipes";
},
                   u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.justinrummel-recipes': {
    URL = "https://github.com/autopkg/justinrummel-recipes";
},
                   u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.keeleysam-recipes': {
    URL = "https://github.com/autopkg/keeleysam-recipes";
},
                   u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.n8felton-recipes': {
    URL = "https://github.com/autopkg/n8felton-recipes";
},
                   u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.nmcspadden-recipes': {
    URL = "https://github.com/autopkg/nmcspadden-recipes";
},
                   u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes': {
    URL = "https://github.com/autopkg/recipes";
},
                   u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.rtrouton-recipes': {
    URL = "https://github.com/autopkg/rtrouton-recipes";
},
                   u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.swy-recipes': {
    URL = "https://github.com/autopkg/swy-recipes";
},
                   u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.thenikola-recipes': {
    URL = "https://github.com/autopkg/thenikola-recipes";
},
                   u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.timsutton-recipes': {
    URL = "https://github.com/autopkg/timsutton-recipes";
},
                   u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.xbstech.gitlab.munki.autopkg-recipes': {
    URL = "https://gitlab.xbstech.com/munki/autopkg-recipes.git";
}},
 u'RECIPE_SEARCH_DIRS': [u'.',
                         u'~/Library/AutoPkg/Recipes',
                         u'/Library/AutoPkg/Recipes',
                         u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes',
                         u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.hjuutilainen-recipes',
                         u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.hansen-m-recipes',
                         u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.timsutton-recipes',
                         u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.jaharmi-recipes',
                         u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.jleggat-recipes',
                         u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.joshua-d-miller-recipes',
                         u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.dankeller-recipes',
                         u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.arubdesu-recipes',
                         u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.keeleysam-recipes',
                         u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.jessepeterson-recipes',
                         u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.nmcspadden-recipes',
                         u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.jps3-recipes',
                         u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.grahamgilbert-recipes',
                         u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.swy-recipes',
                         u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.derak-recipes',
                         u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.homebysix-recipes',
                         u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.justinrummel-recipes',
                         u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.rtrouton-recipes',
                         u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.gerardkok-recipes',
                         u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.thenikola-recipes',
                         u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.xbstech.gitlab.munki.autopkg-recipes',
                         u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.n8felton-recipes',
                         '',
                         u'/Users/grahamgilbert/Library/AutoPkg/RecipeRepos/com.github.autopkg.homebysix-recipes/ADPassMon'],
 u'pkginfo': {
    catalogs =     (
        testing
    );
    description = "Active Directory Password Monitor menulet app for OS X 10.8+";
    developer = "Ben Toms";
    "display_name" = ADPassMon;
    name = ADPassMon;
    "unattended_install" = 1;
},
 'verbose': 3}
GitHubReleasesInfoProvider
{'Input': {'github_repo': u'apps/macmule/ADPassMon'}}
API error: HTTP Error 404: Not Found
Unexpected GitHub API status code 404.
Failed.
Receipt written to /Users/grahamgilbert/Library/AutoPkg/Cache/com.xbstech.munki.ADPassMon/receipts/ADPassMon.munki-receipt-20150925-110506.plist

The following recipes failed:
    ADPassMon.munki.recipe
        Error in com.xbstech.munki.ADPassMon: Processor: GitHubReleasesInfoProvider: Error: Unexpected GitHub API status code 404.

Nothing downloaded, packaged or imported.

Spotify doesn't launch when the Spotify.pkg recipe is used.

Spotify borked the permissions on their .app bundle. The Spotify executable (./Contents/MacOS/Spotify) is chmod 0744. When the app is installed manually by a user, this is not an issue, but the recipe makes the owner root. So when the app is installed, only root can launch the app. Need to fix the app bundle in the pkg recipe.

Known issue causing subsequent runs of GitHubDesktop recipes to fail

An issue with CURLDownloader causes the following error to appear on the second, third, and subsequent runs of any GitHub Desktop recipe.

Error in com.github.homebysix.pkg.GitHubDesktop: Processor: Unarchiver: Error: Unarchiving /Users/elliot/Library/AutoPkg/Cache/com.github.homebysix.pkg.GitHubDesktop/downloads/GitHubDesktop.zip with ditto failed: ditto: Couldn't read PKZip signature

This will be fixed in AutoPkg 0.5.2, but in the meantime GitHubDesktop recipes will fail.

If you require an immediate fix, you can use the latest unreleased AutoPkg build, but I recommend waiting until an official release on production systems.

Wrong %NAME% when running KeyboardMaestro.munki

Running KeyboardMaestro.munki.recipe using KeyboardMaestro.download.recipe as parent recipe, CodeSignatureVerifier fail's because %NAME% is used as "KeyboardMaestro" and not as "Keyboard Maestro"

Joining the 2 in to 1 munki.recipe, with no parents works!, but not a good solution.

It my look as an Autopkg problem, don't know!?

Error:
CodeSignatureVerifier: /Users/Shared/AutoPkg/Cache/com.github.homebysix.munki.KeyboardMaestro/KeyboardMaestro/Applications/KeyboardMaestro.app: No such file or directory Code signature verification failed. Note that all verifications can be disabled by setting the variable DISABLE_CODE_SIGNATURE_VERIFICATION to a non-empty value. Failed.

Works:
CodeSignatureVerifier CodeSignatureVerifier: Verifying application bundle signature... CodeSignatureVerifier: /Users/Shared/AutoPkg/Cache/com.github.homebysix.download.km-test/Keyboard Maestro/Applications/Keyboard Maestro.app: valid on disk CodeSignatureVerifier: /Users/Shared/AutoPkg/Cache/com.github.homebysix.download.km-test/Keyboard Maestro/Applications/Keyboard Maestro.app: satisfies its Designated Requirement CodeSignatureVerifier: /Users/Shared/AutoPkg/Cache/com.github.homebysix.download.km-test/Keyboard Maestro/Applications/Keyboard Maestro.app: explicit requirement satisfied CodeSignatureVerifier: Signature is valid

License?

Can you please add some license info in this repo? Thanks!

Bartender version has been updated

Bartender updated to version 3, and their URL for download of version 2 is 404'ing:

autopkg run -v Bartender.jss
Processing Bartender.jss...
SparkleUpdateInfoProvider
SparkleUpdateInfoProvider: Version retrieved from appcast: 308
SparkleUpdateInfoProvider: User-facing version retrieved from appcast: 3.0.8
SparkleUpdateInfoProvider: Found URL https://macbartender.com/B2/updates/3-0-8/Bartender%25203.zip
URLDownloader
Curl failure: The requested URL returned error: 404 Not Found (exit code 22)
Failed.
Receipt written to /Users/autopkg/Library/AutoPkg/Cache/local.jss.Bartender/receipts/Bartender-receipt-20171002-090030.plist

The following recipes failed:
Bartender.jss
Error in local.jss.Bartender: Processor: URLDownloader: Error: Curl failure: The requested URL returned error: 404 Not Found (exit code 22)

Nothing downloaded, packaged or imported.

Looks like this is the URL for version3 (from Info.plist):

<key>SUFeedURL</key>
<string>https://www.macbartender.com/B2/updates/updatesB3.php</string>
<key>SUOriginalFeedURL</key>
<string>https://www.macbartender.com/B2/updates/updatesB3.php</string>

Apache Directory Studio recipe returns a 404

Thanks for this recipe! I can't seem to get it to work, though - looks like they might have changed their website.

autopkg run local.munki.ApacheDirectoryStudio -vv
Processing local.munki.ApacheDirectoryStudio...
URLTextSearcher
{'Input': {'re_pattern': u'<a href="([\\d]+\\..+)/">',
           'result_output_var_name': u'version',
           'url': u'https://dist.apache.org/repos/dist/release/directory/studio/'}}
URLTextSearcher: No value supplied for CURL_PATH, setting default value of: /usr/bin/curl
URLTextSearcher: Found matching text (version): 2.0.0.v20161101-M12
{'Output': {u'version': '2.0.0.v20161101-M12'}}
URLDownloader
{'Input': {'CURL_PATH': '/usr/bin/curl',
           'url': u'https://dist.apache.org/repos/dist/release/directory/studio/2.0.0.v20161101-M12/ApacheDirectoryStudio-2.0.0.v20161101-M12-macosx.cocoa.x86_64.tar.gz'}}
URLDownloader: No value supplied for CHECK_FILESIZE_ONLY, setting default value of: False
Curl failure: The requested URL returned error: 404 Not Found (exit code 22)
Failed.
Receipt written to /Users/macadmin/Library/AutoPkg/Cache/local.munki.ApacheDirectoryStudio/receipts/local.munki-receipt-20161206-134041.plist

The following recipes failed:
    local.munki.ApacheDirectoryStudio
        Error in local.munki.ApacheDirectoryStudio: Processor: URLDownloader: Error: Curl failure: The requested URL returned error: 404 Not Found (exit code 22)

Nothing downloaded, packaged or imported.

EDIT: Whoops, hit 'submit' too soon. I do see a working download on this page, but it looks like they're using mirrors for the downloads now. Maybe it was hosted directly by Apache before?

Mike

CakeBrew.download: URLDownloader stumbles over certificate

Hi

This isn't an issue with the recipe but with the developer's/CDN's certificates.

SparkleUpdateInfoProvider finds the right url, but URLDownloader then downloads a .zip with zero bytes, which causes Unarchiver to fail. The url works when pasted into Safari, though it does object to the certificate due to hostname mismatch. Once the certificate has been trusted, the recipe runs through without a hitch. Not the pretties solution, but it works for anybody not minded to wait for the devs to sort out their certificates.

Anybody who doesn't want to accept such a certificate can download the latest version from GitHub instead. (Edit: My mistake, there's no downloadable installer for Cakebrew on GitHub.)

Cheers, michael.

BitTorrent Sync recipe download link is still pointing to v1 app when v2 has been out for a bit

You just helped me resolve an issue with AutoPkgr, and now I see you are the author of several recipes that I DO in fact use, one of them the BitTorrent Sync (BTSync) recipe. First, thank you for that, and for all you have done. You have helped me tremendously save time in managing several systems.

Now I'm hoping I can possibly return the favor. Regarding BTSync, as it stands right now, that recipe is still pulling the old v1 app. I don't know if that's on purpose or not, but thought I'd ask whether you planned to either update this recipe or provide another for BTSync v2 which came out a few months back. Looking on their new site for the app (www.getsync.com), it would appear that while the old link you have in BitTorrentSync.download.recipe is effectively

http://download-new.utorrent.com/endpoint/btsync/os/osx/track/stable/BitTorrentSync.dmg

the new download link is

https://download-cdn.getsyncapp.com/stable/osx/BitTorrent-Sync.dmg

indicating both a different URL and filename.

Tunnelblick fails to update

A new version of Tunnelblick is available. However, I'm unable to update Tunnelblick. I get the following error message:

`autopkg run -v Tunnelblick.munki.recipe
Processing Tunnelblick.munki.recipe...
URLTextSearcher
No match found on URL: https://tunnelblick.net/downloads.html
Failed.
Receipt written to /Users/admin/Library/AutoPkg/Cache/com.github.homebysix.munki.Tunnelblick/receipts/Tunnelblick.munki-receipt-20160321-115444.plist

The following recipes failed:
Tunnelblick.munki.recipe
Error in com.github.homebysix.munki.Tunnelblick: Processor: URLTextSearcher: Error: No match found on URL: https://tunnelblick.net/downloads.html

Nothing downloaded, packaged or imported.`

Known issue causing FileChute recipes to fail

The included version of the Growl framework breaks code signature verification. This issue will probably be resolved by the developer in a future release.

FileChute.app: resource envelope is obsolete (custom omit rules)
In subcomponent: FileChute.app/Contents/Frameworks/Growl.framework

Experiencing problems with multiple packages

Failures occurred in these recipes:
com.github.homebysix.munki.licecap
com.github.homebysix.munki.KeePassX
com.github.homebysix.munki.ApacheDirectoryStudio
com.github.homebysix.pkg.Tunnelblick
com.github.homebysix.munki.Tunnelblick
com.github.homebysix.install.Tunnelblick
com.github.homebysix.download.Tunnelblick
com.github.homebysix.download.ParallelsDesktop
com.github.homebysix.install.ParallelsDesktop
com.github.homebysix.munki.ParallelsDesktop
com.github.homebysix.pkg.ParallelsDesktop
com.github.homebysix.pkg.BetterTouchTool
com.github.homebysix.munki.BetterTouchTool
com.github.homebysix.install.BetterTouchTool

This was attempted using AutoPKG, is there any known reason for these packages to fail?

Keyboard Maestro CURL error

AutoPkg 0.5.2 - OS X 10.11 -

Tried with and without my simple override -

The following recipes failed:
KeyboardMaestro.munki
Error in local.munki.KeyboardMaestro: Processor: CURLDownloader: Error: list index out of range

Thanks in advance!

Royal TSX Fails to download

Processor: URLTextSearcher: Error: No match found on URL: http://www.royalapplications.com/ts/osx/download

Getting an error on Zoom Recipe

The error I am getting when running the recipe is:

Unarchiving ~/Library/Autopkg/Cache/local.jss.zoom/expanded/Scripts/zm.zip with ditto failed : ditto: ~/Library/Autopkg/Cache/local.jss.zoom/expanded/Scripts/zm.zip no such file or directory.

That has been cleaned up to be a little more generic of a path but I think the idea still comes across

I believe the error lies in this part of the code: https://github.com/autopkg/homebysix-recipes/blob/master/Zoom/Zoom.pkg.recipe#L53-L59

When I look at that folder I see zm.7z and 7zr.zip

Flinto recipe needs DOWNLOAD_URL updated

DOWNLOAD_URL points to https://www.flinto.com/assets/Flinto.app.zip which downloads version 1.0.7

Current version is 23.3, which can be downloaded as a .dmg from https://www.flinto.com/mac/download_latest

Recipe Robot didn't seem to have any issues creating it other than the expected:
[ERROR] Sorry, AutoPkg recipes already exist for this app, and I can't blend new recipes with existing recipes.

Github Desktop versioning change

Heya! Looks like Github Desktop has gotten more sane with their versioning; CFBundleVersion in the most recent version available to download directly from their site is 1.0.1, which matches the reported app version on the site as seen here:

defaults read /Applications/GitHub\ Desktop.app/Contents/Info.plist
{
    BuildMachineOSBuild = 16E195;
    CFBundleDisplayName = "GitHub Desktop";
    CFBundleExecutable = "GitHub Desktop";
    CFBundleIconFile = "electron.icns";
    CFBundleIdentifier = "com.github.GitHubClient";
    CFBundleInfoDictionaryVersion = "6.0";
    CFBundleName = "GitHub Desktop";
    CFBundlePackageType = APPL;
    CFBundleShortVersionString = "1.0.1";
    CFBundleURLTypes =     (
                {
            CFBundleURLName = "com.github.GitHubClient";
            CFBundleURLSchemes =             (
                "x-github-desktop-auth",
                "x-github-client",
                "github-mac"
            );
        }
    );
    CFBundleVersion = "1.0.1";
    DTSDKBuild = 14D125;
    DTSDKName = "macosx10.1010.10";
    DTXcode = 0821;
    DTXcodeBuild = 8C1002;
    LSApplicationCategoryType = "public.app-category.developer-tools";
    LSMinimumSystemVersion = "10.9.0";
    NSHighResolutionCapable = 1;
    NSHumanReadableCopyright = "Copyright \\U00a9 2017 GitHub, Inc.";
    NSMainNibFile = MainMenu;
    NSPrincipalClass = AtomApplication;
    NSSupportsAutomaticGraphicsSwitching = 1;
}

TableauReader.download.recipe change to .app name

Getting error that Processor: Versioner: Error: File ... /expanded/Tableau Reader.app/Contents/Info.plist does not exist or could not be read.

As Tableau Software has changed the name of the app.

On line 78
%RECIPE_CACHE_DIR%/expanded/Tableau Reader.app/Contents/Info.plist

now should be
%RECIPE_CACHE_DIR%/expanded/Tableau Reader 10.3.app/Contents/Info.plist

or some better more generic solution?

ParallelsDesktop.pkg.recipe created .pkg installs, but the App fails to launch

The package produced by the recipe ParallelsDesktop.pkg.recipe will successfully install, however, the App will fail to launch with an error. Attempted with Major Versions 12 and 11, same results.

Parallels Desktop Launch Error:

Parallels Desktop cannot be started.
Please reinstall Parallels Desktop and try again.
Problem ID:  15431

Searching in the MacAdmins #autopkg channel yields others expressing the same results.

I've tried manually following the steps that the recipe takes and end up with failed results as well. I'll continue working on this next week, but wanted to go ahead and file this issue.

CodeSignatureVerifier: Error: Code signature verification failed

Just wanted to let you know that I am getting the error below when using the child R recipe from autopkg/jss-recipes. I am using an override but I did not see a way to set DISABLE_CODE_SIGNATURE_VERIFICATION in an override.
Thanks!

Traceback (most recent call last): File "/usr/local/bin/autopkg", line 1459, in run_recipes autopackager.process(recipe) File "/Library/AutoPkg/autopkglib/init.py", line 479, in process % (identifier, step["Processor"], unicode(err))) AutoPackagerError: Error in local.jss.UNCWide-AutoPKG-R: Processor: CodeSignatureVerifier: Error: Code signature verification failed. Note that all verification can be disabled by setting the variable DISABLE_CODE_SIGNATURE_VERIFICATION to a non-empty value.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.