Commit Graph

272 Commits

Author SHA1 Message Date
Greg Neagle
029bb5ab46 Remove scripts and resources for building and installing Python framework 2025-10-06 14:41:33 -07:00
Greg Neagle
c4674968d5 Update build_swift_munki.sh script to also build repocheck 2025-10-01 10:34:50 +02:00
Greg Neagle
9c3d199ff3 Update autorun pkg postinstall script (simpler now that supervisor has been removed) 2025-09-18 16:11:26 -07:00
Greg Neagle
67bf008bd9 Restore pre-testing version of make_swift_munki_pkg.sh script 2025-09-15 08:20:56 -07:00
Greg Neagle
cd662dde34 Removing GitHub Actions test script 2025-09-15 08:18:49 -07:00
Greg Neagle
fd017d1824 Move Swift runtime library needed on macOS < 12 to /usr/local/munki/lib (previously installed at /usr/local/lib) 2025-09-11 14:38:51 -07:00
Greg Neagle
b19e9e748e Move 'internal' tools to /usr/local/munki/libexec 2025-09-11 14:21:13 -07:00
Greg Neagle
3fe773fe60 Update build scripts to not attempt to build supervisor 2025-09-10 15:55:52 -07:00
Greg Neagle
5737016794 Temporary test script for testing a GitHub Actions issue 2025-09-06 09:58:27 -07:00
Greg Neagle
11b40025af Temporary change to make_swift_munki_pkg.sh for GitHub actions testing 2025-09-06 07:47:28 -07:00
Greg Neagle
e714582b2f When (re-)signing the command line tools, preserve entitlements on core tools as well as admin tools 2025-09-05 08:16:22 -07:00
Greg Neagle
46b487fe61 Another attempt to preserve the com.apple.security.cs.disable-library-validation entitlement when (re-)signing 2025-09-04 17:37:00 -07:00
Greg Neagle
e6220a779b Attempt to preserve entitlements when signing the command-line tools 2025-09-04 12:00:22 -07:00
Greg Neagle
bf892e2035 Attempt to sign app Content/Frameworks only if that dir exists 2025-09-04 10:26:53 -07:00
Elliot Jordan
41e6d38cc5 Spelling fixes for Munki 7 branch (#1263)
* Fix SidebarViewController.swift file name

* Fix spelling in comments

* Fix spelling in strings and output

* Fix spelling in variables and key names

* One more pass at spelling fixes
2025-08-27 12:27:12 -07:00
Greg Neagle
d92e30f7ef make_swift_munki_pkg.sh: Fix version calculation for python libs package 2025-08-26 09:38:39 -07:00
Greg Neagle
c23962614e Address crashing issues for command-line tools on macOS 10.15 (and hopefully macOS 11) with a package that installs the Swift concurrency dylib on those OSes 2025-08-23 19:56:25 -07:00
Greg Neagle
9cf373d889 Add SVN magic number to build number for MWA2API Repo plugin pkg version 2025-05-27 08:27:09 -07:00
Greg Neagle
153ceb9fb1 Script to build and package the MWA2APIRepo plugin 2025-05-19 22:13:04 -07:00
Greg Neagle
04b2ccb7c3 Update version.swift and make_swift_munki_pkg.sh so that build number is in the command-line tools version output 2025-05-19 13:16:54 -07:00
Greg Neagle
b82d0111d8 Fix for version generation for Python libs (munkilib) pkg 2025-05-05 14:18:06 -07:00
Greg Neagle
199b3babeb update make_swift_munki_pkg.sh to be able to include a component pkg with the python libraries (munkilib) 2025-04-30 15:56:11 -07:00
Greg Neagle
ba2357f550 add installhelper to list of tools that are built 2025-04-30 15:04:13 -07:00
Greg Neagle
b4b7d7f2fb update build scripts for supervisor binary 2025-04-28 13:41:05 -07:00
Greg Neagle
5dd1608031 Some build script updates 2025-04-28 10:14:15 -07:00
Greg Neagle
cc53e46c84 Rewrite autorun pkg postinstall script in sh because Pythom modules will not be available 2025-04-28 09:57:01 -07:00
Greg Neagle
8ea37eaf7b build_swift_munki.sh: more robust location of munki.xcodeproj 2025-04-27 08:30:04 -07:00
Greg Neagle
2de54138b2 Update build_swift_munki.sh to build manifestutil 2025-04-26 19:54:38 -07:00
Greg Neagle
aeacb51183 New location for build artifacts from build_swift_munki.sh 2025-04-13 16:11:57 -07:00
Greg Neagle
c666725a7d Update build_swift_munki.sh script to ensure Universal binaries are built 2025-03-30 10:37:56 -07:00
Greg Neagle
2b1fba27f9 Update build script to also build logouthelper 2025-01-07 13:27:35 -08:00
Greg Neagle
25505f868a Update build_swift_munki.sh script to build authrestartd 2025-01-06 14:38:41 -08:00
Greg Neagle
d100df9230 build_swift_munki.sh now builds with the 'Release' configuration 2025-01-04 08:10:23 -08:00
Greg Neagle
c626a2e08a Modify build_swift_munki to build all tools in a loop 2025-01-04 08:01:41 -08:00
Nate Walck
a2846f26a8 Add build script scaffold for swift munki (#1234) 2025-01-04 07:50:00 -08:00
Rob Renstrom
cc7252d0dc Update make_munki_mpkg.sh (#1223)
norestart for launchd component package
2024-07-18 10:22:51 -07:00
macmule
d746c046cb Changes made to installhelper and make_munki_pkg.sh (#1216)
* Update installhelper

• Amended the user bootout and bootstrap commands to not be ran via `launchctl asuser`

* Update MainMenu.xib

• Centered the MunkiStatus.app window icon
• Changed the icon from AppIcon to NSApplicationIcon (which then allows for changing the icon via NSWorkspace's setIcon)

* Corrections to installhelper

* Update installhelper

---------

Co-authored-by: Greg Neagle <Gregneagle@mac.com>
2024-05-02 08:04:22 -07:00
macmule
dc2725e4e7 Relocate MunkiStatus.app and Munki-notifier.app to ../Contents/Helpers/ from ../Contents/Resources/ - Munki6dev base (#1207)
* Relocate MunkiStatus.app and Munki-notifier.app to ../Contents/Helpers/ from ../Contents/Resources/

- Updated location of munki-notifier in code/apps/Managed Software Center/Managed Software Center/Controllers/MainWindowController.swift
- Added code/client/installhelper script
- Amended code/tools/make_munki_mpkg.sh with new locations for munki-notifier and MunkiStatus as well as changes required to leverage `installhelper`
- Amended code/tools/pkgresources/Scripts_app_usage/postinstall to leverage `installhelper`
- Deleted code/tools/pkgresources/Scripts_app_usage/preinstall as the actions within should be handled now by `installhelper`
- Amended code/tools/pkgresources/Scripts_launchd/postinstall to leverage `installhelper`
- Amended launchd/LaunchAgents/com.googlecode.munki.munki-notifier.plist to use the new path to munki-notifier.app
- Amended launchd/LaunchAgents/com.googlecode.munki.MunkiStatus.plist to use the new path to MunkiStatus.app

This is a resubmission of https://github.com/munki/munki/pull/1203, which needed it's base branch changing from `main` to `Munki6dev`

* Update installhelper

 - Removed CHECK_TIME global - 374fbaf922 (r1515000516)
- Remove erroneous login window comments - 374fbaf922 (r1515006835) and 374fbaf922 (r1515006962)
- Simplified IF condition - 374fbaf922 (r1515005565) this was in place incase LimitLoadToSessionType contained multiple values (as it can).

* Update installhelper

- Reverted changes made for - 374fbaf922 (r1515005565)
- Changed constant/global PASSED_ARG to local: launchd_group - https://github.com/munki/munki/pull/1207#discussion_r1515002646 and https://github.com/munki/munki/pull/1207#discussion_r1515002968

* Update installhelper

* Update installhelper

* Update installhelper

* Update installhelper

* Update make_munki_mpkg.sh

Amended so that the launchd pkg is installed by default
2024-03-26 11:04:26 -07:00
Greg Neagle
bf91a80072 Modernize launchctl syntax for launchd pkg postinstall; load authrestartd daemon 2024-03-03 19:47:56 -08:00
Greg Neagle
47992f885b Switch app_usage pkg scripts to /bin/sh from /bin/bash 2024-02-28 10:25:11 -08:00
Greg Neagle
0954498f5d Tweak what process we're looking for to identify currently logged in users 2024-02-27 11:11:30 -08:00
Greg Neagle
15de9eea80 Modernize launchctl commands in app_usage pkg pre- and postinstall scripts. (Dropping support for pre-macOS 10.10) 2024-02-27 10:11:06 -08:00
Greg Neagle
9e541a8e1a Update Python build script and packaging bits to support Python 3.12; update Python requirements 2024-02-23 11:18:58 -08:00
Greg Neagle
36769cdbbc Revert "Change all shebangs in prep for Python 3.12 (where symlinks to the Python executable are broken)"
This reverts commit fdec07b615.
2024-02-23 10:49:00 -08:00
Greg Neagle
df25ade13a Change where munki-python symlink points for compatibility with Python 3.12 framework (and possiblt Python 3.11) 2024-02-23 09:35:26 -08:00
Greg Neagle
fdec07b615 Change all shebangs in prep for Python 3.12 (where symlinks to the Python executable are broken) 2024-02-23 09:05:16 -08:00
Greg Neagle
35d24d11e9 Address minor output issue when building a Munki pkg 2023-12-05 09:37:29 -08:00
Greg Neagle
1025673bae Ensure dist pkg declares a minimum os version of 10.13 2023-11-22 12:42:31 -08:00
Greg Neagle
268171ae19 Adjust Python pkg scripts to work properly when package is installed to a volume other than the boot volume. 2023-07-05 09:02:15 -07:00
Greg Neagle
5f64d7941a Bump Python to 3.10.11. Bump PyObjC to 9.1.1. 2023-06-07 16:46:45 -07:00