Check-in [4b8c40e52b]
Overview
Comment:Added tools for building CACKey on Mac OS X
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 4b8c40e52baa5b9847773bfb090107351e5fb945
User & Date: kvanals on 2010-07-12 15:46:03
Other Links: manifest | tags
Context
2010-07-12
15:54
Removed extraneous Mac OS X files check-in: e32e750733 user: rkeene tags: trunk
15:46
Added tools for building CACKey on Mac OS X check-in: 4b8c40e52b user: kvanals tags: trunk
2010-07-11
07:40
CACKey 0.5.15

Fixed issue with manually specifying header file path check-in: cae3768452 user: rkeene tags: trunk, 0.5.15

Changes

Added build/cackey_osx_build/._.DS_Store version [e7edb25d2e].

cannot compute difference between binary files

Added build/cackey_osx_build/._Leopard_pmbuild.pmdoc version [9c985a9498].

cannot compute difference between binary files

Added build/cackey_osx_build/._Panther_pmbuild.pmdoc version [9c985a9498].

cannot compute difference between binary files

Added build/cackey_osx_build/._SnowLeopard_pmbuild.pmdoc version [9c985a9498].

cannot compute difference between binary files

Added build/cackey_osx_build/._Tiger_pmbuild.pmdoc version [9c985a9498].

cannot compute difference between binary files

Added build/cackey_osx_build/Leopard_pmbuild.pmdoc/01libcackey-contents.xml version [d8ad66d6d3].



>
1
<pkg-contents spec="1.12"><f n="libcackey.dylib" o="kvanals" g="staff" p="33261" pt="/Users/kvanals/Desktop/cackey/release/cackey/macbuild/Leopard/libcackey.dylib" m="false" t="file"/></pkg-contents>

Added build/cackey_osx_build/Leopard_pmbuild.pmdoc/01libcackey.xml version [863f590f05].



>
1
<pkgref spec="1.12" uuid="E0C4023B-5D9C-4A6A-8855-14DBA17A436E"><config><identifier>mil.army.usace.cackeyForMacOsXLeopard.libcackey.pkg</identifier><version>1</version><description/><post-install type="none"/><requireAuthorization/><installFrom relative="true" mod="true">../cackey/macbuild/Leopard/libcackey.dylib</installFrom><installTo mod="true" relocatable="true">/Library/CACKey/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"/><mod>parent</mod><mod>relocatable</mod><mod>installTo.path</mod><mod>installFrom.path</mod><mod>installTo</mod></config><contents><file-list>01libcackey-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>

Added build/cackey_osx_build/Leopard_pmbuild.pmdoc/02libcackey-contents.xml version [cac64b5de1].



>
1
<pkg-contents spec="1.12"><f n="libcackey_g.dylib" o="kvanals" g="staff" p="33261" pt="/Users/kvanals/Desktop/cackey/release/cackey/macbuild/Leopard/libcackey_g.dylib" m="false" t="file"/></pkg-contents>

Added build/cackey_osx_build/Leopard_pmbuild.pmdoc/02libcackey.xml version [d5e30d7d0e].



>
1
<pkgref spec="1.12" uuid="EA4726BC-BC16-4BD1-A387-2E2165C5E7C9"><config><identifier>mil.army.usace.cackeyForMacOsXLeopard.libcackeyg.pkg</identifier><version>1</version><description/><post-install type="none"/><requireAuthorization/><installFrom relative="true" mod="true">../cackey/macbuild/Leopard/libcackey_g.dylib</installFrom><installTo mod="true" relocatable="true">/Library/CACKey/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"/><mod>parent</mod><mod>relocatable</mod><mod>installTo.path</mod><mod>installFrom.path</mod><mod>installTo</mod></config><contents><file-list>02libcackey-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>

