Commit Graph

140 Commits

Author SHA1 Message Date
Greg Neagle
b573ee66cb Incorporate 'DEP' functionality into make_munki_mpkg.sh 2020-08-22 11:32:34 -07:00
Greg Neagle
19b5555d7e Add postinstall script to Python pkg that removes older versions from the framework and ensures the python symlink is removed. Addresses #1010" 2020-08-10 10:41:17 -07:00
Greg Neagle
347908b3aa Bump Python version to 3.8.5 2020-08-04 20:42:14 -07:00
Greg Neagle
2a12d3d452 Update munki-python symlink to use Python.framework/Versions/Current/bin/python3 path 2020-07-08 14:49:27 -07:00
Greg Neagle
37e81f8aaf Update Python framework to Python 3.8.3 and PyObjC to 6.2.2 2020-07-08 13:21:08 -07:00
David Aguilar
3bb91cabca munki: rename "/usr/local/munki/python" symlink to "munki-python" (#997)
Avoid masking the system /usr/bin/python by calling our symlink
"munki-python" instead of "python".

Closes #996
2020-07-07 13:58:34 -07:00
Greg Neagle
eadced8bc1 make_munki_mpkg_from_git.sh: change default branch to 'main' 2020-06-15 14:52:43 -07:00
Greg Neagle
f500b68418 Add repoclean to the admin tools pkg 2020-03-25 19:16:36 -07:00
pranavshenoy
7024c7721b adding quotes to avoid build script failure (#965) 2020-01-07 15:31:19 -08:00
Greg Neagle
9ddc5a063a Added python component pkgs to make_munki_mpkg_DEP.sh 2019-12-06 15:24:12 -08:00
Greg Neagle
cc142bec47 make_munki_mpkg.sh now builds the Python.framework if no framework is found -or- the -p option is given.
This helps the make_munki_mpkg_from_git.sh script actually work usefully.
2019-11-19 16:45:12 -08:00
Greg Neagle
8065ab94c3 build_python_framework.sh properly handle paths with spaces when calculating root directory of Munki git repo. Addresses #956 2019-11-03 22:37:00 -08:00
eholtam
61e75f7e49 Updated DEP creation script to allow signing the app and added runtime hardening for notarization support. (#939) 2019-09-04 08:21:59 -07:00
Greg Neagle
330774ddcc Add --options runtime to the signing option for the apps to make notarization easier in the future. 2019-09-04 08:15:28 -07:00
Greg Neagle
df35986f23 New tooling to create the Python 3 framework 2019-08-16 14:32:17 -07:00
Greg Neagle
9bd7a14a18 System python optional component pkg in the distribution pkg 2019-07-25 16:38:06 -07:00
Greg Neagle
ec7424f9b7 Update make_munki_mpkg.sh script to build Python component pkg 2019-07-16 22:16:13 -07:00
Elliot Jordan
2ad27ff411 Align except clauses with PEP 3110 (#933)
This should work for Python 2.6+, including 3.
https://www.python.org/dev/peps/pep-3110/#compatibility-issues
2019-05-03 15:05:13 -07:00
Elliot Jordan
d14c4304ea Various typo fixes and spelling corrections (#907)
* Fixed "No Comment" typo in strings files

* Fix "problem updates" typo

* Fix "caught" typo

* Fix "pseudo" typo

* Fix "instantiated" typo

* Fix "explicitly" typo

* Fix "osascript" typo

* Spelling fixes and various other corrections

* Fix two more instances of "Logput"

* Fixed a few remaining spelling issues in python files

* Fix "because" typo

PR also submitted upstream to the Murky project for the same correction.

* Fix name of associated app

* Additional spelling corrections in comments/docstrings
2019-02-14 08:30:43 -08:00
Greg Neagle
e941952d60 volume-check in pkg distribution files now prevents install on volumes with macOS version < 10.10 2019-01-30 09:01:22 -08:00
Tom Bridge
099451e068 adds line to remove the app status package receipt (#898)
* adds line to remove the app status package receipt

* adds line feed to end of script
2019-01-15 09:02:46 -08:00
Greg Neagle
54721574e9 Update pkg title in Distribution file to mention macOS instead of OS X 2019-01-02 10:45:18 -08:00
Greg Neagle
321383030e Move Swift versions of the apps out to code/apps; move pyobjc versions into code/apps/pyobjc; revise .gitignore files; update make_munki_mpkg scripts 2018-12-04 18:06:59 -08:00
Greg Neagle
bf89fa7d9f Merge branch 'master' into Munki3dev 2018-10-04 09:00:19 +02:00
Greg Neagle
ce5ed7563b fix BOOTSTRAPMODE comparison in make_munki_mpkg_DEP.sh 2018-10-04 08:59:57 +02:00
Greg Neagle
7abfc2cb2f Merge branch 'master' into Munki3dev 2018-09-18 15:30:26 -07:00
Greg Neagle
11ec1535a1 Add option to sign MSC.app (and its subcomponents) 2018-09-18 09:33:33 -07:00
Greg Neagle
0c03c28b05 precaching changes
Added precache_agent and code to run it at the end of a Munki updatecheck. Updated make_munki_mpkg* scripts to include
the new precache_agent in the core package.
2018-07-18 14:21:33 -07:00
Greg Neagle
83b3429fad Fix owner and group for /private/etc/paths.d/munki 2018-05-09 08:18:23 -07:00
Greg Neagle
bd46420907 Properly set ownership for LaunchAgent in app_usage pkg 2018-05-09 06:52:02 -07:00
Greg Neagle
62dd7700fd Refactor app_usage_monitor into user-level agent and privileged daemon. 2018-04-07 19:10:16 -07:00
Greg Neagle
293a707eff Add product id to distribution packages. product id is needed by other tools 2017-11-08 09:15:12 -08:00
Yoann Gini
f0f34d7d44 Add -b option to make_munki_mpkg_DEP.sh script to create a DEP package with munki bootstrap enabled. (#790)
This feature is usefull for deployment where the end user account come from a directory service and the IT want to lock the computer until the system is fully updated.
2017-07-18 08:31:56 -07:00
Greg Neagle
8303f1b99f Fix list of tools in core pkg in make_munki_mpkg_DEP.sh. Fixes #777 2017-05-22 10:13:40 -07:00
Greg Neagle
05bf735ecd Fix broken pkg build scripts; insignificant whitespace change to a file to force a version number bump. 2017-05-16 12:13:04 -07:00
Greg Neagle
3e557a6b75 Since we are no longer creating the symlink in /Applications/Utilities, don't add /Applicstions/Utilities to the payload 2017-05-12 11:01:23 -07:00
Greg Neagle
b65b506b65 Remove executable bit from /private/etc/paths.d/munki 2017-05-12 09:28:12 -07:00
Greg Neagle
51e58f5648 Actually include authrestartd in the munki core pkg (in make_munki_mpkg_DEP.sh as well) 2017-05-04 15:26:15 -07:00
Greg Neagle
6e427ace65 Actually include authrestartd in the munki core pkg 2017-05-04 15:19:20 -07:00
Erik Gomez
7859066b57 Add munki3 logic to make_munki_mpkg_dep.sh (#729)
* remove whitespace on make_munki_mpkg.sh

* add munki3 items to make_munki_mpkg_dep.sh
2017-03-15 14:14:43 -07:00
Greg Neagle
d3801b1071 new launchagent for munki-status, new make_munki_mpkg.sh script 2017-02-26 12:01:43 -08:00
Greg Neagle
f42265d49e New feature: removal of unused software available via optional_installs 2017-02-19 20:25:02 -08:00
Erik Gomez
8d8bd51e44 further clarification of -s option
Signed-off-by: Erik Gomez <e@eriknicolasgomez.com>
2017-02-18 12:12:46 -08:00
Erik Gomez
6baf694ccd Add example for -s option
Signed-off-by: Erik Gomez <e@eriknicolasgomez.com>
2017-02-18 11:57:28 -08:00
Erik Gomez
8b18e676e8 add -s option to package script
Signed-off-by: Erik Gomez <e@eriknicolasgomez.com>
2017-02-18 11:47:15 -08:00
Erik Gomez
fcc7b8a2da add -s option to DEP package script
Signed-off-by: Erik Gomez <e@eriknicolasgomez.com>
2017-02-18 11:47:07 -08:00
Greg Neagle
93323112bb Add launchdaemon for app_usage_monitor; add build of app_usage package to make_munki_mpkg.sh 2017-02-16 09:12:40 -08:00
Greg Neagle
ea46be6d3f Update make_munki_mpkg* scripts to properly stage and package all the needed Python files in munkilib. 2017-01-12 10:23:01 -08:00
Greg Neagle
117df2e837 Update make_munki_mpkg_DEP.sh to add removepackages tool to core pkg 2017-01-11 16:38:35 -08:00
Greg Neagle
1de360ec37 Merge branch 'master' into major-refactor 2017-01-11 16:37:32 -08:00