ADDED build/cackey_osx_build/Template_pmbuild.pmdoc/01libcackey-contents.xml.in Index: build/cackey_osx_build/Template_pmbuild.pmdoc/01libcackey-contents.xml.in ================================================================== --- /dev/null +++ build/cackey_osx_build/Template_pmbuild.pmdoc/01libcackey-contents.xml.in @@ -0,0 +1,6 @@ + + + owner + group + + ADDED build/cackey_osx_build/Template_pmbuild.pmdoc/01libcackey.xml.in Index: build/cackey_osx_build/Template_pmbuild.pmdoc/01libcackey.xml.in ================================================================== --- /dev/null +++ build/cackey_osx_build/Template_pmbuild.pmdoc/01libcackey.xml.in @@ -0,0 +1,29 @@ + + + mil.army.usace.cackeyForMacOsX@@OSXVERSION@@.libcackey.pkg + 1 + + + + ../../macbuild/@@OSXVERSION@@/libcackey.dylib + /Library/CACKey/ + + + + + parent + scripts.postinstall.path + relocatable + installTo.path + installFrom.path + installTo + + + 01libcackey-contents.xml + /CVS$ + /\.svn$ + /\.cvsignore$ + /\.cvspass$ + /\.DS_Store$ + + ADDED build/cackey_osx_build/Template_pmbuild.pmdoc/02libcackey-contents.xml.in Index: build/cackey_osx_build/Template_pmbuild.pmdoc/02libcackey-contents.xml.in ================================================================== --- /dev/null +++ build/cackey_osx_build/Template_pmbuild.pmdoc/02libcackey-contents.xml.in @@ -0,0 +1,6 @@ + + + owner + group + + ADDED build/cackey_osx_build/Template_pmbuild.pmdoc/02libcackey.xml.in Index: build/cackey_osx_build/Template_pmbuild.pmdoc/02libcackey.xml.in ================================================================== --- /dev/null +++ build/cackey_osx_build/Template_pmbuild.pmdoc/02libcackey.xml.in @@ -0,0 +1,29 @@ + + + mil.army.usace.cackeyForMacOsX@@OSXVERSION@@.libcackeyg.pkg + 1 + + + + ../../macbuild/@@OSXVERSION@@/libcackey_g.dylib + /Library/CACKey/ + + + + + parent + scripts.postinstall.path + relocatable + installTo.path + installFrom.path + installTo + + + 02libcackey-contents.xml + /CVS$ + /\.svn$ + /\.cvsignore$ + /\.cvspass$ + /\.DS_Store$ + + ADDED build/cackey_osx_build/Template_pmbuild.pmdoc/03libcackey-contents.xml.in Index: build/cackey_osx_build/Template_pmbuild.pmdoc/03libcackey-contents.xml.in ================================================================== --- /dev/null +++ build/cackey_osx_build/Template_pmbuild.pmdoc/03libcackey-contents.xml.in @@ -0,0 +1,7 @@ + + + owner + mode + group + + ADDED build/cackey_osx_build/Template_pmbuild.pmdoc/03libcackey.xml.in Index: build/cackey_osx_build/Template_pmbuild.pmdoc/03libcackey.xml.in ================================================================== --- /dev/null +++ build/cackey_osx_build/Template_pmbuild.pmdoc/03libcackey.xml.in @@ -0,0 +1,31 @@ + + + mil.army.usace.cackeyForMacOsX@@OSXVERSION@@.cackey.pkg + 1 + + + + cackey.dylib + /usr/lib/pkcs11 + + + parent + scripts.postinstall.path + installTo.isAbsoluteType + installTo.isRelativeType + scripts.postflight.path + relocatable + version + installTo.path + installFrom.path + installTo + + + 03libcackey-contents.xml + /CVS$ + /\.svn$ + /\.cvsignore$ + /\.cvspass$ + /\.DS_Store$ + + ADDED build/cackey_osx_build/Template_pmbuild.pmdoc/index.xml.in Index: build/cackey_osx_build/Template_pmbuild.pmdoc/index.xml.in ================================================================== --- /dev/null +++ build/cackey_osx_build/Template_pmbuild.pmdoc/index.xml.in @@ -0,0 +1,91 @@ + + + CACKey for Mac OS X @@OSXVERSION@@ + mil.army.usace + + + + + + + + + CACKey + + + + + + + + + + + + + \ + US Army Corps of Engineers\ + Information Technology Laboratory\ + Vicksburg, MS 39180\ +contact: Roy Keene \ +------------------------------------------------\ +\ +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.}]]> + + + + + + + + + This CACKey release requires Mac OS X @@CUROSXVER@@. + + + This CACKey release requires Mac OS X @@CUROSXVER@@. + + + + 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,9 @@ #!/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 " @@ -55,10 +54,13 @@ 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 + PKTARGETOS=1 + NEXTOSXVER=10.4 + CUROSXVER=10.3 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 @@ -75,10 +77,13 @@ LIB="" ARCHLIST="" DLIB="" DARCHLIST="" OSX=Tiger + PKTARGETOS=2 + NEXTOSXVER=10.5 + CUROSXVER=10.4 for HOST in powerpc-apple-darwin8 i386-apple-darwin8; do genbuild done libbuild pkgbuild @@ -92,10 +97,13 @@ LIB="" ARCHLIST="" DLIB="" DARCHLIST="" OSX=Leopard + PKTARGETOS=3 + NEXTOSXVER=10.6 + CUROSXVER=10.5 for HOST in powerpc-apple-darwin9 i386-apple-darwin9; do genbuild done libbuild pkgbuild @@ -109,10 +117,13 @@ LIB="" ARCHLIST="" DLIB="" DARCHLIST="" OSX=SnowLeopard + PKTARGETOS=3 + NEXTOSXVER=10.7 + CUROSXVER=10.6 for HOST in i386-apple-darwin10 x86_64-apple-darwin10; do genbuild done libbuild pkgbuild @@ -153,10 +164,15 @@ 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} + sed "s|@@OSXVERSION@@|${OSX}|g" ${PMDOC}.in > ${PMDOC} + sed "s|@@UUID@@|${UUID}|g" ${PMDOC}.in > ${PMDOC} + sed "s|@@TARGETOS@@|${PKTARGETOS}|g" ${PMDOC}.in > ${PMDOC} + sed "s|@@NEXTOSXVER@@|${NEXTOSXVER}|g" ${PMDOC}.in > ${PMDOC} + sed "s|@@CUROSXVER@@|${CUROSXVER}|g" ${PMDOC}.in > ${PMDOC} done if [ ${OSX} == "Panther" ]; then EXT=mpkg else EXT=pkg