Added build/cackey_osx_build/Leopard_pmbuild.pmdoc/index.xml version [baab5c1d09].

















































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<pkmkdoc spec="1.12"><properties><title>CACKey for Mac OS X Leopard</title><build>/Users/kvanals/Desktop/cackey/release/cackey-0.5.15/macbuild/pkg/cackey_leopard.pkg</build><organization>mil.army.usace</organization><userSees ui="both"/><min-target os="3"/><domain system="true"/></properties><distribution><versions min-spec="1.000000"/><scripts></scripts></distribution><description>CACKey</description><contents><choice title="libcackey" id="cackey" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="mil.army.usace.cackeyForMacOsXLeopard.libcackey.pkg"/></choice><choice title="libcackey_g" id="cackeydebug" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="mil.army.usace.cackeyForMacOsXLeopard.libcackeyg.pkg"/></choice></contents><resources bg-scale="none" bg-align="topleft"><locale lang="en"><resource mime-type="text/rtf" kind="embedded" type="license"><![CDATA[{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf540
{\fonttbl\f0\fnil\fcharset0 LucidaGrande;}
{\colortbl;\red255\green255\blue255;}
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural

\f0\fs26 \cf0 Release information:\
    pkg: CACKey\
 author: US Army Corps of Engineers\
contact: Roy Keene <roy.s.keene@usace.army.mil>\
         US Army Corps of Engineers\
         Information Technology Laboratory\
         Vicksburg, MS 39180\
------------------------------------------------\
\
The following files in the source directory are the intellectual property of the\
Free Software Foundation and are licensed under the terms of the GNU General\
Public License (GPL):\
	config.guess, config.sub, install-sh\
\
The files in the source directory and the "leakcheck" directory are the intellectual\
property of the United States Government.  It is not clear which, if any,\
license is made on them.  In addition, as of 07-JUN-2010 they have not be\
cleared for public release.\
\
The files in the "pkcs11/" directory are licensed under the terms of the\
following licenses:\
	mypkcs11.h : GNU General Public License 2.1.\
	pkcs11.h   : GNU General Public License 2.1.\
	pkcs11f.h  : GNU General Public License 2.1.\
	pkcs11n.h  : Mozilla Public License or GNU General Public License\
	pkcs11t.h  : GNU General Public License 2.1.}]]></resource><resource mime-type="text/rtf" kind="embedded" type="readme"><![CDATA[{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf540
{\fonttbl\f0\fnil\fcharset0 LucidaGrande;}
{\colortbl;\red255\green255\blue255;}
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural

\f0\fs26 \cf0 Thank you for choosing to install CACKey.\
\
To use CACKey, install /Library/CACKey/libcackey.dylib as a security module into any application that can use a PKCS#11 provider.\
\
A debug version, libcackey_g.dylib is provided if debug output is necessary.}]]></resource></locale></resources><requirements><requirement id="tosv" operator="lt" value="'10.6'"><message>This CACKey release requires Mac OS X 10.5.</message></requirement><requirement id="tosv" operator="ge" value="'10.5'"><message>This CACKey release requires Mac OS X 10.4.</message></requirement></requirements><flags/><item type="file">01libcackey.xml</item><item type="file">02libcackey.xml</item><mod>properties.customizeOption</mod><mod>properties.title</mod><mod>description</mod><mod>properties.systemDomain</mod><mod>properties.anywhereDomain</mod></pkmkdoc>

Added build/cackey_osx_build/Panther_pmbuild.pmdoc/01libcackey-contents.xml version [b3de51dbad].



>
1
<pkg-contents spec="1.12"><f n="libcackey.dylib" o="kvanals" g="staff" p="33261" pt="/Users/kvanals/Desktop/cackey/release/cackey/macbuild/Panther/libcackey.dylib" m="false" t="file"/></pkg-contents>

Added build/cackey_osx_build/Panther_pmbuild.pmdoc/01libcackey.xml version [e0493205fe].



>
1
<pkgref spec="1.12" uuid="C600D784-E505-4FE6-A6C0-F0F65D56B0D8"><config><identifier>mil.army.usace.cackeyForMacOsXPanther.libcackey.pkg</identifier><version>1</version><description></description><post-install type="none"/><requireAuthorization/><installFrom relative="true" mod="true">../cackey/macbuild/Panther/libcackey.dylib</installFrom><installTo mod="true" relocatable="true">/Library/CACKey/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>parent</mod><mod>installTo.isAbsoluteType</mod><mod>installTo.isRelativeType</mod><mod>relocatable</mod><mod>version</mod><mod>installTo.path</mod><mod>installFrom.path</mod><mod>installTo</mod></config><contents><file-list>01libcackey-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>

Added build/cackey_osx_build/Panther_pmbuild.pmdoc/02libcackey-contents.xml version [f90f09dc94].



>
1
<pkg-contents spec="1.12"><f n="libcackey_g.dylib" o="kvanals" g="staff" p="33261" pt="/Users/kvanals/Desktop/cackey/release/cackey/macbuild/Panther/libcackey_g.dylib" m="false" t="file"/></pkg-contents>

