When importing an item, if munkiimport can't find an existing product icon in the repo, it now offers to attempt to extract one from the current item being imported:
% munkiimport GoogleChrome.dmg
This item is similar to an existing item in the repo:
Item name: GoogleChrome
Display name: Google Chrome
Description: Google's web browser.
Version: 34.0.1847.137
Installer item path: apps/GoogleChrome-34.0.1847.137.dmg
Use existing item as a template? [y/n] y
Copying unattended_install: True
Copying category: Internet
Copying developer: Google
Item name [GoogleChrome]:
Display name [Google Chrome]:
Description [Google's web browser.]:
Version [35.0.1916.114]:
Category [Internet]:
Developer [Google]:
Catalogs [testing]:
Item name: GoogleChrome
Display name: Google Chrome
Description: Google's web browser.
Version: 35.0.1916.114
Category: Internet
Developer: Google
Catalogs: testing
Import this item? [y/n] y
Attempt to create a product icon? [y/n] y
Attempting to extract and upload icon...
Created icon: /Users/Shared/munki_repo/icons/GoogleChrome.png
Copying GoogleChrome.dmg to /Users/Shared/munki_repo/pkgs/apps/GoogleChrome-35.0.1916.114.dmg...
Saving pkginfo to /Users/Shared/munki_repo/pkgsinfo/apps/GoogleChrome-35.0.1916.114.plist...
Rebuild catalogs? [y/n] y
Rebuilding catalogs at /Users/Shared/munki_repo...
2) Tell munkiimport to use some other (pre-existing) file as the product icon, and copy it into place
3) Use munkiimport to create a product icon for an item already in the repo (maybe)?