Commit Graph

313 Commits

Author SHA1 Message Date
Greg Neagle 03cd5fd55c Removed --installxml, --uninstallxml and --serialnumber options from makepkginfo since we're no longer supporting CS5 installs that aren't processed with AAMEE.
git-svn-id: http://munki.googlecode.com/svn/trunk@614 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-28 23:57:34 +00:00
Greg Neagle f7595cb979 Added support for installing Adobe CS5 products packaged with AAMEE tool. Removed support for "naked" (unpackaged) CS5 installs.
-appdmg flag to makepkginfo causes it to make old-style appdmg info if appropriate.

git-svn-id: http://munki.googlecode.com/svn/trunk@613 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-28 23:54:38 +00:00
Greg Neagle 7df737f77c in getInstalledPackages, make sure we aren't storing empty version numbers; store "0.0.0.0.0" instead. (distutils.version.LooseVersion throws an exception when given an empty string.)
git-svn-id: http://munki.googlecode.com/svn/trunk@611 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-28 15:55:02 +00:00
Greg Neagle fe1b86e46a Change so SuppressAutoInstall will not suppress a checkandinstallatstartup run.
git-svn-id: http://munki.googlecode.com/svn/trunk@610 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-27 23:18:52 +00:00
Greg Neagle f020f400f1 Cache the paths to downloaded manifests so that we only request them once per managedsoftwareupdate session.
git-svn-id: http://munki.googlecode.com/svn/trunk@609 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-27 18:59:49 +00:00
Greg Neagle 00cb701119 Log when we kill the loginwindow.
git-svn-id: http://munki.googlecode.com/svn/trunk@608 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-27 17:17:19 +00:00
Greg Neagle cd35984e7c Changed checkandinstallatstartup logic to restart the loginwindow if we've performed updates but haven't restarted.
git-svn-id: http://munki.googlecode.com/svn/trunk@607 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-27 17:15:10 +00:00
Greg Neagle bdd0f8e603 Add support for new preferences "SuppressUserNotification" and "SuppressAutoInstall".
SuppressUserNotification prevents munki from notifying a logged-in user of available updates.

SuppressAutoInstall prevents munki from automatically installing when at the loginwindow.

git-svn-id: http://munki.googlecode.com/svn/trunk@606 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-27 16:47:36 +00:00
Greg Neagle 4ca006dc99 Fixed call to copyAppFromDMG() to revert to original behavior.
git-svn-id: http://munki.googlecode.com/svn/trunk@605 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-27 16:06:34 +00:00
Greg Neagle 5bfe5efbe6 Fix for setting mode on items copied from DMG; more detail in log on setting owner/group/mode
git-svn-id: http://munki.googlecode.com/svn/trunk@604 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-26 23:40:07 +00:00
Greg Neagle 83ed22f3af installer.py: new copyFromDMG method that copies an arbitrary list of items from a mounted DMG to specified locations.
New removeCopiedItems method that removes the same list of items from the startup disk.


updatecheck.py: support for new copy_from_dmg and remove_copied_items methods.

makepkginfo: support for making pkginfo with new copy_from_dmg method,

git-svn-id: http://munki.googlecode.com/svn/trunk@603 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-26 23:26:25 +00:00
Greg Neagle c5011e04c5 Undo last revision; do not flag parsed description as text/html.
git-svn-id: http://munki.googlecode.com/svn/trunk@599 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-22 22:31:54 +00:00
Greg Neagle 5bc923e512 Speed up install check by processing all installed packages at once, instead of one at a time. This leverages getInstalledPackages(), which we earlier sped up for processing managed_uninstalls.
git-svn-id: http://munki.googlecode.com/svn/trunk@598 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-22 22:00:51 +00:00
Greg Neagle 8856037809 Flag descriptions parsed from dist files as text/html so we can distinguish them from plain text descriptions.
git-svn-id: http://munki.googlecode.com/svn/trunk@597 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-22 21:58:29 +00:00
Greg Neagle 194f2466a5 Fix so postflight script doesn't get run twice.
git-svn-id: http://munki.googlecode.com/svn/trunk@596 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-21 21:49:25 +00:00
Greg Neagle 5efa8ad816 Fixed version number returned by munkicommon.get_version().
git-svn-id: http://munki.googlecode.com/svn/trunk@595 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-21 20:10:28 +00:00
Greg Neagle db3f6bc41d updatecheck.py -- New approach to importing installed packages - big speedup when processing managed_uninstalls.
New support for optional software installs. 