Added build/cackey_osx_build/Panther_pmbuild.pmdoc/02libcackey.xml version [5cd17bbe5c].



>
1
<pkgref spec="1.12" uuid="488A2642-E2C6-4E59-9DB0-B4C125EB1522"><config><identifier>mil.army.usace.cackeyForMacOsXPanther.libcackeyg.pkg</identifier><version>1</version><description></description><post-install type="none"/><requireAuthorization/><installFrom relative="true" mod="true">../cackey/macbuild/Panther/libcackey_g.dylib</installFrom><installTo mod="true" relocatable="true">/Library/CACKey/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>parent</mod><mod>relocatable</mod><mod>version</mod><mod>installTo.path</mod><mod>installFrom.path</mod><mod>installTo</mod></config><contents><file-list>02libcackey-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>

Added build/cackey_osx_build/Panther_pmbuild.pmdoc/index.xml version [a187d19a02].



















































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<pkmkdoc spec="1.12"><properties><title>CACKey for Mac OS X Panther</title><build>/Users/kvanals/Desktop/cackey/release/cackey-0.5.15/macbuild/pkg/CACKey_Panther.mpkg</build><organization>mil.army.usace</organization><userSees ui="both"/><min-target os="1"/><domain system="true"/></properties><distribution><versions min-spec="1.000000"/><scripts></scripts></distribution><description>CACKey</description><contents><choice title="libcackey" id="cackey" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="mil.army.usace.cackeyForMacOsXPanther.libcackey.pkg"/></choice><choice title="libcackey_g" id="cackeydebug" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="mil.army.usace.cackeyForMacOsXPanther.libcackeyg.pkg"/></choice></contents><resources bg-scale="none" bg-align="topleft"><locale lang="en"><resource mime-type="text/rtf" kind="embedded" type="license"><![CDATA[{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf540
{\fonttbl\f0\fnil\fcharset0 LucidaGrande;}
{\colortbl;\red255\green255\blue255;}
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural

\f0\fs26 \cf0 Release information:\
    pkg: CACKey\
 author: US Army Corps of Engineers\
contact: Roy Keene <roy.s.keene@usace.army.mil>\
         US Army Corps of Engineers\
         Information Technology Laboratory\
         Vicksburg, MS 39180\
------------------------------------------------\
\
The following files in the source directory are the intellectual property of the\
Free Software Foundation and are licensed under the terms of the GNU General\
Public License (GPL):\
	config.guess, config.sub, install-sh\
\
The files in the source directory and the "leakcheck" directory are the intellectual\
property of the United States Government.  It is not clear which, if any,\
license is made on them.  In addition, as of 07-JUN-2010 they have not be\
cleared for public release.\
\
The files in the "pkcs11/" directory are licensed under the terms of the\
following licenses:\
	mypkcs11.h : GNU General Public License 2.1.\
	pkcs11.h   : GNU General Public License 2.1.\
	pkcs11f.h  : GNU General Public License 2.1.\
	pkcs11n.h  : Mozilla Public License or GNU General Public License\
	pkcs11t.h  : GNU General Public License 2.1.\
}]]></resource><resource mime-type="text/rtf" kind="embedded" type="readme"><![CDATA[{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf540
{\fonttbl\f0\fnil\fcharset0 LucidaGrande;}
{\colortbl;\red255\green255\blue255;}
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural

\f0\fs26 \cf0 Thank you for choosing to install CACKey.\
\
To use CACKey, install /Library/CACKey/libcackey.dylib as a security module into any application that can use a PKCS#11 provider.\
\
A debug version, libcackey_g.dylib is provided if debug output is necessary.}]]></resource></locale></resources><flags/><item type="file">01libcackey.xml</item><item type="file">02libcackey.xml</item><mod>properties.customizeOption</mod><mod>properties.title</mod><mod>description</mod><mod>properties.systemDomain</mod><mod>properties.anywhereDomain</mod></pkmkdoc>

Added build/cackey_osx_build/SnowLeopard_pmbuild.pmdoc/01libcackey-contents.xml version [31d03b059f].



>
1
<pkg-contents spec="1.12"><f n="libcackey.dylib" o="kvanals" g="staff" p="33261" pt="/Users/kvanals/Desktop/cackey/release/cackey/macbuild/SnowLeopard/libcackey.dylib" m="false" t="file"/></pkg-contents>

