Changes in EPM 5.1.1
- macOS: packages are now product archives built with
productbuildfrom one component per%subpackage. Installer shows the%license,%readmeand%descriptionof the list file, which thepkgbuild-only package dropped, and offers each subpackage as an install choice. The package identifier can be set withEPM_MACOS_IDENTIFIER, usually from the list file, instead of always being the product name - macOS: a build that is not run as root no longer bakes the builder's uid into the payload;
pkgbuild --ownership recommendedis used instead, with a warning that the list file's owners are not applied - macOS: application bundles in the payload are pinned to their list-file path (
BundleIsRelocatableoff) instead of being relocated to any older copy Spotlight knows about - macOS:
ientries also install a launchd job that runs the StartupItem script at boot on releases without SystemStarter (10.10 and later); the StartupItem itself is unchanged for older releases - macOS: new
macos-appformat builds a drag-install disk image holding the application bundles, an/Applicationslink and the%licenseas a license agreement shown before mounting - macOS: disk images are created as HFS+ with the product name as the volume name, so they mount on releases before APFS
- macOS:
macos-signedverifies the package signature withpkgutil, notarizes and staples the package before it goes into the disk image, and reports a rejected notarization with the notary log instead of failing at stapling.EPM_APPLICATION_IDENTITY=-(ad-hoc) now completes a local build without asking for a timestamp or signing the package and image, and a missingEPM_APPLICATION_IDENTITYis warned about - macOS: a list file entry can name its own entitlements with
entitlements(file);EPM_SIGNING_HARDENED_RUNTIME=noturns the hardened runtime off for local builds;.plugin,.xpc,.appex,.mdimporter,.qlgenerator,.prefPaneand.saverbundles are now sealed as bundles - CI: the build and test suite also run on a macOS runner
- macOS:
macos-signednow signs bundles inside-out. Every Mach-O file found inside a.app,.frameworkor.bundleis signed individually before the nested bundles and finally the enclosing bundle are sealed, and each bundle's main executable is left to be signed with its bundle. A singlecodesigncall on the bundle previously left any Mach-O outsideContents/MacOSwith only the linker's ad-hoc signature, which the notary service rejects - macOS: entitlements from
EPM_SIGNING_ENTITLEMENTSare now applied only to executables (by Mach-O header filetype) and application bundles, no longer to libraries, frameworks and plug-ins - macOS: new
EPM_SIGNING_KEYCHAINenvironment variable passes--keychaintocodesignandpkgbuild, for build keychains that are not on the search list - macOS: extended attributes are stripped before signing, and every signed bundle, file and disk image is checked with
codesign --verify --strict(--deepfor bundles) before the build continues;-vvalso shows thespctlassessment - Product names may now contain dashes and underscores, as Apache OpenOffice needs (#20)
Full Changelog: v5.1.0...v5.1.1