git-svn-id: http://munki.googlecode.com/svn/trunk@591 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-21 03:10:00 +00:00
Greg Neagle 6d83d3354e removepackages.py: updated copyright info, better exception handling on package/bom import
git-svn-id: http://munki.googlecode.com/svn/trunk@590 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-21 03:07:37 +00:00
Greg Neagle e5913ed103 munkistatus.py: updated copyright info, new socket timeout code; updated for new Managed Software Update.app
git-svn-id: http://munki.googlecode.com/svn/trunk@589 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-21 03:06:19 +00:00
Greg Neagle 2eb399db10 Updated copyright info; removed unused import
git-svn-id: http://munki.googlecode.com/svn/trunk@588 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-21 03:04:42 +00:00
Greg Neagle 99a512341b installer.py: updated copyright info, removed unused import, new message when done copying from disk image.
git-svn-id: http://munki.googlecode.com/svn/trunk@587 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-21 03:04:03 +00:00
Greg Neagle 7fe6e08583 FoundationPlist: updated copyright info
git-svn-id: http://munki.googlecode.com/svn/trunk@586 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-21 03:02:47 +00:00
Greg Neagle f89b44f0c4 appleupdates: updated copyright info; removed unused import
git-svn-id: http://munki.googlecode.com/svn/trunk@585 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-21 03:02:10 +00:00
Greg Neagle 5cf6381db7 Changes to work with new version of Managed Software Update.app
git-svn-id: http://munki.googlecode.com/svn/trunk@584 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-21 03:00:55 +00:00
Greg Neagle 67c7d092db makepkginfo: CS5 changes
git-svn-id: http://munki.googlecode.com/svn/trunk@583 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-21 02:59:44 +00:00
Greg Neagle 60d864cf29 Updated copyright info for makecatalogs
git-svn-id: http://munki.googlecode.com/svn/trunk@582 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-21 02:58:39 +00:00
Greg Neagle cd6cb143f7 Changed launchapp to just pass all additional arguments to /usr/bin/open
git-svn-id: http://munki.googlecode.com/svn/trunk@581 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-21 02:56:47 +00:00
Greg Neagle 7ed8902807 Updated for Photoshop CS5 12.0.1 updater
git-svn-id: http://munki.googlecode.com/svn/trunk@572 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-06 19:00:06 +00:00
Greg Neagle 941a48aae1 Changed the network up check when running at startup.
git-svn-id: http://munki.googlecode.com/svn/trunk@570 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-01 21:46:25 +00:00
Greg Neagle 7f8261ea99 Call recordUpdateCheckResult() when preflight script aborts the managedsoftware update run.
git-svn-id: http://munki.googlecode.com/svn/trunk@559 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-06-22 17:59:30 +00:00
Greg Neagle 819335c316 Bug fix for CS3 removal (modulename carried over from move of code from installer.py to adobeutils.py)
git-svn-id: http://munki.googlecode.com/svn/trunk@553 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-06-21 18:24:47 +00:00
Greg Neagle fa860b71ef More Adobe CS5 support.
git-svn-id: http://munki.googlecode.com/svn/trunk@552 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-06-21 17:42:30 +00:00
Greg Neagle 3f35305a42 More CS5 changes. Now handle the AdobePatchInstaller included with CS5 updates.
git-svn-id: http://munki.googlecode.com/svn/trunk@551 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-06-18 22:24:47 +00:00
Greg Neagle d80f79e4f4 Better error checking when parsing old-style .info files.
git-svn-id: http://munki.googlecode.com/svn/trunk@550 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-06-08 21:08:16 +00:00
Greg Neagle 68f3aaaabb Pre- and postflight script support.
git-svn-id: http://munki.googlecode.com/svn/trunk@549 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-06-08 20:41:55 +00:00
Greg Neagle 479203fecc Fixes an issue where a bad CatalogURL for Apple Software Update would cause an unhandled exception in appleupdates.py.
Better exception handling in managedsoftwareupdate.

