From: Todd C. Miller Date: Fri, 10 Feb 2012 17:50:15 +0000 (-0500) Subject: Add Mac OS X support, printing the latest chunk of the NEWS file X-Git-Tag: SUDO_1_8_4~6^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ef7dcd519700ba20dfddcdfd69466502112a72e8;p=sudo Add Mac OS X support, printing the latest chunk of the NEWS file and the license text in the installer. --- diff --git a/sudo.pp b/sudo.pp index 9dc4a69ba..2dc508157 100644 --- a/sudo.pp +++ b/sudo.pp @@ -188,6 +188,13 @@ still allow people to get their work done." done osdirs=`echo $osdirs | tr " " "\n" | sort -u` +%if [macos] + pp_macos_bundle_id=ws.sudo.pkg.sudo + pp_macos_pkg_license=doc/LICENSE + pp_macos_pkg_readme=${pp_wrkdir}/ReadMe.txt + perl -pe 'last if (/^What/i && $seen++)' NEWS > ${pp_wrkdir}/ReadMe.txt +%endif + %files $osdirs - $bindir/sudo 4111 root: