This commit is contained in:
2024-06-20 14:56:42 +02:00
11 changed files with 195 additions and 12 deletions
@@ -0,0 +1,59 @@
<?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>Comment</key>
<string>Created with Recipe Robot v2.3.1 (https://github.com/homebysix/recipe-robot)</string>
<key>Description</key>
<string>Downloads the latest version of Firefox.</string>
<key>Identifier</key>
<string>com.github.solutiogruppen.download.Firefox</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>Firefox</string>
</dict>
<key>MinimumVersion</key>
<string>2.3</string>
<key>Process</key>
<array>
<dict>
<key>Arguments</key>
<dict>
<key>filename</key>
<string>%NAME%.dmg</string>
<key>url</key>
<string>https://download.mozilla.org/?product=firefox-latest&amp;os=osx&amp;lang=da</string>
</dict>
<key>Processor</key>
<string>URLDownloader</string>
</dict>
<dict>
<key>Processor</key>
<string>EndOfCheckPhase</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>input_path</key>
<string>%pathname%/Firefox.app</string>
<key>requirement</key>
<string>identifier "org.mozilla.firefox" and anchor apple generic and 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] = "43AQ936H96"</string>
</dict>
<key>Processor</key>
<string>CodeSignatureVerifier</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>input_plist_path</key>
<string>%pathname%/Firefox.app/Contents/Info.plist</string>
<key>plist_version_key</key>
<string>CFBundleShortVersionString</string>
</dict>
<key>Processor</key>
<string>Versioner</string>
</dict>
</array>
</dict>
</plist>
@@ -0,0 +1,42 @@
<?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>Comment</key>
<string>Created with Recipe Robot v2.3.1 (https://github.com/homebysix/recipe-robot)</string>
<key>Description</key>
<string>Installs the latest version of Firefox.</string>
<key>Identifier</key>
<string>com.github.solutiogruppen.install.Firefox</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>Firefox</string>
</dict>
<key>MinimumVersion</key>
<string>2.3</string>
<key>ParentRecipe</key>
<string>com.github.solutiogruppen.download.Firefox</string>
<key>Process</key>
<array>
<dict>
<key>Arguments</key>
<dict>
<key>dmg_path</key>
<string>%pathname%</string>
<key>items_to_copy</key>
<array>
<dict>
<key>destination_path</key>
<string>/Applications</string>
<key>source_item</key>
<string>Firefox.app</string>
</dict>
</array>
</dict>
<key>Processor</key>
<string>InstallFromDMG</string>
</dict>
</array>
</dict>
</plist>
+54
View File
@@ -0,0 +1,54 @@
<?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>Comment</key>
<string>Created with Recipe Robot v2.3.1 (https://github.com/homebysix/recipe-robot)</string>
<key>Description</key>
<string>Downloads the latest version of Firefox and imports it into Munki.</string>
<key>Identifier</key>
<string>com.github.solutiogruppen.munki.Firefox</string>
<key>Input</key>
<dict>
<key>MUNKI_REPO_SUBDIR</key>
<string>apps/%NAME%</string>
<key>NAME</key>
<string>Firefox</string>
<key>pkginfo</key>
<dict>
<key>catalogs</key>
<array>
<string>testing</string>
</array>
<key>description</key>
<string>Fast, safe Web browser.</string>
<key>developer</key>
<string>Mozilla Corporation</string>
<key>display_name</key>
<string>Firefox</string>
<key>name</key>
<string>%NAME%</string>
<key>unattended_install</key>
<true/>
</dict>
</dict>
<key>MinimumVersion</key>
<string>2.3</string>
<key>ParentRecipe</key>
<string>com.github.solutiogruppen.download.Firefox</string>
<key>Process</key>
<array>
<dict>
<key>Arguments</key>
<dict>
<key>pkg_path</key>
<string>%pathname%</string>
<key>repo_subdirectory</key>
<string>%MUNKI_REPO_SUBDIR%</string>
</dict>
<key>Processor</key>
<string>MunkiImporter</string>
</dict>
</array>
</dict>
</plist>
+28
View File
@@ -0,0 +1,28 @@
<?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>Comment</key>
<string>Created with Recipe Robot v2.3.1 (https://github.com/homebysix/recipe-robot)</string>
<key>Description</key>
<string>Downloads the latest version of Firefox and creates a package.</string>
<key>Identifier</key>
<string>com.github.solutiogruppen.pkg.Firefox</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>Firefox</string>
</dict>
<key>MinimumVersion</key>
<string>2.3</string>
<key>ParentRecipe</key>
<string>com.github.solutiogruppen.download.Firefox</string>
<key>Process</key>
<array>
<dict>
<key>Processor</key>
<string>AppPkgCreator</string>
</dict>
</array>
</dict>
</plist>
Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

@@ -3,7 +3,7 @@
<plist version="1.0"> <plist version="1.0">
<dict> <dict>
<key>Comment</key> <key>Comment</key>
<string>Created with Recipe Robot v2.2.0 (https://github.com/homebysix/recipe-robot)</string> <string>Created with Recipe Robot v2.3.1 (https://github.com/homebysix/recipe-robot)</string>
<key>Description</key> <key>Description</key>
<string>Downloads the latest version of Nextcloud.</string> <string>Downloads the latest version of Nextcloud.</string>
<key>Identifier</key> <key>Identifier</key>
@@ -14,7 +14,7 @@
<string>Nextcloud</string> <string>Nextcloud</string>
</dict> </dict>
<key>MinimumVersion</key> <key>MinimumVersion</key>
<string>1.0.0</string> <string>2.3</string>
<key>Process</key> <key>Process</key>
<array> <array>
<dict> <dict>
@@ -64,7 +64,7 @@
<string>Apple Root CA</string> <string>Apple Root CA</string>
</array> </array>
<key>input_path</key> <key>input_path</key>
<string>%RECIPE_CACHE_DIR%/%NAME%/var/folders/yr/9dx0mtfj7kdf4725tmcz6md80000gp/T/macos-17174-install/arm/Nextcloud-qt5.15.4-3.9.3.17174git.pkg</string> <string>%RECIPE_CACHE_DIR%/%NAME%/var/folders/yr/9dx0mtfj7kdf4725tmcz6md80000gp/T/macos-18409-install/arm/Nextcloud-qt5.15.4-3.10.1.18409git.pkg</string>
</dict> </dict>
<key>Processor</key> <key>Processor</key>
<string>CodeSignatureVerifier</string> <string>CodeSignatureVerifier</string>
@@ -75,7 +75,7 @@
<key>destination_path</key> <key>destination_path</key>
<string>%RECIPE_CACHE_DIR%/unpack</string> <string>%RECIPE_CACHE_DIR%/unpack</string>
<key>flat_pkg_path</key> <key>flat_pkg_path</key>
<string>%RECIPE_CACHE_DIR%/%NAME%/var/folders/yr/9dx0mtfj7kdf4725tmcz6md80000gp/T/macos-17174-install/arm/Nextcloud-qt5.15.4-3.9.3.17174git.pkg</string> <string>%RECIPE_CACHE_DIR%/%NAME%/var/folders/yr/9dx0mtfj7kdf4725tmcz6md80000gp/T/macos-18409-install/arm/Nextcloud-qt5.15.4-3.10.1.18409git.pkg</string>
<key>purge_destination</key> <key>purge_destination</key>
<true/> <true/>
</dict> </dict>
@@ -3,7 +3,7 @@
<plist version="1.0"> <plist version="1.0">
<dict> <dict>
<key>Comment</key> <key>Comment</key>
<string>Created with Recipe Robot v2.2.0 (https://github.com/homebysix/recipe-robot)</string> <string>Created with Recipe Robot v2.3.1 (https://github.com/homebysix/recipe-robot)</string>
<key>Description</key> <key>Description</key>
<string>Installs the latest version of Nextcloud.</string> <string>Installs the latest version of Nextcloud.</string>
<key>Identifier</key> <key>Identifier</key>
@@ -14,7 +14,7 @@
<string>Nextcloud</string> <string>Nextcloud</string>
</dict> </dict>
<key>MinimumVersion</key> <key>MinimumVersion</key>
<string>1.0.0</string> <string>2.3</string>
<key>ParentRecipe</key> <key>ParentRecipe</key>
<string>com.github.solutiogruppen.download.Nextcloud</string> <string>com.github.solutiogruppen.download.Nextcloud</string>
<key>Process</key> <key>Process</key>
@@ -41,7 +41,7 @@
<key>destination_path</key> <key>destination_path</key>
<string>/Applications</string> <string>/Applications</string>
<key>source_item</key> <key>source_item</key>
<string>var/folders/yr/9dx0mtfj7kdf4725tmcz6md80000gp/T/macos-17174-install/arm/Nextcloud.app</string> <string>var/folders/yr/9dx0mtfj7kdf4725tmcz6md80000gp/T/macos-18409-install/arm/Nextcloud.app</string>
</dict> </dict>
</array> </array>
</dict> </dict>
@@ -3,7 +3,7 @@
<plist version="1.0"> <plist version="1.0">
<dict> <dict>
<key>Comment</key> <key>Comment</key>
<string>Created with Recipe Robot v2.2.0 (https://github.com/homebysix/recipe-robot)</string> <string>Created with Recipe Robot v2.3.1 (https://github.com/homebysix/recipe-robot)</string>
<key>Description</key> <key>Description</key>
<string>Downloads the latest version of Nextcloud and imports it into Munki.</string> <string>Downloads the latest version of Nextcloud and imports it into Munki.</string>
<key>Identifier</key> <key>Identifier</key>
@@ -37,7 +37,7 @@
</dict> </dict>
</dict> </dict>
<key>MinimumVersion</key> <key>MinimumVersion</key>
<string>1.0.0</string> <string>2.3</string>
<key>ParentRecipe</key> <key>ParentRecipe</key>
<string>com.github.solutiogruppen.download.Nextcloud</string> <string>com.github.solutiogruppen.download.Nextcloud</string>
<key>Process</key> <key>Process</key>
@@ -3,7 +3,7 @@
<plist version="1.0"> <plist version="1.0">
<dict> <dict>
<key>Comment</key> <key>Comment</key>
<string>Created with Recipe Robot v2.2.0 (https://github.com/homebysix/recipe-robot)</string> <string>Created with Recipe Robot v2.3.1 (https://github.com/homebysix/recipe-robot)</string>
<key>Description</key> <key>Description</key>
<string>Downloads the latest version of Nextcloud and creates a package.</string> <string>Downloads the latest version of Nextcloud and creates a package.</string>
<key>Identifier</key> <key>Identifier</key>
@@ -14,7 +14,7 @@
<string>Nextcloud</string> <string>Nextcloud</string>
</dict> </dict>
<key>MinimumVersion</key> <key>MinimumVersion</key>
<string>1.0.0</string> <string>2.3</string>
<key>ParentRecipe</key> <key>ParentRecipe</key>
<string>com.github.solutiogruppen.download.Nextcloud</string> <string>com.github.solutiogruppen.download.Nextcloud</string>
<key>Process</key> <key>Process</key>
@@ -23,7 +23,7 @@
<key>Arguments</key> <key>Arguments</key>
<dict> <dict>
<key>app_path</key> <key>app_path</key>
<string>%RECIPE_CACHE_DIR%/%NAME%/var/folders/yr/9dx0mtfj7kdf4725tmcz6md80000gp/T/macos-17174-install/arm/Nextcloud.app</string> <string>%RECIPE_CACHE_DIR%/%NAME%/var/folders/yr/9dx0mtfj7kdf4725tmcz6md80000gp/T/macos-18409-install/arm/Nextcloud.app</string>
</dict> </dict>
<key>Processor</key> <key>Processor</key>
<string>AppPkgCreator</string> <string>AppPkgCreator</string>
Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB