diff --git a/trunk/BuildOsxPkg.sh b/trunk/BuildOsxPkg.sh index 3708c02..c885b7d 100755 --- a/trunk/BuildOsxPkg.sh +++ b/trunk/BuildOsxPkg.sh @@ -1,42 +1,49 @@ #!/bin/bash if [ "$(whoami)" != "root" ]; then echo "ERROR: This script has to be run as root!" exit 1 fi CWD=`dirname "$0"` DSTROOT="$CWD/dstroot" FULL_PKG_NAME=`basename "$CWD"` -PKG_VERSION_LONG=`echo "$FULL_PKG_NAME" | cut -d"-" -f2` -PKG_VERSION_SHORT=`echo "$PKG_VERSION_LONG" | tr -d "."` +PKG_VERSION=`echo "$FULL_PKG_NAME" | cut -d"-" -f2` + +echo "==== PKG build settings ===" +echo "\$CWD=\"$CWD\"" +echo "\$DSTROOT=\"$DSTROOT\"" +echo "\$PKG_VERSION_LONG=\"$PKG_VERSION_LONG\"" +echo "\$PKG_VERSION_SHORT=\"$PKG_VERSION_SHORT\"" +echo +echo "Press any key to continue or Ctrl-C to cancel" +read # Create new dstroot folder rm -rf "$DSTROOT" &>/dev/null mkdir -p "$DSTROOT"/usr/local/bin mkdir -p "$DSTROOT"/usr/local/lib/xmount mkdir -p "$DSTROOT"/usr/local/share/man/man1 # Populate dstroot with files cp "$CWD"/build/src/xmount "$DSTROOT"/usr/local/bin/ -cp "$CWD"/build/libxmount_input/libxmount_input_aaf/libxmount_input_aaff.dylib "$DSTROOT"/usr/local/lib/xmount/ +cp "$CWD"/build/libxmount_input/libxmount_input_aaff/libxmount_input_aaff.dylib "$DSTROOT"/usr/local/lib/xmount/ cp "$CWD"/build/libxmount_input/libxmount_input_aewf/libxmount_input_aewf.dylib "$DSTROOT"/usr/local/lib/xmount/ cp "$CWD"/build/libxmount_input/libxmount_input_aff/libxmount_input_aff.dylib "$DSTROOT"/usr/local/lib/xmount/ cp "$CWD"/build/libxmount_input/libxmount_input_ewf/libxmount_input_ewf.dylib "$DSTROOT"/usr/local/lib/xmount/ cp "$CWD"/build/libxmount_input/libxmount_input_raw/libxmount_input_raw.dylib "$DSTROOT"/usr/local/lib/xmount/ cp "$CWD"/xmount.1 "$DSTROOT"/usr/local/share/man/man1/ # Patch 01dstroot-contents.xml sed -i -e "s#PMDOC_DSTROOT#$DSTROOT#g" "$CWD"/xmount.pmdoc/01dstroot-contents.xml # Patch 01dstroot.xml sed -i -e "s#PMDOC_DSTROOT#$DSTROOT#g" "$CWD"/xmount.pmdoc/01dstroot.xml -sed -i -e "s/PMDOC_VERSION/$PKG_VERSION_SHORT/g" "$CWD"/xmount.pmdoc/01dstroot.xml +sed -i -e "s/PMDOC_VERSION/$PKG_VERSION/g" "$CWD"/xmount.pmdoc/01dstroot.xml # Patch index.xml sed -i -e "s#PMDOC_CWD#$CWD#g" "$CWD"/xmount.pmdoc/index.xml -sed -i -e "s/PMDOC_LVERSION/$PKG_VERSION_LONG/g" "$CWD"/xmount.pmdoc/index.xml -sed -i -e "s/PMDOC_VERSION/$PKG_VERSION_SHORT/g" "$CWD"/xmount.pmdoc/index.xml +sed -i -e "s/PMDOC_VERSION/$PKG_VERSION/g" "$CWD"/xmount.pmdoc/index.xml open "$CWD"/xmount.pmdoc diff --git a/trunk/xmount.pmdoc/01dstroot.xml b/trunk/xmount.pmdoc/01dstroot.xml index 7803f0e..b9753ec 100644 --- a/trunk/xmount.pmdoc/01dstroot.xml +++ b/trunk/xmount.pmdoc/01dstroot.xml @@ -1,24 +1,24 @@ - www.pinguin.lu.xmountPMDOC_VERSION.dstroot.pkg + www.pinguin.lu.xmount.PMDOC_VERSION.dstroot.pkg 1 PMDOC_DSTROOT / parent 01dstroot-contents.xml /CVS$ /\.svn$ /\.cvsignore$ /\.cvspass$ /\.DS_Store$ diff --git a/trunk/xmount.pmdoc/index.xml b/trunk/xmount.pmdoc/index.xml index 0834ea2..52a7b8c 100644 --- a/trunk/xmount.pmdoc/index.xml +++ b/trunk/xmount.pmdoc/index.xml @@ -1,85 +1,85 @@ - xmount PMDOC_LVERSION - PMDOC_CWD/xmount-PMDOC_LVERSION.pkg + xmount PMDOC_VERSION + PMDOC_CWD/xmount-PMDOC_VERSION.pkg www.pinguin.lu - + .\ \ This version of xmount includes the following statically linked libraries:\ \ ==== LIBEWF\ Copyright (c) 2006-2009, Joachim Metz , Hoffmann Investigations.\ \ This software is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\ \ This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\ \ You should have received a copy of the GNU Lesser General Public License along with this software. If not, see .\ \ ==== AFFLIB\ Copyright (c) 2005, 2006, 2007 Simson L. Garfinkel and Basis Technology Corp. All rights reserved.\ \ This code is derrived from software contributed by Simson L. Garfinkel\ \ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:\ \ 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.\ 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.\ 3. All advertising materials mentioning features or use of this software must display the following acknowledgement:\ This product includes software developed by Simson L. Garfinkel and Basis Technology Corp.\ 4. Neither the name of Simson L. Garfinkel, Basis Technology, or other contributors to this program may be used to endorse or promote products derived from this software without specific prior written permission.\ \ THIS SOFTWARE IS PROVIDED BY SIMSON L. GARFINKEL, BASIS TECHNOLOGY, AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SIMSON L. GARFINKEL, BASIS TECHNOLOGY, OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ \ AFF and AFFLIB is a trademark of Simson Garfinkel and Basis Technology Corp.}]]> /Library/Filesystems/osxfusefs.fs/Support/osxfusefs.kext OSXFUSE missing Your system does not seem to have MacFUSE installed. Get it from http://osxfuse.github.com/ and install it prior to launching this installer. 01dstroot.xml properties.systemDomain properties.title