Index: build/cackey_osx_build/Leopard_pmbuild.pmdoc/01libcackey.xml ================================================================== --- build/cackey_osx_build/Leopard_pmbuild.pmdoc/01libcackey.xml +++ build/cackey_osx_build/Leopard_pmbuild.pmdoc/01libcackey.xml @@ -1,1 +1,29 @@ -mil.army.usace.cackeyForMacOsXLeopard.libcackey.pkg1../../macbuild/Leopard/libcackey.dylib/Library/CACKey/parentscripts.postinstall.pathrelocatableinstallTo.pathinstallFrom.pathinstallTo01libcackey-contents.xml/CVS$/\.svn$/\.cvsignore$/\.cvspass$/\.DS_Store$ + + + mil.army.usace.cackeyForMacOsXLeopard.libcackey.pkg + 1 + + + + ../../macbuild/Leopard/libcackey.dylib + /Library/CACKey/ + + + + + parent + scripts.postinstall.path + relocatable + installTo.path + installFrom.path + installTo + + + 01libcackey-contents.xml + /CVS$ + /\.svn$ + /\.cvsignore$ + /\.cvspass$ + /\.DS_Store$ + + Index: build/cackey_osx_build/Leopard_pmbuild.pmdoc/02libcackey.xml ================================================================== --- build/cackey_osx_build/Leopard_pmbuild.pmdoc/02libcackey.xml +++ build/cackey_osx_build/Leopard_pmbuild.pmdoc/02libcackey.xml @@ -1,1 +1,29 @@ -mil.army.usace.cackeyForMacOsXLeopard.libcackeyg.pkg1../../macbuild/Leopard/libcackey_g.dylib/Library/CACKey/parentscripts.postinstall.pathrelocatableinstallTo.pathinstallFrom.pathinstallTo02libcackey-contents.xml/CVS$/\.svn$/\.cvsignore$/\.cvspass$/\.DS_Store$ + + + mil.army.usace.cackeyForMacOsXLeopard.libcackeyg.pkg + 1 + + + + ../../macbuild/Leopard/libcackey_g.dylib + /Library/CACKey/ + + + + + parent + scripts.postinstall.path + relocatable + installTo.path + installFrom.path + installTo + + + 02libcackey-contents.xml + /CVS$ + /\.svn$ + /\.cvsignore$ + /\.cvspass$ + /\.DS_Store$ + + Index: build/cackey_osx_build/Leopard_pmbuild.pmdoc/index.xml ================================================================== --- build/cackey_osx_build/Leopard_pmbuild.pmdoc/index.xml +++ build/cackey_osx_build/Leopard_pmbuild.pmdoc/index.xml @@ -1,17 +1,44 @@ -CACKey for Mac OS X Leopard/Users/kvanals/Desktop/cackey/release/cackey-0.5.15/macbuild/pkg/cackey_leopard.pkgmil.army.usaceCACKey + + CACKey for Mac OS X Leopard + /Users/kvanals/Desktop/cackey/release/cackey-0.5.15/macbuild/pkg/cackey_leopard.pkg + mil.army.usace + + + + + + + + + CACKey + + + + + + + + + + + + + \ + US Army Corps of Engineers\ + Information Technology Laboratory\ + Vicksburg, MS 39180\ contact: Roy Keene \ - 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):\ @@ -26,15 +53,40 @@ 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.}]]> + + + This CACKey release requires Mac OS X 10.5.This CACKey release requires Mac OS X 10.5.01libcackey.xml02libcackey.xmlproperties.customizeOptionproperties.titledescriptionproperties.systemDomainproperties.anywhereDomain +A debug version, /Library/CACKey/libcackey_g.dylib is provided if debug output is necessary.}]]> + + + + + + This CACKey release requires Mac OS X 10.5. + + + This CACKey release requires Mac OS X 10.5. + + + + 01libcackey.xml + 02libcackey.xml + 03libcackey.xml + properties.customizeOption + properties.title + description + properties.systemDomain + properties.anywhereDomain + Index: build/cackey_osx_build/Panther_pmbuild.pmdoc/01libcackey.xml ================================================================== --- build/cackey_osx_build/Panther_pmbuild.pmdoc/01libcackey.xml +++ build/cackey_osx_build/Panther_pmbuild.pmdoc/01libcackey.xml @@ -1,1 +1,33 @@ -mil.army.usace.cackeyForMacOsXPanther.libcackey.pkg1../../macbuild/Panther/libcackey.dylib/Library/CACKey/parentscripts.postinstall.pathinstallTo.isAbsoluteTypeinstallTo.isRelativeTypescripts.postflight.pathrelocatableversioninstallTo.pathinstallFrom.pathinstallTo01libcackey-contents.xml/CVS$/\.svn$/\.cvsignore$/\.cvspass$/\.DS_Store$ + + + mil.army.usace.cackeyForMacOsXPanther.libcackey.pkg + 1 + + + + ../../macbuild/Panther/libcackey.dylib + /Library/CACKey/ + + + + + parent + scripts.postinstall.path + installTo.isAbsoluteType + installTo.isRelativeType + scripts.postflight.path + relocatable + version + installTo.path + installFrom.path + installTo + + + 01libcackey-contents.xml + /CVS$ + /\.svn$ + /\.cvsignore$ + /\.cvspass$ + /\.DS_Store$ + + Index: build/cackey_osx_build/Panther_pmbuild.pmdoc/02libcackey.xml ================================================================== --- build/cackey_osx_build/Panther_pmbuild.pmdoc/02libcackey.xml +++ build/cackey_osx_build/Panther_pmbuild.pmdoc/02libcackey.xml @@ -1,1 +1,30 @@ -mil.army.usace.cackeyForMacOsXPanther.libcackeyg.pkg1../../macbuild/Panther/libcackey_g.dylib/Library/CACKey/parentscripts.postinstall.pathrelocatableversioninstallTo.pathinstallFrom.pathinstallTo02libcackey-contents.xml/CVS$/\.svn$/\.cvsignore$/\.cvspass$/\.DS_Store$ + + + mil.army.usace.cackeyForMacOsXPanther.libcackeyg.pkg + 1 + + + + ../../macbuild/Panther/libcackey_g.dylib + /Library/CACKey/ + + + + + parent + scripts.postinstall.path + relocatable + version + installTo.path + installFrom.path + installTo + + + 02libcackey-contents.xml + /CVS$ + /\.svn$ + /\.cvsignore$ + /\.cvspass$ + /\.DS_Store$ + + Index: build/cackey_osx_build/Panther_pmbuild.pmdoc/index.xml ================================================================== --- build/cackey_osx_build/Panther_pmbuild.pmdoc/index.xml +++ build/cackey_osx_build/Panther_pmbuild.pmdoc/index.xml @@ -1,17 +1,44 @@ -CACKey for Mac OS X Panther/Users/kvanals/Desktop/cackey/release/cackey-0.5.15/macbuild/pkg/CACKey_Panther.mpkgmil.army.usaceCACKey + + CACKey for Mac OS X Panther + /Users/kvanals/Desktop/cackey/release/cackey-0.5.15/macbuild/pkg/CACKey_Panther.mpkg + mil.army.usace + + + + + + + + + CACKey + + + + + + + + + + + + + \ + US Army Corps of Engineers\ + Information Technology Laboratory\ + Vicksburg, MS 39180\ contact: Roy Keene \ - 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):\ @@ -26,16 +53,32 @@ 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.\ -}]]> + + + 01libcackey.xml02libcackey.xmlproperties.customizeOptionproperties.titledescriptionproperties.systemDomainproperties.anywhereDomain +A debug version, /Library/CACKey/libcackey_g.dylib is provided if debug output is necessary.}]]> + + + + + 01libcackey.xml + 02libcackey.xml + 03libcackey.xml + properties.customizeOption + properties.title + description + properties.systemDomain + properties.anywhereDomain + Index: build/cackey_osx_build/SnowLeopard_pmbuild.pmdoc/01libcackey.xml ================================================================== --- build/cackey_osx_build/SnowLeopard_pmbuild.pmdoc/01libcackey.xml +++ build/cackey_osx_build/SnowLeopard_pmbuild.pmdoc/01libcackey.xml @@ -1,1 +1,29 @@ -mil.army.usace.cackeyForMacOsXSnowLeopard.libcackey.pkg1../../macbuild/SnowLeopard/libcackey.dylib/Library/CACKey/parentscripts.postinstall.pathrelocatableinstallTo.pathinstallFrom.pathinstallTo01libcackey-contents.xml/CVS$/\.svn$/\.cvsignore$/\.cvspass$/\.DS_Store$ + + + mil.army.usace.cackeyForMacOsXSnowLeopard.libcackey.pkg + 1 + + + + ../../macbuild/SnowLeopard/libcackey.dylib + /Library/CACKey/ + + + + + parent + scripts.postinstall.pathi + relocatable + installTo.path + installFrom.path + installTo + + + 01libcackey-contents.xml + /CVS$ + /\.svn$ + /\.cvsignore$ + /\.cvspass$ + /\.DS_Store$ + + Index: build/cackey_osx_build/SnowLeopard_pmbuild.pmdoc/02libcackey.xml ================================================================== --- build/cackey_osx_build/SnowLeopard_pmbuild.pmdoc/02libcackey.xml +++ build/cackey_osx_build/SnowLeopard_pmbuild.pmdoc/02libcackey.xml @@ -1,1 +1,29 @@ -mil.army.usace.cackeyForMacOsXSnowLeopard.libcackeyg.pkg1../../macbuild/SnowLeopard/libcackey_g.dylib/Library/CACKey/parentscripts.postinstall.pathrelocatableinstallTo.pathinstallFrom.pathinstallTo02libcackey-contents.xml/CVS$/\.svn$/\.cvsignore$/\.cvspass$/\.DS_Store$ + + + mil.army.usace.cackeyForMacOsXSnowLeopard.libcackeyg.pkg + 1 + + + + ../../macbuild/SnowLeopard/libcackey_g.dylib + /Library/CACKey/ + + + + + parent + scripts.postinstall.path + relocatable + installTo.path + installFrom.path + installTo + + + 02libcackey-contents.xml + /CVS$ + /\.svn$ + /\.cvsignore$ + /\.cvspass$ + /\.DS_Store$ + + Index: build/cackey_osx_build/SnowLeopard_pmbuild.pmdoc/index.xml ================================================================== --- build/cackey_osx_build/SnowLeopard_pmbuild.pmdoc/index.xml +++ build/cackey_osx_build/SnowLeopard_pmbuild.pmdoc/index.xml @@ -1,17 +1,42 @@ -CACKey for Mac OS X Snow Leopardmil.army.usace + + CACKey for Mac OS X Snow Leopard + mil.army.usace + + + + + + + + + + + + + + + + + + + + + \ + US Army Corps of Engineers\ + Information Technology Laboratory\ + Vicksburg, MS 39180\ contact: Roy Keene \ - 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):\ @@ -26,15 +51,40 @@ 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.}]]> + + + This CACKey release requires Mac OS X 10.6.This CACKey release requires Mac OS X 10.6.01libcackey.xml02libcackey.xmlproperties.customizeOptionproperties.userDomainproperties.titleproperties.systemDomainproperties.anywhereDomain +A debug version, /Library/CACKey/libcackey_g.dylib is provided if debug output is necessary.}]]> + + + + + + This CACKey release requires Mac OS X 10.6. + + + This CACKey release requires Mac OS X 10.6. + + + + 01libcackey.xml + 02libcackey.xml + 03libcackey.xml + properties.customizeOption + properties.userDomain + properties.title + properties.systemDomain + properties.anywhereDomain + Index: build/cackey_osx_build/Tiger_pmbuild.pmdoc/01libcackey.xml ================================================================== --- build/cackey_osx_build/Tiger_pmbuild.pmdoc/01libcackey.xml +++ build/cackey_osx_build/Tiger_pmbuild.pmdoc/01libcackey.xml @@ -1,1 +1,29 @@ -mil.army.usace.cackeyForMacOsXTiger.libcackey.pkg1../../macbuild/Tiger/libcackey.dylib/Library/CACKey/parentscripts.postinstall.pathrelocatableinstallTo.pathinstallFrom.pathinstallTo01libcackey-contents.xml/CVS$/\.svn$/\.cvsignore$/\.cvspass$/\.DS_Store$ + + + mil.army.usace.cackeyForMacOsXTiger.libcackey.pkg + 1 + + + + ../../macbuild/Tiger/libcackey.dylib + /Library/CACKey/ + + + + + parent + scripts.postinstall.path + relocatable + installTo.path + installFrom.path + installTo + + + 01libcackey-contents.xml + /CVS$ + /\.svn$ + /\.cvsignore$ + /\.cvspass$ + /\.DS_Store$ + + Index: build/cackey_osx_build/Tiger_pmbuild.pmdoc/02libcackey.xml ================================================================== --- build/cackey_osx_build/Tiger_pmbuild.pmdoc/02libcackey.xml +++ build/cackey_osx_build/Tiger_pmbuild.pmdoc/02libcackey.xml @@ -1,1 +1,29 @@ -mil.army.usace.cackeyForMacOsXTiger.libcackeyg.pkg1../../macbuild/Tiger/libcackey_g.dylib/Library/CACKey/parentscripts.postinstall.pathrelocatableinstallTo.pathinstallFrom.pathinstallTo02libcackey-contents.xml/CVS$/\.svn$/\.cvsignore$/\.cvspass$/\.DS_Store$ + + + mil.army.usace.cackeyForMacOsXTiger.libcackeyg.pkg + 1 + + + + ../../macbuild/Tiger/libcackey_g.dylib + /Library/CACKey/ + + + + + parent + scripts.postinstall.path + relocatable + installTo.path + installFrom.path + installTo + + + 02libcackey-contents.xml + /CVS$ + /\.svn$ + /\.cvsignore$ + /\.cvspass$ + /\.DS_Store$ + + Index: build/cackey_osx_build/Tiger_pmbuild.pmdoc/index.xml ================================================================== --- build/cackey_osx_build/Tiger_pmbuild.pmdoc/index.xml +++ build/cackey_osx_build/Tiger_pmbuild.pmdoc/index.xml @@ -1,17 +1,44 @@ -CACKey for Mac OS X Tiger/Users/kvanals/Desktop/cackey/release/cackey-0.5.15/macbuild/pkg/cackey_tiger.mpkgmil.army.usaceCACKey + + CACKey for Mac OS X Tiger + /Users/kvanals/Desktop/cackey/release/cackey-0.5.15/macbuild/pkg/cackey_tiger.mpkg + mil.army.usace + + + + + + + + + CACKey + + + + + + + + + + + + + \ + US Army Corps of Engineers\ + Information Technology Laboratory\ + Vicksburg, MS 39180\ contact: Roy Keene \ - 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):\ @@ -26,15 +53,40 @@ 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.}]]> + + + This CACKey release requires Mac OS X 10.4.This CACKey release requires Mac OS X 10.4.01libcackey.xml02libcackey.xmlproperties.customizeOptionproperties.titledescriptionproperties.systemDomainproperties.anywhereDomain +A debug version, /Library/CACKey/libcackey_g.dylib is provided if debug output is necessary.}]]> + + + + + + This CACKey release requires Mac OS X 10.4. + + + This CACKey release requires Mac OS X 10.4. + + + + 01libcackey.xml + 02libcackey.xml + 03libcackey.xml + properties.customizeOption + properties.title + description + properties.systemDomain + properties.anywhereDomain + Index: build/cackey_osx_build/build_osx.sh ================================================================== --- build/cackey_osx_build/build_osx.sh +++ build/cackey_osx_build/build_osx.sh @@ -1,10 +1,11 @@ #!/bin/bash # Shell Script to make Mac OS X Releases of CACKey # Kenneth Van Alstyne # kenneth.l.vanalstyne@usace.army.mil # 20100712 +CACKEY_VERSION=`cat configure.ac | grep AC_INIT | cut -d " " -f 2 | sed 's_)__'` # Usage function usage() { echo "Usage: build_osx.sh " echo Where target is one of: @@ -18,10 +19,15 @@ exit $? } # Clean up function clean() { + for PMDOC in build/cackey_osx_build/*_pmbuild.pmdoc/*.in; do + PMDOC="`echo "${PMDOC}" | sed 's_.in__g'`" + rm -f "${PMDOC}" + done + rm -f build/cackey_osx_build/cackey.dylib rm -rf macbuild make distclean } # Directory creation function @@ -142,19 +148,26 @@ rm macbuild/${OSX}/libcackey*.dylib.* } # Function to build Mac OS X Packages pkgbuild() { + rm -f build/cackey_osx_build/cackey.dylib + ln macbuild/${OSX}/libcackey.dylib build/cackey_osx_build/cackey.dylib + for PMDOC in build/cackey_osx_build/${OSX}_pmbuild.pmdoc/*.in; do + PMDOC="`echo "${PMDOC}" | sed 's_.in__g'`" + sed "s|@@BUILDROOTDIR@@|$(pwd)|g" ${PMDOC}.in > ${PMDOC} + done if [ ${OSX} == "Panther" ]; then EXT=mpkg else EXT=pkg fi - /Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker -d build/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} + /Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker -d build/cackey_osx_build/${OSX}_pmbuild.pmdoc -o macbuild/pkg/CACKey_${CACKEY_VERSION}_${OSX}.${EXT} + tar --create --directory macbuild/pkg/ --file macbuild/pkg/CACKey_${CACKEY_VERSION}_${OSX}.${EXT}.tar CACKey_${CACKEY_VERSION}_${OSX}.${EXT} + gzip -9 macbuild/pkg/CACKey_${CACKEY_VERSION}_${OSX}.${EXT}.tar + rm -rf macbuild/pkg/CACKey_${CACKEY_VERSION}_${OSX}.${EXT} + rm -f build/cackey_osx_build/cackey.dylib echo "${OSX} build complete" } # Take command line arguments and execute case "$1" in