Added build/cackey_osx_build/SnowLeopard_pmbuild.pmdoc/01libcackey.xml version [d728a291f0].



>
1
<pkgref spec="1.12" uuid="010A80A7-8A23-4C6C-86FB-07FAB90BE89A"><config><identifier>mil.army.usace.cackeyForMacOsXSnowLeopard.libcackey.pkg</identifier><version>1</version><description/><post-install type="none"/><requireAuthorization/><installFrom relative="true" mod="true">../cackey/macbuild/SnowLeopard/libcackey.dylib</installFrom><installTo mod="true" relocatable="true">/Library/CACKey/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"/><mod>parent</mod><mod>relocatable</mod><mod>installTo.path</mod><mod>installFrom.path</mod><mod>installTo</mod></config><contents><file-list>01libcackey-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>

Added build/cackey_osx_build/SnowLeopard_pmbuild.pmdoc/02libcackey-contents.xml version [3f41960cd6].



>
1
<pkg-contents spec="1.12"><f n="libcackey_g.dylib" o="kvanals" g="staff" p="33261" pt="/Users/kvanals/Desktop/cackey/release/cackey/macbuild/SnowLeopard/libcackey_g.dylib" m="false" t="file"/></pkg-contents>

Added build/cackey_osx_build/SnowLeopard_pmbuild.pmdoc/02libcackey.xml version [38a195b579].



>
1
<pkgref spec="1.12" uuid="40DE63F7-E529-4A52-AD8F-1193B60A17CD"><config><identifier>mil.army.usace.cackeyForMacOsXSnowLeopard.libcackeyg.pkg</identifier><version>1</version><description/><post-install type="none"/><requireAuthorization/><installFrom relative="true" mod="true">../cackey/macbuild/SnowLeopard/libcackey_g.dylib</installFrom><installTo mod="true" relocatable="true">/Library/CACKey/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"/><mod>parent</mod><mod>relocatable</mod><mod>installTo.path</mod><mod>installFrom.path</mod><mod>installTo</mod></config><contents><file-list>02libcackey-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>

Added build/cackey_osx_build/SnowLeopard_pmbuild.pmdoc/index.xml version [d608bf2796].

















































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<pkmkdoc spec="1.12"><properties><title>CACKey for Mac OS X Snow Leopard</title><organization>mil.army.usace</organization><userSees ui="both"/><min-target os="3"/><domain system="true"/></properties><distribution><versions min-spec="1.000000"/><scripts></scripts></distribution><contents><choice title="libcackey" id="cackey" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="mil.army.usace.cackeyForMacOsXSnowLeopard.libcackey.pkg"/></choice><choice title="libcackey_g" id="cackeydebug" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="mil.army.usace.cackeyForMacOsXSnowLeopard.libcackeyg.pkg"/></choice></contents><resources bg-scale="none" bg-align="topleft"><locale lang="en"><resource mime-type="text/rtf" kind="embedded" type="license"><![CDATA[{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf540
{\fonttbl\f0\fnil\fcharset0 LucidaGrande;}
{\colortbl;\red255\green255\blue255;}
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural

\f0\fs26 \cf0 Release information:\
    pkg: CACKey\
 author: US Army Corps of Engineers\
contact: Roy Keene <roy.s.keene@usace.army.mil>\
         US Army Corps of Engineers\
         Information Technology Laboratory\
         Vicksburg, MS 39180\
------------------------------------------------\
\
The following files in the source directory are the intellectual property of the\
Free Software Foundation and are licensed under the terms of the GNU General\
Public License (GPL):\
	config.guess, config.sub, install-sh\
\
The files in the source directory and the "leakcheck" directory are the intellectual\
property of the United States Government.  It is not clear which, if any,\
license is made on them.  In addition, as of 07-JUN-2010 they have not be\
cleared for public release.\
\
The files in the "pkcs11/" directory are licensed under the terms of the\
following licenses:\
	mypkcs11.h : GNU General Public License 2.1.\
	pkcs11.h   : GNU General Public License 2.1.\
	pkcs11f.h  : GNU General Public License 2.1.\
	pkcs11n.h  : Mozilla Public License or GNU General Public License\
	pkcs11t.h  : GNU General Public License 2.1.}]]></resource><resource mime-type="text/rtf" kind="embedded" type="readme"><![CDATA[{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf540
{\fonttbl\f0\fnil\fcharset0 LucidaGrande;}
{\colortbl;\red255\green255\blue255;}
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural

\f0\fs26 \cf0 Thank you for choosing to install CACKey.\
\
To use CACKey, install /Library/CACKey/libcackey.dylib as a security module into any application that can use a PKCS#11 provider.\
\
A debug version, libcackey_g.dylib is provided if debug output is necessary.}]]></resource></locale></resources><requirements><requirement id="tosv" operator="lt" value="'10.7'"><message>This CACKey release requires Mac OS X 10.6.</message></requirement><requirement id="tosv" operator="ge" value="'10.6'"><message>This CACKey release requires Mac OS X 10.6.</message></requirement></requirements><flags/><item type="file">01libcackey.xml</item><item type="file">02libcackey.xml</item><mod>properties.customizeOption</mod><mod>properties.userDomain</mod><mod>properties.title</mod><mod>properties.systemDomain</mod><mod>properties.anywhereDomain</mod></pkmkdoc>

