Index: trunk/PackageBuilder/package/Distribution =================================================================== --- trunk/PackageBuilder/package/Distribution (revision 0) +++ trunk/PackageBuilder/package/Distribution (revision 340) @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + Chameleon_title + + Index: trunk/PackageBuilder/package/fdisk =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/fdisk ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/buildpkg =================================================================== --- trunk/PackageBuilder/package/buildpkg (revision 0) +++ trunk/PackageBuilder/package/buildpkg (revision 340) @@ -0,0 +1,402 @@ +#!/bin/bash + +# $1 Path to store built package + +packagesidentity="org.chameleon" + +packagename="Chameleon" + +pkgroot="${0%/*}" + +#version=$( grep I386BOOT_CHAMELEONVERSION sym/i386/vers.h | awk '{ print $3 }' | tr -d '\"' ) +version=$( cat version ) +stage=${version##*-} +revision=$( grep I386BOOT_CHAMELEONREVISION sym/i386/vers.h | awk '{ print $3 }' | tr -d '\"' ) +builddate=$( grep I386BOOT_BUILDDATE sym/i386/vers.h | awk '{ print $3,$4 }' | tr -d '\"' ) +timestamp=$( date -j -f "%Y-%m-%d %H:%M:%S" "${builddate}" "+%s" ) + +distributioncount=0 +xmlindent=0 + +indent[0]="\t" +indent[1]="\t\t" +indent[2]="\t\t\t" +indent[3]="\t\t\t\t" + +main () +{ + +# clean up the destination path + + rm -R -f "${1}" + + echo "Building $packagename Install Package v${version%%-*} $stage r$revision $builddate" + + outline[$((outlinecount++))]="${indent[$xmlindent]}" + +# build core package + + ((xmlindent++)) + packagesidentity="org.chameleon" + mkdir -p ${1}/Core/Root/usr/sbin +# mkdir -p ${1}/Core/Root/usr/local/bin + mkdir -p ${1}/Core/Root/usr/standalone/i386 +# mkdir -p ${1}/Core/Root/Extra + cp -f ${1%/*}/i386/boot ${1}/Core/Root/usr/standalone/i386 + cp -f ${1%/*}/i386/boot0 ${1}/Core/Root/usr/standalone/i386 + cp -f ${1%/*}/i386/boot0hfs ${1}/Core/Root/usr/standalone/i386 + cp -f ${1%/*}/i386/boot1f32 ${1}/Core/Root/usr/standalone/i386 + cp -f ${1%/*}/i386/boot1h ${1}/Core/Root/usr/standalone/i386 + cp -f ${1%/*}/i386/boot1he ${1}/Core/Root/usr/standalone/i386 + cp -f ${1%/*}/i386/boot1hp ${1}/Core/Root/usr/standalone/i386 + cp -f ${1%/*}/i386/cdboot ${1}/Core/Root/usr/standalone/i386 + cp -f ${1%/*}/i386/chain0 ${1}/Core/Root/usr/standalone/i386 + cp -f ${1%/*}/i386/bdmesg ${1}/Core/Root/usr/sbin + fixperms "${1}/Core/Root/" +# cp -Rf ${pkgroot}/Configuration/Chameleon.prefPane ${1}/Core/Root/Library/PreferencePanes +# cp -f ${pkgroot}/Configuration/smbios.plist ${1}/Core/Root/Extra + cp -f ${pkgroot}/fdisk440 ${1}/Core/Root/usr/sbin + local coresize=$( du -hkc "${1}/Core/Root" | tail -n1 | awk {'print $1'} ) + buildpackage "${1}/Core" "/" "0" "start_visible=\"false\" start_selected=\"true\"" + + +# build Chameleon package + + outline[$((outlinecount++))]="${indent[$xmlindent]}\t" + choices[$((choicescount++))]="\n\n" + +# build standard package + + mkdir -p ${1}/Standard/Root + mkdir -p ${1}/Standard/Scripts/Tools + cp -f ${pkgroot}/Scripts/Standard/* ${1}/Standard/Scripts + ditto --arch i386 `which SetFile` ${1}/Standard/Scripts/Tools/SetFile + buildpackage "${1}/Standard" "/" "${coresize}" "start_enabled=\"true\" start_selected=\"upgrade_allowed()\" selected=\"exclusive(choices['EnhancedHFS']) && exclusive(choices['Standardhfs']) && exclusive(choices['EnhancedFAT'])\"" + +# build standard package with boot0hfs + + mkdir -p ${1}/Standardhfs/Root + mkdir -p ${1}/Standardhfs/Scripts/Tools + cp -f ${pkgroot}/Scripts/Standardhfs/* ${1}/Standardhfs/Scripts + ditto --arch i386 `which SetFile` ${1}/Standardhfs/Scripts/Tools/SetFile + buildpackage "${1}/Standardhfs" "/" "${coresize}" "start_enabled=\"true\" start_selected=\"false\" selected=\"exclusive(choices['EnhancedHFS']) && exclusive(choices['Standard']) && exclusive(choices['EnhancedFAT'])\"" + + +# build efi fat32 package + + mkdir -p ${1}/EnhancedFAT/Root + mkdir -p ${1}/EnhancedFAT/Scripts/Tools + cp -f ${pkgroot}/Scripts/FAT/* ${1}/EnhancedFAT/Scripts + ditto --arch i386 `which SetFile` ${1}/EnhancedFAT/Scripts/Tools/SetFile + buildpackage "${1}/EnhancedFAT" "/" "${coresize}" "start_visible=\"systemHasGPT()\" start_selected=\"false\" selected=\"exclusive(choices['Standard']) && exclusive(choices['Standardhfs']) && exclusive(choices['EnhancedHFS'])\"" + +# build efi hfs package + + mkdir -p ${1}/EnhancedHFS/Root + mkdir -p ${1}/EnhancedHFS/Scripts/Tools + cp -f ${pkgroot}/Scripts/HFS/* ${1}/EnhancedHFS/Scripts + ditto --arch i386 `which SetFile` ${1}/EnhancedHFS/Scripts/Tools/SetFile + buildpackage "${1}/EnhancedHFS" "/" "${coresize}" "start_visible=\"systemHasGPT()\" start_selected=\"false\" selected=\"exclusive(choices['Standard']) && exclusive(choices['Standardhfs']) && exclusive(choices['EnhancedFAT'])\"" + + ((xmlindent--)) + outline[$((outlinecount++))]="${indent[$xmlindent]}\t" + + +# build PrefPanel package + +# mkdir -p ${1}/PrefPanel/Root +# mkdir -p ${1}/PrefPanel/Root/Library/PreferencePanes +# cp -Rf ${pkgroot}/Configuration/Chameleon.prefPane ${1}/PrefPanel/Root/Library/PreferencePanes +# buildpackage "${1}/PrefPanel" "/" "${coresize}" "start_visible=\"true\" start_selected=\"false\"" + +# build utility package + outline[$((outlinecount++))]="${indent[$xmlindent]}\t" + choices[$((choicescount++))]="\n\n" + ((xmlindent++)) + packagesidentity="org.chameleon" + + # build package for bdmesg +# mkdir -p "${1}/bdmesg/Root" +# ditto --noextattr --noqtn "${1%/*}/i386/bdmesg" "${1}/bdmesg/Root" +# echo "Building bdmesg package" +# buildpackage "${1}/bdmesg" "/usr/sbin" "" "start_selected=\"false\"" + # End build package for bdmesg + + # build package for Chameleon PrefPanel + mkdir -p "${1}/PrefPanel/Root/" + ditto --noextattr --noqtn "${pkgroot}/Configuration/PrefPanel/Chameleon.prefPane" "${1}/PrefPanel/Root" + echo "Building Chameleon Preference Panel package" + buildpackage "${1}/PrefPanel" "/Library/PreferencePanes/Chameleon.prefPane" "" "start_selected=\"false\"" + # End build package for Chameleon PrefPanel + + # build package for SMBIOSDefault + mkdir -p "${1}/SMBIOSDefault/Root/" + ditto --noextattr --noqtn "${pkgroot}/Configuration/SMBIOSDefault/smbios.plist" "${1}/SMBIOSDefault/Root" + echo "Building SMBIOSDefault package" + buildpackage "${1}/SMBIOSDefault" "/Extra/Example" "" "start_selected=\"false\"" + # End build package for SMBIOSDefault + + # build package for EFIMounter + mkdir -p "${1}/EFIMounter/Root/" + ditto --noextattr --noqtn "${pkgroot}/Configuration/EFIMounter/EFI Mounter.app" "${1}/EFIMounter/Root" + echo "Building EFIMounter package" + buildpackage "${1}/EFIMounter" "/Applications/EFI Mounter.app" "" "start_selected=\"false\"" + # End build package for EFIMounter + + ((xmlindent--)) + outline[$((outlinecount++))]="${indent[$xmlindent]}\t" +# End utility package + +# build Documentation package +# outline[$((outlinecount++))]="${indent[$xmlindent]}\t" +# choices[$((choicescount++))]="\n\n" +# ((xmlindent++)) +# packagesidentity="org.chameleon" + + # build package for Documentation +# mkdir -p "${1}/Documentation/Root" +# cp -f ${pkgroot}/doc/BootHelp.txt ${1}/Documentation/Root +# cp -f ${pkgroot}/doc/README ${1}/Documentation/Root +# cp -f ${pkgroot}/doc/Users_Guide0.5.pdf ${1}/Documentation/Root +# echo "Building Documentation package" +# buildpackage "${1}/Documentation" "/Documentation/Chameleon2RC5" "" "start_selected=\"false\"" + # End build package for bdmesg + +# ((xmlindent--)) +# outline[$((outlinecount++))]="${indent[$xmlindent]}\t" +# End utility package + +ß# build options packages + + outline[$((outlinecount++))]="${indent[$xmlindent]}\t" + choices[$((choicescount++))]="\n\n" + ((xmlindent++)) + packagesidentity="org.chameleon" + options=($( find "${pkgroot}/Scripts/Options" -type d -depth 1 -not -name '.svn' )) + for (( i = 0 ; i < ${#options[@]} ; i++ )) + do + mkdir -p "${1}/${options[$i]##*/}/Root" + mkdir -p "${1}/${options[$i]##*/}/Scripts" + + ditto --noextattr --noqtn "${options[$i]}/postinstall" "${1}/${options[$i]##*/}/Scripts/postinstall" + + buildpackage "${1}/${options[$i]##*/}" "/" "" "start_selected=\"false\"" + done + + ((xmlindent--)) + outline[$((outlinecount++))]="${indent[$xmlindent]}\t" + +# build resolution packages + + outline[$((outlinecount++))]="${indent[$xmlindent]}\t" + choices[$((choicescount++))]="\n\n" + ((xmlindent++)) + packagesidentity="org.chameleon.resolution" + resolutions=($( find "${pkgroot}/Scripts/Resolutions" -type d -depth 1 -not -name '.svn' )) + for (( i = 0 ; i < ${#resolutions[@]} ; i++ )) + do + mkdir -p "${1}/${resolutions[$i]##*/}/Root/" + mkdir -p "${1}/${resolutions[$i]##*/}/Scripts/" + ditto --noextattr --noqtn "${resolutions[$i]}/postinstall" "${1}/${resolutions[$i]##*/}/Scripts/postinstall" + + buildpackage "${1}/${resolutions[$i]##*/}" "/" "" "start_selected=\"false\"" + done + + ((xmlindent--)) + outline[$((outlinecount++))]="${indent[$xmlindent]}\t" + +# build theme packages + + outline[$((outlinecount++))]="${indent[$xmlindent]}\t" + choices[$((choicescount++))]="\n\n" + ((xmlindent++)) + packagesidentity="org.chameleon.theme" + artwork="${1%/*}" + themes=($( find "${artwork%/*}/artwork/themes" -type d -depth 1 -not -name '.svn' )) + for (( i = 0 ; i < ${#themes[@]} ; i++ )) + do + theme=$( echo ${themes[$i]##*/} | awk 'BEGIN{OFS=FS=""}{$1=toupper($1);print}' ) + mkdir -p "${1}/${theme}/Root/" + ditto --noextattr --noqtn "${themes[$i]}" "${1}/${themes[$i]##*/}/Root/${theme}" + find "${1}/${themes[$i]##*/}" -name '.DS_Store' -or -name '.svn' -exec rm -R {} \+ + find "${1}/${themes[$i]##*/}" -type f -exec chmod 644 {} \+ + + buildpackage "${1}/${theme}" "/.Chameleon/Extra/Themes" "" "start_selected=\"false\"" + rm -R -f "${1}/${i##*/}" + done + + ((xmlindent--)) + outline[$((outlinecount++))]="${indent[$xmlindent]}\t" + + outline[$((outlinecount++))]="${indent[$xmlindent]}\t" + choices[$((choicescount++))]="\n\n" + + ((xmlindent++)) + +# build kext packages + + outline[$((outlinecount++))]="${indent[$xmlindent]}\t" + choices[$((choicescount++))]="\n\n" + ((xmlindent++)) + packagesidentity="org.chameleon" + kexts=($( find "${pkgroot}/Kexts" -type d -name '*.kext' -depth 1 )) + for (( i = 0 ; i < ${#kexts[@]} ; i++ )) + do + filename="${kexts[$i]##*/}" + mkdir -p "${1}/${filename%.kext}/Root/" + ditto --noextattr --noqtn --arch i386 "${kexts[$i]}" "${1}/${filename%.kext}/Root/${filename}" + find "${1}/${filename%.kext}" -name '.DS_Store' -or -name '.svn' -exec rm -R -f {} \; 2>/dev/null + fixperms "${1}/${filename%.kext}/Root/" + chown 501:20 "${1}/${filename%.kext}/Root/" + buildpackage "${1}/${filename%.kext}" "/.Chameleon/Extra/Extensions" "" "start_selected=\"false\"" + rm -R -f "${1}/${filename%.kext}" + done + + ((xmlindent--)) + outline[$((outlinecount++))]="${indent[$xmlindent]}\t" + + ((xmlindent--)) + outline[$((outlinecount++))]="${indent[$xmlindent]}\t" + +# build post install package + + mkdir -p ${1}/Post/Root + mkdir -p ${1}/Post/Scripts + cp -f ${pkgroot}/Scripts/Post/* ${1}/Post/Scripts + buildpackage "${1}/Post" "/" "" "start_visible=\"false\" start_selected=\"true\"" + outline[$((outlinecount++))]="${indent[$xmlindent]}" + +# build meta package + + makedistribution "${1}" "${2}" "${3}" "${4}" "${5}" + +# clean up + + rm -R -f "${1}" + +} + +fixperms () +{ + # $1 path + find "${1}" -type f -exec chmod 644 {} \; + find "${1}" -type d -exec chmod 755 {} \; + chown -R 0:0 "${1}" +} + +buildpackage () +{ +# $1 Path to package to build containing Root and or Scripts +# $2 Install Location +# $3 Size +# $4 Options + +if [ -d "${1}/Root" ] && [ "${1}/Scripts" ]; then + + local packagename="${1##*/}" + local identifier=$( echo ${packagesidentity}.${packagename//_/.} | tr [:upper:] [:lower:] ) + find "${1}" -name '.DS_Store' -delete + local filecount=$( find "${1}/Root" | wc -l ) + if [ "${3}" ]; then + local installedsize="${3}" + else + local installedsize=$( du -hkc "${1}/Root" | tail -n1 | awk {'print $1'} ) + fi + local header="\n\n" + header+="\t\n" + rm -R -f "${1}/Temp" + + [ -d "${1}/Temp" ] || mkdir -m 777 "${1}/Temp" + [ -d "${1}/Root" ] && mkbom "${1}/Root" "${1}/Temp/Bom" + + if [ -d "${1}/Scripts" ]; then + header+="\t\n" + for script in $( find "${1}/Scripts" -type f \( -name 'pre*' -or -name 'post*' \) ) + do + header+="\t\t<${script##*/} file=\"./${script##*/}\"/>\n" + done + header+="\t\n" + chown -R 0:0 "${1}/Scripts" + pushd "${1}/Scripts" >/dev/null + find . -print | cpio -o -z -H cpio > "../Temp/Scripts" + popd >/dev/null + fi + + header+="" + echo -e "${header}" > "${1}/Temp/PackageInfo" + pushd "${1}/Root" >/dev/null + find . -print | cpio -o -z -H cpio > "../Temp/Payload" + popd >/dev/null + pushd "${1}/Temp" >/dev/null + + xar -c -f "${1%/*}/${packagename// /}.pkg" --compression none . + + popd >/dev/null + + outline[$((outlinecount++))]="${indent[$xmlindent]}\t" + + if [ "${4}" ]; then + local choiceoptions="${indent[$xmlindent]}${4}\n" + fi + choices[$((choicescount++))]="\n\t#${packagename// /}.pkg\n\n" + + rm -R -f "${1}" +fi +} + +makedistribution () +{ + rm -f "${1%/*}/${packagename// /}"*.pkg + + find "${1}" -type f -name '*.pkg' -depth 1 | while read component + do + mkdir -p "${1}/${packagename}/${component##*/}" + pushd "${1}/${packagename}/${component##*/}" >/dev/null + xar -x -f "${1%}/${component##*/}" + popd >/dev/null + done + + ditto --noextattr --noqtn "${pkgroot}/Distribution" "${1}/${packagename}/Distribution" + ditto --noextattr --noqtn "${pkgroot}/Resources" "${1}/${packagename}/Resources" + + find "${1}/${packagename}/Resources" -type d -name '.svn' -exec rm -R -f {} \; 2>/dev/null + + for (( i=0; i < ${#outline[*]} ; i++)); + do + echo -e "${outline[$i]}" >> "${1}/${packagename}/Distribution" + done + + for (( i=0; i < ${#choices[*]} ; i++)); + do + echo -e "${choices[$i]}" >> "${1}/${packagename}/Distribution" + done + + echo "" >> "${1}/${packagename}/Distribution" + + perl -i -p -e "s/%CHAMELEONVERSION%/${version%%-*}/g" `find "${1}/${packagename}/Resources" -type f` + perl -i -p -e "s/%CHAMELEONREVISION%/${revision}/g" `find "${1}/${packagename}/Resources" -type f` + + stage=${stage/RC/Release Candidate } + stage=${stage/FINAL/2.0 Final} + perl -i -p -e "s/%CHAMELEONSTAGE%/${stage}/g" `find "${1}/${packagename}/Resources" -type f` + + find "${1}/${packagename}" -name '.DS_Store' -delete + pushd "${1}/${packagename}" >/dev/null + xar -c -f "${1%/*}/${packagename// /}-${version}-r${revision}.pkg" --compression none . + popd >/dev/null + + md5=$( md5 "${1%/*}/${packagename// /}-${version}-r${revision}.pkg" | awk {'print $4'} ) + echo "MD5 (${packagename// /}-${version}-r${revision}.pkg) = ${md5}" > "${1%/*}/${packagename// /}-${version}-r${revision}.pkg.md5" +} + +main "${1}" "${2}" "${3}" "${4}" "${5}" + Property changes on: trunk/PackageBuilder/package/buildpkg ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/buildpkgTEST =================================================================== --- trunk/PackageBuilder/package/buildpkgTEST (revision 0) +++ trunk/PackageBuilder/package/buildpkgTEST (revision 340) @@ -0,0 +1,443 @@ +#!/bin/bash + +# $1 Path to store built package + +packagesidentity="org.chameleon" + +packagename="Chameleon" + +pkgroot="${0%/*}" + +#version=$( grep I386BOOT_CHAMELEONVERSION sym/i386/vers.h | awk '{ print $3 }' | tr -d '\"' ) +version=$( cat version ) +stage=${version##*-} +revision=$( grep I386BOOT_CHAMELEONREVISION sym/i386/vers.h | awk '{ print $3 }' | tr -d '\"' ) +builddate=$( grep I386BOOT_BUILDDATE sym/i386/vers.h | awk '{ print $3,$4 }' | tr -d '\"' ) +timestamp=$( date -j -f "%Y-%m-%d %H:%M:%S" "${builddate}" "+%s" ) + +distributioncount=0 +xmlindent=0 + +indent[0]="\t" +indent[1]="\t\t" +indent[2]="\t\t\t" +indent[3]="\t\t\t\t" + +main () +{ + +# clean up the destination path + + rm -R -f "${1}" + + echo "Building $packagename Install Package v${version%%-*} $stage r$revision $builddate" + + outline[$((outlinecount++))]="${indent[$xmlindent]}" + +# build core package + + ((xmlindent++)) + packagesidentity="org.chameleon" + mkdir -p ${1}/Core/Root/usr/sbin +# mkdir -p ${1}/Core/Root/usr/local/bin + mkdir -p ${1}/Core/Root/usr/standalone/i386 +# mkdir -p ${1}/Core/Root/Extra + cp -f ${1%/*}/i386/boot ${1}/Core/Root/usr/standalone/i386 + cp -f ${1%/*}/i386/boot0 ${1}/Core/Root/usr/standalone/i386 + cp -f ${1%/*}/i386/boot0hfs ${1}/Core/Root/usr/standalone/i386 + cp -f ${1%/*}/i386/boot1f32 ${1}/Core/Root/usr/standalone/i386 + cp -f ${1%/*}/i386/boot1h ${1}/Core/Root/usr/standalone/i386 + cp -f ${1%/*}/i386/boot1he ${1}/Core/Root/usr/standalone/i386 + cp -f ${1%/*}/i386/boot1hp ${1}/Core/Root/usr/standalone/i386 + cp -f ${1%/*}/i386/cdboot ${1}/Core/Root/usr/standalone/i386 + cp -f ${1%/*}/i386/chain0 ${1}/Core/Root/usr/standalone/i386 + cp -f ${1%/*}/i386/bdmesg ${1}/Core/Root/usr/sbin + fixperms "${1}/Core/Root/" +# cp -Rf ${pkgroot}/Configuration/Chameleon.prefPane ${1}/Core/Root/Library/PreferencePanes +# cp -f ${pkgroot}/Configuration/smbios.plist ${1}/Core/Root/Extra + cp -f ${pkgroot}/fdisk440 ${1}/Core/Root/usr/sbin + local coresize=$( du -hkc "${1}/Core/Root" | tail -n1 | awk {'print $1'} ) + buildpackage "${1}/Core" "/" "0" "start_visible=\"false\" start_selected=\"true\"" + + +# build Chameleon package + + outline[$((outlinecount++))]="${indent[$xmlindent]}\t" + choices[$((choicescount++))]="\n\n" + +# build standard package + + mkdir -p ${1}/Standard/Root + mkdir -p ${1}/Standard/Scripts/Tools + cp -f ${pkgroot}/Scripts/Standard/* ${1}/Standard/Scripts + ditto --arch i386 `which SetFile` ${1}/Standard/Scripts/Tools/SetFile + buildpackage "${1}/Standard" "/" "${coresize}" "start_enabled=\"true\" start_selected=\"upgrade_allowed()\" selected=\"exclusive(choices['EnhancedHFS']) && exclusive(choices['Standardhfs']) && exclusive(choices['EnhancedFAT'])\"" + +# build standard package with boot0hfs + + mkdir -p ${1}/Standardhfs/Root + mkdir -p ${1}/Standardhfs/Scripts/Tools + cp -f ${pkgroot}/Scripts/Standardhfs/* ${1}/Standardhfs/Scripts + ditto --arch i386 `which SetFile` ${1}/Standardhfs/Scripts/Tools/SetFile + buildpackage "${1}/Standardhfs" "/" "${coresize}" "start_enabled=\"true\" start_selected=\"false\" selected=\"exclusive(choices['EnhancedHFS']) && exclusive(choices['Standard']) && exclusive(choices['EnhancedFAT'])\"" + + +# build efi fat32 package + + mkdir -p ${1}/EnhancedFAT/Root + mkdir -p ${1}/EnhancedFAT/Scripts/Tools + cp -f ${pkgroot}/Scripts/FAT/* ${1}/EnhancedFAT/Scripts + ditto --arch i386 `which SetFile` ${1}/EnhancedFAT/Scripts/Tools/SetFile + buildpackage "${1}/EnhancedFAT" "/" "${coresize}" "start_visible=\"systemHasGPT()\" start_selected=\"false\" selected=\"exclusive(choices['Standard']) && exclusive(choices['Standardhfs']) && exclusive(choices['EnhancedHFS'])\"" + +# build efi hfs package + + mkdir -p ${1}/EnhancedHFS/Root + mkdir -p ${1}/EnhancedHFS/Scripts/Tools + cp -f ${pkgroot}/Scripts/HFS/* ${1}/EnhancedHFS/Scripts + ditto --arch i386 `which SetFile` ${1}/EnhancedHFS/Scripts/Tools/SetFile + buildpackage "${1}/EnhancedHFS" "/" "${coresize}" "start_visible=\"systemHasGPT()\" start_selected=\"false\" selected=\"exclusive(choices['Standard']) && exclusive(choices['Standardhfs']) && exclusive(choices['EnhancedFAT'])\"" + + ((xmlindent--)) + outline[$((outlinecount++))]="${indent[$xmlindent]}\t" + + +# build PrefPanel package + +# mkdir -p ${1}/PrefPanel/Root +# mkdir -p ${1}/PrefPanel/Root/Library/PreferencePanes +# cp -Rf ${pkgroot}/Configuration/Chameleon.prefPane ${1}/PrefPanel/Root/Library/PreferencePanes +# buildpackage "${1}/PrefPanel" "/" "${coresize}" "start_visible=\"true\" start_selected=\"false\"" + +# build utility package + outline[$((outlinecount++))]="${indent[$xmlindent]}\t" + choices[$((choicescount++))]="\n\n" + ((xmlindent++)) + packagesidentity="org.chameleon" + + # build package for bdmesg +# mkdir -p "${1}/bdmesg/Root" +# ditto --noextattr --noqtn "${1%/*}/i386/bdmesg" "${1}/bdmesg/Root" +# echo "Building bdmesg package" +# buildpackage "${1}/bdmesg" "/usr/sbin" "" "start_selected=\"false\"" + # End build package for bdmesg + + # build package for Chameleon PrefPanel + mkdir -p "${1}/PrefPanel/Root/" + ditto --noextattr --noqtn "${pkgroot}/Configuration/PrefPanel/Chameleon.prefPane" "${1}/PrefPanel/Root" + echo "Building Chameleon Preference Panel package" + buildpackage "${1}/PrefPanel" "/Library/PreferencePanes/Chameleon.prefPane" "" "start_selected=\"false\"" + # End build package for Chameleon PrefPanel + + # build package for SMBIOSDefault + mkdir -p "${1}/SMBIOSDefault/Root/" + ditto --noextattr --noqtn "${pkgroot}/Configuration/SMBIOSDefault/smbios.plist" "${1}/SMBIOSDefault/Root" + echo "Building SMBIOSDefault package" + buildpackage "${1}/SMBIOSDefault" "/Extra/Example" "" "start_selected=\"false\"" + # End build package for SMBIOSDefault + + # build package for EFIMounter + mkdir -p "${1}/EFIMounter/Root/" + ditto --noextattr --noqtn "${pkgroot}/Configuration/EFIMounter/EFI Mounter.app" "${1}/EFIMounter/Root" + echo "Building EFIMounter package" + buildpackage "${1}/EFIMounter" "/Applications/EFI Mounter.app" "" "start_selected=\"false\"" + # End build package for EFIMounter + + ((xmlindent--)) + outline[$((outlinecount++))]="${indent[$xmlindent]}\t" +# End utility package + +# build Documentation package +# outline[$((outlinecount++))]="${indent[$xmlindent]}\t" +# choices[$((choicescount++))]="\n\n" +# ((xmlindent++)) +# packagesidentity="org.chameleon" + + # build package for Documentation +# mkdir -p "${1}/Documentation/Root" +# cp -f ${pkgroot}/doc/BootHelp.txt ${1}/Documentation/Root +# cp -f ${pkgroot}/doc/README ${1}/Documentation/Root +# cp -f ${pkgroot}/doc/Users_Guide0.5.pdf ${1}/Documentation/Root +# echo "Building Documentation package" +# buildpackage "${1}/Documentation" "/Documentation/Chameleon2RC5" "" "start_selected=\"false\"" + # End build package for bdmesg + +# ((xmlindent--)) +# outline[$((outlinecount++))]="${indent[$xmlindent]}\t" +# End utility package + +# build options packages + + outline[$((outlinecount++))]="${indent[$xmlindent]}\t" + choices[$((choicescount++))]="\n\n" + ((xmlindent++)) + packagesidentity="org.chameleon.options" + options=($( find "${pkgroot}/Scripts/Options" -type d -depth 1 -not -name '.svn' )) + for (( i = 0 ; i < ${#options[@]} ; i++)) + + do + packagesidentity="org.chameleon.${#options[@]}" + flagname=($( find "${options[$i]}" -type d -depth 1 -not -name '.svn' )) + outline[$((outlinecount++))]="${indent[$xmlindent]}\t" + choices[$((choicescount++))]="\n\n" + ((xmlindent++)) + for (( j = 0 ; j < ${#flagname[@]} ; j++)) + + do + packagesidentity="org.chameleon.${#flagname[@]}" +# outline[$((outlinecount++))]="${indent[$xmlindent]}\t" + choices[$((choicescount++))]="\n\n" + ((xmlindent++)) + mkdir -p "${1}/${options[$i]##*/}${flagname[$j]##*/}/Root" + mkdir -p "${1}/${options[$i]##*/}${flagname[$j]##*/}/Scripts" + cp -f "${flagname[$j]}/postinstall" "${1}/${options[$i]##*/}${flagname[$j]##*/}/Scripts" + echo "Building ${options[$i]##*/}${flagname[$j]##*/} package" + buildpackage "${1}/${options[$i]##*/}${flagname[$j]##*/}" "/" "" "start_selected=\"false\"" + rm -R -f "${1}/${j##*/}" + ((xmlindent--)) +# outline[$((outlinecount++))]="${indent[$xmlindent]}\t" + done + ((xmlindent--)) + outline[$((outlinecount++))]="${indent[$xmlindent]}\t" + echo "Building ${options[$i]##*/} package" + buildpackage "${1}/${options[$i]##*/}" "/" "" "start_selected=\"false\"" + rm -R -f "${1}/${i##*/}" + done + ((xmlindent--)) + outline[$((outlinecount++))]="${indent[$xmlindent]}\t" +# End build options packages + +# build options packages + +# outline[$((outlinecount++))]="${indent[$xmlindent]}\t" +# choices[$((choicescount++))]="\n\n" +# ((xmlindent++)) +# packagesidentity="org.chameleon" +# options=($( find "${pkgroot}/Scripts/Options" -type d -depth 1 -not -name '.svn' )) +# for (( i = 0 ; i < ${#options[@]} ; i++ )) +# do +# mkdir -p "${1}/${options[$i]##*/}/Root" +# mkdir -p "${1}/${options[$i]##*/}/Scripts" +# +# ditto --noextattr --noqtn "${options[$i]}/postinstall" "${1}/${options[$i]##*/}/Scripts/postinstall" + +# buildpackage "${1}/${options[$i]##*/}" "/" "" "start_selected=\"false\"" +# done + +# ((xmlindent--)) +# outline[$((outlinecount++))]="${indent[$xmlindent]}\t" + +# build resolution packages + +# outline[$((outlinecount++))]="${indent[$xmlindent]}\t" +# choices[$((choicescount++))]="\n\n" +# ((xmlindent++)) +# packagesidentity="org.chameleon.resolution" +# resolutions=($( find "${pkgroot}/Scripts/Resolutions" -type d -depth 1 -not -name '.svn' )) +# for (( i = 0 ; i < ${#resolutions[@]} ; i++ )) +# do +# mkdir -p "${1}/${resolutions[$i]##*/}/Root/" +# mkdir -p "${1}/${resolutions[$i]##*/}/Scripts/" +# ditto --noextattr --noqtn "${resolutions[$i]}/postinstall" "${1}/${resolutions[$i]##*/}/Scripts/postinstall" + +# buildpackage "${1}/${resolutions[$i]##*/}" "/" "" "start_selected=\"false\"" +# done + +# ((xmlindent--)) +# outline[$((outlinecount++))]="${indent[$xmlindent]}\t" + +# build theme packages + + outline[$((outlinecount++))]="${indent[$xmlindent]}\t" + choices[$((choicescount++))]="\n\n" + ((xmlindent++)) + packagesidentity="org.chameleon.theme" + artwork="${1%/*}" + themes=($( find "${artwork%/*}/artwork/themes" -type d -depth 1 -not -name '.svn' )) + for (( i = 0 ; i < ${#themes[@]} ; i++ )) + do + theme=$( echo ${themes[$i]##*/} | awk 'BEGIN{OFS=FS=""}{$1=toupper($1);print}' ) + mkdir -p "${1}/${theme}/Root/" + ditto --noextattr --noqtn "${themes[$i]}" "${1}/${themes[$i]##*/}/Root/${theme}" + find "${1}/${themes[$i]##*/}" -name '.DS_Store' -or -name '.svn' -exec rm -R {} \+ + find "${1}/${themes[$i]##*/}" -type f -exec chmod 644 {} \+ + + buildpackage "${1}/${theme}" "/.Chameleon/Extra/Themes" "" "start_selected=\"false\"" + rm -R -f "${1}/${i##*/}" + done + + ((xmlindent--)) + outline[$((outlinecount++))]="${indent[$xmlindent]}\t" + + outline[$((outlinecount++))]="${indent[$xmlindent]}\t" + choices[$((choicescount++))]="\n\n" + + ((xmlindent++)) + +# build kext packages + + outline[$((outlinecount++))]="${indent[$xmlindent]}\t" + choices[$((choicescount++))]="\n\n" + ((xmlindent++)) + packagesidentity="org.chameleon" + kexts=($( find "${pkgroot}/Kexts" -type d -name '*.kext' -depth 1 )) + for (( i = 0 ; i < ${#kexts[@]} ; i++ )) + do + filename="${kexts[$i]##*/}" + mkdir -p "${1}/${filename%.kext}/Root/" + ditto --noextattr --noqtn --arch i386 "${kexts[$i]}" "${1}/${filename%.kext}/Root/${filename}" + find "${1}/${filename%.kext}" -name '.DS_Store' -or -name '.svn' -exec rm -R -f {} \; 2>/dev/null + fixperms "${1}/${filename%.kext}/Root/" + chown 501:20 "${1}/${filename%.kext}/Root/" + buildpackage "${1}/${filename%.kext}" "/.Chameleon/Extra/Extensions" "" "start_selected=\"false\"" + rm -R -f "${1}/${filename%.kext}" + done + + ((xmlindent--)) + outline[$((outlinecount++))]="${indent[$xmlindent]}\t" + + ((xmlindent--)) + outline[$((outlinecount++))]="${indent[$xmlindent]}\t" + +# build post install package + + mkdir -p ${1}/Post/Root + mkdir -p ${1}/Post/Scripts + cp -f ${pkgroot}/Scripts/Post/* ${1}/Post/Scripts + buildpackage "${1}/Post" "/" "" "start_visible=\"false\" start_selected=\"true\"" + outline[$((outlinecount++))]="${indent[$xmlindent]}" + +# build meta package + + makedistribution "${1}" "${2}" "${3}" "${4}" "${5}" + +# clean up + + rm -R -f "${1}" + +} + +fixperms () +{ + # $1 path + find "${1}" -type f -exec chmod 644 {} \; + find "${1}" -type d -exec chmod 755 {} \; + chown -R 0:0 "${1}" +} + +buildpackage () +{ +# $1 Path to package to build containing Root and or Scripts +# $2 Install Location +# $3 Size +# $4 Options + +if [ -d "${1}/Root" ] && [ "${1}/Scripts" ]; then + + local packagename="${1##*/}" + local identifier=$( echo ${packagesidentity}.${packagename//_/.} | tr [:upper:] [:lower:] ) + find "${1}" -name '.DS_Store' -delete + local filecount=$( find "${1}/Root" | wc -l ) + if [ "${3}" ]; then + local installedsize="${3}" + else + local installedsize=$( du -hkc "${1}/Root" | tail -n1 | awk {'print $1'} ) + fi + local header="\n\n" + header+="\t\n" + rm -R -f "${1}/Temp" + + [ -d "${1}/Temp" ] || mkdir -m 777 "${1}/Temp" + [ -d "${1}/Root" ] && mkbom "${1}/Root" "${1}/Temp/Bom" + + if [ -d "${1}/Scripts" ]; then + header+="\t\n" + for script in $( find "${1}/Scripts" -type f \( -name 'pre*' -or -name 'post*' \) ) + do + header+="\t\t<${script##*/} file=\"./${script##*/}\"/>\n" + done + header+="\t\n" + chown -R 0:0 "${1}/Scripts" + pushd "${1}/Scripts" >/dev/null + find . -print | cpio -o -z -H cpio > "../Temp/Scripts" + popd >/dev/null + fi + + header+="" + echo -e "${header}" > "${1}/Temp/PackageInfo" + pushd "${1}/Root" >/dev/null + find . -print | cpio -o -z -H cpio > "../Temp/Payload" + popd >/dev/null + pushd "${1}/Temp" >/dev/null + + xar -c -f "${1%/*}/${packagename// /}.pkg" --compression none . + + popd >/dev/null + + outline[$((outlinecount++))]="${indent[$xmlindent]}\t" + + if [ "${4}" ]; then + local choiceoptions="${indent[$xmlindent]}${4}\n" + fi + choices[$((choicescount++))]="\n\t#${packagename// /}.pkg\n\n" + + rm -R -f "${1}" +fi +} + +makedistribution () +{ + rm -f "${1%/*}/${packagename// /}"*.pkg + + find "${1}" -type f -name '*.pkg' -depth 1 | while read component + do + mkdir -p "${1}/${packagename}/${component##*/}" + pushd "${1}/${packagename}/${component##*/}" >/dev/null + xar -x -f "${1%}/${component##*/}" + popd >/dev/null + done + + ditto --noextattr --noqtn "${pkgroot}/Distribution" "${1}/${packagename}/Distribution" + ditto --noextattr --noqtn "${pkgroot}/Resources" "${1}/${packagename}/Resources" + + find "${1}/${packagename}/Resources" -type d -name '.svn' -exec rm -R -f {} \; 2>/dev/null + + for (( i=0; i < ${#outline[*]} ; i++)); + do + echo -e "${outline[$i]}" >> "${1}/${packagename}/Distribution" + done + + for (( i=0; i < ${#choices[*]} ; i++)); + do + echo -e "${choices[$i]}" >> "${1}/${packagename}/Distribution" + done + + echo "" >> "${1}/${packagename}/Distribution" + + perl -i -p -e "s/%CHAMELEONVERSION%/${version%%-*}/g" `find "${1}/${packagename}/Resources" -type f` + perl -i -p -e "s/%CHAMELEONREVISION%/${revision}/g" `find "${1}/${packagename}/Resources" -type f` + + stage=${stage/RC/Release Candidate } + stage=${stage/FINAL/2.0 Final} + perl -i -p -e "s/%CHAMELEONSTAGE%/${stage}/g" `find "${1}/${packagename}/Resources" -type f` + + find "${1}/${packagename}" -name '.DS_Store' -delete + pushd "${1}/${packagename}" >/dev/null + xar -c -f "${1%/*}/${packagename// /}-${version}-r${revision}.pkg" --compression none . + popd >/dev/null + + md5=$( md5 "${1%/*}/${packagename// /}-${version}-r${revision}.pkg" | awk {'print $4'} ) + echo "MD5 (${packagename// /}-${version}-r${revision}.pkg) = ${md5}" > "${1%/*}/${packagename// /}-${version}-r${revision}.pkg.md5" +} + +main "${1}" "${2}" "${3}" "${4}" "${5}" + Property changes on: trunk/PackageBuilder/package/buildpkgTEST ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/doc/Users_Guide0.5.pdf =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/doc/Users_Guide0.5.pdf ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/doc/BootHelp.txt =================================================================== --- trunk/PackageBuilder/package/doc/BootHelp.txt (revision 0) +++ trunk/PackageBuilder/package/doc/BootHelp.txt (revision 340) @@ -0,0 +1,111 @@ +The boot: prompt waits for you to type advanced startup options. +If you don't type anything, the computer continues starting up normally. It +uses the kernel and configuration files on the startup device, which it also +uses as the root device. + +Advanced startup options use the following syntax: + + [device] [arguments] + +Example arguments include + + device: rd= (e.g. rd=disk0s2) + rd=* (e.g. rd=*/PCI0@0/CHN0@0/@0:1) + + kernel: kernel name (e.g. "mach_kernel" - must be in "/" ) + + flags: -v (verbose) -s (single user mode) + -x (safe mode) -f (ignore caches) + -F (ignore "Kernel Flags" specified in boot configuration file) + + "Graphics Mode"="WIDTHxHEIGHTxDEPTH" (e.g. "1024x768x32") + + kernel flags (e.g. debug=0x144) + io=0xffffffff (defined in IOKit/IOKitDebug.h) + +Example: mach_kernel rd=disk0s1 -v "Graphics Mode"="1920x1200x32" + +If the computer won't start up properly, you may be able to start it up +using safe mode. Type -x to start up in safe mode, which ignores all +cached driver files. + +Special booter hotkeys: + F5 Rescans optical drive. + F10 Scans and displays all BIOS accessible drives. + +Special booter commands: + ?memory Displays information about the computer's memory. + ?video Displays VESA video modes supported by the computer's BIOS. + ?norescan Leaves optical drive rescan mode. + +Additional useful command-line options: + config= Use an alternate Boot.plist file. + +Options useful in the com.apple.Boot.plist file: + Wait=Yes|No Prompt for a key press before starting the kernel. + "Quiet Boot"=Yes|No Use quiet boot mode (no messages or prompt). + Timeout=8 Number of seconds to pause at the boot: prompt. + "Instant Menu"=Yes Force displaying the partition selection menu. + + "Default Partition" Sets the default boot partition, + =hd(x,y)|UUID|"Label" Specified as a disk/partition pair, an UUID, or a + label enclosed in quotes. + + "Hide Partition" Remove unwanted partition(s) from the boot menu. + =partition Specified, possibly multiple times, as hd(x,y), an + [;partition2 ...] UUID or label enclosed in quotes. + + "Rename Partition" Rename partition(s) for the boot menu. + =partition Where partition is hd(x,y), UUID or label enclosed + [;partition2 in quotes. The alias can optionally be quoted too. + ...] + + GUI=No Disable the GUI (enabled by default). + "Boot Banner"=Yes|No Show boot banner in GUI mode (enabled by default). + "Legacy Logo"=Yes|No Use the legacy grey apple logo (disabled by default). + + PciRoot= Use an alternate value for PciRoot (default value 0). + + GraphicsEnabler=Yes|No Automatic device-properties generation for gfx cards. + UseAtiROM=Yes|No Use an alternate Ati ROM image + (path: /Extra/_.rom) + UseNvidiaROM=Yes|No Use an alternate Nvidia ROM image + (path: /Extra/_.rom) + VBIOS=Yes|No Inject VBIOS to device-properties. + + EthernetBuiltIn=Yes|No Automatic "built-in"=yes device-properties generation + for ethernet interfaces. + + USBBusFix=Yes Enable all USB fixes below: + EHCIacquire=Yes Enable the EHCI fix (disabled by default). + UHCIreset=Yes Enable the UHCI fix (disabled by default). + USBLegacyOff=Yes Enable the USB Legacy fix (disabled by default). + + ForceHPET=Yes|No Force Enable HPET. + + Wake=No Disable wake up after hibernation (default: enabled). + ForceWake=Yes Force using the sleepimage (disabled by default). + WakeImage= Use an alternate sleepimage file. + (default path is /private/var/vm/sleepimage). + + DropSSDT=Yes Skip the SSDT tables while relocating the ACPI tables. + DSDT= Use an alternate DSDT.aml file + (default path: /DSDT.aml /Extra/DSDT.aml bt(0,0)/Extra/DSDT.aml). + + SMBIOS= Use an alternate SMBIOS.plist file + (default path: /Extra/SMBIOS.plist bt(0,0)/Extra/SMBIOS.plist). + + SMBIOSdefaults=No Don't use the Default values for SMBIOS overriding + if smbios.plist doesn't exist, factory + values are kept. + + "Scan Single Drive" Scan the drive only where the booter got loaded from. + =Yes|No Fix rescan pbs when using a DVD reader in AHCI mode. + Rescan=Yes Enable CD-ROM rescan mode. + "Rescan Prompt"=Yes Prompts for enable CD-ROM rescan mode. + SystemId= Set manually the system id UUID, + SMUUID in smbios config (reserved field) isn't used. + SystemType= Set the system type where n is between 0..6 + (default =1 (Desktop) + md0= Load raw img file into memory for use as XNU's md0 + ramdisk. /Extra/Postboot.img is used otherwise. Index: trunk/PackageBuilder/package/doc/README =================================================================== --- trunk/PackageBuilder/package/doc/README (revision 0) +++ trunk/PackageBuilder/package/doc/README (revision 340) @@ -0,0 +1,87 @@ + + Chameleon Boot Loader + ===================== + + What is it? + ----------- + + Chameleon is combination of various boot loader components. It is based + on David Elliott's fake EFI implementation added to Apple's boot-132 + project. Chameleon is extended with the following key features: + + + Features + -------- + + - Device Property Injection via device-properties string in com.apple.Boot.plist + - hybrid boot0+boot1h loaders for both MBR and GPT partitioned disks. + - automatic FSB detection code even for recent AMD CPUs. + - Apple Software RAID support. + - stage2 loader (boot) can be placed as a regular file in the boot + partition's root folder. + + + Installation + ============ + + Normal Install (non-RAID): + -------------------------- + + Suppose that your installation is on /dev/disk0s2 + + - Install boot0 to the MBR: + sudo ./fdisk440 -f boot0 -u -y /dev/rdisk0 + + - Install boot1h to the partition's bootsector: + sudo dd if=boot1h of=/dev/rdisk0s2 + + - Install boot to the partition's root directory: + sudo cp boot / + + No need to use startupfiletool anymore! + + + RAID Install: + ------------- + + Suppose that your installation is on /dev/disk3, which is either a mirror- or a + stripeset consisting of /dev/disk0 and /dev/disk1 + + Mac OS X creates a small helper partition at the end of each RAID member disk, + namely /dev/disk0s3 and /dev/disk1s3 + + - Install boot0 to the MBR of both disks: + sudo ./fdisk440 -f boot0 -u -y /dev/rdisk0 + sudo ./fdisk440 -f boot0 -u -y /dev/rdisk1 + + - Install boot1h to the bootsector of each boot partition: + sudo dd if=boot1h of=/dev/rdisk0s3 + sudo dd if=boot1h of=/dev/rdisk1s3 + + - Install boot to both helper partition's root directories. + diskutil mount disk0s3 + cp boot /Volumes/Boot\ OSX + diskutil unmount disk0s3 + diskutil mount disk1s3 + cp boot /Volumes/Boot\ OSX + diskutil unmount disk1s3 + + Support: + -------- + + If you have any questions, issues etc. feel free to join us + at irc.voodooprojects.org #chameleon + + + Source Code + ----------- + + For downloading the source code please visit the project page at + http://chameleon.osx86.hu + + + Licensing + --------- + + Chameleon is released under the terms and conditions of + Apple Public Source License (see APPLE_LICENSE). Index: trunk/PackageBuilder/package/smbios.plist =================================================================== --- trunk/PackageBuilder/package/smbios.plist (revision 0) +++ trunk/PackageBuilder/package/smbios.plist (revision 340) @@ -0,0 +1,48 @@ + + + + + SMbiosversion + MP31.88Z.00C1.B00.0802091544 + SMmanufacter + Apple Inc. + SMproductname + MacPro3,1 + SMsystemversion + 1.0 + SMserial + W87234JHYA4 + SMexternalclock + 333 + SMmaximalclock + 3000 + SMmemtype + 19 + SMmemspeed + 800 + SMmemmanufacter_1 + 0xAD00000000000000 + SMmemserial_1 + 0x00001020 + SMmempart_1 + 0x48594D503131325336344350362D59352020 + SMmemmanufacter_2 + 0xAD00000000000000 + SMmemserial_2 + 0x00003021 + SMmempart_2 + 0x48594D503131325336344350362D59352020 + SMmemmanufacter_3 + 0xAD00000000000000 + SMmemserial_3 + 0x00003021 + SMmempart_3 + 0x48594D503131325336344350362D59352020 + SMmemmanufacter_4 + 0xAD00000000000000 + SMmemserial_4 + 0x00003021 + SMmempart_4 + 0x48594D503131325336344350362D59352020 + + Index: trunk/PackageBuilder/package/Configuration/SMBIOSDefault/smbios.plist =================================================================== --- trunk/PackageBuilder/package/Configuration/SMBIOSDefault/smbios.plist (revision 0) +++ trunk/PackageBuilder/package/Configuration/SMBIOSDefault/smbios.plist (revision 340) @@ -0,0 +1,38 @@ + + + + + SMbiosdate + 20/08/2008 + SMbiosversion + IM71.88Z.007A.B03.0803051705 + SMcputype + 1281 + SMexternalclock + 1,33 + SMfamily + iMac + SMmanufacter + Apple Inc. Mac-F2268CC8 + SMmaximalclock + 2,50 + SMmemmanufacter_1 + Team Elite + SMmemmanufacter_2 + Team Elite + SMmempart_1 + 50M3P4R7 + SMmempart_2 + 50M3P4R7 + SMmemserial_1 + 50M353R14L + SMmemserial_2 + 50M353R14L + SMproductname + iMac7,1 + SMserial + YM90295599X + SMsystemversion + 1.0 + + Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/MacOS/Chameleon =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/MacOS/Chameleon ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Info.plist =================================================================== --- trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Info.plist (revision 0) +++ trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Info.plist (revision 340) @@ -0,0 +1,36 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleDisplayName + + CFBundleExecutable + Chameleon + CFBundleIconFile + Chameleon.icns + CFBundleIdentifier + com.chameleon.Chameleon + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + Chameleon + CFBundlePackageType + BNDL + CFBundleShortVersionString + 2.0 + CFBundleSignature + ???? + CFBundleVersion + 2.0.0 RC4 + NSMainNibFile + Chameleon + NSPrefPaneIconFile + Chameleon.icns + NSPrefPaneIconLabel + Chameleon + NSPrincipalClass + ChameleonPrefPane + + Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/footer.png =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/footer.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/gfxutil =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/gfxutil ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/Chameleon.tiff =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/Chameleon.tiff ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/Linux.png =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/Linux.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/chamsmall.png =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/chamsmall.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/version =================================================================== --- trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/version (revision 0) +++ trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/version (revision 340) @@ -0,0 +1 @@ +2.0-RC4 Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/Chameleon.icns =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/Chameleon.icns ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/CDROM.png =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/CDROM.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/getDevProp.sh =================================================================== --- trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/getDevProp.sh (revision 0) +++ trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/getDevProp.sh (revision 340) @@ -0,0 +1,38 @@ +#!/bin/sh + +# getDevProp.sh +# smbios-cham +# +# Created by ronan & thomas on 12/08/09. +# Copyright 2009 org.darwinx86.app. All rights reserved. +# adapted for Chameleon control panel use by Rekursor +# +# Directories +cdir=`dirname $0` +tmpDir=/tmp/Chameleon +dmpdir=${tmpDir}/devprop + +# Create a dump directory +if [[ ! -d $dmpdir ]];then + mkdir -p $dmpdir +fi +if [[ ! -d $tmpDir ]];then + mkdir -p $tmpDir +fi +# Dump Device properties +ioreg -lw0 -p IODeviceTree -n efi -r -x |grep device-properties | sed 's/.*.*//;' | cat > $dmpdir/chameleon-devprop.hex + +$cdir/gfxutil -s -n -i hex -o xml $dmpdir/chameleon-devprop.hex $dmpdir/chameleon-devprop.plist + + +# Splash the result up !! +open $dmpdir/chameleon-devprop.plist +if [[ ! -d $dmpdir ]];then + rm -r $dmpdir +fi +if [[ ! -d $tmpDir ]];then + rm -r $tmpDir +fi + +#end +#echo $? \ No newline at end of file Property changes on: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/getDevProp.sh ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/advanced.png =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/advanced.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/plug.png =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/plug.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/French.lproj/Chameleon.nib =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/French.lproj/Chameleon.nib ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/French.lproj/Chameleon.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/French.lproj/Chameleon.strings ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/French.lproj/Localizable.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/French.lproj/Localizable.strings ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/Spanish.lproj/Chameleon.nib =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/Spanish.lproj/Chameleon.nib ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/Spanish.lproj/Chameleon.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/Spanish.lproj/Chameleon.strings ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/Spanish.lproj/Localizable.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/Spanish.lproj/Localizable.strings ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/cham.png =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/cham.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/flag.png =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/flag.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/README =================================================================== --- trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/README (revision 0) +++ trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/README (revision 340) @@ -0,0 +1,35 @@ +----------------------------------- +Chameleon System Preferences panel +by rekursor 1/17/2010 +----------------------------------- + +How to Install: + Double click on the panel file to install the resource + +Configuration: + The persistent configuration file is a all users level preferences property list + located in In /Library/Preferences/com.chameleon.prefPane.plist. + + The swap disk fix option might be use if your disk order from chameleon is different + from what diskutil list returns. + Ideally we should not need this fix, but as for now, I don't know another way to do it + + In /Library/Preferences/com.chameleon.prefPane.plist: + you can insert a 'forceBootConfigPath' key with your com.apple.Boot,plist file path: + So if automatic detection does not work, then force your com.apple.Boot.plist path here. + + Freeze Partitions (lock the partition list and prevent autodetection to happen) + You can also decide to freeze the partitions to prevent automatic detection, + if disk order is not matching after the boot or if you don't want the list to change + each time that a usb key is inserted, then use this feature. + For it to work, you will need first to click on: + Settings/Boot Selector Fixes/Inject Parts In Freeze File + Then all your automatically detected current partitions are injected in the pref. file, + all you need to do is to manually edit them to change their disk id/partition id + (2 first parameters in the pref. file under the partitionList key) + +Troubleshooting + If the panel sees your com.apple.boot.plist in the status box, but the boot selection + seem to have no effect, it might be that you have more than one bootConfig file + and that the chameleon booter does not load the one that the panel selected, + see upper to force the bootConfig to match the one loaded by the chameleon booter. Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/CREDITS =================================================================== --- trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/CREDITS (revision 0) +++ trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/CREDITS (revision 340) @@ -0,0 +1,17 @@ +Initial Conception & Design: +--------------------------- +Rekursor + +Crew Members +---------- +Rekursor, DieBuche + +Contributors & Testers: +--------------------- +BlackOSX, MasterChief, digital_dreamer, smith@@, scrax, quinielascom + +Chameleon also reuses: +--------------------- +Courtesy of Ronan (Lizard): +Existing scripts and gfxutil tool from Lizard available at: +http://code.google.com/p/lizard-app/ \ No newline at end of file Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/German.lproj/Chameleon.nib =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/German.lproj/Chameleon.nib ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/German.lproj/Chameleon.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/German.lproj/Chameleon.strings ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/German.lproj/Localizable.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/German.lproj/Localizable.strings ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/background.png =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/background.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/cdBootCreator.sh =================================================================== --- trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/cdBootCreator.sh (revision 0) +++ trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/cdBootCreator.sh (revision 340) @@ -0,0 +1,104 @@ +#!/bin/sh + +# Copyright 2009 org.darwinx86.app. All rights reserved. + +# Directories +extra=/tmp/isodir +mydir=`dirname $0` +tempDir=/tmp +finaldir=~/Desktop +isodir=/tmp/newiso +extradir=/tmp/newiso/Extra +preDir=/tmp/newiso/Extra/Preboot/ +prebootDir=/tmp/newiso/Extra/Preboot/Extra +backDir=~/Desktop/Lizard +bkpdir=~/Desktop/Lizard/Previous-dmg + +echo "Starting script..." + +#errors +if ([ ! -f $extra/Extensions.mkext ] && [ ! -d $extra/Extensions ]);then + echo "- Error: no Extensions.mkext or Extensions folder. One of them is required" + echo " ------------------------" + exit +fi + +if [ ! -f $extra/com.apple.Boot.plist ];then + echo "- Error: no com.apple.boot.plist found. File required" + echo " ------------------------" + exit +fi +if [ ! -f $extra/cdboot ];then + echo "- Error: no cdboot found. File required" + echo " ------------------------" + exit +fi + +# Create a work directory +echo " - temps folders created" +echo " - Checking files" +#copy Extra files to temp directory +if [ -f $extra/cdboot ];then + cp -R $extra/cdboot $isodir +fi + +if [ -f $extra/dsdt.aml ];then + cp -R $extra/dsdt.aml $prebootDir +fi + +if [ -f $extra/DSDT.aml ];then + cp -R $extra/DSDT.aml $prebootDir +fi + +if [ -f $extra/NVIDIA.ROM ];then + cp -R $extra/NVIDIA.ROM $prebootDir +fi + +if [ -f $extra/smbios.plist ];then + cp -R $extra/smbios.plist $prebootDir +fi + +if [ -f $extra/Extensions.mkext ];then + cp -R $extra/Extensions.mkext $prebootDir +fi + +if [ -d $extra/Extensions ];then + cp -Rp $extra/Extensions $prebootDir +fi + +if [ -f $extra/com.apple.Boot.plist ];then + cp -R $extra/com.apple.Boot.plist $prebootDir +fi +if [ -f $tempDir/com.apple.Boot.plist ];then + cp -R $tempDir/com.apple.Boot.plist $extradir +fi + +echo "- Files copied in temp folder" + +# ramdisk creator +hdiutil create -srcfolder $preDir/ -layout GPTSPUD -fs HFS+ -format UDRW -volname Preboot $extradir/Preboot.dmg +rm -R $preDir +echo " - ram disk created" + +# boot cd creator +hdiutil makehybrid -o BootCD.iso $isodir/ -iso -hfs -joliet -eltorito-boot $isodir/cdboot -no-emul-boot -hfs-volume-name "Boot CD" -joliet-volume-name "Boot CD" +echo " - hybrid image created" + +# Create output and backup directories +if [ -f $finaldir/BootCD.iso ];then + if [ ! -d $bkpdir ];then + mkdir $backDir + mkdir $bkpdir + echo " - backup folder created" + fi + mv -f $finaldir/BootCD.iso $bkpdir/BootCd-$(date +"%d-%y-%Hh%M").iso + echo " - previous ISO moved into backup folder" +fi +mv BootCD.iso $finaldir +echo " - ISO moved on desktop" + +# cleanup +echo " - Perform cleaning" +echo " - ISO created succefully" +echo " ------------------------" +exit 0 \ No newline at end of file Property changes on: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/cdBootCreator.sh ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/name.png =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/name.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/syringe.png =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/syringe.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/TODO =================================================================== --- trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/TODO (revision 0) +++ trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/TODO (revision 340) @@ -0,0 +1,12 @@ +Future version (codename: Gandalf) Plans +---------------------------------------- +Implement most if not all of the Chameleon bootConfig parameters in the table view of the current prefpane : let the Magic happening ! + +Current versions todo list +-------------------------- + - Graphical Design (icons and other graphical matter..) management -> DieBuche + - Add WebView in About Panel for nicer Kredits. + - Localization -> DieBuche, get someone to have a look over German, Italian, Spanish loc. Add Portuguese (thiagomorales ?) + - Don't filter out soft-raids, which only have a disk identifier & no partition number + - Try to investigate if there is a better way to get the partition list + (currently done with diskutil list) probably with Chameleon booter RC6. Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/Italian.lproj/Chameleon.nib =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/Italian.lproj/Chameleon.nib ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/Italian.lproj/Chameleon.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/Italian.lproj/Chameleon.strings ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/Italian.lproj/Localizable.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/Italian.lproj/Localizable.strings ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/chip.png =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/chip.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/CHANGES =================================================================== --- trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/CHANGES (revision 0) +++ trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/CHANGES (revision 340) @@ -0,0 +1,47 @@ +- Added About Dialog, made the displayed version numbers all rely on the info.plist file +- Fixed refresh and on checked associated button state, made sure the string is disabled if value is 0 +- Fixed crash when using swap hd 0<->2 +- Added a new option type (OptionFileString) that features an open dialog box to open files +- Added few Combo boxes to simplify text inputs +- Added Missing ForceHPET option and Theme options +- Added a new SMBIOS panel only opening a file (in construction) +- Added new EFI Injection panel +- Added PciRoot, GUI boot options +- Added scrax to credits: thx for testing the Chameleon PrefPane! +- Create a makebin script (to enhance) that creates zip archives and sets a version + in the bin dir +- Fixed default value to Yes not included in the boot config would not be checked + by default in interface +- Added RestartFix boot option +- Added forceBootConfigPath to the tabview panel for quicker setup, so now no + need to edit the preferences file manually. +- Added SystemId +- Added full bootOptions loading into the interface with no custom code needed, + all loading features are implemented in base class PreferencesControllerBase, + with the automatic parser engine. +- Implemented the bootOption automatic and generic parsing engine. + Now any option is parsed from bootFile automatically (incl. defaults) + thanks to the underlying engine based on a dynamically constructed + id to desc map and also to the group panel registration init process +- Fixed dmg archives would appear in dynamic partition listing +- Added FREEZE (lock) features, see README. +- Refined cosmetics for the GUI +- Added images icon on the first column of each partition entries +- Added APSL and README for instructions +- Added swap disk (01 and 02) fixes +- Added Rename and Hide display from bootConfig +- Fixed 10.5 and 10.6 would crash because of memory references erased +- Added more bootConfig paths and an option to force it + (i.e:if not found automatically) +- Added new paths for bootConfig search now looking in this order: + "/", + "/Extra/", + "/Volumes/EFI/Extra/", + "/Volumes/Cham/Extra/", + "/Volumes/BootLoaders/Extra/", + "/Library/Preferences/SystemConfiguration/", +- Change the restart by replacing the internal reboot shell cmd by an applescript + eq. to the AppleMenu/Restart command +- Fixed nib file loading and initialization problem, possibly fixes the lock pb as well? +- Added Apple_Free filter to filter these free partitions + Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/wrench.png =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/wrench.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/Windows.png =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/Windows.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/MacOSX.png =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/MacOSX.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/disk.png =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/disk.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/English.lproj/InfoPlist.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/English.lproj/InfoPlist.strings ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/English.lproj/Chameleon.nib =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/English.lproj/Chameleon.nib ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/English.lproj/Chameleon.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/English.lproj/Chameleon.strings ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/English.lproj/Localizable.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/PrefPanel/Chameleon.prefPane/Contents/Resources/English.lproj/Localizable.strings ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/EFIMounter/EFI Mounter.app/Contents/MacOS/applet =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/EFIMounter/EFI Mounter.app/Contents/MacOS/applet ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/EFIMounter/EFI Mounter.app/Contents/Info.plist =================================================================== --- trunk/PackageBuilder/package/Configuration/EFIMounter/EFI Mounter.app/Contents/Info.plist (revision 0) +++ trunk/PackageBuilder/package/Configuration/EFIMounter/EFI Mounter.app/Contents/Info.plist (revision 340) @@ -0,0 +1,35 @@ + + + + + CFBundleAllowMixedLocalizations + + CFBundleDevelopmentRegion + English + CFBundleExecutable + applet + CFBundleIconFile + applet + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + EFI - Mount + CFBundlePackageType + APPL + CFBundleSignature + aplt + LSRequiresCarbon + + WindowState + + name + ScriptWindowState + positionOfDivider + 524 + savedFrame + 9 152 833 726 0 0 1440 878 + selectedTabView + result + + + Property changes on: trunk/PackageBuilder/package/Configuration/EFIMounter/EFI Mounter.app/Contents/Info.plist ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Configuration/EFIMounter/EFI Mounter.app/Contents/Resources/applet.icns =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/EFIMounter/EFI Mounter.app/Contents/Resources/applet.icns ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/EFIMounter/EFI Mounter.app/Contents/Resources/description.rtfd/TXT.rtf =================================================================== --- trunk/PackageBuilder/package/Configuration/EFIMounter/EFI Mounter.app/Contents/Resources/description.rtfd/TXT.rtf (revision 0) +++ trunk/PackageBuilder/package/Configuration/EFIMounter/EFI Mounter.app/Contents/Resources/description.rtfd/TXT.rtf (revision 340) @@ -0,0 +1,4 @@ +{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf430 +{\fonttbl} +{\colortbl;\red255\green255\blue255;} +} \ No newline at end of file Property changes on: trunk/PackageBuilder/package/Configuration/EFIMounter/EFI Mounter.app/Contents/Resources/description.rtfd/TXT.rtf ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Configuration/EFIMounter/EFI Mounter.app/Contents/Resources/Scripts/main.scpt =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/EFIMounter/EFI Mounter.app/Contents/Resources/Scripts/main.scpt ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/EFIMounter/EFI Mounter.app/Contents/Resources/applet.rsrc =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Configuration/EFIMounter/EFI Mounter.app/Contents/Resources/applet.rsrc ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Configuration/EFIMounter/EFI Mounter.app/Contents/PkgInfo =================================================================== --- trunk/PackageBuilder/package/Configuration/EFIMounter/EFI Mounter.app/Contents/PkgInfo (revision 0) +++ trunk/PackageBuilder/package/Configuration/EFIMounter/EFI Mounter.app/Contents/PkgInfo (revision 340) @@ -0,0 +1 @@ +APPLaplt \ No newline at end of file Property changes on: trunk/PackageBuilder/package/Configuration/EFIMounter/EFI Mounter.app/Contents/PkgInfo ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/HFS/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/HFS/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/HFS/postinstall (revision 340) @@ -0,0 +1,252 @@ +#!/bin/bash + +diskloader="/usr/standalone/i386/boot0" +partitionloader="/usr/standalone/i386/boot1h" +filesystemloader="/usr/standalone/i386/boot" +bootervolumename="EFI" +booterextensions="Extra/Extensions" + +bootresources="${0%/*}" + +diskmicrocodetype[1]="GRUB,47525542" +diskmicrocodetype[2]="LILO,4c494c4f" + +start () +{ +# $1 volume + +osxvolume="${@}" + +if [ -z "${osxvolume}" ]; then + echo + echo "Cannot find the volume. Exiting." + exit +fi + +bootdev=$( df "${osxvolume}" | sed -n '2p' | awk '{print $1}' ) + +if [ "${bootdev}" = "${bootdev#*disk*s}" ]; then + echo + echo "ERROR Volume does not use slices." + echo "Volume may be stored on a RAID array." + echo + exit +fi + +partitiontable=$( dd 2>/dev/null if=${bootdev%s*} count=1 skip=1 | dd 2>/dev/null count=8 bs=1 | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) +if [ "${partitiontable:0:16}" == "4546492050415254" ]; then + partitiontable=$( dd 2>/dev/null if=${bootdev%s*} count=1 | dd 2>/dev/null count=64 bs=1 skip=446 | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) + if [ "${partitiontable:8:2}" == "ee" ]; then + if [ "${partitiontable:40:2}" == "00" ] && [ "${partitiontable:72:2}" == "00" ] && [ "${partitiontable:104:2}" == "00" ]; then + partitiontable="GPT" + else + partitiontable="GPT/MBR" + fi + fi +else + echo + echo "ERROR Volume is not on a GPT partitioned disc." + echo + exit +fi + +echo "${partitiontable} found." + +echo "OS X Volume is ${osxvolume}" +echo "OX X Volume device is ${bootdev}" + +bootvolume="/Volumes/$bootervolumename" +bootdev=${bootdev%s*}s1 +bootrdev=${bootdev/disk/rdisk} +bootdisk=${bootdev%s*} +bootrdisk=${bootdisk/disk/rdisk} +bootslice=${bootdev#*disk*s} + +echo "EFI Volume device is ${bootdev}" +echo "EFI Volume raw device is ${bootrdev}" +echo "EFI Volume slice is ${bootslice}" +echo "Disk device is ${bootdisk}" +echo "Disk raw device is ${bootrdisk}" +echo "Disk loader is ${diskloader}" +echo "Partition loader is ${partitionloader}" +echo "Filesystem loader is ${filesystemloader}" + +} + +checkdiskmicrocodetype () +{ +diskmicrocode=$( dd 2>/dev/null if=${bootdisk} count=1 | dd 2>/dev/null count=1 bs=437 | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) + +diskmicrocodetypecounter=0 +while [ ${diskmicrocodetypecounter} -lt ${#diskmicrocodetype[@]} ]; do + diskmicrocodetypecounter=$(( ${diskmicrocodetypecounter} + 1 )) + diskmicrocodetypeid=${diskmicrocodetype[${diskmicrocodetypecounter}]#*,} + if [ ! "${diskmicrocode}" = "${diskmicrocode/${diskmicrocodetypeid}/}" ]; then + echo "${diskmicrocodetype[${diskmicrocodetypecounter}]%,*} found." + fi +done +} + +checkdiskmicrocode () +{ +# 1 action ( check or set ) + +diskmicrocode=$( dd 2>/dev/null if=${bootdisk} count=1 | dd 2>/dev/null count=1 bs=437 | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) +diskmicrocodemd5=$( dd 2>/dev/null if=${bootdisk} count=1 | dd 2>/dev/null count=1 bs=437 | md5 ) + +if [ $( echo "${diskmicrocode}" | awk -F0 '{print NF-1}' ) = 874 ]; then + if [ "${1}" = "set" ]; then + echo "No disk microcode found. Updating." + diskupdate=true + else + echo "No disk microcode found." + fi +else + if [ ${1} = set ]; then + echo "Disk microcode found. Preserving." + else + echo "Disk microcode found." + fi + echo "Disk microcode MD5 is ${diskmicrocodemd5}" +fi +} + +checkdisksignature () +{ +disksignature=$( dd 2>/dev/null if=${bootdisk} count=1 | dd 2>/dev/null count=4 bs=1 skip=440 | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) + +if [ $( echo "${disksignature}" | awk -F0 '{print NF-1}' ) = 8 ]; then + echo "No disk signature found." +else + echo "Disk signature found." + echo "Disk signature is 0x${disksignature}" +fi +} + +checkpartitionbootcode () +{ +# 1 action ( check or set ) + +partitionbootcode=$( dd if=${bootrdev} count=1 2>/dev/null | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) +partitionbootcodeextended=$( dd if=${bootrdev} count=1 skip=1 2>/dev/null | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) + +if [ $( echo "${partitionbootcode}" | awk -F0 '{print NF-1}' ) = 1024 ]; then + if [ "${1}" = "set" ]; then + echo "No partition bootcode found. Updating." + else + echo "No partition bootcode found." + fi +else + if [ "${1}" = "set" ]; then + echo "Partition bootcode found. Overwriting." + else + echo "Partition bootcode found." + fi + if [ $( echo "${partitionbootcodeextended}" | awk -F0 '{print NF-1}' ) = 1024 ]; then + partitionbootcodemd5=$( dd 2>/dev/null if=${bootrdev} count=1 | md5 ) + else + partitionbootcodemd5=$( dd 2>/dev/null if=${bootrdev} count=2 | md5 ) + echo "Partition bootcode is dual sector." + fi + echo "Partition bootcode MD5 is ${partitionbootcodemd5}" +fi +} + +checkpartitionactive () +{ +partitionactive=$( fdisk440 -d ${bootrdisk} | grep -n "*" | awk -F: '{print $1}') + +if [ -n "${partitionactive}" ]; then + echo "Partition flagged active is ${partitionactive}" +else + echo "No partition flagged active." +fi + +} + +start ${3} + +if [ "$( df | grep ${bootdev} )" ]; then + umount -f ${bootdev} +fi + +if ! [ "$( fstyp ${bootdev} | grep hfs )" ]; then + echo "${bootdev} isn't a HFS partition" + echo "Executing command: newfs_hfs -v ${bootervolumename} ${bootdev}" + newfs_hfs -v "${bootervolumename}" "${bootdev}" +else + echo "${bootdev} is already a HFS partition (skipping)" +fi + +diskupdate=false +checkdiskmicrocodetype +checkdiskmicrocode set +checkdisksignature +checkpartitionbootcode set +checkpartitionactive + +if ${diskupdate}; then + echo "Executing command: fdisk440 -u -f ${diskloader} -y ${bootdisk}" + fdisk440 -u -f "${osxvolume}/${diskloader}" -y ${bootdisk} +fi + +echo "Executing command: dd if=${partitionloader} of=${bootrdev}" +dd if="${osxvolume}/${partitionloader}" of=${bootrdev} + +# If table is GPT make the first partition active (BadAxe compatibility). +[ "${partitiontable}" = "GPT" ] && bootslice=1 +if [[ "${partitiontable}" = "GPT" ]]; then + fdisk440 -e ${bootdisk} <<-MAKEACTIVE + print + flag ${bootslice} + write + y + quit + MAKEACTIVE +fi + +checkdiskmicrocode check +checkdisksignature +checkpartitionbootcode check +checkpartitionactive + +[ -d "${bootvolume}" ] || mkdir -p "${bootvolume}" +echo "Executing command: mount_hfs ${bootdev} ${bootvolume}" +mount_hfs "${bootdev}" "${bootvolume}" + +echo "Executing command: cp ${osxvolume}${filesystemloader} ${bootvolume}/boot" +cp "${osxvolume}${filesystemloader}" "${bootvolume}/boot" + +#if ! [ -d "${bootvolume}/Extra/Extensions" ]; then +# echo "Executing command: mkdir -p ${bootvolume}/Extra/Extensions" +# mkdir -p "${bootvolume}/Extra/Extensions" +#fi +# unpack any existing Extensions.mkext already on the booter volume +#if [ -e "${bootvolume}/Extra/Extensions.mkext" ]; then +# echo "Executing command: mkextunpack -d ${bootvolume}/Extra/Extensions ${bootvolume}/Extra/Extensions.mkext" +# mkextunpack -d "${bootvolume}/Extra/Extensions" "${bootvolume}/Extra/Extensions.mkext" +# echo "Executing command: rm -R -f ${bootvolume}/Extra/Extensions.mkext" +# rm -R -f "${bootvolume}/Extra/Extensions.mkext" +#fi + +# copy existing /Extra +#if [ -d "${2}/Extra" ]; then +# [ -d "${bootvolume}/Extra/Extensions" ] || mkdir -p "${bootvolume}/Extra/Extensions" +# echo "Executing command: find ${2}/Extra -name '*.plist' -depth 1 -exec cp -f {} ${bootvolume}/Extra \;" +# find "${2}/Extra" -name '*.plist' -depth 1 -exec cp -f {} "${bootvolume}/Extra/" \; +# if [ -f "${2}/Extra/Extensions.mkext" ]; then +# echo "Executing command: mkextunpack -d ${2}/Extra/Extensions ${2}/Extra/Extensions.mkext" +# mkextunpack -d "${bootvolume}/Extra/Extensions" "${2}/Extra/Extensions.mkext" +# fi +# if [ -d "${2}/Extra/Extensions" ]; then +# echo "Executing command: find ${2}/Extra/Extensions -name '*.kext' -depth 1 -exec cp -R {} ${bootvolume}/Extra/Extensions \;" +# find "${2}/Extra/Extensions" -name '*.kext' -depth 1 -exec cp -R {} "${bootvolume}/Extra/Extensions" \; +# fi +#fi + +# setup link for extras +#[ -h "${2}/.Chameleon" ] && unlink "${2}/.Chameleon" +#echo "Executing command: ln -s /Volumes/${bootervolumename} ${2}/.Chameleon" +#ln -s "/Volumes/${bootervolumename}" "${2}/.Chameleon" + +exit \ No newline at end of file Property changes on: trunk/PackageBuilder/package/Scripts/HFS/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/Standard/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/Standard/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/Standard/postinstall (revision 340) @@ -0,0 +1,230 @@ +#!/bin/bash + + +diskloader="boot0" +partitionloader="boot1h" +filesystemloader="boot" + +diskmicrocodetype[1]="GRUB,47525542" +diskmicrocodetype[2]="LILO,4c494c4f" + +start () +{ +# 1 volume + +bootvolume="${@}" +echo "Volume is $bootvolume" +bootresources="${0%/*}" +echo "$bootresources" + +if [ -z "${bootvolume}" ]; then + echo + echo "Cannot find the volume. Exiting." + echo + exit +fi + +bootdev=$( df "${bootvolume}" | sed -n '2p' | awk '{print $1}' ) +bootrdev=${bootdev/disk/rdisk} + +if [ "${bootdev}" = "${bootdev#*disk*s}" ]; then + echo + echo "ERROR Volume does not use slices." + echo + exit +fi + +bootdisk=${bootdev%s*} +bootrdisk=${bootdisk/disk/rdisk} +bootslice=${bootdev#*disk*s} + +echo "Volume is ${bootvolume}" +echo "Volume device is ${bootdev}" +echo "Volume raw device is ${bootrdev}" +echo "Volume slice is ${bootslice}" +echo "Disk device is ${bootdisk}" +echo "Disk raw device is ${bootrdisk}" +echo "Disk loader is ${diskloader}" +echo "Partition loader is ${partitionloader}" +echo "Filesystem loader is ${filesystemloader}" +echo "Boot Resources is ${bootresources}" + +} + +checkdiskmicrocodetype () +{ +diskmicrocode=$( dd 2>/dev/null if=${bootdisk} count=1 | dd 2>/dev/null count=1 bs=437 | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) + +diskmicrocodetypecounter=0 +while [ ${diskmicrocodetypecounter} -lt ${#diskmicrocodetype[@]} ]; do + diskmicrocodetypecounter=$(( ${diskmicrocodetypecounter} + 1 )) + diskmicrocodetypeid=${diskmicrocodetype[${diskmicrocodetypecounter}]#*,} + if [ ! "${diskmicrocode}" = "${diskmicrocode/${diskmicrocodetypeid}/}" ]; then + echo "${diskmicrocodetype[${diskmicrocodetypecounter}]%,*} found." + fi +done +} + +checkdiskmicrocode () +{ +# 1 action ( check or set ) + +diskmicrocode=$( dd 2>/dev/null if=${bootdisk} count=1 | dd 2>/dev/null count=1 bs=437 | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) +diskmicrocodemd5=$( dd 2>/dev/null if=${bootdisk} count=1 | dd 2>/dev/null count=1 bs=437 | md5 ) + +if [ $( echo "${diskmicrocode}" | awk -F0 '{print NF-1}' ) = 874 ]; then + if [ "${1}" = "set" ]; then + echo "No disk microcode found. Updating." + diskupdate=true + else + echo "No disk microcode found." + fi +else + if [ ${1} = set ]; then + echo "Disk microcode found. Preserving." + else + echo "Disk microcode found." + fi + echo "Disk microcode MD5 is ${diskmicrocodemd5}" +fi +} + +checkdisksignature () +{ +disksignature=$( dd 2>/dev/null if=${bootdisk} count=1 | dd 2>/dev/null count=4 bs=1 skip=440 | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) + +if [ $( echo "${disksignature}" | awk -F0 '{print NF-1}' ) = 8 ]; then + echo "No disk signature found." +else + echo "Disk signature found." + echo "Disk signature is 0x${disksignature}" +fi +} + +checkpartitionbootcode () +{ +# 1 action ( check or set ) + +partitionbootcode=$( dd if=${bootrdev} count=1 2>/dev/null | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) +partitionbootcodeextended=$( dd if=${bootrdev} count=1 skip=1 2>/dev/null | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) + +if [ $( echo "${partitionbootcode}" | awk -F0 '{print NF-1}' ) = 1024 ]; then + if [ "${1}" = "set" ]; then + echo "No partition bootcode found. Updating." + else + echo "No partition bootcode found." + fi +else + if [ "${1}" = "set" ]; then + echo "Partition bootcode found. Overwriting." + else + echo "Partition bootcode found." + fi + if [ $( echo "${partitionbootcodeextended}" | awk -F0 '{print NF-1}' ) = 1024 ]; then + partitionbootcodemd5=$( dd 2>/dev/null if=${bootrdev} count=1 | md5 ) + else + partitionbootcodemd5=$( dd 2>/dev/null if=${bootrdev} count=2 | md5 ) + echo "Partition bootcode is dual sector." + fi + echo "Partition bootcode MD5 is ${partitionbootcodemd5}" +fi +} + +checkpartitionactive () +{ +partitionactive=$( fdisk440 -d ${bootrdisk} | grep -n "*" | awk -F: '{print $1}') + +if [ -n "${partitionactive}" ]; then + echo "Partition flagged active is ${partitionactive}" +else + echo "No partition flagged active." +fi + +} + +start ${3} + +#partitiontable=$( diskutil list ${bootdisk} | sed -n '3p' | awk '{print $2}' ) +#[ "${partitiontable}" = "GUID_partition_scheme" ] && echo "GPT found." +#[ "${partitiontable}" = "FDisk_partition_scheme" ] && echo "MBR found." +#[ "${partitiontable}" = "Apple_partition_scheme" ] && echo "APT found." && exit + +partitiontable=$( dd 2>/dev/null if=${bootdisk} count=1 skip=1 | dd 2>/dev/null count=8 bs=1 | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) +if [ "${partitiontable:0:16}" == "4546492050415254" ]; then + partitiontable=$( dd 2>/dev/null if=${bootdisk} count=1 | dd 2>/dev/null count=64 bs=1 skip=446 | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) + if [ "${partitiontable:8:2}" == "ee" ]; then + if [ "${partitiontable:40:2}" == "00" ] && [ "${partitiontable:72:2}" == "00" ] && [ "${partitiontable:104:2}" == "00" ]; then + partitiontable="GPT" + else + partitiontable="GPT/MBR" + fi + fi +else + partitiontable="MBR" +fi + +echo "${partitiontable} found." + +diskupdate=false + +checkdiskmicrocodetype +checkdiskmicrocode set +checkdisksignature +checkpartitionbootcode set +checkpartitionactive + +if ${diskupdate}; then + echo "Executing command: fdisk -u -f /usr/standalone/i386/${diskloader} -y ${bootdisk}" + fdisk -u -f "${bootvolume}/usr/standalone/i386/${diskloader}" -y ${bootdisk} +fi + +echo "Executing command: dd if=/usr/standalone/i386/${partitionloader} of=${bootrdev}" +dd if="${bootvolume}/usr/standalone/i386/${partitionloader}" of=${bootrdev} + +echo "Executing command: cp /usr/standalone/i386/${filesystemloader} ${bootvolume}" +cp "${bootvolume}/usr/standalone/i386/${filesystemloader}" "${bootvolume}" + +echo "Executing command: ${bootresources}/Tools/SetFile -a V ${bootvolume}/${filesystemloader}" +"${bootresources}/Tools/SetFile" -a V "${bootvolume}/${filesystemloader}" + +# If table is GPT make the first partition active (BadAxe compatibility). +#[ "${partitiontable}" = "GPT" ] && bootslice=1 +fdisk440 -e ${bootdisk} <<-MAKEACTIVE +print +flag ${bootslice} +write +y +quit +MAKEACTIVE + +checkdiskmicrocode check +checkdisksignature +checkpartitionbootcode check +checkpartitionactive + +# Check efi partition +if [ -d /Volumes/EFI ]; then + umount -f /Volumes/EFI + rm -R -f /Volumes/EFI +fi + +if [ -d "${bootvolume}/Extra/Extensions" ]; then +# echo "Executing command: mkdir -p ${bootvolume}/Extra/Extensions" + mkdir -p "${bootvolume}/ExtraBackup" + cp -f -R "${bootvolume}/Extra" "${bootvolume}/ExtraBackup" + rm -f -R "${bootvolume}/Extra" +fi +# unpack any existing Extensions.mkext already on the booter volume +if [ -f "${2}/ExtraBackup/Extensions.mkext" ]; then + echo "Executing command: mkextunpack -d ${2}/Extra/Extensions ${2}/ExtraBackup/Extensions.mkext" + mkextunpack -d "${2}/.Chameleon/Extra/Extensions" "${2}/.Chameleon/ExtraBackup/Extensions.mkext" + echo "Executing command: rm -R -f ${2}/ExtraBackup/Extensions.mkext" + rm -R -f "${2}/ExtraBackup/Extensions.mkext" +fi + +# setup link for extras +#[ -h "${2}/.Chameleon" ] && unlink "${2}/.Chameleon" +#echo "Executing command: ln -s . ${2}/.Chameleon" +#ln -s "${2}" "${2}/.Chameleon" + +exit \ No newline at end of file Property changes on: trunk/PackageBuilder/package/Scripts/Standard/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/Standardhfs/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/Standardhfs/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/Standardhfs/postinstall (revision 340) @@ -0,0 +1,230 @@ +#!/bin/bash + + +diskloader="boot0hfs" +partitionloader="boot1h" +filesystemloader="boot" + +diskmicrocodetype[1]="GRUB,47525542" +diskmicrocodetype[2]="LILO,4c494c4f" + +start () +{ +# 1 volume + +bootvolume="${@}" +echo "Volume is $bootvolume" +bootresources="${0%/*}" +echo "$bootresources" + +if [ -z "${bootvolume}" ]; then + echo + echo "Cannot find the volume. Exiting." + echo + exit +fi + +bootdev=$( df "${bootvolume}" | sed -n '2p' | awk '{print $1}' ) +bootrdev=${bootdev/disk/rdisk} + +if [ "${bootdev}" = "${bootdev#*disk*s}" ]; then + echo + echo "ERROR Volume does not use slices." + echo + exit +fi + +bootdisk=${bootdev%s*} +bootrdisk=${bootdisk/disk/rdisk} +bootslice=${bootdev#*disk*s} + +echo "Volume is ${bootvolume}" +echo "Volume device is ${bootdev}" +echo "Volume raw device is ${bootrdev}" +echo "Volume slice is ${bootslice}" +echo "Disk device is ${bootdisk}" +echo "Disk raw device is ${bootrdisk}" +echo "Disk loader is ${diskloader}" +echo "Partition loader is ${partitionloader}" +echo "Filesystem loader is ${filesystemloader}" +echo "Boot Resources is ${bootresources}" + +} + +checkdiskmicrocodetype () +{ +diskmicrocode=$( dd 2>/dev/null if=${bootdisk} count=1 | dd 2>/dev/null count=1 bs=437 | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) + +diskmicrocodetypecounter=0 +while [ ${diskmicrocodetypecounter} -lt ${#diskmicrocodetype[@]} ]; do + diskmicrocodetypecounter=$(( ${diskmicrocodetypecounter} + 1 )) + diskmicrocodetypeid=${diskmicrocodetype[${diskmicrocodetypecounter}]#*,} + if [ ! "${diskmicrocode}" = "${diskmicrocode/${diskmicrocodetypeid}/}" ]; then + echo "${diskmicrocodetype[${diskmicrocodetypecounter}]%,*} found." + fi +done +} + +checkdiskmicrocode () +{ +# 1 action ( check or set ) + +diskmicrocode=$( dd 2>/dev/null if=${bootdisk} count=1 | dd 2>/dev/null count=1 bs=437 | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) +diskmicrocodemd5=$( dd 2>/dev/null if=${bootdisk} count=1 | dd 2>/dev/null count=1 bs=437 | md5 ) + +if [ $( echo "${diskmicrocode}" | awk -F0 '{print NF-1}' ) = 874 ]; then + if [ "${1}" = "set" ]; then + echo "No disk microcode found. Updating." + diskupdate=true + else + echo "No disk microcode found." + fi +else + if [ ${1} = set ]; then + echo "Disk microcode found. Preserving." + else + echo "Disk microcode found." + fi + echo "Disk microcode MD5 is ${diskmicrocodemd5}" +fi +} + +checkdisksignature () +{ +disksignature=$( dd 2>/dev/null if=${bootdisk} count=1 | dd 2>/dev/null count=4 bs=1 skip=440 | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) + +if [ $( echo "${disksignature}" | awk -F0 '{print NF-1}' ) = 8 ]; then + echo "No disk signature found." +else + echo "Disk signature found." + echo "Disk signature is 0x${disksignature}" +fi +} + +checkpartitionbootcode () +{ +# 1 action ( check or set ) + +partitionbootcode=$( dd if=${bootrdev} count=1 2>/dev/null | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) +partitionbootcodeextended=$( dd if=${bootrdev} count=1 skip=1 2>/dev/null | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) + +if [ $( echo "${partitionbootcode}" | awk -F0 '{print NF-1}' ) = 1024 ]; then + if [ "${1}" = "set" ]; then + echo "No partition bootcode found. Updating." + else + echo "No partition bootcode found." + fi +else + if [ "${1}" = "set" ]; then + echo "Partition bootcode found. Overwriting." + else + echo "Partition bootcode found." + fi + if [ $( echo "${partitionbootcodeextended}" | awk -F0 '{print NF-1}' ) = 1024 ]; then + partitionbootcodemd5=$( dd 2>/dev/null if=${bootrdev} count=1 | md5 ) + else + partitionbootcodemd5=$( dd 2>/dev/null if=${bootrdev} count=2 | md5 ) + echo "Partition bootcode is dual sector." + fi + echo "Partition bootcode MD5 is ${partitionbootcodemd5}" +fi +} + +checkpartitionactive () +{ +partitionactive=$( fdisk440 -d ${bootrdisk} | grep -n "*" | awk -F: '{print $1}') + +if [ -n "${partitionactive}" ]; then + echo "Partition flagged active is ${partitionactive}" +else + echo "No partition flagged active." +fi + +} + +start ${3} + +#partitiontable=$( diskutil list ${bootdisk} | sed -n '3p' | awk '{print $2}' ) +#[ "${partitiontable}" = "GUID_partition_scheme" ] && echo "GPT found." +#[ "${partitiontable}" = "FDisk_partition_scheme" ] && echo "MBR found." +#[ "${partitiontable}" = "Apple_partition_scheme" ] && echo "APT found." && exit + +partitiontable=$( dd 2>/dev/null if=${bootdisk} count=1 skip=1 | dd 2>/dev/null count=8 bs=1 | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) +if [ "${partitiontable:0:16}" == "4546492050415254" ]; then + partitiontable=$( dd 2>/dev/null if=${bootdisk} count=1 | dd 2>/dev/null count=64 bs=1 skip=446 | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) + if [ "${partitiontable:8:2}" == "ee" ]; then + if [ "${partitiontable:40:2}" == "00" ] && [ "${partitiontable:72:2}" == "00" ] && [ "${partitiontable:104:2}" == "00" ]; then + partitiontable="GPT" + else + partitiontable="GPT/MBR" + fi + fi +else + partitiontable="MBR" +fi + +echo "${partitiontable} found." + +diskupdate=false + +checkdiskmicrocodetype +checkdiskmicrocode set +checkdisksignature +checkpartitionbootcode set +checkpartitionactive + +if ${diskupdate}; then + echo "Executing command: fdisk -u -f /usr/standalone/i386/${diskloader} -y ${bootdisk}" + fdisk -u -f "${bootvolume}/usr/standalone/i386/${diskloader}" -y ${bootdisk} +fi + +echo "Executing command: dd if=/usr/standalone/i386/${partitionloader} of=${bootrdev}" +dd if="${bootvolume}/usr/standalone/i386/${partitionloader}" of=${bootrdev} + +echo "Executing command: cp /usr/standalone/i386/${filesystemloader} ${bootvolume}" +cp "${bootvolume}/usr/standalone/i386/${filesystemloader}" "${bootvolume}" + +echo "Executing command: ${bootresources}/Tools/SetFile -a V ${bootvolume}/${filesystemloader}" +"${bootresources}/Tools/SetFile" -a V "${bootvolume}/${filesystemloader}" + +# If table is GPT make the first partition active (BadAxe compatibility). +[ "${partitiontable}" = "GPT" ] && bootslice=1 +fdisk440 -e ${bootdisk} <<-MAKEACTIVE +print +flag ${bootslice} +write +y +quit +MAKEACTIVE + +checkdiskmicrocode check +checkdisksignature +checkpartitionbootcode check +checkpartitionactive + +# Check efi partition +if [ -d /Volumes/EFI ]; then + umount -f /Volumes/EFI + rm -R -f /Volumes/EFI +fi + +if ! [ -d "${bootvolume}/Extra/Extensions" ]; then +# echo "Executing command: mkdir -p ${bootvolume}/Extra/Extensions" + mkdir -p "${bootvolume}/ExtraBackup" + cp -f -R "${bootvolume}/Extra" "${bootvolume}/ExtraBackup" + rm -f -R "${bootvolume}/Extra" +fi +# unpack any existing Extensions.mkext already on the booter volume +if [ -f "${2}/ExtraBackup/Extensions.mkext" ]; then + echo "Executing command: mkextunpack -d ${2}/Extra/Extensions ${2}/ExtraBackup/Extensions.mkext" + mkextunpack -d "${2}/.Chameleon/Extra/Extensions" "${2}/.Chameleon/ExtraBackup/Extensions.mkext" + echo "Executing command: rm -R -f ${2}/ExtraBackup/Extensions.mkext" + rm -R -f "${2}/ExtraBackup/Extensions.mkext" +fi + +# setup link for extras +#[ -h "${2}/.Chameleon" ] && unlink "${2}/.Chameleon" +#echo "Executing command: ln -s . ${2}/.Chameleon" +#ln -s "${2}" "${2}/.Chameleon" + +exit \ No newline at end of file Property changes on: trunk/PackageBuilder/package/Scripts/Standardhfs/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/Post/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/Post/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/Post/postinstall (revision 340) @@ -0,0 +1,44 @@ +#!/bin/bash + +temp="/private/tmp/Chameleon" + +#source com.apple.boot.plist +if ! [ -f "${2}/.Chameleon/Extra/com.apple.Boot.plist" ]; then + if [ -f "${2}/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" ]; then + cp -f "${2}/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" "${2}/.Chameleon/Extra" + fi +fi + +# fix kext permissions +find "${2}/.Chameleon/Extra/Extensions" -type f -exec chmod 644 {} \; +find "${2}/.Chameleon/Extra/Extensions" -type d -exec chmod 755 {} \; +chown -R 0:0 "${2}/.Chameleon/Extra/Extensions" + +# build mkext for extras +[ -d "${temp}" ] && rm -R -f "${temp}" +mkdir -p "${temp}/Extensions" +ditto --noextattr --noqtn --arch i386 "${2}/.Chameleon/Extra/Extensions" "${temp}/Extensions" +find "${temp}" -type f -exec chmod 644 {} \; +find "${temp}" -type d -exec chmod 755 {} \; +chown -R 0:0 "${temp}" +kextcache -m "${temp}/Extensions.mkext" "${temp}/Extensions" +cp -f "${temp}/Extensions.mkext" "${2}/.Chameleon/Extra" +#cp -f "${temp}/Extensions.mkext" "${2}/Extra" +rm -f -R "${temp}" + +# Check efi partition +if [ -d /Volumes/EFI ]; then + +# remove link for extras install +#unlink -r "${2}/.Chameleon" + + cp -R -f "${2}/.Chameleon/Extra" /Volumes/EFI/ + umount -f /Volumes/EFI + rm -R -f /Volumes/EFI + rm -R -f "${2}/.Chameleon" +fi + + cp -R -f "${2}/.Chameleon/Extra" "${2}/" + rm -R -f "${2}/.Chameleon" + +exit 0 \ No newline at end of file Property changes on: trunk/PackageBuilder/package/Scripts/Post/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/Resolutions/1024x768x32/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/Resolutions/1024x768x32/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/Resolutions/1024x768x32/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="Graphics Mode" +string="1024x768x32" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/Resolutions/1024x768x32/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/Resolutions/1920x1200x32/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/Resolutions/1920x1200x32/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/Resolutions/1920x1200x32/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="Graphics Mode" +string="1920x1200x32" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/Resolutions/1920x1200x32/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/Resolutions/1600x900x32/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/Resolutions/1600x900x32/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/Resolutions/1600x900x32/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="Graphics Mode" +string="1600x900x32" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/Resolutions/1600x900x32/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/Resolutions/1280x1024x32/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/Resolutions/1280x1024x32/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/Resolutions/1280x1024x32/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="Graphics Mode" +string="1280x1024x32" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/Resolutions/1280x1024x32/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/Resolutions/1680x1050x32/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/Resolutions/1680x1050x32/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/Resolutions/1680x1050x32/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="Graphics Mode" +string="1680x1050x32" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/Resolutions/1680x1050x32/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/Resolutions/1920x1080x32/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/Resolutions/1920x1080x32/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/Resolutions/1920x1080x32/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="Graphics Mode" +string="1920x1080x32" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/Resolutions/1920x1080x32/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/Resolutions/1280x960x32/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/Resolutions/1280x960x32/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/Resolutions/1280x960x32/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="Graphics Mode" +string="1280x960x32" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/Resolutions/1280x960x32/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/Configuration/SMBIOSDefault/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/Configuration/SMBIOSDefault/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/Configuration/SMBIOSDefault/postinstall (revision 340) @@ -0,0 +1,223 @@ +#!/bin/bash + + +diskloader="boot0hfs" +partitionloader="boot1h" +filesystemloader="boot" + +diskmicrocodetype[1]="GRUB,47525542" +diskmicrocodetype[2]="LILO,4c494c4f" + +start () +{ +# 1 volume + +bootvolume="${@}" +echo "Volume is $bootvolume" +bootresources="${0%/*}" +echo "$bootresources" + +if [ -z "${bootvolume}" ]; then + echo + echo "Cannot find the volume. Exiting." + echo + exit +fi + +bootdev=$( df "${bootvolume}" | sed -n '2p' | awk '{print $1}' ) +bootrdev=${bootdev/disk/rdisk} + +if [ "${bootdev}" = "${bootdev#*disk*s}" ]; then + echo + echo "ERROR Volume does not use slices." + echo + exit +fi + +bootdisk=${bootdev%s*} +bootrdisk=${bootdisk/disk/rdisk} +bootslice=${bootdev#*disk*s} + +echo "Volume is ${bootvolume}" +echo "Volume device is ${bootdev}" +echo "Volume raw device is ${bootrdev}" +echo "Volume slice is ${bootslice}" +echo "Disk device is ${bootdisk}" +echo "Disk raw device is ${bootrdisk}" +echo "Disk loader is ${diskloader}" +echo "Partition loader is ${partitionloader}" +echo "Filesystem loader is ${filesystemloader}" +echo "Boot Resources is ${bootresources}" + +} + +checkdiskmicrocodetype () +{ +diskmicrocode=$( dd 2>/dev/null if=${bootdisk} count=1 | dd 2>/dev/null count=1 bs=437 | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) + +diskmicrocodetypecounter=0 +while [ ${diskmicrocodetypecounter} -lt ${#diskmicrocodetype[@]} ]; do + diskmicrocodetypecounter=$(( ${diskmicrocodetypecounter} + 1 )) + diskmicrocodetypeid=${diskmicrocodetype[${diskmicrocodetypecounter}]#*,} + if [ ! "${diskmicrocode}" = "${diskmicrocode/${diskmicrocodetypeid}/}" ]; then + echo "${diskmicrocodetype[${diskmicrocodetypecounter}]%,*} found." + fi +done +} + +checkdiskmicrocode () +{ +# 1 action ( check or set ) + +diskmicrocode=$( dd 2>/dev/null if=${bootdisk} count=1 | dd 2>/dev/null count=1 bs=437 | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) +diskmicrocodemd5=$( dd 2>/dev/null if=${bootdisk} count=1 | dd 2>/dev/null count=1 bs=437 | md5 ) + +if [ $( echo "${diskmicrocode}" | awk -F0 '{print NF-1}' ) = 874 ]; then + if [ "${1}" = "set" ]; then + echo "No disk microcode found. Updating." + diskupdate=true + else + echo "No disk microcode found." + fi +else + if [ ${1} = set ]; then + echo "Disk microcode found. Preserving." + else + echo "Disk microcode found." + fi + echo "Disk microcode MD5 is ${diskmicrocodemd5}" +fi +} + +checkdisksignature () +{ +disksignature=$( dd 2>/dev/null if=${bootdisk} count=1 | dd 2>/dev/null count=4 bs=1 skip=440 | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) + +if [ $( echo "${disksignature}" | awk -F0 '{print NF-1}' ) = 8 ]; then + echo "No disk signature found." +else + echo "Disk signature found." + echo "Disk signature is 0x${disksignature}" +fi +} + +checkpartitionbootcode () +{ +# 1 action ( check or set ) + +partitionbootcode=$( dd if=${bootrdev} count=1 2>/dev/null | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) +partitionbootcodeextended=$( dd if=${bootrdev} count=1 skip=1 2>/dev/null | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) + +if [ $( echo "${partitionbootcode}" | awk -F0 '{print NF-1}' ) = 1024 ]; then + if [ "${1}" = "set" ]; then + echo "No partition bootcode found. Updating." + else + echo "No partition bootcode found." + fi +else + if [ "${1}" = "set" ]; then + echo "Partition bootcode found. Overwriting." + else + echo "Partition bootcode found." + fi + if [ $( echo "${partitionbootcodeextended}" | awk -F0 '{print NF-1}' ) = 1024 ]; then + partitionbootcodemd5=$( dd 2>/dev/null if=${bootrdev} count=1 | md5 ) + else + partitionbootcodemd5=$( dd 2>/dev/null if=${bootrdev} count=2 | md5 ) + echo "Partition bootcode is dual sector." + fi + echo "Partition bootcode MD5 is ${partitionbootcodemd5}" +fi +} + +checkpartitionactive () +{ +partitionactive=$( fdisk440 -d ${bootrdisk} | grep -n "*" | awk -F: '{print $1}') + +if [ -n "${partitionactive}" ]; then + echo "Partition flagged active is ${partitionactive}" +else + echo "No partition flagged active." +fi + +} + +start ${3} + +#partitiontable=$( diskutil list ${bootdisk} | sed -n '3p' | awk '{print $2}' ) +#[ "${partitiontable}" = "GUID_partition_scheme" ] && echo "GPT found." +#[ "${partitiontable}" = "FDisk_partition_scheme" ] && echo "MBR found." +#[ "${partitiontable}" = "Apple_partition_scheme" ] && echo "APT found." && exit + +partitiontable=$( dd 2>/dev/null if=${bootdisk} count=1 skip=1 | dd 2>/dev/null count=8 bs=1 | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) +if [ "${partitiontable:0:16}" == "4546492050415254" ]; then + partitiontable=$( dd 2>/dev/null if=${bootdisk} count=1 | dd 2>/dev/null count=64 bs=1 skip=446 | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) + if [ "${partitiontable:8:2}" == "ee" ]; then + if [ "${partitiontable:40:2}" == "00" ] && [ "${partitiontable:72:2}" == "00" ] && [ "${partitiontable:104:2}" == "00" ]; then + partitiontable="GPT" + else + partitiontable="GPT/MBR" + fi + fi +else + partitiontable="MBR" +fi + +echo "${partitiontable} found." + +diskupdate=false + +checkdiskmicrocodetype +checkdiskmicrocode set +checkdisksignature +checkpartitionbootcode set +checkpartitionactive + +if ${diskupdate}; then + echo "Executing command: fdisk -u -f /usr/standalone/i386/${diskloader} -y ${bootdisk}" + fdisk -u -f "${bootvolume}/usr/standalone/i386/${diskloader}" -y ${bootdisk} +fi + +echo "Executing command: dd if=/usr/standalone/i386/${partitionloader} of=${bootrdev}" +dd if="${bootvolume}/usr/standalone/i386/${partitionloader}" of=${bootrdev} + +echo "Executing command: cp /usr/standalone/i386/${filesystemloader} ${bootvolume}" +cp "${bootvolume}/usr/standalone/i386/${filesystemloader}" "${bootvolume}" + +echo "Executing command: ${bootresources}/Tools/SetFile -a V ${bootvolume}/${filesystemloader}" +"${bootresources}/Tools/SetFile" -a V "${bootvolume}/${filesystemloader}" + +# If table is GPT make the first partition active (BadAxe compatibility). +[ "${partitiontable}" = "GPT" ] && bootslice=1 +fdisk440 -e ${bootdisk} <<-MAKEACTIVE +print +flag ${bootslice} +write +y +quit +MAKEACTIVE + +checkdiskmicrocode check +checkdisksignature +checkpartitionbootcode check +checkpartitionactive + +if ! [ -d "${bootvolume}/Extra/Extensions" ]; then + echo "Executing command: mkdir -p ${bootvolume}/Extra/Extensions" + mkdir -p "${bootvolume}/Extra/Extensions" +fi +# unpack any existing Extensions.mkext already on the booter volume +if [ -f "${2}/Extra/Extensions.mkext" ]; then + echo "Executing command: mkextunpack -d ${2}/Extra/Extensions ${2}/Extra/Extensions.mkext" + mkextunpack -d "${2}/Extra/Extensions" "${2}/Extra/Extensions.mkext" + echo "Executing command: rm -R -f ${2}/Extra/Extensions.mkext" + rm -R -f "${2}/Extra/Extensions.mkext" +fi + +# setup link for extras +#[ -h "${2}/.Chameleon" ] && unlink "${2}/.Chameleon" +#echo "Executing command: ln -s . ${2}/.Chameleon" +#ln -s "${2}" "${2}/.Chameleon" + + +exit Property changes on: trunk/PackageBuilder/package/Scripts/Configuration/SMBIOSDefault/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/Configuration/SMBIOSDefault/preinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/Configuration/SMBIOSDefault/preinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/Configuration/SMBIOSDefault/preinstall (revision 340) @@ -0,0 +1,223 @@ +#!/bin/bash + + +diskloader="boot0hfs" +partitionloader="boot1h" +filesystemloader="boot" + +diskmicrocodetype[1]="GRUB,47525542" +diskmicrocodetype[2]="LILO,4c494c4f" + +start () +{ +# 1 volume + +bootvolume="${@}" +echo "Volume is $bootvolume" +bootresources="${0%/*}" +echo "$bootresources" + +if [ -z "${bootvolume}" ]; then + echo + echo "Cannot find the volume. Exiting." + echo + exit +fi + +bootdev=$( df "${bootvolume}" | sed -n '2p' | awk '{print $1}' ) +bootrdev=${bootdev/disk/rdisk} + +if [ "${bootdev}" = "${bootdev#*disk*s}" ]; then + echo + echo "ERROR Volume does not use slices." + echo + exit +fi + +bootdisk=${bootdev%s*} +bootrdisk=${bootdisk/disk/rdisk} +bootslice=${bootdev#*disk*s} + +echo "Volume is ${bootvolume}" +echo "Volume device is ${bootdev}" +echo "Volume raw device is ${bootrdev}" +echo "Volume slice is ${bootslice}" +echo "Disk device is ${bootdisk}" +echo "Disk raw device is ${bootrdisk}" +echo "Disk loader is ${diskloader}" +echo "Partition loader is ${partitionloader}" +echo "Filesystem loader is ${filesystemloader}" +echo "Boot Resources is ${bootresources}" + +} + +checkdiskmicrocodetype () +{ +diskmicrocode=$( dd 2>/dev/null if=${bootdisk} count=1 | dd 2>/dev/null count=1 bs=437 | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) + +diskmicrocodetypecounter=0 +while [ ${diskmicrocodetypecounter} -lt ${#diskmicrocodetype[@]} ]; do + diskmicrocodetypecounter=$(( ${diskmicrocodetypecounter} + 1 )) + diskmicrocodetypeid=${diskmicrocodetype[${diskmicrocodetypecounter}]#*,} + if [ ! "${diskmicrocode}" = "${diskmicrocode/${diskmicrocodetypeid}/}" ]; then + echo "${diskmicrocodetype[${diskmicrocodetypecounter}]%,*} found." + fi +done +} + +checkdiskmicrocode () +{ +# 1 action ( check or set ) + +diskmicrocode=$( dd 2>/dev/null if=${bootdisk} count=1 | dd 2>/dev/null count=1 bs=437 | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) +diskmicrocodemd5=$( dd 2>/dev/null if=${bootdisk} count=1 | dd 2>/dev/null count=1 bs=437 | md5 ) + +if [ $( echo "${diskmicrocode}" | awk -F0 '{print NF-1}' ) = 874 ]; then + if [ "${1}" = "set" ]; then + echo "No disk microcode found. Updating." + diskupdate=true + else + echo "No disk microcode found." + fi +else + if [ ${1} = set ]; then + echo "Disk microcode found. Preserving." + else + echo "Disk microcode found." + fi + echo "Disk microcode MD5 is ${diskmicrocodemd5}" +fi +} + +checkdisksignature () +{ +disksignature=$( dd 2>/dev/null if=${bootdisk} count=1 | dd 2>/dev/null count=4 bs=1 skip=440 | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) + +if [ $( echo "${disksignature}" | awk -F0 '{print NF-1}' ) = 8 ]; then + echo "No disk signature found." +else + echo "Disk signature found." + echo "Disk signature is 0x${disksignature}" +fi +} + +checkpartitionbootcode () +{ +# 1 action ( check or set ) + +partitionbootcode=$( dd if=${bootrdev} count=1 2>/dev/null | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) +partitionbootcodeextended=$( dd if=${bootrdev} count=1 skip=1 2>/dev/null | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) + +if [ $( echo "${partitionbootcode}" | awk -F0 '{print NF-1}' ) = 1024 ]; then + if [ "${1}" = "set" ]; then + echo "No partition bootcode found. Updating." + else + echo "No partition bootcode found." + fi +else + if [ "${1}" = "set" ]; then + echo "Partition bootcode found. Overwriting." + else + echo "Partition bootcode found." + fi + if [ $( echo "${partitionbootcodeextended}" | awk -F0 '{print NF-1}' ) = 1024 ]; then + partitionbootcodemd5=$( dd 2>/dev/null if=${bootrdev} count=1 | md5 ) + else + partitionbootcodemd5=$( dd 2>/dev/null if=${bootrdev} count=2 | md5 ) + echo "Partition bootcode is dual sector." + fi + echo "Partition bootcode MD5 is ${partitionbootcodemd5}" +fi +} + +checkpartitionactive () +{ +partitionactive=$( fdisk440 -d ${bootrdisk} | grep -n "*" | awk -F: '{print $1}') + +if [ -n "${partitionactive}" ]; then + echo "Partition flagged active is ${partitionactive}" +else + echo "No partition flagged active." +fi + +} + +start ${3} + +#partitiontable=$( diskutil list ${bootdisk} | sed -n '3p' | awk '{print $2}' ) +#[ "${partitiontable}" = "GUID_partition_scheme" ] && echo "GPT found." +#[ "${partitiontable}" = "FDisk_partition_scheme" ] && echo "MBR found." +#[ "${partitiontable}" = "Apple_partition_scheme" ] && echo "APT found." && exit + +partitiontable=$( dd 2>/dev/null if=${bootdisk} count=1 skip=1 | dd 2>/dev/null count=8 bs=1 | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) +if [ "${partitiontable:0:16}" == "4546492050415254" ]; then + partitiontable=$( dd 2>/dev/null if=${bootdisk} count=1 | dd 2>/dev/null count=64 bs=1 skip=446 | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) + if [ "${partitiontable:8:2}" == "ee" ]; then + if [ "${partitiontable:40:2}" == "00" ] && [ "${partitiontable:72:2}" == "00" ] && [ "${partitiontable:104:2}" == "00" ]; then + partitiontable="GPT" + else + partitiontable="GPT/MBR" + fi + fi +else + partitiontable="MBR" +fi + +echo "${partitiontable} found." + +diskupdate=false + +checkdiskmicrocodetype +checkdiskmicrocode set +checkdisksignature +checkpartitionbootcode set +checkpartitionactive + +if ${diskupdate}; then + echo "Executing command: fdisk -u -f /usr/standalone/i386/${diskloader} -y ${bootdisk}" + fdisk -u -f "${bootvolume}/usr/standalone/i386/${diskloader}" -y ${bootdisk} +fi + +echo "Executing command: dd if=/usr/standalone/i386/${partitionloader} of=${bootrdev}" +dd if="${bootvolume}/usr/standalone/i386/${partitionloader}" of=${bootrdev} + +echo "Executing command: cp /usr/standalone/i386/${filesystemloader} ${bootvolume}" +cp "${bootvolume}/usr/standalone/i386/${filesystemloader}" "${bootvolume}" + +echo "Executing command: ${bootresources}/Tools/SetFile -a V ${bootvolume}/${filesystemloader}" +"${bootresources}/Tools/SetFile" -a V "${bootvolume}/${filesystemloader}" + +# If table is GPT make the first partition active (BadAxe compatibility). +[ "${partitiontable}" = "GPT" ] && bootslice=1 +fdisk440 -e ${bootdisk} <<-MAKEACTIVE +print +flag ${bootslice} +write +y +quit +MAKEACTIVE + +checkdiskmicrocode check +checkdisksignature +checkpartitionbootcode check +checkpartitionactive + +if ! [ -d "${bootvolume}/Extra/Extensions" ]; then + echo "Executing command: mkdir -p ${bootvolume}/Extra/Extensions" + mkdir -p "${bootvolume}/Extra/Extensions" +fi +# unpack any existing Extensions.mkext already on the booter volume +if [ -f "${2}/Extra/Extensions.mkext" ]; then + echo "Executing command: mkextunpack -d ${2}/Extra/Extensions ${2}/Extra/Extensions.mkext" + mkextunpack -d "${2}/Extra/Extensions" "${2}/Extra/Extensions.mkext" + echo "Executing command: rm -R -f ${2}/Extra/Extensions.mkext" + rm -R -f "${2}/Extra/Extensions.mkext" +fi + +# setup link for extras +#[ -h "${2}/.Chameleon" ] && unlink "${2}/.Chameleon" +#echo "Executing command: ln -s . ${2}/.Chameleon" +#ln -s "${2}" "${2}/.Chameleon" + + +exit Property changes on: trunk/PackageBuilder/package/Scripts/Configuration/SMBIOSDefault/preinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/Configuration/PrefPanel/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/Configuration/PrefPanel/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/Configuration/PrefPanel/postinstall (revision 340) @@ -0,0 +1,223 @@ +#!/bin/bash + + +diskloader="boot0hfs" +partitionloader="boot1h" +filesystemloader="boot" + +diskmicrocodetype[1]="GRUB,47525542" +diskmicrocodetype[2]="LILO,4c494c4f" + +start () +{ +# 1 volume + +bootvolume="${@}" +echo "Volume is $bootvolume" +bootresources="${0%/*}" +echo "$bootresources" + +if [ -z "${bootvolume}" ]; then + echo + echo "Cannot find the volume. Exiting." + echo + exit +fi + +bootdev=$( df "${bootvolume}" | sed -n '2p' | awk '{print $1}' ) +bootrdev=${bootdev/disk/rdisk} + +if [ "${bootdev}" = "${bootdev#*disk*s}" ]; then + echo + echo "ERROR Volume does not use slices." + echo + exit +fi + +bootdisk=${bootdev%s*} +bootrdisk=${bootdisk/disk/rdisk} +bootslice=${bootdev#*disk*s} + +echo "Volume is ${bootvolume}" +echo "Volume device is ${bootdev}" +echo "Volume raw device is ${bootrdev}" +echo "Volume slice is ${bootslice}" +echo "Disk device is ${bootdisk}" +echo "Disk raw device is ${bootrdisk}" +echo "Disk loader is ${diskloader}" +echo "Partition loader is ${partitionloader}" +echo "Filesystem loader is ${filesystemloader}" +echo "Boot Resources is ${bootresources}" + +} + +checkdiskmicrocodetype () +{ +diskmicrocode=$( dd 2>/dev/null if=${bootdisk} count=1 | dd 2>/dev/null count=1 bs=437 | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) + +diskmicrocodetypecounter=0 +while [ ${diskmicrocodetypecounter} -lt ${#diskmicrocodetype[@]} ]; do + diskmicrocodetypecounter=$(( ${diskmicrocodetypecounter} + 1 )) + diskmicrocodetypeid=${diskmicrocodetype[${diskmicrocodetypecounter}]#*,} + if [ ! "${diskmicrocode}" = "${diskmicrocode/${diskmicrocodetypeid}/}" ]; then + echo "${diskmicrocodetype[${diskmicrocodetypecounter}]%,*} found." + fi +done +} + +checkdiskmicrocode () +{ +# 1 action ( check or set ) + +diskmicrocode=$( dd 2>/dev/null if=${bootdisk} count=1 | dd 2>/dev/null count=1 bs=437 | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) +diskmicrocodemd5=$( dd 2>/dev/null if=${bootdisk} count=1 | dd 2>/dev/null count=1 bs=437 | md5 ) + +if [ $( echo "${diskmicrocode}" | awk -F0 '{print NF-1}' ) = 874 ]; then + if [ "${1}" = "set" ]; then + echo "No disk microcode found. Updating." + diskupdate=true + else + echo "No disk microcode found." + fi +else + if [ ${1} = set ]; then + echo "Disk microcode found. Preserving." + else + echo "Disk microcode found." + fi + echo "Disk microcode MD5 is ${diskmicrocodemd5}" +fi +} + +checkdisksignature () +{ +disksignature=$( dd 2>/dev/null if=${bootdisk} count=1 | dd 2>/dev/null count=4 bs=1 skip=440 | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) + +if [ $( echo "${disksignature}" | awk -F0 '{print NF-1}' ) = 8 ]; then + echo "No disk signature found." +else + echo "Disk signature found." + echo "Disk signature is 0x${disksignature}" +fi +} + +checkpartitionbootcode () +{ +# 1 action ( check or set ) + +partitionbootcode=$( dd if=${bootrdev} count=1 2>/dev/null | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) +partitionbootcodeextended=$( dd if=${bootrdev} count=1 skip=1 2>/dev/null | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) + +if [ $( echo "${partitionbootcode}" | awk -F0 '{print NF-1}' ) = 1024 ]; then + if [ "${1}" = "set" ]; then + echo "No partition bootcode found. Updating." + else + echo "No partition bootcode found." + fi +else + if [ "${1}" = "set" ]; then + echo "Partition bootcode found. Overwriting." + else + echo "Partition bootcode found." + fi + if [ $( echo "${partitionbootcodeextended}" | awk -F0 '{print NF-1}' ) = 1024 ]; then + partitionbootcodemd5=$( dd 2>/dev/null if=${bootrdev} count=1 | md5 ) + else + partitionbootcodemd5=$( dd 2>/dev/null if=${bootrdev} count=2 | md5 ) + echo "Partition bootcode is dual sector." + fi + echo "Partition bootcode MD5 is ${partitionbootcodemd5}" +fi +} + +checkpartitionactive () +{ +partitionactive=$( fdisk440 -d ${bootrdisk} | grep -n "*" | awk -F: '{print $1}') + +if [ -n "${partitionactive}" ]; then + echo "Partition flagged active is ${partitionactive}" +else + echo "No partition flagged active." +fi + +} + +start ${3} + +#partitiontable=$( diskutil list ${bootdisk} | sed -n '3p' | awk '{print $2}' ) +#[ "${partitiontable}" = "GUID_partition_scheme" ] && echo "GPT found." +#[ "${partitiontable}" = "FDisk_partition_scheme" ] && echo "MBR found." +#[ "${partitiontable}" = "Apple_partition_scheme" ] && echo "APT found." && exit + +partitiontable=$( dd 2>/dev/null if=${bootdisk} count=1 skip=1 | dd 2>/dev/null count=8 bs=1 | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) +if [ "${partitiontable:0:16}" == "4546492050415254" ]; then + partitiontable=$( dd 2>/dev/null if=${bootdisk} count=1 | dd 2>/dev/null count=64 bs=1 skip=446 | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) + if [ "${partitiontable:8:2}" == "ee" ]; then + if [ "${partitiontable:40:2}" == "00" ] && [ "${partitiontable:72:2}" == "00" ] && [ "${partitiontable:104:2}" == "00" ]; then + partitiontable="GPT" + else + partitiontable="GPT/MBR" + fi + fi +else + partitiontable="MBR" +fi + +echo "${partitiontable} found." + +diskupdate=false + +checkdiskmicrocodetype +checkdiskmicrocode set +checkdisksignature +checkpartitionbootcode set +checkpartitionactive + +if ${diskupdate}; then + echo "Executing command: fdisk -u -f /usr/standalone/i386/${diskloader} -y ${bootdisk}" + fdisk -u -f "${bootvolume}/usr/standalone/i386/${diskloader}" -y ${bootdisk} +fi + +echo "Executing command: dd if=/usr/standalone/i386/${partitionloader} of=${bootrdev}" +dd if="${bootvolume}/usr/standalone/i386/${partitionloader}" of=${bootrdev} + +echo "Executing command: cp /usr/standalone/i386/${filesystemloader} ${bootvolume}" +cp "${bootvolume}/usr/standalone/i386/${filesystemloader}" "${bootvolume}" + +echo "Executing command: ${bootresources}/Tools/SetFile -a V ${bootvolume}/${filesystemloader}" +"${bootresources}/Tools/SetFile" -a V "${bootvolume}/${filesystemloader}" + +# If table is GPT make the first partition active (BadAxe compatibility). +[ "${partitiontable}" = "GPT" ] && bootslice=1 +fdisk440 -e ${bootdisk} <<-MAKEACTIVE +print +flag ${bootslice} +write +y +quit +MAKEACTIVE + +checkdiskmicrocode check +checkdisksignature +checkpartitionbootcode check +checkpartitionactive + +if ! [ -d "${bootvolume}/Extra/Extensions" ]; then + echo "Executing command: mkdir -p ${bootvolume}/Extra/Extensions" + mkdir -p "${bootvolume}/Extra/Extensions" +fi +# unpack any existing Extensions.mkext already on the booter volume +if [ -f "${2}/Extra/Extensions.mkext" ]; then + echo "Executing command: mkextunpack -d ${2}/Extra/Extensions ${2}/Extra/Extensions.mkext" + mkextunpack -d "${2}/Extra/Extensions" "${2}/Extra/Extensions.mkext" + echo "Executing command: rm -R -f ${2}/Extra/Extensions.mkext" + rm -R -f "${2}/Extra/Extensions.mkext" +fi + +# setup link for extras +#[ -h "${2}/.Chameleon" ] && unlink "${2}/.Chameleon" +#echo "Executing command: ln -s . ${2}/.Chameleon" +#ln -s "${2}" "${2}/.Chameleon" + + +exit Property changes on: trunk/PackageBuilder/package/Scripts/Configuration/PrefPanel/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/Configuration/PrefPanel/preinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/Configuration/PrefPanel/preinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/Configuration/PrefPanel/preinstall (revision 340) @@ -0,0 +1,223 @@ +#!/bin/bash + + +diskloader="boot0hfs" +partitionloader="boot1h" +filesystemloader="boot" + +diskmicrocodetype[1]="GRUB,47525542" +diskmicrocodetype[2]="LILO,4c494c4f" + +start () +{ +# 1 volume + +bootvolume="${@}" +echo "Volume is $bootvolume" +bootresources="${0%/*}" +echo "$bootresources" + +if [ -z "${bootvolume}" ]; then + echo + echo "Cannot find the volume. Exiting." + echo + exit +fi + +bootdev=$( df "${bootvolume}" | sed -n '2p' | awk '{print $1}' ) +bootrdev=${bootdev/disk/rdisk} + +if [ "${bootdev}" = "${bootdev#*disk*s}" ]; then + echo + echo "ERROR Volume does not use slices." + echo + exit +fi + +bootdisk=${bootdev%s*} +bootrdisk=${bootdisk/disk/rdisk} +bootslice=${bootdev#*disk*s} + +echo "Volume is ${bootvolume}" +echo "Volume device is ${bootdev}" +echo "Volume raw device is ${bootrdev}" +echo "Volume slice is ${bootslice}" +echo "Disk device is ${bootdisk}" +echo "Disk raw device is ${bootrdisk}" +echo "Disk loader is ${diskloader}" +echo "Partition loader is ${partitionloader}" +echo "Filesystem loader is ${filesystemloader}" +echo "Boot Resources is ${bootresources}" + +} + +checkdiskmicrocodetype () +{ +diskmicrocode=$( dd 2>/dev/null if=${bootdisk} count=1 | dd 2>/dev/null count=1 bs=437 | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) + +diskmicrocodetypecounter=0 +while [ ${diskmicrocodetypecounter} -lt ${#diskmicrocodetype[@]} ]; do + diskmicrocodetypecounter=$(( ${diskmicrocodetypecounter} + 1 )) + diskmicrocodetypeid=${diskmicrocodetype[${diskmicrocodetypecounter}]#*,} + if [ ! "${diskmicrocode}" = "${diskmicrocode/${diskmicrocodetypeid}/}" ]; then + echo "${diskmicrocodetype[${diskmicrocodetypecounter}]%,*} found." + fi +done +} + +checkdiskmicrocode () +{ +# 1 action ( check or set ) + +diskmicrocode=$( dd 2>/dev/null if=${bootdisk} count=1 | dd 2>/dev/null count=1 bs=437 | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) +diskmicrocodemd5=$( dd 2>/dev/null if=${bootdisk} count=1 | dd 2>/dev/null count=1 bs=437 | md5 ) + +if [ $( echo "${diskmicrocode}" | awk -F0 '{print NF-1}' ) = 874 ]; then + if [ "${1}" = "set" ]; then + echo "No disk microcode found. Updating." + diskupdate=true + else + echo "No disk microcode found." + fi +else + if [ ${1} = set ]; then + echo "Disk microcode found. Preserving." + else + echo "Disk microcode found." + fi + echo "Disk microcode MD5 is ${diskmicrocodemd5}" +fi +} + +checkdisksignature () +{ +disksignature=$( dd 2>/dev/null if=${bootdisk} count=1 | dd 2>/dev/null count=4 bs=1 skip=440 | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) + +if [ $( echo "${disksignature}" | awk -F0 '{print NF-1}' ) = 8 ]; then + echo "No disk signature found." +else + echo "Disk signature found." + echo "Disk signature is 0x${disksignature}" +fi +} + +checkpartitionbootcode () +{ +# 1 action ( check or set ) + +partitionbootcode=$( dd if=${bootrdev} count=1 2>/dev/null | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) +partitionbootcodeextended=$( dd if=${bootrdev} count=1 skip=1 2>/dev/null | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) + +if [ $( echo "${partitionbootcode}" | awk -F0 '{print NF-1}' ) = 1024 ]; then + if [ "${1}" = "set" ]; then + echo "No partition bootcode found. Updating." + else + echo "No partition bootcode found." + fi +else + if [ "${1}" = "set" ]; then + echo "Partition bootcode found. Overwriting." + else + echo "Partition bootcode found." + fi + if [ $( echo "${partitionbootcodeextended}" | awk -F0 '{print NF-1}' ) = 1024 ]; then + partitionbootcodemd5=$( dd 2>/dev/null if=${bootrdev} count=1 | md5 ) + else + partitionbootcodemd5=$( dd 2>/dev/null if=${bootrdev} count=2 | md5 ) + echo "Partition bootcode is dual sector." + fi + echo "Partition bootcode MD5 is ${partitionbootcodemd5}" +fi +} + +checkpartitionactive () +{ +partitionactive=$( fdisk440 -d ${bootrdisk} | grep -n "*" | awk -F: '{print $1}') + +if [ -n "${partitionactive}" ]; then + echo "Partition flagged active is ${partitionactive}" +else + echo "No partition flagged active." +fi + +} + +start ${3} + +#partitiontable=$( diskutil list ${bootdisk} | sed -n '3p' | awk '{print $2}' ) +#[ "${partitiontable}" = "GUID_partition_scheme" ] && echo "GPT found." +#[ "${partitiontable}" = "FDisk_partition_scheme" ] && echo "MBR found." +#[ "${partitiontable}" = "Apple_partition_scheme" ] && echo "APT found." && exit + +partitiontable=$( dd 2>/dev/null if=${bootdisk} count=1 skip=1 | dd 2>/dev/null count=8 bs=1 | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) +if [ "${partitiontable:0:16}" == "4546492050415254" ]; then + partitiontable=$( dd 2>/dev/null if=${bootdisk} count=1 | dd 2>/dev/null count=64 bs=1 skip=446 | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) + if [ "${partitiontable:8:2}" == "ee" ]; then + if [ "${partitiontable:40:2}" == "00" ] && [ "${partitiontable:72:2}" == "00" ] && [ "${partitiontable:104:2}" == "00" ]; then + partitiontable="GPT" + else + partitiontable="GPT/MBR" + fi + fi +else + partitiontable="MBR" +fi + +echo "${partitiontable} found." + +diskupdate=false + +checkdiskmicrocodetype +checkdiskmicrocode set +checkdisksignature +checkpartitionbootcode set +checkpartitionactive + +if ${diskupdate}; then + echo "Executing command: fdisk -u -f /usr/standalone/i386/${diskloader} -y ${bootdisk}" + fdisk -u -f "${bootvolume}/usr/standalone/i386/${diskloader}" -y ${bootdisk} +fi + +echo "Executing command: dd if=/usr/standalone/i386/${partitionloader} of=${bootrdev}" +dd if="${bootvolume}/usr/standalone/i386/${partitionloader}" of=${bootrdev} + +echo "Executing command: cp /usr/standalone/i386/${filesystemloader} ${bootvolume}" +cp "${bootvolume}/usr/standalone/i386/${filesystemloader}" "${bootvolume}" + +echo "Executing command: ${bootresources}/Tools/SetFile -a V ${bootvolume}/${filesystemloader}" +"${bootresources}/Tools/SetFile" -a V "${bootvolume}/${filesystemloader}" + +# If table is GPT make the first partition active (BadAxe compatibility). +[ "${partitiontable}" = "GPT" ] && bootslice=1 +fdisk440 -e ${bootdisk} <<-MAKEACTIVE +print +flag ${bootslice} +write +y +quit +MAKEACTIVE + +checkdiskmicrocode check +checkdisksignature +checkpartitionbootcode check +checkpartitionactive + +if ! [ -d "${bootvolume}/Extra/Extensions" ]; then + echo "Executing command: mkdir -p ${bootvolume}/Extra/Extensions" + mkdir -p "${bootvolume}/Extra/Extensions" +fi +# unpack any existing Extensions.mkext already on the booter volume +if [ -f "${2}/Extra/Extensions.mkext" ]; then + echo "Executing command: mkextunpack -d ${2}/Extra/Extensions ${2}/Extra/Extensions.mkext" + mkextunpack -d "${2}/Extra/Extensions" "${2}/Extra/Extensions.mkext" + echo "Executing command: rm -R -f ${2}/Extra/Extensions.mkext" + rm -R -f "${2}/Extra/Extensions.mkext" +fi + +# setup link for extras +#[ -h "${2}/.Chameleon" ] && unlink "${2}/.Chameleon" +#echo "Executing command: ln -s . ${2}/.Chameleon" +#ln -s "${2}" "${2}/.Chameleon" + + +exit Property changes on: trunk/PackageBuilder/package/Scripts/Configuration/PrefPanel/preinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/Option/ForceHPET/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/Option/ForceHPET/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/Option/ForceHPET/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="ForceHPET" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp -f "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=y to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/Option/ForceHPET/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/Option/GenerateCStates/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/Option/GenerateCStates/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/Option/GenerateCStates/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="GenerateCStates" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/Option/GenerateCStates/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/Option/VBIOS/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/Option/VBIOS/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/Option/VBIOS/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="VBIOS" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/Option/VBIOS/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/Option/EHCIacquire/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/Option/EHCIacquire/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/Option/EHCIacquire/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="EHCIacquire" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/Option/EHCIacquire/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/Option/UseMemDetect/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/Option/UseMemDetect/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/Option/UseMemDetect/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="UseMemDetect" +string="No" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/Option/UseMemDetect/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/Option/GUI/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/Option/GUI/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/Option/GUI/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="GUI" +string="No" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/Option/GUI/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/Option/SMBIOSdefaults/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/Option/SMBIOSdefaults/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/Option/SMBIOSdefaults/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="SMBIOSdefault" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/Option/SMBIOSdefaults/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/Option/LegacyLogo/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/Option/LegacyLogo/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/Option/LegacyLogo/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="LegacyLogo" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/Option/LegacyLogo/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/Option/Wake/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/Option/Wake/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/Option/Wake/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="Wake" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/Option/Wake/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/Option/BootBanner/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/Option/BootBanner/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/Option/BootBanner/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="BootBanner" +string="No" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/Option/BootBanner/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/Option/GraphicsEnabler/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/Option/GraphicsEnabler/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/Option/GraphicsEnabler/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="GraphicsEnabler" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp -f "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=y to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/Option/GraphicsEnabler/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/Option/RestartFix/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/Option/RestartFix/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/Option/RestartFix/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="RestartFix" +string="No" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/Option/RestartFix/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/Option/UHCIreset/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/Option/UHCIreset/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/Option/UHCIreset/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="UHCIreset" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=y to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/Option/UHCIreset/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/Option/GeneratePStates/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/Option/GeneratePStates/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/Option/GeneratePStates/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="GeneratePStates" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/Option/GeneratePStates/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/Option/DropSSDT/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/Option/DropSSDT/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/Option/DropSSDT/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="DropSSDT" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/Option/DropSSDT/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/Option/Wait/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/Option/Wait/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/Option/Wait/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="Wait" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/Option/Wait/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/Option/InstantMenu/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/Option/InstantMenu/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/Option/InstantMenu/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="InstantMenu" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/Option/InstantMenu/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/Option/EthernetBuiltIn/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/Option/EthernetBuiltIn/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/Option/EthernetBuiltIn/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="EthernetBuiltIn" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp -f "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=y to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/Option/EthernetBuiltIn/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/Option/UseNvidiaROM/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/Option/UseNvidiaROM/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/Option/UseNvidiaROM/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="UseNvidaROM" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/Option/UseNvidiaROM/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/Option/ForceWake/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/Option/ForceWake/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/Option/ForceWake/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="ForceWake" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp -f "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=y to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/Option/ForceWake/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/Option/UseAtiROM/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/Option/UseAtiROM/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/Option/UseAtiROM/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="UseAtiROM" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/Option/UseAtiROM/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/Option/QuietBoot/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/Option/QuietBoot/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/Option/QuietBoot/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="QuietBoot" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/Option/QuietBoot/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/Option/arch/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/Option/arch/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/Option/arch/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="arch" +string="i386" + +main () +{ + + bootplist="${3}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/Option/arch/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/FAT/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/FAT/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/FAT/postinstall (revision 340) @@ -0,0 +1,267 @@ +#!/bin/bash + +diskloader="/usr/standalone/i386/boot0" +partitionloader="/usr/standalone/i386/boot1f32" +filesystemloader="/usr/standalone/i386/boot" +bootervolumename="EFI" +booterextensions="Extra/Extensions" + +bootresources="${0%/*}" + +diskmicrocodetype[1]="GRUB,47525542" +diskmicrocodetype[2]="LILO,4c494c4f" + +start () +{ +# $1 volume + +osxvolume="${@}" + +if [ -z "${osxvolume}" ]; then + echo + echo "Cannot find the volume. Exiting." + exit +fi + +bootdev=$( df "${osxvolume}" | sed -n '2p' | awk '{print $1}' ) + +if [ "${bootdev}" = "${bootdev#*disk*s}" ]; then + echo + echo "ERROR Volume does not use slices." + echo "Volume may be stored on a RAID array." + echo + exit +fi + +bootuuid=$( diskutil info "$bootdev" | grep Volume\ UUID | awk {'print $3'} ) +partitiontable=$( diskutil list ${bootdev%s*} | sed -n '3p' | awk '{print $2}' ) + +if [ ${partitiontable} != "GUID_partition_scheme" ]; then + echo + echo "ERROR Volume is not on a GPT partitioned disc." + echo + exit +fi + +echo "GPT found." + +echo "OS X Volume is ${osxvolume}" +echo "OX X Volume device is ${bootdev}" +echo "OS X Volume UUID is ${bootuuid}" + + +bootvolume="/Volumes/$bootervolumename" +bootdev=${bootdev%s*}s1 +bootrdev=${bootdev/disk/rdisk} +bootdisk=${bootdev%s*} +bootrdisk=${bootdisk/disk/rdisk} +bootslice=${bootdev#*disk*s} + +echo "EFI Volume device is ${bootdev}" +echo "EFI Volume raw device is ${bootrdev}" +echo "EFI Volume slice is ${bootslice}" +echo "Disk device is ${bootdisk}" +echo "Disk raw device is ${bootrdisk}" +echo "Disk loader is ${diskloader}" +echo "Partition loader is ${partitionloader}" +echo "Filesystem loader is ${filesystemloader}" + +} + +checkdiskmicrocodetype () +{ +diskmicrocode=$( dd 2>/dev/null if=${bootdisk} count=1 | dd 2>/dev/null count=1 bs=437 | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) + +diskmicrocodetypecounter=0 +while [ ${diskmicrocodetypecounter} -lt ${#diskmicrocodetype[@]} ]; do + diskmicrocodetypecounter=$(( ${diskmicrocodetypecounter} + 1 )) + diskmicrocodetypeid=${diskmicrocodetype[${diskmicrocodetypecounter}]#*,} + if [ ! "${diskmicrocode}" = "${diskmicrocode/${diskmicrocodetypeid}/}" ]; then + echo "${diskmicrocodetype[${diskmicrocodetypecounter}]%,*} found." + fi +done +} + +checkdiskmicrocode () +{ +# 1 action ( check or set ) + +diskmicrocode=$( dd 2>/dev/null if=${bootdisk} count=1 | dd 2>/dev/null count=1 bs=437 | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) +diskmicrocodemd5=$( dd 2>/dev/null if=${bootdisk} count=1 | dd 2>/dev/null count=1 bs=437 | md5 ) + +if [ $( echo "${diskmicrocode}" | awk -F0 '{print NF-1}' ) = 874 ]; then + if [ "${1}" = "set" ]; then + echo "No disk microcode found. Updating." + diskupdate=true + else + echo "No disk microcode found." + fi +else + if [ ${1} = set ]; then + echo "Disk microcode found. Preserving." + else + echo "Disk microcode found." + fi + echo "Disk microcode MD5 is ${diskmicrocodemd5}" +fi +} + +checkdisksignature () +{ +disksignature=$( dd 2>/dev/null if=${bootdisk} count=1 | dd 2>/dev/null count=4 bs=1 skip=440 | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) + +if [ $( echo "${disksignature}" | awk -F0 '{print NF-1}' ) = 8 ]; then + echo "No disk signature found." +else + echo "Disk signature found." + echo "Disk signature is 0x${disksignature}" +fi +} + +checkpartitionbootcode () +{ +# 1 action ( check or set ) + +partitionbootcode=$( dd if=${bootrdev} count=1 2>/dev/null | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) +partitionbootcodeextended=$( dd if=${bootrdev} count=1 skip=1 2>/dev/null | perl -ne '@a=split"";for(@a){printf"%02x",ord}' ) + +if [ $( echo "${partitionbootcode}" | awk -F0 '{print NF-1}' ) = 1024 ]; then + if [ "${1}" = "set" ]; then + echo "No partition bootcode found. Updating." + else + echo "No partition bootcode found." + fi +else + if [ "${1}" = "set" ]; then + echo "Partition bootcode found. Overwriting." + else + echo "Partition bootcode found." + fi + if [ $( echo "${partitionbootcodeextended}" | awk -F0 '{print NF-1}' ) = 1024 ]; then + partitionbootcodemd5=$( dd 2>/dev/null if=${bootrdev} count=1 | md5 ) + else + partitionbootcodemd5=$( dd 2>/dev/null if=${bootrdev} count=2 | md5 ) + echo "Partition bootcode is dual sector." + fi + echo "Partition bootcode MD5 is ${partitionbootcodemd5}" +fi +} + +checkpartitionactive () +{ +partitionactive=$( fdisk440 -d ${bootrdisk} | grep -n "*" | awk -F: '{print $1}') + +if [ -n "${partitionactive}" ]; then + echo "Partition flagged active is ${partitionactive}" +else + echo "No partition flagged active." +fi + +} + +start ${3} + +if [ "$( df | grep ${bootdev} )" ]; then + umount -f ${bootdev} +fi + +#if [[ `dd if=/dev/disk${1}s1 count=8 bs=1 skip=82 | uuencode -m -|head -n 2|tail -n 1` != "RkFUMzIgICA=" ]]; then +# echo "${bootdev} isn't a FAT32 partition" +# newfs_msdos -v "${bootervolumename}" "${bootdev}" +#fi + +if ! [ "$( fstyp ${bootdev} | grep msdos )" ]; then + echo "${bootdev} isn't a FAT32 partition" + echo "Executing command: newfs_msdos -F 32 ${bootdev}" + newfs_msdos -F 32 "${bootdev}" +else + echo "${bootdev} is already a FAT32 partition (skipping)" +fi + +diskupdate=false +checkdiskmicrocodetype +checkdiskmicrocode set +checkdisksignature +checkpartitionbootcode set +checkpartitionactive + +if ${diskupdate}; then + echo "Executing command: fdisk440 -u -f ${diskloader} -y ${bootdisk}" + fdisk440 -u -f "${osxvolume}/${diskloader}" -y ${bootdisk} +fi + +#echo "Executing command: dd if=${partitionloader} of=${bootrdev}" +#dd if="${osxvolume}/${partitionloader}" of=${bootrdev} + +echo "Stage 1" + +echo "Executing command: dd if=${bootrdev} count=1 bs=512 of=/tmp/origbs" +dd if=${bootrdev} count=1 bs=512 of=/tmp/origbs + +echo "Executing command: cp ${osxvolume}/${partitionloader} /tmp/newbs" +cp "${osxvolume}/${partitionloader}" /tmp/newbs + +echo "Executing command: dd if=/tmp/origbs of=/tmp/newbs skip=3 seek=3 bs=1 count=87 conv=notrunc" +dd if=/tmp/origbs of=/tmp/newbs skip=3 seek=3 bs=1 count=87 conv=notrunc + +echo "Executing command: dd of=${bootrdev} count=1 bs=512 if=/tmp/newbs" +dd if=/tmp/newbs of=${bootrdev} count=1 bs=512 + +# If table is MBR make the correct slice active. If table is GPT make the first partition active (BadAxe compatibility). +[ "${partitiontable}" = "GUID_partition_scheme" ] && bootslice=1 +if [[ "${partitiontable}" = "FDisk_partition_scheme" || "${partitiontable}" = "GUID_partition_scheme" ]]; then + fdisk440 -e ${bootdisk} <<-MAKEACTIVE + print + flag ${bootslice} + write + y + quit + MAKEACTIVE +fi + +checkdiskmicrocode check +checkdisksignature +checkpartitionbootcode check +checkpartitionactive + +[ -d "${bootvolume}" ] || mkdir -p "${bootvolume}" +echo "Executing command: mount_msdos -u 0 -g 0 ${bootdev} ${bootvolume}" +mount_msdos -u 0 -g 0 "${bootdev}" "${bootvolume}" + +echo "Executing command: cp ${osxvolume}${filesystemloader} ${bootvolume}/boot" +cp "${osxvolume}${filesystemloader}" "${bootvolume}/boot" +#cp -R "${osxvolume}/Extra" "${bootvolume}/Extra" + +#if ! [ -d "${bootvolume}/Extra/Extensions" ]; then +# echo "Executing command: mkdir -p ${bootvolume}/Extra/Extensions" +# mkdir -p "${bootvolume}/Extra/Extensions" +#fi +# unpack any existing Extensions.mkext already on the booter volume +#if [ -e "${bootvolume}/Extra/Extensions.mkext" ]; then +# echo "Executing command: mkextunpack -d ${bootvolume}/Extra/Extensions ${bootvolume}/Extra/Extensions.mkext" +# mkextunpack -d "${bootvolume}/Extra/Extensions" "${bootvolume}/Extra/Extensions.mkext" +# echo "Executing command: rm -R -f ${bootvolume}/Extra/Extensions.mkext" +# rm -R -f "${bootvolume}/Extra/Extensions.mkext" +#fi + +# copy existing /Extra +#if [ -d "${2}/Extra" ]; then +# [ -d "${bootvolume}/Extra/Extensions" ] || mkdir -p "${bootvolume}/Extra/Extensions" +# echo "Executing command: find ${2}/Extra -name '*.plist' -depth 1 -exec cp -f {} ${bootvolume}/Extra \;" +# find "${2}/Extra" -name '*.plist' -depth 1 -exec cp -f {} "${bootvolume}/Extra/" \; +# if [ -f "${2}/Extra/Extensions.mkext" ]; then +# echo "Executing command: mkextunpack -d ${2}/Extra/Extensions ${2}/Extra/Extensions.mkext" +# mkextunpack -d "${bootvolume}/Extra/Extensions" "${2}/Extra/Extensions.mkext" +# fi +# if [ -d "${2}/Extra/Extensions" ]; then +# echo "Executing command: find ${2}/Extra/Extensions -name '*.kext' -depth 1 -exec cp -R {} ${bootvolume}/Extra/Extensions \;" +# find "${2}/Extra/Extensions" -name '*.kext' -depth 1 -exec cp -R {} "${bootvolume}/Extra/Extensions" \; +# fi +#fi + +# setup link for extras +#echo "Executing command: ln -s /Volumes/${bootervolumename} ${2}/.Chameleon" +#ln -s "/Volumes/${bootervolumename}" "${2}/.Chameleon" +# setup link for extras + +exit \ No newline at end of file Property changes on: trunk/PackageBuilder/package/Scripts/FAT/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/ForceHPET/Yes/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/ForceHPET/Yes/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/ForceHPET/Yes/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="ForceHPET" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp -f "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=y to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/ForceHPET/Yes/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/ForceHPET/No/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/ForceHPET/No/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/ForceHPET/No/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="ForceHPET" +string="No" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp -f "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=y to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/ForceHPET/No/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/GenerateCStates/Yes/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/GenerateCStates/Yes/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/GenerateCStates/Yes/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="GenerateCStates" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/GenerateCStates/Yes/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/GenerateCStates/No/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/GenerateCStates/No/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/GenerateCStates/No/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="GenerateCStates" +string="No" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/GenerateCStates/No/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/VBIOS/Yes/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/VBIOS/Yes/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/VBIOS/Yes/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="VBIOS" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/VBIOS/Yes/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/VBIOS/No/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/VBIOS/No/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/VBIOS/No/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="VBIOS" +string="No" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/VBIOS/No/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/EHCIacquire/Yes/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/EHCIacquire/Yes/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/EHCIacquire/Yes/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="EHCIacquire" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/EHCIacquire/Yes/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/EHCIacquire/No/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/EHCIacquire/No/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/EHCIacquire/No/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="EHCIacquire" +string="No" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/EHCIacquire/No/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/UseMemDetect/Yes/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/UseMemDetect/Yes/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/UseMemDetect/Yes/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="UseMemDetect" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/UseMemDetect/Yes/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/UseMemDetect/No/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/UseMemDetect/No/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/UseMemDetect/No/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="UseMemDetect" +string="No" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/UseMemDetect/No/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/GUI/Yes/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/GUI/Yes/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/GUI/Yes/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="GUI" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/GUI/Yes/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/GUI/No/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/GUI/No/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/GUI/No/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="GUI" +string="No" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/GUI/No/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/SMBIOSdefaults/Yes/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/SMBIOSdefaults/Yes/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/SMBIOSdefaults/Yes/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="SMBIOSdefault" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/SMBIOSdefaults/Yes/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/SMBIOSdefaults/No/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/SMBIOSdefaults/No/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/SMBIOSdefaults/No/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="SMBIOSdefault" +string="No" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/SMBIOSdefaults/No/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/LegacyLogo/Yes/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/LegacyLogo/Yes/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/LegacyLogo/Yes/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="LegacyLogo" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/LegacyLogo/Yes/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/LegacyLogo/No/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/LegacyLogo/No/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/LegacyLogo/No/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="LegacyLogo" +string="No" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/LegacyLogo/No/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/Wake/Yes/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/Wake/Yes/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/Wake/Yes/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="Wake" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/Wake/Yes/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/Wake/No/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/Wake/No/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/Wake/No/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="Wake" +string="NO" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/Wake/No/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/BootBanner/Yes/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/BootBanner/Yes/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/BootBanner/Yes/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="BootBanner" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/BootBanner/Yes/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/BootBanner/No/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/BootBanner/No/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/BootBanner/No/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="BootBanner" +string="No" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/BootBanner/No/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/GraphicsEnabler/Yes/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/GraphicsEnabler/Yes/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/GraphicsEnabler/Yes/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="GraphicsEnabler" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp -f "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=y to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/GraphicsEnabler/Yes/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/GraphicsEnabler/No/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/GraphicsEnabler/No/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/GraphicsEnabler/No/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="GraphicsEnabler" +string="No" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp -f "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=y to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/GraphicsEnabler/No/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/UHCIreset/Yes/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/UHCIreset/Yes/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/UHCIreset/Yes/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="UHCIreset" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=y to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/UHCIreset/Yes/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/UHCIreset/No/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/UHCIreset/No/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/UHCIreset/No/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="UHCIreset" +string="No" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=y to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/UHCIreset/No/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/RestartFix/Yes/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/RestartFix/Yes/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/RestartFix/Yes/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="RestartFix" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/RestartFix/Yes/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/RestartFix/No/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/RestartFix/No/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/RestartFix/No/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="RestartFix" +string="No" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/RestartFix/No/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/GeneratePStates/Yes/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/GeneratePStates/Yes/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/GeneratePStates/Yes/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="GeneratePStates" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/GeneratePStates/Yes/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/GeneratePStates/No/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/GeneratePStates/No/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/GeneratePStates/No/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="GeneratePStates" +string="No" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/GeneratePStates/No/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/DropSSDT/Yes/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/DropSSDT/Yes/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/DropSSDT/Yes/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="DropSSDT" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/DropSSDT/Yes/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/DropSSDT/No/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/DropSSDT/No/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/DropSSDT/No/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="DropSSDT" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/DropSSDT/No/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/Wait/Yes/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/Wait/Yes/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/Wait/Yes/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="Wait" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/Wait/Yes/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/Wait/No/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/Wait/No/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/Wait/No/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="Wait" +string="No" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/Wait/No/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/InstantMenu/Yes/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/InstantMenu/Yes/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/InstantMenu/Yes/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="InstantMenu" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/InstantMenu/Yes/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/InstantMenu/No/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/InstantMenu/No/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/InstantMenu/No/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="InstantMenu" +string="No" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/InstantMenu/No/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/GraphicsMode/1024x768x32/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/GraphicsMode/1024x768x32/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/GraphicsMode/1024x768x32/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="Graphics Mode" +string="1024x768x32" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/GraphicsMode/1024x768x32/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/GraphicsMode/1920x1200x32/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/GraphicsMode/1920x1200x32/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/GraphicsMode/1920x1200x32/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="Graphics Mode" +string="1920x1200x32" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/GraphicsMode/1920x1200x32/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/GraphicsMode/1600x900x32/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/GraphicsMode/1600x900x32/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/GraphicsMode/1600x900x32/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="Graphics Mode" +string="1600x900x32" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/GraphicsMode/1600x900x32/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/GraphicsMode/1280x1024x32/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/GraphicsMode/1280x1024x32/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/GraphicsMode/1280x1024x32/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="Graphics Mode" +string="1280x1024x32" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/GraphicsMode/1280x1024x32/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/GraphicsMode/1680x1050x32/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/GraphicsMode/1680x1050x32/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/GraphicsMode/1680x1050x32/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="Graphics Mode" +string="1680x1050x32" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/GraphicsMode/1680x1050x32/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/GraphicsMode/1920x1080x32/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/GraphicsMode/1920x1080x32/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/GraphicsMode/1920x1080x32/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="Graphics Mode" +string="1920x1080x32" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/GraphicsMode/1920x1080x32/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/GraphicsMode/1280x960x32/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/GraphicsMode/1280x960x32/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/GraphicsMode/1280x960x32/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="Graphics Mode" +string="1280x960x32" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/GraphicsMode/1280x960x32/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/EthernetBuiltIn/Yes/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/EthernetBuiltIn/Yes/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/EthernetBuiltIn/Yes/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="EthernetBuiltIn" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp -f "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=y to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/EthernetBuiltIn/Yes/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/EthernetBuiltIn/No/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/EthernetBuiltIn/No/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/EthernetBuiltIn/No/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="EthernetBuiltIn" +string="No" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp -f "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=y to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/EthernetBuiltIn/No/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/UseNvidiaROM/Yes/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/UseNvidiaROM/Yes/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/UseNvidiaROM/Yes/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="UseNvidaROM" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/UseNvidiaROM/Yes/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/UseNvidiaROM/No/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/UseNvidiaROM/No/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/UseNvidiaROM/No/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="UseNvidaROM" +string="No" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/UseNvidiaROM/No/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/ForceWake/Yes/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/ForceWake/Yes/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/ForceWake/Yes/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="ForceWake" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp -f "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=y to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/ForceWake/Yes/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/ForceWake/No/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/ForceWake/No/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/ForceWake/No/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="ForceWake" +string="No" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp -f "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=y to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/ForceWake/No/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/UseAtiROM/Yes/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/UseAtiROM/Yes/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/UseAtiROM/Yes/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="UseAtiROM" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/UseAtiROM/Yes/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/UseAtiROM/No/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/UseAtiROM/No/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/UseAtiROM/No/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="UseAtiROM" +string="No" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/UseAtiROM/No/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/QuietBoot/Yes/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/QuietBoot/Yes/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/QuietBoot/Yes/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="QuietBoot" +string="Yes" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/QuietBoot/Yes/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/QuietBoot/No/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/QuietBoot/No/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/QuietBoot/No/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="QuietBoot" +string="No" + +main () +{ + + bootplist="${2}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/QuietBoot/No/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/arch/32-Bit/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/arch/32-Bit/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/arch/32-Bit/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="arch" +string="i386" + +main () +{ + + bootplist="${3}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/arch/32-Bit/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Scripts/OptionsTEST/arch/64-Bit/postinstall =================================================================== --- trunk/PackageBuilder/package/Scripts/OptionsTEST/arch/64-Bit/postinstall (revision 0) +++ trunk/PackageBuilder/package/Scripts/OptionsTEST/arch/64-Bit/postinstall (revision 340) @@ -0,0 +1,169 @@ +#!/bin/bash + +# set com.apple.Boot.plist options + +overide="arch" +string="x86" + +main () +{ + + bootplist="${3}/.Chameleon/Extra/com.apple.Boot.plist" + systemplist="/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" + + bootoptionshdextra[1]="${overide}" + bootoptionshdextra[2]="${string}" + + [ ! -d "${bootplist%/*}" ] && mkdir -p "${bootplist%/*}" + + if [ ! -f "${bootplist}" ]; then + if [ -f "${systemplist}" ]; then + cp "${systemplist}" "${bootplist}" + fi + fi + + xmlvalue=$( getxmlvalue ${overide} "${bootplist}" | tr "[:upper:]" "[:lower:]" ) + + case "${xmlvalue:0:1}" in + + y) echo "${overide}=y already set in ${bootplist} skipping." + ;; + + n) echo "${overide}=n is set in ${bootplist} leaving." + ;; + + *) echo "Adding ${overide}=${string} to ${bootplist}" + array=("${bootoptionshdextra[@]}") + searchfilereplaceline "${bootplist}" "Kernel Flags" "" "" "2" + ;; + esac + + chown "${USER}:20" "${bootplist}" +} + +getxmlvalue () +{ +# 1 xml key +# 2 xml file +if [ -f "${2}" ]; then + local value + while read value; do + if [ ! "${value}" = "${value/${1}/}" ]; then + read value + value="${value#*<}" ; value="<${value}" ; value="${value#*>}" ; value="${value# *}" ; value="${value%%<*}" + echo "$value" + break + fi + done < "${2}" +fi +} + +searchfilereplaceline () +{ + +mv "${1}" "${1}.orig" + +prefunctionifs="${IFS}" + +unset fileinput +unset fileoutput +unset find +unset replace +unset deletelines +unset deletelinesskip +unset insertlinesskip + +fileinput="${1}.orig" +fileoutput="${1}" +find="${2}" +replace="${3}" +deletelines="${4%,*}" +insertlinesskip="${5}" + +matchlinefound="0" + +if [ "${#4}" = "${4#*,}" ]; then + deletelinesskip="0" + else + deletelinesskip="${4#*,}" +fi + +IFS="\n" +while read line +do + { + if [ ! "${line}" = "${line/${find}/}" ]; then + { + # Trim the longest match from the end for <* + xmlelementindent="${line%%<*}" + + # Trim the longest match from the start for *< + xmlelementtemp="${line#*<}" + # Add back in stripped < + xmlelement="<${xmlelementtemp}" + + # Trim the shortest match from the start for < + xmltagtemp="${xmlelement#<}" + # Trim the longest match from the end for >* + xmltag="${xmltagtemp%%>*}" + + # Trim the shortest match from the start for *> + xmltexttemp="${xmlelement#*>}" + # Trim the longest match from the end for <* + xmltext="${xmltexttemp%%<*}" + + if [ "${replace}" ]; then + { + echo "${xmlelementindent}<${xmltag}>${replace}" >>"${fileoutput}" + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + matchlinefound="1" + + } + else + { + + if [ "${insertlinesskip}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -le "${insertlinesskip}" ]; then + { + if [ "${matchlinefound}" = "${insertlinesskip}" ]; then + { + arraysize=0 + while [ ${arraysize} -lt ${#array[@]} ]; + do + echo "${xmlelementindent}${array[${arraysize}]}" >>"${fileoutput}" + let arraysize="${arraysize}+1" + done + } + fi + } + fi + + if [ "${deletelines}" ] && [ "${matchlinefound}" -gt 0 ] && [ "${matchlinefound}" -lt $((${deletelines}+${deletelinesskip})) ] && [ "${matchlinefound}" -ge ${deletelinesskip} ]; then + { + : + } + else + { + echo "${line}" >>"${fileoutput}" + } + fi + + if [ "${matchlinefound}" -gt 0 ]; then + let matchlinefound="${matchlinefound}+1" + fi + + } + fi + } +done < "${fileinput}" + +IFS=${prefunctionifs} + +rm -f "${fileinput}" +} + +main "${1}" "${2}" "${3}" "${4}" Property changes on: trunk/PackageBuilder/package/Scripts/OptionsTEST/arch/64-Bit/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/fdisk440 =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/fdisk440 ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Resources/Hebrew.lproj/Description.html =================================================================== --- trunk/PackageBuilder/package/Resources/Hebrew.lproj/Description.html (revision 0) +++ trunk/PackageBuilder/package/Resources/Hebrew.lproj/Description.html (revision 340) @@ -0,0 +1,29 @@ + + + + + + + + + +

חמליאון זה שילוב של רכיבי בוטלודרים שונים.
הוא מבוסס על יישום fake EFI של David Elliott לפרויקט boot-132 של אפל.
חמליאון מגיע עם תכונות עיקריות הבאות:

+
+

תכונות חדשות בחמליאון גרסה 2.0

+
+

- ממשק משתמש בעל התאמה אישית מלאה שמביאה צבעים לDarwin Bootloader.

+

- התחול דיסק התקנת OSX ריטייל על ידי העלאת ramdisk בלי להיעזר בתכנות נוספות.

+

- היברנציה. ליהנות מחזרת המערכת שלך ממצב היברנציה בעזרת preview image.

+

- עקיפת SMBIOS לשינוי ערכי מפעל של נתוני SMBIOS.

+

- עקיפת DSDT לשימוש בDSDT בהתאמה אישית אשר יכול לפתור מספר בעיות.

+
+

- אינג'קשן של Device Property באמצעות device-properties string.

+

- היבריד של boot0/boot1h לכוננים המחולקים בשיטות MBR ו GPT.

+

- קוד זיהוי אוטומטי של FSB אפילו למעבדי AMD החדשים.

+

- תמיכה בApple Software RAID.

+
+

לקבלת מידע נוסף, אנא בקרו ב: http://chameleon.osx86.hu

+ + Index: trunk/PackageBuilder/package/Resources/Hebrew.lproj/Localizable.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Resources/Hebrew.lproj/Localizable.strings ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Resources/Hebrew.lproj/Welcome.rtfd/TXT.rtf =================================================================== --- trunk/PackageBuilder/package/Resources/Hebrew.lproj/Welcome.rtfd/TXT.rtf (revision 0) +++ trunk/PackageBuilder/package/Resources/Hebrew.lproj/Welcome.rtfd/TXT.rtf (revision 340) @@ -0,0 +1,39 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf290 +{\fonttbl\f0\fnil\fcharset0 LucidaGrande;\f1\froman\fcharset0 TimesNewRomanPSMT;} +{\colortbl;\red255\green255\blue255;\red65\green78\blue255;} +\margl1440\margr1440\vieww9580\viewh11200\viewkind0 +\deftab1134 +\pard\pardeftab1134\qc\rtlpar + +\f0\b\fs72 \cf0 Chameleon\ +\pard\pardeftab1134\qc\rtlpar + +\fs26 \cf0 v%CHAMELEONVERSION% r%CHAMELEONREVISION%\ +\pard\pardeftab1134\qc\rtlpar + +\fs50 \cf0 \ +\pard\pardeftab1134\qc\rtlpar +\cf2 %CHAMELEONSTAGE%\ +\pard\pardeftab1134\ql\qnatural\rtlpar + +\fs26 \cf0 \ +\pard\pardeftab1134\qr\rtlpar +\cf0 \uc0\u1502 \u1508 \u1514 \u1495 \u1497 \u1501 : Crazor ,Dense ,fassl ,fxtentacle ,iNDi ,JrCs ,Kabyl ,kaitek ,mackerintel mercurysquad ,mozodojo ,munky ,rekursor ,Turbo & zef\ +\pard\pardeftab1134\qr\rtlpar + +\f1\b0\fs24 \cf0 \ +\ +\ +\pard\pardeftab1134\qr\rtlpar + +\f0\b\fs26 \cf0 \uc0\u1514 \u1493 \u1491 \u1492 \u1500 : asereBLN ,bumby ,cosmolt ,dfe ,Galaxy ,kalyway ,Krazubu ,netkas ,sckevyn ,smith@@ ,THeKiNG ,XyZ ,blackosx +\f1\b0\fs24 \ +\ +\pard\tx360\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardeftab1134\qr\rtlpar + +\f0\fs30 \cf0 \ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardeftab1134\qr\rtlpar + +\fs26 \cf0 Copyright \'a9 2010 +\f1\fs24 \ +} \ No newline at end of file Index: trunk/PackageBuilder/package/Resources/Hebrew.lproj/Conclusion.rtfd/TXT.rtf =================================================================== --- trunk/PackageBuilder/package/Resources/Hebrew.lproj/Conclusion.rtfd/TXT.rtf (revision 0) +++ trunk/PackageBuilder/package/Resources/Hebrew.lproj/Conclusion.rtfd/TXT.rtf (revision 340) @@ -0,0 +1,41 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf290 +{\fonttbl\f0\fnil\fcharset0 LucidaGrande;\f1\froman\fcharset0 TimesNewRomanPSMT;} +{\colortbl;\red255\green255\blue255;\red65\green78\blue255;\red255\green0\blue0;\red0\green0\blue128; +} +\margl1440\margr1440\vieww11660\viewh12980\viewkind0 +\deftab1134 +\pard\pardeftab1134\qc\rtlpar + +\f0\b\fs72 \cf0 Chameleon\ +\pard\pardeftab1134\qc\rtlpar + +\fs26 \cf0 v%CHAMELEONVERSION% r%CHAMELEONREVISION%\ +\pard\pardeftab1134\qc\rtlpar + +\fs50 \cf0 \ +\pard\pardeftab1134\qc\rtlpar +\cf2 %CHAMELEONSTAGE%\ +\pard\pardeftab1134\ql\qnatural\rtlpar + +\fs26 \cf0 \ +\pard\pardeftab1134\qc\rtlpar + +\fs50 \cf3 \uc0\u1492 \u1492 \u1514 \u1511 \u1504 \u1492 \u1492 \u1505 \u1514 \u1497 \u1497 \u1502 \u1492 !\ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardeftab1134\ql\qnatural\rtlpar + +\b0\fs18 \cf0 \ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardeftab1134\rtlpar +{\field{\*\fldinst{HYPERLINK "http://chameleon.osx86.hu/"}}{\fldrslt +\f1\fs24 \cf4 \ul \ulc0 http://chameleon.osx86.hu}} +\f1\fs24 /\ +\pard\pardeftab1134\rtlpar +{\field{\*\fldinst{HYPERLINK "http://forum.voodooprojects.org/index.php"}}{\fldrslt +\f0 \cf4 \ul \ulc0 http://forum.voodooprojects.org/index.php}}\ +\pard\tx360\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardeftab1134\rtlpar + +\f0\fs30 \cf0 \ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardeftab1134\rtlpar + +\fs26 \cf0 Copyright \'a9 2010 +\f1\fs24 \ +} \ No newline at end of file Index: trunk/PackageBuilder/package/Resources/Hebrew.lproj/License.rtf =================================================================== --- trunk/PackageBuilder/package/Resources/Hebrew.lproj/License.rtf (revision 0) +++ trunk/PackageBuilder/package/Resources/Hebrew.lproj/License.rtf (revision 340) @@ -0,0 +1,350 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf350 +{\fonttbl\f0\fmodern\fcharset0 Courier-Bold;\f1\fmodern\fcharset0 Courier;} +{\colortbl;\red255\green255\blue255;} +\paperw12240\paperh15840\vieww22060\viewh18360\viewkind0 +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\f0\b\fs40 \cf0 APPLE PUBLIC SOURCE LICENSE \ + +\fs26 Version 2.0 - August 6, 2003\ +\ + +\f1\b0 Please read this License carefully before downloading this software. By downloading or using this software, you are agreeing to be bound by the terms of this License. If you do not or cannot agree to the terms of this License, please do not download or use the software.\ +\ +1. General; Definitions. This License applies to any program or other work which Apple Computer, Inc. ("Apple") makes publicly available and which contains a notice placed by Apple identifying such program or work as "Original Code" and stating that it is subject to the terms of this Apple Public Source License version 2.0 ("License"). As used in this License:\ +\ +1.1 "Applicable Patent Rights" mean: (a) in the case where Apple is the grantor of rights, (i) claims of patents that are now or hereafter acquired, owned by or assigned to Apple and (ii) that cover subject matter contained in the Original Code, but only to the extent necessary to use, reproduce and/or distribute the Original Code without infringement; and (b) in the case where You are the grantor of rights, (i) claims of patents that are now or hereafter acquired, owned by or assigned to You and (ii) that cover subject matter in Your Modifications, taken alone or in combination with Original Code.\ +\ +1.2 "Contributor" means any person or entity that creates or contributes to the creation of Modifications.\ +\ +1.3 "Covered Code" means the Original Code, Modifications, the combination of Original Code and any Modifications, and/or any respective portions thereof.\ +\ +1.4 "Externally Deploy" means: (a) to sublicense, distribute or otherwise make Covered Code available, directly or indirectly, to anyone other than You; and/or (b) to use Covered Code, alone or as part of a Larger Work, in any way to provide a service, including but not limited to delivery of content, through electronic communication with a client other than You.\ +\ +1.5 "Larger Work" means a work which combines Covered Code or portions thereof with code not governed by the terms of this License.\ +\ +1.6 "Modifications" mean any addition to, deletion from, and/or change\ +to, the substance and/or structure of the Original Code, any previous\ +Modifications, the combination of Original Code and any previous\ +Modifications, and/or any respective portions thereof. When code is\ +released as a series of files, a Modification is: (a) any addition to\ +or deletion from the contents of a file containing Covered Code;\ +and/or (b) any new file or other representation of computer program\ +statements that contains any part of Covered Code.\ +\ +1.7 "Original Code" means (a) the Source Code of a program or other\ +work as originally made available by Apple under this License,\ +including the Source Code of any updates or upgrades to such programs\ +or works made available by Apple under this License, and that has been\ +expressly identified by Apple as such in the header file(s) of such\ +work; and (b) the object code compiled from such Source Code and\ +originally made available by Apple under this License.\ +\ +1.8 "Source Code" means the human readable form of a program or other\ +work that is suitable for making modifications to it, including all\ +modules it contains, plus any associated interface definition files,\ +scripts used to control compilation and installation of an executable\ +(object code).\ +\ +1.9 "You" or "Your" means an individual or a legal entity exercising\ +rights under this License. For legal entities, "You" or "Your"\ +includes any entity which controls, is controlled by, or is under\ +common control with, You, where "control" means (a) the power, direct\ +or indirect, to cause the direction or management of such entity,\ +whether by contract or otherwise, or (b) ownership of fifty percent\ +(50%) or more of the outstanding shares or beneficial ownership of\ +such entity.\ +\ +2. Permitted Uses; Conditions & Restrictions. Subject to the terms\ +and conditions of this License, Apple hereby grants You, effective on\ +the date You accept this License and download the Original Code, a\ +world-wide, royalty-free, non-exclusive license, to the extent of\ +Apple's Applicable Patent Rights and copyrights covering the Original\ +Code, to do the following:\ +\ +2.1 Unmodified Code. You may use, reproduce, display, perform,\ +internally distribute within Your organization, and Externally Deploy\ +verbatim, unmodified copies of the Original Code, for commercial or\ +non-commercial purposes, provided that in each instance:\ +\ +(a) You must retain and reproduce in all copies of Original Code the\ +copyright and other proprietary notices and disclaimers of Apple as\ +they appear in the Original Code, and keep intact all notices in the\ +Original Code that refer to this License; and\ +\ +(b) You must include a copy of this License with every copy of Source\ +Code of Covered Code and documentation You distribute or Externally\ +Deploy, and You may not offer or impose any terms on such Source Code\ +that alter or restrict this License or the recipients' rights\ +hereunder, except as permitted under Section 6.\ +\ +2.2 Modified Code. You may modify Covered Code and use, reproduce,\ +display, perform, internally distribute within Your organization, and\ +Externally Deploy Your Modifications and Covered Code, for commercial\ +or non-commercial purposes, provided that in each instance You also\ +meet all of these conditions:\ +\ +(a) You must satisfy all the conditions of Section 2.1 with respect to\ +the Source Code of the Covered Code;\ +\ +(b) You must duplicate, to the extent it does not already exist, the\ +notice in Exhibit A in each file of the Source Code of all Your\ +Modifications, and cause the modified files to carry prominent notices\ +stating that You changed the files and the date of any change; and\ +\ +(c) If You Externally Deploy Your Modifications, You must make\ +Source Code of all Your Externally Deployed Modifications either\ +available to those to whom You have Externally Deployed Your\ +Modifications, or publicly available. Source Code of Your Externally\ +Deployed Modifications must be released under the terms set forth in\ +this License, including the license grants set forth in Section 3\ +below, for as long as you Externally Deploy the Covered Code or twelve\ +(12) months from the date of initial External Deployment, whichever is\ +longer. You should preferably distribute the Source Code of Your\ +Externally Deployed Modifications electronically (e.g. download from a\ +web site).\ +\ +2.3 Distribution of Executable Versions. In addition, if You\ +Externally Deploy Covered Code (Original Code and/or Modifications) in\ +object code, executable form only, You must include a prominent\ +notice, in the code itself as well as in related documentation,\ +stating that Source Code of the Covered Code is available under the\ +terms of this License with information on how and where to obtain such\ +Source Code.\ +\ +2.4 Third Party Rights. You expressly acknowledge and agree that\ +although Apple and each Contributor grants the licenses to their\ +respective portions of the Covered Code set forth herein, no\ +assurances are provided by Apple or any Contributor that the Covered\ +Code does not infringe the patent or other intellectual property\ +rights of any other entity. Apple and each Contributor disclaim any\ +liability to You for claims brought by any other entity based on\ +infringement of intellectual property rights or otherwise. As a\ +condition to exercising the rights and licenses granted hereunder, You\ +hereby assume sole responsibility to secure any other intellectual\ +property rights needed, if any. For example, if a third party patent\ +license is required to allow You to distribute the Covered Code, it is\ +Your responsibility to acquire that license before distributing the\ +Covered Code.\ +\ +3. Your Grants. In consideration of, and as a condition to, the\ +licenses granted to You under this License, You hereby grant to any\ +person or entity receiving or distributing Covered Code under this\ +License a non-exclusive, royalty-free, perpetual, irrevocable license,\ +under Your Applicable Patent Rights and other intellectual property\ +rights (other than patent) owned or controlled by You, to use,\ +reproduce, display, perform, modify, sublicense, distribute and\ +Externally Deploy Your Modifications of the same scope and extent as\ +Apple's licenses under Sections 2.1 and 2.2 above.\ +\ +4. Larger Works. You may create a Larger Work by combining Covered\ +Code with other code not governed by the terms of this License and\ +distribute the Larger Work as a single product. In each such instance,\ +You must make sure the requirements of this License are fulfilled for\ +the Covered Code or any portion thereof.\ +\ +5. Limitations on Patent License. Except as expressly stated in\ +Section 2, no other patent rights, express or implied, are granted by\ +Apple herein. Modifications and/or Larger Works may require additional\ +patent licenses from Apple which Apple may grant in its sole\ +discretion.\ +\ +6. Additional Terms. You may choose to offer, and to charge a fee for,\ +warranty, support, indemnity or liability obligations and/or other\ +rights consistent with the scope of the license granted herein\ +("Additional Terms") to one or more recipients of Covered Code.\ +However, You may do so only on Your own behalf and as Your sole\ +responsibility, and not on behalf of Apple or any Contributor. You\ +must obtain the recipient's agreement that any such Additional Terms\ +are offered by You alone, and You hereby agree to indemnify, defend\ +and hold Apple and every Contributor harmless for any liability\ +incurred by or claims asserted against Apple or such Contributor by\ +reason of any such Additional Terms.\ +\ +7. Versions of the License. Apple may publish revised and/or new\ +versions of this License from time to time. Each version will be given\ +a distinguishing version number. Once Original Code has been published\ +under a particular version of this License, You may continue to use it\ +under the terms of that version. You may also choose to use such\ +Original Code under the terms of any subsequent version of this\ +License published by Apple. No one other than Apple has the right to\ +modify the terms applicable to Covered Code created under this\ +License.\ +\ +8. NO WARRANTY OR SUPPORT. The Covered Code may contain in whole or in\ +part pre-release, untested, or not fully tested works. The Covered\ +Code may contain errors that could cause failures or loss of data, and\ +may be incomplete or contain inaccuracies. You expressly acknowledge\ +and agree that use of the Covered Code, or any portion thereof, is at\ +Your sole and entire risk. THE COVERED CODE IS PROVIDED "AS IS" AND\ +WITHOUT WARRANTY, UPGRADES OR SUPPORT OF ANY KIND AND APPLE AND\ +APPLE'S LICENSOR(S) (COLLECTIVELY REFERRED TO AS "APPLE" FOR THE\ +PURPOSES OF SECTIONS 8 AND 9) AND ALL CONTRIBUTORS EXPRESSLY DISCLAIM\ +ALL WARRANTIES AND/OR CONDITIONS, EXPRESS OR IMPLIED, INCLUDING, BUT\ +NOT LIMITED TO, THE IMPLIED WARRANTIES AND/OR CONDITIONS OF\ +MERCHANTABILITY, OF SATISFACTORY QUALITY, OF FITNESS FOR A PARTICULAR\ +PURPOSE, OF ACCURACY, OF QUIET ENJOYMENT, AND NONINFRINGEMENT OF THIRD\ +PARTY RIGHTS. APPLE AND EACH CONTRIBUTOR DOES NOT WARRANT AGAINST\ +INTERFERENCE WITH YOUR ENJOYMENT OF THE COVERED CODE, THAT THE\ +FUNCTIONS CONTAINED IN THE COVERED CODE WILL MEET YOUR REQUIREMENTS,\ +THAT THE OPERATION OF THE COVERED CODE WILL BE UNINTERRUPTED OR\ +ERROR-FREE, OR THAT DEFECTS IN THE COVERED CODE WILL BE CORRECTED. NO\ +ORAL OR WRITTEN INFORMATION OR ADVICE GIVEN BY APPLE, AN APPLE\ +AUTHORIZED REPRESENTATIVE OR ANY CONTRIBUTOR SHALL CREATE A WARRANTY.\ +You acknowledge that the Covered Code is not intended for use in the\ +operation of nuclear facilities, aircraft navigation, communication\ +systems, or air traffic control machines in which case the failure of\ +the Covered Code could lead to death, personal injury, or severe\ +physical or environmental damage.\ +\ +9. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY LAW, IN NO\ +EVENT SHALL APPLE OR ANY CONTRIBUTOR BE LIABLE FOR ANY INCIDENTAL,\ +SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING\ +TO THIS LICENSE OR YOUR USE OR INABILITY TO USE THE COVERED CODE, OR\ +ANY PORTION THEREOF, WHETHER UNDER A THEORY OF CONTRACT, WARRANTY,\ +TORT (INCLUDING NEGLIGENCE), PRODUCTS LIABILITY OR OTHERWISE, EVEN IF\ +APPLE OR SUCH CONTRIBUTOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\ +DAMAGES AND NOTWITHSTANDING THE FAILURE OF ESSENTIAL PURPOSE OF ANY\ +REMEDY. SOME JURISDICTIONS DO NOT ALLOW THE LIMITATION OF LIABILITY OF\ +INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS LIMITATION MAY NOT APPLY\ +TO YOU. In no event shall Apple's total liability to You for all\ +damages (other than as may be required by applicable law) under this\ +License exceed the amount of fifty dollars ($50.00).\ +\ +10. Trademarks. This License does not grant any rights to use the\ +trademarks or trade names "Apple", "Apple Computer", "Mac", "Mac OS",\ +"QuickTime", "QuickTime Streaming Server" or any other trademarks,\ +service marks, logos or trade names belonging to Apple (collectively\ +"Apple Marks") or to any trademark, service mark, logo or trade name\ +belonging to any Contributor. You agree not to use any Apple Marks in\ +or as part of the name of products derived from the Original Code or\ +to endorse or promote products derived from the Original Code other\ +than as expressly permitted by and in strict compliance at all times\ +with Apple's third party trademark usage guidelines which are posted\ +at http://www.apple.com/legal/guidelinesfor3rdparties.html.\ +\ +11. Ownership. Subject to the licenses granted under this License,\ +each Contributor retains all rights, title and interest in and to any\ +Modifications made by such Contributor. Apple retains all rights,\ +title and interest in and to the Original Code and any Modifications\ +made by or on behalf of Apple ("Apple Modifications"), and such Apple\ +Modifications will not be automatically subject to this License. Apple\ +may, at its sole discretion, choose to license such Apple\ +Modifications under this License, or on different terms from those\ +contained in this License or may choose not to license them at all.\ +\ +12. Termination.\ +\ +12.1 Termination. This License and the rights granted hereunder will\ +terminate:\ +\ +(a) automatically without notice from Apple if You fail to comply with\ +any term(s) of this License and fail to cure such breach within 30\ +days of becoming aware of such breach;\ +\ +(b) immediately in the event of the circumstances described in Section\ +13.5(b); or\ +\ +(c) automatically without notice from Apple if You, at any time during\ +the term of this License, commence an action for patent infringement\ +against Apple; provided that Apple did not first commence\ +an action for patent infringement against You in that instance.\ +\ +12.2 Effect of Termination. Upon termination, You agree to immediately\ +stop any further use, reproduction, modification, sublicensing and\ +distribution of the Covered Code. All sublicenses to the Covered Code\ +which have been properly granted prior to termination shall survive\ +any termination of this License. Provisions which, by their nature,\ +should remain in effect beyond the termination of this License shall\ +survive, including but not limited to Sections 3, 5, 8, 9, 10, 11,\ +12.2 and 13. No party will be liable to any other for compensation,\ +indemnity or damages of any sort solely as a result of terminating\ +this License in accordance with its terms, and termination of this\ +License will be without prejudice to any other right or remedy of\ +any party.\ +\ +13. Miscellaneous.\ +\ +13.1 Government End Users. The Covered Code is a "commercial item" as\ +defined in FAR 2.101. Government software and technical data rights in\ +the Covered Code include only those rights customarily provided to the\ +public as defined in this License. This customary commercial license\ +in technical data and software is provided in accordance with FAR\ +12.211 (Technical Data) and 12.212 (Computer Software) and, for\ +Department of Defense purchases, DFAR 252.227-7015 (Technical Data --\ +Commercial Items) and 227.7202-3 (Rights in Commercial Computer\ +Software or Computer Software Documentation). Accordingly, all U.S.\ +Government End Users acquire Covered Code with only those rights set\ +forth herein.\ +\ +13.2 Relationship of Parties. This License will not be construed as\ +creating an agency, partnership, joint venture or any other form of\ +legal association between or among You, Apple or any Contributor, and\ +You will not represent to the contrary, whether expressly, by\ +implication, appearance or otherwise.\ +\ +13.3 Independent Development. Nothing in this License will impair\ +Apple's right to acquire, license, develop, have others develop for\ +it, market and/or distribute technology or products that perform the\ +same or similar functions as, or otherwise compete with,\ +Modifications, Larger Works, technology or products that You may\ +develop, produce, market or distribute.\ +\ +13.4 Waiver; Construction. Failure by Apple or any Contributor to\ +enforce any provision of this License will not be deemed a waiver of\ +future enforcement of that or any other provision. Any law or\ +regulation which provides that the language of a contract shall be\ +construed against the drafter will not apply to this License.\ +\ +13.5 Severability. (a) If for any reason a court of competent\ +jurisdiction finds any provision of this License, or portion thereof,\ +to be unenforceable, that provision of the License will be enforced to\ +the maximum extent permissible so as to effect the economic benefits\ +and intent of the parties, and the remainder of this License will\ +continue in full force and effect. (b) Notwithstanding the foregoing,\ +if applicable law prohibits or restricts You from fully and/or\ +specifically complying with Sections 2 and/or 3 or prevents the\ +enforceability of either of those Sections, this License will\ +immediately terminate and You must immediately discontinue any use of\ +the Covered Code and destroy all copies of it that are in your\ +possession or control.\ +\ +13.6 Dispute Resolution. Any litigation or other dispute resolution\ +between You and Apple relating to this License shall take place in the\ +Northern District of California, and You and Apple hereby consent to\ +the personal jurisdiction of, and venue in, the state and federal\ +courts within that District with respect to this License. The\ +application of the United Nations Convention on Contracts for the\ +International Sale of Goods is expressly excluded.\ +\ +13.7 Entire Agreement; Governing Law. This License constitutes the\ +entire agreement between the parties with respect to the subject\ +matter hereof. This License shall be governed by the laws of the\ +United States and the State of California, except that body of\ +California law concerning conflicts of law.\ +\ +Where You are located in the province of Quebec, Canada, the following\ +clause applies: The parties hereby confirm that they have requested\ +that this License and all related documents be drafted in English. Les\ +parties ont exige que le present contrat et tous les documents\ +connexes soient rediges en anglais.\ +\ +EXHIBIT A.\ +\ +"Portions Copyright (c) 1999-2003 Apple Computer, Inc. All Rights\ +Reserved.\ +\ +This file contains Original Code and/or Modifications of Original Code\ +as defined in and that are subject to the Apple Public Source License\ +Version 2.0 (the 'License'). You may not use this file except in\ +compliance with the License. Please obtain a copy of the License at\ +http://www.opensource.apple.com/apsl/ and read it before using this\ +file.\ +\ +The Original Code and all software distributed under the License are\ +distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER\ +EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,\ +INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,\ +FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.\ +Please see the License for the specific language governing rights and\ +limitations under the License." } \ No newline at end of file Index: trunk/PackageBuilder/package/Resources/Polish.lproj/Description.html =================================================================== --- trunk/PackageBuilder/package/Resources/Polish.lproj/Description.html (revision 0) +++ trunk/PackageBuilder/package/Resources/Polish.lproj/Description.html (revision 340) @@ -0,0 +1,29 @@ + + + + + + + + + +

Chameleon jest połączeniem różnych komponentów boot loadera.
Jest oparty na implementacji fake EFI Davida Elliotta dodanej do projektu boot-132 Apple'a.
Chameleon jest rozszerzony o następujące funkcje:

+
+

Nowe funkcje w Chameleonie 2.0

+
+

- Całkowicie konfigurowalne GUI by dodać trochę koloru do Bootloadera Darwin.

+

- Uruchamianie płyt Retail DVD przez bezpośrednie ładowanie obrazu ramdisk bez pomocy dodatkowych programów.

+

- Hiberacja. Ciesz się przywracaniem Twojego systemu Mac OS X z obrazu podglądu.

+

- Zastąpienie SMBIOS by zmodyfikować fabryczne wartości SMBIOSu.

+

- Zastąpienie DSDT by móc używać zmodyfikowanego, poprawionego DSDT, który może rozwiązać parę problemów.

+
+

- Wstrzykiwanie ustawień urządzeń (Device Property Injection) przez łańcuch device-properties.

+

- Hybrydowe boot0 / boot1h dla dysków w ukłądzie partycji MBR i GPT.

+

- Automatyczne wykrywanie FSB nawet dla najnowszych procesorów AMD.

+

- Obsługa Apple Software RAID.

+
+

By uzyskać bardziej dokładne informacje, odwiedź: http://chameleon.osx86.hu

+ + Index: trunk/PackageBuilder/package/Resources/Polish.lproj/Localizable.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Resources/Polish.lproj/Localizable.strings ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Resources/Polish.lproj/Welcome.rtfd/TXT.rtf =================================================================== --- trunk/PackageBuilder/package/Resources/Polish.lproj/Welcome.rtfd/TXT.rtf (revision 0) +++ trunk/PackageBuilder/package/Resources/Polish.lproj/Welcome.rtfd/TXT.rtf (revision 340) @@ -0,0 +1,26 @@ +{\rtf1\ansi\ansicpg1250\cocoartf1038\cocoasubrtf320 +{\fonttbl\f0\fnil\fcharset0 LucidaGrande;} +{\colortbl;\red255\green255\blue255;\red65\green78\blue255;} +\margl1440\margr1440\vieww11660\viewh12980\viewkind0 +\pard\ri0\qc + +\f0\b\fs72 \cf0 Chameleon +\fs50 \ + +\fs26 v%CHAMELEONVERSION% r%CHAMELEONREVISION% +\fs50 \ +\ +\cf2 %CHAMELEONSTAGE% +\fs26 \cf0 \ +\pard\ri0\ql\qnatural +\cf0 \ +Developerzy: Crazor, Dense, fassl, fxtentacle, iNDi, JrCs, Kabyl, kaitek, mackerintel, mercurysquad, mozodojo, munky, rekursor, Turbo & zef \ +\ +\ +Podzi\uc0\u281 kowania dla: asereBLN, bumby, cosmolt, dfe, Galaxy, kalyway, Krazubu, netkas, sckevyn, smith@@, THeKiNG, XyZ, blackosx\ +\pard\tx360\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural + +\b0\fs30 \cf0 \ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\fs26 \cf0 Copyright \'a9 2010} \ No newline at end of file Index: trunk/PackageBuilder/package/Resources/Polish.lproj/Conclusion.rtfd/TXT.rtf =================================================================== --- trunk/PackageBuilder/package/Resources/Polish.lproj/Conclusion.rtfd/TXT.rtf (revision 0) +++ trunk/PackageBuilder/package/Resources/Polish.lproj/Conclusion.rtfd/TXT.rtf (revision 340) @@ -0,0 +1,34 @@ +{\rtf1\ansi\ansicpg1250\cocoartf1038\cocoasubrtf320 +{\fonttbl\f0\fnil\fcharset0 LucidaGrande;} +{\colortbl;\red255\green255\blue255;\red65\green78\blue255;\red255\green0\blue0;} +\margl1440\margr1440\vieww11660\viewh12980\viewkind0 +\pard\ri0\qc + +\f0\b\fs72 \cf0 Chameleon +\fs50 \ + +\fs26 v%CHAMELEONVERSION% r%CHAMELEONREVISION% +\fs50 \ +\ +\cf2 %CHAMELEONSTAGE%\cf0 \ +\pard\ri0\ql\qnatural + +\fs26 \cf0 \ +\pard\ri0\qc + +\fs50 \cf3 Instalacja zako\uc0\u324 czona! +\b0\fs26 \cf0 \ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\fs18 \cf0 \ +{\field{\*\fldinst{HYPERLINK "http://chameleon.osx86.hu/"}}{\fldrslt +\fs26 http://chameleon.osx86.hu/}} +\fs26 \ +{\field{\*\fldinst{HYPERLINK "http://forum.voodooprojects.org/index.php"}}{\fldrslt http://forum.voodooprojects.org/index.php}} +\b \ +\pard\tx360\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural + +\b0\fs30 \cf0 \ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\fs26 \cf0 Copyright \'a9 2010} \ No newline at end of file Index: trunk/PackageBuilder/package/Resources/Polish.lproj/License.rtf =================================================================== --- trunk/PackageBuilder/package/Resources/Polish.lproj/License.rtf (revision 0) +++ trunk/PackageBuilder/package/Resources/Polish.lproj/License.rtf (revision 340) @@ -0,0 +1,350 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf350 +{\fonttbl\f0\fmodern\fcharset0 Courier-Bold;\f1\fmodern\fcharset0 Courier;} +{\colortbl;\red255\green255\blue255;} +\paperw12240\paperh15840\vieww22060\viewh18360\viewkind0 +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\f0\b\fs40 \cf0 APPLE PUBLIC SOURCE LICENSE \ + +\fs26 Version 2.0 - August 6, 2003\ +\ + +\f1\b0 Please read this License carefully before downloading this software. By downloading or using this software, you are agreeing to be bound by the terms of this License. If you do not or cannot agree to the terms of this License, please do not download or use the software.\ +\ +1. General; Definitions. This License applies to any program or other work which Apple Computer, Inc. ("Apple") makes publicly available and which contains a notice placed by Apple identifying such program or work as "Original Code" and stating that it is subject to the terms of this Apple Public Source License version 2.0 ("License"). As used in this License:\ +\ +1.1 "Applicable Patent Rights" mean: (a) in the case where Apple is the grantor of rights, (i) claims of patents that are now or hereafter acquired, owned by or assigned to Apple and (ii) that cover subject matter contained in the Original Code, but only to the extent necessary to use, reproduce and/or distribute the Original Code without infringement; and (b) in the case where You are the grantor of rights, (i) claims of patents that are now or hereafter acquired, owned by or assigned to You and (ii) that cover subject matter in Your Modifications, taken alone or in combination with Original Code.\ +\ +1.2 "Contributor" means any person or entity that creates or contributes to the creation of Modifications.\ +\ +1.3 "Covered Code" means the Original Code, Modifications, the combination of Original Code and any Modifications, and/or any respective portions thereof.\ +\ +1.4 "Externally Deploy" means: (a) to sublicense, distribute or otherwise make Covered Code available, directly or indirectly, to anyone other than You; and/or (b) to use Covered Code, alone or as part of a Larger Work, in any way to provide a service, including but not limited to delivery of content, through electronic communication with a client other than You.\ +\ +1.5 "Larger Work" means a work which combines Covered Code or portions thereof with code not governed by the terms of this License.\ +\ +1.6 "Modifications" mean any addition to, deletion from, and/or change\ +to, the substance and/or structure of the Original Code, any previous\ +Modifications, the combination of Original Code and any previous\ +Modifications, and/or any respective portions thereof. When code is\ +released as a series of files, a Modification is: (a) any addition to\ +or deletion from the contents of a file containing Covered Code;\ +and/or (b) any new file or other representation of computer program\ +statements that contains any part of Covered Code.\ +\ +1.7 "Original Code" means (a) the Source Code of a program or other\ +work as originally made available by Apple under this License,\ +including the Source Code of any updates or upgrades to such programs\ +or works made available by Apple under this License, and that has been\ +expressly identified by Apple as such in the header file(s) of such\ +work; and (b) the object code compiled from such Source Code and\ +originally made available by Apple under this License.\ +\ +1.8 "Source Code" means the human readable form of a program or other\ +work that is suitable for making modifications to it, including all\ +modules it contains, plus any associated interface definition files,\ +scripts used to control compilation and installation of an executable\ +(object code).\ +\ +1.9 "You" or "Your" means an individual or a legal entity exercising\ +rights under this License. For legal entities, "You" or "Your"\ +includes any entity which controls, is controlled by, or is under\ +common control with, You, where "control" means (a) the power, direct\ +or indirect, to cause the direction or management of such entity,\ +whether by contract or otherwise, or (b) ownership of fifty percent\ +(50%) or more of the outstanding shares or beneficial ownership of\ +such entity.\ +\ +2. Permitted Uses; Conditions & Restrictions. Subject to the terms\ +and conditions of this License, Apple hereby grants You, effective on\ +the date You accept this License and download the Original Code, a\ +world-wide, royalty-free, non-exclusive license, to the extent of\ +Apple's Applicable Patent Rights and copyrights covering the Original\ +Code, to do the following:\ +\ +2.1 Unmodified Code. You may use, reproduce, display, perform,\ +internally distribute within Your organization, and Externally Deploy\ +verbatim, unmodified copies of the Original Code, for commercial or\ +non-commercial purposes, provided that in each instance:\ +\ +(a) You must retain and reproduce in all copies of Original Code the\ +copyright and other proprietary notices and disclaimers of Apple as\ +they appear in the Original Code, and keep intact all notices in the\ +Original Code that refer to this License; and\ +\ +(b) You must include a copy of this License with every copy of Source\ +Code of Covered Code and documentation You distribute or Externally\ +Deploy, and You may not offer or impose any terms on such Source Code\ +that alter or restrict this License or the recipients' rights\ +hereunder, except as permitted under Section 6.\ +\ +2.2 Modified Code. You may modify Covered Code and use, reproduce,\ +display, perform, internally distribute within Your organization, and\ +Externally Deploy Your Modifications and Covered Code, for commercial\ +or non-commercial purposes, provided that in each instance You also\ +meet all of these conditions:\ +\ +(a) You must satisfy all the conditions of Section 2.1 with respect to\ +the Source Code of the Covered Code;\ +\ +(b) You must duplicate, to the extent it does not already exist, the\ +notice in Exhibit A in each file of the Source Code of all Your\ +Modifications, and cause the modified files to carry prominent notices\ +stating that You changed the files and the date of any change; and\ +\ +(c) If You Externally Deploy Your Modifications, You must make\ +Source Code of all Your Externally Deployed Modifications either\ +available to those to whom You have Externally Deployed Your\ +Modifications, or publicly available. Source Code of Your Externally\ +Deployed Modifications must be released under the terms set forth in\ +this License, including the license grants set forth in Section 3\ +below, for as long as you Externally Deploy the Covered Code or twelve\ +(12) months from the date of initial External Deployment, whichever is\ +longer. You should preferably distribute the Source Code of Your\ +Externally Deployed Modifications electronically (e.g. download from a\ +web site).\ +\ +2.3 Distribution of Executable Versions. In addition, if You\ +Externally Deploy Covered Code (Original Code and/or Modifications) in\ +object code, executable form only, You must include a prominent\ +notice, in the code itself as well as in related documentation,\ +stating that Source Code of the Covered Code is available under the\ +terms of this License with information on how and where to obtain such\ +Source Code.\ +\ +2.4 Third Party Rights. You expressly acknowledge and agree that\ +although Apple and each Contributor grants the licenses to their\ +respective portions of the Covered Code set forth herein, no\ +assurances are provided by Apple or any Contributor that the Covered\ +Code does not infringe the patent or other intellectual property\ +rights of any other entity. Apple and each Contributor disclaim any\ +liability to You for claims brought by any other entity based on\ +infringement of intellectual property rights or otherwise. As a\ +condition to exercising the rights and licenses granted hereunder, You\ +hereby assume sole responsibility to secure any other intellectual\ +property rights needed, if any. For example, if a third party patent\ +license is required to allow You to distribute the Covered Code, it is\ +Your responsibility to acquire that license before distributing the\ +Covered Code.\ +\ +3. Your Grants. In consideration of, and as a condition to, the\ +licenses granted to You under this License, You hereby grant to any\ +person or entity receiving or distributing Covered Code under this\ +License a non-exclusive, royalty-free, perpetual, irrevocable license,\ +under Your Applicable Patent Rights and other intellectual property\ +rights (other than patent) owned or controlled by You, to use,\ +reproduce, display, perform, modify, sublicense, distribute and\ +Externally Deploy Your Modifications of the same scope and extent as\ +Apple's licenses under Sections 2.1 and 2.2 above.\ +\ +4. Larger Works. You may create a Larger Work by combining Covered\ +Code with other code not governed by the terms of this License and\ +distribute the Larger Work as a single product. In each such instance,\ +You must make sure the requirements of this License are fulfilled for\ +the Covered Code or any portion thereof.\ +\ +5. Limitations on Patent License. Except as expressly stated in\ +Section 2, no other patent rights, express or implied, are granted by\ +Apple herein. Modifications and/or Larger Works may require additional\ +patent licenses from Apple which Apple may grant in its sole\ +discretion.\ +\ +6. Additional Terms. You may choose to offer, and to charge a fee for,\ +warranty, support, indemnity or liability obligations and/or other\ +rights consistent with the scope of the license granted herein\ +("Additional Terms") to one or more recipients of Covered Code.\ +However, You may do so only on Your own behalf and as Your sole\ +responsibility, and not on behalf of Apple or any Contributor. You\ +must obtain the recipient's agreement that any such Additional Terms\ +are offered by You alone, and You hereby agree to indemnify, defend\ +and hold Apple and every Contributor harmless for any liability\ +incurred by or claims asserted against Apple or such Contributor by\ +reason of any such Additional Terms.\ +\ +7. Versions of the License. Apple may publish revised and/or new\ +versions of this License from time to time. Each version will be given\ +a distinguishing version number. Once Original Code has been published\ +under a particular version of this License, You may continue to use it\ +under the terms of that version. You may also choose to use such\ +Original Code under the terms of any subsequent version of this\ +License published by Apple. No one other than Apple has the right to\ +modify the terms applicable to Covered Code created under this\ +License.\ +\ +8. NO WARRANTY OR SUPPORT. The Covered Code may contain in whole or in\ +part pre-release, untested, or not fully tested works. The Covered\ +Code may contain errors that could cause failures or loss of data, and\ +may be incomplete or contain inaccuracies. You expressly acknowledge\ +and agree that use of the Covered Code, or any portion thereof, is at\ +Your sole and entire risk. THE COVERED CODE IS PROVIDED "AS IS" AND\ +WITHOUT WARRANTY, UPGRADES OR SUPPORT OF ANY KIND AND APPLE AND\ +APPLE'S LICENSOR(S) (COLLECTIVELY REFERRED TO AS "APPLE" FOR THE\ +PURPOSES OF SECTIONS 8 AND 9) AND ALL CONTRIBUTORS EXPRESSLY DISCLAIM\ +ALL WARRANTIES AND/OR CONDITIONS, EXPRESS OR IMPLIED, INCLUDING, BUT\ +NOT LIMITED TO, THE IMPLIED WARRANTIES AND/OR CONDITIONS OF\ +MERCHANTABILITY, OF SATISFACTORY QUALITY, OF FITNESS FOR A PARTICULAR\ +PURPOSE, OF ACCURACY, OF QUIET ENJOYMENT, AND NONINFRINGEMENT OF THIRD\ +PARTY RIGHTS. APPLE AND EACH CONTRIBUTOR DOES NOT WARRANT AGAINST\ +INTERFERENCE WITH YOUR ENJOYMENT OF THE COVERED CODE, THAT THE\ +FUNCTIONS CONTAINED IN THE COVERED CODE WILL MEET YOUR REQUIREMENTS,\ +THAT THE OPERATION OF THE COVERED CODE WILL BE UNINTERRUPTED OR\ +ERROR-FREE, OR THAT DEFECTS IN THE COVERED CODE WILL BE CORRECTED. NO\ +ORAL OR WRITTEN INFORMATION OR ADVICE GIVEN BY APPLE, AN APPLE\ +AUTHORIZED REPRESENTATIVE OR ANY CONTRIBUTOR SHALL CREATE A WARRANTY.\ +You acknowledge that the Covered Code is not intended for use in the\ +operation of nuclear facilities, aircraft navigation, communication\ +systems, or air traffic control machines in which case the failure of\ +the Covered Code could lead to death, personal injury, or severe\ +physical or environmental damage.\ +\ +9. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY LAW, IN NO\ +EVENT SHALL APPLE OR ANY CONTRIBUTOR BE LIABLE FOR ANY INCIDENTAL,\ +SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING\ +TO THIS LICENSE OR YOUR USE OR INABILITY TO USE THE COVERED CODE, OR\ +ANY PORTION THEREOF, WHETHER UNDER A THEORY OF CONTRACT, WARRANTY,\ +TORT (INCLUDING NEGLIGENCE), PRODUCTS LIABILITY OR OTHERWISE, EVEN IF\ +APPLE OR SUCH CONTRIBUTOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\ +DAMAGES AND NOTWITHSTANDING THE FAILURE OF ESSENTIAL PURPOSE OF ANY\ +REMEDY. SOME JURISDICTIONS DO NOT ALLOW THE LIMITATION OF LIABILITY OF\ +INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS LIMITATION MAY NOT APPLY\ +TO YOU. In no event shall Apple's total liability to You for all\ +damages (other than as may be required by applicable law) under this\ +License exceed the amount of fifty dollars ($50.00).\ +\ +10. Trademarks. This License does not grant any rights to use the\ +trademarks or trade names "Apple", "Apple Computer", "Mac", "Mac OS",\ +"QuickTime", "QuickTime Streaming Server" or any other trademarks,\ +service marks, logos or trade names belonging to Apple (collectively\ +"Apple Marks") or to any trademark, service mark, logo or trade name\ +belonging to any Contributor. You agree not to use any Apple Marks in\ +or as part of the name of products derived from the Original Code or\ +to endorse or promote products derived from the Original Code other\ +than as expressly permitted by and in strict compliance at all times\ +with Apple's third party trademark usage guidelines which are posted\ +at http://www.apple.com/legal/guidelinesfor3rdparties.html.\ +\ +11. Ownership. Subject to the licenses granted under this License,\ +each Contributor retains all rights, title and interest in and to any\ +Modifications made by such Contributor. Apple retains all rights,\ +title and interest in and to the Original Code and any Modifications\ +made by or on behalf of Apple ("Apple Modifications"), and such Apple\ +Modifications will not be automatically subject to this License. Apple\ +may, at its sole discretion, choose to license such Apple\ +Modifications under this License, or on different terms from those\ +contained in this License or may choose not to license them at all.\ +\ +12. Termination.\ +\ +12.1 Termination. This License and the rights granted hereunder will\ +terminate:\ +\ +(a) automatically without notice from Apple if You fail to comply with\ +any term(s) of this License and fail to cure such breach within 30\ +days of becoming aware of such breach;\ +\ +(b) immediately in the event of the circumstances described in Section\ +13.5(b); or\ +\ +(c) automatically without notice from Apple if You, at any time during\ +the term of this License, commence an action for patent infringement\ +against Apple; provided that Apple did not first commence\ +an action for patent infringement against You in that instance.\ +\ +12.2 Effect of Termination. Upon termination, You agree to immediately\ +stop any further use, reproduction, modification, sublicensing and\ +distribution of the Covered Code. All sublicenses to the Covered Code\ +which have been properly granted prior to termination shall survive\ +any termination of this License. Provisions which, by their nature,\ +should remain in effect beyond the termination of this License shall\ +survive, including but not limited to Sections 3, 5, 8, 9, 10, 11,\ +12.2 and 13. No party will be liable to any other for compensation,\ +indemnity or damages of any sort solely as a result of terminating\ +this License in accordance with its terms, and termination of this\ +License will be without prejudice to any other right or remedy of\ +any party.\ +\ +13. Miscellaneous.\ +\ +13.1 Government End Users. The Covered Code is a "commercial item" as\ +defined in FAR 2.101. Government software and technical data rights in\ +the Covered Code include only those rights customarily provided to the\ +public as defined in this License. This customary commercial license\ +in technical data and software is provided in accordance with FAR\ +12.211 (Technical Data) and 12.212 (Computer Software) and, for\ +Department of Defense purchases, DFAR 252.227-7015 (Technical Data --\ +Commercial Items) and 227.7202-3 (Rights in Commercial Computer\ +Software or Computer Software Documentation). Accordingly, all U.S.\ +Government End Users acquire Covered Code with only those rights set\ +forth herein.\ +\ +13.2 Relationship of Parties. This License will not be construed as\ +creating an agency, partnership, joint venture or any other form of\ +legal association between or among You, Apple or any Contributor, and\ +You will not represent to the contrary, whether expressly, by\ +implication, appearance or otherwise.\ +\ +13.3 Independent Development. Nothing in this License will impair\ +Apple's right to acquire, license, develop, have others develop for\ +it, market and/or distribute technology or products that perform the\ +same or similar functions as, or otherwise compete with,\ +Modifications, Larger Works, technology or products that You may\ +develop, produce, market or distribute.\ +\ +13.4 Waiver; Construction. Failure by Apple or any Contributor to\ +enforce any provision of this License will not be deemed a waiver of\ +future enforcement of that or any other provision. Any law or\ +regulation which provides that the language of a contract shall be\ +construed against the drafter will not apply to this License.\ +\ +13.5 Severability. (a) If for any reason a court of competent\ +jurisdiction finds any provision of this License, or portion thereof,\ +to be unenforceable, that provision of the License will be enforced to\ +the maximum extent permissible so as to effect the economic benefits\ +and intent of the parties, and the remainder of this License will\ +continue in full force and effect. (b) Notwithstanding the foregoing,\ +if applicable law prohibits or restricts You from fully and/or\ +specifically complying with Sections 2 and/or 3 or prevents the\ +enforceability of either of those Sections, this License will\ +immediately terminate and You must immediately discontinue any use of\ +the Covered Code and destroy all copies of it that are in your\ +possession or control.\ +\ +13.6 Dispute Resolution. Any litigation or other dispute resolution\ +between You and Apple relating to this License shall take place in the\ +Northern District of California, and You and Apple hereby consent to\ +the personal jurisdiction of, and venue in, the state and federal\ +courts within that District with respect to this License. The\ +application of the United Nations Convention on Contracts for the\ +International Sale of Goods is expressly excluded.\ +\ +13.7 Entire Agreement; Governing Law. This License constitutes the\ +entire agreement between the parties with respect to the subject\ +matter hereof. This License shall be governed by the laws of the\ +United States and the State of California, except that body of\ +California law concerning conflicts of law.\ +\ +Where You are located in the province of Quebec, Canada, the following\ +clause applies: The parties hereby confirm that they have requested\ +that this License and all related documents be drafted in English. Les\ +parties ont exige que le present contrat et tous les documents\ +connexes soient rediges en anglais.\ +\ +EXHIBIT A.\ +\ +"Portions Copyright (c) 1999-2003 Apple Computer, Inc. All Rights\ +Reserved.\ +\ +This file contains Original Code and/or Modifications of Original Code\ +as defined in and that are subject to the Apple Public Source License\ +Version 2.0 (the 'License'). You may not use this file except in\ +compliance with the License. Please obtain a copy of the License at\ +http://www.opensource.apple.com/apsl/ and read it before using this\ +file.\ +\ +The Original Code and all software distributed under the License are\ +distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER\ +EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,\ +INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,\ +FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.\ +Please see the License for the specific language governing rights and\ +limitations under the License." } \ No newline at end of file Index: trunk/PackageBuilder/package/Resources/Arabic.lproj/Description.html =================================================================== --- trunk/PackageBuilder/package/Resources/Arabic.lproj/Description.html (revision 0) +++ trunk/PackageBuilder/package/Resources/Arabic.lproj/Description.html (revision 340) @@ -0,0 +1,30 @@ + + + + + + + + + +

‎‎الشامليون عباره عن مزيج من مختلف مكونات محمل الاقلاع٫
بنى عل ىالتطبيق Fake EFI لصاحبه David Elliott واضيف الى مشروع Apple's boot-132 ٫
‎تم تطوير الشامليون ليضم المميزات التالية

+
+

‎المميزات الجديده فى الشامليون ٢٫٠ +

+
+

- واجهه قابله للتخصيص الكامل لاضافه بعض الالوان لمحمل الاقلاع Darwin ٫

+

- اقلاع الاقراص الاصلية عن طريق تحميل صوره ل ramdisk مباشرة دون الحاجه لبرامج اضافية

+

- السبات Hibernation ٫ استمتع باستئناف الماكنتوش من الحالة السابقه ٫

+

- ‎امكانيه تعديل القيم المصنعيه ل SMBIOS باستخادم SMBIOS.plist ٫

+

- ‎امكانيه استخدام DSDT.aml ‎المصححة التى تسطيع حل الكثير من العيوب

+
+

- ‎امكانيه حقن بعض المكونات لكى تعمل عن الطريق device-properties string ٫

+

- ‎تحتوى على هجين من boot0 / boot1h ‎من اجل الاقراص المقسمة بنظامى MBR . GPT ٫

+

- ‎تحديد كود الناقل الامامى اوتوماتيكيا حتى مع اخر المعالجات لشركه AMD ٫

+

- ‎دعم ل Apple Software RAID

+
+

‎ لمزيد من المعلومات قم بزيارة موقعناhttp://chameleon.osx86.hu

+ + Index: trunk/PackageBuilder/package/Resources/Arabic.lproj/Localizable.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Resources/Arabic.lproj/Localizable.strings ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Resources/Arabic.lproj/Welcome.rtfd/TXT.rtf =================================================================== --- trunk/PackageBuilder/package/Resources/Arabic.lproj/Welcome.rtfd/TXT.rtf (revision 0) +++ trunk/PackageBuilder/package/Resources/Arabic.lproj/Welcome.rtfd/TXT.rtf (revision 340) @@ -0,0 +1,37 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf320 +{\fonttbl\f0\fnil\fcharset178 GeezaPro;\f1\fnil\fcharset0 LucidaGrande;} +{\colortbl;\red255\green255\blue255;\red65\green78\blue255;} +\margl1440\margr1440\vieww11660\viewh12980\viewkind0 +\pard\ri0\qc + +\f0\b\fs72 \cf0 \'c7\'e1\'d4\'c7\'e3\'e1\'ed\'e6\'e4 +\f1\fs50 \ + +\fs26 %CHAMELEONREVISION% +\f0 \'c7\'e1\'e4\'d3\'ce\'c9 +\f1 %CHAMELEONVERSION% +\f0 \'c7\'e1\'e3\'d1\'c7\'cc\'da\'c9 +\f1 +\fs50 \ +\cf2 %CHAMELEONSTAGE% +\fs26 \cf0 \ +\pard\ri0\ql\qnatural +\cf0 \ +\pard\ri0\qr + +\f0 \cf0 \'c7\'e1\'e3\'d8\'e6\'d1\'ed\'e4 +\f1 \uc0\u8235 :\uc0\u8236 \ +\pard\ri0\ql\qnatural +\cf0 Crazor, Dense, fassl, fxtentacle, iNDi, JrCs, Kabyl, kaitek, mackerintel, mercurysquad, mozodojo, munky, rekursor, Turbo & zef \ +\pard\ri0\qr + +\f0 \cf0 \'d4\'df\'d1\'c7 +\f1 +\f0 \'e1 +\f1 \uc0\u8235 :\uc0\u8236 \ +\pard\ri0\ql\qnatural +\cf0 asereBLN, bumby, cosmolt, dfe, Galaxy, kalyway, Krazubu, netkas, sckevyn, smith@@, THeKiNG, XyZ, blackosx +\b0\fs30 \ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\fs26 \cf0 Copyright \'a9 2010} \ No newline at end of file Index: trunk/PackageBuilder/package/Resources/Arabic.lproj/Conclusion.rtfd/TXT.rtf =================================================================== --- trunk/PackageBuilder/package/Resources/Arabic.lproj/Conclusion.rtfd/TXT.rtf (revision 0) +++ trunk/PackageBuilder/package/Resources/Arabic.lproj/Conclusion.rtfd/TXT.rtf (revision 340) @@ -0,0 +1,39 @@ +{\rtf1\ansi\ansicpg1256\cocoartf1038\cocoasubrtf320 +{\fonttbl\f0\fnil\fcharset178 GeezaPro;\f1\fnil\fcharset0 LucidaGrande;} +{\colortbl;\red255\green255\blue255;\red65\green78\blue255;\red255\green0\blue0;} +\margl1440\margr1440\vieww11660\viewh12980\viewkind0 +\pard\ri0\qc + +\f0\b\fs72 \cf0 \'c7\'e1\'d4\'c7\'e3\'e1\'ed\'e6\'e4 +\f1\fs50 \ + +\fs26 %CHAMELEONREVISION% +\f0 \'c7\'e1\'e4\'d3\'ce\'c9 +\f1 %CHAMELEONVERSION% +\f0 \'c7\'e1\'e3\'d1\'c7\'cc\'da\'c9 +\f1\fs50 \ +\cf2 %CHAMELEONSTAGE%\cf0 \ +\pard\ri0\ql\qnatural + +\fs26 \cf0 \ +\pard\ri0\qc + +\f0\fs50 \cf3 \'ca\'e3 +\f1 +\f0 \'c7\'e1\'ca\'d1\'df\'ed\'c8 +\f1 \uc0\u8235 ! +\b0\fs26 \cf0 \uc0\u8236 \ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\fs18 \cf0 \ +{\field{\*\fldinst{HYPERLINK "http://chameleon.osx86.hu/"}}{\fldrslt +\fs26 http://chameleon.osx86.hu/}} +\fs26 \ +{\field{\*\fldinst{HYPERLINK "http://forum.voodooprojects.org/index.php"}}{\fldrslt http://forum.voodooprojects.org/index.php}} +\b \ +\pard\tx360\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural + +\b0\fs30 \cf0 \ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\fs26 \cf0 Copyright \'a9 2010} \ No newline at end of file Index: trunk/PackageBuilder/package/Resources/Arabic.lproj/License.rtf =================================================================== --- trunk/PackageBuilder/package/Resources/Arabic.lproj/License.rtf (revision 0) +++ trunk/PackageBuilder/package/Resources/Arabic.lproj/License.rtf (revision 340) @@ -0,0 +1,350 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf350 +{\fonttbl\f0\fmodern\fcharset0 Courier-Bold;\f1\fmodern\fcharset0 Courier;} +{\colortbl;\red255\green255\blue255;} +\paperw12240\paperh15840\vieww22060\viewh18360\viewkind0 +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\f0\b\fs40 \cf0 APPLE PUBLIC SOURCE LICENSE \ + +\fs26 Version 2.0 - August 6, 2003\ +\ + +\f1\b0 Please read this License carefully before downloading this software. By downloading or using this software, you are agreeing to be bound by the terms of this License. If you do not or cannot agree to the terms of this License, please do not download or use the software.\ +\ +1. General; Definitions. This License applies to any program or other work which Apple Computer, Inc. ("Apple") makes publicly available and which contains a notice placed by Apple identifying such program or work as "Original Code" and stating that it is subject to the terms of this Apple Public Source License version 2.0 ("License"). As used in this License:\ +\ +1.1 "Applicable Patent Rights" mean: (a) in the case where Apple is the grantor of rights, (i) claims of patents that are now or hereafter acquired, owned by or assigned to Apple and (ii) that cover subject matter contained in the Original Code, but only to the extent necessary to use, reproduce and/or distribute the Original Code without infringement; and (b) in the case where You are the grantor of rights, (i) claims of patents that are now or hereafter acquired, owned by or assigned to You and (ii) that cover subject matter in Your Modifications, taken alone or in combination with Original Code.\ +\ +1.2 "Contributor" means any person or entity that creates or contributes to the creation of Modifications.\ +\ +1.3 "Covered Code" means the Original Code, Modifications, the combination of Original Code and any Modifications, and/or any respective portions thereof.\ +\ +1.4 "Externally Deploy" means: (a) to sublicense, distribute or otherwise make Covered Code available, directly or indirectly, to anyone other than You; and/or (b) to use Covered Code, alone or as part of a Larger Work, in any way to provide a service, including but not limited to delivery of content, through electronic communication with a client other than You.\ +\ +1.5 "Larger Work" means a work which combines Covered Code or portions thereof with code not governed by the terms of this License.\ +\ +1.6 "Modifications" mean any addition to, deletion from, and/or change\ +to, the substance and/or structure of the Original Code, any previous\ +Modifications, the combination of Original Code and any previous\ +Modifications, and/or any respective portions thereof. When code is\ +released as a series of files, a Modification is: (a) any addition to\ +or deletion from the contents of a file containing Covered Code;\ +and/or (b) any new file or other representation of computer program\ +statements that contains any part of Covered Code.\ +\ +1.7 "Original Code" means (a) the Source Code of a program or other\ +work as originally made available by Apple under this License,\ +including the Source Code of any updates or upgrades to such programs\ +or works made available by Apple under this License, and that has been\ +expressly identified by Apple as such in the header file(s) of such\ +work; and (b) the object code compiled from such Source Code and\ +originally made available by Apple under this License.\ +\ +1.8 "Source Code" means the human readable form of a program or other\ +work that is suitable for making modifications to it, including all\ +modules it contains, plus any associated interface definition files,\ +scripts used to control compilation and installation of an executable\ +(object code).\ +\ +1.9 "You" or "Your" means an individual or a legal entity exercising\ +rights under this License. For legal entities, "You" or "Your"\ +includes any entity which controls, is controlled by, or is under\ +common control with, You, where "control" means (a) the power, direct\ +or indirect, to cause the direction or management of such entity,\ +whether by contract or otherwise, or (b) ownership of fifty percent\ +(50%) or more of the outstanding shares or beneficial ownership of\ +such entity.\ +\ +2. Permitted Uses; Conditions & Restrictions. Subject to the terms\ +and conditions of this License, Apple hereby grants You, effective on\ +the date You accept this License and download the Original Code, a\ +world-wide, royalty-free, non-exclusive license, to the extent of\ +Apple's Applicable Patent Rights and copyrights covering the Original\ +Code, to do the following:\ +\ +2.1 Unmodified Code. You may use, reproduce, display, perform,\ +internally distribute within Your organization, and Externally Deploy\ +verbatim, unmodified copies of the Original Code, for commercial or\ +non-commercial purposes, provided that in each instance:\ +\ +(a) You must retain and reproduce in all copies of Original Code the\ +copyright and other proprietary notices and disclaimers of Apple as\ +they appear in the Original Code, and keep intact all notices in the\ +Original Code that refer to this License; and\ +\ +(b) You must include a copy of this License with every copy of Source\ +Code of Covered Code and documentation You distribute or Externally\ +Deploy, and You may not offer or impose any terms on such Source Code\ +that alter or restrict this License or the recipients' rights\ +hereunder, except as permitted under Section 6.\ +\ +2.2 Modified Code. You may modify Covered Code and use, reproduce,\ +display, perform, internally distribute within Your organization, and\ +Externally Deploy Your Modifications and Covered Code, for commercial\ +or non-commercial purposes, provided that in each instance You also\ +meet all of these conditions:\ +\ +(a) You must satisfy all the conditions of Section 2.1 with respect to\ +the Source Code of the Covered Code;\ +\ +(b) You must duplicate, to the extent it does not already exist, the\ +notice in Exhibit A in each file of the Source Code of all Your\ +Modifications, and cause the modified files to carry prominent notices\ +stating that You changed the files and the date of any change; and\ +\ +(c) If You Externally Deploy Your Modifications, You must make\ +Source Code of all Your Externally Deployed Modifications either\ +available to those to whom You have Externally Deployed Your\ +Modifications, or publicly available. Source Code of Your Externally\ +Deployed Modifications must be released under the terms set forth in\ +this License, including the license grants set forth in Section 3\ +below, for as long as you Externally Deploy the Covered Code or twelve\ +(12) months from the date of initial External Deployment, whichever is\ +longer. You should preferably distribute the Source Code of Your\ +Externally Deployed Modifications electronically (e.g. download from a\ +web site).\ +\ +2.3 Distribution of Executable Versions. In addition, if You\ +Externally Deploy Covered Code (Original Code and/or Modifications) in\ +object code, executable form only, You must include a prominent\ +notice, in the code itself as well as in related documentation,\ +stating that Source Code of the Covered Code is available under the\ +terms of this License with information on how and where to obtain such\ +Source Code.\ +\ +2.4 Third Party Rights. You expressly acknowledge and agree that\ +although Apple and each Contributor grants the licenses to their\ +respective portions of the Covered Code set forth herein, no\ +assurances are provided by Apple or any Contributor that the Covered\ +Code does not infringe the patent or other intellectual property\ +rights of any other entity. Apple and each Contributor disclaim any\ +liability to You for claims brought by any other entity based on\ +infringement of intellectual property rights or otherwise. As a\ +condition to exercising the rights and licenses granted hereunder, You\ +hereby assume sole responsibility to secure any other intellectual\ +property rights needed, if any. For example, if a third party patent\ +license is required to allow You to distribute the Covered Code, it is\ +Your responsibility to acquire that license before distributing the\ +Covered Code.\ +\ +3. Your Grants. In consideration of, and as a condition to, the\ +licenses granted to You under this License, You hereby grant to any\ +person or entity receiving or distributing Covered Code under this\ +License a non-exclusive, royalty-free, perpetual, irrevocable license,\ +under Your Applicable Patent Rights and other intellectual property\ +rights (other than patent) owned or controlled by You, to use,\ +reproduce, display, perform, modify, sublicense, distribute and\ +Externally Deploy Your Modifications of the same scope and extent as\ +Apple's licenses under Sections 2.1 and 2.2 above.\ +\ +4. Larger Works. You may create a Larger Work by combining Covered\ +Code with other code not governed by the terms of this License and\ +distribute the Larger Work as a single product. In each such instance,\ +You must make sure the requirements of this License are fulfilled for\ +the Covered Code or any portion thereof.\ +\ +5. Limitations on Patent License. Except as expressly stated in\ +Section 2, no other patent rights, express or implied, are granted by\ +Apple herein. Modifications and/or Larger Works may require additional\ +patent licenses from Apple which Apple may grant in its sole\ +discretion.\ +\ +6. Additional Terms. You may choose to offer, and to charge a fee for,\ +warranty, support, indemnity or liability obligations and/or other\ +rights consistent with the scope of the license granted herein\ +("Additional Terms") to one or more recipients of Covered Code.\ +However, You may do so only on Your own behalf and as Your sole\ +responsibility, and not on behalf of Apple or any Contributor. You\ +must obtain the recipient's agreement that any such Additional Terms\ +are offered by You alone, and You hereby agree to indemnify, defend\ +and hold Apple and every Contributor harmless for any liability\ +incurred by or claims asserted against Apple or such Contributor by\ +reason of any such Additional Terms.\ +\ +7. Versions of the License. Apple may publish revised and/or new\ +versions of this License from time to time. Each version will be given\ +a distinguishing version number. Once Original Code has been published\ +under a particular version of this License, You may continue to use it\ +under the terms of that version. You may also choose to use such\ +Original Code under the terms of any subsequent version of this\ +License published by Apple. No one other than Apple has the right to\ +modify the terms applicable to Covered Code created under this\ +License.\ +\ +8. NO WARRANTY OR SUPPORT. The Covered Code may contain in whole or in\ +part pre-release, untested, or not fully tested works. The Covered\ +Code may contain errors that could cause failures or loss of data, and\ +may be incomplete or contain inaccuracies. You expressly acknowledge\ +and agree that use of the Covered Code, or any portion thereof, is at\ +Your sole and entire risk. THE COVERED CODE IS PROVIDED "AS IS" AND\ +WITHOUT WARRANTY, UPGRADES OR SUPPORT OF ANY KIND AND APPLE AND\ +APPLE'S LICENSOR(S) (COLLECTIVELY REFERRED TO AS "APPLE" FOR THE\ +PURPOSES OF SECTIONS 8 AND 9) AND ALL CONTRIBUTORS EXPRESSLY DISCLAIM\ +ALL WARRANTIES AND/OR CONDITIONS, EXPRESS OR IMPLIED, INCLUDING, BUT\ +NOT LIMITED TO, THE IMPLIED WARRANTIES AND/OR CONDITIONS OF\ +MERCHANTABILITY, OF SATISFACTORY QUALITY, OF FITNESS FOR A PARTICULAR\ +PURPOSE, OF ACCURACY, OF QUIET ENJOYMENT, AND NONINFRINGEMENT OF THIRD\ +PARTY RIGHTS. APPLE AND EACH CONTRIBUTOR DOES NOT WARRANT AGAINST\ +INTERFERENCE WITH YOUR ENJOYMENT OF THE COVERED CODE, THAT THE\ +FUNCTIONS CONTAINED IN THE COVERED CODE WILL MEET YOUR REQUIREMENTS,\ +THAT THE OPERATION OF THE COVERED CODE WILL BE UNINTERRUPTED OR\ +ERROR-FREE, OR THAT DEFECTS IN THE COVERED CODE WILL BE CORRECTED. NO\ +ORAL OR WRITTEN INFORMATION OR ADVICE GIVEN BY APPLE, AN APPLE\ +AUTHORIZED REPRESENTATIVE OR ANY CONTRIBUTOR SHALL CREATE A WARRANTY.\ +You acknowledge that the Covered Code is not intended for use in the\ +operation of nuclear facilities, aircraft navigation, communication\ +systems, or air traffic control machines in which case the failure of\ +the Covered Code could lead to death, personal injury, or severe\ +physical or environmental damage.\ +\ +9. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY LAW, IN NO\ +EVENT SHALL APPLE OR ANY CONTRIBUTOR BE LIABLE FOR ANY INCIDENTAL,\ +SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING\ +TO THIS LICENSE OR YOUR USE OR INABILITY TO USE THE COVERED CODE, OR\ +ANY PORTION THEREOF, WHETHER UNDER A THEORY OF CONTRACT, WARRANTY,\ +TORT (INCLUDING NEGLIGENCE), PRODUCTS LIABILITY OR OTHERWISE, EVEN IF\ +APPLE OR SUCH CONTRIBUTOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\ +DAMAGES AND NOTWITHSTANDING THE FAILURE OF ESSENTIAL PURPOSE OF ANY\ +REMEDY. SOME JURISDICTIONS DO NOT ALLOW THE LIMITATION OF LIABILITY OF\ +INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS LIMITATION MAY NOT APPLY\ +TO YOU. In no event shall Apple's total liability to You for all\ +damages (other than as may be required by applicable law) under this\ +License exceed the amount of fifty dollars ($50.00).\ +\ +10. Trademarks. This License does not grant any rights to use the\ +trademarks or trade names "Apple", "Apple Computer", "Mac", "Mac OS",\ +"QuickTime", "QuickTime Streaming Server" or any other trademarks,\ +service marks, logos or trade names belonging to Apple (collectively\ +"Apple Marks") or to any trademark, service mark, logo or trade name\ +belonging to any Contributor. You agree not to use any Apple Marks in\ +or as part of the name of products derived from the Original Code or\ +to endorse or promote products derived from the Original Code other\ +than as expressly permitted by and in strict compliance at all times\ +with Apple's third party trademark usage guidelines which are posted\ +at http://www.apple.com/legal/guidelinesfor3rdparties.html.\ +\ +11. Ownership. Subject to the licenses granted under this License,\ +each Contributor retains all rights, title and interest in and to any\ +Modifications made by such Contributor. Apple retains all rights,\ +title and interest in and to the Original Code and any Modifications\ +made by or on behalf of Apple ("Apple Modifications"), and such Apple\ +Modifications will not be automatically subject to this License. Apple\ +may, at its sole discretion, choose to license such Apple\ +Modifications under this License, or on different terms from those\ +contained in this License or may choose not to license them at all.\ +\ +12. Termination.\ +\ +12.1 Termination. This License and the rights granted hereunder will\ +terminate:\ +\ +(a) automatically without notice from Apple if You fail to comply with\ +any term(s) of this License and fail to cure such breach within 30\ +days of becoming aware of such breach;\ +\ +(b) immediately in the event of the circumstances described in Section\ +13.5(b); or\ +\ +(c) automatically without notice from Apple if You, at any time during\ +the term of this License, commence an action for patent infringement\ +against Apple; provided that Apple did not first commence\ +an action for patent infringement against You in that instance.\ +\ +12.2 Effect of Termination. Upon termination, You agree to immediately\ +stop any further use, reproduction, modification, sublicensing and\ +distribution of the Covered Code. All sublicenses to the Covered Code\ +which have been properly granted prior to termination shall survive\ +any termination of this License. Provisions which, by their nature,\ +should remain in effect beyond the termination of this License shall\ +survive, including but not limited to Sections 3, 5, 8, 9, 10, 11,\ +12.2 and 13. No party will be liable to any other for compensation,\ +indemnity or damages of any sort solely as a result of terminating\ +this License in accordance with its terms, and termination of this\ +License will be without prejudice to any other right or remedy of\ +any party.\ +\ +13. Miscellaneous.\ +\ +13.1 Government End Users. The Covered Code is a "commercial item" as\ +defined in FAR 2.101. Government software and technical data rights in\ +the Covered Code include only those rights customarily provided to the\ +public as defined in this License. This customary commercial license\ +in technical data and software is provided in accordance with FAR\ +12.211 (Technical Data) and 12.212 (Computer Software) and, for\ +Department of Defense purchases, DFAR 252.227-7015 (Technical Data --\ +Commercial Items) and 227.7202-3 (Rights in Commercial Computer\ +Software or Computer Software Documentation). Accordingly, all U.S.\ +Government End Users acquire Covered Code with only those rights set\ +forth herein.\ +\ +13.2 Relationship of Parties. This License will not be construed as\ +creating an agency, partnership, joint venture or any other form of\ +legal association between or among You, Apple or any Contributor, and\ +You will not represent to the contrary, whether expressly, by\ +implication, appearance or otherwise.\ +\ +13.3 Independent Development. Nothing in this License will impair\ +Apple's right to acquire, license, develop, have others develop for\ +it, market and/or distribute technology or products that perform the\ +same or similar functions as, or otherwise compete with,\ +Modifications, Larger Works, technology or products that You may\ +develop, produce, market or distribute.\ +\ +13.4 Waiver; Construction. Failure by Apple or any Contributor to\ +enforce any provision of this License will not be deemed a waiver of\ +future enforcement of that or any other provision. Any law or\ +regulation which provides that the language of a contract shall be\ +construed against the drafter will not apply to this License.\ +\ +13.5 Severability. (a) If for any reason a court of competent\ +jurisdiction finds any provision of this License, or portion thereof,\ +to be unenforceable, that provision of the License will be enforced to\ +the maximum extent permissible so as to effect the economic benefits\ +and intent of the parties, and the remainder of this License will\ +continue in full force and effect. (b) Notwithstanding the foregoing,\ +if applicable law prohibits or restricts You from fully and/or\ +specifically complying with Sections 2 and/or 3 or prevents the\ +enforceability of either of those Sections, this License will\ +immediately terminate and You must immediately discontinue any use of\ +the Covered Code and destroy all copies of it that are in your\ +possession or control.\ +\ +13.6 Dispute Resolution. Any litigation or other dispute resolution\ +between You and Apple relating to this License shall take place in the\ +Northern District of California, and You and Apple hereby consent to\ +the personal jurisdiction of, and venue in, the state and federal\ +courts within that District with respect to this License. The\ +application of the United Nations Convention on Contracts for the\ +International Sale of Goods is expressly excluded.\ +\ +13.7 Entire Agreement; Governing Law. This License constitutes the\ +entire agreement between the parties with respect to the subject\ +matter hereof. This License shall be governed by the laws of the\ +United States and the State of California, except that body of\ +California law concerning conflicts of law.\ +\ +Where You are located in the province of Quebec, Canada, the following\ +clause applies: The parties hereby confirm that they have requested\ +that this License and all related documents be drafted in English. Les\ +parties ont exige que le present contrat et tous les documents\ +connexes soient rediges en anglais.\ +\ +EXHIBIT A.\ +\ +"Portions Copyright (c) 1999-2003 Apple Computer, Inc. All Rights\ +Reserved.\ +\ +This file contains Original Code and/or Modifications of Original Code\ +as defined in and that are subject to the Apple Public Source License\ +Version 2.0 (the 'License'). You may not use this file except in\ +compliance with the License. Please obtain a copy of the License at\ +http://www.opensource.apple.com/apsl/ and read it before using this\ +file.\ +\ +The Original Code and all software distributed under the License are\ +distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER\ +EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,\ +INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,\ +FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.\ +Please see the License for the specific language governing rights and\ +limitations under the License." } \ No newline at end of file Index: trunk/PackageBuilder/package/Resources/Italian.lproj/Description.html =================================================================== --- trunk/PackageBuilder/package/Resources/Italian.lproj/Description.html (revision 0) +++ trunk/PackageBuilder/package/Resources/Italian.lproj/Description.html (revision 340) @@ -0,0 +1,29 @@ + + + + + + + + + +

Chameleon è la combinazione di diverse parti del boot loader.
È basato sulle modifiche di David Elliott sull'implementazione "EFI" al progetto della Apple sul boot-132.
Chameleon presenta le seguenti caratteristiche principali:

+
+

Nuove caratteristiche di Chameleon 2.0

+
+

- Interfaccia grafica completamente personalizzabile per dare maggiori colori al Darwin Bootloader.

+

- Avviare DVD retail semplicemente caricando una immagine ramdisk senza l'utilizzo di programmi aggiuntivi.

+

- Ibernazione. Godetevi nel riprendere il vostro Mac OS X con un'immagine di anteprima.

+

- Sovrascrittura dle SMBIOS per personalizzare i valori dell'SMBIOS.

+

- Sovrascrittura della tabella DSDT, potendo selezionare una ottimizzata che risolve svariate problematiche.

+
+

- Iniezione delle Proprità delle Periferiche con stringhe EFI in device-properties.

+

- boot0 / boot1h ibrido per dischi partizionati in MBR e GPT.

+

- Riconoscimento automatico della frequenza anche sui recenti processori AMD.

+

- Supporta il RAID software di Apple.

+
+

Per maggiori informazioni, visita : http://chameleon.osx86.hu

+ + \ No newline at end of file Index: trunk/PackageBuilder/package/Resources/Italian.lproj/Localizable.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Resources/Italian.lproj/Localizable.strings ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Resources/Italian.lproj/Welcome.rtfd/TXT.rtf =================================================================== --- trunk/PackageBuilder/package/Resources/Italian.lproj/Welcome.rtfd/TXT.rtf (revision 0) +++ trunk/PackageBuilder/package/Resources/Italian.lproj/Welcome.rtfd/TXT.rtf (revision 340) @@ -0,0 +1,25 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf320 +{\fonttbl\f0\fnil\fcharset0 LucidaGrande;} +{\colortbl;\red255\green255\blue255;\red65\green78\blue255;} +\margl1440\margr1440\vieww13160\viewh11700\viewkind0 +\pard\ri0\qc + +\f0\b\fs72 \cf0 Chameleon +\fs50 \ + +\fs26 v%CHAMELEONVERSION% r%CHAMELEONREVISION% +\fs50 \ +\ +\cf2 %CHAMELEONSTAGE%\cf0 \ +\ +\pard\ri0\ql\qnatural + +\fs26 \cf0 Sviluppatori: Crazor, Dense, fassl, fxtentacle, iNDi, JrCs, Kabyl, kaitek, mackerintel, mercurysquad, mozodojo, munky, rekursor, Turbo & zef \ +\ +Grazie a : asereBLN, bumby, cosmolt, dfe, Galaxy, kalyway, Krazubu, netkas, sckevyn, smith@@, THeKiNG, XyZ, blackosx +\b0\fs30 \ +\pard\tx360\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural +\cf0 \ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\fs26 \cf0 Copyright \'a9 2010} \ No newline at end of file Index: trunk/PackageBuilder/package/Resources/Italian.lproj/Conclusion.rtfd/TXT.rtf =================================================================== --- trunk/PackageBuilder/package/Resources/Italian.lproj/Conclusion.rtfd/TXT.rtf (revision 0) +++ trunk/PackageBuilder/package/Resources/Italian.lproj/Conclusion.rtfd/TXT.rtf (revision 340) @@ -0,0 +1,34 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf320 +{\fonttbl\f0\fnil\fcharset0 LucidaGrande;} +{\colortbl;\red255\green255\blue255;\red65\green78\blue255;\red255\green0\blue0;} +\margl1440\margr1440\vieww11660\viewh12980\viewkind0 +\pard\ri0\qc + +\f0\b\fs72 \cf0 Chameleon +\fs50 \ + +\fs26 v%CHAMELEONVERSION% r%CHAMELEONREVISION% +\fs50 \ +\ +\cf2 %CHAMELEONSTAGE%\cf0 \ +\pard\ri0\ql\qnatural + +\fs26 \cf0 \ +\pard\ri0\qc + +\fs50 \cf3 Installazione terminata! +\b0\fs26 \cf0 \ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\fs18 \cf0 \ +{\field{\*\fldinst{HYPERLINK "http://chameleon.osx86.hu/"}}{\fldrslt +\fs26 http://chameleon.osx86.hu/}} +\fs26 \ +{\field{\*\fldinst{HYPERLINK "http://forum.voodooprojects.org/index.php"}}{\fldrslt http://forum.voodooprojects.org/index.php}} +\b \ +\pard\tx360\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural + +\b0\fs30 \cf0 \ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\fs26 \cf0 Copyright \'a9 2010} \ No newline at end of file Index: trunk/PackageBuilder/package/Resources/Italian.lproj/License.rtf =================================================================== --- trunk/PackageBuilder/package/Resources/Italian.lproj/License.rtf (revision 0) +++ trunk/PackageBuilder/package/Resources/Italian.lproj/License.rtf (revision 340) @@ -0,0 +1,350 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf350 +{\fonttbl\f0\fmodern\fcharset0 Courier-Bold;\f1\fmodern\fcharset0 Courier;} +{\colortbl;\red255\green255\blue255;} +\paperw12240\paperh15840\vieww22060\viewh18360\viewkind0 +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\f0\b\fs40 \cf0 APPLE PUBLIC SOURCE LICENSE \ + +\fs26 Version 2.0 - August 6, 2003\ +\ + +\f1\b0 Please read this License carefully before downloading this software. By downloading or using this software, you are agreeing to be bound by the terms of this License. If you do not or cannot agree to the terms of this License, please do not download or use the software.\ +\ +1. General; Definitions. This License applies to any program or other work which Apple Computer, Inc. ("Apple") makes publicly available and which contains a notice placed by Apple identifying such program or work as "Original Code" and stating that it is subject to the terms of this Apple Public Source License version 2.0 ("License"). As used in this License:\ +\ +1.1 "Applicable Patent Rights" mean: (a) in the case where Apple is the grantor of rights, (i) claims of patents that are now or hereafter acquired, owned by or assigned to Apple and (ii) that cover subject matter contained in the Original Code, but only to the extent necessary to use, reproduce and/or distribute the Original Code without infringement; and (b) in the case where You are the grantor of rights, (i) claims of patents that are now or hereafter acquired, owned by or assigned to You and (ii) that cover subject matter in Your Modifications, taken alone or in combination with Original Code.\ +\ +1.2 "Contributor" means any person or entity that creates or contributes to the creation of Modifications.\ +\ +1.3 "Covered Code" means the Original Code, Modifications, the combination of Original Code and any Modifications, and/or any respective portions thereof.\ +\ +1.4 "Externally Deploy" means: (a) to sublicense, distribute or otherwise make Covered Code available, directly or indirectly, to anyone other than You; and/or (b) to use Covered Code, alone or as part of a Larger Work, in any way to provide a service, including but not limited to delivery of content, through electronic communication with a client other than You.\ +\ +1.5 "Larger Work" means a work which combines Covered Code or portions thereof with code not governed by the terms of this License.\ +\ +1.6 "Modifications" mean any addition to, deletion from, and/or change\ +to, the substance and/or structure of the Original Code, any previous\ +Modifications, the combination of Original Code and any previous\ +Modifications, and/or any respective portions thereof. When code is\ +released as a series of files, a Modification is: (a) any addition to\ +or deletion from the contents of a file containing Covered Code;\ +and/or (b) any new file or other representation of computer program\ +statements that contains any part of Covered Code.\ +\ +1.7 "Original Code" means (a) the Source Code of a program or other\ +work as originally made available by Apple under this License,\ +including the Source Code of any updates or upgrades to such programs\ +or works made available by Apple under this License, and that has been\ +expressly identified by Apple as such in the header file(s) of such\ +work; and (b) the object code compiled from such Source Code and\ +originally made available by Apple under this License.\ +\ +1.8 "Source Code" means the human readable form of a program or other\ +work that is suitable for making modifications to it, including all\ +modules it contains, plus any associated interface definition files,\ +scripts used to control compilation and installation of an executable\ +(object code).\ +\ +1.9 "You" or "Your" means an individual or a legal entity exercising\ +rights under this License. For legal entities, "You" or "Your"\ +includes any entity which controls, is controlled by, or is under\ +common control with, You, where "control" means (a) the power, direct\ +or indirect, to cause the direction or management of such entity,\ +whether by contract or otherwise, or (b) ownership of fifty percent\ +(50%) or more of the outstanding shares or beneficial ownership of\ +such entity.\ +\ +2. Permitted Uses; Conditions & Restrictions. Subject to the terms\ +and conditions of this License, Apple hereby grants You, effective on\ +the date You accept this License and download the Original Code, a\ +world-wide, royalty-free, non-exclusive license, to the extent of\ +Apple's Applicable Patent Rights and copyrights covering the Original\ +Code, to do the following:\ +\ +2.1 Unmodified Code. You may use, reproduce, display, perform,\ +internally distribute within Your organization, and Externally Deploy\ +verbatim, unmodified copies of the Original Code, for commercial or\ +non-commercial purposes, provided that in each instance:\ +\ +(a) You must retain and reproduce in all copies of Original Code the\ +copyright and other proprietary notices and disclaimers of Apple as\ +they appear in the Original Code, and keep intact all notices in the\ +Original Code that refer to this License; and\ +\ +(b) You must include a copy of this License with every copy of Source\ +Code of Covered Code and documentation You distribute or Externally\ +Deploy, and You may not offer or impose any terms on such Source Code\ +that alter or restrict this License or the recipients' rights\ +hereunder, except as permitted under Section 6.\ +\ +2.2 Modified Code. You may modify Covered Code and use, reproduce,\ +display, perform, internally distribute within Your organization, and\ +Externally Deploy Your Modifications and Covered Code, for commercial\ +or non-commercial purposes, provided that in each instance You also\ +meet all of these conditions:\ +\ +(a) You must satisfy all the conditions of Section 2.1 with respect to\ +the Source Code of the Covered Code;\ +\ +(b) You must duplicate, to the extent it does not already exist, the\ +notice in Exhibit A in each file of the Source Code of all Your\ +Modifications, and cause the modified files to carry prominent notices\ +stating that You changed the files and the date of any change; and\ +\ +(c) If You Externally Deploy Your Modifications, You must make\ +Source Code of all Your Externally Deployed Modifications either\ +available to those to whom You have Externally Deployed Your\ +Modifications, or publicly available. Source Code of Your Externally\ +Deployed Modifications must be released under the terms set forth in\ +this License, including the license grants set forth in Section 3\ +below, for as long as you Externally Deploy the Covered Code or twelve\ +(12) months from the date of initial External Deployment, whichever is\ +longer. You should preferably distribute the Source Code of Your\ +Externally Deployed Modifications electronically (e.g. download from a\ +web site).\ +\ +2.3 Distribution of Executable Versions. In addition, if You\ +Externally Deploy Covered Code (Original Code and/or Modifications) in\ +object code, executable form only, You must include a prominent\ +notice, in the code itself as well as in related documentation,\ +stating that Source Code of the Covered Code is available under the\ +terms of this License with information on how and where to obtain such\ +Source Code.\ +\ +2.4 Third Party Rights. You expressly acknowledge and agree that\ +although Apple and each Contributor grants the licenses to their\ +respective portions of the Covered Code set forth herein, no\ +assurances are provided by Apple or any Contributor that the Covered\ +Code does not infringe the patent or other intellectual property\ +rights of any other entity. Apple and each Contributor disclaim any\ +liability to You for claims brought by any other entity based on\ +infringement of intellectual property rights or otherwise. As a\ +condition to exercising the rights and licenses granted hereunder, You\ +hereby assume sole responsibility to secure any other intellectual\ +property rights needed, if any. For example, if a third party patent\ +license is required to allow You to distribute the Covered Code, it is\ +Your responsibility to acquire that license before distributing the\ +Covered Code.\ +\ +3. Your Grants. In consideration of, and as a condition to, the\ +licenses granted to You under this License, You hereby grant to any\ +person or entity receiving or distributing Covered Code under this\ +License a non-exclusive, royalty-free, perpetual, irrevocable license,\ +under Your Applicable Patent Rights and other intellectual property\ +rights (other than patent) owned or controlled by You, to use,\ +reproduce, display, perform, modify, sublicense, distribute and\ +Externally Deploy Your Modifications of the same scope and extent as\ +Apple's licenses under Sections 2.1 and 2.2 above.\ +\ +4. Larger Works. You may create a Larger Work by combining Covered\ +Code with other code not governed by the terms of this License and\ +distribute the Larger Work as a single product. In each such instance,\ +You must make sure the requirements of this License are fulfilled for\ +the Covered Code or any portion thereof.\ +\ +5. Limitations on Patent License. Except as expressly stated in\ +Section 2, no other patent rights, express or implied, are granted by\ +Apple herein. Modifications and/or Larger Works may require additional\ +patent licenses from Apple which Apple may grant in its sole\ +discretion.\ +\ +6. Additional Terms. You may choose to offer, and to charge a fee for,\ +warranty, support, indemnity or liability obligations and/or other\ +rights consistent with the scope of the license granted herein\ +("Additional Terms") to one or more recipients of Covered Code.\ +However, You may do so only on Your own behalf and as Your sole\ +responsibility, and not on behalf of Apple or any Contributor. You\ +must obtain the recipient's agreement that any such Additional Terms\ +are offered by You alone, and You hereby agree to indemnify, defend\ +and hold Apple and every Contributor harmless for any liability\ +incurred by or claims asserted against Apple or such Contributor by\ +reason of any such Additional Terms.\ +\ +7. Versions of the License. Apple may publish revised and/or new\ +versions of this License from time to time. Each version will be given\ +a distinguishing version number. Once Original Code has been published\ +under a particular version of this License, You may continue to use it\ +under the terms of that version. You may also choose to use such\ +Original Code under the terms of any subsequent version of this\ +License published by Apple. No one other than Apple has the right to\ +modify the terms applicable to Covered Code created under this\ +License.\ +\ +8. NO WARRANTY OR SUPPORT. The Covered Code may contain in whole or in\ +part pre-release, untested, or not fully tested works. The Covered\ +Code may contain errors that could cause failures or loss of data, and\ +may be incomplete or contain inaccuracies. You expressly acknowledge\ +and agree that use of the Covered Code, or any portion thereof, is at\ +Your sole and entire risk. THE COVERED CODE IS PROVIDED "AS IS" AND\ +WITHOUT WARRANTY, UPGRADES OR SUPPORT OF ANY KIND AND APPLE AND\ +APPLE'S LICENSOR(S) (COLLECTIVELY REFERRED TO AS "APPLE" FOR THE\ +PURPOSES OF SECTIONS 8 AND 9) AND ALL CONTRIBUTORS EXPRESSLY DISCLAIM\ +ALL WARRANTIES AND/OR CONDITIONS, EXPRESS OR IMPLIED, INCLUDING, BUT\ +NOT LIMITED TO, THE IMPLIED WARRANTIES AND/OR CONDITIONS OF\ +MERCHANTABILITY, OF SATISFACTORY QUALITY, OF FITNESS FOR A PARTICULAR\ +PURPOSE, OF ACCURACY, OF QUIET ENJOYMENT, AND NONINFRINGEMENT OF THIRD\ +PARTY RIGHTS. APPLE AND EACH CONTRIBUTOR DOES NOT WARRANT AGAINST\ +INTERFERENCE WITH YOUR ENJOYMENT OF THE COVERED CODE, THAT THE\ +FUNCTIONS CONTAINED IN THE COVERED CODE WILL MEET YOUR REQUIREMENTS,\ +THAT THE OPERATION OF THE COVERED CODE WILL BE UNINTERRUPTED OR\ +ERROR-FREE, OR THAT DEFECTS IN THE COVERED CODE WILL BE CORRECTED. NO\ +ORAL OR WRITTEN INFORMATION OR ADVICE GIVEN BY APPLE, AN APPLE\ +AUTHORIZED REPRESENTATIVE OR ANY CONTRIBUTOR SHALL CREATE A WARRANTY.\ +You acknowledge that the Covered Code is not intended for use in the\ +operation of nuclear facilities, aircraft navigation, communication\ +systems, or air traffic control machines in which case the failure of\ +the Covered Code could lead to death, personal injury, or severe\ +physical or environmental damage.\ +\ +9. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY LAW, IN NO\ +EVENT SHALL APPLE OR ANY CONTRIBUTOR BE LIABLE FOR ANY INCIDENTAL,\ +SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING\ +TO THIS LICENSE OR YOUR USE OR INABILITY TO USE THE COVERED CODE, OR\ +ANY PORTION THEREOF, WHETHER UNDER A THEORY OF CONTRACT, WARRANTY,\ +TORT (INCLUDING NEGLIGENCE), PRODUCTS LIABILITY OR OTHERWISE, EVEN IF\ +APPLE OR SUCH CONTRIBUTOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\ +DAMAGES AND NOTWITHSTANDING THE FAILURE OF ESSENTIAL PURPOSE OF ANY\ +REMEDY. SOME JURISDICTIONS DO NOT ALLOW THE LIMITATION OF LIABILITY OF\ +INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS LIMITATION MAY NOT APPLY\ +TO YOU. In no event shall Apple's total liability to You for all\ +damages (other than as may be required by applicable law) under this\ +License exceed the amount of fifty dollars ($50.00).\ +\ +10. Trademarks. This License does not grant any rights to use the\ +trademarks or trade names "Apple", "Apple Computer", "Mac", "Mac OS",\ +"QuickTime", "QuickTime Streaming Server" or any other trademarks,\ +service marks, logos or trade names belonging to Apple (collectively\ +"Apple Marks") or to any trademark, service mark, logo or trade name\ +belonging to any Contributor. You agree not to use any Apple Marks in\ +or as part of the name of products derived from the Original Code or\ +to endorse or promote products derived from the Original Code other\ +than as expressly permitted by and in strict compliance at all times\ +with Apple's third party trademark usage guidelines which are posted\ +at http://www.apple.com/legal/guidelinesfor3rdparties.html.\ +\ +11. Ownership. Subject to the licenses granted under this License,\ +each Contributor retains all rights, title and interest in and to any\ +Modifications made by such Contributor. Apple retains all rights,\ +title and interest in and to the Original Code and any Modifications\ +made by or on behalf of Apple ("Apple Modifications"), and such Apple\ +Modifications will not be automatically subject to this License. Apple\ +may, at its sole discretion, choose to license such Apple\ +Modifications under this License, or on different terms from those\ +contained in this License or may choose not to license them at all.\ +\ +12. Termination.\ +\ +12.1 Termination. This License and the rights granted hereunder will\ +terminate:\ +\ +(a) automatically without notice from Apple if You fail to comply with\ +any term(s) of this License and fail to cure such breach within 30\ +days of becoming aware of such breach;\ +\ +(b) immediately in the event of the circumstances described in Section\ +13.5(b); or\ +\ +(c) automatically without notice from Apple if You, at any time during\ +the term of this License, commence an action for patent infringement\ +against Apple; provided that Apple did not first commence\ +an action for patent infringement against You in that instance.\ +\ +12.2 Effect of Termination. Upon termination, You agree to immediately\ +stop any further use, reproduction, modification, sublicensing and\ +distribution of the Covered Code. All sublicenses to the Covered Code\ +which have been properly granted prior to termination shall survive\ +any termination of this License. Provisions which, by their nature,\ +should remain in effect beyond the termination of this License shall\ +survive, including but not limited to Sections 3, 5, 8, 9, 10, 11,\ +12.2 and 13. No party will be liable to any other for compensation,\ +indemnity or damages of any sort solely as a result of terminating\ +this License in accordance with its terms, and termination of this\ +License will be without prejudice to any other right or remedy of\ +any party.\ +\ +13. Miscellaneous.\ +\ +13.1 Government End Users. The Covered Code is a "commercial item" as\ +defined in FAR 2.101. Government software and technical data rights in\ +the Covered Code include only those rights customarily provided to the\ +public as defined in this License. This customary commercial license\ +in technical data and software is provided in accordance with FAR\ +12.211 (Technical Data) and 12.212 (Computer Software) and, for\ +Department of Defense purchases, DFAR 252.227-7015 (Technical Data --\ +Commercial Items) and 227.7202-3 (Rights in Commercial Computer\ +Software or Computer Software Documentation). Accordingly, all U.S.\ +Government End Users acquire Covered Code with only those rights set\ +forth herein.\ +\ +13.2 Relationship of Parties. This License will not be construed as\ +creating an agency, partnership, joint venture or any other form of\ +legal association between or among You, Apple or any Contributor, and\ +You will not represent to the contrary, whether expressly, by\ +implication, appearance or otherwise.\ +\ +13.3 Independent Development. Nothing in this License will impair\ +Apple's right to acquire, license, develop, have others develop for\ +it, market and/or distribute technology or products that perform the\ +same or similar functions as, or otherwise compete with,\ +Modifications, Larger Works, technology or products that You may\ +develop, produce, market or distribute.\ +\ +13.4 Waiver; Construction. Failure by Apple or any Contributor to\ +enforce any provision of this License will not be deemed a waiver of\ +future enforcement of that or any other provision. Any law or\ +regulation which provides that the language of a contract shall be\ +construed against the drafter will not apply to this License.\ +\ +13.5 Severability. (a) If for any reason a court of competent\ +jurisdiction finds any provision of this License, or portion thereof,\ +to be unenforceable, that provision of the License will be enforced to\ +the maximum extent permissible so as to effect the economic benefits\ +and intent of the parties, and the remainder of this License will\ +continue in full force and effect. (b) Notwithstanding the foregoing,\ +if applicable law prohibits or restricts You from fully and/or\ +specifically complying with Sections 2 and/or 3 or prevents the\ +enforceability of either of those Sections, this License will\ +immediately terminate and You must immediately discontinue any use of\ +the Covered Code and destroy all copies of it that are in your\ +possession or control.\ +\ +13.6 Dispute Resolution. Any litigation or other dispute resolution\ +between You and Apple relating to this License shall take place in the\ +Northern District of California, and You and Apple hereby consent to\ +the personal jurisdiction of, and venue in, the state and federal\ +courts within that District with respect to this License. The\ +application of the United Nations Convention on Contracts for the\ +International Sale of Goods is expressly excluded.\ +\ +13.7 Entire Agreement; Governing Law. This License constitutes the\ +entire agreement between the parties with respect to the subject\ +matter hereof. This License shall be governed by the laws of the\ +United States and the State of California, except that body of\ +California law concerning conflicts of law.\ +\ +Where You are located in the province of Quebec, Canada, the following\ +clause applies: The parties hereby confirm that they have requested\ +that this License and all related documents be drafted in English. Les\ +parties ont exige que le present contrat et tous les documents\ +connexes soient rediges en anglais.\ +\ +EXHIBIT A.\ +\ +"Portions Copyright (c) 1999-2003 Apple Computer, Inc. All Rights\ +Reserved.\ +\ +This file contains Original Code and/or Modifications of Original Code\ +as defined in and that are subject to the Apple Public Source License\ +Version 2.0 (the 'License'). You may not use this file except in\ +compliance with the License. Please obtain a copy of the License at\ +http://www.opensource.apple.com/apsl/ and read it before using this\ +file.\ +\ +The Original Code and all software distributed under the License are\ +distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER\ +EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,\ +INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,\ +FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.\ +Please see the License for the specific language governing rights and\ +limitations under the License." } \ No newline at end of file Index: trunk/PackageBuilder/package/Resources/background.tiff =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Resources/background.tiff ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Resources/Portuguese.lproj/Description.html =================================================================== --- trunk/PackageBuilder/package/Resources/Portuguese.lproj/Description.html (revision 0) +++ trunk/PackageBuilder/package/Resources/Portuguese.lproj/Description.html (revision 340) @@ -0,0 +1,29 @@ + + + + + + + + + +

O Chameleon é um boot loader que combina vários componentes.
Ele é baseado na implementação de fake EFI feita por David Elliott, adicionada ao projeto boot-132 da Apple.
O Chameleon é extendido com as seguintes características chave:

+
+

Novos recursos no Chameleon 2.0

+
+

- Interface gráfica (GUI) totalmente personalizável para trazer algumas cores ao Bootloader Darwin.

+

- Inicializa DVDs retail lendo uma imagem ramdisk diretamente, sem ajuda de nenhum programa adicional.

+

- Hibernação. Aproveite continuar o seu Mac OS X com uma amostra de imagem da tela.

+

- Substituição de SMBIOS para modificar os valores de fábrica.

+

- Substituição de DSDT para usar uma tabela modificada que pode resolver diversos problemas.

+
+

- Injeção de propriedades de dispositivo através do string device-properties.

+

- boot0 / boot1h híbridos para discos particionados em MBR e GPT.

+

- Detecção automática de FSB mesmo para processadores AMD recentes.

+

- Suporte a Software RAID da Apple.

+
+

Para informações detalhadas visite: http://chameleon.osx86.hu

+ + Index: trunk/PackageBuilder/package/Resources/Portuguese.lproj/Localizable.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Resources/Portuguese.lproj/Localizable.strings ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Resources/Portuguese.lproj/Welcome.rtfd/TXT.rtf =================================================================== --- trunk/PackageBuilder/package/Resources/Portuguese.lproj/Welcome.rtfd/TXT.rtf (revision 0) +++ trunk/PackageBuilder/package/Resources/Portuguese.lproj/Welcome.rtfd/TXT.rtf (revision 340) @@ -0,0 +1,26 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf320 +{\fonttbl\f0\fnil\fcharset0 LucidaGrande;} +{\colortbl;\red255\green255\blue255;\red65\green78\blue255;} +\margl1440\margr1440\vieww11660\viewh12980\viewkind0 +\pard\ri0\qc + +\f0\b\fs72 \cf0 Chameleon +\fs50 \ + +\fs26 v%CHAMELEONVERSION% r%CHAMELEONREVISION% +\fs50 \ +\ +\cf2 %CHAMELEONSTAGE% +\fs26 \cf0 \ +\ +\pard\ri0\ql\qnatural +\cf0 Desenvolvedores: Crazor, Dense, fassl, fxtentacle, iNDi, JrCs, Kabyl, kaitek, mackerintel, mercurysquad, mozodojo, munky, rekursor, Turbo & zef \ +\ +\ +Agradecimentos a: asereBLN, bumby, cosmolt, dfe, Galaxy, kalyway, Krazubu, netkas, sckevyn, smith@@, THeKiNG, XyZ, blackosx\ +\pard\tx360\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural + +\b0\fs30 \cf0 \ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\fs26 \cf0 Copyright \'a9 2010} \ No newline at end of file Index: trunk/PackageBuilder/package/Resources/Portuguese.lproj/Conclusion.rtfd/TXT.rtf =================================================================== --- trunk/PackageBuilder/package/Resources/Portuguese.lproj/Conclusion.rtfd/TXT.rtf (revision 0) +++ trunk/PackageBuilder/package/Resources/Portuguese.lproj/Conclusion.rtfd/TXT.rtf (revision 340) @@ -0,0 +1,34 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf320 +{\fonttbl\f0\fnil\fcharset0 LucidaGrande;} +{\colortbl;\red255\green255\blue255;\red65\green78\blue255;\red255\green0\blue0;} +\margl1440\margr1440\vieww11660\viewh12980\viewkind0 +\pard\ri0\qc + +\f0\b\fs72 \cf0 Chameleon +\fs50 \ + +\fs26 v%CHAMELEONVERSION% r%CHAMELEONREVISION% +\fs50 \ +\ +\cf2 %CHAMELEONSTAGE%\cf0 \ +\pard\ri0\ql\qnatural + +\fs26 \cf0 \ +\pard\ri0\qc + +\fs50 \cf3 Instala\'e7\'e3o Conclu\'edda! +\b0\fs26 \cf0 \ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\fs18 \cf0 \ +{\field{\*\fldinst{HYPERLINK "http://chameleon.osx86.hu/"}}{\fldrslt +\fs26 http://chameleon.osx86.hu/}} +\fs26 \ +{\field{\*\fldinst{HYPERLINK "http://forum.voodooprojects.org/index.php"}}{\fldrslt http://forum.voodooprojects.org/index.php}} +\b \ +\pard\tx360\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural + +\b0\fs30 \cf0 \ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\fs26 \cf0 Copyright \'a9 2010} \ No newline at end of file Index: trunk/PackageBuilder/package/Resources/Portuguese.lproj/License.rtf =================================================================== --- trunk/PackageBuilder/package/Resources/Portuguese.lproj/License.rtf (revision 0) +++ trunk/PackageBuilder/package/Resources/Portuguese.lproj/License.rtf (revision 340) @@ -0,0 +1,350 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf350 +{\fonttbl\f0\fmodern\fcharset0 Courier-Bold;\f1\fmodern\fcharset0 Courier;} +{\colortbl;\red255\green255\blue255;} +\paperw12240\paperh15840\vieww22060\viewh18360\viewkind0 +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\f0\b\fs40 \cf0 APPLE PUBLIC SOURCE LICENSE \ + +\fs26 Version 2.0 - August 6, 2003\ +\ + +\f1\b0 Please read this License carefully before downloading this software. By downloading or using this software, you are agreeing to be bound by the terms of this License. If you do not or cannot agree to the terms of this License, please do not download or use the software.\ +\ +1. General; Definitions. This License applies to any program or other work which Apple Computer, Inc. ("Apple") makes publicly available and which contains a notice placed by Apple identifying such program or work as "Original Code" and stating that it is subject to the terms of this Apple Public Source License version 2.0 ("License"). As used in this License:\ +\ +1.1 "Applicable Patent Rights" mean: (a) in the case where Apple is the grantor of rights, (i) claims of patents that are now or hereafter acquired, owned by or assigned to Apple and (ii) that cover subject matter contained in the Original Code, but only to the extent necessary to use, reproduce and/or distribute the Original Code without infringement; and (b) in the case where You are the grantor of rights, (i) claims of patents that are now or hereafter acquired, owned by or assigned to You and (ii) that cover subject matter in Your Modifications, taken alone or in combination with Original Code.\ +\ +1.2 "Contributor" means any person or entity that creates or contributes to the creation of Modifications.\ +\ +1.3 "Covered Code" means the Original Code, Modifications, the combination of Original Code and any Modifications, and/or any respective portions thereof.\ +\ +1.4 "Externally Deploy" means: (a) to sublicense, distribute or otherwise make Covered Code available, directly or indirectly, to anyone other than You; and/or (b) to use Covered Code, alone or as part of a Larger Work, in any way to provide a service, including but not limited to delivery of content, through electronic communication with a client other than You.\ +\ +1.5 "Larger Work" means a work which combines Covered Code or portions thereof with code not governed by the terms of this License.\ +\ +1.6 "Modifications" mean any addition to, deletion from, and/or change\ +to, the substance and/or structure of the Original Code, any previous\ +Modifications, the combination of Original Code and any previous\ +Modifications, and/or any respective portions thereof. When code is\ +released as a series of files, a Modification is: (a) any addition to\ +or deletion from the contents of a file containing Covered Code;\ +and/or (b) any new file or other representation of computer program\ +statements that contains any part of Covered Code.\ +\ +1.7 "Original Code" means (a) the Source Code of a program or other\ +work as originally made available by Apple under this License,\ +including the Source Code of any updates or upgrades to such programs\ +or works made available by Apple under this License, and that has been\ +expressly identified by Apple as such in the header file(s) of such\ +work; and (b) the object code compiled from such Source Code and\ +originally made available by Apple under this License.\ +\ +1.8 "Source Code" means the human readable form of a program or other\ +work that is suitable for making modifications to it, including all\ +modules it contains, plus any associated interface definition files,\ +scripts used to control compilation and installation of an executable\ +(object code).\ +\ +1.9 "You" or "Your" means an individual or a legal entity exercising\ +rights under this License. For legal entities, "You" or "Your"\ +includes any entity which controls, is controlled by, or is under\ +common control with, You, where "control" means (a) the power, direct\ +or indirect, to cause the direction or management of such entity,\ +whether by contract or otherwise, or (b) ownership of fifty percent\ +(50%) or more of the outstanding shares or beneficial ownership of\ +such entity.\ +\ +2. Permitted Uses; Conditions & Restrictions. Subject to the terms\ +and conditions of this License, Apple hereby grants You, effective on\ +the date You accept this License and download the Original Code, a\ +world-wide, royalty-free, non-exclusive license, to the extent of\ +Apple's Applicable Patent Rights and copyrights covering the Original\ +Code, to do the following:\ +\ +2.1 Unmodified Code. You may use, reproduce, display, perform,\ +internally distribute within Your organization, and Externally Deploy\ +verbatim, unmodified copies of the Original Code, for commercial or\ +non-commercial purposes, provided that in each instance:\ +\ +(a) You must retain and reproduce in all copies of Original Code the\ +copyright and other proprietary notices and disclaimers of Apple as\ +they appear in the Original Code, and keep intact all notices in the\ +Original Code that refer to this License; and\ +\ +(b) You must include a copy of this License with every copy of Source\ +Code of Covered Code and documentation You distribute or Externally\ +Deploy, and You may not offer or impose any terms on such Source Code\ +that alter or restrict this License or the recipients' rights\ +hereunder, except as permitted under Section 6.\ +\ +2.2 Modified Code. You may modify Covered Code and use, reproduce,\ +display, perform, internally distribute within Your organization, and\ +Externally Deploy Your Modifications and Covered Code, for commercial\ +or non-commercial purposes, provided that in each instance You also\ +meet all of these conditions:\ +\ +(a) You must satisfy all the conditions of Section 2.1 with respect to\ +the Source Code of the Covered Code;\ +\ +(b) You must duplicate, to the extent it does not already exist, the\ +notice in Exhibit A in each file of the Source Code of all Your\ +Modifications, and cause the modified files to carry prominent notices\ +stating that You changed the files and the date of any change; and\ +\ +(c) If You Externally Deploy Your Modifications, You must make\ +Source Code of all Your Externally Deployed Modifications either\ +available to those to whom You have Externally Deployed Your\ +Modifications, or publicly available. Source Code of Your Externally\ +Deployed Modifications must be released under the terms set forth in\ +this License, including the license grants set forth in Section 3\ +below, for as long as you Externally Deploy the Covered Code or twelve\ +(12) months from the date of initial External Deployment, whichever is\ +longer. You should preferably distribute the Source Code of Your\ +Externally Deployed Modifications electronically (e.g. download from a\ +web site).\ +\ +2.3 Distribution of Executable Versions. In addition, if You\ +Externally Deploy Covered Code (Original Code and/or Modifications) in\ +object code, executable form only, You must include a prominent\ +notice, in the code itself as well as in related documentation,\ +stating that Source Code of the Covered Code is available under the\ +terms of this License with information on how and where to obtain such\ +Source Code.\ +\ +2.4 Third Party Rights. You expressly acknowledge and agree that\ +although Apple and each Contributor grants the licenses to their\ +respective portions of the Covered Code set forth herein, no\ +assurances are provided by Apple or any Contributor that the Covered\ +Code does not infringe the patent or other intellectual property\ +rights of any other entity. Apple and each Contributor disclaim any\ +liability to You for claims brought by any other entity based on\ +infringement of intellectual property rights or otherwise. As a\ +condition to exercising the rights and licenses granted hereunder, You\ +hereby assume sole responsibility to secure any other intellectual\ +property rights needed, if any. For example, if a third party patent\ +license is required to allow You to distribute the Covered Code, it is\ +Your responsibility to acquire that license before distributing the\ +Covered Code.\ +\ +3. Your Grants. In consideration of, and as a condition to, the\ +licenses granted to You under this License, You hereby grant to any\ +person or entity receiving or distributing Covered Code under this\ +License a non-exclusive, royalty-free, perpetual, irrevocable license,\ +under Your Applicable Patent Rights and other intellectual property\ +rights (other than patent) owned or controlled by You, to use,\ +reproduce, display, perform, modify, sublicense, distribute and\ +Externally Deploy Your Modifications of the same scope and extent as\ +Apple's licenses under Sections 2.1 and 2.2 above.\ +\ +4. Larger Works. You may create a Larger Work by combining Covered\ +Code with other code not governed by the terms of this License and\ +distribute the Larger Work as a single product. In each such instance,\ +You must make sure the requirements of this License are fulfilled for\ +the Covered Code or any portion thereof.\ +\ +5. Limitations on Patent License. Except as expressly stated in\ +Section 2, no other patent rights, express or implied, are granted by\ +Apple herein. Modifications and/or Larger Works may require additional\ +patent licenses from Apple which Apple may grant in its sole\ +discretion.\ +\ +6. Additional Terms. You may choose to offer, and to charge a fee for,\ +warranty, support, indemnity or liability obligations and/or other\ +rights consistent with the scope of the license granted herein\ +("Additional Terms") to one or more recipients of Covered Code.\ +However, You may do so only on Your own behalf and as Your sole\ +responsibility, and not on behalf of Apple or any Contributor. You\ +must obtain the recipient's agreement that any such Additional Terms\ +are offered by You alone, and You hereby agree to indemnify, defend\ +and hold Apple and every Contributor harmless for any liability\ +incurred by or claims asserted against Apple or such Contributor by\ +reason of any such Additional Terms.\ +\ +7. Versions of the License. Apple may publish revised and/or new\ +versions of this License from time to time. Each version will be given\ +a distinguishing version number. Once Original Code has been published\ +under a particular version of this License, You may continue to use it\ +under the terms of that version. You may also choose to use such\ +Original Code under the terms of any subsequent version of this\ +License published by Apple. No one other than Apple has the right to\ +modify the terms applicable to Covered Code created under this\ +License.\ +\ +8. NO WARRANTY OR SUPPORT. The Covered Code may contain in whole or in\ +part pre-release, untested, or not fully tested works. The Covered\ +Code may contain errors that could cause failures or loss of data, and\ +may be incomplete or contain inaccuracies. You expressly acknowledge\ +and agree that use of the Covered Code, or any portion thereof, is at\ +Your sole and entire risk. THE COVERED CODE IS PROVIDED "AS IS" AND\ +WITHOUT WARRANTY, UPGRADES OR SUPPORT OF ANY KIND AND APPLE AND\ +APPLE'S LICENSOR(S) (COLLECTIVELY REFERRED TO AS "APPLE" FOR THE\ +PURPOSES OF SECTIONS 8 AND 9) AND ALL CONTRIBUTORS EXPRESSLY DISCLAIM\ +ALL WARRANTIES AND/OR CONDITIONS, EXPRESS OR IMPLIED, INCLUDING, BUT\ +NOT LIMITED TO, THE IMPLIED WARRANTIES AND/OR CONDITIONS OF\ +MERCHANTABILITY, OF SATISFACTORY QUALITY, OF FITNESS FOR A PARTICULAR\ +PURPOSE, OF ACCURACY, OF QUIET ENJOYMENT, AND NONINFRINGEMENT OF THIRD\ +PARTY RIGHTS. APPLE AND EACH CONTRIBUTOR DOES NOT WARRANT AGAINST\ +INTERFERENCE WITH YOUR ENJOYMENT OF THE COVERED CODE, THAT THE\ +FUNCTIONS CONTAINED IN THE COVERED CODE WILL MEET YOUR REQUIREMENTS,\ +THAT THE OPERATION OF THE COVERED CODE WILL BE UNINTERRUPTED OR\ +ERROR-FREE, OR THAT DEFECTS IN THE COVERED CODE WILL BE CORRECTED. NO\ +ORAL OR WRITTEN INFORMATION OR ADVICE GIVEN BY APPLE, AN APPLE\ +AUTHORIZED REPRESENTATIVE OR ANY CONTRIBUTOR SHALL CREATE A WARRANTY.\ +You acknowledge that the Covered Code is not intended for use in the\ +operation of nuclear facilities, aircraft navigation, communication\ +systems, or air traffic control machines in which case the failure of\ +the Covered Code could lead to death, personal injury, or severe\ +physical or environmental damage.\ +\ +9. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY LAW, IN NO\ +EVENT SHALL APPLE OR ANY CONTRIBUTOR BE LIABLE FOR ANY INCIDENTAL,\ +SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING\ +TO THIS LICENSE OR YOUR USE OR INABILITY TO USE THE COVERED CODE, OR\ +ANY PORTION THEREOF, WHETHER UNDER A THEORY OF CONTRACT, WARRANTY,\ +TORT (INCLUDING NEGLIGENCE), PRODUCTS LIABILITY OR OTHERWISE, EVEN IF\ +APPLE OR SUCH CONTRIBUTOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\ +DAMAGES AND NOTWITHSTANDING THE FAILURE OF ESSENTIAL PURPOSE OF ANY\ +REMEDY. SOME JURISDICTIONS DO NOT ALLOW THE LIMITATION OF LIABILITY OF\ +INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS LIMITATION MAY NOT APPLY\ +TO YOU. In no event shall Apple's total liability to You for all\ +damages (other than as may be required by applicable law) under this\ +License exceed the amount of fifty dollars ($50.00).\ +\ +10. Trademarks. This License does not grant any rights to use the\ +trademarks or trade names "Apple", "Apple Computer", "Mac", "Mac OS",\ +"QuickTime", "QuickTime Streaming Server" or any other trademarks,\ +service marks, logos or trade names belonging to Apple (collectively\ +"Apple Marks") or to any trademark, service mark, logo or trade name\ +belonging to any Contributor. You agree not to use any Apple Marks in\ +or as part of the name of products derived from the Original Code or\ +to endorse or promote products derived from the Original Code other\ +than as expressly permitted by and in strict compliance at all times\ +with Apple's third party trademark usage guidelines which are posted\ +at http://www.apple.com/legal/guidelinesfor3rdparties.html.\ +\ +11. Ownership. Subject to the licenses granted under this License,\ +each Contributor retains all rights, title and interest in and to any\ +Modifications made by such Contributor. Apple retains all rights,\ +title and interest in and to the Original Code and any Modifications\ +made by or on behalf of Apple ("Apple Modifications"), and such Apple\ +Modifications will not be automatically subject to this License. Apple\ +may, at its sole discretion, choose to license such Apple\ +Modifications under this License, or on different terms from those\ +contained in this License or may choose not to license them at all.\ +\ +12. Termination.\ +\ +12.1 Termination. This License and the rights granted hereunder will\ +terminate:\ +\ +(a) automatically without notice from Apple if You fail to comply with\ +any term(s) of this License and fail to cure such breach within 30\ +days of becoming aware of such breach;\ +\ +(b) immediately in the event of the circumstances described in Section\ +13.5(b); or\ +\ +(c) automatically without notice from Apple if You, at any time during\ +the term of this License, commence an action for patent infringement\ +against Apple; provided that Apple did not first commence\ +an action for patent infringement against You in that instance.\ +\ +12.2 Effect of Termination. Upon termination, You agree to immediately\ +stop any further use, reproduction, modification, sublicensing and\ +distribution of the Covered Code. All sublicenses to the Covered Code\ +which have been properly granted prior to termination shall survive\ +any termination of this License. Provisions which, by their nature,\ +should remain in effect beyond the termination of this License shall\ +survive, including but not limited to Sections 3, 5, 8, 9, 10, 11,\ +12.2 and 13. No party will be liable to any other for compensation,\ +indemnity or damages of any sort solely as a result of terminating\ +this License in accordance with its terms, and termination of this\ +License will be without prejudice to any other right or remedy of\ +any party.\ +\ +13. Miscellaneous.\ +\ +13.1 Government End Users. The Covered Code is a "commercial item" as\ +defined in FAR 2.101. Government software and technical data rights in\ +the Covered Code include only those rights customarily provided to the\ +public as defined in this License. This customary commercial license\ +in technical data and software is provided in accordance with FAR\ +12.211 (Technical Data) and 12.212 (Computer Software) and, for\ +Department of Defense purchases, DFAR 252.227-7015 (Technical Data --\ +Commercial Items) and 227.7202-3 (Rights in Commercial Computer\ +Software or Computer Software Documentation). Accordingly, all U.S.\ +Government End Users acquire Covered Code with only those rights set\ +forth herein.\ +\ +13.2 Relationship of Parties. This License will not be construed as\ +creating an agency, partnership, joint venture or any other form of\ +legal association between or among You, Apple or any Contributor, and\ +You will not represent to the contrary, whether expressly, by\ +implication, appearance or otherwise.\ +\ +13.3 Independent Development. Nothing in this License will impair\ +Apple's right to acquire, license, develop, have others develop for\ +it, market and/or distribute technology or products that perform the\ +same or similar functions as, or otherwise compete with,\ +Modifications, Larger Works, technology or products that You may\ +develop, produce, market or distribute.\ +\ +13.4 Waiver; Construction. Failure by Apple or any Contributor to\ +enforce any provision of this License will not be deemed a waiver of\ +future enforcement of that or any other provision. Any law or\ +regulation which provides that the language of a contract shall be\ +construed against the drafter will not apply to this License.\ +\ +13.5 Severability. (a) If for any reason a court of competent\ +jurisdiction finds any provision of this License, or portion thereof,\ +to be unenforceable, that provision of the License will be enforced to\ +the maximum extent permissible so as to effect the economic benefits\ +and intent of the parties, and the remainder of this License will\ +continue in full force and effect. (b) Notwithstanding the foregoing,\ +if applicable law prohibits or restricts You from fully and/or\ +specifically complying with Sections 2 and/or 3 or prevents the\ +enforceability of either of those Sections, this License will\ +immediately terminate and You must immediately discontinue any use of\ +the Covered Code and destroy all copies of it that are in your\ +possession or control.\ +\ +13.6 Dispute Resolution. Any litigation or other dispute resolution\ +between You and Apple relating to this License shall take place in the\ +Northern District of California, and You and Apple hereby consent to\ +the personal jurisdiction of, and venue in, the state and federal\ +courts within that District with respect to this License. The\ +application of the United Nations Convention on Contracts for the\ +International Sale of Goods is expressly excluded.\ +\ +13.7 Entire Agreement; Governing Law. This License constitutes the\ +entire agreement between the parties with respect to the subject\ +matter hereof. This License shall be governed by the laws of the\ +United States and the State of California, except that body of\ +California law concerning conflicts of law.\ +\ +Where You are located in the province of Quebec, Canada, the following\ +clause applies: The parties hereby confirm that they have requested\ +that this License and all related documents be drafted in English. Les\ +parties ont exige que le present contrat et tous les documents\ +connexes soient rediges en anglais.\ +\ +EXHIBIT A.\ +\ +"Portions Copyright (c) 1999-2003 Apple Computer, Inc. All Rights\ +Reserved.\ +\ +This file contains Original Code and/or Modifications of Original Code\ +as defined in and that are subject to the Apple Public Source License\ +Version 2.0 (the 'License'). You may not use this file except in\ +compliance with the License. Please obtain a copy of the License at\ +http://www.opensource.apple.com/apsl/ and read it before using this\ +file.\ +\ +The Original Code and all software distributed under the License are\ +distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER\ +EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,\ +INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,\ +FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.\ +Please see the License for the specific language governing rights and\ +limitations under the License." } \ No newline at end of file Index: trunk/PackageBuilder/package/Resources/Bulgarian.lproj/Description.html =================================================================== --- trunk/PackageBuilder/package/Resources/Bulgarian.lproj/Description.html (revision 0) +++ trunk/PackageBuilder/package/Resources/Bulgarian.lproj/Description.html (revision 340) @@ -0,0 +1,30 @@ + + + + + + + + + +

Chameleon е комбинация от разбични boot loader компоненти.
Базиран е на fake EFI изпълнението на Дейвид Ейлиът добавено към проекта boot-132 на Apple.
Chameleon е разширен със следните ключови функции:

+
+

Нови функции в Chameleon 2.0

+
+

- Напълно управляем графичен интерфейс за добавяне на живи цветове към Darwin Bootloader.

+

- Boot-ва retail DVD-та чрез директно зареждане на ramdisk image без помоща на допълнителни програми.

+

- Хибернация.

+

- SMBIOS заместване, за да бъдат модифицирани оригиналните SMBIOS стойности.

+

- DSDT заместване, за да бъде използвано модифицирано DSDT, което решава множество проблеми.

+
+

- Вграждане на особеностите на различни хардуерни устройства посредством device-properties стрингове.

+

- Хибридни boot0 / boot1h за MBR и GPT разделени дискове..

+

- Автоматично разпознаване на FSB за новите AMD процесори.

+

- Поддръжка на Apple Software RAID..

+
+

За повече информация посетете: http://chameleon.osx86.hu

+ + + Property changes on: trunk/PackageBuilder/package/Resources/Bulgarian.lproj/Description.html ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Resources/Bulgarian.lproj/Localizable.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Resources/Bulgarian.lproj/Localizable.strings ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Resources/Bulgarian.lproj/Welcome.rtfd/TXT.rtf =================================================================== --- trunk/PackageBuilder/package/Resources/Bulgarian.lproj/Welcome.rtfd/TXT.rtf (revision 0) +++ trunk/PackageBuilder/package/Resources/Bulgarian.lproj/Welcome.rtfd/TXT.rtf (revision 340) @@ -0,0 +1,26 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf320 +{\fonttbl\f0\fnil\fcharset0 LucidaGrande;} +{\colortbl;\red255\green255\blue255;\red65\green78\blue255;} +\margl1440\margr1440\vieww11660\viewh12980\viewkind0 +\pard\ri0\qc + +\f0\b\fs72 \cf0 Chameleon +\fs50 \ + +\fs26 v%CHAMELEONVERSION% r%CHAMELEONREVISION% +\fs50 \ +\ +\cf2 %CHAMELEONSTAGE% +\fs26 \cf0 \ +\pard\ri0\ql\qnatural +\cf0 \ +\uc0\u1056 \u1072 \u1079 \u1088 \u1072 \u1073 \u1086 \u1090 \u1077 \u1085 \u1086 \u1090 : Crazor, Dense, fassl, fxtentacle, iNDi, JrCs, Kabyl, kaitek, mackerintel, mercurysquad, mozodojo, munky, rekursor, Turbo & zef \ +\ +\ +\uc0\u1041 \u1083 \u1072 \u1075 \u1086 \u1076 \u1072 \u1088 \u1085 \u1086 \u1089 \u1090 \u1080 \u1085 \u1072 : asereBLN, bumby, cosmolt, dfe, Galaxy, kalyway, Krazubu, netkas, sckevyn, smith@@, THeKiNG, XyZ, blackosx\ +\pard\tx360\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural + +\b0\fs30 \cf0 \ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\fs26 \cf0 Copyright \'a9 2010} \ No newline at end of file Index: trunk/PackageBuilder/package/Resources/Bulgarian.lproj/Conclusion.rtfd/TXT.rtf =================================================================== --- trunk/PackageBuilder/package/Resources/Bulgarian.lproj/Conclusion.rtfd/TXT.rtf (revision 0) +++ trunk/PackageBuilder/package/Resources/Bulgarian.lproj/Conclusion.rtfd/TXT.rtf (revision 340) @@ -0,0 +1,34 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf320 +{\fonttbl\f0\fnil\fcharset0 LucidaGrande;} +{\colortbl;\red255\green255\blue255;\red65\green78\blue255;\red255\green0\blue0;} +\margl1440\margr1440\vieww11660\viewh12980\viewkind0 +\pard\ri0\qc + +\f0\b\fs72 \cf0 Chameleon +\fs50 \ + +\fs26 v%CHAMELEONVERSION% r%CHAMELEONREVISION% +\fs50 \ +\ +\cf2 %CHAMELEONSTAGE%\cf0 \ +\pard\ri0\ql\qnatural + +\fs26 \cf0 \ +\pard\ri0\qc + +\fs50 \cf3 \uc0\u1048 \u1085 \u1089 \u1090 \u1072 \u1083 \u1072 \u1094 \u1080 \u1103 \u1090 \u1072 \u1077 \u1079 \u1072 \u1074 \u1098 \u1088 \u1096 \u1077 \u1085 \u1072 ! +\b0\fs26 \cf0 \ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\fs18 \cf0 \ +{\field{\*\fldinst{HYPERLINK "http://chameleon.osx86.hu/"}}{\fldrslt +\fs26 http://chameleon.osx86.hu/}} +\fs26 \ +{\field{\*\fldinst{HYPERLINK "http://forum.voodooprojects.org/index.php"}}{\fldrslt http://forum.voodooprojects.org/index.php}} +\b \ +\pard\tx360\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural + +\b0\fs30 \cf0 \ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\fs26 \cf0 Copyright \'a9 2010} \ No newline at end of file Index: trunk/PackageBuilder/package/Resources/Bulgarian.lproj/License.rtf =================================================================== --- trunk/PackageBuilder/package/Resources/Bulgarian.lproj/License.rtf (revision 0) +++ trunk/PackageBuilder/package/Resources/Bulgarian.lproj/License.rtf (revision 340) @@ -0,0 +1,350 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf350 +{\fonttbl\f0\fmodern\fcharset0 Courier-Bold;\f1\fmodern\fcharset0 Courier;} +{\colortbl;\red255\green255\blue255;} +\paperw12240\paperh15840\vieww22060\viewh18360\viewkind0 +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\f0\b\fs40 \cf0 APPLE PUBLIC SOURCE LICENSE \ + +\fs26 Version 2.0 - August 6, 2003\ +\ + +\f1\b0 Please read this License carefully before downloading this software. By downloading or using this software, you are agreeing to be bound by the terms of this License. If you do not or cannot agree to the terms of this License, please do not download or use the software.\ +\ +1. General; Definitions. This License applies to any program or other work which Apple Computer, Inc. ("Apple") makes publicly available and which contains a notice placed by Apple identifying such program or work as "Original Code" and stating that it is subject to the terms of this Apple Public Source License version 2.0 ("License"). As used in this License:\ +\ +1.1 "Applicable Patent Rights" mean: (a) in the case where Apple is the grantor of rights, (i) claims of patents that are now or hereafter acquired, owned by or assigned to Apple and (ii) that cover subject matter contained in the Original Code, but only to the extent necessary to use, reproduce and/or distribute the Original Code without infringement; and (b) in the case where You are the grantor of rights, (i) claims of patents that are now or hereafter acquired, owned by or assigned to You and (ii) that cover subject matter in Your Modifications, taken alone or in combination with Original Code.\ +\ +1.2 "Contributor" means any person or entity that creates or contributes to the creation of Modifications.\ +\ +1.3 "Covered Code" means the Original Code, Modifications, the combination of Original Code and any Modifications, and/or any respective portions thereof.\ +\ +1.4 "Externally Deploy" means: (a) to sublicense, distribute or otherwise make Covered Code available, directly or indirectly, to anyone other than You; and/or (b) to use Covered Code, alone or as part of a Larger Work, in any way to provide a service, including but not limited to delivery of content, through electronic communication with a client other than You.\ +\ +1.5 "Larger Work" means a work which combines Covered Code or portions thereof with code not governed by the terms of this License.\ +\ +1.6 "Modifications" mean any addition to, deletion from, and/or change\ +to, the substance and/or structure of the Original Code, any previous\ +Modifications, the combination of Original Code and any previous\ +Modifications, and/or any respective portions thereof. When code is\ +released as a series of files, a Modification is: (a) any addition to\ +or deletion from the contents of a file containing Covered Code;\ +and/or (b) any new file or other representation of computer program\ +statements that contains any part of Covered Code.\ +\ +1.7 "Original Code" means (a) the Source Code of a program or other\ +work as originally made available by Apple under this License,\ +including the Source Code of any updates or upgrades to such programs\ +or works made available by Apple under this License, and that has been\ +expressly identified by Apple as such in the header file(s) of such\ +work; and (b) the object code compiled from such Source Code and\ +originally made available by Apple under this License.\ +\ +1.8 "Source Code" means the human readable form of a program or other\ +work that is suitable for making modifications to it, including all\ +modules it contains, plus any associated interface definition files,\ +scripts used to control compilation and installation of an executable\ +(object code).\ +\ +1.9 "You" or "Your" means an individual or a legal entity exercising\ +rights under this License. For legal entities, "You" or "Your"\ +includes any entity which controls, is controlled by, or is under\ +common control with, You, where "control" means (a) the power, direct\ +or indirect, to cause the direction or management of such entity,\ +whether by contract or otherwise, or (b) ownership of fifty percent\ +(50%) or more of the outstanding shares or beneficial ownership of\ +such entity.\ +\ +2. Permitted Uses; Conditions & Restrictions. Subject to the terms\ +and conditions of this License, Apple hereby grants You, effective on\ +the date You accept this License and download the Original Code, a\ +world-wide, royalty-free, non-exclusive license, to the extent of\ +Apple's Applicable Patent Rights and copyrights covering the Original\ +Code, to do the following:\ +\ +2.1 Unmodified Code. You may use, reproduce, display, perform,\ +internally distribute within Your organization, and Externally Deploy\ +verbatim, unmodified copies of the Original Code, for commercial or\ +non-commercial purposes, provided that in each instance:\ +\ +(a) You must retain and reproduce in all copies of Original Code the\ +copyright and other proprietary notices and disclaimers of Apple as\ +they appear in the Original Code, and keep intact all notices in the\ +Original Code that refer to this License; and\ +\ +(b) You must include a copy of this License with every copy of Source\ +Code of Covered Code and documentation You distribute or Externally\ +Deploy, and You may not offer or impose any terms on such Source Code\ +that alter or restrict this License or the recipients' rights\ +hereunder, except as permitted under Section 6.\ +\ +2.2 Modified Code. You may modify Covered Code and use, reproduce,\ +display, perform, internally distribute within Your organization, and\ +Externally Deploy Your Modifications and Covered Code, for commercial\ +or non-commercial purposes, provided that in each instance You also\ +meet all of these conditions:\ +\ +(a) You must satisfy all the conditions of Section 2.1 with respect to\ +the Source Code of the Covered Code;\ +\ +(b) You must duplicate, to the extent it does not already exist, the\ +notice in Exhibit A in each file of the Source Code of all Your\ +Modifications, and cause the modified files to carry prominent notices\ +stating that You changed the files and the date of any change; and\ +\ +(c) If You Externally Deploy Your Modifications, You must make\ +Source Code of all Your Externally Deployed Modifications either\ +available to those to whom You have Externally Deployed Your\ +Modifications, or publicly available. Source Code of Your Externally\ +Deployed Modifications must be released under the terms set forth in\ +this License, including the license grants set forth in Section 3\ +below, for as long as you Externally Deploy the Covered Code or twelve\ +(12) months from the date of initial External Deployment, whichever is\ +longer. You should preferably distribute the Source Code of Your\ +Externally Deployed Modifications electronically (e.g. download from a\ +web site).\ +\ +2.3 Distribution of Executable Versions. In addition, if You\ +Externally Deploy Covered Code (Original Code and/or Modifications) in\ +object code, executable form only, You must include a prominent\ +notice, in the code itself as well as in related documentation,\ +stating that Source Code of the Covered Code is available under the\ +terms of this License with information on how and where to obtain such\ +Source Code.\ +\ +2.4 Third Party Rights. You expressly acknowledge and agree that\ +although Apple and each Contributor grants the licenses to their\ +respective portions of the Covered Code set forth herein, no\ +assurances are provided by Apple or any Contributor that the Covered\ +Code does not infringe the patent or other intellectual property\ +rights of any other entity. Apple and each Contributor disclaim any\ +liability to You for claims brought by any other entity based on\ +infringement of intellectual property rights or otherwise. As a\ +condition to exercising the rights and licenses granted hereunder, You\ +hereby assume sole responsibility to secure any other intellectual\ +property rights needed, if any. For example, if a third party patent\ +license is required to allow You to distribute the Covered Code, it is\ +Your responsibility to acquire that license before distributing the\ +Covered Code.\ +\ +3. Your Grants. In consideration of, and as a condition to, the\ +licenses granted to You under this License, You hereby grant to any\ +person or entity receiving or distributing Covered Code under this\ +License a non-exclusive, royalty-free, perpetual, irrevocable license,\ +under Your Applicable Patent Rights and other intellectual property\ +rights (other than patent) owned or controlled by You, to use,\ +reproduce, display, perform, modify, sublicense, distribute and\ +Externally Deploy Your Modifications of the same scope and extent as\ +Apple's licenses under Sections 2.1 and 2.2 above.\ +\ +4. Larger Works. You may create a Larger Work by combining Covered\ +Code with other code not governed by the terms of this License and\ +distribute the Larger Work as a single product. In each such instance,\ +You must make sure the requirements of this License are fulfilled for\ +the Covered Code or any portion thereof.\ +\ +5. Limitations on Patent License. Except as expressly stated in\ +Section 2, no other patent rights, express or implied, are granted by\ +Apple herein. Modifications and/or Larger Works may require additional\ +patent licenses from Apple which Apple may grant in its sole\ +discretion.\ +\ +6. Additional Terms. You may choose to offer, and to charge a fee for,\ +warranty, support, indemnity or liability obligations and/or other\ +rights consistent with the scope of the license granted herein\ +("Additional Terms") to one or more recipients of Covered Code.\ +However, You may do so only on Your own behalf and as Your sole\ +responsibility, and not on behalf of Apple or any Contributor. You\ +must obtain the recipient's agreement that any such Additional Terms\ +are offered by You alone, and You hereby agree to indemnify, defend\ +and hold Apple and every Contributor harmless for any liability\ +incurred by or claims asserted against Apple or such Contributor by\ +reason of any such Additional Terms.\ +\ +7. Versions of the License. Apple may publish revised and/or new\ +versions of this License from time to time. Each version will be given\ +a distinguishing version number. Once Original Code has been published\ +under a particular version of this License, You may continue to use it\ +under the terms of that version. You may also choose to use such\ +Original Code under the terms of any subsequent version of this\ +License published by Apple. No one other than Apple has the right to\ +modify the terms applicable to Covered Code created under this\ +License.\ +\ +8. NO WARRANTY OR SUPPORT. The Covered Code may contain in whole or in\ +part pre-release, untested, or not fully tested works. The Covered\ +Code may contain errors that could cause failures or loss of data, and\ +may be incomplete or contain inaccuracies. You expressly acknowledge\ +and agree that use of the Covered Code, or any portion thereof, is at\ +Your sole and entire risk. THE COVERED CODE IS PROVIDED "AS IS" AND\ +WITHOUT WARRANTY, UPGRADES OR SUPPORT OF ANY KIND AND APPLE AND\ +APPLE'S LICENSOR(S) (COLLECTIVELY REFERRED TO AS "APPLE" FOR THE\ +PURPOSES OF SECTIONS 8 AND 9) AND ALL CONTRIBUTORS EXPRESSLY DISCLAIM\ +ALL WARRANTIES AND/OR CONDITIONS, EXPRESS OR IMPLIED, INCLUDING, BUT\ +NOT LIMITED TO, THE IMPLIED WARRANTIES AND/OR CONDITIONS OF\ +MERCHANTABILITY, OF SATISFACTORY QUALITY, OF FITNESS FOR A PARTICULAR\ +PURPOSE, OF ACCURACY, OF QUIET ENJOYMENT, AND NONINFRINGEMENT OF THIRD\ +PARTY RIGHTS. APPLE AND EACH CONTRIBUTOR DOES NOT WARRANT AGAINST\ +INTERFERENCE WITH YOUR ENJOYMENT OF THE COVERED CODE, THAT THE\ +FUNCTIONS CONTAINED IN THE COVERED CODE WILL MEET YOUR REQUIREMENTS,\ +THAT THE OPERATION OF THE COVERED CODE WILL BE UNINTERRUPTED OR\ +ERROR-FREE, OR THAT DEFECTS IN THE COVERED CODE WILL BE CORRECTED. NO\ +ORAL OR WRITTEN INFORMATION OR ADVICE GIVEN BY APPLE, AN APPLE\ +AUTHORIZED REPRESENTATIVE OR ANY CONTRIBUTOR SHALL CREATE A WARRANTY.\ +You acknowledge that the Covered Code is not intended for use in the\ +operation of nuclear facilities, aircraft navigation, communication\ +systems, or air traffic control machines in which case the failure of\ +the Covered Code could lead to death, personal injury, or severe\ +physical or environmental damage.\ +\ +9. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY LAW, IN NO\ +EVENT SHALL APPLE OR ANY CONTRIBUTOR BE LIABLE FOR ANY INCIDENTAL,\ +SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING\ +TO THIS LICENSE OR YOUR USE OR INABILITY TO USE THE COVERED CODE, OR\ +ANY PORTION THEREOF, WHETHER UNDER A THEORY OF CONTRACT, WARRANTY,\ +TORT (INCLUDING NEGLIGENCE), PRODUCTS LIABILITY OR OTHERWISE, EVEN IF\ +APPLE OR SUCH CONTRIBUTOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\ +DAMAGES AND NOTWITHSTANDING THE FAILURE OF ESSENTIAL PURPOSE OF ANY\ +REMEDY. SOME JURISDICTIONS DO NOT ALLOW THE LIMITATION OF LIABILITY OF\ +INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS LIMITATION MAY NOT APPLY\ +TO YOU. In no event shall Apple's total liability to You for all\ +damages (other than as may be required by applicable law) under this\ +License exceed the amount of fifty dollars ($50.00).\ +\ +10. Trademarks. This License does not grant any rights to use the\ +trademarks or trade names "Apple", "Apple Computer", "Mac", "Mac OS",\ +"QuickTime", "QuickTime Streaming Server" or any other trademarks,\ +service marks, logos or trade names belonging to Apple (collectively\ +"Apple Marks") or to any trademark, service mark, logo or trade name\ +belonging to any Contributor. You agree not to use any Apple Marks in\ +or as part of the name of products derived from the Original Code or\ +to endorse or promote products derived from the Original Code other\ +than as expressly permitted by and in strict compliance at all times\ +with Apple's third party trademark usage guidelines which are posted\ +at http://www.apple.com/legal/guidelinesfor3rdparties.html.\ +\ +11. Ownership. Subject to the licenses granted under this License,\ +each Contributor retains all rights, title and interest in and to any\ +Modifications made by such Contributor. Apple retains all rights,\ +title and interest in and to the Original Code and any Modifications\ +made by or on behalf of Apple ("Apple Modifications"), and such Apple\ +Modifications will not be automatically subject to this License. Apple\ +may, at its sole discretion, choose to license such Apple\ +Modifications under this License, or on different terms from those\ +contained in this License or may choose not to license them at all.\ +\ +12. Termination.\ +\ +12.1 Termination. This License and the rights granted hereunder will\ +terminate:\ +\ +(a) automatically without notice from Apple if You fail to comply with\ +any term(s) of this License and fail to cure such breach within 30\ +days of becoming aware of such breach;\ +\ +(b) immediately in the event of the circumstances described in Section\ +13.5(b); or\ +\ +(c) automatically without notice from Apple if You, at any time during\ +the term of this License, commence an action for patent infringement\ +against Apple; provided that Apple did not first commence\ +an action for patent infringement against You in that instance.\ +\ +12.2 Effect of Termination. Upon termination, You agree to immediately\ +stop any further use, reproduction, modification, sublicensing and\ +distribution of the Covered Code. All sublicenses to the Covered Code\ +which have been properly granted prior to termination shall survive\ +any termination of this License. Provisions which, by their nature,\ +should remain in effect beyond the termination of this License shall\ +survive, including but not limited to Sections 3, 5, 8, 9, 10, 11,\ +12.2 and 13. No party will be liable to any other for compensation,\ +indemnity or damages of any sort solely as a result of terminating\ +this License in accordance with its terms, and termination of this\ +License will be without prejudice to any other right or remedy of\ +any party.\ +\ +13. Miscellaneous.\ +\ +13.1 Government End Users. The Covered Code is a "commercial item" as\ +defined in FAR 2.101. Government software and technical data rights in\ +the Covered Code include only those rights customarily provided to the\ +public as defined in this License. This customary commercial license\ +in technical data and software is provided in accordance with FAR\ +12.211 (Technical Data) and 12.212 (Computer Software) and, for\ +Department of Defense purchases, DFAR 252.227-7015 (Technical Data --\ +Commercial Items) and 227.7202-3 (Rights in Commercial Computer\ +Software or Computer Software Documentation). Accordingly, all U.S.\ +Government End Users acquire Covered Code with only those rights set\ +forth herein.\ +\ +13.2 Relationship of Parties. This License will not be construed as\ +creating an agency, partnership, joint venture or any other form of\ +legal association between or among You, Apple or any Contributor, and\ +You will not represent to the contrary, whether expressly, by\ +implication, appearance or otherwise.\ +\ +13.3 Independent Development. Nothing in this License will impair\ +Apple's right to acquire, license, develop, have others develop for\ +it, market and/or distribute technology or products that perform the\ +same or similar functions as, or otherwise compete with,\ +Modifications, Larger Works, technology or products that You may\ +develop, produce, market or distribute.\ +\ +13.4 Waiver; Construction. Failure by Apple or any Contributor to\ +enforce any provision of this License will not be deemed a waiver of\ +future enforcement of that or any other provision. Any law or\ +regulation which provides that the language of a contract shall be\ +construed against the drafter will not apply to this License.\ +\ +13.5 Severability. (a) If for any reason a court of competent\ +jurisdiction finds any provision of this License, or portion thereof,\ +to be unenforceable, that provision of the License will be enforced to\ +the maximum extent permissible so as to effect the economic benefits\ +and intent of the parties, and the remainder of this License will\ +continue in full force and effect. (b) Notwithstanding the foregoing,\ +if applicable law prohibits or restricts You from fully and/or\ +specifically complying with Sections 2 and/or 3 or prevents the\ +enforceability of either of those Sections, this License will\ +immediately terminate and You must immediately discontinue any use of\ +the Covered Code and destroy all copies of it that are in your\ +possession or control.\ +\ +13.6 Dispute Resolution. Any litigation or other dispute resolution\ +between You and Apple relating to this License shall take place in the\ +Northern District of California, and You and Apple hereby consent to\ +the personal jurisdiction of, and venue in, the state and federal\ +courts within that District with respect to this License. The\ +application of the United Nations Convention on Contracts for the\ +International Sale of Goods is expressly excluded.\ +\ +13.7 Entire Agreement; Governing Law. This License constitutes the\ +entire agreement between the parties with respect to the subject\ +matter hereof. This License shall be governed by the laws of the\ +United States and the State of California, except that body of\ +California law concerning conflicts of law.\ +\ +Where You are located in the province of Quebec, Canada, the following\ +clause applies: The parties hereby confirm that they have requested\ +that this License and all related documents be drafted in English. Les\ +parties ont exige que le present contrat et tous les documents\ +connexes soient rediges en anglais.\ +\ +EXHIBIT A.\ +\ +"Portions Copyright (c) 1999-2003 Apple Computer, Inc. All Rights\ +Reserved.\ +\ +This file contains Original Code and/or Modifications of Original Code\ +as defined in and that are subject to the Apple Public Source License\ +Version 2.0 (the 'License'). You may not use this file except in\ +compliance with the License. Please obtain a copy of the License at\ +http://www.opensource.apple.com/apsl/ and read it before using this\ +file.\ +\ +The Original Code and all software distributed under the License are\ +distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER\ +EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,\ +INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,\ +FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.\ +Please see the License for the specific language governing rights and\ +limitations under the License." } \ No newline at end of file Index: trunk/PackageBuilder/package/Resources/Russian.lproj/Description.html =================================================================== --- trunk/PackageBuilder/package/Resources/Russian.lproj/Description.html (revision 0) +++ trunk/PackageBuilder/package/Resources/Russian.lproj/Description.html (revision 340) @@ -0,0 +1,29 @@ + + + + + + + + + +

Chameleon представляет собой комбинацию различных компонентов и основывается на эмуляции EFI реализованной Дэвидом Элиотом (David Elliott) интегрированной в оригинальный проект boot-132 от Apple.
Chameleon включает в себя следующие улучшения:

+
+

Новые возможности Chameleon 2.0

+
+

- Полностью изменяемый интерфейс пользователя для улучшения внешнего вида загрузчика Darwin.

+

- Загрузка оригинального установочного диска Mac OS X без помощи посторонних программ.

+

- Поддержка гибернации.

+

- Переопределение фабричных параметров SMBIOS.

+

- Возможность использования модифицированного DSDT для решения некоторых специфических проблем.

+
+

- Инжекция Device Property Strings.

+

- Гибридный boot0 / boot1h для разметок MBR и GPT.

+

- Автоматическое определение FSB даже для процессоров AMD.

+

- Поддержка программных RAID массивов Apple.

+
+

Более подробная информация по загрузчику: http://chameleon.osx86.hu

+ + Index: trunk/PackageBuilder/package/Resources/Russian.lproj/Localizable.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Resources/Russian.lproj/Localizable.strings ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Resources/Russian.lproj/Welcome.rtfd/TXT.rtf =================================================================== --- trunk/PackageBuilder/package/Resources/Russian.lproj/Welcome.rtfd/TXT.rtf (revision 0) +++ trunk/PackageBuilder/package/Resources/Russian.lproj/Welcome.rtfd/TXT.rtf (revision 340) @@ -0,0 +1,26 @@ +{\rtf1\ansi\ansicpg1251\cocoartf1038\cocoasubrtf320 +{\fonttbl\f0\fnil\fcharset0 LucidaGrande;} +{\colortbl;\red255\green255\blue255;\red65\green78\blue255;} +\margl1440\margr1440\vieww11660\viewh12980\viewkind0 +\pard\ri0\qc + +\f0\b\fs72 \cf0 Chameleon +\fs50 \ + +\fs26 v%CHAMELEONVERSION% r%CHAMELEONREVISION% +\fs50 \ +\ +\cf2 %CHAMELEONSTAGE% +\fs26 \cf0 \ +\pard\ri0\ql\qnatural +\cf0 \ +\uc0\u1056 \u1072 \u1079 \u1088 \u1072 \u1073 \u1086 \u1090 \u1095 \u1080 \u1082 \u1080 : Crazor, Dense, fassl, fxtentacle, iNDi, JrCs, Kabyl, kaitek, mackerintel, mercurysquad, mozodojo, munky, rekursor, Turbo & zef \ +\ +\ +\uc0\u1042 \u1099 \u1088 \u1072 \u1078 \u1072 \u1077 \u1084 \u1073 \u1083 \u1072 \u1075 \u1086 \u1076 \u1072 \u1088 \u1085 \u1086 \u1089 \u1090 \u1100 : asereBLN, bumby, cosmolt, dfe, Galaxy, kalyway, Krazubu, netkas, sckevyn, smith@@, THeKiNG, XyZ, blackosx\ +\pard\tx360\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural + +\b0\fs30 \cf0 \ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\fs26 \cf0 Copyright \'a9 2010} \ No newline at end of file Index: trunk/PackageBuilder/package/Resources/Russian.lproj/Conclusion.rtfd/TXT.rtf =================================================================== --- trunk/PackageBuilder/package/Resources/Russian.lproj/Conclusion.rtfd/TXT.rtf (revision 0) +++ trunk/PackageBuilder/package/Resources/Russian.lproj/Conclusion.rtfd/TXT.rtf (revision 340) @@ -0,0 +1,34 @@ +{\rtf1\ansi\ansicpg1251\cocoartf1038\cocoasubrtf320 +{\fonttbl\f0\fnil\fcharset0 LucidaGrande;} +{\colortbl;\red255\green255\blue255;\red65\green78\blue255;\red255\green0\blue0;} +\margl1440\margr1440\vieww11660\viewh12980\viewkind0 +\pard\ri0\qc + +\f0\b\fs72 \cf0 Chameleon +\fs50 \ + +\fs26 v%CHAMELEONVERSION% r%CHAMELEONREVISION% +\fs50 \ +\ +\cf2 %CHAMELEONSTAGE%\cf0 \ +\pard\ri0\ql\qnatural + +\fs26 \cf0 \ +\pard\ri0\qc + +\fs50 \cf3 \uc0\u1059 \u1089 \u1090 \u1072 \u1085 \u1086 \u1074 \u1082 \u1072 \u1079 \u1072 \u1074 \u1077 \u1088 \u1096 \u1077 \u1085 \u1072 ! +\b0\fs26 \cf0 \ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\fs18 \cf0 \ +{\field{\*\fldinst{HYPERLINK "http://chameleon.osx86.hu/"}}{\fldrslt +\fs26 http://chameleon.osx86.hu/}} +\fs26 \ +{\field{\*\fldinst{HYPERLINK "http://forum.voodooprojects.org/index.php"}}{\fldrslt http://forum.voodooprojects.org/index.php}} +\b \ +\pard\tx360\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural + +\b0\fs30 \cf0 \ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\fs26 \cf0 Copyright \'a9 2010} \ No newline at end of file Index: trunk/PackageBuilder/package/Resources/Russian.lproj/License.rtf =================================================================== --- trunk/PackageBuilder/package/Resources/Russian.lproj/License.rtf (revision 0) +++ trunk/PackageBuilder/package/Resources/Russian.lproj/License.rtf (revision 340) @@ -0,0 +1,350 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf350 +{\fonttbl\f0\fmodern\fcharset0 Courier-Bold;\f1\fmodern\fcharset0 Courier;} +{\colortbl;\red255\green255\blue255;} +\paperw12240\paperh15840\vieww22060\viewh18360\viewkind0 +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\f0\b\fs40 \cf0 APPLE PUBLIC SOURCE LICENSE \ + +\fs26 Version 2.0 - August 6, 2003\ +\ + +\f1\b0 Please read this License carefully before downloading this software. By downloading or using this software, you are agreeing to be bound by the terms of this License. If you do not or cannot agree to the terms of this License, please do not download or use the software.\ +\ +1. General; Definitions. This License applies to any program or other work which Apple Computer, Inc. ("Apple") makes publicly available and which contains a notice placed by Apple identifying such program or work as "Original Code" and stating that it is subject to the terms of this Apple Public Source License version 2.0 ("License"). As used in this License:\ +\ +1.1 "Applicable Patent Rights" mean: (a) in the case where Apple is the grantor of rights, (i) claims of patents that are now or hereafter acquired, owned by or assigned to Apple and (ii) that cover subject matter contained in the Original Code, but only to the extent necessary to use, reproduce and/or distribute the Original Code without infringement; and (b) in the case where You are the grantor of rights, (i) claims of patents that are now or hereafter acquired, owned by or assigned to You and (ii) that cover subject matter in Your Modifications, taken alone or in combination with Original Code.\ +\ +1.2 "Contributor" means any person or entity that creates or contributes to the creation of Modifications.\ +\ +1.3 "Covered Code" means the Original Code, Modifications, the combination of Original Code and any Modifications, and/or any respective portions thereof.\ +\ +1.4 "Externally Deploy" means: (a) to sublicense, distribute or otherwise make Covered Code available, directly or indirectly, to anyone other than You; and/or (b) to use Covered Code, alone or as part of a Larger Work, in any way to provide a service, including but not limited to delivery of content, through electronic communication with a client other than You.\ +\ +1.5 "Larger Work" means a work which combines Covered Code or portions thereof with code not governed by the terms of this License.\ +\ +1.6 "Modifications" mean any addition to, deletion from, and/or change\ +to, the substance and/or structure of the Original Code, any previous\ +Modifications, the combination of Original Code and any previous\ +Modifications, and/or any respective portions thereof. When code is\ +released as a series of files, a Modification is: (a) any addition to\ +or deletion from the contents of a file containing Covered Code;\ +and/or (b) any new file or other representation of computer program\ +statements that contains any part of Covered Code.\ +\ +1.7 "Original Code" means (a) the Source Code of a program or other\ +work as originally made available by Apple under this License,\ +including the Source Code of any updates or upgrades to such programs\ +or works made available by Apple under this License, and that has been\ +expressly identified by Apple as such in the header file(s) of such\ +work; and (b) the object code compiled from such Source Code and\ +originally made available by Apple under this License.\ +\ +1.8 "Source Code" means the human readable form of a program or other\ +work that is suitable for making modifications to it, including all\ +modules it contains, plus any associated interface definition files,\ +scripts used to control compilation and installation of an executable\ +(object code).\ +\ +1.9 "You" or "Your" means an individual or a legal entity exercising\ +rights under this License. For legal entities, "You" or "Your"\ +includes any entity which controls, is controlled by, or is under\ +common control with, You, where "control" means (a) the power, direct\ +or indirect, to cause the direction or management of such entity,\ +whether by contract or otherwise, or (b) ownership of fifty percent\ +(50%) or more of the outstanding shares or beneficial ownership of\ +such entity.\ +\ +2. Permitted Uses; Conditions & Restrictions. Subject to the terms\ +and conditions of this License, Apple hereby grants You, effective on\ +the date You accept this License and download the Original Code, a\ +world-wide, royalty-free, non-exclusive license, to the extent of\ +Apple's Applicable Patent Rights and copyrights covering the Original\ +Code, to do the following:\ +\ +2.1 Unmodified Code. You may use, reproduce, display, perform,\ +internally distribute within Your organization, and Externally Deploy\ +verbatim, unmodified copies of the Original Code, for commercial or\ +non-commercial purposes, provided that in each instance:\ +\ +(a) You must retain and reproduce in all copies of Original Code the\ +copyright and other proprietary notices and disclaimers of Apple as\ +they appear in the Original Code, and keep intact all notices in the\ +Original Code that refer to this License; and\ +\ +(b) You must include a copy of this License with every copy of Source\ +Code of Covered Code and documentation You distribute or Externally\ +Deploy, and You may not offer or impose any terms on such Source Code\ +that alter or restrict this License or the recipients' rights\ +hereunder, except as permitted under Section 6.\ +\ +2.2 Modified Code. You may modify Covered Code and use, reproduce,\ +display, perform, internally distribute within Your organization, and\ +Externally Deploy Your Modifications and Covered Code, for commercial\ +or non-commercial purposes, provided that in each instance You also\ +meet all of these conditions:\ +\ +(a) You must satisfy all the conditions of Section 2.1 with respect to\ +the Source Code of the Covered Code;\ +\ +(b) You must duplicate, to the extent it does not already exist, the\ +notice in Exhibit A in each file of the Source Code of all Your\ +Modifications, and cause the modified files to carry prominent notices\ +stating that You changed the files and the date of any change; and\ +\ +(c) If You Externally Deploy Your Modifications, You must make\ +Source Code of all Your Externally Deployed Modifications either\ +available to those to whom You have Externally Deployed Your\ +Modifications, or publicly available. Source Code of Your Externally\ +Deployed Modifications must be released under the terms set forth in\ +this License, including the license grants set forth in Section 3\ +below, for as long as you Externally Deploy the Covered Code or twelve\ +(12) months from the date of initial External Deployment, whichever is\ +longer. You should preferably distribute the Source Code of Your\ +Externally Deployed Modifications electronically (e.g. download from a\ +web site).\ +\ +2.3 Distribution of Executable Versions. In addition, if You\ +Externally Deploy Covered Code (Original Code and/or Modifications) in\ +object code, executable form only, You must include a prominent\ +notice, in the code itself as well as in related documentation,\ +stating that Source Code of the Covered Code is available under the\ +terms of this License with information on how and where to obtain such\ +Source Code.\ +\ +2.4 Third Party Rights. You expressly acknowledge and agree that\ +although Apple and each Contributor grants the licenses to their\ +respective portions of the Covered Code set forth herein, no\ +assurances are provided by Apple or any Contributor that the Covered\ +Code does not infringe the patent or other intellectual property\ +rights of any other entity. Apple and each Contributor disclaim any\ +liability to You for claims brought by any other entity based on\ +infringement of intellectual property rights or otherwise. As a\ +condition to exercising the rights and licenses granted hereunder, You\ +hereby assume sole responsibility to secure any other intellectual\ +property rights needed, if any. For example, if a third party patent\ +license is required to allow You to distribute the Covered Code, it is\ +Your responsibility to acquire that license before distributing the\ +Covered Code.\ +\ +3. Your Grants. In consideration of, and as a condition to, the\ +licenses granted to You under this License, You hereby grant to any\ +person or entity receiving or distributing Covered Code under this\ +License a non-exclusive, royalty-free, perpetual, irrevocable license,\ +under Your Applicable Patent Rights and other intellectual property\ +rights (other than patent) owned or controlled by You, to use,\ +reproduce, display, perform, modify, sublicense, distribute and\ +Externally Deploy Your Modifications of the same scope and extent as\ +Apple's licenses under Sections 2.1 and 2.2 above.\ +\ +4. Larger Works. You may create a Larger Work by combining Covered\ +Code with other code not governed by the terms of this License and\ +distribute the Larger Work as a single product. In each such instance,\ +You must make sure the requirements of this License are fulfilled for\ +the Covered Code or any portion thereof.\ +\ +5. Limitations on Patent License. Except as expressly stated in\ +Section 2, no other patent rights, express or implied, are granted by\ +Apple herein. Modifications and/or Larger Works may require additional\ +patent licenses from Apple which Apple may grant in its sole\ +discretion.\ +\ +6. Additional Terms. You may choose to offer, and to charge a fee for,\ +warranty, support, indemnity or liability obligations and/or other\ +rights consistent with the scope of the license granted herein\ +("Additional Terms") to one or more recipients of Covered Code.\ +However, You may do so only on Your own behalf and as Your sole\ +responsibility, and not on behalf of Apple or any Contributor. You\ +must obtain the recipient's agreement that any such Additional Terms\ +are offered by You alone, and You hereby agree to indemnify, defend\ +and hold Apple and every Contributor harmless for any liability\ +incurred by or claims asserted against Apple or such Contributor by\ +reason of any such Additional Terms.\ +\ +7. Versions of the License. Apple may publish revised and/or new\ +versions of this License from time to time. Each version will be given\ +a distinguishing version number. Once Original Code has been published\ +under a particular version of this License, You may continue to use it\ +under the terms of that version. You may also choose to use such\ +Original Code under the terms of any subsequent version of this\ +License published by Apple. No one other than Apple has the right to\ +modify the terms applicable to Covered Code created under this\ +License.\ +\ +8. NO WARRANTY OR SUPPORT. The Covered Code may contain in whole or in\ +part pre-release, untested, or not fully tested works. The Covered\ +Code may contain errors that could cause failures or loss of data, and\ +may be incomplete or contain inaccuracies. You expressly acknowledge\ +and agree that use of the Covered Code, or any portion thereof, is at\ +Your sole and entire risk. THE COVERED CODE IS PROVIDED "AS IS" AND\ +WITHOUT WARRANTY, UPGRADES OR SUPPORT OF ANY KIND AND APPLE AND\ +APPLE'S LICENSOR(S) (COLLECTIVELY REFERRED TO AS "APPLE" FOR THE\ +PURPOSES OF SECTIONS 8 AND 9) AND ALL CONTRIBUTORS EXPRESSLY DISCLAIM\ +ALL WARRANTIES AND/OR CONDITIONS, EXPRESS OR IMPLIED, INCLUDING, BUT\ +NOT LIMITED TO, THE IMPLIED WARRANTIES AND/OR CONDITIONS OF\ +MERCHANTABILITY, OF SATISFACTORY QUALITY, OF FITNESS FOR A PARTICULAR\ +PURPOSE, OF ACCURACY, OF QUIET ENJOYMENT, AND NONINFRINGEMENT OF THIRD\ +PARTY RIGHTS. APPLE AND EACH CONTRIBUTOR DOES NOT WARRANT AGAINST\ +INTERFERENCE WITH YOUR ENJOYMENT OF THE COVERED CODE, THAT THE\ +FUNCTIONS CONTAINED IN THE COVERED CODE WILL MEET YOUR REQUIREMENTS,\ +THAT THE OPERATION OF THE COVERED CODE WILL BE UNINTERRUPTED OR\ +ERROR-FREE, OR THAT DEFECTS IN THE COVERED CODE WILL BE CORRECTED. NO\ +ORAL OR WRITTEN INFORMATION OR ADVICE GIVEN BY APPLE, AN APPLE\ +AUTHORIZED REPRESENTATIVE OR ANY CONTRIBUTOR SHALL CREATE A WARRANTY.\ +You acknowledge that the Covered Code is not intended for use in the\ +operation of nuclear facilities, aircraft navigation, communication\ +systems, or air traffic control machines in which case the failure of\ +the Covered Code could lead to death, personal injury, or severe\ +physical or environmental damage.\ +\ +9. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY LAW, IN NO\ +EVENT SHALL APPLE OR ANY CONTRIBUTOR BE LIABLE FOR ANY INCIDENTAL,\ +SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING\ +TO THIS LICENSE OR YOUR USE OR INABILITY TO USE THE COVERED CODE, OR\ +ANY PORTION THEREOF, WHETHER UNDER A THEORY OF CONTRACT, WARRANTY,\ +TORT (INCLUDING NEGLIGENCE), PRODUCTS LIABILITY OR OTHERWISE, EVEN IF\ +APPLE OR SUCH CONTRIBUTOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\ +DAMAGES AND NOTWITHSTANDING THE FAILURE OF ESSENTIAL PURPOSE OF ANY\ +REMEDY. SOME JURISDICTIONS DO NOT ALLOW THE LIMITATION OF LIABILITY OF\ +INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS LIMITATION MAY NOT APPLY\ +TO YOU. In no event shall Apple's total liability to You for all\ +damages (other than as may be required by applicable law) under this\ +License exceed the amount of fifty dollars ($50.00).\ +\ +10. Trademarks. This License does not grant any rights to use the\ +trademarks or trade names "Apple", "Apple Computer", "Mac", "Mac OS",\ +"QuickTime", "QuickTime Streaming Server" or any other trademarks,\ +service marks, logos or trade names belonging to Apple (collectively\ +"Apple Marks") or to any trademark, service mark, logo or trade name\ +belonging to any Contributor. You agree not to use any Apple Marks in\ +or as part of the name of products derived from the Original Code or\ +to endorse or promote products derived from the Original Code other\ +than as expressly permitted by and in strict compliance at all times\ +with Apple's third party trademark usage guidelines which are posted\ +at http://www.apple.com/legal/guidelinesfor3rdparties.html.\ +\ +11. Ownership. Subject to the licenses granted under this License,\ +each Contributor retains all rights, title and interest in and to any\ +Modifications made by such Contributor. Apple retains all rights,\ +title and interest in and to the Original Code and any Modifications\ +made by or on behalf of Apple ("Apple Modifications"), and such Apple\ +Modifications will not be automatically subject to this License. Apple\ +may, at its sole discretion, choose to license such Apple\ +Modifications under this License, or on different terms from those\ +contained in this License or may choose not to license them at all.\ +\ +12. Termination.\ +\ +12.1 Termination. This License and the rights granted hereunder will\ +terminate:\ +\ +(a) automatically without notice from Apple if You fail to comply with\ +any term(s) of this License and fail to cure such breach within 30\ +days of becoming aware of such breach;\ +\ +(b) immediately in the event of the circumstances described in Section\ +13.5(b); or\ +\ +(c) automatically without notice from Apple if You, at any time during\ +the term of this License, commence an action for patent infringement\ +against Apple; provided that Apple did not first commence\ +an action for patent infringement against You in that instance.\ +\ +12.2 Effect of Termination. Upon termination, You agree to immediately\ +stop any further use, reproduction, modification, sublicensing and\ +distribution of the Covered Code. All sublicenses to the Covered Code\ +which have been properly granted prior to termination shall survive\ +any termination of this License. Provisions which, by their nature,\ +should remain in effect beyond the termination of this License shall\ +survive, including but not limited to Sections 3, 5, 8, 9, 10, 11,\ +12.2 and 13. No party will be liable to any other for compensation,\ +indemnity or damages of any sort solely as a result of terminating\ +this License in accordance with its terms, and termination of this\ +License will be without prejudice to any other right or remedy of\ +any party.\ +\ +13. Miscellaneous.\ +\ +13.1 Government End Users. The Covered Code is a "commercial item" as\ +defined in FAR 2.101. Government software and technical data rights in\ +the Covered Code include only those rights customarily provided to the\ +public as defined in this License. This customary commercial license\ +in technical data and software is provided in accordance with FAR\ +12.211 (Technical Data) and 12.212 (Computer Software) and, for\ +Department of Defense purchases, DFAR 252.227-7015 (Technical Data --\ +Commercial Items) and 227.7202-3 (Rights in Commercial Computer\ +Software or Computer Software Documentation). Accordingly, all U.S.\ +Government End Users acquire Covered Code with only those rights set\ +forth herein.\ +\ +13.2 Relationship of Parties. This License will not be construed as\ +creating an agency, partnership, joint venture or any other form of\ +legal association between or among You, Apple or any Contributor, and\ +You will not represent to the contrary, whether expressly, by\ +implication, appearance or otherwise.\ +\ +13.3 Independent Development. Nothing in this License will impair\ +Apple's right to acquire, license, develop, have others develop for\ +it, market and/or distribute technology or products that perform the\ +same or similar functions as, or otherwise compete with,\ +Modifications, Larger Works, technology or products that You may\ +develop, produce, market or distribute.\ +\ +13.4 Waiver; Construction. Failure by Apple or any Contributor to\ +enforce any provision of this License will not be deemed a waiver of\ +future enforcement of that or any other provision. Any law or\ +regulation which provides that the language of a contract shall be\ +construed against the drafter will not apply to this License.\ +\ +13.5 Severability. (a) If for any reason a court of competent\ +jurisdiction finds any provision of this License, or portion thereof,\ +to be unenforceable, that provision of the License will be enforced to\ +the maximum extent permissible so as to effect the economic benefits\ +and intent of the parties, and the remainder of this License will\ +continue in full force and effect. (b) Notwithstanding the foregoing,\ +if applicable law prohibits or restricts You from fully and/or\ +specifically complying with Sections 2 and/or 3 or prevents the\ +enforceability of either of those Sections, this License will\ +immediately terminate and You must immediately discontinue any use of\ +the Covered Code and destroy all copies of it that are in your\ +possession or control.\ +\ +13.6 Dispute Resolution. Any litigation or other dispute resolution\ +between You and Apple relating to this License shall take place in the\ +Northern District of California, and You and Apple hereby consent to\ +the personal jurisdiction of, and venue in, the state and federal\ +courts within that District with respect to this License. The\ +application of the United Nations Convention on Contracts for the\ +International Sale of Goods is expressly excluded.\ +\ +13.7 Entire Agreement; Governing Law. This License constitutes the\ +entire agreement between the parties with respect to the subject\ +matter hereof. This License shall be governed by the laws of the\ +United States and the State of California, except that body of\ +California law concerning conflicts of law.\ +\ +Where You are located in the province of Quebec, Canada, the following\ +clause applies: The parties hereby confirm that they have requested\ +that this License and all related documents be drafted in English. Les\ +parties ont exige que le present contrat et tous les documents\ +connexes soient rediges en anglais.\ +\ +EXHIBIT A.\ +\ +"Portions Copyright (c) 1999-2003 Apple Computer, Inc. All Rights\ +Reserved.\ +\ +This file contains Original Code and/or Modifications of Original Code\ +as defined in and that are subject to the Apple Public Source License\ +Version 2.0 (the 'License'). You may not use this file except in\ +compliance with the License. Please obtain a copy of the License at\ +http://www.opensource.apple.com/apsl/ and read it before using this\ +file.\ +\ +The Original Code and all software distributed under the License are\ +distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER\ +EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,\ +INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,\ +FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.\ +Please see the License for the specific language governing rights and\ +limitations under the License." } \ No newline at end of file Index: trunk/PackageBuilder/package/Resources/French.lproj/Description.html =================================================================== --- trunk/PackageBuilder/package/Resources/French.lproj/Description.html (revision 0) +++ trunk/PackageBuilder/package/Resources/French.lproj/Description.html (revision 340) @@ -0,0 +1,37 @@ + + + + + + + + + + + +

Chameleon est une conbinaison de différent composants de boot loader.

+

Il est basé sur la "fake EFI" implémentation de David Elliott ajouté au projet  Apple's boot-132.

+


+

Chameleon à été amélioré avec les fonctions clé suivantes:

+


+

Les nouvelles fonctionnalités de Chameleon 2.0

+


+

- Interface graphique entierement customisable pour apporter un peu de couleur au Darwin Bootloader.

+

- Booter un DVD Retail en chargeant directement une image RAMDISK sans l'aide de programmes tierce.

+

- Hibernation:  Appréciez  l'affichage d'un apercu d'écran durant le démarrage  après mise en veille.

+

- SMBIOS override : pour modifier les valeur d'usines du SMBIOS.

+

- DSDT override : Utilisation d'un DSDT modifié pouvant résoudre quelques problemes .

+


+

- Device Property Injection via device-properties string dans boot.plist.

+

- Hybrid boot0 / boot1h pour disque dur partionnés en MBR et GPT .

+

- Détection du FSB automatique , mème pour les CPU AMD récents.

+

- Support du Apple Software RAID .

+


+

Pour des informations plus détaillées , visitez : http://chameleon.osx86.hu

+ + Index: trunk/PackageBuilder/package/Resources/French.lproj/Localizable.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Resources/French.lproj/Localizable.strings ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Resources/French.lproj/Welcome.rtfd/TXT.rtf =================================================================== --- trunk/PackageBuilder/package/Resources/French.lproj/Welcome.rtfd/TXT.rtf (revision 0) +++ trunk/PackageBuilder/package/Resources/French.lproj/Welcome.rtfd/TXT.rtf (revision 340) @@ -0,0 +1,27 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf320 +{\fonttbl\f0\fnil\fcharset0 LucidaGrande;} +{\colortbl;\red255\green255\blue255;\red65\green78\blue255;} +\margl1440\margr1440\vieww11660\viewh12980\viewkind0 +\pard\ri0\qc + +\f0\b\fs72 \cf0 Chameleon +\fs50 \ + +\fs26 v%CHAMELEONVERSION% r%CHAMELEONREVISION% +\fs50 \ +\ +\cf2 %CHAMELEONSTAGE%\cf0 \ +\pard\ri0\ql\qnatural + +\fs26 \cf0 \ +\ +Developeurs: Crazor, Dense, fassl, fxtentacle, iNDi, JrCs, Kabyl, kaitek, mackerintel, mercurysquad, mozodojo, munky, rekursor, Turbo & zef \ +\ +\ +Remerciements : asereBLN, bumby, cosmolt, dfe, Galaxy, kalyway, Krazubu, netkas, sckevyn, smith@@, THeKiNG, XyZ, blackosx\ +\pard\tx360\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural + +\b0\fs30 \cf0 \ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\fs26 \cf0 Copyright \'a9 2010 } \ No newline at end of file Index: trunk/PackageBuilder/package/Resources/French.lproj/Conclusion.rtfd/TXT.rtf =================================================================== --- trunk/PackageBuilder/package/Resources/French.lproj/Conclusion.rtfd/TXT.rtf (revision 0) +++ trunk/PackageBuilder/package/Resources/French.lproj/Conclusion.rtfd/TXT.rtf (revision 340) @@ -0,0 +1,34 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf320 +{\fonttbl\f0\fnil\fcharset0 LucidaGrande;} +{\colortbl;\red255\green255\blue255;\red65\green78\blue255;\red255\green0\blue0;} +\margl1440\margr1440\vieww11660\viewh12980\viewkind0 +\pard\ri0\qc + +\f0\b\fs72 \cf0 Chameleon +\fs50 \ + +\fs26 v%CHAMELEONVERSION% r%CHAMELEONREVISION% +\fs50 \ +\ +\cf2 %CHAMELEONSTAGE%\cf0 \ +\pard\ri0\ql\qnatural + +\fs26 \cf0 \ +\pard\ri0\qc + +\fs50 \cf3 Installation compl\'e8te! +\b0\fs26 \cf0 \ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\fs18 \cf0 \ +{\field{\*\fldinst{HYPERLINK "http://chameleon.osx86.hu/"}}{\fldrslt +\fs26 http://chameleon.osx86.hu/}} +\fs26 \ +{\field{\*\fldinst{HYPERLINK "http://forum.voodooprojects.org/index.php"}}{\fldrslt http://forum.voodooprojects.org/index.php}} +\b \ +\pard\tx360\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural + +\b0\fs30 \cf0 \ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\fs26 \cf0 Copyright \'a9 2010} \ No newline at end of file Index: trunk/PackageBuilder/package/Resources/French.lproj/License.rtf =================================================================== --- trunk/PackageBuilder/package/Resources/French.lproj/License.rtf (revision 0) +++ trunk/PackageBuilder/package/Resources/French.lproj/License.rtf (revision 340) @@ -0,0 +1,350 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf350 +{\fonttbl\f0\fmodern\fcharset0 Courier-Bold;\f1\fmodern\fcharset0 Courier;} +{\colortbl;\red255\green255\blue255;} +\paperw12240\paperh15840\vieww22060\viewh18360\viewkind0 +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\f0\b\fs40 \cf0 APPLE PUBLIC SOURCE LICENSE \ + +\fs26 Version 2.0 - August 6, 2003\ +\ + +\f1\b0 Please read this License carefully before downloading this software. By downloading or using this software, you are agreeing to be bound by the terms of this License. If you do not or cannot agree to the terms of this License, please do not download or use the software.\ +\ +1. General; Definitions. This License applies to any program or other work which Apple Computer, Inc. ("Apple") makes publicly available and which contains a notice placed by Apple identifying such program or work as "Original Code" and stating that it is subject to the terms of this Apple Public Source License version 2.0 ("License"). As used in this License:\ +\ +1.1 "Applicable Patent Rights" mean: (a) in the case where Apple is the grantor of rights, (i) claims of patents that are now or hereafter acquired, owned by or assigned to Apple and (ii) that cover subject matter contained in the Original Code, but only to the extent necessary to use, reproduce and/or distribute the Original Code without infringement; and (b) in the case where You are the grantor of rights, (i) claims of patents that are now or hereafter acquired, owned by or assigned to You and (ii) that cover subject matter in Your Modifications, taken alone or in combination with Original Code.\ +\ +1.2 "Contributor" means any person or entity that creates or contributes to the creation of Modifications.\ +\ +1.3 "Covered Code" means the Original Code, Modifications, the combination of Original Code and any Modifications, and/or any respective portions thereof.\ +\ +1.4 "Externally Deploy" means: (a) to sublicense, distribute or otherwise make Covered Code available, directly or indirectly, to anyone other than You; and/or (b) to use Covered Code, alone or as part of a Larger Work, in any way to provide a service, including but not limited to delivery of content, through electronic communication with a client other than You.\ +\ +1.5 "Larger Work" means a work which combines Covered Code or portions thereof with code not governed by the terms of this License.\ +\ +1.6 "Modifications" mean any addition to, deletion from, and/or change\ +to, the substance and/or structure of the Original Code, any previous\ +Modifications, the combination of Original Code and any previous\ +Modifications, and/or any respective portions thereof. When code is\ +released as a series of files, a Modification is: (a) any addition to\ +or deletion from the contents of a file containing Covered Code;\ +and/or (b) any new file or other representation of computer program\ +statements that contains any part of Covered Code.\ +\ +1.7 "Original Code" means (a) the Source Code of a program or other\ +work as originally made available by Apple under this License,\ +including the Source Code of any updates or upgrades to such programs\ +or works made available by Apple under this License, and that has been\ +expressly identified by Apple as such in the header file(s) of such\ +work; and (b) the object code compiled from such Source Code and\ +originally made available by Apple under this License.\ +\ +1.8 "Source Code" means the human readable form of a program or other\ +work that is suitable for making modifications to it, including all\ +modules it contains, plus any associated interface definition files,\ +scripts used to control compilation and installation of an executable\ +(object code).\ +\ +1.9 "You" or "Your" means an individual or a legal entity exercising\ +rights under this License. For legal entities, "You" or "Your"\ +includes any entity which controls, is controlled by, or is under\ +common control with, You, where "control" means (a) the power, direct\ +or indirect, to cause the direction or management of such entity,\ +whether by contract or otherwise, or (b) ownership of fifty percent\ +(50%) or more of the outstanding shares or beneficial ownership of\ +such entity.\ +\ +2. Permitted Uses; Conditions & Restrictions. Subject to the terms\ +and conditions of this License, Apple hereby grants You, effective on\ +the date You accept this License and download the Original Code, a\ +world-wide, royalty-free, non-exclusive license, to the extent of\ +Apple's Applicable Patent Rights and copyrights covering the Original\ +Code, to do the following:\ +\ +2.1 Unmodified Code. You may use, reproduce, display, perform,\ +internally distribute within Your organization, and Externally Deploy\ +verbatim, unmodified copies of the Original Code, for commercial or\ +non-commercial purposes, provided that in each instance:\ +\ +(a) You must retain and reproduce in all copies of Original Code the\ +copyright and other proprietary notices and disclaimers of Apple as\ +they appear in the Original Code, and keep intact all notices in the\ +Original Code that refer to this License; and\ +\ +(b) You must include a copy of this License with every copy of Source\ +Code of Covered Code and documentation You distribute or Externally\ +Deploy, and You may not offer or impose any terms on such Source Code\ +that alter or restrict this License or the recipients' rights\ +hereunder, except as permitted under Section 6.\ +\ +2.2 Modified Code. You may modify Covered Code and use, reproduce,\ +display, perform, internally distribute within Your organization, and\ +Externally Deploy Your Modifications and Covered Code, for commercial\ +or non-commercial purposes, provided that in each instance You also\ +meet all of these conditions:\ +\ +(a) You must satisfy all the conditions of Section 2.1 with respect to\ +the Source Code of the Covered Code;\ +\ +(b) You must duplicate, to the extent it does not already exist, the\ +notice in Exhibit A in each file of the Source Code of all Your\ +Modifications, and cause the modified files to carry prominent notices\ +stating that You changed the files and the date of any change; and\ +\ +(c) If You Externally Deploy Your Modifications, You must make\ +Source Code of all Your Externally Deployed Modifications either\ +available to those to whom You have Externally Deployed Your\ +Modifications, or publicly available. Source Code of Your Externally\ +Deployed Modifications must be released under the terms set forth in\ +this License, including the license grants set forth in Section 3\ +below, for as long as you Externally Deploy the Covered Code or twelve\ +(12) months from the date of initial External Deployment, whichever is\ +longer. You should preferably distribute the Source Code of Your\ +Externally Deployed Modifications electronically (e.g. download from a\ +web site).\ +\ +2.3 Distribution of Executable Versions. In addition, if You\ +Externally Deploy Covered Code (Original Code and/or Modifications) in\ +object code, executable form only, You must include a prominent\ +notice, in the code itself as well as in related documentation,\ +stating that Source Code of the Covered Code is available under the\ +terms of this License with information on how and where to obtain such\ +Source Code.\ +\ +2.4 Third Party Rights. You expressly acknowledge and agree that\ +although Apple and each Contributor grants the licenses to their\ +respective portions of the Covered Code set forth herein, no\ +assurances are provided by Apple or any Contributor that the Covered\ +Code does not infringe the patent or other intellectual property\ +rights of any other entity. Apple and each Contributor disclaim any\ +liability to You for claims brought by any other entity based on\ +infringement of intellectual property rights or otherwise. As a\ +condition to exercising the rights and licenses granted hereunder, You\ +hereby assume sole responsibility to secure any other intellectual\ +property rights needed, if any. For example, if a third party patent\ +license is required to allow You to distribute the Covered Code, it is\ +Your responsibility to acquire that license before distributing the\ +Covered Code.\ +\ +3. Your Grants. In consideration of, and as a condition to, the\ +licenses granted to You under this License, You hereby grant to any\ +person or entity receiving or distributing Covered Code under this\ +License a non-exclusive, royalty-free, perpetual, irrevocable license,\ +under Your Applicable Patent Rights and other intellectual property\ +rights (other than patent) owned or controlled by You, to use,\ +reproduce, display, perform, modify, sublicense, distribute and\ +Externally Deploy Your Modifications of the same scope and extent as\ +Apple's licenses under Sections 2.1 and 2.2 above.\ +\ +4. Larger Works. You may create a Larger Work by combining Covered\ +Code with other code not governed by the terms of this License and\ +distribute the Larger Work as a single product. In each such instance,\ +You must make sure the requirements of this License are fulfilled for\ +the Covered Code or any portion thereof.\ +\ +5. Limitations on Patent License. Except as expressly stated in\ +Section 2, no other patent rights, express or implied, are granted by\ +Apple herein. Modifications and/or Larger Works may require additional\ +patent licenses from Apple which Apple may grant in its sole\ +discretion.\ +\ +6. Additional Terms. You may choose to offer, and to charge a fee for,\ +warranty, support, indemnity or liability obligations and/or other\ +rights consistent with the scope of the license granted herein\ +("Additional Terms") to one or more recipients of Covered Code.\ +However, You may do so only on Your own behalf and as Your sole\ +responsibility, and not on behalf of Apple or any Contributor. You\ +must obtain the recipient's agreement that any such Additional Terms\ +are offered by You alone, and You hereby agree to indemnify, defend\ +and hold Apple and every Contributor harmless for any liability\ +incurred by or claims asserted against Apple or such Contributor by\ +reason of any such Additional Terms.\ +\ +7. Versions of the License. Apple may publish revised and/or new\ +versions of this License from time to time. Each version will be given\ +a distinguishing version number. Once Original Code has been published\ +under a particular version of this License, You may continue to use it\ +under the terms of that version. You may also choose to use such\ +Original Code under the terms of any subsequent version of this\ +License published by Apple. No one other than Apple has the right to\ +modify the terms applicable to Covered Code created under this\ +License.\ +\ +8. NO WARRANTY OR SUPPORT. The Covered Code may contain in whole or in\ +part pre-release, untested, or not fully tested works. The Covered\ +Code may contain errors that could cause failures or loss of data, and\ +may be incomplete or contain inaccuracies. You expressly acknowledge\ +and agree that use of the Covered Code, or any portion thereof, is at\ +Your sole and entire risk. THE COVERED CODE IS PROVIDED "AS IS" AND\ +WITHOUT WARRANTY, UPGRADES OR SUPPORT OF ANY KIND AND APPLE AND\ +APPLE'S LICENSOR(S) (COLLECTIVELY REFERRED TO AS "APPLE" FOR THE\ +PURPOSES OF SECTIONS 8 AND 9) AND ALL CONTRIBUTORS EXPRESSLY DISCLAIM\ +ALL WARRANTIES AND/OR CONDITIONS, EXPRESS OR IMPLIED, INCLUDING, BUT\ +NOT LIMITED TO, THE IMPLIED WARRANTIES AND/OR CONDITIONS OF\ +MERCHANTABILITY, OF SATISFACTORY QUALITY, OF FITNESS FOR A PARTICULAR\ +PURPOSE, OF ACCURACY, OF QUIET ENJOYMENT, AND NONINFRINGEMENT OF THIRD\ +PARTY RIGHTS. APPLE AND EACH CONTRIBUTOR DOES NOT WARRANT AGAINST\ +INTERFERENCE WITH YOUR ENJOYMENT OF THE COVERED CODE, THAT THE\ +FUNCTIONS CONTAINED IN THE COVERED CODE WILL MEET YOUR REQUIREMENTS,\ +THAT THE OPERATION OF THE COVERED CODE WILL BE UNINTERRUPTED OR\ +ERROR-FREE, OR THAT DEFECTS IN THE COVERED CODE WILL BE CORRECTED. NO\ +ORAL OR WRITTEN INFORMATION OR ADVICE GIVEN BY APPLE, AN APPLE\ +AUTHORIZED REPRESENTATIVE OR ANY CONTRIBUTOR SHALL CREATE A WARRANTY.\ +You acknowledge that the Covered Code is not intended for use in the\ +operation of nuclear facilities, aircraft navigation, communication\ +systems, or air traffic control machines in which case the failure of\ +the Covered Code could lead to death, personal injury, or severe\ +physical or environmental damage.\ +\ +9. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY LAW, IN NO\ +EVENT SHALL APPLE OR ANY CONTRIBUTOR BE LIABLE FOR ANY INCIDENTAL,\ +SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING\ +TO THIS LICENSE OR YOUR USE OR INABILITY TO USE THE COVERED CODE, OR\ +ANY PORTION THEREOF, WHETHER UNDER A THEORY OF CONTRACT, WARRANTY,\ +TORT (INCLUDING NEGLIGENCE), PRODUCTS LIABILITY OR OTHERWISE, EVEN IF\ +APPLE OR SUCH CONTRIBUTOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\ +DAMAGES AND NOTWITHSTANDING THE FAILURE OF ESSENTIAL PURPOSE OF ANY\ +REMEDY. SOME JURISDICTIONS DO NOT ALLOW THE LIMITATION OF LIABILITY OF\ +INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS LIMITATION MAY NOT APPLY\ +TO YOU. In no event shall Apple's total liability to You for all\ +damages (other than as may be required by applicable law) under this\ +License exceed the amount of fifty dollars ($50.00).\ +\ +10. Trademarks. This License does not grant any rights to use the\ +trademarks or trade names "Apple", "Apple Computer", "Mac", "Mac OS",\ +"QuickTime", "QuickTime Streaming Server" or any other trademarks,\ +service marks, logos or trade names belonging to Apple (collectively\ +"Apple Marks") or to any trademark, service mark, logo or trade name\ +belonging to any Contributor. You agree not to use any Apple Marks in\ +or as part of the name of products derived from the Original Code or\ +to endorse or promote products derived from the Original Code other\ +than as expressly permitted by and in strict compliance at all times\ +with Apple's third party trademark usage guidelines which are posted\ +at http://www.apple.com/legal/guidelinesfor3rdparties.html.\ +\ +11. Ownership. Subject to the licenses granted under this License,\ +each Contributor retains all rights, title and interest in and to any\ +Modifications made by such Contributor. Apple retains all rights,\ +title and interest in and to the Original Code and any Modifications\ +made by or on behalf of Apple ("Apple Modifications"), and such Apple\ +Modifications will not be automatically subject to this License. Apple\ +may, at its sole discretion, choose to license such Apple\ +Modifications under this License, or on different terms from those\ +contained in this License or may choose not to license them at all.\ +\ +12. Termination.\ +\ +12.1 Termination. This License and the rights granted hereunder will\ +terminate:\ +\ +(a) automatically without notice from Apple if You fail to comply with\ +any term(s) of this License and fail to cure such breach within 30\ +days of becoming aware of such breach;\ +\ +(b) immediately in the event of the circumstances described in Section\ +13.5(b); or\ +\ +(c) automatically without notice from Apple if You, at any time during\ +the term of this License, commence an action for patent infringement\ +against Apple; provided that Apple did not first commence\ +an action for patent infringement against You in that instance.\ +\ +12.2 Effect of Termination. Upon termination, You agree to immediately\ +stop any further use, reproduction, modification, sublicensing and\ +distribution of the Covered Code. All sublicenses to the Covered Code\ +which have been properly granted prior to termination shall survive\ +any termination of this License. Provisions which, by their nature,\ +should remain in effect beyond the termination of this License shall\ +survive, including but not limited to Sections 3, 5, 8, 9, 10, 11,\ +12.2 and 13. No party will be liable to any other for compensation,\ +indemnity or damages of any sort solely as a result of terminating\ +this License in accordance with its terms, and termination of this\ +License will be without prejudice to any other right or remedy of\ +any party.\ +\ +13. Miscellaneous.\ +\ +13.1 Government End Users. The Covered Code is a "commercial item" as\ +defined in FAR 2.101. Government software and technical data rights in\ +the Covered Code include only those rights customarily provided to the\ +public as defined in this License. This customary commercial license\ +in technical data and software is provided in accordance with FAR\ +12.211 (Technical Data) and 12.212 (Computer Software) and, for\ +Department of Defense purchases, DFAR 252.227-7015 (Technical Data --\ +Commercial Items) and 227.7202-3 (Rights in Commercial Computer\ +Software or Computer Software Documentation). Accordingly, all U.S.\ +Government End Users acquire Covered Code with only those rights set\ +forth herein.\ +\ +13.2 Relationship of Parties. This License will not be construed as\ +creating an agency, partnership, joint venture or any other form of\ +legal association between or among You, Apple or any Contributor, and\ +You will not represent to the contrary, whether expressly, by\ +implication, appearance or otherwise.\ +\ +13.3 Independent Development. Nothing in this License will impair\ +Apple's right to acquire, license, develop, have others develop for\ +it, market and/or distribute technology or products that perform the\ +same or similar functions as, or otherwise compete with,\ +Modifications, Larger Works, technology or products that You may\ +develop, produce, market or distribute.\ +\ +13.4 Waiver; Construction. Failure by Apple or any Contributor to\ +enforce any provision of this License will not be deemed a waiver of\ +future enforcement of that or any other provision. Any law or\ +regulation which provides that the language of a contract shall be\ +construed against the drafter will not apply to this License.\ +\ +13.5 Severability. (a) If for any reason a court of competent\ +jurisdiction finds any provision of this License, or portion thereof,\ +to be unenforceable, that provision of the License will be enforced to\ +the maximum extent permissible so as to effect the economic benefits\ +and intent of the parties, and the remainder of this License will\ +continue in full force and effect. (b) Notwithstanding the foregoing,\ +if applicable law prohibits or restricts You from fully and/or\ +specifically complying with Sections 2 and/or 3 or prevents the\ +enforceability of either of those Sections, this License will\ +immediately terminate and You must immediately discontinue any use of\ +the Covered Code and destroy all copies of it that are in your\ +possession or control.\ +\ +13.6 Dispute Resolution. Any litigation or other dispute resolution\ +between You and Apple relating to this License shall take place in the\ +Northern District of California, and You and Apple hereby consent to\ +the personal jurisdiction of, and venue in, the state and federal\ +courts within that District with respect to this License. The\ +application of the United Nations Convention on Contracts for the\ +International Sale of Goods is expressly excluded.\ +\ +13.7 Entire Agreement; Governing Law. This License constitutes the\ +entire agreement between the parties with respect to the subject\ +matter hereof. This License shall be governed by the laws of the\ +United States and the State of California, except that body of\ +California law concerning conflicts of law.\ +\ +Where You are located in the province of Quebec, Canada, the following\ +clause applies: The parties hereby confirm that they have requested\ +that this License and all related documents be drafted in English. Les\ +parties ont exige que le present contrat et tous les documents\ +connexes soient rediges en anglais.\ +\ +EXHIBIT A.\ +\ +"Portions Copyright (c) 1999-2003 Apple Computer, Inc. All Rights\ +Reserved.\ +\ +This file contains Original Code and/or Modifications of Original Code\ +as defined in and that are subject to the Apple Public Source License\ +Version 2.0 (the 'License'). You may not use this file except in\ +compliance with the License. Please obtain a copy of the License at\ +http://www.opensource.apple.com/apsl/ and read it before using this\ +file.\ +\ +The Original Code and all software distributed under the License are\ +distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER\ +EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,\ +INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,\ +FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.\ +Please see the License for the specific language governing rights and\ +limitations under the License." } \ No newline at end of file Index: trunk/PackageBuilder/package/Resources/Spanish.lproj/Description.html =================================================================== --- trunk/PackageBuilder/package/Resources/Spanish.lproj/Description.html (revision 0) +++ trunk/PackageBuilder/package/Resources/Spanish.lproj/Description.html (revision 340) @@ -0,0 +1,35 @@ + + + + + + + + + + + +

Camaleón es la combinación de varios  boot loader componentes.
+Esta basado en la implementación EFI falsa de David Elliott agregada al proyecto boot-132 de Apple.
+Camaleón esta extendido con las siguientes caracteristicas:

+


+

Adicionales en Camaleón 2.0

+


+

- GUI  totalmente personalizado para brindarle algo de color al Dawin Bootloader.

+

- Booting DVDs con simplemente cargar una imagen ramdisk sin la ayuda de programas adicionales.

+

- Hibernación. Disfrute reanudar su MAC OS X con una imagen de muestra.

+

- SMBIOS anulado para modificar la fabrica SMBIOS valores.

+

- DSDT anulado para usar un DSDT modificado y arreglado capaz de resolver varios inconvenientes.

+


+

- Injeccion Propiedades del Dispositivo por la cuerda Propiedades del Dispositivo.

+

- Hibrido boot0 / boot1h para discos MBR y GPT divididos.

+

- Codigo de detección FSB automatico para CPUs AMD recientes..

+

- Ayuda RAID para software Apple.

+


+

Para información mas detallada, visitar : http://chameleon.osx86.hu

+ + Index: trunk/PackageBuilder/package/Resources/Spanish.lproj/Localizable.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Resources/Spanish.lproj/Localizable.strings ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Resources/Spanish.lproj/Welcome.rtfd/TXT.rtf =================================================================== --- trunk/PackageBuilder/package/Resources/Spanish.lproj/Welcome.rtfd/TXT.rtf (revision 0) +++ trunk/PackageBuilder/package/Resources/Spanish.lproj/Welcome.rtfd/TXT.rtf (revision 340) @@ -0,0 +1,25 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf320 +{\fonttbl\f0\fnil\fcharset0 LucidaGrande;} +{\colortbl;\red255\green255\blue255;\red65\green78\blue255;} +\margl1440\margr1440\vieww13160\viewh11700\viewkind0 +\pard\ri0\qc + +\f0\b\fs72 \cf0 Chameleon +\fs50 \ + +\fs26 v%CHAMELEONVERSION% r%CHAMELEONREVISION% +\fs50 \ +\ +\cf2 %CHAMELEONSTAGE%\ +\cf0 \ +\pard\ri0\ql\qnatural + +\fs26 \cf0 Programadores: Crazor, Dense, fassl, fxtentacle, iNDi, JrCs, Kabyl, kaitek, mackerintel, mercurysquad, mozodojo, munky, rekursor, Turbo & zef \ +\ +Gracias's a : asereBLN, bumby, cosmolt, dfe, Galaxy, kalyway, Krazubu, netkas, sckevyn, smith@@, THeKiNG, XyZ, blackosx +\b0\fs30 \ +\pard\tx360\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural +\cf0 \ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\fs26 \cf0 Copyright \'a9 2010} \ No newline at end of file Index: trunk/PackageBuilder/package/Resources/Spanish.lproj/Conclusion.rtfd/TXT.rtf =================================================================== --- trunk/PackageBuilder/package/Resources/Spanish.lproj/Conclusion.rtfd/TXT.rtf (revision 0) +++ trunk/PackageBuilder/package/Resources/Spanish.lproj/Conclusion.rtfd/TXT.rtf (revision 340) @@ -0,0 +1,34 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf320 +{\fonttbl\f0\fnil\fcharset0 LucidaGrande;} +{\colortbl;\red255\green255\blue255;\red65\green78\blue255;\red255\green0\blue0;} +\margl1440\margr1440\vieww11660\viewh12980\viewkind0 +\pard\ri0\qc + +\f0\b\fs72 \cf0 Chameleon +\fs50 \ + +\fs26 v%CHAMELEONVERSION% r%CHAMELEONREVISION% +\fs50 \ +\ +\cf2 %CHAMELEONSTAGE%\cf0 \ +\pard\ri0\ql\qnatural + +\fs26 \cf0 \ +\pard\ri0\qc + +\fs50 \cf3 Instalaci\'f3n completa! +\b0\fs26 \cf0 \ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\fs18 \cf0 \ +{\field{\*\fldinst{HYPERLINK "http://chameleon.osx86.hu/"}}{\fldrslt +\fs26 http://chameleon.osx86.hu/}} +\fs26 \ +{\field{\*\fldinst{HYPERLINK "http://forum.voodooprojects.org/index.php"}}{\fldrslt http://forum.voodooprojects.org/index.php}} +\b \ +\pard\tx360\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural + +\b0\fs30 \cf0 \ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\fs26 \cf0 Copyright \'a9 2010} \ No newline at end of file Index: trunk/PackageBuilder/package/Resources/Spanish.lproj/License.rtf =================================================================== --- trunk/PackageBuilder/package/Resources/Spanish.lproj/License.rtf (revision 0) +++ trunk/PackageBuilder/package/Resources/Spanish.lproj/License.rtf (revision 340) @@ -0,0 +1,350 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf350 +{\fonttbl\f0\fmodern\fcharset0 Courier-Bold;\f1\fmodern\fcharset0 Courier;} +{\colortbl;\red255\green255\blue255;} +\paperw12240\paperh15840\vieww22060\viewh18360\viewkind0 +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\f0\b\fs40 \cf0 APPLE PUBLIC SOURCE LICENSE \ + +\fs26 Version 2.0 - August 6, 2003\ +\ + +\f1\b0 Please read this License carefully before downloading this software. By downloading or using this software, you are agreeing to be bound by the terms of this License. If you do not or cannot agree to the terms of this License, please do not download or use the software.\ +\ +1. General; Definitions. This License applies to any program or other work which Apple Computer, Inc. ("Apple") makes publicly available and which contains a notice placed by Apple identifying such program or work as "Original Code" and stating that it is subject to the terms of this Apple Public Source License version 2.0 ("License"). As used in this License:\ +\ +1.1 "Applicable Patent Rights" mean: (a) in the case where Apple is the grantor of rights, (i) claims of patents that are now or hereafter acquired, owned by or assigned to Apple and (ii) that cover subject matter contained in the Original Code, but only to the extent necessary to use, reproduce and/or distribute the Original Code without infringement; and (b) in the case where You are the grantor of rights, (i) claims of patents that are now or hereafter acquired, owned by or assigned to You and (ii) that cover subject matter in Your Modifications, taken alone or in combination with Original Code.\ +\ +1.2 "Contributor" means any person or entity that creates or contributes to the creation of Modifications.\ +\ +1.3 "Covered Code" means the Original Code, Modifications, the combination of Original Code and any Modifications, and/or any respective portions thereof.\ +\ +1.4 "Externally Deploy" means: (a) to sublicense, distribute or otherwise make Covered Code available, directly or indirectly, to anyone other than You; and/or (b) to use Covered Code, alone or as part of a Larger Work, in any way to provide a service, including but not limited to delivery of content, through electronic communication with a client other than You.\ +\ +1.5 "Larger Work" means a work which combines Covered Code or portions thereof with code not governed by the terms of this License.\ +\ +1.6 "Modifications" mean any addition to, deletion from, and/or change\ +to, the substance and/or structure of the Original Code, any previous\ +Modifications, the combination of Original Code and any previous\ +Modifications, and/or any respective portions thereof. When code is\ +released as a series of files, a Modification is: (a) any addition to\ +or deletion from the contents of a file containing Covered Code;\ +and/or (b) any new file or other representation of computer program\ +statements that contains any part of Covered Code.\ +\ +1.7 "Original Code" means (a) the Source Code of a program or other\ +work as originally made available by Apple under this License,\ +including the Source Code of any updates or upgrades to such programs\ +or works made available by Apple under this License, and that has been\ +expressly identified by Apple as such in the header file(s) of such\ +work; and (b) the object code compiled from such Source Code and\ +originally made available by Apple under this License.\ +\ +1.8 "Source Code" means the human readable form of a program or other\ +work that is suitable for making modifications to it, including all\ +modules it contains, plus any associated interface definition files,\ +scripts used to control compilation and installation of an executable\ +(object code).\ +\ +1.9 "You" or "Your" means an individual or a legal entity exercising\ +rights under this License. For legal entities, "You" or "Your"\ +includes any entity which controls, is controlled by, or is under\ +common control with, You, where "control" means (a) the power, direct\ +or indirect, to cause the direction or management of such entity,\ +whether by contract or otherwise, or (b) ownership of fifty percent\ +(50%) or more of the outstanding shares or beneficial ownership of\ +such entity.\ +\ +2. Permitted Uses; Conditions & Restrictions. Subject to the terms\ +and conditions of this License, Apple hereby grants You, effective on\ +the date You accept this License and download the Original Code, a\ +world-wide, royalty-free, non-exclusive license, to the extent of\ +Apple's Applicable Patent Rights and copyrights covering the Original\ +Code, to do the following:\ +\ +2.1 Unmodified Code. You may use, reproduce, display, perform,\ +internally distribute within Your organization, and Externally Deploy\ +verbatim, unmodified copies of the Original Code, for commercial or\ +non-commercial purposes, provided that in each instance:\ +\ +(a) You must retain and reproduce in all copies of Original Code the\ +copyright and other proprietary notices and disclaimers of Apple as\ +they appear in the Original Code, and keep intact all notices in the\ +Original Code that refer to this License; and\ +\ +(b) You must include a copy of this License with every copy of Source\ +Code of Covered Code and documentation You distribute or Externally\ +Deploy, and You may not offer or impose any terms on such Source Code\ +that alter or restrict this License or the recipients' rights\ +hereunder, except as permitted under Section 6.\ +\ +2.2 Modified Code. You may modify Covered Code and use, reproduce,\ +display, perform, internally distribute within Your organization, and\ +Externally Deploy Your Modifications and Covered Code, for commercial\ +or non-commercial purposes, provided that in each instance You also\ +meet all of these conditions:\ +\ +(a) You must satisfy all the conditions of Section 2.1 with respect to\ +the Source Code of the Covered Code;\ +\ +(b) You must duplicate, to the extent it does not already exist, the\ +notice in Exhibit A in each file of the Source Code of all Your\ +Modifications, and cause the modified files to carry prominent notices\ +stating that You changed the files and the date of any change; and\ +\ +(c) If You Externally Deploy Your Modifications, You must make\ +Source Code of all Your Externally Deployed Modifications either\ +available to those to whom You have Externally Deployed Your\ +Modifications, or publicly available. Source Code of Your Externally\ +Deployed Modifications must be released under the terms set forth in\ +this License, including the license grants set forth in Section 3\ +below, for as long as you Externally Deploy the Covered Code or twelve\ +(12) months from the date of initial External Deployment, whichever is\ +longer. You should preferably distribute the Source Code of Your\ +Externally Deployed Modifications electronically (e.g. download from a\ +web site).\ +\ +2.3 Distribution of Executable Versions. In addition, if You\ +Externally Deploy Covered Code (Original Code and/or Modifications) in\ +object code, executable form only, You must include a prominent\ +notice, in the code itself as well as in related documentation,\ +stating that Source Code of the Covered Code is available under the\ +terms of this License with information on how and where to obtain such\ +Source Code.\ +\ +2.4 Third Party Rights. You expressly acknowledge and agree that\ +although Apple and each Contributor grants the licenses to their\ +respective portions of the Covered Code set forth herein, no\ +assurances are provided by Apple or any Contributor that the Covered\ +Code does not infringe the patent or other intellectual property\ +rights of any other entity. Apple and each Contributor disclaim any\ +liability to You for claims brought by any other entity based on\ +infringement of intellectual property rights or otherwise. As a\ +condition to exercising the rights and licenses granted hereunder, You\ +hereby assume sole responsibility to secure any other intellectual\ +property rights needed, if any. For example, if a third party patent\ +license is required to allow You to distribute the Covered Code, it is\ +Your responsibility to acquire that license before distributing the\ +Covered Code.\ +\ +3. Your Grants. In consideration of, and as a condition to, the\ +licenses granted to You under this License, You hereby grant to any\ +person or entity receiving or distributing Covered Code under this\ +License a non-exclusive, royalty-free, perpetual, irrevocable license,\ +under Your Applicable Patent Rights and other intellectual property\ +rights (other than patent) owned or controlled by You, to use,\ +reproduce, display, perform, modify, sublicense, distribute and\ +Externally Deploy Your Modifications of the same scope and extent as\ +Apple's licenses under Sections 2.1 and 2.2 above.\ +\ +4. Larger Works. You may create a Larger Work by combining Covered\ +Code with other code not governed by the terms of this License and\ +distribute the Larger Work as a single product. In each such instance,\ +You must make sure the requirements of this License are fulfilled for\ +the Covered Code or any portion thereof.\ +\ +5. Limitations on Patent License. Except as expressly stated in\ +Section 2, no other patent rights, express or implied, are granted by\ +Apple herein. Modifications and/or Larger Works may require additional\ +patent licenses from Apple which Apple may grant in its sole\ +discretion.\ +\ +6. Additional Terms. You may choose to offer, and to charge a fee for,\ +warranty, support, indemnity or liability obligations and/or other\ +rights consistent with the scope of the license granted herein\ +("Additional Terms") to one or more recipients of Covered Code.\ +However, You may do so only on Your own behalf and as Your sole\ +responsibility, and not on behalf of Apple or any Contributor. You\ +must obtain the recipient's agreement that any such Additional Terms\ +are offered by You alone, and You hereby agree to indemnify, defend\ +and hold Apple and every Contributor harmless for any liability\ +incurred by or claims asserted against Apple or such Contributor by\ +reason of any such Additional Terms.\ +\ +7. Versions of the License. Apple may publish revised and/or new\ +versions of this License from time to time. Each version will be given\ +a distinguishing version number. Once Original Code has been published\ +under a particular version of this License, You may continue to use it\ +under the terms of that version. You may also choose to use such\ +Original Code under the terms of any subsequent version of this\ +License published by Apple. No one other than Apple has the right to\ +modify the terms applicable to Covered Code created under this\ +License.\ +\ +8. NO WARRANTY OR SUPPORT. The Covered Code may contain in whole or in\ +part pre-release, untested, or not fully tested works. The Covered\ +Code may contain errors that could cause failures or loss of data, and\ +may be incomplete or contain inaccuracies. You expressly acknowledge\ +and agree that use of the Covered Code, or any portion thereof, is at\ +Your sole and entire risk. THE COVERED CODE IS PROVIDED "AS IS" AND\ +WITHOUT WARRANTY, UPGRADES OR SUPPORT OF ANY KIND AND APPLE AND\ +APPLE'S LICENSOR(S) (COLLECTIVELY REFERRED TO AS "APPLE" FOR THE\ +PURPOSES OF SECTIONS 8 AND 9) AND ALL CONTRIBUTORS EXPRESSLY DISCLAIM\ +ALL WARRANTIES AND/OR CONDITIONS, EXPRESS OR IMPLIED, INCLUDING, BUT\ +NOT LIMITED TO, THE IMPLIED WARRANTIES AND/OR CONDITIONS OF\ +MERCHANTABILITY, OF SATISFACTORY QUALITY, OF FITNESS FOR A PARTICULAR\ +PURPOSE, OF ACCURACY, OF QUIET ENJOYMENT, AND NONINFRINGEMENT OF THIRD\ +PARTY RIGHTS. APPLE AND EACH CONTRIBUTOR DOES NOT WARRANT AGAINST\ +INTERFERENCE WITH YOUR ENJOYMENT OF THE COVERED CODE, THAT THE\ +FUNCTIONS CONTAINED IN THE COVERED CODE WILL MEET YOUR REQUIREMENTS,\ +THAT THE OPERATION OF THE COVERED CODE WILL BE UNINTERRUPTED OR\ +ERROR-FREE, OR THAT DEFECTS IN THE COVERED CODE WILL BE CORRECTED. NO\ +ORAL OR WRITTEN INFORMATION OR ADVICE GIVEN BY APPLE, AN APPLE\ +AUTHORIZED REPRESENTATIVE OR ANY CONTRIBUTOR SHALL CREATE A WARRANTY.\ +You acknowledge that the Covered Code is not intended for use in the\ +operation of nuclear facilities, aircraft navigation, communication\ +systems, or air traffic control machines in which case the failure of\ +the Covered Code could lead to death, personal injury, or severe\ +physical or environmental damage.\ +\ +9. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY LAW, IN NO\ +EVENT SHALL APPLE OR ANY CONTRIBUTOR BE LIABLE FOR ANY INCIDENTAL,\ +SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING\ +TO THIS LICENSE OR YOUR USE OR INABILITY TO USE THE COVERED CODE, OR\ +ANY PORTION THEREOF, WHETHER UNDER A THEORY OF CONTRACT, WARRANTY,\ +TORT (INCLUDING NEGLIGENCE), PRODUCTS LIABILITY OR OTHERWISE, EVEN IF\ +APPLE OR SUCH CONTRIBUTOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\ +DAMAGES AND NOTWITHSTANDING THE FAILURE OF ESSENTIAL PURPOSE OF ANY\ +REMEDY. SOME JURISDICTIONS DO NOT ALLOW THE LIMITATION OF LIABILITY OF\ +INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS LIMITATION MAY NOT APPLY\ +TO YOU. In no event shall Apple's total liability to You for all\ +damages (other than as may be required by applicable law) under this\ +License exceed the amount of fifty dollars ($50.00).\ +\ +10. Trademarks. This License does not grant any rights to use the\ +trademarks or trade names "Apple", "Apple Computer", "Mac", "Mac OS",\ +"QuickTime", "QuickTime Streaming Server" or any other trademarks,\ +service marks, logos or trade names belonging to Apple (collectively\ +"Apple Marks") or to any trademark, service mark, logo or trade name\ +belonging to any Contributor. You agree not to use any Apple Marks in\ +or as part of the name of products derived from the Original Code or\ +to endorse or promote products derived from the Original Code other\ +than as expressly permitted by and in strict compliance at all times\ +with Apple's third party trademark usage guidelines which are posted\ +at http://www.apple.com/legal/guidelinesfor3rdparties.html.\ +\ +11. Ownership. Subject to the licenses granted under this License,\ +each Contributor retains all rights, title and interest in and to any\ +Modifications made by such Contributor. Apple retains all rights,\ +title and interest in and to the Original Code and any Modifications\ +made by or on behalf of Apple ("Apple Modifications"), and such Apple\ +Modifications will not be automatically subject to this License. Apple\ +may, at its sole discretion, choose to license such Apple\ +Modifications under this License, or on different terms from those\ +contained in this License or may choose not to license them at all.\ +\ +12. Termination.\ +\ +12.1 Termination. This License and the rights granted hereunder will\ +terminate:\ +\ +(a) automatically without notice from Apple if You fail to comply with\ +any term(s) of this License and fail to cure such breach within 30\ +days of becoming aware of such breach;\ +\ +(b) immediately in the event of the circumstances described in Section\ +13.5(b); or\ +\ +(c) automatically without notice from Apple if You, at any time during\ +the term of this License, commence an action for patent infringement\ +against Apple; provided that Apple did not first commence\ +an action for patent infringement against You in that instance.\ +\ +12.2 Effect of Termination. Upon termination, You agree to immediately\ +stop any further use, reproduction, modification, sublicensing and\ +distribution of the Covered Code. All sublicenses to the Covered Code\ +which have been properly granted prior to termination shall survive\ +any termination of this License. Provisions which, by their nature,\ +should remain in effect beyond the termination of this License shall\ +survive, including but not limited to Sections 3, 5, 8, 9, 10, 11,\ +12.2 and 13. No party will be liable to any other for compensation,\ +indemnity or damages of any sort solely as a result of terminating\ +this License in accordance with its terms, and termination of this\ +License will be without prejudice to any other right or remedy of\ +any party.\ +\ +13. Miscellaneous.\ +\ +13.1 Government End Users. The Covered Code is a "commercial item" as\ +defined in FAR 2.101. Government software and technical data rights in\ +the Covered Code include only those rights customarily provided to the\ +public as defined in this License. This customary commercial license\ +in technical data and software is provided in accordance with FAR\ +12.211 (Technical Data) and 12.212 (Computer Software) and, for\ +Department of Defense purchases, DFAR 252.227-7015 (Technical Data --\ +Commercial Items) and 227.7202-3 (Rights in Commercial Computer\ +Software or Computer Software Documentation). Accordingly, all U.S.\ +Government End Users acquire Covered Code with only those rights set\ +forth herein.\ +\ +13.2 Relationship of Parties. This License will not be construed as\ +creating an agency, partnership, joint venture or any other form of\ +legal association between or among You, Apple or any Contributor, and\ +You will not represent to the contrary, whether expressly, by\ +implication, appearance or otherwise.\ +\ +13.3 Independent Development. Nothing in this License will impair\ +Apple's right to acquire, license, develop, have others develop for\ +it, market and/or distribute technology or products that perform the\ +same or similar functions as, or otherwise compete with,\ +Modifications, Larger Works, technology or products that You may\ +develop, produce, market or distribute.\ +\ +13.4 Waiver; Construction. Failure by Apple or any Contributor to\ +enforce any provision of this License will not be deemed a waiver of\ +future enforcement of that or any other provision. Any law or\ +regulation which provides that the language of a contract shall be\ +construed against the drafter will not apply to this License.\ +\ +13.5 Severability. (a) If for any reason a court of competent\ +jurisdiction finds any provision of this License, or portion thereof,\ +to be unenforceable, that provision of the License will be enforced to\ +the maximum extent permissible so as to effect the economic benefits\ +and intent of the parties, and the remainder of this License will\ +continue in full force and effect. (b) Notwithstanding the foregoing,\ +if applicable law prohibits or restricts You from fully and/or\ +specifically complying with Sections 2 and/or 3 or prevents the\ +enforceability of either of those Sections, this License will\ +immediately terminate and You must immediately discontinue any use of\ +the Covered Code and destroy all copies of it that are in your\ +possession or control.\ +\ +13.6 Dispute Resolution. Any litigation or other dispute resolution\ +between You and Apple relating to this License shall take place in the\ +Northern District of California, and You and Apple hereby consent to\ +the personal jurisdiction of, and venue in, the state and federal\ +courts within that District with respect to this License. The\ +application of the United Nations Convention on Contracts for the\ +International Sale of Goods is expressly excluded.\ +\ +13.7 Entire Agreement; Governing Law. This License constitutes the\ +entire agreement between the parties with respect to the subject\ +matter hereof. This License shall be governed by the laws of the\ +United States and the State of California, except that body of\ +California law concerning conflicts of law.\ +\ +Where You are located in the province of Quebec, Canada, the following\ +clause applies: The parties hereby confirm that they have requested\ +that this License and all related documents be drafted in English. Les\ +parties ont exige que le present contrat et tous les documents\ +connexes soient rediges en anglais.\ +\ +EXHIBIT A.\ +\ +"Portions Copyright (c) 1999-2003 Apple Computer, Inc. All Rights\ +Reserved.\ +\ +This file contains Original Code and/or Modifications of Original Code\ +as defined in and that are subject to the Apple Public Source License\ +Version 2.0 (the 'License'). You may not use this file except in\ +compliance with the License. Please obtain a copy of the License at\ +http://www.opensource.apple.com/apsl/ and read it before using this\ +file.\ +\ +The Original Code and all software distributed under the License are\ +distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER\ +EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,\ +INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,\ +FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.\ +Please see the License for the specific language governing rights and\ +limitations under the License." } \ No newline at end of file Index: trunk/PackageBuilder/package/Resources/English.lproj/Description.html =================================================================== --- trunk/PackageBuilder/package/Resources/English.lproj/Description.html (revision 0) +++ trunk/PackageBuilder/package/Resources/English.lproj/Description.html (revision 340) @@ -0,0 +1,29 @@ + + + + + + + + + +

Chameleon is combination of various boot loader components.
It is based on David Elliott's fake EFI implementation added to Apple's boot-132 project.
Chameleon is extended with the following key features:

+
+

New features in Chameleon 2.0

+
+

- Fully customizable GUI to bring some color to the Darwin Bootloader.

+

- Booting retail DVDs by directly loading a ramdisk image without help of additional programs.

+

- Hibernation. Enjoy resuming your Mac OS X with a preview image.

+

- SMBIOS override to modify the factory SMBIOS values.

+

- DSDT override to use a modified fixed DSDT which can solve several issues.

+
+

- Device Property Injection via device-properties string.

+

- hybrid boot0 / boot1h for MBR and GPT partitioned disks.

+

- automatic FSB detection code even for recent AMD CPUs.

+

- Apple Software RAID support.

+
+

For detailed information, visit : http://chameleon.osx86.hu

+ + Index: trunk/PackageBuilder/package/Resources/English.lproj/Localizable.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Resources/English.lproj/Localizable.strings ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Resources/English.lproj/Welcome.rtfd/TXT.rtf =================================================================== --- trunk/PackageBuilder/package/Resources/English.lproj/Welcome.rtfd/TXT.rtf (revision 0) +++ trunk/PackageBuilder/package/Resources/English.lproj/Welcome.rtfd/TXT.rtf (revision 340) @@ -0,0 +1,26 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf320 +{\fonttbl\f0\fnil\fcharset0 LucidaGrande;} +{\colortbl;\red255\green255\blue255;\red65\green78\blue255;} +\margl1440\margr1440\vieww11660\viewh12980\viewkind0 +\pard\ri0\qc + +\f0\b\fs72 \cf0 Chameleon +\fs50 \ + +\fs26 v%CHAMELEONVERSION% r%CHAMELEONREVISION% +\fs50 \ +\ +\cf2 %CHAMELEONSTAGE% +\fs26 \cf0 \ +\pard\ri0\ql\qnatural +\cf0 \ +Developers: Crazor, Dense, fassl, fxtentacle, iNDi, JrCs, Kabyl, kaitek, mackerintel, mercurysquad, mozodojo, munky, rekursor, Turbo & zef \ +\ +\ +Thanks to : asereBLN, bumby, cosmolt, dfe, Galaxy, kalyway, Krazubu, netkas, sckevyn, smith@@, THeKiNG, XyZ, blackosx\ +\pard\tx360\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural + +\b0\fs30 \cf0 \ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\fs26 \cf0 Copyright \'a9 2010} \ No newline at end of file Index: trunk/PackageBuilder/package/Resources/English.lproj/Conclusion.rtfd/TXT.rtf =================================================================== --- trunk/PackageBuilder/package/Resources/English.lproj/Conclusion.rtfd/TXT.rtf (revision 0) +++ trunk/PackageBuilder/package/Resources/English.lproj/Conclusion.rtfd/TXT.rtf (revision 340) @@ -0,0 +1,34 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf320 +{\fonttbl\f0\fnil\fcharset0 LucidaGrande;} +{\colortbl;\red255\green255\blue255;\red65\green78\blue255;\red255\green0\blue0;} +\margl1440\margr1440\vieww11660\viewh12980\viewkind0 +\pard\ri0\qc + +\f0\b\fs72 \cf0 Chameleon +\fs50 \ + +\fs26 v%CHAMELEONVERSION% r%CHAMELEONREVISION% +\fs50 \ +\ +\cf2 %CHAMELEONSTAGE%\cf0 \ +\pard\ri0\ql\qnatural + +\fs26 \cf0 \ +\pard\ri0\qc + +\fs50 \cf3 Installation Complete! +\b0\fs26 \cf0 \ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\fs18 \cf0 \ +{\field{\*\fldinst{HYPERLINK "http://chameleon.osx86.hu/"}}{\fldrslt +\fs26 http://chameleon.osx86.hu/}} +\fs26 \ +{\field{\*\fldinst{HYPERLINK "http://forum.voodooprojects.org/index.php"}}{\fldrslt http://forum.voodooprojects.org/index.php}} +\b \ +\pard\tx360\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural + +\b0\fs30 \cf0 \ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\fs26 \cf0 Copyright \'a9 2010} \ No newline at end of file Index: trunk/PackageBuilder/package/Resources/English.lproj/License.rtf =================================================================== --- trunk/PackageBuilder/package/Resources/English.lproj/License.rtf (revision 0) +++ trunk/PackageBuilder/package/Resources/English.lproj/License.rtf (revision 340) @@ -0,0 +1,350 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf350 +{\fonttbl\f0\fmodern\fcharset0 Courier-Bold;\f1\fmodern\fcharset0 Courier;} +{\colortbl;\red255\green255\blue255;} +\paperw12240\paperh15840\vieww22060\viewh18360\viewkind0 +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\f0\b\fs40 \cf0 APPLE PUBLIC SOURCE LICENSE \ + +\fs26 Version 2.0 - August 6, 2003\ +\ + +\f1\b0 Please read this License carefully before downloading this software. By downloading or using this software, you are agreeing to be bound by the terms of this License. If you do not or cannot agree to the terms of this License, please do not download or use the software.\ +\ +1. General; Definitions. This License applies to any program or other work which Apple Computer, Inc. ("Apple") makes publicly available and which contains a notice placed by Apple identifying such program or work as "Original Code" and stating that it is subject to the terms of this Apple Public Source License version 2.0 ("License"). As used in this License:\ +\ +1.1 "Applicable Patent Rights" mean: (a) in the case where Apple is the grantor of rights, (i) claims of patents that are now or hereafter acquired, owned by or assigned to Apple and (ii) that cover subject matter contained in the Original Code, but only to the extent necessary to use, reproduce and/or distribute the Original Code without infringement; and (b) in the case where You are the grantor of rights, (i) claims of patents that are now or hereafter acquired, owned by or assigned to You and (ii) that cover subject matter in Your Modifications, taken alone or in combination with Original Code.\ +\ +1.2 "Contributor" means any person or entity that creates or contributes to the creation of Modifications.\ +\ +1.3 "Covered Code" means the Original Code, Modifications, the combination of Original Code and any Modifications, and/or any respective portions thereof.\ +\ +1.4 "Externally Deploy" means: (a) to sublicense, distribute or otherwise make Covered Code available, directly or indirectly, to anyone other than You; and/or (b) to use Covered Code, alone or as part of a Larger Work, in any way to provide a service, including but not limited to delivery of content, through electronic communication with a client other than You.\ +\ +1.5 "Larger Work" means a work which combines Covered Code or portions thereof with code not governed by the terms of this License.\ +\ +1.6 "Modifications" mean any addition to, deletion from, and/or change\ +to, the substance and/or structure of the Original Code, any previous\ +Modifications, the combination of Original Code and any previous\ +Modifications, and/or any respective portions thereof. When code is\ +released as a series of files, a Modification is: (a) any addition to\ +or deletion from the contents of a file containing Covered Code;\ +and/or (b) any new file or other representation of computer program\ +statements that contains any part of Covered Code.\ +\ +1.7 "Original Code" means (a) the Source Code of a program or other\ +work as originally made available by Apple under this License,\ +including the Source Code of any updates or upgrades to such programs\ +or works made available by Apple under this License, and that has been\ +expressly identified by Apple as such in the header file(s) of such\ +work; and (b) the object code compiled from such Source Code and\ +originally made available by Apple under this License.\ +\ +1.8 "Source Code" means the human readable form of a program or other\ +work that is suitable for making modifications to it, including all\ +modules it contains, plus any associated interface definition files,\ +scripts used to control compilation and installation of an executable\ +(object code).\ +\ +1.9 "You" or "Your" means an individual or a legal entity exercising\ +rights under this License. For legal entities, "You" or "Your"\ +includes any entity which controls, is controlled by, or is under\ +common control with, You, where "control" means (a) the power, direct\ +or indirect, to cause the direction or management of such entity,\ +whether by contract or otherwise, or (b) ownership of fifty percent\ +(50%) or more of the outstanding shares or beneficial ownership of\ +such entity.\ +\ +2. Permitted Uses; Conditions & Restrictions. Subject to the terms\ +and conditions of this License, Apple hereby grants You, effective on\ +the date You accept this License and download the Original Code, a\ +world-wide, royalty-free, non-exclusive license, to the extent of\ +Apple's Applicable Patent Rights and copyrights covering the Original\ +Code, to do the following:\ +\ +2.1 Unmodified Code. You may use, reproduce, display, perform,\ +internally distribute within Your organization, and Externally Deploy\ +verbatim, unmodified copies of the Original Code, for commercial or\ +non-commercial purposes, provided that in each instance:\ +\ +(a) You must retain and reproduce in all copies of Original Code the\ +copyright and other proprietary notices and disclaimers of Apple as\ +they appear in the Original Code, and keep intact all notices in the\ +Original Code that refer to this License; and\ +\ +(b) You must include a copy of this License with every copy of Source\ +Code of Covered Code and documentation You distribute or Externally\ +Deploy, and You may not offer or impose any terms on such Source Code\ +that alter or restrict this License or the recipients' rights\ +hereunder, except as permitted under Section 6.\ +\ +2.2 Modified Code. You may modify Covered Code and use, reproduce,\ +display, perform, internally distribute within Your organization, and\ +Externally Deploy Your Modifications and Covered Code, for commercial\ +or non-commercial purposes, provided that in each instance You also\ +meet all of these conditions:\ +\ +(a) You must satisfy all the conditions of Section 2.1 with respect to\ +the Source Code of the Covered Code;\ +\ +(b) You must duplicate, to the extent it does not already exist, the\ +notice in Exhibit A in each file of the Source Code of all Your\ +Modifications, and cause the modified files to carry prominent notices\ +stating that You changed the files and the date of any change; and\ +\ +(c) If You Externally Deploy Your Modifications, You must make\ +Source Code of all Your Externally Deployed Modifications either\ +available to those to whom You have Externally Deployed Your\ +Modifications, or publicly available. Source Code of Your Externally\ +Deployed Modifications must be released under the terms set forth in\ +this License, including the license grants set forth in Section 3\ +below, for as long as you Externally Deploy the Covered Code or twelve\ +(12) months from the date of initial External Deployment, whichever is\ +longer. You should preferably distribute the Source Code of Your\ +Externally Deployed Modifications electronically (e.g. download from a\ +web site).\ +\ +2.3 Distribution of Executable Versions. In addition, if You\ +Externally Deploy Covered Code (Original Code and/or Modifications) in\ +object code, executable form only, You must include a prominent\ +notice, in the code itself as well as in related documentation,\ +stating that Source Code of the Covered Code is available under the\ +terms of this License with information on how and where to obtain such\ +Source Code.\ +\ +2.4 Third Party Rights. You expressly acknowledge and agree that\ +although Apple and each Contributor grants the licenses to their\ +respective portions of the Covered Code set forth herein, no\ +assurances are provided by Apple or any Contributor that the Covered\ +Code does not infringe the patent or other intellectual property\ +rights of any other entity. Apple and each Contributor disclaim any\ +liability to You for claims brought by any other entity based on\ +infringement of intellectual property rights or otherwise. As a\ +condition to exercising the rights and licenses granted hereunder, You\ +hereby assume sole responsibility to secure any other intellectual\ +property rights needed, if any. For example, if a third party patent\ +license is required to allow You to distribute the Covered Code, it is\ +Your responsibility to acquire that license before distributing the\ +Covered Code.\ +\ +3. Your Grants. In consideration of, and as a condition to, the\ +licenses granted to You under this License, You hereby grant to any\ +person or entity receiving or distributing Covered Code under this\ +License a non-exclusive, royalty-free, perpetual, irrevocable license,\ +under Your Applicable Patent Rights and other intellectual property\ +rights (other than patent) owned or controlled by You, to use,\ +reproduce, display, perform, modify, sublicense, distribute and\ +Externally Deploy Your Modifications of the same scope and extent as\ +Apple's licenses under Sections 2.1 and 2.2 above.\ +\ +4. Larger Works. You may create a Larger Work by combining Covered\ +Code with other code not governed by the terms of this License and\ +distribute the Larger Work as a single product. In each such instance,\ +You must make sure the requirements of this License are fulfilled for\ +the Covered Code or any portion thereof.\ +\ +5. Limitations on Patent License. Except as expressly stated in\ +Section 2, no other patent rights, express or implied, are granted by\ +Apple herein. Modifications and/or Larger Works may require additional\ +patent licenses from Apple which Apple may grant in its sole\ +discretion.\ +\ +6. Additional Terms. You may choose to offer, and to charge a fee for,\ +warranty, support, indemnity or liability obligations and/or other\ +rights consistent with the scope of the license granted herein\ +("Additional Terms") to one or more recipients of Covered Code.\ +However, You may do so only on Your own behalf and as Your sole\ +responsibility, and not on behalf of Apple or any Contributor. You\ +must obtain the recipient's agreement that any such Additional Terms\ +are offered by You alone, and You hereby agree to indemnify, defend\ +and hold Apple and every Contributor harmless for any liability\ +incurred by or claims asserted against Apple or such Contributor by\ +reason of any such Additional Terms.\ +\ +7. Versions of the License. Apple may publish revised and/or new\ +versions of this License from time to time. Each version will be given\ +a distinguishing version number. Once Original Code has been published\ +under a particular version of this License, You may continue to use it\ +under the terms of that version. You may also choose to use such\ +Original Code under the terms of any subsequent version of this\ +License published by Apple. No one other than Apple has the right to\ +modify the terms applicable to Covered Code created under this\ +License.\ +\ +8. NO WARRANTY OR SUPPORT. The Covered Code may contain in whole or in\ +part pre-release, untested, or not fully tested works. The Covered\ +Code may contain errors that could cause failures or loss of data, and\ +may be incomplete or contain inaccuracies. You expressly acknowledge\ +and agree that use of the Covered Code, or any portion thereof, is at\ +Your sole and entire risk. THE COVERED CODE IS PROVIDED "AS IS" AND\ +WITHOUT WARRANTY, UPGRADES OR SUPPORT OF ANY KIND AND APPLE AND\ +APPLE'S LICENSOR(S) (COLLECTIVELY REFERRED TO AS "APPLE" FOR THE\ +PURPOSES OF SECTIONS 8 AND 9) AND ALL CONTRIBUTORS EXPRESSLY DISCLAIM\ +ALL WARRANTIES AND/OR CONDITIONS, EXPRESS OR IMPLIED, INCLUDING, BUT\ +NOT LIMITED TO, THE IMPLIED WARRANTIES AND/OR CONDITIONS OF\ +MERCHANTABILITY, OF SATISFACTORY QUALITY, OF FITNESS FOR A PARTICULAR\ +PURPOSE, OF ACCURACY, OF QUIET ENJOYMENT, AND NONINFRINGEMENT OF THIRD\ +PARTY RIGHTS. APPLE AND EACH CONTRIBUTOR DOES NOT WARRANT AGAINST\ +INTERFERENCE WITH YOUR ENJOYMENT OF THE COVERED CODE, THAT THE\ +FUNCTIONS CONTAINED IN THE COVERED CODE WILL MEET YOUR REQUIREMENTS,\ +THAT THE OPERATION OF THE COVERED CODE WILL BE UNINTERRUPTED OR\ +ERROR-FREE, OR THAT DEFECTS IN THE COVERED CODE WILL BE CORRECTED. NO\ +ORAL OR WRITTEN INFORMATION OR ADVICE GIVEN BY APPLE, AN APPLE\ +AUTHORIZED REPRESENTATIVE OR ANY CONTRIBUTOR SHALL CREATE A WARRANTY.\ +You acknowledge that the Covered Code is not intended for use in the\ +operation of nuclear facilities, aircraft navigation, communication\ +systems, or air traffic control machines in which case the failure of\ +the Covered Code could lead to death, personal injury, or severe\ +physical or environmental damage.\ +\ +9. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY LAW, IN NO\ +EVENT SHALL APPLE OR ANY CONTRIBUTOR BE LIABLE FOR ANY INCIDENTAL,\ +SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING\ +TO THIS LICENSE OR YOUR USE OR INABILITY TO USE THE COVERED CODE, OR\ +ANY PORTION THEREOF, WHETHER UNDER A THEORY OF CONTRACT, WARRANTY,\ +TORT (INCLUDING NEGLIGENCE), PRODUCTS LIABILITY OR OTHERWISE, EVEN IF\ +APPLE OR SUCH CONTRIBUTOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\ +DAMAGES AND NOTWITHSTANDING THE FAILURE OF ESSENTIAL PURPOSE OF ANY\ +REMEDY. SOME JURISDICTIONS DO NOT ALLOW THE LIMITATION OF LIABILITY OF\ +INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS LIMITATION MAY NOT APPLY\ +TO YOU. In no event shall Apple's total liability to You for all\ +damages (other than as may be required by applicable law) under this\ +License exceed the amount of fifty dollars ($50.00).\ +\ +10. Trademarks. This License does not grant any rights to use the\ +trademarks or trade names "Apple", "Apple Computer", "Mac", "Mac OS",\ +"QuickTime", "QuickTime Streaming Server" or any other trademarks,\ +service marks, logos or trade names belonging to Apple (collectively\ +"Apple Marks") or to any trademark, service mark, logo or trade name\ +belonging to any Contributor. You agree not to use any Apple Marks in\ +or as part of the name of products derived from the Original Code or\ +to endorse or promote products derived from the Original Code other\ +than as expressly permitted by and in strict compliance at all times\ +with Apple's third party trademark usage guidelines which are posted\ +at http://www.apple.com/legal/guidelinesfor3rdparties.html.\ +\ +11. Ownership. Subject to the licenses granted under this License,\ +each Contributor retains all rights, title and interest in and to any\ +Modifications made by such Contributor. Apple retains all rights,\ +title and interest in and to the Original Code and any Modifications\ +made by or on behalf of Apple ("Apple Modifications"), and such Apple\ +Modifications will not be automatically subject to this License. Apple\ +may, at its sole discretion, choose to license such Apple\ +Modifications under this License, or on different terms from those\ +contained in this License or may choose not to license them at all.\ +\ +12. Termination.\ +\ +12.1 Termination. This License and the rights granted hereunder will\ +terminate:\ +\ +(a) automatically without notice from Apple if You fail to comply with\ +any term(s) of this License and fail to cure such breach within 30\ +days of becoming aware of such breach;\ +\ +(b) immediately in the event of the circumstances described in Section\ +13.5(b); or\ +\ +(c) automatically without notice from Apple if You, at any time during\ +the term of this License, commence an action for patent infringement\ +against Apple; provided that Apple did not first commence\ +an action for patent infringement against You in that instance.\ +\ +12.2 Effect of Termination. Upon termination, You agree to immediately\ +stop any further use, reproduction, modification, sublicensing and\ +distribution of the Covered Code. All sublicenses to the Covered Code\ +which have been properly granted prior to termination shall survive\ +any termination of this License. Provisions which, by their nature,\ +should remain in effect beyond the termination of this License shall\ +survive, including but not limited to Sections 3, 5, 8, 9, 10, 11,\ +12.2 and 13. No party will be liable to any other for compensation,\ +indemnity or damages of any sort solely as a result of terminating\ +this License in accordance with its terms, and termination of this\ +License will be without prejudice to any other right or remedy of\ +any party.\ +\ +13. Miscellaneous.\ +\ +13.1 Government End Users. The Covered Code is a "commercial item" as\ +defined in FAR 2.101. Government software and technical data rights in\ +the Covered Code include only those rights customarily provided to the\ +public as defined in this License. This customary commercial license\ +in technical data and software is provided in accordance with FAR\ +12.211 (Technical Data) and 12.212 (Computer Software) and, for\ +Department of Defense purchases, DFAR 252.227-7015 (Technical Data --\ +Commercial Items) and 227.7202-3 (Rights in Commercial Computer\ +Software or Computer Software Documentation). Accordingly, all U.S.\ +Government End Users acquire Covered Code with only those rights set\ +forth herein.\ +\ +13.2 Relationship of Parties. This License will not be construed as\ +creating an agency, partnership, joint venture or any other form of\ +legal association between or among You, Apple or any Contributor, and\ +You will not represent to the contrary, whether expressly, by\ +implication, appearance or otherwise.\ +\ +13.3 Independent Development. Nothing in this License will impair\ +Apple's right to acquire, license, develop, have others develop for\ +it, market and/or distribute technology or products that perform the\ +same or similar functions as, or otherwise compete with,\ +Modifications, Larger Works, technology or products that You may\ +develop, produce, market or distribute.\ +\ +13.4 Waiver; Construction. Failure by Apple or any Contributor to\ +enforce any provision of this License will not be deemed a waiver of\ +future enforcement of that or any other provision. Any law or\ +regulation which provides that the language of a contract shall be\ +construed against the drafter will not apply to this License.\ +\ +13.5 Severability. (a) If for any reason a court of competent\ +jurisdiction finds any provision of this License, or portion thereof,\ +to be unenforceable, that provision of the License will be enforced to\ +the maximum extent permissible so as to effect the economic benefits\ +and intent of the parties, and the remainder of this License will\ +continue in full force and effect. (b) Notwithstanding the foregoing,\ +if applicable law prohibits or restricts You from fully and/or\ +specifically complying with Sections 2 and/or 3 or prevents the\ +enforceability of either of those Sections, this License will\ +immediately terminate and You must immediately discontinue any use of\ +the Covered Code and destroy all copies of it that are in your\ +possession or control.\ +\ +13.6 Dispute Resolution. Any litigation or other dispute resolution\ +between You and Apple relating to this License shall take place in the\ +Northern District of California, and You and Apple hereby consent to\ +the personal jurisdiction of, and venue in, the state and federal\ +courts within that District with respect to this License. The\ +application of the United Nations Convention on Contracts for the\ +International Sale of Goods is expressly excluded.\ +\ +13.7 Entire Agreement; Governing Law. This License constitutes the\ +entire agreement between the parties with respect to the subject\ +matter hereof. This License shall be governed by the laws of the\ +United States and the State of California, except that body of\ +California law concerning conflicts of law.\ +\ +Where You are located in the province of Quebec, Canada, the following\ +clause applies: The parties hereby confirm that they have requested\ +that this License and all related documents be drafted in English. Les\ +parties ont exige que le present contrat et tous les documents\ +connexes soient rediges en anglais.\ +\ +EXHIBIT A.\ +\ +"Portions Copyright (c) 1999-2003 Apple Computer, Inc. All Rights\ +Reserved.\ +\ +This file contains Original Code and/or Modifications of Original Code\ +as defined in and that are subject to the Apple Public Source License\ +Version 2.0 (the 'License'). You may not use this file except in\ +compliance with the License. Please obtain a copy of the License at\ +http://www.opensource.apple.com/apsl/ and read it before using this\ +file.\ +\ +The Original Code and all software distributed under the License are\ +distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER\ +EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,\ +INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,\ +FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.\ +Please see the License for the specific language governing rights and\ +limitations under the License." } \ No newline at end of file Index: trunk/PackageBuilder/package/Resources/German.lproj/Description.html =================================================================== --- trunk/PackageBuilder/package/Resources/German.lproj/Description.html (revision 0) +++ trunk/PackageBuilder/package/Resources/German.lproj/Description.html (revision 340) @@ -0,0 +1,29 @@ + + + + + + + + + +

Chameleon ist eine Kombination verschiedener Bootloader Komponenten.
Als Basis diente David Elliott's fake EFI Implementierung die zu Apple's boot-132 Projekt hinzugefügt wurde.
Chameleon wurde mit folgenden Hauptmerkmalen erweitert:

+
+

Neue Funktionen in Chameleon 2.0

+
+

- Vollständig anpassbare GUI um etwas Farbe in den Darwin Bootloader zu bringen.

+

- Starten von retail DVDs durch direktes Laden eines RAM-Disk Images, ohne zusätzliche Programme zu benötigen .

+

- Ruhezustand. Genießt Mac OS X mit einem Vorschau-Bild aufzuwecken.

+

- SMBIOS Override um vorgegebene SMBIOS Werte anzupassen.

+

- DSDT Override um eine angepasste DSDT, die verschiedene Probleme beheben kann, zu laden.

+
+

- Device Property Injection über device-properties string.

+

- hybrider boot0 / boot1h für MBR und GPT partitionierte Festplatten.

+

- Code zur automatischen FSB Erkennung, selbst für AMD CPUs.

+

- Apple Software RAID Unterstützung.

+
+

Für weitere Informationen besuche: http://chameleon.osx86.hu

+ + \ No newline at end of file Index: trunk/PackageBuilder/package/Resources/German.lproj/Localizable.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Resources/German.lproj/Localizable.strings ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Resources/German.lproj/Welcome.rtfd/TXT.rtf =================================================================== --- trunk/PackageBuilder/package/Resources/German.lproj/Welcome.rtfd/TXT.rtf (revision 0) +++ trunk/PackageBuilder/package/Resources/German.lproj/Welcome.rtfd/TXT.rtf (revision 340) @@ -0,0 +1,27 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf320 +{\fonttbl\f0\fnil\fcharset0 LucidaGrande;} +{\colortbl;\red255\green255\blue255;\red65\green78\blue255;} +\margl1440\margr1440\vieww11660\viewh12980\viewkind0 +\pard\ri0\qc + +\f0\b\fs72 \cf0 Chameleon +\fs50 \ + +\fs26 v%CHAMELEONVERSION% r%CHAMELEONREVISION% +\fs50 \ +\ +\cf2 %CHAMELEONSTAGE%\cf0 \ +\pard\ri0\ql\qnatural + +\fs26 \cf0 \ +\ +Entwickler: Crazor, Dense, fassl, fxtentacle, iNDi, JrCs, Kabyl, kaitek, mackerintel, mercurysquad, mozodojo, munky, rekursor, Turbo & zef \ +\ +\ +Dank : asereBLN, bumby, cosmolt, dfe, Galaxy, kalyway, Krazubu, netkas, sckevyn, smith@@, THeKiNG, XyZ, blackosx\ +\pard\tx360\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural + +\b0\fs30 \cf0 \ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\fs26 \cf0 Copyright \'a9 2010} \ No newline at end of file Index: trunk/PackageBuilder/package/Resources/German.lproj/Conclusion.rtfd/TXT.rtf =================================================================== --- trunk/PackageBuilder/package/Resources/German.lproj/Conclusion.rtfd/TXT.rtf (revision 0) +++ trunk/PackageBuilder/package/Resources/German.lproj/Conclusion.rtfd/TXT.rtf (revision 340) @@ -0,0 +1,34 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf320 +{\fonttbl\f0\fnil\fcharset0 LucidaGrande;} +{\colortbl;\red255\green255\blue255;\red65\green78\blue255;\red255\green0\blue0;} +\margl1440\margr1440\vieww11660\viewh12980\viewkind0 +\pard\ri0\qc + +\f0\b\fs72 \cf0 Chameleon +\fs50 \ + +\fs26 v%CHAMELEONVERSION% r%CHAMELEONREVISION% +\fs50 \ +\ +\cf2 %CHAMELEONSTAGE%\cf0 \ +\pard\ri0\ql\qnatural + +\fs26 \cf0 \ +\pard\ri0\qc + +\fs50 \cf3 Installation abgeschlossen! +\b0\fs26 \cf0 \ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\fs18 \cf0 \ +{\field{\*\fldinst{HYPERLINK "http://chameleon.osx86.hu/"}}{\fldrslt +\fs26 http://chameleon.osx86.hu/}} +\fs26 \ +{\field{\*\fldinst{HYPERLINK "http://forum.voodooprojects.org/index.php"}}{\fldrslt http://forum.voodooprojects.org/index.php}} +\b \ +\pard\tx360\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural + +\b0\fs30 \cf0 \ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\fs26 \cf0 Copyright \'a9 2010} \ No newline at end of file Index: trunk/PackageBuilder/package/Resources/German.lproj/License.rtf =================================================================== --- trunk/PackageBuilder/package/Resources/German.lproj/License.rtf (revision 0) +++ trunk/PackageBuilder/package/Resources/German.lproj/License.rtf (revision 340) @@ -0,0 +1,350 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf350 +{\fonttbl\f0\fmodern\fcharset0 Courier-Bold;\f1\fmodern\fcharset0 Courier;} +{\colortbl;\red255\green255\blue255;} +\paperw12240\paperh15840\vieww22060\viewh18360\viewkind0 +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\f0\b\fs40 \cf0 APPLE PUBLIC SOURCE LICENSE \ + +\fs26 Version 2.0 - August 6, 2003\ +\ + +\f1\b0 Please read this License carefully before downloading this software. By downloading or using this software, you are agreeing to be bound by the terms of this License. If you do not or cannot agree to the terms of this License, please do not download or use the software.\ +\ +1. General; Definitions. This License applies to any program or other work which Apple Computer, Inc. ("Apple") makes publicly available and which contains a notice placed by Apple identifying such program or work as "Original Code" and stating that it is subject to the terms of this Apple Public Source License version 2.0 ("License"). As used in this License:\ +\ +1.1 "Applicable Patent Rights" mean: (a) in the case where Apple is the grantor of rights, (i) claims of patents that are now or hereafter acquired, owned by or assigned to Apple and (ii) that cover subject matter contained in the Original Code, but only to the extent necessary to use, reproduce and/or distribute the Original Code without infringement; and (b) in the case where You are the grantor of rights, (i) claims of patents that are now or hereafter acquired, owned by or assigned to You and (ii) that cover subject matter in Your Modifications, taken alone or in combination with Original Code.\ +\ +1.2 "Contributor" means any person or entity that creates or contributes to the creation of Modifications.\ +\ +1.3 "Covered Code" means the Original Code, Modifications, the combination of Original Code and any Modifications, and/or any respective portions thereof.\ +\ +1.4 "Externally Deploy" means: (a) to sublicense, distribute or otherwise make Covered Code available, directly or indirectly, to anyone other than You; and/or (b) to use Covered Code, alone or as part of a Larger Work, in any way to provide a service, including but not limited to delivery of content, through electronic communication with a client other than You.\ +\ +1.5 "Larger Work" means a work which combines Covered Code or portions thereof with code not governed by the terms of this License.\ +\ +1.6 "Modifications" mean any addition to, deletion from, and/or change\ +to, the substance and/or structure of the Original Code, any previous\ +Modifications, the combination of Original Code and any previous\ +Modifications, and/or any respective portions thereof. When code is\ +released as a series of files, a Modification is: (a) any addition to\ +or deletion from the contents of a file containing Covered Code;\ +and/or (b) any new file or other representation of computer program\ +statements that contains any part of Covered Code.\ +\ +1.7 "Original Code" means (a) the Source Code of a program or other\ +work as originally made available by Apple under this License,\ +including the Source Code of any updates or upgrades to such programs\ +or works made available by Apple under this License, and that has been\ +expressly identified by Apple as such in the header file(s) of such\ +work; and (b) the object code compiled from such Source Code and\ +originally made available by Apple under this License.\ +\ +1.8 "Source Code" means the human readable form of a program or other\ +work that is suitable for making modifications to it, including all\ +modules it contains, plus any associated interface definition files,\ +scripts used to control compilation and installation of an executable\ +(object code).\ +\ +1.9 "You" or "Your" means an individual or a legal entity exercising\ +rights under this License. For legal entities, "You" or "Your"\ +includes any entity which controls, is controlled by, or is under\ +common control with, You, where "control" means (a) the power, direct\ +or indirect, to cause the direction or management of such entity,\ +whether by contract or otherwise, or (b) ownership of fifty percent\ +(50%) or more of the outstanding shares or beneficial ownership of\ +such entity.\ +\ +2. Permitted Uses; Conditions & Restrictions. Subject to the terms\ +and conditions of this License, Apple hereby grants You, effective on\ +the date You accept this License and download the Original Code, a\ +world-wide, royalty-free, non-exclusive license, to the extent of\ +Apple's Applicable Patent Rights and copyrights covering the Original\ +Code, to do the following:\ +\ +2.1 Unmodified Code. You may use, reproduce, display, perform,\ +internally distribute within Your organization, and Externally Deploy\ +verbatim, unmodified copies of the Original Code, for commercial or\ +non-commercial purposes, provided that in each instance:\ +\ +(a) You must retain and reproduce in all copies of Original Code the\ +copyright and other proprietary notices and disclaimers of Apple as\ +they appear in the Original Code, and keep intact all notices in the\ +Original Code that refer to this License; and\ +\ +(b) You must include a copy of this License with every copy of Source\ +Code of Covered Code and documentation You distribute or Externally\ +Deploy, and You may not offer or impose any terms on such Source Code\ +that alter or restrict this License or the recipients' rights\ +hereunder, except as permitted under Section 6.\ +\ +2.2 Modified Code. You may modify Covered Code and use, reproduce,\ +display, perform, internally distribute within Your organization, and\ +Externally Deploy Your Modifications and Covered Code, for commercial\ +or non-commercial purposes, provided that in each instance You also\ +meet all of these conditions:\ +\ +(a) You must satisfy all the conditions of Section 2.1 with respect to\ +the Source Code of the Covered Code;\ +\ +(b) You must duplicate, to the extent it does not already exist, the\ +notice in Exhibit A in each file of the Source Code of all Your\ +Modifications, and cause the modified files to carry prominent notices\ +stating that You changed the files and the date of any change; and\ +\ +(c) If You Externally Deploy Your Modifications, You must make\ +Source Code of all Your Externally Deployed Modifications either\ +available to those to whom You have Externally Deployed Your\ +Modifications, or publicly available. Source Code of Your Externally\ +Deployed Modifications must be released under the terms set forth in\ +this License, including the license grants set forth in Section 3\ +below, for as long as you Externally Deploy the Covered Code or twelve\ +(12) months from the date of initial External Deployment, whichever is\ +longer. You should preferably distribute the Source Code of Your\ +Externally Deployed Modifications electronically (e.g. download from a\ +web site).\ +\ +2.3 Distribution of Executable Versions. In addition, if You\ +Externally Deploy Covered Code (Original Code and/or Modifications) in\ +object code, executable form only, You must include a prominent\ +notice, in the code itself as well as in related documentation,\ +stating that Source Code of the Covered Code is available under the\ +terms of this License with information on how and where to obtain such\ +Source Code.\ +\ +2.4 Third Party Rights. You expressly acknowledge and agree that\ +although Apple and each Contributor grants the licenses to their\ +respective portions of the Covered Code set forth herein, no\ +assurances are provided by Apple or any Contributor that the Covered\ +Code does not infringe the patent or other intellectual property\ +rights of any other entity. Apple and each Contributor disclaim any\ +liability to You for claims brought by any other entity based on\ +infringement of intellectual property rights or otherwise. As a\ +condition to exercising the rights and licenses granted hereunder, You\ +hereby assume sole responsibility to secure any other intellectual\ +property rights needed, if any. For example, if a third party patent\ +license is required to allow You to distribute the Covered Code, it is\ +Your responsibility to acquire that license before distributing the\ +Covered Code.\ +\ +3. Your Grants. In consideration of, and as a condition to, the\ +licenses granted to You under this License, You hereby grant to any\ +person or entity receiving or distributing Covered Code under this\ +License a non-exclusive, royalty-free, perpetual, irrevocable license,\ +under Your Applicable Patent Rights and other intellectual property\ +rights (other than patent) owned or controlled by You, to use,\ +reproduce, display, perform, modify, sublicense, distribute and\ +Externally Deploy Your Modifications of the same scope and extent as\ +Apple's licenses under Sections 2.1 and 2.2 above.\ +\ +4. Larger Works. You may create a Larger Work by combining Covered\ +Code with other code not governed by the terms of this License and\ +distribute the Larger Work as a single product. In each such instance,\ +You must make sure the requirements of this License are fulfilled for\ +the Covered Code or any portion thereof.\ +\ +5. Limitations on Patent License. Except as expressly stated in\ +Section 2, no other patent rights, express or implied, are granted by\ +Apple herein. Modifications and/or Larger Works may require additional\ +patent licenses from Apple which Apple may grant in its sole\ +discretion.\ +\ +6. Additional Terms. You may choose to offer, and to charge a fee for,\ +warranty, support, indemnity or liability obligations and/or other\ +rights consistent with the scope of the license granted herein\ +("Additional Terms") to one or more recipients of Covered Code.\ +However, You may do so only on Your own behalf and as Your sole\ +responsibility, and not on behalf of Apple or any Contributor. You\ +must obtain the recipient's agreement that any such Additional Terms\ +are offered by You alone, and You hereby agree to indemnify, defend\ +and hold Apple and every Contributor harmless for any liability\ +incurred by or claims asserted against Apple or such Contributor by\ +reason of any such Additional Terms.\ +\ +7. Versions of the License. Apple may publish revised and/or new\ +versions of this License from time to time. Each version will be given\ +a distinguishing version number. Once Original Code has been published\ +under a particular version of this License, You may continue to use it\ +under the terms of that version. You may also choose to use such\ +Original Code under the terms of any subsequent version of this\ +License published by Apple. No one other than Apple has the right to\ +modify the terms applicable to Covered Code created under this\ +License.\ +\ +8. NO WARRANTY OR SUPPORT. The Covered Code may contain in whole or in\ +part pre-release, untested, or not fully tested works. The Covered\ +Code may contain errors that could cause failures or loss of data, and\ +may be incomplete or contain inaccuracies. You expressly acknowledge\ +and agree that use of the Covered Code, or any portion thereof, is at\ +Your sole and entire risk. THE COVERED CODE IS PROVIDED "AS IS" AND\ +WITHOUT WARRANTY, UPGRADES OR SUPPORT OF ANY KIND AND APPLE AND\ +APPLE'S LICENSOR(S) (COLLECTIVELY REFERRED TO AS "APPLE" FOR THE\ +PURPOSES OF SECTIONS 8 AND 9) AND ALL CONTRIBUTORS EXPRESSLY DISCLAIM\ +ALL WARRANTIES AND/OR CONDITIONS, EXPRESS OR IMPLIED, INCLUDING, BUT\ +NOT LIMITED TO, THE IMPLIED WARRANTIES AND/OR CONDITIONS OF\ +MERCHANTABILITY, OF SATISFACTORY QUALITY, OF FITNESS FOR A PARTICULAR\ +PURPOSE, OF ACCURACY, OF QUIET ENJOYMENT, AND NONINFRINGEMENT OF THIRD\ +PARTY RIGHTS. APPLE AND EACH CONTRIBUTOR DOES NOT WARRANT AGAINST\ +INTERFERENCE WITH YOUR ENJOYMENT OF THE COVERED CODE, THAT THE\ +FUNCTIONS CONTAINED IN THE COVERED CODE WILL MEET YOUR REQUIREMENTS,\ +THAT THE OPERATION OF THE COVERED CODE WILL BE UNINTERRUPTED OR\ +ERROR-FREE, OR THAT DEFECTS IN THE COVERED CODE WILL BE CORRECTED. NO\ +ORAL OR WRITTEN INFORMATION OR ADVICE GIVEN BY APPLE, AN APPLE\ +AUTHORIZED REPRESENTATIVE OR ANY CONTRIBUTOR SHALL CREATE A WARRANTY.\ +You acknowledge that the Covered Code is not intended for use in the\ +operation of nuclear facilities, aircraft navigation, communication\ +systems, or air traffic control machines in which case the failure of\ +the Covered Code could lead to death, personal injury, or severe\ +physical or environmental damage.\ +\ +9. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY LAW, IN NO\ +EVENT SHALL APPLE OR ANY CONTRIBUTOR BE LIABLE FOR ANY INCIDENTAL,\ +SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING\ +TO THIS LICENSE OR YOUR USE OR INABILITY TO USE THE COVERED CODE, OR\ +ANY PORTION THEREOF, WHETHER UNDER A THEORY OF CONTRACT, WARRANTY,\ +TORT (INCLUDING NEGLIGENCE), PRODUCTS LIABILITY OR OTHERWISE, EVEN IF\ +APPLE OR SUCH CONTRIBUTOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\ +DAMAGES AND NOTWITHSTANDING THE FAILURE OF ESSENTIAL PURPOSE OF ANY\ +REMEDY. SOME JURISDICTIONS DO NOT ALLOW THE LIMITATION OF LIABILITY OF\ +INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS LIMITATION MAY NOT APPLY\ +TO YOU. In no event shall Apple's total liability to You for all\ +damages (other than as may be required by applicable law) under this\ +License exceed the amount of fifty dollars ($50.00).\ +\ +10. Trademarks. This License does not grant any rights to use the\ +trademarks or trade names "Apple", "Apple Computer", "Mac", "Mac OS",\ +"QuickTime", "QuickTime Streaming Server" or any other trademarks,\ +service marks, logos or trade names belonging to Apple (collectively\ +"Apple Marks") or to any trademark, service mark, logo or trade name\ +belonging to any Contributor. You agree not to use any Apple Marks in\ +or as part of the name of products derived from the Original Code or\ +to endorse or promote products derived from the Original Code other\ +than as expressly permitted by and in strict compliance at all times\ +with Apple's third party trademark usage guidelines which are posted\ +at http://www.apple.com/legal/guidelinesfor3rdparties.html.\ +\ +11. Ownership. Subject to the licenses granted under this License,\ +each Contributor retains all rights, title and interest in and to any\ +Modifications made by such Contributor. Apple retains all rights,\ +title and interest in and to the Original Code and any Modifications\ +made by or on behalf of Apple ("Apple Modifications"), and such Apple\ +Modifications will not be automatically subject to this License. Apple\ +may, at its sole discretion, choose to license such Apple\ +Modifications under this License, or on different terms from those\ +contained in this License or may choose not to license them at all.\ +\ +12. Termination.\ +\ +12.1 Termination. This License and the rights granted hereunder will\ +terminate:\ +\ +(a) automatically without notice from Apple if You fail to comply with\ +any term(s) of this License and fail to cure such breach within 30\ +days of becoming aware of such breach;\ +\ +(b) immediately in the event of the circumstances described in Section\ +13.5(b); or\ +\ +(c) automatically without notice from Apple if You, at any time during\ +the term of this License, commence an action for patent infringement\ +against Apple; provided that Apple did not first commence\ +an action for patent infringement against You in that instance.\ +\ +12.2 Effect of Termination. Upon termination, You agree to immediately\ +stop any further use, reproduction, modification, sublicensing and\ +distribution of the Covered Code. All sublicenses to the Covered Code\ +which have been properly granted prior to termination shall survive\ +any termination of this License. Provisions which, by their nature,\ +should remain in effect beyond the termination of this License shall\ +survive, including but not limited to Sections 3, 5, 8, 9, 10, 11,\ +12.2 and 13. No party will be liable to any other for compensation,\ +indemnity or damages of any sort solely as a result of terminating\ +this License in accordance with its terms, and termination of this\ +License will be without prejudice to any other right or remedy of\ +any party.\ +\ +13. Miscellaneous.\ +\ +13.1 Government End Users. The Covered Code is a "commercial item" as\ +defined in FAR 2.101. Government software and technical data rights in\ +the Covered Code include only those rights customarily provided to the\ +public as defined in this License. This customary commercial license\ +in technical data and software is provided in accordance with FAR\ +12.211 (Technical Data) and 12.212 (Computer Software) and, for\ +Department of Defense purchases, DFAR 252.227-7015 (Technical Data --\ +Commercial Items) and 227.7202-3 (Rights in Commercial Computer\ +Software or Computer Software Documentation). Accordingly, all U.S.\ +Government End Users acquire Covered Code with only those rights set\ +forth herein.\ +\ +13.2 Relationship of Parties. This License will not be construed as\ +creating an agency, partnership, joint venture or any other form of\ +legal association between or among You, Apple or any Contributor, and\ +You will not represent to the contrary, whether expressly, by\ +implication, appearance or otherwise.\ +\ +13.3 Independent Development. Nothing in this License will impair\ +Apple's right to acquire, license, develop, have others develop for\ +it, market and/or distribute technology or products that perform the\ +same or similar functions as, or otherwise compete with,\ +Modifications, Larger Works, technology or products that You may\ +develop, produce, market or distribute.\ +\ +13.4 Waiver; Construction. Failure by Apple or any Contributor to\ +enforce any provision of this License will not be deemed a waiver of\ +future enforcement of that or any other provision. Any law or\ +regulation which provides that the language of a contract shall be\ +construed against the drafter will not apply to this License.\ +\ +13.5 Severability. (a) If for any reason a court of competent\ +jurisdiction finds any provision of this License, or portion thereof,\ +to be unenforceable, that provision of the License will be enforced to\ +the maximum extent permissible so as to effect the economic benefits\ +and intent of the parties, and the remainder of this License will\ +continue in full force and effect. (b) Notwithstanding the foregoing,\ +if applicable law prohibits or restricts You from fully and/or\ +specifically complying with Sections 2 and/or 3 or prevents the\ +enforceability of either of those Sections, this License will\ +immediately terminate and You must immediately discontinue any use of\ +the Covered Code and destroy all copies of it that are in your\ +possession or control.\ +\ +13.6 Dispute Resolution. Any litigation or other dispute resolution\ +between You and Apple relating to this License shall take place in the\ +Northern District of California, and You and Apple hereby consent to\ +the personal jurisdiction of, and venue in, the state and federal\ +courts within that District with respect to this License. The\ +application of the United Nations Convention on Contracts for the\ +International Sale of Goods is expressly excluded.\ +\ +13.7 Entire Agreement; Governing Law. This License constitutes the\ +entire agreement between the parties with respect to the subject\ +matter hereof. This License shall be governed by the laws of the\ +United States and the State of California, except that body of\ +California law concerning conflicts of law.\ +\ +Where You are located in the province of Quebec, Canada, the following\ +clause applies: The parties hereby confirm that they have requested\ +that this License and all related documents be drafted in English. Les\ +parties ont exige que le present contrat et tous les documents\ +connexes soient rediges en anglais.\ +\ +EXHIBIT A.\ +\ +"Portions Copyright (c) 1999-2003 Apple Computer, Inc. All Rights\ +Reserved.\ +\ +This file contains Original Code and/or Modifications of Original Code\ +as defined in and that are subject to the Apple Public Source License\ +Version 2.0 (the 'License'). You may not use this file except in\ +compliance with the License. Please obtain a copy of the License at\ +http://www.opensource.apple.com/apsl/ and read it before using this\ +file.\ +\ +The Original Code and all software distributed under the License are\ +distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER\ +EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,\ +INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,\ +FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.\ +Please see the License for the specific language governing rights and\ +limitations under the License." } \ No newline at end of file Index: trunk/PackageBuilder/package/com.apple.Boot.plist =================================================================== --- trunk/PackageBuilder/package/com.apple.Boot.plist (revision 0) +++ trunk/PackageBuilder/package/com.apple.Boot.plist (revision 340) @@ -0,0 +1,80 @@ + + + + + Kernel + mach_kernel + Kernel Flags + cpus=4 blacklist=0 busratio=20 -v -f + arch + i386 + PciRoot + 0 + Graphics Mode + 1920x1080x32 + GraphicsEnabler + No + UseNvidiaROM + Yes + UseAtiROM + Yes + VBIOS + Yes + GUI + Yes + Theme + Default + Legacy Logo + No + Boot Banner + Yes + Default Partition + hd(0,2) + Hide Partition + + DropSSDT + Yes + GenerateCStates + Yes + GeneratePStates + Yes + Rescan + No + DSDT + /Extra/dsdt.aml + SMBIOS + /Extra/smbios.plist + SMBIOSdefaults + No + SystemId + uuid here + SystemType + 1 + Instant Menu + No + Quiet Boot + No + Timeout + 2 + EthernetBuiltIn + Yes + RestartFix + Yes + forceHPET + No + EHCIacquire + No + UHCIreset + No + USBBusFix + No + Wait + No + Wake + No + ForceWake + No + device-properties + + + Index: trunk/PackageBuilder/package/Kexts/Disabler.kext/Contents/MacOS/Disabler =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Kexts/Disabler.kext/Contents/MacOS/Disabler ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Kexts/Disabler.kext/Contents/Info.plist =================================================================== --- trunk/PackageBuilder/package/Kexts/Disabler.kext/Contents/Info.plist (revision 0) +++ trunk/PackageBuilder/package/Kexts/Disabler.kext/Contents/Info.plist (revision 340) @@ -0,0 +1,47 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + Disabler + CFBundleGetInfoString + Kernel Extension Disabler 1.0.1, Copyright © 2008 by Kabyl + CFBundleIdentifier + net.osrom.kext.Disabler + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + Kernel Extension Disabler + CFBundlePackageType + KEXT + CFBundleVersion + 1.0.1 + IOKitPersonalities + + IntelCPUPMDisabler + + CFBundleIdentifier + net.osrom.kext.Disabler + IOClass + Disabler + IOMatchCategory + AppleIntelCPUPowerManagement + IOProbeScore + 1000 + IOProviderClass + IOResources + IOResourceMatch + IOKit + + + OSBundleLibraries + + com.apple.kernel.iokit + 1.1 + + OSBundleRequired + Root + + Index: trunk/PackageBuilder/package/Kexts/JMicronATAInjector.kext/Contents/Info.plist =================================================================== --- trunk/PackageBuilder/package/Kexts/JMicronATAInjector.kext/Contents/Info.plist (revision 0) +++ trunk/PackageBuilder/package/Kexts/JMicronATAInjector.kext/Contents/Info.plist (revision 340) @@ -0,0 +1,53 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleIdentifier + org.chameleon.plist.JMicronATAInjector + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + JMicron ATA Injector + CFBundlePackageType + KEXT + CFBundleSignature + ???? + CFBundleVersion + 1.0.0 + IOKitPersonalities + + JMicronATA Driver + + CFBundleIdentifier + com.jmicron.JMicronATA + Hardware Vendor + JMicron + IOClass + JMicronATA + IOProviderClass + JMicronATAChannel + + JMicronATA PCI + + CFBundleIdentifier + com.jmicron.JMicronATA + Hardware Vendor + JMicron + IOClass + JMicronATAPCIRoot + IOPCIClassMatch + 0x01010000&0xffff0000 + IOPCIPrimaryMatch + 0x2368197b 0x2360197b&0xfff0ffff + IOProbeScore + 12000 + IOProviderClass + IOPCIDevice + + + OSBundleRequired + Local-Root + + Index: trunk/PackageBuilder/package/Kexts/AHCIPortInjector.kext/Contents/Info.plist =================================================================== --- trunk/PackageBuilder/package/Kexts/AHCIPortInjector.kext/Contents/Info.plist (revision 0) +++ trunk/PackageBuilder/package/Kexts/AHCIPortInjector.kext/Contents/Info.plist (revision 340) @@ -0,0 +1,382 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleIdentifier + org.chameleon.plist.AHCIPortInjector + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + AHCI Chipsets Injector + CFBundlePackageType + KEXT + CFBundleSignature + ???? + CFBundleVersion + 1.0.0 + IOKitPersonalities + + GenericAHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + AHCI Standard Controller + IOClass + AppleAHCI + IOPCIClassMatch + 0x01060100&0xffffff00 + IOProbeScore + 800 + IOProviderClass + IOPCIDevice + Vendor Name + Unknown + + JMicronAHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + JMB36x AHCI + IOClass + AppleAHCI + IOPCIPrimaryMatch + 0x2360197b&0xfff0ffff + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + JMicron + + ICH6 ESB2 AHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + ESB2 AHCI + IOClass + AppleAHCI + IOPCIPrimaryMatch + 0x26818086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + ICH7MAHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + ICH7-M AHCI + IOClass + AppleAHCI + IOPCIPrimaryMatch + 0x27c58086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + ICH7MRAID + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + ICH7-M RAID + IOClass + AppleAHCI + IOPCIPrimaryMatch + 0x27c68086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + ICH7RAHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + ICH7-R AHCI + IOClass + AppleAHCI + IOPCIPrimaryMatch + 0x27c18086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + ICH7RRAID + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + ICH7-R RAID + IOClass + AppleAHCI + IOPCIPrimaryMatch + 0x27c38086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + ICH8AHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + ICH8 AHCI + IOClass + AppleAHCI + IOPCIPrimaryMatch + 0x28248086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + ICH8MAHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + ICH8-M AHCI + IOClass + AppleICH8AHCI + IOPCIPrimaryMatch + 0x28298086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + ICH8MRAID + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + ICH8-M RAID + IOClass + AppleAHCI + IOPCIPrimaryMatch + 0x282a8086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + ICH8RAHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + ICH8-R AHCI + IOClass + AppleAHCI + IOPCIPrimaryMatch + 0x28218086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + ICH8RRAID + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + ICH8-R RAID + IOClass + AppleAHCI + IOPCIPrimaryMatch + 0x28228086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + ICH9AHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + ICH9 AHCI + IOClass + AppleAHCI + IOPCIPrimaryMatch + 0x29238086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + ICH9MAHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + ICH9-M AHCI + IOClass + AppleAHCI + IOPCIPrimaryMatch + 0x29298086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + ICH9MRAID + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + ICH9-M RAID + IOClass + AppleAHCI + IOPCIPrimaryMatch + 0x292c8086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + ICH9RAHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + ICH9-R AHCI + IOClass + AppleAHCI + IOPCIPrimaryMatch + 0x29228086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + ICH9RRAID + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + ICH9-R RAID + IOClass + AppleAHCI + IOPCIPrimaryMatch + 0x29258086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + ICH10AHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + ICH10 AHCI + IOClass + AppleAHCI + IOPCIPrimaryMatch + 0x3A028086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + ICH10RAID + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + ICH10 RAID + IOClass + AppleAHCI + IOPCIPrimaryMatch + 0x3A058086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + ICH10RAHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + ICH10-R AHCI + IOClass + AppleAHCI + IOPCIPrimaryMatch + 0x3A228086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + ICH10RRAID + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + ICH10-R RAID + IOClass + AppleAHCI + IOPCIPrimaryMatch + 0x3A258086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + + OSBundleRequired + Local-Root + + Index: trunk/PackageBuilder/package/Kexts/ATAPortInjector.kext/Contents/Info.plist =================================================================== --- trunk/PackageBuilder/package/Kexts/ATAPortInjector.kext/Contents/Info.plist (revision 0) +++ trunk/PackageBuilder/package/Kexts/ATAPortInjector.kext/Contents/Info.plist (revision 340) @@ -0,0 +1,596 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleIdentifier + org.chameleon.plist.ATAPortInjector + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ATA Chipsets Injector + CFBundlePackageType + KEXT + CFBundleSignature + ???? + CFBundleVersion + 1.0.0 + IOKitPersonalities + + ESB2 ATA/100 + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ESB2 ATA/100 + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x269e8086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Supported Transfer Modes + 0x3f061d + + ESB2 Serial ATA + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ESB2 SATA + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x26808086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Serial ATA + + Supported Transfer Modes + 0x3f061d + + ICH ATA Controller + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x24118086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Supported Transfer Modes + 0x1f061d + + ICH0 ATA Controller + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH0 + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x24218086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Supported Transfer Modes + 0x07061d + + ICH2 ATA/100 Controller + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH2 ATA/100 + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x244A8086 0x244B8086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Supported Transfer Modes + 0x3f061d + + ICH2 ATA/66 Controller + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH2 ATA/66 + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x24418086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Supported Transfer Modes + 0x1f061d + + ICH3 ATA/100 Controller + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH3 ATA/100 + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x248A8086 0x248B8086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Supported Transfer Modes + 0x3f061d + + ICH3 ATA/66 Controller + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH3 ATA/66 + IOClass + AppleIntelPIIXATARoot + IOPCIClassMatch + 0x01010000&0xffff0000 + IOPCIPrimaryMatch + 0x24818086 0x24008086&0xff00ffff + IOProbeScore + 1800 + IOProviderClass + IOPCIDevice + Supported Transfer Modes + 0x1f061d + + ICH4 ATA/100 Controller + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH4 ATA/100 + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x24CB8086 0x24CA8086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Supported Transfer Modes + 0x3f061d + + ICH5 ATA/100 Controller + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH5 ATA/100 + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x24DB8086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Supported Transfer Modes + 0x3f061d + + ICH5 Serial ATA Controller + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH5 SATA + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x24D18086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Serial ATA + + Supported Transfer Modes + 0x3f061d + + ICH6 ATA/100 Controller + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH6 ATA/100 + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x266f8086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Supported Transfer Modes + 0x3f061d + + ICH6 Serial ATA Controller + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH6 SATA + IOClass + AppleIntelPIIXATARoot + IOPCIClassMatch + 0x01010000&0xffff0000 + IOPCIPrimaryMatch + 0x26528086 0x26518086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Serial ATA + + Supported Transfer Modes + 0x3f061d + + ICH6-M Serial ATA Controller + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH6-M SATA + IOClass + AppleIntelPIIXATARoot + IOPCIClassMatch + 0x01010000&0xffff0000 + IOPCIPrimaryMatch + 0x26538086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Serial ATA + + Supported Transfer Modes + 0x3f061d + + ICH7 ATA/100 + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH7 ATA/100 + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x27df8086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Supported Transfer Modes + 0x3f061d + + ICH7 Serial ATA + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH7 SATA + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x27c08086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Serial ATA + + Supported Transfer Modes + 0x3f061d + + ICH7-M Serial ATA + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH7-M SATA + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x27c48086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Serial ATA + + Supported Transfer Modes + 0x3f061d + + ICH8 2 Port Serial ATA + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH8 2 Port SATA + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x28258086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + PCS Port Map + kgGTAZICkwKSBJMEkgiTCA== + Serial ATA + + Supported Transfer Modes + 0x3f061d + + ICH8 ATA/100 + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH8 ATA/100 + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x28508086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Supported Transfer Modes + 0x3f061d + + ICH8 Serial ATA + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH8 SATA + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x28208086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + PCS Port Map + kgGTAZICkwKSBJMEkgiTCA== + Serial ATA + + Supported Transfer Modes + 0x3f061d + + ICH8-M Serial ATA + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH8-M SATA + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x28288086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + PCS Port Map + kgGTAZICkwKSBJMEkgiTCA== + Serial ATA + + Supported Transfer Modes + 0x3f061d + + ICH9 2 Port Serial ATA + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH9 2PTS SATA + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x29218086 0x29268086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + PCS Port Map + kgGTAZICkwKSBJMEkgiTCA== + Serial ATA + + Supported Transfer Modes + 0x3f061d + + ICH9 Serial ATA + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH9 SATA + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x29208086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + PCS Port Map + kgGTAZICkwKSBJMEkgiTCA== + Serial ATA + + Supported Transfer Modes + 0x3f061d + + ICH9-M Serial ATA + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH9-M SATA + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x29288086 0x292d8086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + PCS Port Map + kgGTAZICkwKSBJMEkgiTCA== + Serial ATA + + Supported Transfer Modes + 0x3f061d + + ICH10 2 Port Serial ATA + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH10 2PTS SATA + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x3a068086 0x3a268086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + PCS Port Map + kgGTAZICkwKSBJMEkgiTCA== + Serial ATA + + Supported Transfer Modes + 0x3f061d + + ICH10 Serial ATA + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH10 SATA + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x3a008086 0x3a208086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + PCS Port Map + kgGTAZICkwKSBJMEkgiTCA== + Serial ATA + + Supported Transfer Modes + 0x3f061d + + PIIX ATA Controller + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + PIIX + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x12308086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Shared Channel Timings + + Supported Transfer Modes + 0x00061d + + PIIX3 ATA Controller + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + PIIX3 + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x70108086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Supported Transfer Modes + 0x00061d + + PIIX4 ATA Controller + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + PIIX4 + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x71118086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Supported Transfer Modes + 0x07061d + + Parallel ATA Channel Driver + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + IOClass + AppleIntelPIIXPATA + IOProbeScore + 800 + IOProviderClass + AppleIntelPIIXATAChannel + Serial ATA + + + Serial ATA Channel Driver + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + IOClass + AppleIntelICHxSATA + IOProbeScore + 1000 + IOProviderClass + AppleIntelPIIXATAChannel + Serial ATA + + + + OSBundleRequired + Local-Root + + Index: trunk/PackageBuilder/package/Kexts/SMCITEController.kext/Contents/MacOS/SMCITEController =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Kexts/SMCITEController.kext/Contents/MacOS/SMCITEController ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Kexts/SMCITEController.kext/Contents/Info.plist =================================================================== --- trunk/PackageBuilder/package/Kexts/SMCITEController.kext/Contents/Info.plist (revision 0) +++ trunk/PackageBuilder/package/Kexts/SMCITEController.kext/Contents/Info.plist (revision 340) @@ -0,0 +1,63 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + SMCITEController + CFBundleIdentifier + org.mozodojo.TheOnlyWorkingITESMCController + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + SMCITEController + CFBundlePackageType + KEXT + CFBundleShortVersionString + 2.1 + CFBundleSignature + ???? + CFBundleVersion + 2.1 + IOKitPersonalities + + SuperIOMonitorPlugin + + CFBundleIdentifier + org.mozodojo.TheOnlyWorkingITESMCController + Enable Fan Control + + Fan Names + + CPU + GPU + + + + + IOClass + TheOnlyWorkingITESMCController + IOMatchCategory + TheOnlyWorkingITESMCController + IOProviderClass + IOResources + IOResourceMatch + IOKit + Register number alternative variant + + + + OSBundleLibraries + + com.apple.kpi.iokit + 9.0 + com.apple.kpi.libkern + 9.0 + com.apple.kpi.unsupported + 9.0 + org.netkas.FakeSMC + 2.7.2 + + + Index: trunk/PackageBuilder/package/Kexts/SMCITEController.kext/Contents/Resources/English.lproj/InfoPlist.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Kexts/SMCITEController.kext/Contents/Resources/English.lproj/InfoPlist.strings ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Kexts/FakeSMC.kext/Contents/MacOS/FakeSMC =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Kexts/FakeSMC.kext/Contents/MacOS/FakeSMC ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Kexts/FakeSMC.kext/Contents/Info.plist =================================================================== --- trunk/PackageBuilder/package/Kexts/FakeSMC.kext/Contents/Info.plist (revision 0) +++ trunk/PackageBuilder/package/Kexts/FakeSMC.kext/Contents/Info.plist (revision 340) @@ -0,0 +1,88 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + FakeSMC + CFBundleIdentifier + org.netkas.FakeSMC + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FakeSMC + CFBundlePackageType + KEXT + CFBundleShortVersionString + 2.7.2 + CFBundleSignature + ???? + CFBundleVersion + 2.7.2 + IOKitPersonalities + + FakeSMC + + CFBundleIdentifier + org.netkas.FakeSMC + IOClass + FakeSMC + IOMatchCategory + IOACPIPlatformDevice + IOProviderClass + AppleACPIPlatformExpert + IOResourceMatch + ACPI + SMCKeys + + $Num + AQ== + ACID + REFCQ0VG + BALG + AAAAAAAA + LSOF + AQ== + LSSB + AQE= + MOST + AAAAAAAA + MSDS + AwAAAAAA + MSSP + AA== + NATJ + AA== + NVPR + AAAAAAAA + OSK0 + ourhardworkbythesewordsguardedpl + OSK1 + easedontsteal(c)AppleComputerInc + REV + ATAPAAAD + + debug + + smc-compatible + smc-napa + + + OSBundleCompatibleVersion + 2.7.2 + OSBundleLibraries + + com.apple.iokit.IOACPIFamily + 1.0.0d1 + com.apple.kpi.iokit + 9.0.0 + com.apple.kpi.libkern + 9.0.0 + com.apple.kpi.unsupported + 9.0.0 + + OSBundleRequired + Root + + Index: trunk/PackageBuilder/package/Kexts/FakeSMC.kext/Contents/Resources/English.lproj/InfoPlist.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Kexts/FakeSMC.kext/Contents/Resources/English.lproj/InfoPlist.strings ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Kexts/IOAHCIBlockStorageInjector.kext/Contents/Info.plist =================================================================== --- trunk/PackageBuilder/package/Kexts/IOAHCIBlockStorageInjector.kext/Contents/Info.plist (revision 0) +++ trunk/PackageBuilder/package/Kexts/IOAHCIBlockStorageInjector.kext/Contents/Info.plist (revision 340) @@ -0,0 +1,47 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleIdentifier + org.chameleon.plist.IOAHCIBlockStorageInjector + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + IOAHCIBlockStorage Fix + CFBundlePackageType + KEXT + CFBundleSignature + ???? + CFBundleVersion + 1.1.1 + IOKitPersonalities + + AppleAHCIDiskDriver + + CFBundleIdentifier + com.apple.iokit.IOAHCIBlockStorage + IOClass + AppleAHCIDiskDriver + IOProviderClass + IOAHCIDevice + IOProbeScore + 1000 + Physical Interconnect + SATA + Physical Interconnect Location + Internal + Protocol Characteristics + + Physical Interconnect + SATA + Physical Interconnect Location + Internal + + + + OSBundleRequired + Local-Root + + Index: trunk/PackageBuilder/package/Kexts/TotallyLegacy.kext/Contents/Info.plist =================================================================== --- trunk/PackageBuilder/package/Kexts/TotallyLegacy.kext/Contents/Info.plist (revision 0) +++ trunk/PackageBuilder/package/Kexts/TotallyLegacy.kext/Contents/Info.plist (revision 340) @@ -0,0 +1,2219 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleIdentifier + com.smith@@.Totally.Legacy + CFBundleInfoDictionaryVersion + 1.0 + CFBundleName + Totally Legacy + CFBundlePackageType + KEXT + CFBundleSignature + ???? + CFBundleVersion + 6.1.1 + IOKitPersonalities + + ATIRadeonX2000 + + ATIEnableWideBlitSupport + + ATIUseTearingWideBlit + + CFBundleIdentifier + com.apple.ATIRadeonX2000 + GpuDebugPolicy + 0 + IOCFPlugInTypes + + ACCF0000-0000-0000-0000-000a2789904e + ATIRadeonX2000GA.plugin + + IOClass + ATIRadeonX2000 + IODVDBundleName + ATIRadeonX2000VADriver + IOKitDebug + 0 + IOMatchCategory + IOAccelerator + IOPCIMatch + 0x94001002 0x94011002 0x94021002 0x94031002 0x94401002 0x94411002 0x94421002 0x94431002 0x944A1002 0x944C1002 0x944E1002 0x945A1002 0x94601002 0x94621002 0x94801002 0x94881002 0x94901002 0x949E1002 0x94A01002 0x94C81002 0x94C91002 0x95001002 0x95011002 0x95041002 0x95051002 0x95061002 0x95071002 0x95401002 0x95411002 0x954E1002 0x954F1002 0x95521002 0x95531002 0x95811002 0x95831002 0x95881002 0x95911002 0x95931002 0x95981002 0x95991002 0x94001002 0x94011002 0x94021002 0x94031002 0x95811002 0x95831002 0x95881002 0x94c81002 0x94c91002 0x95001002 0x95011002 0x95051002 0x95071002 0x95041002 0x95061002 0x95981002 0x95991002 0x95911002 0x95931002 0x94401002 0x94421002 0x94561002 0x944A1002 0x945A1002 0x94901002 0x949E1002 0x94801002 0x95401002 0x95411002 0x954E1002 0x954F1002 0x95521002 0x95531002 0x94881002 + IOProviderClass + IOPCIDevice + IOSourceVersion + 1.6.10.32 + IOVARendererID + 16908288 + sensor-properties + + + device_type + + Z3B1LXNlbnNvcg== + + location + GPU + name + gpu-sensor + polling-period + + AAAAAQAAAAA= + + reg + + AAAAAg== + + sample-period + + AAAAAACYmAA= + + sensor-id + + AAAABg== + + version + + AAAAAg== + + zone + + AAAAAg== + + + + + ATIRadeonX3000 + + ATIEnableWideBlitSupport + + ATIUseTearingWideBlit + + CFBundleIdentifier + com.apple.ATIRadeonX3000 + GpuDebugPolicy + 0 + IOCFPlugInTypes + + ACCF0000-0000-0000-0000-000a2789904e + ATIRadeonX3000GA.plugin + + IOClass + ATIRadeonX3000 + IODVDBundleName + ATIRadeonX3000VADriver + IOKitDebug + 0 + IOMatchCategory + IOAccelerator + IOPCIMatch + 0x68801002 0x68881002 0x68891002 0x68901002 0x68981002 0x68991002 0x689C1002 0x689D1002 0x689E1002 0x68A01002 0x68A11002 0x68A81002 0x68A91002 0x68B01002 0x68B11002 0x68B81002 0x68B91002 0x68BE1002 0x68C01002 0x68C11002 0x68C81002 0x68C91002 0x68D01002 0x68D11002 0x68D81002 0x68D91002 0x68DA1002 0x68DE1002 0x68E01002 0x68E11002 0x68E81002 0x68E91002 0x68F01002 0x68F11002 0x68F81002 0x68F91002 0x68FE1002 + IOProviderClass + IOPCIDevice + IOSourceVersion + 1.6.18.10 + IOVARendererID + 16908288 + sensor-properties + + + device_type + + Z3B1LXNlbnNvcg== + + location + GPU + name + gpu-sensor + polling-period + + AAAAAQAAAAA= + + reg + + AAAAAg== + + sample-period + + AAAAAACYmAA= + + sensor-id + + AAAABg== + + version + + AAAAAg== + + zone + + AAAAAg== + + + + + AppleAHCIDiskDriver + + CFBundleIdentifier + com.apple.iokit.IOAHCIBlockStorage + IOClass + AppleAHCIDiskDriver + IOProbeScore + 1000 + IOProviderClass + IOAHCIDevice + Physical Interconnect + SATA + Physical Interconnect Location + Internal + Protocol Characteristics + + Physical Interconnect + SATA + Physical Interconnect Location + Internal + + + AppleLPC + + CFBundleIdentifier + com.apple.driver.AppleLPC + IOClass + AppleLPC + IONameMatch + + pci8086,2812 + pci8086,2919 + pci8086,2929 + pci8086,283a + pci8086,2640 + pci8086,2641 + pci8086,25a1 + pci8086,2440 + pci8086,244c + pci8086,2480 + pci8086,248c + pci8086,24c0 + pci8086,24cc + pci8086,24dc + pci8086,27bc + pci8086,27b8 + pci8086,3a1a + pci8086,3a16 + pci8086,3b0d + + IOProbeScore + 1000 + IOProviderClass + IOPCIDevice + + Atheros Wireless LAN PCI i386 + + CFBundleIdentifier + com.apple.driver.AirPort.Atheros + IOClass + AirPort_AthrFusion + IOMatchCategory + IODefaultMatchCategory + IONameMatch + + pci168c,13 + pci168c,2b + pci168c,1a + pci168c,2a + + IOProviderClass + IOPCIDevice + + Atheros Wireless LAN PCI x86_64 + + CFBundleIdentifier + com.apple.driver.AirPort.Atheros21 + IOClass + AirPort_AthrFusion21 + IOMatchCategory + IODefaultMatchCategory + IONameMatch + + pci168c,13 + pci168c,2b + pci168c,1a + pci168c,2a + + IOProbeScore + 424 + IOProviderClass + IOPCIDevice + + Controller ATI4800 + + CFBundleIdentifier + com.apple.kext.ATI4800Controller + IOClass + ATI4800Controller + IOMatchCategory + IOFramebuffer + IOName + ATI4800Controller + IOPCIMatch + 0x94401002 0x94411002 0x94421002 0x94431002 0x944A1002 0x944C1002 0x944E1002 0x94601002 0x94621002 + IOProbeScore + 65000 + IOProviderClass + IOPCIDevice + aty_config + + CFG_USE_SRRB + + + + Controller ATI5000 + + CFBundleIdentifier + com.apple.kext.ATI5000Controller + IOClass + ATI5000Controller + IOMatchCategory + IOFramebuffer + IOName + ATI5000Controller + IOPCIMatch + 0x68981002 0x68991002 0x689C1002 0x689E1002 0x68A01002 0x68A11002 0x68B01002 0x68B11002 0x68B81002 0x68B91002 0x68BE1002 0x68C01002 0x68C11002 0x68D81002 0x68D91002 0x68DA1002 0x68E01002 0x68E11002 0x68F91002 + IOProbeScore + 65000 + IOProviderClass + IOPCIDevice + aty_config + + CFG_USE_SRRB + + CFG_USE_USCN + + + + ESB2 AHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + ESB2 AHCI + IOClass + AppleAHCI + IOPCIPrimaryMatch + 0x26818086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + ESB2 ATA/100 + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ESB2 ATA/100 + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x269e8086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Supported Transfer Modes + 0x3f061d + + ESB2 Serial ATA + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ESB2 SATA + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x26808086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Serial ATA + + Supported Transfer Modes + 0x3f061d + + GenericAHCI + + CFBundeIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + AHCI Standard Controller + IOClass + AppleAHCI + IOPCIClassMatch + 0x01060100&0xffffff00 + IOProbeScore + 800 + IOProviderClass + IOPCIDevice + Vendor Name + Unknown + + ICH ATA Controller + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x24118086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Supported Transfer Modes + 0x1f061d + + ICH0 ATA Controller + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH0 + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x24218086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Supported Transfer Modes + 0x07061d + + ICH10 2 Port Serial ATA + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH10 SATA + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x3a268086 0x3a068086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + PCS Port Map + + kgGTAZICkwKSBJMEkgiTCA== + + Serial ATA + + Supported Transfer Modes + 0x3f061d + + ICH10 Serial ATA + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH10 SATA + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x3a208086 0x3a008086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + PCS Port Map + + kgGTAZICkwKSBJMEkgiTCA== + + Serial ATA + + Supported Transfer Modes + 0x3f061d + + ICH10AHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + ICH10 AHCI + IOClass + AppleAHCI + IOPCIPrimaryMatch + 0x3A028086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + ICH10RAHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + ICH10-R AHCI + IOClass + AppleAHCI + IOPCIPrimaryMatch + 0x3A228086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + ICH10RAID + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + ICH10 RAID + IOClass + AppleAHCI + IOPCIPrimaryMatch + 0x3A058086 0x28228086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + ICH10RRAID + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + ICH10-R RAID + IOClass + AppleAHCI + IOPCIPrimaryMatch + 0x3A258086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + ICH2 ATA/100 Controller + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH2 ATA/100 + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x244A8086 0x244B8086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Supported Transfer Modes + 0x3f061d + + ICH2 ATA/66 Controller + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH2 ATA/66 + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x24418086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Supported Transfer Modes + 0x1f061d + + ICH3 ATA/100 Controller + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH3 ATA/100 + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x248A8086 0x248B8086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Supported Transfer Modes + 0x3f061d + + ICH3 ATA/66 Controller + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH3 ATA/66 + IOClass + AppleIntelPIIXATARoot + IOPCIClassMatch + 0x01010000&0xffff0000 + IOPCIPrimaryMatch + 0x24818086 0x24818086 + IOProbeScore + 1800 + IOProviderClass + IOPCIDevice + Supported Transfer Modes + 0x1f061d + + ICH4 ATA/100 Controller + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH4 ATA/100 + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x24CB8086 0x24CA8086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Supported Transfer Modes + 0x3f061d + + ICH5 ATA/100 Controller + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH5 ATA/100 + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x24DB8086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Supported Transfer Modes + 0x3f061d + + ICH5 Serial ATA Controller + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH5 SATA + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x24D18086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Serial ATA + + Supported Transfer Modes + 0x3f061d + + ICH6 ATA/100 Controller + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH6 ATA/100 + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x266f8086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Supported Transfer Modes + 0x3f061d + + ICH6 ESB2 AHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + ESB2 AHCI + IOClass + AppleAHCI + IOPCIPrimaryMatch + 0x26818086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + ICH6 Serial ATA Controller + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH6 SATA + IOClass + AppleIntelPIIXATARoot + IOPCIClassMatch + 0x01010000&0xffff0000 + IOPCIPrimaryMatch + 0x26528086 0x26518086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Serial ATA + + Supported Transfer Modes + 0x3f061d + + ICH6-M Serial ATA Controller + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH6-M SATA + IOClass + AppleIntelPIIXATARoot + IOPCIClassMatch + 0x01010000&0xffff0000 + IOPCIPrimaryMatch + 0x26538086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Serial ATA + + Supported Transfer Modes + 0x3f061d + + ICH7 ATA/100 + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH7 ATA/100 + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x27df8086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Supported Transfer Modes + 0x3f061d + + ICH7 Serial ATA + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH7 SATA + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x27c08086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Serial ATA + + Supported Transfer Modes + 0x3f061d + + ICH7-M Serial ATA + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH7-M SATA + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x27c48086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Serial ATA + + Supported Transfer Modes + 0x3f061d + + ICH7MAHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + ICH7-M AHCI + IOClass + AppleAHCI + IOPCIPrimaryMatch + 0x27c58086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + ICH7MRAID + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + ICH7-M RAID + IOClass + AppleAHCI + IOPCIPrimaryMatch + 0x27c68086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + ICH7RAHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + ICH7-R AHCI + IOClass + AppleAHCI + IOPCIPrimaryMatch + 0x27c18086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + ICH7RRAID + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + ICH7-R RAID + IOClass + AppleAHCI + IOPCIPrimaryMatch + 0x27c38086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + ICH8 2 Port Serial ATA + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH9 2PTS SATA + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x28258086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + PCS Port Map + + kgGTAZICkwKSBJMEkgiTCA== + + Serial ATA + + Supported Transfer Modes + 0x3f061d + + ICH8 ATA/100 + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH8 ATA/100 + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x28508086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Supported Transfer Modes + 0x3f061d + + ICH8 Serial ATA + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH8 SATA + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x28288086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + PCS Port Map + + kgGTAZICkwKSBJMEkgiTCA== + + Serial ATA + + Supported Transfer Modes + 0x3f061d + + ICH8-M Serial ATA + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH8-M SATA + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x28288086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + PCS Port Map + + kgGTAZICkwKSBJMEkgiTCA== + + Serial ATA + + Supported Transfer Modes + 0x3f061d + + ICH8AHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + ICH8 AHCI + IOClass + AppleAHCI + IOPCIPrimaryMatch + 0x28248086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + ICH8MAHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + ICH8-M AHCI + IOClass + AppleICH8AHCI + IOPCIPrimaryMatch + 0x28298086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + ICH8MRAID + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + ICH8-M RAID + IOClass + AppleAHCI + IOPCIPrimaryMatch + 0x282a8086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + ICH8RAHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + ICH8-R AHCI + IOClass + AppleAHCI + IOPCIPrimaryMatch + 0x28218086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + ICH8RRAID + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + ICH8-R RAID + IOClass + AppleAHCI + IOPCIPrimaryMatch + 0x28228086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + ICH9 2 Port Serial ATA + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH9 2PTS SATA + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x29218086 0x29268086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + PCS Port Map + + kgGTAZICkwKSBJMEkgiTCA== + + Serial ATA + + Supported Transfer Modes + 0x3f061d + + ICH9 Serial ATA + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH9 SATA + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x29208086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + PCS Port Map + + kgGTAZICkwKSBJMEkgiTCA== + + Serial ATA + + Supported Transfer Modes + 0x3f061d + + ICH9-M Serial ATA + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + ICH9-M SATA + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x29288086 0x292d8086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + PCS Port Map + + kgGTAZICkwKSBJMEkgiTCA== + + Serial ATA + + Supported Transfer Modes + 0x3f061d + + ICH9AHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + ICH9 AHCI + IOClass + AppleAHCI + IOPCIPrimaryMatch + 0x29238086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + ICH9MAHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + ICH9-M AHCI + IOClass + AppleAHCI + IOPCIPrimaryMatch + 0x29298086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + ICH9MRAID + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + ICH9-M RAID + IOClass + AppleAHCI + IOPCIPrimaryMatch + 0x292c8086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + ICH9RAHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + ICH9-R AHCI + IOClass + AppleAHCI + IOPCIPrimaryMatch + 0x29228086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + ICH9RRAID + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + ICH9-R RAID + IOClass + AppleAHCI + IOPCIPrimaryMatch + 0x29258086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + IFake_Built-in_iSight + + CFBundleIdentifier + com.apple.driver.AppleUSBMergeNub + IOClass + AppleUSBMergeNub + IOProviderClass + IOUSBDevice + IOProviderMergeProperties + + USB Product Name + Built-in iSight + iProduct + 2 + kSuspendPort + + non-removable + yes + + idProduct + 45188 + idVendor + 1266 + + Intel5SeriesAHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + 5 Series Chipset + IOClass + AppleIntel5SeriesAHCI + IONameMatch + + pci8086,3b22 + pci8086,3b2f + pci8086,3b29 + + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + Intel + + KAny Wired Keyboard ISO 1 + + CFBundleIdentifier + com.apple.driver.AppleUSBHIDKeyboard + DebuggingOn + + FWCapsLockDelay + + HIDDefaultBehavior + + IOClass + AppleUSBHIDKeyboard + IOKitDebug + 0 + IOProviderClass + IOUSBInterface + bConfigurationValue + 1 + bInterfaceNumber + 0 + idProduct + 1234 + idVendor + 1234 + + KAny Wired Keyboard ISO 2 + + CFBundleIdentifier + com.apple.driver.AppleUSBHIDKeyboard + DebuggingOn + + HIDDefaultBehavior + + IOClass + AppleUSBHIDKeyboard + IOKitDebug + 0 + IOProviderClass + IOUSBInterface + bConfigurationValue + 1 + bInterfaceNumber + 1 + idProduct + 1234 + idVendor + 1234 + + KFake_Apple_Keyboard_Device + + CFBundleIdentifier + com.apple.driver.AppleUSBMergeNub + IOClass + AppleUSBMergeNub + IOProviderClass + IOUSBDevice + IOProviderMergeProperties + + USB Product Name + Apple Keyboard + USB Vendor Name + Apple, Inc + bcdDevice + 105 + idProduct + 545 + idVendor + 1452 + + idProduct + 1234 + idVendor + 1234 + + KFake_Apple_Keyboard_Interface + + CFBundleIdentifier + com.apple.driver.AppleUSBMergeNub + IOClass + AppleUSBMergeNub + IOProviderClass + IOUSBInterface + IOProviderMergeProperties + + bcdDevice + 105 + idProduct + 545 + idVendor + 1452 + + bConfigurationValue + * + bInterfaceNumber + * + idProduct + 1234 + idVendor + 1234 + + Legacy JMB36X AHCI + + CFBundeIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + JMB36x AHCI + IOClass + AppleAHCI + IOPCIClassMatch + 0x01060100&0xffffff00 + IOPCIPrimaryMatch + 0x2360197b 0x2361197b 0x2362197b 0x2363197b 0x2366197b + IOProbeScore + 11000 + IOProviderClass + IOPCIDevice + Vendor Name + JMicron + + Legacy JMB36X RAID + + CFBundeIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + JMB360/JMB361/JMB362/JMB363/JMB366 RAID + IOClass + AppleAHCI + IOPCIClassMatch + 0x01040000&0xffff0000 + IOPCIPrimaryMatch + 0x2360197b 0x2361197b 0x2362197b 0x2363197b 0x2366197b + IOProbeScore + 11000 + IOProviderClass + IOPCIDevice + Vendor Name + JMicron + + MCP65 RAID AHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + MCP7A AHCI + IOClass + AppleMCP7AAHCI + IOPCIPrimaryMatch + 0x044c10de + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + NVidia + + MCP65AHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + MCP7A AHCI + IOClass + AppleMCP7AAHCI + IOPCIPrimaryMatch + 0x044d10de 0x044f10de + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + NVidia + + MCP67 RAID AHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + MCP7A AHCI + IOClass + AppleMCP7AAHCI + IOPCIPrimaryMatch + 0x055810de 0x055910de 0x055A10de + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + NVidia + + MCP67AHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + MCP7A AHCI + IOClass + AppleMCP7AAHCI + IOPCIPrimaryMatch + 0x055410de 0x055510de 0x055610de + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + NVidia + + MCP67DAHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + MCP7A AHCI + IOClass + AppleMCP7AAHCI + IOPCIPrimaryMatch + 0x044e10de + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + NVidia + + MCP72 RAID AHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + MCP79 AHCI + IOClass + AppleMCP79AHCI + IOPCIPrimaryMatch + 0x07b910de + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + NVidia + + MCP72AHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + MCP79 AHCI + IOClass + AppleMCP79AHCI + IOPCIPrimaryMatch + 0x07b510de + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + NVidia + + MCP73 RAID AHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + MCP79 AHCI + IOClass + AppleMCP79AHCI + IOPCIPrimaryMatch + 0x07f810de 0x07f910de 0x07fa10de 0x07fb10de + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + NVidia + + MCP73AHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + MCP79 AHCI + IOClass + AppleMCP79AHCI + IOPCIPrimaryMatch + 0x07f410de 0x07f510de 0x07f610de 0x07f710de + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + NVidia + + MCP79 RAID AHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + MCP79 AHCI + IOClass + AppleMCP79AHCI + IOPCIPrimaryMatch + 0x0abc10de 0x0abd10de + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + NVidia + + MCP79AHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + MCP79 AHCI + IOClass + AppleMCP79AHCI + IOPCIPrimaryMatch + 0x0ab910de 0x0ab810de + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + NVidia + + MCP7A Unknown AHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + MCP7A AHCI + IOClass + AppleMCP7AAHCI + IOPCIPrimaryMatch + 0x076810de + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + NVidia + + MCP7AAHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + MCP7A AHCI + IOClass + AppleMCP7AAHCI + IOPCIPrimaryMatch + 0x0aa310de 0x0ab810de + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + NVidia + + MCP89AHCI + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + MCP89 AHCI + IOClass + AppleMCP89AHCI + IOPCIPrimaryMatch + 0x0d8810de + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Vendor Name + NVidia + + MFake_Apple_Mouse_Device + + CFBundleIdentifier + com.apple.driver.AppleUSBMergeNub + IOClass + AppleUSBMergeNub + IOProviderClass + IOUSBDevice + IOProviderMergeProperties + + USB Product Name + Apple Optical USB Mouse + USB Vendor Name + Primax Electronics + bcdDevice + 272 + idProduct + 772 + idVendor + 1452 + + idProduct + 50446 + idVendor + 1133 + + MFake_Apple_Mouse_Interface + + CFBundleIdentifier + com.apple.driver.AppleUSBMergeNub + IOClass + AppleUSBMergeNub + IOProviderClass + IOUSBInterface + IOProviderMergeProperties + + bcdDevice + 272 + idProduct + 772 + idVendor + 1452 + + bConfigurationValue + * + bInterfaceNumber + * + idProduct + 50446 + idVendor + 1133 + + MWiredMouse-any + + CFBundleIdentifier + com.apple.driver.AppleUSBHIDMouse + HIDDefaultBehavior + Mouse + IOClass + AppleHIDMouse + IOProviderClass + IOUSBInterface + bConfigurationValue + 1 + bInterfaceNumber + 0 + idProduct + 50446 + idVendor + 1133 + + MWiredMouseAccel-any + + AppleHIDMouseVersion + 256 + CFBundleIdentifier + com.apple.iokit.IOHIDFamily + HIDScrollAccelerationTable + + AACAAFVTQioACAAAAAAAAQABAAAAAKAAAAAgAAARAACAAAABITgA + APd3AAMEhQABkREABbM1AAIzMwAIjM8AAxmaAA0+ggAECIkAExyh + AAT3dwAZ0VcABiIiACKz/AAHm7kAL60rAAkL5ABAlHUACubxAFm3 + 6AAMzfUAcQCiAA8nmwCKvFgAEdQ+AKNZoQAUyDoAwOAEABfUJwDY + opEAG0+XAPCMwAAAUAAAEQAAgAAAAkgLAADu7wAFB4kAAWZmAAg2 + +QACGZoADROXAALERAARml4AA5ERABciqAAEqqsAH4SMAAXVVQAp + EtwAB1gvADlNsAAI+gEASsYnAArm8QBkfA4ADM31AH6QEgAPJ5sA + m2JOABHUPgC2878AFQGcANyUtgAYFoAA+RU7ABtPlwENanAAAIAA + ABEAAHd3AAP8iwAA5mYAB2dLAAFMzQALY9UAAczNAA+pRQACgAAA + Fez7AANVVQAceZUABMzNACjcjQAGREQANfVWAAd3dwBC3IcACPd3 + AFP6RgAK5vEAcIrxAAzN9QCNwBQADyebAK4HtAAR1D4AzOgJABUO + wgD2msAAGCOmARWVwAAbT5cBLb7kAACwAAARAACIiQAHrbYAAPd3 + AA0+ggABd3cAExyhAAIIiQAZUJYAAszNACGyegADzM0AKxXgAATu + 7wA1pbIABhERAEDhMAAHme8AUcnXAAkQqwBjyIMACs/hAIEhmgAM + zfUAnsKmAA8nmwDC6egAEgcEAOyw1QAVDsIBExtGABg8dQE2zfoA + GwY+AUv0OgAA4AAAEQAAgAAACyXBAAD6sQAXwo4AAXgJACAlVgAC + HyoAKTsFAALwEwAztn8AA/ixAD+XxgAFAVAAShNBAAYztgBV9IgA + B1gvAGM7mgAI3d4AdvcJAAqzMwCV8gkADOQyALnh/gAPJ5sA2k2o + ABHUPgEBCNoAFP1bASmGugAYJnkBUgSeABrppwFjp94AAQAAABEA + ACqrAA2aKgAAbu8AG1SSAADd3gApDvoAAYiJADUF/QAClmEAQF4p + AAOLXgBMUmQABKSmAFkyBgAF0BUAZSZBAAcx9AB2nuYACK+5AIkC + 8QAKszMAp/BcAAzkMgDQMFAADyebAPR/7wAR1D4BH+D0ABT9WwFN + OrwAGCZ5AXqUiAAa6acBjlWcAAGzMwARAAAqqwAPPAYAAG7vAB6c + KQAA3d4ALfxLAAGIiQA7Yt4AApZhAEgXigADi14AVXsAAASkpgBj + 5hsABdAVAHFJkQAHMfQAhNrtAAivuQCZc+8ACrMzALwXcQAM5DIA + 6SvfAA8nmwER1vgAEdQ+AUJslgAU/VsBdTeKABgmeQGoAoQAGumn + Ab4icg== + + HIDScrollAccelerationTableX + + AACAAFVTQioACAAAAAAAAQABAAAAAQAAAAAgAAARAACAAAACGcMA + AQAAAAQq2wABd3cAB4BXAAIzMwAPfbMAAyqrABki6QAEEREAIeel + AAUZmgAqYY4ABmZmADX7bgAHzM0AQ3pJAAlVVQBUNk8ACwAAAGel + TQAM3d4AfcwjAA8zMwCaeMkAEd3eALqW3AAU5mYA23dyABfd3gD5 + ZcEAGyIiARiOHAAAUAAADwAAgAAABDOHAAEAAAAKdCgAAgAAABkc + CQADREQAKISDAASiIgA1EogABhERAER7AgAHzM0AVivaAAkZmgBm + JmwACqIiAHqxuQAMZmYAkYVkAA73dwCw6G8AEZERANDdkgAVCIkA + +D3nABgREQEXoPIAGxmaATakNgAAgAAADwAAgAAACBo6AAEIiQAU + eswAAfd3ACNrCwADEREAM3TgAARMzQBC06EABcREAFQznQAHZmYA + Zj6tAAk7vAB8TDEACxERAJRa8AANGZoArxX9AA87vADKfB4AEhER + AO/oZAAVGZoBFVSqABgiIgE1aFIAGxmaAVS6UAAAsAAADwAAgAAA + EDR1AAEIiQAeVxsAAczNAC2CqQAC1VUAPvS/AAP3dwBRKQMABYAA + AGZl/AAHVVUAfel+AAk7vACW8VsACvd3AKzwggAM93cAyD7nAA9E + RADl09UAEgiJAQyC5AAVEREBMzH0ABgIiQFTDWoAGxmaAXLQagAA + 4AAADwAAgAAAGAHcAAEIiQAoNlEAAaqrADghJgACmZoAS9nEAAOz + MwBhFr4ABTMzAHlcbQAG5mYAkyZ4AAiZmgCsLlQACoiJAMd8ugAM + oiIA5RGoAA8REQEEKvAAEgAAASxeWgAVEREBUYkQABgzMwF0bTwA + GxERAZDmhAABAAAADwAAgAAAIBwXAAEAAAA0Nz8AAZmaAEVwCwAC + d3cAWkTbAAN3dwBvGasABPd3AIxrGwAGmZoAqPcIAAhu7wDHDfwA + CkREAOLUZwAMZmYBAzviAA8ZmgEqlPoAEgiJAVUEHAAVGZoBfSK2 + ABg7vAGke84AGwAAAcKK/AABszMAEAAAgAAAKB1XAAEAAABALvIA + AXd3AFK8yQACEREAZBh0AAMZmgB/3fAABHd3AJ0zfQAFmZoAtISe + AAbERADMlkwACCIiAObpowAJ1VUBBD8wAAwiIgErW+wADqqrAU92 + cgARszMBfJeaABT3eAGpuMAAF+7vAdDVfAAbAAAB9C90 + + HIDScrollResolution + 2818048 + HIDScrollResolutionX + 2818048 + IOClass + IOHIDEventDriver + IOHIDScrollReportRate + 8192000 + IOProviderClass + IOHIDInterface + ProductID + 50446 + VendorID + 1133 + + Marvell 88SE61xx eSATA/RAID + + CFBundleIdentifier + com.apple.driver.AppleAHCIPort + Chipset Name + 88SE61xx eSATA/RAID + IOClass + AppleAHCI + IOPCIClassMatch + 0x01040000&ffff0000 + IOPCIPrimaryMatch + 0x612111ab 0x611111ab 0x614511ab 0x610211ab + IOProbeScore + 10000 + IOProviderClass + IOPCIDevice + Vendor Name + Marvell + + NVidiaRM GF100 Fi + + CFBundleIdentifier + com.apple.nvidia.nvGF100hal + IOClass + NVDAGF100HAL + IOMatchCategory + IOService + IOPCIPrimaryMatch + 0x06c010de&0xffe0ffff 0x0dc010de&0xffc0ffff 0x0e2010de&0xffe0ffff 0x0ee010de&0xffe0ffff 0x0f0010de&0xffc0ffff + + IOProbeScore + 60000 + IOProviderClass + IOPCIDevice + + NVidiaRM Resman Fi + + CFBundleIdentifier + com.apple.NVDAResman + IOClass + NVDA + IOMatchCategory + IOFramebuffer + IONameMatch + + MNCA,GeForce2MX + NVDA,NVMac + + IOProbeScore + 60000 + IOProviderClass + IOPCIDevice + + NVidiaRM nv40hal Fi + + CFBundleIdentifier + com.apple.nvidia.nv40hal + IOClass + NVDANV40HAL + IOMatchCategory + IOService + IOPCIPrimaryMatch + 0x004010de&0xfff0ffff 0x00f010de&0xfff0ffff 0x022010de&0xfff0ffff 0x014010de&0xfff0ffff 0x016010de&0xfff0ffff 0x009010de&0xfff0ffff 0x01d010de&0xfff0ffff 0x039010de&0xfff0ffff 0x029010de&0xfff0ffff + IOProbeScore + 60000 + IOProviderClass + IOPCIDevice + + NVidiaRM nv50 Fi + + CFBundleIdentifier + com.apple.nvidia.nv50hal + IOClass + NVDANV50HAL + IOMatchCategory + IOService + IOPCIPrimaryMatch + 0x00f010de&0xfff0ffff 0x019010de&0xfff0ffff 0x040010de&0xfff0ffff 0x042010de&0xfff0ffff 0x05e010de&0xfff8ffff 0x05f010de&0xfff0ffff 0x060010de&0xffe0ffff 0x062010de&0xffe0ffff 0x064010de&0xffe0ffff 0x06e010de&0xfff0ffff 0x086010de&0xffe0ffff 0x08a010de&0xffe0ffff 0x0a2010de&0xffa0ffff 0x0ca010de&0xffe0ffff + IOProbeScore + 60000 + IOProviderClass + IOPCIDevice + + NVidiaRMPCIMatch Fi + + CFBundleIdentifier + com.apple.NVDAResman + IOClass + NVDA + IOMatchCategory + IOFramebuffer + IONameMatched + NVDA,NVMac + IOPCIPrimaryMatch + 0x06c010de&0xffe0ffff 0x0dc010de&0xffc0ffff 0x0e2010de&0xffe0ffff 0x0ee010de&0xffe0ffff 0x0f0010de&0xffc0ffff 0x011010de&0xfff8ffff 0x017010de&0xfff8ffff 0x017910de 0x018010de&0xfff8ffff 0x018810de 0x018910de 0x020010de&0xfff8ffff 0x025010de&0xfff8ffff 0x028010de&0xfff8ffff 0x030010de&0xfff8ffff 0x031010de&0xfff8ffff 0x031910de 0x034910de 0x05e010de&0xfff8ffff 0x05f010de&0xfff0ffff + IOProbeScore + 50000 + IOPropertyMatch + + name + display + + IOProviderClass + IOPCIDevice + + NVidiaRMTwinView Fi + + CFBundleIdentifier + com.apple.NVDAResman + IOClass + NVDA + IOMatchCategory + IOFramebuffer + IONameMatch + + MNCA,GeForce2MX + NVDA,NVMac + + IOProbeScore + 60000 + IOProviderClass + IONDRVDevice + + PCI SMBus Bridge + + CFBundleIdentifier + com.apple.driver.AppleSMBusPCI + IOClass + AppleSMBusPCI + IONameMatch + + pci8086,283e + pci8086,2892 + pci10de,0446 + pci10de,0264 + pci10de,0269 + pci10de,03eb + pci10de,0398 + pci10de,0752 + pci8086,266a + pci8086,27da + pci1002,4353 + pci1002,4372 + pci1002,4378 + pci1002,4385 + pci8086,2930 + pci8086,24c3 + pci8086,24d3 + pci8086,2483 + pci8086,25a4 + pci8086,3a60 + pci8086,3c30 + + IOProbeScore + 1000 + IOProviderClass + IOPCIDevice + + PIIX ATA Controller + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + PIIX + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x12308086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Shared Channel Timings + + Supported Transfer Modes + 0x00061d + + PIIX3 ATA Controller + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + PIIX3 + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x70108086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Supported Transfer Modes + 0x00061d + + PIIX4 ATA Controller + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + Controller Name + PIIX4 + IOClass + AppleIntelPIIXATARoot + IOPCIPrimaryMatch + 0x71118086 + IOProbeScore + 2000 + IOProviderClass + IOPCIDevice + Supported Transfer Modes + 0x07061d + + Parallel ATA Channel Driver + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + IOClass + AppleIntelPIIXPATA + IOProbeScore + 800 + IOProviderClass + AppleIntelPIIXATAChannel + Serial ATA + + + Serial ATA Channel Driver + + CFBundleIdentifier + com.apple.driver.AppleIntelPIIXATA + IOClass + AppleIntelICHxSATA + IOProbeScore + 1000 + IOProviderClass + AppleIntelPIIXATAChannel + Serial ATA + + + Yukon-88E8038 + + CFBundleIdentifier + com.apple.iokit.AppleYukon2 + EnableLowPwr + 1 + IOClass + yukon2osx + IOPCIPrimaryMatch + 0x435211ab + IOProviderClass + IOPCIDevice + MACNumber + 1 + Model + Yukon Gigabit Adapter 88E8038 Singleport Copper SA + NetworkNumber + 1 + RxDeadman + 60 + RxRingGrowOnPause + 10 + RxRingSize + 0 + RxRingSize_100MBit + 128 + RxRingSize_10MBit + 64 + RxRingSize_GigaBit + 256 + TxRingSize + 256 + Vendor + Marvell + + Yukon-88E8039 + + CFBundleIdentifier + com.apple.iokit.AppleYukon2 + EnableLowPwr + 1 + IOClass + yukon2osx + IOPCIPrimaryMatch + 0x435311ab + IOProviderClass + IOPCIDevice + MACNumber + 1 + Model + Yukon Gigabit Adapter 88E8039 Singleport Copper SA + NetworkNumber + 1 + RxDeadman + 60 + RxRingGrowOnPause + 10 + RxRingSize + 0 + RxRingSize_100MBit + 128 + RxRingSize_10MBit + 64 + RxRingSize_GigaBit + 256 + TxRingSize + 256 + Vendor + Marvell + + Yukon-88E8040 + + CFBundleIdentifier + com.apple.iokit.AppleYukon2 + EnableLowPwr + 1 + IOClass + yukon2osx + IOPCIPrimaryMatch + 0x435411ab + IOProviderClass + IOPCIDevice + MACNumber + 1 + Model + Yukon Gigabit Adapter 88E8040 Singleport Copper SA + NetworkNumber + 1 + RxDeadman + 60 + RxRingGrowOnPause + 10 + RxRingSize + 0 + RxRingSize_100MBit + 128 + RxRingSize_10MBit + 64 + RxRingSize_GigaBit + 256 + TxRingSize + 256 + Vendor + Marvell + + Yukon-88E8040T + + CFBundleIdentifier + com.apple.iokit.AppleYukon2 + EnableLowPwr + 1 + IOClass + yukon2osx + IOPCIPrimaryMatch + 0x435511ab + IOProviderClass + IOPCIDevice + MACNumber + 1 + Model + Yukon Gigabit Adapter 88E8040T Singleport Copper SA + NetworkNumber + 1 + RxDeadman + 60 + RxRingGrowOnPause + 10 + RxRingSize + 0 + RxRingSize_100MBit + 128 + RxRingSize_10MBit + 64 + RxRingSize_GigaBit + 256 + TxRingSize + 256 + Vendor + Marvell + + Yukon-88E8042 + + CFBundleIdentifier + com.apple.iokit.AppleYukon2 + EnableLowPwr + 1 + IOClass + yukon2osx + IOPCIPrimaryMatch + 0x435711ab + IOProviderClass + IOPCIDevice + MACNumber + 1 + Model + Yukon Gigabit Adapter 88E8042 Singleport Copper SA + NetworkNumber + 1 + RxDeadman + 60 + RxRingGrowOnPause + 10 + RxRingSize + 0 + RxRingSize_100MBit + 128 + RxRingSize_10MBit + 64 + RxRingSize_GigaBit + 256 + TxRingSize + 256 + Vendor + Marvell + + Yukon-88E8053 + + CFBundleIdentifier + com.apple.iokit.AppleYukon2 + EnableLowPwr + 1 + IOClass + yukon2osx + IOPCIPrimaryMatch + 0x436211ab + IOProviderClass + IOPCIDevice + MACNumber + 1 + Model + Yukon Gigabit Adapter 88E8053 Singleport Copper SA + NetworkNumber + 1 + RxDeadman + 60 + RxRingGrowOnPause + 10 + RxRingSize + 0 + RxRingSize_100MBit + 128 + RxRingSize_10MBit + 64 + RxRingSize_GigaBit + 256 + TxRingSize + 256 + Vendor + Marvell + + Yukon-88E8056 + + CFBundleIdentifier + com.apple.iokit.AppleYukon2 + EnableLowPwr + 1 + IOClass + yukon2osx + IOPCIPrimaryMatch + 0x436411ab + IOProviderClass + IOPCIDevice + MACNumber + 1 + Model + Yukon Gigabit Adapter 88E8056 Singleport Copper SA + NetworkNumber + 1 + RxDeadman + 60 + RxRingGrowOnPause + 10 + RxRingSize + 0 + RxRingSize_100MBit + 128 + RxRingSize_10MBit + 64 + RxRingSize_GigaBit + 256 + TxRingSize + 256 + Vendor + Marvell + + + OSBundleRequired + Local-Root + + Property changes on: trunk/PackageBuilder/package/Kexts/TotallyLegacy.kext/Contents/Info.plist ___________________________________________________________________ Added: svn:executable + * Index: trunk/PackageBuilder/package/Kexts/TotallyLegacy.kext/Contents/Resources/Italian.lproj/InfoPlist.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Kexts/TotallyLegacy.kext/Contents/Resources/Italian.lproj/InfoPlist.strings ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Kexts/TotallyLegacy.kext/Contents/Resources/English.lproj/InfoPlist.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Kexts/TotallyLegacy.kext/Contents/Resources/English.lproj/InfoPlist.strings ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Kexts/ZEvOreboot.kext/Contents/MacOS/EvOreboot =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Kexts/ZEvOreboot.kext/Contents/MacOS/EvOreboot ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Index: trunk/PackageBuilder/package/Kexts/ZEvOreboot.kext/Contents/Info.plist =================================================================== --- trunk/PackageBuilder/package/Kexts/ZEvOreboot.kext/Contents/Info.plist (revision 0) +++ trunk/PackageBuilder/package/Kexts/ZEvOreboot.kext/Contents/Info.plist (revision 340) @@ -0,0 +1,2585 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + EvOreboot + CFBundleIdentifier + es.osx86.driver.EvOreboot + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + EvOreboot + CFBundlePackageType + KEXT + CFBundleSignature + ???? + CFBundleVersion + 1.0.3 + IOKitPersonalities + + Fake_Apple_Mouse_Device + + CFBundleIdentifier + com.apple.driver.AppleUSBMergeNub + IOClass + AppleUSBMergeNub + IOProviderClass + IOUSBDevice + IOProviderMergeProperties + + USB Product Name + Apple Optical USB Mouse + USB Vendor Name + Primax Electronics + idProduct + 772 + idVendor + 1452 + bcdDevice + 272 + + idProduct + 49164 + idVendor + 1133 + + Fake_Apple_Mouse_Interface + + CFBundleIdentifier + com.apple.driver.AppleUSBMergeNub + IOClass + AppleUSBMergeNub + IOProviderClass + IOUSBInterface + IOProviderMergeProperties + + idProduct + 772 + idVendor + 1452 + bcdDevice + 272 + + bConfigurationValue + * + bInterfaceNumber + * + idProduct + 49164 + idVendor + 1133 + + WiredMouse-any + + CFBundleIdentifier + com.apple.driver.AppleUSBHIDMouse + HIDDefaultBehavior + Mouse + IOClass + AppleHIDMouse + IOProviderClass + IOUSBInterface + bConfigurationValue + 1 + bInterfaceNumber + 0 + idProduct + 49164 + idVendor + 1133 + + WiredMouseAccel-any + + AppleHIDMouseVersion + 256 + CFBundleIdentifier + com.apple.iokit.IOHIDFamily + HIDScrollAccelerationTable + AACAAFVTQioACAAAAAAAAQABAAAAAKAAAAAgAAARAACAAAABITgAAPd3AAMEhQABkREABbM1AAIzMwAIjM8AAxmaAA0+ggAECIkAExyhAAT3dwAZ0VcABiIiACKz/AAHm7kAL60rAAkL5ABAlHUACubxAFm36AAMzfUAcQCiAA8nmwCKvFgAEdQ+AKNZoQAUyDoAwOAEABfUJwDYopEAG0+XAPCMwAAAUAAAEQAAgAAAAkgLAADu7wAFB4kAAWZmAAg2+QACGZoADROXAALERAARml4AA5ERABciqAAEqqsAH4SMAAXVVQApEtwAB1gvADlNsAAI+gEASsYnAArm8QBkfA4ADM31AH6QEgAPJ5sAm2JOABHUPgC2878AFQGcANyUtgAYFoAA+RU7ABtPlwENanAAAIAAABEAAHd3AAP8iwAA5mYAB2dLAAFMzQALY9UAAczNAA+pRQACgAAAFez7AANVVQAceZUABMzNACjcjQAGREQANfVWAAd3dwBC3IcACPd3AFP6RgAK5vEAcIrxAAzN9QCNwBQADyebAK4HtAAR1D4AzOgJABUOwgD2msAAGCOmARWVwAAbT5cBLb7kAACwAAARAACIiQAHrbYAAPd3AA0+ggABd3cAExyhAAIIiQAZUJYAAszNACGyegADzM0AKxXgAATu7wA1pbIABhERAEDhMAAHme8AUcnXAAkQqwBjyIMACs/hAIEhmgAMzfUAnsKmAA8nmwDC6egAEgcEAOyw1QAVDsIBExtGABg8dQE2zfoAGwY+AUv0OgAA4AAAEQAAgAAACyXBAAD6sQAXwo4AAXgJACAlVgACHyoAKTsFAALwEwAztn8AA/ixAD+XxgAFAVAAShNBAAYztgBV9IgAB1gvAGM7mgAI3d4AdvcJAAqzMwCV8gkADOQyALnh/gAPJ5sA2k2oABHUPgEBCNoAFP1bASmGugAYJnkBUgSeABrppwFjp94AAQAAABEAACqrAA2aKgAAbu8AG1SSAADd3gApDvoAAYiJADUF/QAClmEAQF4pAAOLXgBMUmQABKSmAFkyBgAF0BUAZSZBAAcx9AB2nuYACK+5AIkC8QAKszMAp/BcAAzkMgDQMFAADyebAPR/7wAR1D4BH+D0ABT9WwFNOrwAGCZ5AXqUiAAa6acBjlWcAAGzMwARAAAqqwAPPAYAAG7vAB6cKQAA3d4ALfxLAAGIiQA7Yt4AApZhAEgXigADi14AVXsAAASkpgBj5hsABdAVAHFJkQAHMfQAhNrtAAivuQCZc+8ACrMzALwXcQAM5DIA6SvfAA8nmwER1vgAEdQ+AUJslgAU/VsBdTeKABgmeQGoAoQAGumnAb4icg== + HIDScrollAccelerationTableX + AACAAFVTQioACAAAAAAAAQABAAAAAQAAAAAgAAARAACAAAACGcMAAQAAAAQq2wABd3cAB4BXAAIzMwAPfbMAAyqrABki6QAEEREAIeelAAUZmgAqYY4ABmZmADX7bgAHzM0AQ3pJAAlVVQBUNk8ACwAAAGelTQAM3d4AfcwjAA8zMwCaeMkAEd3eALqW3AAU5mYA23dyABfd3gD5ZcEAGyIiARiOHAAAUAAADwAAgAAABDOHAAEAAAAKdCgAAgAAABkcCQADREQAKISDAASiIgA1EogABhERAER7AgAHzM0AVivaAAkZmgBmJmwACqIiAHqxuQAMZmYAkYVkAA73dwCw6G8AEZERANDdkgAVCIkA+D3nABgREQEXoPIAGxmaATakNgAAgAAADwAAgAAACBo6AAEIiQAUeswAAfd3ACNrCwADEREAM3TgAARMzQBC06EABcREAFQznQAHZmYAZj6tAAk7vAB8TDEACxERAJRa8AANGZoArxX9AA87vADKfB4AEhERAO/oZAAVGZoBFVSqABgiIgE1aFIAGxmaAVS6UAAAsAAADwAAgAAAEDR1AAEIiQAeVxsAAczNAC2CqQAC1VUAPvS/AAP3dwBRKQMABYAAAGZl/AAHVVUAfel+AAk7vACW8VsACvd3AKzwggAM93cAyD7nAA9ERADl09UAEgiJAQyC5AAVEREBMzH0ABgIiQFTDWoAGxmaAXLQagAA4AAADwAAgAAAGAHcAAEIiQAoNlEAAaqrADghJgACmZoAS9nEAAOzMwBhFr4ABTMzAHlcbQAG5mYAkyZ4AAiZmgCsLlQACoiJAMd8ugAMoiIA5RGoAA8REQEEKvAAEgAAASxeWgAVEREBUYkQABgzMwF0bTwAGxERAZDmhAABAAAADwAAgAAAIBwXAAEAAAA0Nz8AAZmaAEVwCwACd3cAWkTbAAN3dwBvGasABPd3AIxrGwAGmZoAqPcIAAhu7wDHDfwACkREAOLUZwAMZmYBAzviAA8ZmgEqlPoAEgiJAVUEHAAVGZoBfSK2ABg7vAGke84AGwAAAcKK/AABszMAEAAAgAAAKB1XAAEAAABALvIAAXd3AFK8yQACEREAZBh0AAMZmgB/3fAABHd3AJ0zfQAFmZoAtISeAAbERADMlkwACCIiAObpowAJ1VUBBD8wAAwiIgErW+wADqqrAU92cgARszMBfJeaABT3eAGpuMAAF+7vAdDVfAAbAAAB9C90 + HIDScrollResolution + 2818048 + HIDScrollResolutionX + 2818048 + IOClass + IOHIDEventDriver + IOHIDScrollReportRate + 8192000 + IOProviderClass + IOHIDInterface + ProductID + 49164 + VendorID + 1133 + + EvOreboot + + CFBundleIdentifier + es.osx86.driver.EvOreboot + IOClass + es_osx86_EvOreboot + IOMatchCategory + es_osx86_EvOreboot + IOProbeScore + -1000 + IOProviderClass + IOPlatformExpertDevice + IOResourceMatch + ACPI + + HDA Hardware Config Resource + + CFBundleIdentifier + com.apple.driver.AppleHDAHardwareConfigDriver + HDAConfigDefault + + + CodecID + 283903586 + ConfigData + AaccEAGnHTABpx4RAacfAQFHHCABRx1AAUceEQFHHwEBhxwwAYcdkAGHHqEBhx+RAbccQAG3HUABtx4hAbcfAgHnHFAB5x1hAeceSwHnHwE= + FuncGroup + 1 + LayoutID + 662 + + + IOClass + AppleHDAHardwareConfigDriver + IOMatchCategory + AppleHDAHardwareConfigDriver + IOProviderClass + AppleHDAHardwareConfigDriverLoader + + HDA Platform Resource + + CFBundleIdentifier + com.apple.driver.AppleHDAPlatformDriver + CommonPeripheralDSP + + + DeviceID + 0 + DeviceType + Headphone + + + DeviceID + 1 + DeviceType + Headphone + + + DeviceID + 2 + DeviceType + Headphone + + + DeviceID + 3 + DeviceType + Headphone + SignalProcessing + + SoftwareDSP + + DspFunction0 + + FunctionInfo + + DspFuncInstance + 0 + DspFuncName + DspVirtualization + DspFuncProcessingIndex + 0 + + ParameterInfo + + 1 + 0 + 10 + 0 + 11 + 1 + 12 + -1054589891 + 13 + -1048976926 + 14 + 16 + 15 + 159 + 16 + -1044027031 + 17 + 5 + 18 + 219 + 19 + 405 + 2 + 0 + 20 + -1047265280 + 21 + 3 + 22 + 1728 + 23 + 4143 + 24 + -1046617630 + 25 + 4055 + 26 + 10238 + 27 + 70 + 28 + 1049587568 + 29 + 0 + 3 + -1071891397 + 30 + -1056316958 + 31 + 1000119450 + 32 + 16 + 33 + -1051999293 + 34 + 1011271366 + 35 + 4 + 36 + -1051999293 + 37 + 0 + 38 + 128 + 39 + 2 + 4 + -1094466626 + 40 + -1066710196 + 41 + -1094466626 + 42 + 0 + 43 + NYuLOzzZXLz9XXs9IDymPLTYPz38St89+Eebvjg51r0IVw4/1kS/PvXFrz3A9I48eQK/u4Y9Jr2puQ++Lli9vP7977yy9Ke9OoKxPGvGybr8foa8AMAVPevOrTyYN7I7xfsmPQ1flDzoVYe81L+HPHUWY7lhYRC8RalZPN7KRbysvJi7c8JGOy7IB719UVG870SgPC3xc7zXL/68mRpcvAl5SLzYMl+8oN83vCj8ZrpJJei7iG7EvC2E47slg2q6MPOOu45Y1ruQeM27iFo+OxIMLrx3ykG77Kdru1oBELsqbjk8x2IjvHAKdbxMQPK6Xot9O42WgTqko1y8Xt1YvC1dEDpvwCq6DFvzupzc+rlHoka7VNeFu+70Hrsb0rC72QopuXBfgjtqOIM7rH5LPFAeGjxYzyk8GdNtPJDWPTxK5JI8Cl4Fu6BtvjmAnw09+CksPCEsRLxE32a8k7LSvGCeIbzqkru6dARLu65JWjzBIvw8ex8dPXLbGj18hCQ9yak5PWZ1XT1+BHM9QCZ1PRoQfT206G09wH5jPSebWz2XE1096yxRPbA2HT342Qc9UVcOPW1iGT1kVgc9PTLQPPyGujz0GWI8qG72O6uj2DuXAM47QSQCPKzSRDvP4ia715yCu576w7vuY6u7sVYTu3xYZzrcM5w6K+k3uy7SO7u0fes8oXOUPEEmTD2Jrwu9sAHcPTiig77tro48pMaOPpiyoj3DcfM9oBx/PcH98TyVgxI9iCpSPbV0b70V1+o9xRQ4PSfYFD2JXaq95ZeEvddEEb07XCO9sxNgO6mgljqMGJk7CCeqvN2N3zumjwG8n+gAvc13NryLF+W8ZGMtvdeosLz+b768vRqnu3zP2LyX9w69WYGPvAGkHrzQH/m60g4GvBrE6rv9ugO8U0I9u/x+KbvhxFW85uM6vGMlVLwdjYO8gNhbvHqUmrufiJe7jXnvu+W737uO8B+8TULlu/Eymrrmdrg6kWWTuw8yL7t4pdG7/lMwvIa4xzoAAAAAeNuEO8uDqTtnnW475lGqO/y5ljtCwbk7MX11O/MGpDt16aA7GlGcOwo7zztqQLo78szrO1636Dt2jbE77be0u8Jxi7uZQOg7dd68O8Bv+zvnp1881QKgPL5F5zx+UgE9/8+3PEknfDyf5pu8VHzmu47WNj0esYw86CRfPFp58jw/RCs9cMRdPWn7Wj3kPME8Gd4XvAxZ3ToiwQA77w+MuwYpKLy6ZC283lFRvObQprt4LvE7FQU4PMo+kzzSX5o8Exm2PGmmqTxilFM76Z6ZOrUAzTkzWnA5taQlOlVP8zra5Z07WPf1O36HKjyspVw8BZVOPGo9CzyBj5M7AAAAAAAAAAAAAAAA55Jbu6YSv7yHl7U86lYIveQ7oz3vOzU/5DujPepWCL2Hl7U8phK/vOeSW7tY91k8LQsCO2YQYzyPzRC8jpl0vMwPhbwszo68lZqZu6TdErvCyJM6IdKjOqqn4Lrk6Bs4EXZzOshgYzsk28Q7LYm/O+GKtTs4aGU7bB2aOm1rhjmvwyW6soQ0uQgMXTjFF0K6xpLEuiurOLsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA= + 5 + -1054158126 + 6 + -1062577574 + 7 + 0 + 8 + 0 + 9 + 1 + + PatchbayInfo + + + DspFunction1 + + FunctionInfo + + DspFuncInstance + 1 + DspFuncName + DspEqualization32 + DspFuncProcessingIndex + 1 + + ParameterInfo + + 1 + 0 + 9 + 0 + Filter + + + 2 + 0 + 3 + 5 + 4 + 0 + 5 + 4 + 6 + 1135599904 + 7 + 1092049398 + 8 + -1071583482 + + + 2 + 0 + 3 + 6 + 4 + 0 + 5 + 4 + 6 + 1137098340 + 7 + 1094327844 + 8 + -1071316470 + + + 2 + 0 + 3 + 15 + 4 + 0 + 5 + 4 + 6 + 1156483412 + 7 + 1064535200 + 8 + 1072718281 + + + 2 + 1 + 3 + 5 + 4 + 0 + 5 + 4 + 6 + 1135599904 + 7 + 1092049398 + 8 + -1071583482 + + + 2 + 1 + 3 + 6 + 4 + 0 + 5 + 4 + 6 + 1137098340 + 7 + 1094327844 + 8 + -1071316470 + + + 2 + 1 + 3 + 15 + 4 + 0 + 5 + 4 + 6 + 1156483412 + 7 + 1064535200 + 8 + 1072718281 + + + + PatchbayInfo + + InputPort0 + + PortInstance + 0 + PortWidth + 1 + SourceFuncInstance + 0 + SourcePortIndex + 0 + + InputPort1 + + PortInstance + 1 + PortWidth + 1 + SourceFuncInstance + 0 + SourcePortIndex + 1 + + + + DspFunction2 + + FunctionInfo + + DspFuncInstance + 2 + DspFuncName + DspVolume + DspFuncProcessingIndex + 2 + + ParameterInfo + + 1 + 0 + 2 + 0 + 3 + 0 + 4 + 0 + 5 + 0 + + PatchbayInfo + + InputPort0 + + PortInstance + 0 + PortWidth + 1 + SourceFuncInstance + 1 + SourcePortIndex + 0 + + InputPort1 + + PortInstance + 1 + PortWidth + 1 + SourceFuncInstance + 1 + SourcePortIndex + 1 + + + + + + + + DeviceID + 4 + DeviceType + Headphone + SignalProcessing + + SoftwareDSP + + DspFunction0 + + FunctionInfo + + DspFuncInstance + 0 + DspFuncName + DspVirtualization + DspFuncProcessingIndex + 0 + + ParameterInfo + + 1 + 0 + 10 + -1094466626 + 11 + 1 + 12 + -1064304640 + 13 + -1058259907 + 14 + 16 + 15 + 124 + 16 + -1043595264 + 17 + 5 + 18 + 204 + 19 + 405 + 2 + 0 + 20 + -1046401747 + 21 + 3 + 22 + 1824 + 23 + 4033 + 24 + -1051135759 + 25 + 4055 + 26 + 10128 + 27 + 30 + 28 + 1057075633 + 29 + 0 + 3 + -1085584568 + 30 + -1056316958 + 31 + 1000119450 + 32 + 16 + 33 + -1062577574 + 34 + 1017488806 + 35 + 4 + 36 + -1060850508 + 37 + -1094466626 + 38 + 126 + 39 + 2 + 4 + -1094466626 + 40 + -1094466626 + 41 + 0 + 42 + 1038707048 + 43 + NYuLOzzZXLz9XXs9IDymPLTYPz38St89+Eebvjg51r0IVw4/1kS/PvXFrz3A9I48eQK/u4Y9Jr2puQ++Lli9vP7977yy9Ke9OoKxPGvGybr8foa8AMAVPevOrTyYN7I7xfsmPQ1flDzoVYe81L+HPHUWY7lhYRC8RalZPN7KRbysvJi7c8JGOy7IB719UVG870SgPC3xc7zXL/68mRpcvAl5SLzYMl+8oN83vCj8ZrpJJei7iG7EvC2E47slg2q6MPOOu45Y1ruQeM27iFo+OxIMLrx3ykG77Kdru1oBELsqbjk8x2IjvHAKdbxMQPK6Xot9O42WgTqko1y8Xt1YvC1dEDpvwCq6DFvzupzc+rlHoka7VNeFu+70Hrsb0rC72QopuXBfgjtqOIM7rH5LPFAeGjxYzyk8GdNtPJDWPTxK5JI8Cl4Fu6BtvjmAnw09+CksPCEsRLxE32a8k7LSvGCeIbzqkru6dARLu65JWjzBIvw8ex8dPXLbGj18hCQ9yak5PWZ1XT1+BHM9QCZ1PRoQfT206G09wH5jPSebWz2XE1096yxRPbA2HT342Qc9UVcOPW1iGT1kVgc9PTLQPPyGujz0GWI8qG72O6uj2DuXAM47QSQCPKzSRDvP4ia715yCu576w7vuY6u7sVYTu3xYZzrcM5w6K+k3uy7SO7u0fes8oXOUPEEmTD2Jrwu9sAHcPTiig77tro48pMaOPpiyoj3DcfM9oBx/PcH98TyVgxI9iCpSPbV0b70V1+o9xRQ4PSfYFD2JXaq95ZeEvddEEb07XCO9sxNgO6mgljqMGJk7CCeqvN2N3zumjwG8n+gAvc13NryLF+W8ZGMtvdeosLz+b768vRqnu3zP2LyX9w69WYGPvAGkHrzQH/m60g4GvBrE6rv9ugO8U0I9u/x+KbvhxFW85uM6vGMlVLwdjYO8gNhbvHqUmrufiJe7jXnvu+W737uO8B+8TULlu/Eymrrmdrg6kWWTuw8yL7t4pdG7/lMwvIa4xzoAAAAAeNuEO8uDqTtnnW475lGqO/y5ljtCwbk7MX11O/MGpDt16aA7GlGcOwo7zztqQLo78szrO1636Dt2jbE77be0u8Jxi7uZQOg7dd68O8Bv+zvnp1881QKgPL5F5zx+UgE9/8+3PEknfDyf5pu8VHzmu47WNj0esYw86CRfPFp58jw/RCs9cMRdPWn7Wj3kPME8Gd4XvAxZ3ToiwQA77w+MuwYpKLy6ZC283lFRvObQprt4LvE7FQU4PMo+kzzSX5o8Exm2PGmmqTxilFM76Z6ZOrUAzTkzWnA5taQlOlVP8zra5Z07WPf1O36HKjyspVw8BZVOPGo9CzyBj5M7AAAAAAAAAAAAAAAA55Jbu6YSv7yHl7U86lYIveQ7oz3vOzU/5DujPepWCL2Hl7U8phK/vOeSW7tY91k8LQsCO2YQYzyPzRC8jpl0vMwPhbwszo68lZqZu6TdErvCyJM6IdKjOqqn4Lrk6Bs4EXZzOshgYzsk28Q7LYm/O+GKtTs4aGU7bB2aOm1rhjmvwyW6soQ0uQgMXTjFF0K6xpLEuiurOLsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA= + 5 + -1044674680 + 6 + -1062577574 + 7 + 0 + 8 + 0 + 9 + 1 + + PatchbayInfo + + + DspFunction1 + + FunctionInfo + + DspFuncInstance + 1 + DspFuncName + DspEqualization32 + DspFuncProcessingIndex + 1 + + ParameterInfo + + 1 + 0 + 9 + 0 + Filter + + + 2 + 0 + 3 + 2 + 4 + 0 + 5 + 5 + 6 + 1112891621 + 7 + 1056964608 + 8 + 1085890843 + + + 2 + 0 + 3 + 4 + 4 + 0 + 5 + 4 + 6 + 1122478855 + 7 + 1071027861 + 8 + 1055140030 + + + 2 + 0 + 3 + 5 + 4 + 0 + 5 + 4 + 6 + 1142300713 + 7 + 1091412266 + 8 + -1096615800 + + + 2 + 0 + 3 + 6 + 4 + 0 + 5 + 4 + 6 + 1132882960 + 7 + 1093817714 + 8 + -1085023055 + + + 2 + 0 + 3 + 7 + 4 + 0 + 5 + 4 + 6 + 1134982417 + 7 + 1094107692 + 8 + -1092343618 + + + 2 + 0 + 3 + 8 + 4 + 0 + 5 + 4 + 6 + 1139938623 + 7 + 1094016231 + 8 + -1085023055 + + + 2 + 0 + 3 + 9 + 4 + 0 + 5 + 4 + 6 + 1148907828 + 7 + 1082356253 + 8 + -1092343618 + + + 2 + 0 + 3 + 10 + 4 + 0 + 5 + 4 + 6 + 1155688254 + 7 + 1088819051 + 8 + -1085023055 + + + 2 + 0 + 3 + 11 + 4 + 0 + 5 + 4 + 6 + 1161501777 + 7 + 1091528789 + 8 + -1082886964 + + + 2 + 0 + 3 + 12 + 4 + 0 + 5 + 4 + 6 + 1137246538 + 7 + 1090519057 + 8 + -1085023055 + + + 2 + 0 + 3 + 13 + 4 + 0 + 5 + 4 + 6 + 1145593979 + 7 + 1095510271 + 8 + -1089295238 + + + 2 + 0 + 3 + 15 + 4 + 0 + 5 + 4 + 6 + 1165727948 + 7 + 1090110505 + 8 + -1081440652 + + + 2 + 0 + 3 + 16 + 4 + 0 + 5 + 4 + 6 + 1176257301 + 7 + 1101005608 + 8 + -1079304561 + + + 2 + 0 + 3 + 18 + 4 + 0 + 5 + 4 + 6 + 1169949221 + 7 + 1094346511 + 8 + -1080372607 + + + 2 + 0 + 3 + 19 + 4 + 0 + 5 + 4 + 6 + 1175258964 + 7 + 1091519117 + 8 + -1079304561 + + + 2 + 0 + 3 + 20 + 4 + 0 + 5 + 4 + 6 + 1167847607 + 7 + 1090638801 + 8 + -1079304561 + + + 2 + 0 + 3 + 21 + 4 + 0 + 5 + 4 + 6 + 1173971418 + 7 + 1099717143 + 8 + -1075032379 + + + 2 + 0 + 3 + 22 + 4 + 0 + 5 + 4 + 6 + 1171987320 + 7 + 1094193217 + 8 + -1085023055 + + + 2 + 0 + 3 + 23 + 4 + 0 + 5 + 4 + 6 + 1177377093 + 7 + 1102152274 + 8 + -1080372607 + + + 2 + 1 + 3 + 2 + 4 + 0 + 5 + 5 + 6 + 1112891621 + 7 + 1056964608 + 8 + 1085890843 + + + 2 + 1 + 3 + 4 + 4 + 0 + 5 + 4 + 6 + 1122478855 + 7 + 1071027861 + 8 + 1055140030 + + + 2 + 1 + 3 + 5 + 4 + 0 + 5 + 4 + 6 + 1142300713 + 7 + 1091412266 + 8 + -1096615800 + + + 2 + 1 + 3 + 6 + 4 + 0 + 5 + 4 + 6 + 1132882960 + 7 + 1093817714 + 8 + -1085023055 + + + 2 + 1 + 3 + 7 + 4 + 0 + 5 + 4 + 6 + 1134982417 + 7 + 1094107692 + 8 + -1092343618 + + + 2 + 1 + 3 + 8 + 4 + 0 + 5 + 4 + 6 + 1139938623 + 7 + 1094016231 + 8 + -1085023055 + + + 2 + 1 + 3 + 9 + 4 + 0 + 5 + 4 + 6 + 1148907828 + 7 + 1082356253 + 8 + -1092343618 + + + 2 + 1 + 3 + 10 + 4 + 0 + 5 + 4 + 6 + 1155688254 + 7 + 1088819051 + 8 + -1085023055 + + + 2 + 1 + 3 + 11 + 4 + 0 + 5 + 4 + 6 + 1161501777 + 7 + 1091528789 + 8 + -1082886964 + + + 2 + 1 + 3 + 12 + 4 + 0 + 5 + 4 + 6 + 1137246538 + 7 + 1090519057 + 8 + -1085023055 + + + 2 + 1 + 3 + 13 + 4 + 0 + 5 + 4 + 6 + 1145593979 + 7 + 1095510271 + 8 + -1089295238 + + + 2 + 1 + 3 + 15 + 4 + 0 + 5 + 4 + 6 + 1165727948 + 7 + 1090110505 + 8 + -1081440652 + + + 2 + 1 + 3 + 16 + 4 + 0 + 5 + 4 + 6 + 1176257301 + 7 + 1101005608 + 8 + -1079304561 + + + 2 + 1 + 3 + 18 + 4 + 0 + 5 + 4 + 6 + 1169949221 + 7 + 1094346511 + 8 + -1080372607 + + + 2 + 1 + 3 + 19 + 4 + 0 + 5 + 4 + 6 + 1175258964 + 7 + 1091519117 + 8 + -1079304561 + + + 2 + 1 + 3 + 20 + 4 + 0 + 5 + 4 + 6 + 1167847607 + 7 + 1090638801 + 8 + -1079304561 + + + 2 + 1 + 3 + 21 + 4 + 0 + 5 + 4 + 6 + 1173971418 + 7 + 1099717143 + 8 + -1075032379 + + + 2 + 1 + 3 + 22 + 4 + 0 + 5 + 4 + 6 + 1171987320 + 7 + 1094193217 + 8 + -1085023055 + + + 2 + 1 + 3 + 23 + 4 + 0 + 5 + 4 + 6 + 1177377093 + 7 + 1102152274 + 8 + -1080372607 + + + + PatchbayInfo + + InputPort0 + + PortInstance + 0 + PortWidth + 1 + SourceFuncInstance + 0 + SourcePortIndex + 0 + + InputPort1 + + PortInstance + 1 + PortWidth + 1 + SourceFuncInstance + 0 + SourcePortIndex + 1 + + + + DspFunction2 + + FunctionInfo + + DspFuncInstance + 2 + DspFuncName + DspVolume + DspFuncProcessingIndex + 2 + + ParameterInfo + + 1 + 0 + 2 + 0 + 3 + 0 + 4 + 0 + 5 + 0 + + PatchbayInfo + + InputPort0 + + PortInstance + 0 + PortWidth + 1 + SourceFuncInstance + 1 + SourcePortIndex + 0 + + InputPort1 + + PortInstance + 1 + PortWidth + 1 + SourceFuncInstance + 1 + SourcePortIndex + 1 + + + + + + + + DeviceID + 5 + DeviceType + Headphone + + + DeviceID + 6 + DeviceType + Headphone + + + DeviceID + 7 + DeviceType + Headphone + + + DeviceID + 0 + DeviceType + Microphone + SignalProcessing + + SoftwareDSP + + DspFunction0 + + FunctionInfo + + DspFuncInstance + 0 + DspFuncName + DspPreGainStage + DspFuncProcessingIndex + 0 + + ParameterInfo + + 1 + 0 + 2 + 1065353216 + 3 + 1065353216 + + PatchbayInfo + + + DspFunction1 + + FunctionInfo + + DspFuncInstance + 1 + DspFuncName + DspNoiseReduction + DspFuncProcessingIndex + 1 + + ParameterInfo + + 1 + 0 + 2 + 1 + 3 + 0 + 4 + -1073900105 + 5 + BK9/wipbZMKih27CXHt7wkZLgsIgtIXCqhGJwjXJi8JzGI7CYeiPwr6jkcIANpPCjKKUwpCGlMIcWZbC/P2WwtRjmMIK5JnCO52awiB5msITyJrCo7Gbwu3Fm8IZjZ7CQ3+dwmg1n8IdeaHCIlijwvguo8KwU6PCWASgwmt+oMLibqPC21yjwhjOpsLhQqfCEH+nwojDpsLqEabCkoihwrZko8KYFqTCnWWmwhj/qcLplqrCAhyrwvEgq8JwjKjCurCkws+Kp8IKTqXCl7GowrAVq8JmKazCPrGrwiDzqsLZ5KfCCqanwvLDqcKKwqfCqqOqwoKnqsIPAa7CgWGvwlT3rsKl5anCU3yrwpV0qsLimKrCzBGuwm3zrcJGRbDCR5KwwvSxrsKpr6rC2xetwniVqsJNUK3C3lquwtH0rcJ6mazC6zOtwowYrsJUNa3CXBKvwkl9rML3/K/CanKvwuoKssIX37PCwXWzwm3Dr8KxErDC5XuvwqnfrsLBy7HCXnKwwjTms8LUT7XCkrmzwmBWsMIQqrHC1kmwwloussKnybLC+kWywsxLtcIY27fCO3u4wuPgt8I7JbrCClK4wmkwvMJ3vbzCQVHAwjSfxcJ418fCCZ7JwixDzMJm5c/C1FrRwgVZ2MIqAN3CI4rlwpaa78KO4vfCiywAw3HFA8OL1wvD + + PatchbayInfo + + InputPort0 + + PortInstance + 0 + PortWidth + 1 + SourceFuncInstance + 0 + SourcePortIndex + 0 + + InputPort1 + + PortInstance + 1 + PortWidth + 1 + SourceFuncInstance + 0 + SourcePortIndex + 1 + + + + DspFunction2 + + FunctionInfo + + DspFuncInstance + 2 + DspFuncName + DspEqualization32 + DspFuncProcessingIndex + 2 + + ParameterInfo + + 1 + 0 + 9 + 0 + Filter + + + 2 + 0 + 3 + 0 + 4 + 0 + 5 + 1 + 6 + 1117798621 + 7 + 1060439283 + 8 + 1099519471 + + + 2 + 0 + 3 + 31 + 4 + 0 + 5 + 0 + 6 + 1184151638 + 7 + 1060439283 + 8 + 0 + + + 2 + 1 + 3 + 0 + 4 + 0 + 5 + 1 + 6 + 1117798621 + 7 + 1060439283 + 8 + 1099519471 + + + 2 + 1 + 3 + 31 + 4 + 0 + 5 + 0 + 6 + 1184151638 + 7 + 1060439283 + 8 + 0 + + + + PatchbayInfo + + InputPort0 + + PortInstance + 0 + PortWidth + 1 + SourceFuncInstance + 1 + SourcePortIndex + 0 + + InputPort1 + + PortInstance + 1 + PortWidth + 1 + SourceFuncInstance + 1 + SourcePortIndex + 1 + + + + + + + + DeviceID + 1 + DeviceType + Microphone + SignalProcessing + + SoftwareDSP + + DspFunction0 + + FunctionInfo + + DspFuncInstance + 0 + DspFuncName + DspPreGainStage + DspFuncProcessingIndex + 0 + + ParameterInfo + + 1 + 0 + 2 + 1065353216 + 3 + 1065353216 + + PatchbayInfo + + + + + + + DeviceID + 2 + DeviceType + Microphone + SignalProcessing + + SoftwareDSP + + DspFunction0 + + FunctionInfo + + DspFuncInstance + 0 + DspFuncName + DspPreGainStage + DspFuncProcessingIndex + 0 + + ParameterInfo + + 1 + 0 + 2 + 1065353216 + 3 + 1065353216 + + PatchbayInfo + + + + + + + DeviceID + 3 + DeviceType + Microphone + SignalProcessing + + SoftwareDSP + + DspFunction0 + + FunctionInfo + + DspFuncInstance + 0 + DspFuncName + DspPreGainStage + DspFuncProcessingIndex + 0 + + ParameterInfo + + 1 + 0 + 2 + 1065353216 + 3 + 1065353216 + + PatchbayInfo + + + DspFunction1 + + FunctionInfo + + DspFuncInstance + 1 + DspFuncName + DspNoiseReduction + DspFuncProcessingIndex + 1 + + ParameterInfo + + 1 + 0 + 2 + 1 + 3 + 0 + 4 + -1073900105 + 5 + aouLwiBHdMIsbXTClNV6wpl0gMLLGoPCsqCFwk+Sh8KXQYnCNLGKwpoejMIuCY3C1uyNwvU6jcJ6No/Cs5GPwiu4kMJ8cpLCBiCTwlZdk8JhopPC/SKTwgBAksK6fJTCD++Twge/lcLr+JbCHo2XwkInl8IALJfCqjmVwqfDlcIeSpfCxgyXwgqNmcJ0SJrCs3Cawt0ImsI6AprCfUeXwr4wmcJoWpnCiCGawtXzm8JHcZzCGs6cws2TnMKUeJvCgWaZwrB2m8Ib+pnC2iKcwmdencL0y53CZCSewqEjnsIG8ZvC7WebwgTGnMID3JvCaTmewppcnsL8r5/CaCqgwnjtn8Ina53C9hmewuKuncJgS57CYg+gwp7nn8JiC6HCJhKhwr4eoMK3FJ7CwNyfwqCwnsL0JKDCMb+gwrpUocL1WqLCTomiwvc6ocIifaDC/iOhwsmon8Klw6HC2k2hwiEKo8Ju4KPCvbGjwr45osJuoaLCUwqiwlGLocJ2+6LC3pWiwpqepMLkvKXCfDalwidzo8LGWaTC5u2jwpxIpcLNJabCOFOmwo6OqMLD7qnCqkGqwihiqsI+UazCPeerwsdar8K2nLDCi3qzwkoht8KahLnC/PO7whIgv8Ky6sLC6unFwtOazMJnjtHCq2nZwrI94sKiEuvCohP1wtjb/cJ5LwfD + + PatchbayInfo + + InputPort0 + + PortInstance + 0 + PortWidth + 1 + SourceFuncInstance + 0 + SourcePortIndex + 0 + + InputPort1 + + PortInstance + 1 + PortWidth + 1 + SourceFuncInstance + 0 + SourcePortIndex + 1 + + + + DspFunction2 + + FunctionInfo + + DspFuncInstance + 2 + DspFuncName + DspEqualization32 + DspFuncProcessingIndex + 2 + + ParameterInfo + + 1 + 0 + 9 + 0 + Filter + + + 2 + 0 + 3 + 0 + 4 + 0 + 5 + 1 + 6 + 1117798621 + 7 + 1060439283 + 8 + 1099519471 + + + 2 + 0 + 3 + 31 + 4 + 0 + 5 + 0 + 6 + 1184151638 + 7 + 1060439283 + 8 + 0 + + + 2 + 1 + 3 + 0 + 4 + 0 + 5 + 1 + 6 + 1117798621 + 7 + 1060439283 + 8 + 1099519471 + + + 2 + 1 + 3 + 31 + 4 + 0 + 5 + 0 + 6 + 1184151638 + 7 + 1060439283 + 8 + 0 + + + + PatchbayInfo + + InputPort0 + + PortInstance + 0 + PortWidth + 1 + SourceFuncInstance + 1 + SourcePortIndex + 0 + + InputPort1 + + PortInstance + 1 + PortWidth + 1 + SourceFuncInstance + 1 + SourcePortIndex + 1 + + + + + + + + DeviceID + 4 + DeviceType + Microphone + SignalProcessing + + SoftwareDSP + + DspFunction0 + + FunctionInfo + + DspFuncInstance + 0 + DspFuncName + DspPreGainStage + DspFuncProcessingIndex + 0 + + ParameterInfo + + 1 + 0 + 2 + 1065353216 + 3 + 1065353216 + + PatchbayInfo + + + DspFunction1 + + FunctionInfo + + DspFuncInstance + 1 + DspFuncName + DspNoiseReduction + DspFuncProcessingIndex + 1 + + ParameterInfo + + 1 + 0 + 2 + 1 + 3 + 0 + 4 + -1073900105 + 5 + aouLwiBHdMIsbXTClNV6wpl0gMLLGoPCsqCFwk+Sh8KXQYnCNLGKwpoejMIuCY3C1uyNwvU6jcJ6No/Cs5GPwiu4kMJ8cpLCBiCTwlZdk8JhopPC/SKTwgBAksK6fJTCD++Twge/lcLr+JbCHo2XwkInl8IALJfCqjmVwqfDlcIeSpfCxgyXwgqNmcJ0SJrCs3Cawt0ImsI6AprCfUeXwr4wmcJoWpnCiCGawtXzm8JHcZzCGs6cws2TnMKUeJvCgWaZwrB2m8Ib+pnC2iKcwmdencL0y53CZCSewqEjnsIG8ZvC7WebwgTGnMID3JvCaTmewppcnsL8r5/CaCqgwnjtn8Ina53C9hmewuKuncJgS57CYg+gwp7nn8JiC6HCJhKhwr4eoMK3FJ7CwNyfwqCwnsL0JKDCMb+gwrpUocL1WqLCTomiwvc6ocIifaDC/iOhwsmon8Klw6HC2k2hwiEKo8Ju4KPCvbGjwr45osJuoaLCUwqiwlGLocJ2+6LC3pWiwpqepMLkvKXCfDalwidzo8LGWaTC5u2jwpxIpcLNJabCOFOmwo6OqMLD7qnCqkGqwihiqsI+UazCPeerwsdar8K2nLDCi3qzwkoht8KahLnC/PO7whIgv8Ky6sLC6unFwtOazMJnjtHCq2nZwrI94sKiEuvCohP1wtjb/cJ5LwfD + + PatchbayInfo + + InputPort0 + + PortInstance + 0 + PortWidth + 1 + SourceFuncInstance + 0 + SourcePortIndex + 0 + + InputPort1 + + PortInstance + 1 + PortWidth + 1 + SourceFuncInstance + 0 + SourcePortIndex + 1 + + + + DspFunction2 + + FunctionInfo + + DspFuncInstance + 2 + DspFuncName + DspEqualization32 + DspFuncProcessingIndex + 2 + + ParameterInfo + + 1 + 0 + 9 + 0 + Filter + + + 2 + 0 + 3 + 0 + 4 + 0 + 5 + 1 + 6 + 1117798621 + 7 + 1060439283 + 8 + 1099519471 + + + 2 + 0 + 3 + 31 + 4 + 0 + 5 + 0 + 6 + 1184151638 + 7 + 1060439283 + 8 + 0 + + + 2 + 1 + 3 + 0 + 4 + 0 + 5 + 1 + 6 + 1117798621 + 7 + 1060439283 + 8 + 1099519471 + + + 2 + 1 + 3 + 31 + 4 + 0 + 5 + 0 + 6 + 1184151638 + 7 + 1060439283 + 8 + 0 + + + + PatchbayInfo + + InputPort0 + + PortInstance + 0 + PortWidth + 1 + SourceFuncInstance + 1 + SourcePortIndex + 0 + + InputPort1 + + PortInstance + 1 + PortWidth + 1 + SourceFuncInstance + 1 + SourcePortIndex + 1 + + + + + + + + DeviceID + 5 + DeviceType + Microphone + SignalProcessing + + SoftwareDSP + + DspFunction0 + + FunctionInfo + + DspFuncInstance + 0 + DspFuncName + DspPreGainStage + DspFuncProcessingIndex + 0 + + ParameterInfo + + 1 + 0 + 2 + 1065353216 + 3 + 1065353216 + + PatchbayInfo + + + + + + + DeviceID + 6 + DeviceType + Microphone + SignalProcessing + + SoftwareDSP + + DspFunction0 + + FunctionInfo + + DspFuncInstance + 0 + DspFuncName + DspPreGainStage + DspFuncProcessingIndex + 0 + + ParameterInfo + + 1 + 0 + 2 + 1065353216 + 3 + 1065353216 + + PatchbayInfo + + + + + + + DeviceID + 7 + DeviceType + Microphone + SignalProcessing + + SoftwareDSP + + DspFunction0 + + FunctionInfo + + DspFuncInstance + 0 + DspFuncName + DspPreGainStage + DspFuncProcessingIndex + 0 + + ParameterInfo + + 1 + 0 + 2 + 1065353216 + 3 + 1065353216 + + PatchbayInfo + + + + + + + IOClass + AppleHDAPlatformDriver + IOMatchCategory + AppleHDAPlatformDriver + IOProviderClass + AppleHDAPlatformDriverLoader + Layouts + + + LayoutID + 662 + PathMapRef + + + CodecID + + 283903586 + + Headphone + + MuteGPIO + 0 + + IntSpeaker + + MaximumBootBeepValue + 64 + MuteGPIO + 0 + + Inputs + + Mic + + Mic + + MuteGPIO + 1342242840 + SignalProcessing + + SoftwareDSP + + DspFunction0 + + FunctionInfo + + DspFuncInstance + 0 + DspFuncName + DspNoiseReduction + DspFuncProcessingIndex + 0 + + ParameterInfo + + 1 + 0 + 2 + 1 + 3 + 0 + 4 + -1075482860 + 5 + LT6HwnIjdMI6p3/CWImHwqIThsI2sH3Ctv91wgokd8ItYYDCk76GwhTehsL274PCloWGwu91jMJPtpHCUJORwm3Ik8JWMZnCq0Cbwh8tncKyJJ7C8KebwnjpmcLG/JrCN3Oawn2BmcLrGp3CmEuhwrEhosIsSqLCLB6jwpyEo8JXJ6TCHZGjwpU2osIBN6LCDCejwgZWo8LrlqPC/N+kwhDSpMLKhKTCYa+jwtn7osJVoaPCTISkwqcQpcLuYqXC9qGlwt+7pcLS8KXCx0KmwmRbpsLMZabCs2amwudkpsJWDKbCINilwnpVpsJIaqbC4HGmwqvmpsKo76bCaBynwsJMp8KcqKfCQbGnwmzxp8IU+qfCoP+nwjYhqMISRqjCsqqowuUfqcIWEqnClg2pwokFqcKVFanCGDipwuwqqcJLH6nC0X2pwouLqcJqs6nCyvKpwvhJqsKOkqrCIHKqwmGFqsJwoqrCpaWqwqOeqsIL7qrCPB2rwgL4qsKOAavCixarwtbTqsJ88qrCncOrwihhrMIui6zCxryswuQnrcKybq3CsNmtwu7wrcLHQ67CnBGwwrQuscK/M7LC8j2zwqiRtMJmU7bC64O4whv9usLMa73C3kjAwjp7w8LAQcfCnNDLwnzw0MKTMtbCFX3cwhhF5MLQYu3CWAD3wrQw/sL2qQfD + + PatchbayInfo + + + DspFunction1 + + FunctionInfo + + DspFuncInstance + 1 + DspFuncName + DspEqualization32 + DspFuncProcessingIndex + 1 + + ParameterInfo + + 1 + 0 + Filter + + + 2 + 2 + 3 + 0 + 4 + 0 + 5 + 1 + 6 + 1119920983 + 7 + 1060439283 + 8 + 0 + + + 2 + 2 + 3 + 1 + 4 + 0 + 5 + 1 + 6 + 1112316282 + 7 + 1060439283 + 8 + 1101418887 + + + 2 + 2 + 3 + 4 + 4 + 0 + 5 + 4 + 6 + 1134326036 + 7 + 1083545696 + 8 + -1073319056 + + + 2 + 2 + 3 + 5 + 4 + 0 + 5 + 4 + 6 + 1142413098 + 7 + 1088954957 + 8 + -1071182965 + + + 2 + 2 + 3 + 6 + 4 + 0 + 5 + 4 + 6 + 1139170876 + 7 + 1084383454 + 8 + -1071182965 + + + 2 + 2 + 3 + 7 + 4 + 0 + 5 + 4 + 6 + 1145529074 + 7 + 1086134083 + 8 + -1072785033 + + + 2 + 2 + 3 + 8 + 4 + 0 + 5 + 4 + 6 + 1148318375 + 7 + 1083773101 + 8 + -1075032379 + + + 2 + 2 + 3 + 15 + 4 + 0 + 5 + 0 + 6 + 1176669123 + 7 + 1060439283 + 8 + 1042057464 + + + + PatchbayInfo + + InputPort0 + + PortInstance + 0 + PortWidth + 1 + SourceFuncInstance + 0 + SourcePortIndex + 0 + + InputPort1 + + PortInstance + 1 + PortWidth + 1 + SourceFuncInstance + 0 + SourcePortIndex + 1 + + + + + + + Outputs + + Headphone + IntSpeaker + SPDIFOut + + PathMapID + 662 + SPDIFOut + + + + + + PathMaps + + + PathMap + + + + + + Amp + + Channels + + + Bind + 1 + Channel + 1 + + + Bind + 2 + Channel + 2 + + + MuteInputAmp + + PublishMute + + PublishVolume + + VolumeInputAmp + + + NodeID + 9 + + + Boost + 5 + NodeID + 34 + + + NodeID + 24 + + + + + + + + + NodeID + 20 + + + NodeID + 12 + + + Amp + + Channels + + + Bind + 1 + Channel + 1 + + + Bind + 2 + Channel + 2 + + + MuteInputAmp + + PublishMute + + PublishVolume + + VolumeInputAmp + + + NodeID + 2 + + + + + + + + + NodeID + 26 + + + NodeID + 13 + + + Amp + + Channels + + + Bind + 1 + Channel + 1 + + + Bind + 2 + Channel + 2 + + + MuteInputAmp + + PublishMute + + PublishVolume + + VolumeInputAmp + + + NodeID + 3 + + + + + + + + + NodeID + 27 + + + NodeID + 14 + + + Amp + + Channels + + + Bind + 1 + Channel + 1 + + + Bind + 2 + Channel + 2 + + + MuteInputAmp + + PublishMute + + PublishVolume + + VolumeInputAmp + + + NodeID + 4 + + + + + + + + + NodeID + 30 + + + NodeID + 6 + + + + + + PathMapID + 662 + + + + AppleAHCIDiskDriver + + CFBundleIdentifier + com.apple.iokit.IOAHCIBlockStorage + IOClass + AppleAHCIDiskDriver + IOProbeScore + 1000 + IOProviderClass + IOAHCIDevice + Protocol Characteristics + + Physical Interconnect + SATA + Physical Interconnect Location + Internal/External + + + + OSBundleCompatibleVersion + 1.0.0d1 + OSBundleLibraries + + com.apple.kpi.iokit + 9.0 + com.apple.kpi.libkern + 9.0 + + OSBundleRequired + Root + + Index: trunk/PackageBuilder/package/Kexts/ZEvOreboot.kext/Contents/Resources/English.lproj/InfoPlist.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: trunk/PackageBuilder/package/Kexts/ZEvOreboot.kext/Contents/Resources/English.lproj/InfoPlist.strings ___________________________________________________________________ Added: svn:mime-type + application/octet-stream