Add a background image for the macOS installer.

This commit is contained in:
Todd C. Miller
2021-11-19 12:26:31 -07:00
parent 7b0b186994
commit 7baee707b0
6 changed files with 9 additions and 1 deletions

View File

@@ -71,6 +71,7 @@ etc/codespell.skip
etc/init.d/aix.sh.in
etc/init.d/hpux.sh.in
etc/init.d/sudo.conf.in
etc/macos-background.png
etc/sudo-logsrvd.pp
etc/sudo-python.pp
etc/sudo.pp

View File

@@ -384,6 +384,7 @@ package: @PPFILES@
$(MAKE) install INSTALL_OWNER= DESTDIR=$$DESTDIR && \
for p in @PPFILES@; do \
$(SHELL) $(scriptdir)/pp $(PPFLAGS) --destdir=$$DESTDIR $$p \
srcdir=$(top_srcdir) \
prefix=$(prefix) \
bindir=$(bindir) \
sbindir=$(sbindir) \

BIN
etc/macos-background.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View File

@@ -141,10 +141,12 @@ This makes it possible to have all sudo I/O logs on a central server."
%endif
%if [macos]
pp_macos_pkg_type=flat
pp_macos_bundle_id=ws.sudo.pkg.sudo-logsrvd
pp_macos_pkg_background=${srcdir}/etc/macos-background.png
pp_macos_pkg_background_dark=${srcdir}/etc/macos-background.png
pp_macos_pkg_license=${pp_destdir}$docdir/LICENSE
pp_macos_pkg_readme=${pp_wrkdir}/ReadMe.txt
pp_macos_pkg_type=flat
perl -pe 'last if (/^What/i && $seen++)' ${pp_destdir}$docdir/NEWS > ${pp_wrkdir}/ReadMe.txt
%endif

View File

@@ -99,6 +99,8 @@
%if [macos]
pp_macos_pkg_type=flat
pp_macos_bundle_id=ws.sudo.pkg.sudo-python
pp_macos_pkg_background=${srcdir}/etc/macos-background.png
pp_macos_pkg_background_dark=${srcdir}/etc/macos-background.png
pp_macos_pkg_license=${pp_destdir}$docdir/LICENSE
pp_macos_pkg_readme=${pp_wrkdir}/ReadMe.txt
perl -pe 'last if (/^What/i && $seen++)' ${pp_destdir}$docdir/NEWS > ${pp_wrkdir}/ReadMe.txt

View File

@@ -300,6 +300,8 @@ still allow people to get their work done."
%if [macos]
pp_macos_pkg_type=flat
pp_macos_bundle_id=ws.sudo.pkg.sudo
pp_macos_pkg_background=${srcdir}/etc/macos-background.png
pp_macos_pkg_background_dark=${srcdir}/etc/macos-background.png
pp_macos_pkg_license=${pp_destdir}$docdir/LICENSE
pp_macos_pkg_readme=${pp_wrkdir}/ReadMe.txt
perl -pe 'last if (/^What/i && $seen++)' ${pp_destdir}$docdir/NEWS > ${pp_wrkdir}/ReadMe.txt