Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add modified recipes for mist-cli; update descriptions #45

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 63 additions & 0 deletions mist/mist-cli.download.recipe
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTDPLIST1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Description</key>
<string>Download Mist-cli, A Mac command-line tool that automatically downloads macOS Firmwares / Installers:</string>
<key>Identifier</key>
<string>com.github.zentralpro.download.mist-cli</string>
<key>Input</key>
<dict>
<key>INCLUDE_PRERELEASES</key>
<string></string>
<key>NAME</key>
<string>mist-cli</string>
</dict>
<key>MinimumVersion</key>
<string>1.0.0</string>
<key>Process</key>
<array>
<dict>
<key>Processor</key>
<string>GitHubReleasesInfoProvider</string>
<key>Arguments</key>
<dict>
<key>include_prereleases</key>
<string>%INCLUDE_PRERELEASES%</string>
<key>github_repo</key>
<string>ninxsoft/Mist-cli</string>
<key>asset_regex</key>
<string>^.*\.pkg$</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>URLDownloader</string>
<key>Arguments</key>
<dict>
<key>filename</key>
<string>%NAME%-%version%.pkg</string>
</dict>
</dict>
<dict>
<key>Processor</key>
<string>EndOfCheckPhase</string>
</dict>
<dict>
<key>Processor</key>
<string>CodeSignatureVerifier</string>
<key>Arguments</key>
<dict>
<key>input_path</key>
<string>%pathname%</string>
<key>expected_authority_names</key>
<array>
<string>Developer ID Installer: Nindi Gill (7K3HVCLV7Z)</string>
<string>Developer ID Certification Authority</string>
<string>Apple Root CA</string>
</array>
</dict>
</dict>
</array>
</dict>
</plist>
31 changes: 31 additions & 0 deletions mist/mist-cli.install.recipe
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?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 latest version of Mist-cli, A Mac command-line tool that automatically downloads macOS Firmwares / Installers. Mist-cli will be installed to /usr/local/bin.</string>
<key>Identifier</key>
<string>com.github.zentralpro.install.mist-cli</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>mist</string>
</dict>
<key>MinimumVersion</key>
<string>1.0.0</string>
<key>ParentRecipe</key>
<string>com.github.zentralpro.download.mist-cli</string>
<key>Process</key>
<array>
<dict>
<key>Processor</key>
<string>Installer</string>
<key>Arguments</key>
<dict>
<key>pkg_path</key>
<string>%pathname%</string>
</dict>
</dict>
</array>
</dict>
</plist>
121 changes: 121 additions & 0 deletions mist/mist-cli.munki.recipe
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
<?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, packages and imports to Munki the latest version of Mist-cli, A Mac command-line tool that automatically downloads macOS Firmwares / Installers

Set the DERIVE_MIN_OS variable to a non-empty string to set the minimum_os_version via MunkiInstallsItemsCreator. This requires a minimum AutoPkg version of 2.7 please update if you're not already running it.</string>
<key>Identifier</key>
<string>com.github.zentralpro.munki.mist-cli</string>
<key>ParentRecipe</key>
<string>com.github.zentralpro.download.mist-cli</string>
<key>MinimumVersion</key>
<string>2.7</string>
<key>Input</key>
<dict>
<key>DERIVE_MIN_OS</key>
<string>YES</string>
<key>MUNKI_NAME</key>
<string>%NAME%</string>
<key>MUNKI_REPO_SUBDIR</key>
<string>apps/%NAME%</string>
<key>MUNKI_CATEGORY</key>
<string>Utilities</string>
<key>MUNKI_DEVELOPER</key>
<string>ninxsoft</string>
<key>DISPLAY_NAME</key>
<string>mist-cli</string>
<key>pkginfo</key>
<dict>
<key>catalogs</key>
<array>
<string>testing</string>
</array>
<key>description</key>
<string>A Mac command-line tool that automatically downloads macOS Firmwares / Installers. Details: https://github.com/ninxsoft/Mist-cli </string>
<key>display_name</key>
<string>%DISPLAY_NAME%</string>
<key>name</key>
<string>%MUNKI_NAME%</string>
<key>unattended_install</key>
<true/>
<key>category</key>
<string>%MUNKI_CATEGORY%</string>
<key>developer</key>
<string>%MUNKI_DEVELOPER%</string>
</dict>
</dict>
<key>Process</key>
<array>
<dict>
<key>Arguments</key>
<dict>
<key>destination_path</key>
<string>%RECIPE_CACHE_DIR%/unpacked</string>
<key>flat_pkg_path</key>
<string>%pathname%</string>
<key>purge_destination</key>
<true/>
</dict>
<key>Processor</key>
<string>FlatPkgUnpacker</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>destination_path</key>
<string>%RECIPE_CACHE_DIR%/payload</string>
<key>pkg_payload_path</key>
<string>%RECIPE_CACHE_DIR%/unpacked/Payload</string>
<key>purge_destination</key>
<true/>
</dict>
<key>Processor</key>
<string>PkgPayloadUnpacker</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>faux_root</key>
<string>%RECIPE_CACHE_DIR%/payload</string>
<key>installs_item_paths</key>
<array>
<string>/usr/local/bin/mist</string>
</array>
<key>derive_minimum_os_version</key>
<string>%DERIVE_MIN_OS%</string>
</dict>
<key>Processor</key>
<string>MunkiInstallsItemsCreator</string>
</dict>
<dict>
<key>Processor</key>
<string>MunkiPkginfoMerger</string>
</dict>
<dict>
<key>Processor</key>
<string>MunkiImporter</string>
<key>Arguments</key>
<dict>
<key>repo_subdirectory</key>
<string>%MUNKI_REPO_SUBDIR%</string>
<key>pkg_path</key>
<string>%pathname%</string>
</dict>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>path_list</key>
<array>
<string>%RECIPE_CACHE_DIR%/unpacked/</string>
<string>%RECIPE_CACHE_DIR%/payload/</string>
</array>
</dict>
<key>Processor</key>
<string>PathDeleter</string>
</dict>
</array>
</dict>
</plist>
4 changes: 2 additions & 2 deletions mist/mist.munki.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>Description</key>
<string>Downloads, packages and imports to Munki the latest version of Download Mist, a command-line tool that automatically generates macOS Installer Disk Images and Packages.
<string>Downloads, packages and imports to Munki the latest version of Download Mist, a Mac utility that automatically generates macOS Installer Disk Images and Packages.

Set the DERIVE_MIN_OS variable to a non-empty string to set the minimum_os_version via MunkiInstallsItemsCreator. This requires a minimum AutoPkg version of 2.7 please update if you're not already running it.</string>
<key>Identifier</key>
Expand Down Expand Up @@ -33,7 +33,7 @@ Set the DERIVE_MIN_OS variable to a non-empty string to set the minimum_os_versi
<string>testing</string>
</array>
<key>description</key>
<string>Download Mist, a command-line tool that automatically generates macOS Installer Disk Images and Packages.. Details: https://github.com/ninxsoft/Mist </string>
<string>A Mac utility that automatically downloads macOS Firmwares / Installers. Details: https://github.com/ninxsoft/Mist </string>
<key>display_name</key>
<string>%DISPLAY_NAME%</string>
<key>name</key>
Expand Down