Added build/cackey_osx_build/Tiger_pmbuild.pmdoc/01libcackey-contents.xml version [34e4c0e749].



>
1
<pkg-contents spec="1.12"><f n="libcackey.dylib" o="kvanals" g="staff" p="33261" pt="/Users/kvanals/Desktop/cackey/release/cackey/macbuild/Tiger/libcackey.dylib" m="false" t="file"/></pkg-contents>

Added build/cackey_osx_build/Tiger_pmbuild.pmdoc/01libcackey.xml version [5d58147ffb].



>
1
<pkgref spec="1.12" uuid="0053AD09-FC44-4658-8239-DAE1C0CE3874"><config><identifier>mil.army.usace.cackeyForMacOsXTiger.libcackey.pkg</identifier><version>1</version><description/><post-install type="none"/><requireAuthorization/><installFrom relative="true" mod="true">../cackey/macbuild/Tiger/libcackey.dylib</installFrom><installTo mod="true" relocatable="true">/Library/CACKey/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"/><mod>parent</mod><mod>relocatable</mod><mod>installTo.path</mod><mod>installFrom.path</mod><mod>installTo</mod></config><contents><file-list>01libcackey-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>

Added build/cackey_osx_build/Tiger_pmbuild.pmdoc/02libcackey-contents.xml version [0b8b573c21].



>
1
<pkg-contents spec="1.12"><f n="libcackey_g.dylib" o="kvanals" g="staff" p="33261" pt="/Users/kvanals/Desktop/cackey/release/cackey/macbuild/Tiger/libcackey_g.dylib" m="false" t="file"/></pkg-contents>

Added build/cackey_osx_build/Tiger_pmbuild.pmdoc/02libcackey.xml version [7ed08c1b0e].



>
1
<pkgref spec="1.12" uuid="FDF62936-7E3E-4AC3-8D34-3D1A41FE940D"><config><identifier>mil.army.usace.cackeyForMacOsXTiger.libcackeyg.pkg</identifier><version>1</version><description/><post-install type="none"/><requireAuthorization/><installFrom relative="true" mod="true">../cackey/macbuild/Tiger/libcackey_g.dylib</installFrom><installTo mod="true" relocatable="true">/Library/CACKey/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"/><mod>parent</mod><mod>relocatable</mod><mod>installTo.path</mod><mod>installFrom.path</mod><mod>installTo</mod></config><contents><file-list>02libcackey-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>

