From 4d7f85b28547fa86ca38b4177d25d1a2570d4f94 Mon Sep 17 00:00:00 2001 From: "http://petefoth.myopenid.com/" Date: Wed, 30 Nov 2011 04:38:03 -0500 Subject: [PATCH] --- building_client_software_for_mac_os.mdwn | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/building_client_software_for_mac_os.mdwn b/building_client_software_for_mac_os.mdwn index e6273c6..9e4b0c7 100644 --- a/building_client_software_for_mac_os.mdwn +++ b/building_client_software_for_mac_os.mdwn @@ -4,6 +4,8 @@ This page contains notes on how to build and install the software necessary to r It also contains instructions for creating an installer package allowing the Moonshot software to be installed on other machines running Mac OS X. +These notes are also in the file mac-client-installer/README.MacOsBuildInstructions + There are three components that need to be built and installed: 1: the Cyrus SASL2 library, along with the SASL GS2 Library which implements the GS2 GSS-API->SASL bridge mechanism. 2: the Moonshot GSS EAP library, implements the EAP mechanism for use by the GSS API. This library depends on having a recent version of Kerberos. Mac OS X ships with Kerberos 5 release 1.7-prerelease which is not recent enough. So. for the installer at least, we will get and build the latest stable release (1.9.2) from [MIT](from http://web.mit.edu/kerberos/dist/index.html). @@ -108,3 +110,23 @@ We only need to install the mech_eap library $ make install DESTDIR=$HOME/moonshot/mac-client-installer/krb The files and directories that are installed are as listed in README.KrbInstalledFiles + +###Building the Moonshot Identity Selector/Manager software +ToDo: Complete this section + +###Make the install package +Ideally we would divide the installer into sub-packages (sasl and krb) within a single meta package. However this seems to be possible only from the packagemaker GUI: there are a number of problems with doing this from the packagemaker command line. We are therefore building a single package, with sasl and krb as choice items within the package. + +Ensure the permissions are correct for the files to be installed + + $ sudo chown -R root:admin krb sasl + $ sudo chmod -R g+w krb sasl + +Build the package + + $ /Developer/usr/bin/packagemaker --doc Moonshot\ Client\ Software.pmdoc \ + --version 0.1 --filter "/.DS_Store" --resources ./resources/ --root-volume-only\ + --domain system --verbose --no-relocate -l "/" --target 10.5 \ + --id ja.net.moonshotClientSoftware --out Moonshot\ Client\ Software.pkg + + -- 2.1.4