(no commit message)
authorhttp://petefoth.myopenid.com/ <http://petefoth.myopenid.com/@web>
Wed, 30 Nov 2011 09:38:03 +0000 (04:38 -0500)
committerwww-data <www-data@project-moonshot.org>
Wed, 30 Nov 2011 09:38:03 +0000 (04:38 -0500)
building_client_software_for_mac_os.mdwn

index e6273c6..9e4b0c7 100644 (file)
@@ -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
+
+