Added build/cackey_osx_build/Tiger_pmbuild.pmdoc/index.xml version [cfa54c369f].

















































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<pkmkdoc spec="1.12"><properties><title>CACKey for Mac OS X Tiger</title><build>/Users/kvanals/Desktop/cackey/release/cackey-0.5.15/macbuild/pkg/cackey_tiger.mpkg</build><organization>mil.army.usace</organization><userSees ui="both"/><min-target os="2"/><domain system="true"/></properties><distribution><versions min-spec="1.000000"/><scripts></scripts></distribution><description>CACKey</description><contents><choice title="libcackey" id="cackey" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="mil.army.usace.cackeyForMacOsXTiger.libcackey.pkg"/></choice><choice title="libcackey_g" id="cackeydebug" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="mil.army.usace.cackeyForMacOsXTiger.libcackeyg.pkg"/></choice></contents><resources bg-scale="none" bg-align="topleft"><locale lang="en"><resource mime-type="text/rtf" kind="embedded" type="license"><![CDATA[{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf540
{\fonttbl\f0\fnil\fcharset0 LucidaGrande;}
{\colortbl;\red255\green255\blue255;}
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural

\f0\fs26 \cf0 Release information:\
    pkg: CACKey\
 author: US Army Corps of Engineers\
contact: Roy Keene <roy.s.keene@usace.army.mil>\
         US Army Corps of Engineers\
         Information Technology Laboratory\
         Vicksburg, MS 39180\
------------------------------------------------\
\
The following files in the source directory are the intellectual property of the\
Free Software Foundation and are licensed under the terms of the GNU General\
Public License (GPL):\
	config.guess, config.sub, install-sh\
\
The files in the source directory and the "leakcheck" directory are the intellectual\
property of the United States Government.  It is not clear which, if any,\
license is made on them.  In addition, as of 07-JUN-2010 they have not be\
cleared for public release.\
\
The files in the "pkcs11/" directory are licensed under the terms of the\
following licenses:\
	mypkcs11.h : GNU General Public License 2.1.\
	pkcs11.h   : GNU General Public License 2.1.\
	pkcs11f.h  : GNU General Public License 2.1.\
	pkcs11n.h  : Mozilla Public License or GNU General Public License\
	pkcs11t.h  : GNU General Public License 2.1.}]]></resource><resource mime-type="text/rtf" kind="embedded" type="readme"><![CDATA[{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf540
{\fonttbl\f0\fnil\fcharset0 LucidaGrande;}
{\colortbl;\red255\green255\blue255;}
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural

\f0\fs26 \cf0 Thank you for choosing to install CACKey.\
\
To use CACKey, install /Library/CACKey/libcackey.dylib as a security module into any application that can use a PKCS#11 provider.\
\
A debug version, libcackey_g.dylib is provided if debug output is necessary.}]]></resource></locale></resources><requirements><requirement id="tosv" operator="lt" value="'10.5'"><message>This CACKey release requires Mac OS X 10.4.</message></requirement><requirement id="tosv" operator="ge" value="'10.4'"><message>This CACKey release requires Mac OS X 10.4.</message></requirement></requirements><flags/><item type="file">01libcackey.xml</item><item type="file">02libcackey.xml</item><mod>properties.customizeOption</mod><mod>properties.title</mod><mod>description</mod><mod>properties.systemDomain</mod><mod>properties.anywhereDomain</mod></pkmkdoc>

Added build/cackey_osx_build/build_osx.sh version [97df0b6e0a].







































































































































































































































































































































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
#!/bin/bash
# Shell Script to make Mac OS X Releases of CACKey
# Kenneth Van Alstyne
# kenneth.l.vanalstyne@usace.army.mil
# 20100711

# Usage function
usage() {
	echo "Usage: build_osx.sh <target>"
	echo Where target is one of:
	echo "    panther  - (Builds 10.3 Library for PPCG3)"
	echo "    tiger  - (Builds Universal 10.4 Library for PPCG3/i386)"
	echo "    leopard  - (Builds Universal 10.5 Library for PPCG4/i386)"
	echo "    snowleopard  - (Builds Universal 10.6 Library for i386/x86_64)"
	echo "    all - (Builds for all supported targets)"
	echo "    clean - (Cleans up)"
	echo "Run from CACKey Build Root."
	echo "CACKey Build Root Directory MUST be named 'cackey'"
	exit $?
}

# Clean up function
clean() {
	rm -rf macbuild
	make distclean
}

# Directory creation function
makedir() {
	if [ ! -d macbuild ]; then
		mkdir macbuild
		mkdir macbuild/Panther
		mkdir macbuild/Tiger
		mkdir macbuild/Leopard
		mkdir macbuild/SnowLeopard
		mkdir macbuild/pkg
	fi
}

# Build function for Panther
panther() {
	makedir
	HEADERS=/Developer/SDKs/MacOSX10.3.9.sdk/System/Library/Frameworks/PCSC.framework/Versions/A/Headers/
	LIBRARY=/Developer/SDKs/MacOSX10.3.9.sdk/System/Library/Frameworks/PCSC.framework/PCSC
	OSX=Panther
	HOST=powerpc-apple-darwin7
	make distclean
	ARCH="ppc -mcpu=G3"
	CFLAGS="-arch ${ARCH}" ./configure --with-pcsc-headers=${HEADERS} --with-pcsc-libs=${LIBRARY} --host=${HOST}
	make
	cp libcackey.dylib macbuild/${OSX}/libcackey.dylib
	cp libcackey_g.dylib macbuild/${OSX}/libcackey_g.dylib
	pkgbuild
}

