From 4f1d845f74f627f8e8f815f7786481f56132f12d Mon Sep 17 00:00:00 2001 From: Pete Fotheringham Date: Wed, 30 Nov 2011 18:18:01 +0000 Subject: [PATCH] Mac installer instructions, README and pmdoc files Installer and disk image build successfully --- .../01krb-contents.xml | 1 + .../Moonshot Client Software.pmdoc/01krb.xml | 1 + .../02sasl-contents.xml | 1 + .../Moonshot Client Software.pmdoc/02sasl.xml | 1 + .../Moonshot Client Software.pmdoc/index.xml | 1 + mac-client-installer/README.KrbInstalledFiles | 235 +++++++++++++++++++++ mac-client-installer/README.MacOsBuildInstructions | 163 ++++++++++++++ mac-client-installer/README.saslInstalledFiles | 184 ++++++++++++++++ mac-client-installer/resources/README.GssLibs | 14 ++ mac-client-installer/resources/README.saslPlugins | 15 ++ .../resources/README.saslPlugins.txt | 15 ++ mac-client-installer/resources/readme.txt | 1 + 12 files changed, 632 insertions(+) create mode 100644 mac-client-installer/Moonshot Client Software.pmdoc/01krb-contents.xml create mode 100644 mac-client-installer/Moonshot Client Software.pmdoc/01krb.xml create mode 100644 mac-client-installer/Moonshot Client Software.pmdoc/02sasl-contents.xml create mode 100644 mac-client-installer/Moonshot Client Software.pmdoc/02sasl.xml create mode 100644 mac-client-installer/Moonshot Client Software.pmdoc/index.xml create mode 100644 mac-client-installer/README.KrbInstalledFiles create mode 100644 mac-client-installer/README.MacOsBuildInstructions create mode 100644 mac-client-installer/README.saslInstalledFiles create mode 100644 mac-client-installer/resources/README.GssLibs create mode 100644 mac-client-installer/resources/README.saslPlugins create mode 100644 mac-client-installer/resources/README.saslPlugins.txt create mode 100644 mac-client-installer/resources/readme.txt diff --git a/mac-client-installer/Moonshot Client Software.pmdoc/01krb-contents.xml b/mac-client-installer/Moonshot Client Software.pmdoc/01krb-contents.xml new file mode 100644 index 0000000..2cd2760 --- /dev/null +++ b/mac-client-installer/Moonshot Client Software.pmdoc/01krb-contents.xml @@ -0,0 +1 @@ +name \ No newline at end of file diff --git a/mac-client-installer/Moonshot Client Software.pmdoc/01krb.xml b/mac-client-installer/Moonshot Client Software.pmdoc/01krb.xml new file mode 100644 index 0000000..5152aef --- /dev/null +++ b/mac-client-installer/Moonshot Client Software.pmdoc/01krb.xml @@ -0,0 +1 @@ +ja.net.moonshotClientSoftware.mech_eap.pkg1.0/installSizeKBinstallTopostInstallhashDigestfilePrefixrequireAuthorizationidentifierversionparent01krb-contents.xml/CVS$/\.svn$/\.cvsignore$/\.cvspass$/\.DS_Store$/Users/pete/installerbuild/Moonshot Client Software.pkgkrbkrb.pkg \ No newline at end of file diff --git a/mac-client-installer/Moonshot Client Software.pmdoc/02sasl-contents.xml b/mac-client-installer/Moonshot Client Software.pmdoc/02sasl-contents.xml new file mode 100644 index 0000000..4c061df --- /dev/null +++ b/mac-client-installer/Moonshot Client Software.pmdoc/02sasl-contents.xml @@ -0,0 +1 @@ +name \ No newline at end of file diff --git a/mac-client-installer/Moonshot Client Software.pmdoc/02sasl.xml b/mac-client-installer/Moonshot Client Software.pmdoc/02sasl.xml new file mode 100644 index 0000000..a8ae642 --- /dev/null +++ b/mac-client-installer/Moonshot Client Software.pmdoc/02sasl.xml @@ -0,0 +1 @@ +ja.net.moonshotClientSoftware.cyrusSasl.pkg1.0/installSizeKBinstallTopostInstallhashDigestfilePrefixrequireAuthorizationidentifierversionparent02sasl-contents.xml/CVS$/\.svn$/\.cvsignore$/\.cvspass$/\.DS_Store$/Users/pete/installerbuild/Moonshot Client Software.pkgsaslsasl.pkg \ No newline at end of file diff --git a/mac-client-installer/Moonshot Client Software.pmdoc/index.xml b/mac-client-installer/Moonshot Client Software.pmdoc/index.xml new file mode 100644 index 0000000..a0ef5b6 --- /dev/null +++ b/mac-client-installer/Moonshot Client Software.pmdoc/index.xml @@ -0,0 +1 @@ +Moonshot Client Softwareja.net/01krb.xml02sasl.xmlproperties.customizeOption \ No newline at end of file diff --git a/mac-client-installer/README.KrbInstalledFiles b/mac-client-installer/README.KrbInstalledFiles new file mode 100644 index 0000000..838bdc8 --- /dev/null +++ b/mac-client-installer/README.KrbInstalledFiles @@ -0,0 +1,235 @@ +total 0 +drwxr-xr-x 3 pete 102 30 Nov 08:29 usr/ + +krb/usr: +total 0 +drwxr-xr-x 8 pete 272 30 Nov 08:29 local/ + +krb/usr/local: +total 0 +drwxr-xr-x 16 pete 544 30 Nov 08:31 bin/ +drwxr-xr-x 11 pete 374 30 Nov 08:31 include/ +drwxr-xr-x 33 pete 1122 30 Nov 08:45 lib/ +drwxr-xr-x 14 pete 476 30 Nov 08:31 sbin/ +drwxr-xr-x 6 pete 204 30 Nov 08:31 share/ +drwxr-xr-x 3 pete 102 30 Nov 08:29 var/ + +krb/usr/local/bin: +total 608 +-rwxr-xr-x 1 pete 448 30 Nov 08:31 compile_et +-rwxr-xr-x 1 pete 26292 30 Nov 08:31 gss-client +-rwxr-xr-x@ 1 pete 1914 30 Nov 08:31 k5srvutil +-rwxr-xr-x 1 pete 79988 30 Nov 08:31 kadmin +-rwxr-xr-x 1 pete 9628 30 Nov 08:31 kdestroy +-rwxr-xr-x 1 pete 22808 30 Nov 08:31 kinit +-rwxr-xr-x 1 pete 22080 30 Nov 08:31 klist +-rwxr-xr-x 1 pete 14920 30 Nov 08:31 kpasswd +-rwxr-xr-x 1 pete 5738 30 Nov 08:31 krb5-config +-rwxr-xr-x 1 pete 37460 30 Nov 08:31 ktutil +-rwxr-xr-x 1 pete 15732 30 Nov 08:31 kvno +-rwxr-xr-x 1 pete 15068 30 Nov 08:31 sclient +-rwxr-xr-x 1 pete 15428 30 Nov 08:31 sim_client +-rwxr-xr-x 1 pete 14956 30 Nov 08:31 uuclient + +krb/usr/local/include: +total 152 +-rw-r--r--@ 1 pete 1978 30 Nov 08:31 com_err.h +drwxr-xr-x 8 pete 272 30 Nov 08:45 gssapi/ +-rw-r--r--@ 1 pete 181 30 Nov 08:31 gssapi.h +drwxr-xr-x 18 pete 612 30 Nov 08:31 gssrpc/ +drwxr-xr-x 5 pete 170 30 Nov 08:31 kadm5/ +-rw-r--r--@ 1 pete 56808 30 Nov 08:31 kdb.h +drwxr-xr-x 7 pete 238 30 Nov 08:31 krb5/ +-rw-r--r--@ 1 pete 402 30 Nov 08:31 krb5.h +-rw-r--r-- 1 pete 6105 30 Nov 08:31 profile.h + +krb/usr/local/include/gssapi: +total 136 +-rw-r--r-- 1 pete 29935 30 Nov 08:31 gssapi.h +-rw-r--r-- 1 pete 3051 30 Nov 08:45 gssapi_eap.h +-rw-r--r--@ 1 pete 12088 30 Nov 08:31 gssapi_ext.h +-rw-r--r--@ 1 pete 2268 30 Nov 08:31 gssapi_generic.h +-rw-r--r-- 1 pete 11709 30 Nov 08:31 gssapi_krb5.h +-rw-r--r--@ 1 pete 1652 30 Nov 08:31 mechglue.h + +krb/usr/local/include/gssrpc: +total 224 +-rw-r--r--@ 1 pete 6789 30 Nov 08:31 auth.h +-rw-r--r--@ 1 pete 4825 30 Nov 08:31 auth_gss.h +-rw-r--r--@ 1 pete 3952 30 Nov 08:31 auth_gssapi.h +-rw-r--r--@ 1 pete 2896 30 Nov 08:31 auth_unix.h +-rw-r--r--@ 1 pete 9660 30 Nov 08:31 clnt.h +-rw-r--r--@ 1 pete 2411 30 Nov 08:31 netdb.h +-rw-r--r--@ 1 pete 3429 30 Nov 08:31 pmap_clnt.h +-rw-r--r--@ 1 pete 3841 30 Nov 08:31 pmap_prot.h +-rw-r--r--@ 1 pete 2303 30 Nov 08:31 pmap_rmt.h +-rw-r--r--@ 1 pete 10734 30 Nov 08:31 rename.h +-rw-r--r--@ 1 pete 3861 30 Nov 08:31 rpc.h +-rw-r--r--@ 1 pete 5106 30 Nov 08:31 rpc_msg.h +-rw-r--r--@ 1 pete 11595 30 Nov 08:31 svc.h +-rw-r--r--@ 1 pete 3976 30 Nov 08:31 svc_auth.h +-rw-r--r-- 1 pete 4947 30 Nov 08:31 types.h +-rw-r--r--@ 1 pete 11779 30 Nov 08:31 xdr.h + +krb/usr/local/include/kadm5: +total 64 +-rw-r--r--@ 1 pete 21418 30 Nov 08:31 admin.h +-rw-r--r-- 1 pete 1572 30 Nov 08:31 chpass_util_strings.h +-rw-r--r-- 1 pete 4064 30 Nov 08:31 kadm_err.h + +krb/usr/local/include/krb5: +total 312 +-rw-r--r--@ 1 pete 5742 30 Nov 08:31 kadm5_hook_plugin.h +-rw-r--r-- 1 pete 134599 30 Nov 08:31 krb5.h +-rw-r--r--@ 1 pete 2648 30 Nov 08:31 locate_plugin.h +-rw-r--r--@ 1 pete 2111 30 Nov 08:31 plugin.h +-rw-r--r--@ 1 pete 4452 30 Nov 08:31 pwqual_plugin.h + +krb/usr/local/lib: +total 3976 +drwxr-xr-x 4 pete 136 30 Nov 08:45 gss/ +drwxr-xr-x 3 pete 102 30 Nov 08:29 krb5/ +-rw-r--r-- 1 pete 16912 30 Nov 08:31 libcom_err.3.0.dylib +lrwxr-xr-x 1 pete 20 30 Nov 08:31 libcom_err.3.dylib -> libcom_err.3.0.dylib +lrwxr-xr-x 1 pete 20 30 Nov 08:31 libcom_err.dylib -> libcom_err.3.0.dylib +-rw-r--r-- 1 pete 287084 30 Nov 08:31 libgssapi_krb5.2.2.dylib +lrwxr-xr-x 1 pete 24 30 Nov 08:31 libgssapi_krb5.2.dylib -> libgssapi_krb5.2.2.dylib +lrwxr-xr-x 1 pete 24 30 Nov 08:31 libgssapi_krb5.dylib -> libgssapi_krb5.2.2.dylib +-rw-r--r-- 1 pete 142060 30 Nov 08:31 libgssrpc.4.1.dylib +lrwxr-xr-x 1 pete 19 30 Nov 08:31 libgssrpc.4.dylib -> libgssrpc.4.1.dylib +lrwxr-xr-x 1 pete 19 30 Nov 08:31 libgssrpc.dylib -> libgssrpc.4.1.dylib +-rw-r--r-- 1 pete 195184 30 Nov 08:31 libk5crypto.3.1.dylib +lrwxr-xr-x 1 pete 21 30 Nov 08:31 libk5crypto.3.dylib -> libk5crypto.3.1.dylib +lrwxr-xr-x 1 pete 21 30 Nov 08:31 libk5crypto.dylib -> libk5crypto.3.1.dylib +lrwxr-xr-x 1 pete 22 30 Nov 08:31 libkadm5clnt.dylib -> libkadm5clnt_mit.dylib +-rw-r--r-- 1 pete 96332 30 Nov 08:31 libkadm5clnt_mit.8.0.dylib +lrwxr-xr-x 1 pete 26 30 Nov 08:31 libkadm5clnt_mit.8.dylib -> libkadm5clnt_mit.8.0.dylib +lrwxr-xr-x 1 pete 26 30 Nov 08:31 libkadm5clnt_mit.dylib -> libkadm5clnt_mit.8.0.dylib +lrwxr-xr-x 1 pete 21 30 Nov 08:31 libkadm5srv.dylib -> libkadm5srv_mit.dylib +-rw-r--r-- 1 pete 129380 30 Nov 08:31 libkadm5srv_mit.8.0.dylib +lrwxr-xr-x 1 pete 25 30 Nov 08:31 libkadm5srv_mit.8.dylib -> libkadm5srv_mit.8.0.dylib +lrwxr-xr-x 1 pete 25 30 Nov 08:31 libkadm5srv_mit.dylib -> libkadm5srv_mit.8.0.dylib +-rw-r--r-- 1 pete 78932 30 Nov 08:31 libkdb5.5.0.dylib +lrwxr-xr-x 1 pete 17 30 Nov 08:31 libkdb5.5.dylib -> libkdb5.5.0.dylib +lrwxr-xr-x 1 pete 17 30 Nov 08:31 libkdb5.dylib -> libkdb5.5.0.dylib +-rw-r--r-- 1 pete 950624 30 Nov 08:31 libkrb5.3.3.dylib +lrwxr-xr-x 1 pete 17 30 Nov 08:31 libkrb5.3.dylib -> libkrb5.3.3.dylib +lrwxr-xr-x 1 pete 17 30 Nov 08:31 libkrb5.dylib -> libkrb5.3.3.dylib +-rw-r--r-- 1 pete 34888 30 Nov 08:31 libkrb5support.1.1.dylib +lrwxr-xr-x 1 pete 24 30 Nov 08:31 libkrb5support.1.dylib -> libkrb5support.1.1.dylib +lrwxr-xr-x 1 pete 24 30 Nov 08:31 libkrb5support.dylib -> libkrb5support.1.1.dylib + +krb/usr/local/lib/gss: +total 688 +-rwxr-xr-x 1 pete 1067 30 Nov 08:45 mech_eap.la +-rwxr-xr-x 1 pete 345264 30 Nov 08:45 mech_eap.so + +krb/usr/local/lib/krb5: +total 0 +drwxr-xr-x 6 pete 204 30 Nov 08:29 plugins/ + +krb/usr/local/lib/krb5/plugins: +total 0 +drwxr-xr-x 2 pete 68 30 Nov 08:29 authdata/ +drwxr-xr-x 3 pete 102 30 Nov 08:31 kdb/ +drwxr-xr-x 2 pete 68 30 Nov 08:29 libkrb5/ +drwxr-xr-x 4 pete 136 30 Nov 08:31 preauth/ + +krb/usr/local/lib/krb5/plugins/authdata: + +krb/usr/local/lib/krb5/plugins/kdb: +total 240 +-rw-r--r-- 1 pete 122852 30 Nov 08:31 db2.so + +krb/usr/local/lib/krb5/plugins/libkrb5: + +krb/usr/local/lib/krb5/plugins/preauth: +total 272 +-rw-r--r-- 1 pete 14792 30 Nov 08:31 encrypted_challenge.so +-rw-r--r-- 1 pete 120376 30 Nov 08:31 pkinit.so + +krb/usr/local/sbin: +total 1176 +-rwxr-xr-x 1 pete 21480 30 Nov 08:31 gss-server +-rwxr-xr-x 1 pete 80220 30 Nov 08:31 kadmin.local +-rwxr-xr-x 1 pete 108324 30 Nov 08:31 kadmind +-rwxr-xr-x 1 pete 98652 30 Nov 08:31 kdb5_util +-rwxr-xr-x 1 pete 23144 30 Nov 08:31 kprop +-rwxr-xr-x 1 pete 36256 30 Nov 08:31 kpropd +-rwxr-xr-x 1 pete 18628 30 Nov 08:31 kproplog +-rwxr-xr-x 1 pete 14361 30 Nov 08:31 krb5-send-pr +-rwxr-xr-x 1 pete 134792 30 Nov 08:31 krb5kdc +-rwxr-xr-x 1 pete 14804 30 Nov 08:31 sim_server +-rwxr-xr-x 1 pete 14936 30 Nov 08:31 sserver +-rwxr-xr-x 1 pete 14504 30 Nov 08:31 uuserver + +krb/usr/local/share: +total 0 +drwxr-xr-x 4 pete 136 30 Nov 08:31 et/ +drwxr-xr-x 3 pete 102 30 Nov 08:29 examples/ +drwxr-xr-x 3 pete 102 30 Nov 08:31 gnats/ +drwxr-xr-x 5 pete 170 30 Nov 08:29 man/ + +krb/usr/local/share/et: +total 24 +-rw-r--r--@ 1 pete 4901 30 Nov 08:31 et_c.awk +-rw-r--r--@ 1 pete 3918 30 Nov 08:31 et_h.awk + +krb/usr/local/share/examples: +total 0 +drwxr-xr-x 5 pete 170 30 Nov 08:31 krb5/ + +krb/usr/local/share/examples/krb5: +total 24 +-rw-r--r--@ 1 pete 362 30 Nov 08:31 kdc.conf +-rw-r--r--@ 1 pete 546 30 Nov 08:31 krb5.conf +-rw-r--r--@ 1 pete 1493 30 Nov 08:31 services.append + +krb/usr/local/share/gnats: +total 8 +-rw-r--r--@ 1 pete 99 30 Nov 08:31 mit + +krb/usr/local/share/man: +total 0 +drwxr-xr-x 16 pete 544 30 Nov 08:31 man1/ +drwxr-xr-x 5 pete 170 30 Nov 08:31 man5/ +drwxr-xr-x 10 pete 340 30 Nov 08:31 man8/ + +krb/usr/local/share/man/man1: +total 216 +-rw-r--r--@ 1 pete 2151 30 Nov 08:31 compile_et.1 +-rw-r--r--@ 1 pete 1724 30 Nov 08:31 k5srvutil.1 +-rw-r--r--@ 1 pete 25527 30 Nov 08:31 kadmin.1 +-rw-r--r--@ 1 pete 2920 30 Nov 08:31 kdestroy.1 +-rw-r--r--@ 1 pete 4327 30 Nov 08:31 kerberos.1 +-rw-r--r--@ 1 pete 7271 30 Nov 08:31 kinit.1 +-rw-r--r--@ 1 pete 3636 30 Nov 08:31 klist.1 +-rw-r--r--@ 1 pete 2665 30 Nov 08:31 kpasswd.1 +-rw-r--r--@ 1 pete 2602 30 Nov 08:31 krb5-config.1 +-rw-r--r-- 1 pete 8205 30 Nov 08:31 krb5-send-pr.1 +-rw-r--r--@ 1 pete 16269 30 Nov 08:31 ksu.1 +-rw-r--r--@ 1 pete 1340 30 Nov 08:31 ktutil.1 +-rw-r--r--@ 1 pete 3076 30 Nov 08:31 kvno.1 +-rw-r--r--@ 1 pete 1574 30 Nov 08:31 sclient.1 + +krb/usr/local/share/man/man5: +total 80 +-rw-r--r--@ 1 pete 8682 30 Nov 08:31 kdc.conf.5 +-rw-r--r--@ 1 pete 27435 30 Nov 08:31 krb5.conf.5 + +krb/usr/local/share/man/man8: +total 120 +-rw-r--r--@ 1 pete 18 30 Nov 08:31 kadmin.local.8 +-rw-r--r--@ 1 pete 9465 30 Nov 08:31 kadmind.8 +-rw-r--r--@ 1 pete 9198 30 Nov 08:31 kdb5_util.8 +-rw-r--r--@ 1 pete 2519 30 Nov 08:31 kprop.8 +-rw-r--r--@ 1 pete 4933 30 Nov 08:31 kpropd.8 +-rw-r--r--@ 1 pete 3518 30 Nov 08:31 kproplog.8 +-rw-r--r--@ 1 pete 5706 30 Nov 08:31 krb5kdc.8 +-rw-r--r--@ 1 pete 4433 30 Nov 08:31 sserver.8 + +krb/usr/local/var: +total 0 +drwxr-xr-x 2 pete 68 30 Nov 08:29 krb5kdc/ + +krb/usr/local/var/krb5kdc: diff --git a/mac-client-installer/README.MacOsBuildInstructions b/mac-client-installer/README.MacOsBuildInstructions new file mode 100644 index 0000000..b1205f0 --- /dev/null +++ b/mac-client-installer/README.MacOsBuildInstructions @@ -0,0 +1,163 @@ +###Introduction + +This page contains notes on how to build and install the software necessary to run Moonshot clients on a computer running Max OS X 10.6 Snow Leopard and 10.7 Lion. + +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). + +3: the Moonshot Identity Selector/Manager software which... +ToDo: Complete this section when the client software is ported to Mac OS + + +###Getting the Moonshot source code + +Follow the instructions at http://www.project-moonshot.org/developers/repository, cloning the repo in $HOME + +Working in $HOME/moonshot/mac-client-installer + +###Building the Cyrus SASL2 library + + $ cd $HOME/moonshot/cyrus_sasl + $ ./autogen.sh + +You will see the following message + + configure.in:14 error: possibly undefined macro: AC_DEFINE + If this token and others are legitimate, please use m4_pattern_allow. + See the Autoconf documentation + + $ ./configure + $ make + +To install to /usr/local in your build machine + + $ sudo make install + +Create the link from /usr/lib/sasl2 (where the library looks for the plugins)->/usr/local/lib/sasl2 (where the plugins will be installed) + + $ cd sasl/usr/lib + $ ln -fs ../local/lib/sasl2 + +Or, if you are making the installer + + $ make install DESTDIR=$HOME/moonshot/mac-client-installer/sasl + +Create the link from /usr/lib/sasl2 (where the library looks for the plugins)->/usr/local/lib/sasl2 (where the plugins will be installed) + + $ mkdir sasl/usr/lib + $ cd sasl/usr/lib + $ ln -fs ../local/lib/sasl2 + $ cd ../../.. + $ cd ~/installerbuild + +The files and directories that are installed are as listed in README.saslInstalledFiles + +###Building the downloaded Kerberos + +Unpack the file to $HOME/krbbuild + + $ cd $HOME/krbbuild/krb5-1.9.2-signed/krb5-1.9.2/src + $ ./configure + $ make + +To install to /usr/local in your build machine + + $ sudo make install + +Or, if you are making the installer + $ make install DESTDIR=$HOME/moonshot/mac-client-installer/krb + +###Building the Moonshot GSS EAP library + + $ cd $HOME/moonshot/moonshot + $ ./autogen.sh + $ ./configure --enable-acceptor=no + +You will see the following warnings + + configure: WARNING: + ---------------------------------------------------------------------- + Cannot find OpenSAML libraries, building without OpenSAML support. + Please install OpenSAML or specify installation directory with + --with-opensaml=(dir). + ---------------------------------------------------------------------- + + configure: WARNING: + ---------------------------------------------------------------------- + Cannot find Shibboleth resolver libraries, building without + Shibboleth support. + Please install Shibboleth or specify installation directory with + --with-shibresolver=(dir). + ---------------------------------------------------------------------- + + $ make + $ cd mech_eap + $ sudo make install + $ libtool --finish /usr/local/lib/gss + +Or, if you are making the installer + + $ ./configure --enable-acceptor=no --with-krb5=$HOME/moonshot/mac-client-installer/krb/usr/local + $ make + +We only need to install the mech_eap library + + $ cd mech_eap + $ 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 when the client software is ported to Mac OS + +###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 + +Instructions in DevWiki at http://www.project-moonshot.org/devwiki//building_client_software_for_mac_os + +###Making the Disk Image +Create and mount the image - 2MB will be enough for now + + $ hdiutil create -size 2m -fs HFS+ -volname "Moonshot Client Software" temp.dmg + $ hdiutil attach temp.dmg + +Copy the package and the READMEs + $ cp Moonshot\ Client\ Software.pkg /Volumes/Moonshot\ Client\ Software/ + $ cp resources/* /Volumes/Moonshot\ Client\ Software/ + +Get rid of hidden files and folders that we don't need + + $ sudo rm -rf /Volumes/Moonshot\ Client\ Software/.fseventsd/ + $ sudo rm -rf /Volumes/Moonshot\ Client\ Software/.Trashes/ + $ sudo find /Volumes/Moonshot\ Client\ Software -name '.*' -type f -delete + +Unmount the image + + $ hdiutil detach /Volumes/Moonshot\ Client\ Software + +Convert the disk image to read-only + + $ hdiutil convert temp.dmg -format UDZO -o moonshotclientsoftware.dmg + $ rm temp.dmg + +The compressed disk image containing the installer package and the READMEs is now in file *moonshotclientsoftware.dmg* + diff --git a/mac-client-installer/README.saslInstalledFiles b/mac-client-installer/README.saslInstalledFiles new file mode 100644 index 0000000..7b21c9e --- /dev/null +++ b/mac-client-installer/README.saslInstalledFiles @@ -0,0 +1,184 @@ +total 0 +drwxrwxr-x 4 root 136 30 Nov 07:41 Library/ +drwxrwxr-x 5 root 170 30 Nov 07:44 usr/ + +./Library: +total 0 +drwxrwxr-x 4 root 136 30 Nov 07:41 Frameworks/ + +./Library/Frameworks: +total 0 +drwxrwxr-x 6 root 204 30 Nov 07:41 SASL2.framework/ + +./Library/Frameworks/SASL2.framework: +total 16 +lrwxr-xr-x 1 root 18 30 Nov 07:27 Headers -> Versions/A/Headers +lrwxr-xr-x 1 root 20 30 Nov 07:27 Resources -> Versions/A/Resources +drwxrwxr-x 5 root 170 30 Nov 07:41 Versions/ + +./Library/Frameworks/SASL2.framework/Versions: +total 8 +drwxrwxr-x 4 root 136 30 Nov 07:27 A/ +lrwxr-xr-x 1 root 1 30 Nov 07:27 Current -> A + +./Library/Frameworks/SASL2.framework/Versions/A: +total 0 +drwxrwxr-x 9 root 306 30 Nov 07:27 Headers/ +drwxrwxr-x 3 root 102 30 Nov 07:27 Resources/ + +./Library/Frameworks/SASL2.framework/Versions/A/Headers: +total 224 +-rw-rw-r-- 1 root 1368 30 Nov 07:27 hmac-md5.h +-rw-rw-r-- 1 root 1442 30 Nov 07:27 md5.h +-rw-rw-r-- 1 root 1026 30 Nov 07:27 md5global.h +-rw-rw-r-- 1 root 7273 30 Nov 07:27 prop.h +-rw-rw-r-- 1 root 50521 30 Nov 07:27 sasl.h +-rw-rw-r-- 1 root 34290 30 Nov 07:27 saslplug.h +-rw-rw-r-- 1 root 2648 30 Nov 07:27 saslutil.h + +./Library/Frameworks/SASL2.framework/Versions/A/Resources: +total 8 +-rw-rw-r-- 1 root 845 30 Nov 07:27 Info.plist + +./usr: +total 0 +drwxrwxr-x 4 root 136 30 Nov 07:54 lib/ +drwxrwxr-x 6 root 204 30 Nov 07:27 local/ + +./usr/lib: +total 8 +lrwxr-xr-x 1 pete 18 30 Nov 07:54 sasl2 -> ../local/lib/sasl2 + +./usr/local: +total 0 +drwxrwxr-x 3 root 102 30 Nov 07:27 include/ +drwxrwxr-x 7 root 238 30 Nov 07:27 lib/ +drwxrwxr-x 7 root 238 30 Nov 07:27 sbin/ +drwxrwxr-x 3 root 102 30 Nov 07:27 share/ + +./usr/local/include: +total 0 +drwxrwxr-x 9 root 306 30 Nov 07:27 sasl/ + +./usr/local/include/sasl: +total 224 +-rw-rw-r-- 1 root 1368 30 Nov 07:27 hmac-md5.h +-rw-rw-r-- 1 root 1442 30 Nov 07:27 md5.h +-rw-rw-r-- 1 root 1026 30 Nov 07:27 md5global.h +-rw-rw-r-- 1 root 7273 30 Nov 07:27 prop.h +-rw-rw-r-- 1 root 50521 30 Nov 07:27 sasl.h +-rw-rw-r-- 1 root 34290 30 Nov 07:27 saslplug.h +-rw-rw-r-- 1 root 2648 30 Nov 07:27 saslutil.h + +./usr/local/lib: +total 264 +lrwxr-xr-x 1 root 16 30 Nov 07:27 libsasl2.2.0.23.dylib -> libsasl2.2.dylib +-rwxrwxr-x 1 root 121592 30 Nov 07:27 libsasl2.2.dylib +lrwxr-xr-x 1 root 16 30 Nov 07:27 libsasl2.dylib -> libsasl2.2.dylib +-rwxrwxr-x 1 root 944 30 Nov 07:27 libsasl2.la +drwxrwxr-x 34 root 1156 30 Nov 07:27 sasl2/ + +./usr/local/lib/sasl2: +total 800 +lrwxr-xr-x 1 root 17 30 Nov 07:27 libanonymous.2.0.23.so -> libanonymous.2.so +-rwxrwxr-x 1 root 22312 30 Nov 07:27 libanonymous.2.so +-rwxrwxr-x 1 root 952 30 Nov 07:27 libanonymous.la +lrwxr-xr-x 1 root 17 30 Nov 07:27 libanonymous.so -> libanonymous.2.so +lrwxr-xr-x 1 root 15 30 Nov 07:27 libcrammd5.2.0.23.so -> libcrammd5.2.so +-rwxrwxr-x 1 root 26512 30 Nov 07:27 libcrammd5.2.so +-rwxrwxr-x 1 root 940 30 Nov 07:27 libcrammd5.la +lrwxr-xr-x 1 root 15 30 Nov 07:27 libcrammd5.so -> libcrammd5.2.so +lrwxr-xr-x 1 root 17 30 Nov 07:27 libdigestmd5.2.0.23.so -> libdigestmd5.2.so +-rwxrwxr-x 1 root 55600 30 Nov 07:27 libdigestmd5.2.so +-rwxrwxr-x 1 root 961 30 Nov 07:27 libdigestmd5.la +lrwxr-xr-x 1 root 17 30 Nov 07:27 libdigestmd5.so -> libdigestmd5.2.so +lrwxr-xr-x 1 root 11 30 Nov 07:27 libgs2.2.0.23.so -> libgs2.2.so +-rwxrwxr-x 1 root 39332 30 Nov 07:27 libgs2.2.so +-rwxrwxr-x 1 root 958 30 Nov 07:27 libgs2.la +lrwxr-xr-x 1 root 11 30 Nov 07:27 libgs2.so -> libgs2.2.so +lrwxr-xr-x 1 root 16 30 Nov 07:27 libgssapiv2.2.0.23.so -> libgssapiv2.2.so +-rwxrwxr-x 1 root 37680 30 Nov 07:27 libgssapiv2.2.so +-rwxrwxr-x 1 root 988 30 Nov 07:27 libgssapiv2.la +lrwxr-xr-x 1 root 16 30 Nov 07:27 libgssapiv2.so -> libgssapiv2.2.so +lrwxr-xr-x 1 root 11 30 Nov 07:27 libotp.2.0.23.so -> libotp.2.so +-rwxrwxr-x 1 root 61456 30 Nov 07:27 libotp.2.so +-rwxrwxr-x 1 root 925 30 Nov 07:27 libotp.la +lrwxr-xr-x 1 root 11 30 Nov 07:27 libotp.so -> libotp.2.so +lrwxr-xr-x 1 root 13 30 Nov 07:27 libplain.2.0.23.so -> libplain.2.so +-rwxrwxr-x 1 root 22032 30 Nov 07:27 libplain.2.so +-rwxrwxr-x 1 root 928 30 Nov 07:27 libplain.la +lrwxr-xr-x 1 root 13 30 Nov 07:27 libplain.so -> libplain.2.so +lrwxr-xr-x 1 root 14 30 Nov 07:27 libsasldb.2.0.23.so -> libsasldb.2.so +-rwxrwxr-x 1 root 27944 30 Nov 07:27 libsasldb.2.so +-rwxrwxr-x 1 root 934 30 Nov 07:27 libsasldb.la +lrwxr-xr-x 1 root 14 30 Nov 07:27 libsasldb.so -> libsasldb.2.so + +./usr/local/sbin: +total 296 +-rwxrwxr-x 1 root 15828 30 Nov 07:27 pluginviewer +-rwxrwxr-x 1 root 76704 30 Nov 07:27 saslauthd +-rwxrwxr-x 1 root 21032 30 Nov 07:27 sasldblistusers2 +-rwxrwxr-x 1 root 15620 30 Nov 07:27 saslpasswd2 +-rwxrwxr-x 1 root 15332 30 Nov 07:27 testsaslauthd + +./usr/local/share: +total 0 +drwxrwxr-x 4 root 136 30 Nov 07:27 man/ + +./usr/local/share/man: +total 0 +drwxrwxr-x 45 root 1530 30 Nov 07:27 man3/ +drwxrwxr-x 6 root 204 30 Nov 07:27 man8/ + +./usr/local/share/man/man3: +total 392 +-rw-rw-r-- 1 root 3255 30 Nov 07:27 sasl.3 +-rw-rw-r-- 1 root 2914 30 Nov 07:27 sasl_authorize_t.3 +-rw-rw-r-- 1 root 7376 30 Nov 07:27 sasl_auxprop.3 +-rw-rw-r-- 1 root 2507 30 Nov 07:27 sasl_auxprop_getctx.3 +-rw-rw-r-- 1 root 3027 30 Nov 07:27 sasl_auxprop_request.3 +-rw-rw-r-- 1 root 4187 30 Nov 07:27 sasl_callbacks.3 +-rw-rw-r-- 1 root 3401 30 Nov 07:27 sasl_canon_user_t.3 +-rw-rw-r-- 1 root 2871 30 Nov 07:27 sasl_chalprompt_t.3 +-rw-rw-r-- 1 root 3108 30 Nov 07:27 sasl_checkapop.3 +-rw-rw-r-- 1 root 2926 30 Nov 07:27 sasl_checkpass.3 +-rw-rw-r-- 1 root 3143 30 Nov 07:27 sasl_client_init.3 +-rw-rw-r-- 1 root 4477 30 Nov 07:27 sasl_client_new.3 +-rw-rw-r-- 1 root 4296 30 Nov 07:27 sasl_client_start.3 +-rw-rw-r-- 1 root 4148 30 Nov 07:27 sasl_client_step.3 +-rw-rw-r-- 1 root 3001 30 Nov 07:27 sasl_decode.3 +-rw-rw-r-- 1 root 2440 30 Nov 07:27 sasl_dispose.3 +-rw-rw-r-- 1 root 2279 30 Nov 07:27 sasl_done.3 +-rw-rw-r-- 1 root 3153 30 Nov 07:27 sasl_encode.3 +-rw-rw-r-- 1 root 3153 30 Nov 07:27 sasl_encodev.3 +-rw-rw-r-- 1 root 2498 30 Nov 07:27 sasl_errdetail.3 +-rw-rw-r-- 1 root 3934 30 Nov 07:27 sasl_errors.3 +-rw-rw-r-- 1 root 3137 30 Nov 07:27 sasl_errstring.3 +-rw-rw-r-- 1 root 2666 30 Nov 07:27 sasl_getconfpath_t.3 +-rw-rw-r-- 1 root 3245 30 Nov 07:27 sasl_getopt_t.3 +-rw-rw-r-- 1 root 2645 30 Nov 07:27 sasl_getpath_t.3 +-rw-rw-r-- 1 root 3487 30 Nov 07:27 sasl_getprop.3 +-rw-rw-r-- 1 root 2921 30 Nov 07:27 sasl_getrealm_t.3 +-rw-rw-r-- 1 root 2767 30 Nov 07:27 sasl_getsecret_t.3 +-rw-rw-r-- 1 root 2901 30 Nov 07:27 sasl_getsimple_t.3 +-rw-rw-r-- 1 root 2475 30 Nov 07:27 sasl_global_listmech.3 +-rw-rw-r-- 1 root 2423 30 Nov 07:27 sasl_idle.3 +-rw-rw-r-- 1 root 3443 30 Nov 07:27 sasl_listmech.3 +-rw-rw-r-- 1 root 2469 30 Nov 07:27 sasl_log_t.3 +-rw-rw-r-- 1 root 3175 30 Nov 07:27 sasl_server_init.3 +-rw-rw-r-- 1 root 4163 30 Nov 07:27 sasl_server_new.3 +-rw-rw-r-- 1 root 4044 30 Nov 07:27 sasl_server_start.3 +-rw-rw-r-- 1 root 3289 30 Nov 07:27 sasl_server_step.3 +-rw-rw-r-- 1 root 3109 30 Nov 07:27 sasl_server_userdb_checkpass_t.3 +-rw-rw-r-- 1 root 3201 30 Nov 07:27 sasl_server_userdb_setpass_t.3 +-rw-rw-r-- 1 root 3058 30 Nov 07:27 sasl_setpass.3 +-rw-rw-r-- 1 root 3198 30 Nov 07:27 sasl_setprop.3 +-rw-rw-r-- 1 root 2639 30 Nov 07:27 sasl_user_exists.3 +-rw-rw-r-- 1 root 2957 30 Nov 07:27 sasl_verifyfile_t.3 + +./usr/local/share/man/man8: +total 48 +-rw-rw-r-- 1 root 3927 30 Nov 07:27 pluginviewer.8 +-rw-rw-r-- 1 root 9369 30 Nov 07:27 saslauthd.8 +-rw-rw-r-- 1 root 2490 30 Nov 07:27 sasldblistusers2.8 +-rw-rw-r-- 1 root 3184 30 Nov 07:27 saslpasswd2.8 diff --git a/mac-client-installer/resources/README.GssLibs b/mac-client-installer/resources/README.GssLibs new file mode 100644 index 0000000..fe644b9 --- /dev/null +++ b/mac-client-installer/resources/README.GssLibs @@ -0,0 +1,14 @@ +---------------------------------------------------------------------- + Libraries have been installed in: + /Users/pete/tmp/usr/local/lib/gss + + If you ever happen to want to link against installed libraries + in a given directory, LIBDIR, you must either use libtool, and + specify the full pathname of the library, or use the `-LLIBDIR' + flag during linking and do at least one of the following: + - add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable + during execution + + See any operating system documentation about shared libraries for + more information, such as the ld(1) and ld.so(8) manual pages. + ---------------------------------------------------------------------- diff --git a/mac-client-installer/resources/README.saslPlugins b/mac-client-installer/resources/README.saslPlugins new file mode 100644 index 0000000..a13f371 --- /dev/null +++ b/mac-client-installer/resources/README.saslPlugins @@ -0,0 +1,15 @@ +******************************************************** +* WARNING: +* Plugins are being installed into /usr/local/lib/sasl2, +* but the library will look for them in /usr/lib/sasl2. +* You need to make sure that the plugins will eventually +* be in /usr/lib/sasl2 -- the easiest way is to make a +* symbolic link from /usr/lib/sasl2 to /usr/local/lib/sasl2, +* but this may not be appropriate for your site, so this +* installation procedure won't do it for you. +* +* If you don't want to do this for some reason, you can +* set the location where the library will look for plugins +* by setting the environment variable SASL_PATH to the path +* the library should use. +******************************************************** diff --git a/mac-client-installer/resources/README.saslPlugins.txt b/mac-client-installer/resources/README.saslPlugins.txt new file mode 100644 index 0000000..a13f371 --- /dev/null +++ b/mac-client-installer/resources/README.saslPlugins.txt @@ -0,0 +1,15 @@ +******************************************************** +* WARNING: +* Plugins are being installed into /usr/local/lib/sasl2, +* but the library will look for them in /usr/lib/sasl2. +* You need to make sure that the plugins will eventually +* be in /usr/lib/sasl2 -- the easiest way is to make a +* symbolic link from /usr/lib/sasl2 to /usr/local/lib/sasl2, +* but this may not be appropriate for your site, so this +* installation procedure won't do it for you. +* +* If you don't want to do this for some reason, you can +* set the location where the library will look for plugins +* by setting the environment variable SASL_PATH to the path +* the library should use. +******************************************************** diff --git a/mac-client-installer/resources/readme.txt b/mac-client-installer/resources/readme.txt new file mode 100644 index 0000000..7b53bc2 --- /dev/null +++ b/mac-client-installer/resources/readme.txt @@ -0,0 +1 @@ +hello this is a readme file -- 2.1.4