Download


Requirements

Auto Munki Importer requires the following items (please see the Install section for installing, and the Configuration section for configuring these requirements):-

  • Mac OS X (tested on 10.7.x, but should work on most versions of OS X)
  • Munki Admin Tools (tested with 0.8.3.1564 to 0.8.3.1651, but should work with earlier versions)
  • Xcode Command Line Tools
    • Can be installed from within Xcode (dowloaded for either the App Store or the Developer Site), or
    • As a separate download from Apple's Developer Site.
  • Third Party Perl Modules
    • Date::Parse
    • Mail::Mailer
    • URI::Escape
    • URI::URL
    • WWW:Mechanize

Version History

  • v0.4.0 (2016-01-30):
    • Maintenance Release
    • Added support for Mac OS X 10.10 and 10.11
    • Added ability to set cookies (with thanks to Github user seraphimalia)
    • Announced end of support for this project, and recommendation for people to use AutoPkg instead
  • v0.3.0 (2012-11-21):
    • Initial Public Release
    • Added support for Git, including checking in a new pkginfos, and also pulling and pushing to remote repos
    • Improved verification of download types to first try the basename of the URL, and if that fails, try the last query paramater
    • Made --data /path/to/data[.plist] optional, by setting the default to /Library/​Application Support/​autoMunkiImporter/
    • Added option to install the required perl modules, automating the process.
    • Significant changes to how output from the script (and the associated logging) is handled.
      • Support for different type of log message (normal, warning, and error)
      • Support for different levels of logging (silent (--silent), normal (default), verbose (--verbose), and debug (--verbose --verbose))
      • Provided the default log file location within the script (/Library/​Logs/​autoMunkiImporter/​autoMunkiImporter.log) which can be overridden via default settings plist)
    • v0.2.0 (2012-08-17 - Private Release):
      • Vasty improve settings handling, including moving most settings to their own settings file which can be provided by the command line --settings /path/to/settings.plist otherwise the default /Library/​Application Support/​autoMunkiImporter/​_DefaultConfig.plist is used.
        • This change also fixes issues where settings would not be reset between data plists when processing a directory, while still allowing for overriding settings in the data plists where appropriate.
      • Detect redirect loops and bail if present.
      • Ensure download is in a supported format before downloading it, and improve the verification.
      • Track the status and history of imports and import attempts within the data plist, and a global status plist at /Library/​Logs/​autoMunkiImporter/​autoMunkiImporterStatus.plist
      • Track modification dates as dates, not strings
    • v0.1.0 (2012-07-31 - Private Release): Initial version

Licences

Auto Munki Importer uses the perlplist.pl library, that contains copyrighted code from James Reynolds, and the University of Utah. The full licence text is available within the perlplist.pl file which is located at /usr/local/autoMunkiImporter/perlplist.pl.

Auto Munki Importer is licensed under the BSD 3-Clause Licence. The full licence appears below:-

Copyright (c) 2012, Adam Reed
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  • Neither the name of "Adam Reed" nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.