Greg Neagle
d39cb523b2
Revert to Python 3.9.13 since there is no macOS package download for 3.9.14.
2022-10-05 16:46:05 -07:00
Greg Neagle
3db57a287c
Bump Python version to 3.9.14.
2022-10-05 08:14:42 -07:00
Greg Neagle
a82732dcd7
Remove standalone adminopen tool; embed it in the Python so it's not easily available for mischief
2022-08-29 20:56:11 -07:00
Greg Neagle
b6be68b1e9
Add adminopen to core pkg
2022-08-25 15:44:18 -07:00
eholtam
701f6bcbb3
Update make_munki_mpkg_from_git flags to match the changes in make_muinki_mpkg.sh. ( #1144 )
...
Authored-by: eholtam <(none)>
2022-06-16 11:56:24 -07:00
Greg Neagle
60cfd69bb7
Build a Python 3.9.13 framework instead of 3.10.x to avoid issue #1136
2022-05-20 09:00:56 -07:00
Greg Neagle
84f3c6f3fe
Reduce included PyObjC modules to reduce build time, installation size, and maintenance tasks
2022-05-10 13:34:27 -07:00
Greg Neagle
8a2f4d191b
update the list of PyObjC modules to be a superset of what is part of the 5.6.4 release
2022-05-04 16:08:04 -07:00
Greg Neagle
01568e15d2
Bump PyObjC version to 8.5; don't attempt to build pyobjc-framework-ScreenCaptureKit (not needed by Munki; errors on attempt)
2022-05-04 14:33:29 -07:00
Greg Neagle
878484e81b
Restore restart postinstall-action for 'standalone' launchd pkg
2022-05-03 09:15:46 -07:00
Greg Neagle
bf78ccd971
Update pkg build script to build a single package that should work for both MDM-style and most non-MDM scenarios
2022-05-02 21:24:05 -07:00
Greg Neagle
876060448b
Update Munki uninstall script to reflect current install
2022-05-02 21:16:16 -07:00
Greg Neagle
1c19f97928
Update Python cleanup script to remove version 3.9 from the framework if it's still there
2022-04-28 19:12:33 -07:00
Greg Neagle
f323f12174
make_munki_mpkg.sh: Add support for triggering a managedsoftwareupdate --auto run immediately after install
2022-04-28 19:11:25 -07:00
Greg Neagle
2c614e972e
Bump Python version to 3.10.4 and PyObjC to 8.2
2022-04-06 09:41:45 -07:00
Greg Neagle
f6a49175c7
Change PyObjC version to 7.2 to deal with issue #1115
2021-10-27 16:55:24 -07:00
Greg Neagle
acfbe8ea3f
Change package directory structure creation methods to not trigger CrowdStrike :-(
2021-10-04 11:00:56 -07:00
Greg Neagle
87365bef62
Bump Python version to 3.9.7; bump PyObjC to 7.3
2021-09-08 14:23:40 -07:00
macmule
e8ccc5f53e
Update build_python_framework.sh ( #1096 )
...
Corrects the Python.framework path, and end of the script.
Before:
```
Verifying Universal2 builds...
182 libraries (*.so and *.dylib) found in the framework; only 90 are universal!
The following libraries are not universal:
find: Python.framework: No such file or directory
```
After:
```
Verifying Universal2 builds...
182 libraries (*.so and *.dylib) found in the framework; only 90 are universal!
The following libraries are not universal:
/Users/ben/Git/munki/Python.framework/Versions/3.9/lib/python3.9/site-packages/StoreKit/_StoreKit.abi3.so: Mach-O 64-bit bundle x86_64
</snip>
```
2021-06-17 10:25:43 -07:00
Greg Neagle
75010e835c
Bump Python version to 3.9.5
2021-05-24 15:36:32 -07:00
rrenstrom
56a1dd0cee
Add support for client cert package ( #1091 )
...
* Build script flag to include client cert
Adds -T flag to make_munki_pkg build scripts to include a component package containing a client certificate for server mTLS
* define no script for certain component packages
In make_munki_mpkg.sh add SCRIPTS="" to clientcert"), "bootstrap") and "config") cases for pkgbuild, so no script is included in these component packages.
2021-05-14 14:25:02 -07:00
Greg Neagle
b4190710c2
Add asn1crypto to py3_requirements.txt to support new client cert functionality
2021-05-11 15:01:50 -07:00
Greg Neagle
43eb5405df
Bump PyObjC version to 7.1; sadly need to compile from source since the wheels are x86_64 only
2021-04-12 08:38:06 -07:00
Greg Neagle
7d53d176b0
Update Python version to 3.9.4
2021-04-09 15:21:05 -07:00
Greg Neagle
7f554f5bfb
Bump Python version to 3.9.2
2021-03-02 08:28:22 -08:00
Greg Neagle
165e3e79a2
Merge branch 'main' into universal2
2021-02-12 13:37:18 -08:00
Greg Neagle
0620b2330c
Fix typos in help text for make_munki_mpkg.sh and make_munki_mpkg_from_git.sh
2021-02-12 13:36:30 -08:00
Greg Neagle
d48a622e34
No longer include a no_python component package in the generated distribution package
2021-02-04 08:10:03 -08:00
Greg Neagle
5096c0a209
Merge branch 'main' into universal2
2021-01-19 09:47:03 -08:00
Greg Neagle
053e3eac9e
Update pkg pre and postinstall scripts to use os version comparision compatible with Big Sur
2021-01-19 09:46:18 -08:00
Greg Neagle
778d01f5ab
build_python_framework.sh: print any libraries found inside the generated Python framework that are not universal
2021-01-06 08:51:21 -08:00
Greg Neagle
a2fde07886
update build script and requirements for universal Python3
2020-12-11 16:31:31 -08:00
Greg Neagle
518dbade54
Pin xattr, pyobjc and six versions in pip requirements file
2020-12-08 10:02:37 -08:00
Greg Neagle
72dc2a652f
Update build_python_framework.sh to build from 3.9.1 release
2020-12-08 10:01:51 -08:00
dhmoore
4c5485d6af
= instead of == for POSIX sh compliance ( #1063 )
2020-12-07 10:53:38 -08:00
dhmoore
e8732e0924
= instead of == for POSIX sh compliance ( #1063 )
2020-12-07 10:48:21 -08:00
Greg Neagle
3d92ba59ba
For Universal2 builds, declare arm64 support in the installer pkg
2020-12-02 07:57:57 -08:00
Greg Neagle
e724297686
Ad-hoc code signing of Python framework so it will work on Apple Silicon
2020-11-30 13:59:30 -08:00
Greg Neagle
0ae0d5c609
Changes for Universal2 builds including Python 3.9.1rc1 and PyObjC 7.0
2020-11-29 16:18:29 -08:00
Greg Neagle
d9520b8af6
Do not attempt to install Rosetta2 if we're not installing to the current startup disk
2020-11-24 09:11:39 -08:00
Greg Neagle
fcf6e8c7a8
Explictly set hostArchitectures in the Distribution only if -R (Rosetta) option is given; leave undefined (and default) otherwise
2020-11-18 14:46:26 -08:00
eholtam
5fd7f00885
Add rosetta2 option to build script ( #1056 )
...
* Added option for Rosetta2 install for ARM hardware.
* Add hostArchitectures option to Distribution for arm64 support
* Removed file based arm64 arch addition attempt to Distribution
* Adjusted hostArchitecture to be a variable, adding arm64 only if Rosetta is included
Co-authored-by: eholtam <(none)>
2020-11-18 14:07:55 -08:00
Greg Neagle
5da152bd76
Change volume-check in mpkg distribution so minimum OS version is 10.11.
2020-11-17 16:57:39 -08:00
Greg Neagle
32267f4285
Fix lack of newline at end of code/tools/py3_requirements.txt
2020-11-07 11:28:27 -08:00
Greg Neagle
645a7cdb91
Error output tweak
2020-10-22 13:24:10 -07:00
thefuzzyjew
0576697cf4
Differentiate between version.plist not existing and being unreadable ( #1035 )
...
* Differentiate between version.plist not existing and being unreadable
* change $versionfile to ${versionfile}.plist for clarity
2020-10-22 13:21:51 -07:00
Greg Neagle
2cbc98df7e
Merge branch 'Munki5dev' into new-msc-design
2020-09-16 14:46:29 -07:00
Graham Gilbert
401f521f48
Add cleanup scripts ( #1025 )
...
* Run cleanup scripts if they're there
* Cleanup script, add to build script
* okay
* I'm all shelled out
* Comment for future greg
2020-09-16 14:05:08 -07:00
Greg Neagle
c27fd3c07f
Logic change to get the Python revision number to increment 'better'
2020-09-15 17:08:33 -07:00
Greg Neagle
e1b5d505bc
Revert "Revert "munki: rename "/usr/local/munki/python" symlink to "munki-python" ( #997 )""
...
IOW, restore the rename of "/usr/local/munki/python" symlink to "munki-python" (#997 )
This reverts commit b9f9fffccc .
2020-09-15 16:46:34 -07:00