git-svn-id: http://munki.googlecode.com/svn/trunk@548 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-06-08 17:25:15 +00:00
Greg Neagle 59a2697a04 Added support for a "postrun" script.
git-svn-id: http://munki.googlecode.com/svn/trunk@547 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-06-03 22:44:36 +00:00
Greg Neagle 3e4e371d68 More changes to better support the really old package format used by the CiscoVPN and Citrix ICA Client packages. Bleh.
git-svn-id: http://munki.googlecode.com/svn/trunk@546 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-06-03 18:28:38 +00:00
Greg Neagle 2ab043af4e Better support for older package formats that are missing Info.plist files.
git-svn-id: http://munki.googlecode.com/svn/trunk@545 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-06-02 23:44:38 +00:00
Greg Neagle afc0f5b6a8 Removed several unused functions.
git-svn-id: http://munki.googlecode.com/svn/trunk@544 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-06-02 22:08:50 +00:00
Greg Neagle 01fabd0bf8 More changes to prep for CS5 deployment.
git-svn-id: http://munki.googlecode.com/svn/trunk@543 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-06-02 22:04:18 +00:00
Greg Neagle 00c1eb8fb6 Removed legacy HTTP code that was replaced by curl.
Added new ManifestException class so we can throw an exception when we retrieve an invalid manifest (plist not valid).

git-svn-id: http://munki.googlecode.com/svn/trunk@542 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-06-02 22:03:18 +00:00
Greg Neagle ccd1635a80 Fix to removepackages.py to properly import pkg data from pkgutil database under Snow Leopard when there are items in /Library/Receipts/boms, presumably left over from Leopard.
git-svn-id: http://munki.googlecode.com/svn/trunk@541 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-06-01 16:47:45 +00:00
Greg Neagle e1237584d3 Changes to how and when Apple Software Update is run.
git-svn-id: http://munki.googlecode.com/svn/trunk@540 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-05-26 17:04:34 +00:00
Greg Neagle cad13c0fd7 Start of changes to support Adobe CS5 deployment.
git-svn-id: http://munki.googlecode.com/svn/trunk@539 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-05-26 17:03:28 +00:00
Greg Neagle cdc0ef777f Added ipconfig waitall for startup runs.
checkandinstallatstartup now does not clear its flag until there's nothing to do; it will run, install and restart until there is nothing to do.

git-svn-id: http://munki.googlecode.com/svn/trunk@538 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-05-25 22:20:45 +00:00
Greg Neagle 5350042f4d Fixes to deal with manifests that list non-existent catalogs
git-svn-id: http://munki.googlecode.com/svn/trunk@537 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-05-18 15:45:18 +00:00
Greg Neagle a6edacfcdd Bumped version number to 0.5.1.
git-svn-id: http://munki.googlecode.com/svn/trunk@533 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-04-28 17:39:38 +00:00
Greg Neagle c493aa363b Fixed problem getting updated primary manifest introduced by r523.
Fixed problem generating list of needed cache items introduced by r523.

git-svn-id: http://munki.googlecode.com/svn/trunk@532 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-04-27 23:04:33 +00:00
Greg Neagle 12f7e81c8a Simplified tasks when munki server is not available.
git-svn-id: http://munki.googlecode.com/svn/trunk@530 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-04-27 19:05:46 +00:00