# Build function for Tiger
tiger() {
	makedir
	HEADERS=/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/PCSC.framework/Versions/A/Headers/
	LIBRARY=/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/PCSC.framework/PCSC
	LIB=""
	ARCHLIST=""
	DLIB=""
	DARCHLIST=""
	OSX=Tiger
	for HOST in powerpc-apple-darwin8 i386-apple-darwin8; do
		genbuild
	done
	libbuild
	pkgbuild
}

# Build function for Leopard
leopard() {
	makedir
	HEADERS=/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/PCSC.framework/Versions/A/Headers/
	LIBRARY=/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/PCSC.framework/PCSC
	LIB=""
	ARCHLIST=""
	DLIB=""
	DARCHLIST=""
	OSX=Leopard
	for HOST in powerpc-apple-darwin9 i386-apple-darwin9; do
		genbuild
	done
	libbuild
	pkgbuild
}

# Build function for Snow Leopard
snowleopard() {
	makedir
	HEADERS=/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/PCSC.framework/Versions/A/Headers/
	LIBRARY=/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/PCSC.framework/PCSC
	LIB=""
	ARCHLIST=""
	DLIB=""
	DARCHLIST=""
	OSX=SnowLeopard
	for HOST in i386-apple-darwin10 x86_64-apple-darwin10; do
		genbuild
	done
	libbuild
	pkgbuild
}

# Generic build function
genbuild() {
	make distclean
	ARCH=`echo ${HOST} | cut -d "-" -f 1`
	if [ ${ARCH} == "powerpc" ]; then
		if [ ${OSX} == "Leopard" ]; then
			ARCH="ppc -mcpu=G4"
		else
			ARCH="ppc -mcpu=G3"
		fi
	fi
	CFLAGS="-arch ${ARCH}" ./configure --with-pcsc-headers=${HEADERS} --with-pcsc-libs=${LIBRARY} --host=${HOST}
	make
	cp libcackey.dylib macbuild/${OSX}/libcackey.dylib.`echo ${ARCH} | cut -d ' ' -f 1`
	cp libcackey_g.dylib macbuild/${OSX}/libcackey_g.dylib.`echo ${ARCH} | cut -d ' ' -f 1` 
}

# Library build function
libbuild() {
	for LIB in macbuild/${OSX}/libcackey.dylib.*; do
		ARCHLIST="${ARCHLIST} `echo '-arch '` `echo ${LIB} | cut -d . -f 3` `echo ' '` `echo ${LIB}`"
	done
	lipo -create ${ARCHLIST} -output macbuild/${OSX}/libcackey.dylib
	for DLIB in macbuild/${OSX}/libcackey_g.dylib.*; do
		DARCHLIST="${DARCHLIST} `echo '-arch '` `echo ${DLIB} | cut -d . -f 3` `echo ' '` `echo ${DLIB}`"
	done
	lipo -create ${DARCHLIST} -output macbuild/${OSX}/libcackey_g.dylib
	rm macbuild/${OSX}/libcackey*.dylib.*
}

# Function to build Mac OS X Packages
pkgbuild() {
	if [ ${OSX} == "Panther" ]; then
		EXT=mpkg
	else
		EXT=pkg
	fi
	/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker -d ../cackey_osx_build/${OSX}_pmbuild.pmdoc -o macbuild/pkg/CACKey_${OSX}.${EXT}
	tar --create --directory macbuild/pkg/ --file macbuild/pkg/CACKey_${OSX}.${EXT}.tar CACKey_${OSX}.${EXT}
	gzip -9 macbuild/pkg/CACKey_${OSX}.${EXT}.tar
	rm -rf macbuild/pkg/CACKey_${OSX}.${EXT}
	echo "${OSX} build complete"
}

# Take command line arguments and execute
case "$1" in
	"")
		usage
		exit $?
	;;

	"panther")
		panther
		exit $?
	;;

	"tiger")
		tiger
		exit $?
	;;

	"leopard")
		leopard
		exit $?
	;;

	"snowleopard")
		snowleopard
		exit $?
	;;

	"all")
		panther
		tiger
		leopard
		snowleopard
		exit $?
	;;

	"clean")
		clean
		exit $?
	;;

	*)
		usage
		exit $?
	;;
esac