Skip to content

Commit

Permalink
Add Panic Transmit 5 recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
timsutton committed Jul 19, 2017
1 parent 698b1d3 commit b6d6922
Show file tree
Hide file tree
Showing 8 changed files with 269 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Panic/Transmit.download.recipe
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>Description</key>
<string>Downloads the latest Transmit using Panic's Sparkle feed</string>
<string>Downloads the latest Transmit 4 using Panic's Sparkle feed</string>
<key>Identifier</key>
<string>com.github.autopkg.download.transmit</string>
<key>Input</key>
Expand Down
2 changes: 1 addition & 1 deletion Panic/Transmit.install.recipe
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>Description</key>
<string>Downloads and installs the current release version of Transmit.</string>
<string>Downloads and installs the current release version of Transmit 4.</string>
<key>Identifier</key>
<string>com.github.autopkg.install.transmit</string>
<key>Input</key>
Expand Down
2 changes: 1 addition & 1 deletion Panic/Transmit.munki.recipe
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>Description</key>
<string>Downloads the latest Transmit using Panic's Sparkle feed, and imports into Munki.</string>
<string>Downloads the latest Transmit 4 using Panic's Sparkle feed, and imports into Munki.</string>
<key>Identifier</key>
<string>com.github.autopkg.munki.transmit</string>
<key>Input</key>
Expand Down
2 changes: 1 addition & 1 deletion Panic/Transmit.pkg.recipe
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>Description</key>
<string>Downloads the latest Transmit and creates a package.</string>
<string>Downloads the latest Transmit 4 and creates a package.</string>
<key>Identifier</key>
<string>com.github.autopkg.pkg.transmit</string>
<key>Input</key>
Expand Down
78 changes: 78 additions & 0 deletions Panic/Transmit5.download.recipe
@@ -0,0 +1,78 @@
<?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>Description</key>
<string>Downloads the latest Transmit 5 using Panic's Sparkle feed</string>
<key>Identifier</key>
<string>com.github.autopkg.download.transmit5</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>Transmit5</string>
</dict>
<key>MinimumVersion</key>
<string>0.4.0</string>
<key>Process</key>
<array>
<dict>
<key>Processor</key>
<string>SparkleUpdateInfoProvider</string>
<key>Arguments</key>
<dict>
<key>appcast_url</key>
<string>https://www.panic.com/updates/update.php</string>
<key>appcast_query_pairs</key>
<dict>
<key>appName</key>
<string>Transmit</string>
<key>appVersion</key>
<string>45656</string>
</dict>
<key>appcast_request_headers</key>
<dict>
<key>User-Agent</key>
<string>Transmit/5.0 Sparkle/1.14.0</string>
</dict>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>URLDownloader</string>
<key>Arguments</key>
<dict>
<key>url</key>
<string>%url%</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>EndOfCheckPhase</string>
</dict>
<dict>
<key>Processor</key>
<string>Unarchiver</string>
<key>Arguments</key>
<dict>
<key>archive_path</key>
<string>%pathname%</string>
<key>destination_path</key>
<string>%RECIPE_CACHE_DIR%/%NAME%</string>
<key>purge_destination</key>
<true/>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>CodeSignatureVerifier</string>
<key>Arguments</key>
<dict>
<key>input_path</key>
<string>%RECIPE_CACHE_DIR%/%NAME%/Transmit.app</string>
<key>requirement</key>
<string>anchor apple generic and identifier "com.panic.Transmit" and (certificate leaf[field.1.2.840.113635.100.6.1.9] /* exists */ or certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = VE8FC488U5)</string>
</dict>
</dict>
</array>
</dict>
</plist>
26 changes: 26 additions & 0 deletions Panic/Transmit5.install.recipe
@@ -0,0 +1,26 @@
<?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>Description</key>
<string>Downloads and installs the current release version of Transmit 5.</string>
<key>Identifier</key>
<string>com.github.autopkg.install.transmit5</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>Transmit5</string>
</dict>
<key>MinimumVersion</key>
<string>0.4.0</string>
<key>ParentRecipe</key>
<string>com.github.autopkg.pkg.transmit5</string>
<key>Process</key>
<array>
<dict>
<key>Processor</key>
<string>Installer</string>
</dict>
</array>
</dict>
</plist>
65 changes: 65 additions & 0 deletions Panic/Transmit5.munki.recipe
@@ -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>Description</key>
<string>Downloads the latest Transmit 4 using Panic's Sparkle feed, and imports into Munki.</string>
<key>Identifier</key>
<string>com.github.autopkg.munki.transmit5</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>Transmit5</string>
<key>MUNKI_REPO_SUBDIR</key>
<string>apps/Transmit</string>
<key>pkginfo</key>
<dict>
<key>catalogs</key>
<array>
<string>testing</string>
</array>
<key>description</key>
<string>Transmit is an excellent FTP (file transfer protocol), SFTP, S3 (Amazon.com file hosting) and iDisk/WebDAV client that allows you to upload, download, and delete files over the internet. With the most Mac-like interface available, Transmit makes FTP as simple, fun, and easy as it can possibly be.</string>
<key>display_name</key>
<string>Transmit 5</string>
<key>name</key>
<string>%NAME%</string>
<key>unattended_install</key>
<true/>
</dict>
</dict>
<key>MinimumVersion</key>
<string>0.2.0</string>
<key>ParentRecipe</key>
<string>com.github.autopkg.download.transmit5</string>
<key>Process</key>
<array>
<dict>
<key>Processor</key>
<string>DmgCreator</string>
<key>Arguments</key>
<dict>
<key>dmg_root</key>
<string>%RECIPE_CACHE_DIR%/%NAME%</string>
<key>dmg_path</key>
<string>%RECIPE_CACHE_DIR%/%NAME%.dmg</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>MunkiPkginfoMerger</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>pkg_path</key>
<string>%RECIPE_CACHE_DIR%/%NAME%.dmg</string>
<key>repo_subdirectory</key>
<string>%MUNKI_REPO_SUBDIR%</string>
</dict>
<key>Processor</key>
<string>MunkiImporter</string>
</dict>
</array>
</dict>
</plist>
96 changes: 96 additions & 0 deletions Panic/Transmit5.pkg.recipe
@@ -0,0 +1,96 @@
<?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>Description</key>
<string>Downloads the latest Transmit 5 and creates a package.</string>
<key>Identifier</key>
<string>com.github.autopkg.pkg.transmit5</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>Transmit5</string>
</dict>
<key>MinimumVersion</key>
<string>0.2.0</string>
<key>ParentRecipe</key>
<string>com.github.autopkg.download.transmit5</string>
<key>Process</key>
<array>
<dict>
<key>Processor</key>
<string>PkgRootCreator</string>
<key>Arguments</key>
<dict>
<key>pkgroot</key>
<string>%RECIPE_CACHE_DIR%/%NAME%</string>
<key>pkgdirs</key>
<dict>
<key>Applications</key>
<string>0775</string>
</dict>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>Unarchiver</string>
<key>Arguments</key>
<dict>
<key>archive_path</key>
<string>%pathname%</string>
<key>destination_path</key>
<string>%pkgroot%/Applications</string>
<key>purge_destination</key>
<true/>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>PlistReader</string>
<key>Arguments</key>
<dict>
<key>info_path</key>
<string>%pkgroot%/Applications/Transmit.app</string>
<key>plist_keys</key>
<dict>
<key>CFBundleShortVersionString</key>
<string>version</string>
<key>CFBundleIdentifier</key>
<string>bundleid</string>
<key>CFBundleName</key>
<string>app_name</string>
</dict>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>PkgCreator</string>
<key>Arguments</key>
<dict>
<key>pkgname</key>
<string>%NAME%-%version%</string>
<key>pkg_request</key>
<dict>
<key>pkgdir</key>
<string>%RECIPE_CACHE_DIR%</string>
<key>id</key>
<string>%bundleid%</string>
<key>options</key>
<string>purge_ds_store</string>
<key>chown</key>
<array>
<dict>
<key>path</key>
<string>Applications</string>
<key>user</key>
<string>root</string>
<key>group</key>
<string>admin</string>
</dict>
</array>
</dict>
</dict>
</dict>
</array>
</dict>
</plist>

0 comments on commit b6d6922

Please sign in to comment.