#! /bin/sh
#
# This self-extracting archive was generated by Makeself 1.5.3+MagniComp-1.40
#
# To extract/install this archive, run the following:
# /bin/sh sysinfo-4.2-aix-powerpc.sh
#
# For more information on what you can do with this archive, run:
# /bin/sh sysinfo-4.2-aix-powerpc.sh --help
#
skip=425
CRCsum="2433968396 7628859"
MD5sum=
ToolsDir=./makeselftools
label="SysInfo 4.2 FINAL for aix-powerpc"
script="./setup"
targetdir=aix-powerpc
scriptargs=""
keep=n
force=n
extract="n"
tar=$ToolsDir/tar
UNCOMPRESS=$ToolsDir/bzip2
UNCOMPRESS_ARGS="-d"
UNCOMPRESS_CMD="$UNCOMPRESS $UNCOMPRESS_ARGS"
tarball=files.tar.compressed
tmpextdir=/tmp/makeself.extract.$$
tartmp=$tmpextdir/tarball
PATH=/bin:/usr/bin:/usr/xpg4/bin:/usr/ucb:/usr/ccs/bin:/sbin:/usr/sbin:/usr/freeware/bin:/usr/gnu/bin:/usr/contrib/bin:/tools/bin:/usr/local/bin:/usr/X11R6/bin:/usr/dt/bin:/usr/ucb:/bin:/usr/bin:/usr/ccs/bin:/home/mcooper/bin
export PATH
PATHLIST=`echo $PATH | sed -e 's/:/ /g'`
finish=true
xterm_loop=
dohelp=0
dolsm=0
doinfo=0
dolist=0
docheck=0
Finish=0
while [ $Finish != 1 -a $# -gt 0 ]; do
case "$1" in
-help|--help)
dohelp=1
;;
--lsm)
dolsm=1
;;
--info)
doinfo=1
;;
--list)
dolist=1
;;
--check)
docheck=1
;;
--confirm)
verbose=y
;;
--keep)
keep=y
;;
--force)
force=y
;;
--extract)
extract=y
;;
--target)
targetdir=$2
keep=y
shift
;;
--xwin)
# Only used when we call ourself in a new window
finish="echo Press Return to close this window...; read junk"
xterm_loop=1
;;
--)
# End of args for this script - pass remaining args to embedded
Finish=1
shift
;;
*)
Finish=1
;;
esac
if [ $Finish = 0 ]; then
shift
fi
done
if [ $dohelp -eq 1 ]; then
cat << EOF_SELFHELP
Extracting/installing $0 :
$0 [options] [additionnal arguments to embedded script]
where options is one of the following:
-- Arguments after this are passed to embedded script
--confirm Ask before running embedded script
--extract Extract contents, but do not run embedded script
--force Ignore check sum errors and proceed
--keep Do not erase target directory after running
embedded script
--target
Extract into directory
Getting help or information:
$0 [options]
where options is one of the following:
--check Checks integrity of the archive
--help Print this message
--info Print info about this archive
--list Print the list of files in the archive
--lsm Print embedded lsm entry (or no LSM)
EOF_SELFHELP
exit 0;
fi
if [ $dolsm -eq 1 ]; then
cat << EOF_LSM
This archive does not contain any LSM data.
EOF_LSM
exit 0
fi
if [ $doinfo -eq 1 ]; then
cat < $tartmp || {
echo "${tartmp}: Create temporary tarball file failed."
exit 1
}
toolsbase=makeselftools
( cd $tmpextdir && tar -xf $tartmp $toolsbase $tarball ) || {
echo "/tmp/makeself.tar.16080: Extract tools and data from outer tar image failed."
exit 1
}
if [ -f $tmpextdir/$tarball ]; then
# Now display the contents from the tarball
(cd $tmpextdir && $UNCOMPRESS_CMD < $tarball | $tar -tvf -)
rm -rf $tmpextdir
else
echo "Cannot find $tarball in $tmpextdir - Aborting"
exit 1
fi
exit 0;
fi
if [ $docheck -eq 1 ]; then
echo "Checking checksums ..."
if [ ! -z "$CRCsum" ]; then
CKSUM_PATH=""
for d in $PATHLIST; do
if [ -x $d/cksum ]; then
CKSUM_PATH=$d/cksum
break
fi
done
if [ ! -z "$CKSUM_PATH" ]; then
sum1="`tail +15 $0 | $CKSUM_PATH`"
if [ "$sum1" != "$CRCsum" ]; then
echo "CRC checksums do not match:"
echo " Expecting: $CRCsum"
echo " Actual: $sum1"
exit 2
fi
else
echo "No "cksum" command was found so we cannot calculate CRC sum."
fi
else
echo "The archive does not contain an embedded CRC sum."
fi
if [ ! -z "$MD5sum" ]; then
# space separated list of directories
[ x"$GUESS_MD5_PATH" = "x" ] && GUESS_MD5_PATH="/usr/local/ssl/bin"
MD5_PATH=
for d in $GUESS_MD5_PATH $PATHLIST; do
if [ -x $d/md5 ]; then
MD5_PATH=$d/md5
break
elif [ -x $d/md5sum ]; then
MD5_PATH=$d/md5sum
break
fi
done
if [ ! -z "$MD5_PATH" ]; then
md5sum="`tail +15 $0 | $MD5_PATH`"
[ "$md5sum" != "$MD5sum" ] && {
echo "MD5 sums do not match:"
echo " Expecting: "
echo " Actual: "
exit 2;
} || { echo "Check sums and md5 sums are ok"; exit 0; }
else
echo "An embedded md5 sum of the archive exists but no md5 program"
echo "was found in: $GUESS_MD5_PATH $PATHLIST"
echo "If you have md5 on your system, you should try:"
echo " env GUESS_MD5_PATH="FirstDirectory SecondDirectory ..." $0 --check"
fi
else
echo "The archive does not contain an embedded md5 sum."
fi
echo "All provided checksums match."
exit 0;
fi
if tty -s; then # Do we have a terminal?
# Yes we have a terminal
:
else
# No terminal
if [ x"$DISPLAY" != x -a x"$xterm_loop" = x ]; then # do we have X?
if xset q > /dev/null 2>&1; then # Check for valid DISPLAY variable
# Each xterm program must support the options listed below
GUESS_XTERMS="dtterm eterm Eterm xterm rxvt kvt konsole"
for a in $GUESS_XTERMS; do
for d in $PATHLIST; do
if [ -x $d/$a ]; then
XTERM=$d/$a
break
fi
done
if [ ! -z "$XTERM" ]; then
break
fi
done
if [ `echo "$0" | cut -c1` = / ]; then # Spawn a terminal!
exec $XTERM -title "$label" -e "$0" --xwin "$@"
else
exec $XTERM -title "$label" -e "./$0" --xwin "$@"
fi
fi
fi
fi
[ x"$finish" = x ] && finish=true
echo "Self-extracting archive of $label"
if [ "$keep" = y -o "$extract" = y ]; then
echo "Creating directory $targetdir"
tmpdir=$targetdir
else
tmpdir="/tmp/makeself.extract.$$"
fi
location=`pwd`
#
# Find the first echo command which supports suppressing newlines with
# either \c or -n
#
ECHO_CMDS="echo /bin/echo /usr/bin/echo /usr/local/bin/echo /usr/freeware/bin/echo /usr/gnu/bin/echo /usr/ucb/echo"
for e in $ECHO_CMDS; do
EchoTmp=${TMP-/tmp}/echotmp$$
# From perl's Configure
($e 'xxx' '\c'; echo " ") > $EchoTmp
if [ ! -f $EchoTmp ]; then
echo "Cannot create $EchoTmp test file."
exit 1
fi
echoresult=`grep c $EchoTmp`
rm -f $EchoTmp
if [ -z "$echoresult" ]; then
EchoPost="\c"
echo=$e
break
else
rm -f $EchoTmp
($e -n 'xxx' ; echo " ") > $EchoTmp
echoresult=`grep n $EchoTmp`
rm -f $EchoTmp
if [ -z "$echoresult" ]; then
EchoPre="-n"
echo=$e
break
fi
fi
done
if [ -z "$echo" ]; then
# Couldn't find an echo which supported \c or -n so go with default
echo=echo
fi
if [ ! -d $tmpdir ]; then
mkdir $tmpdir || {
$echo 'Cannot create target directory' $tmpdir >&2
$echo 'you should perhaps try option --target OtherDirectory' >&2
eval $finish; exit 1;
}
fi
$echo $EchoPre "Verifying archive integrity ... ${EchoPost}"
if [ ! -z "$CRCsum" ]; then
CKSUM_PATH=""
for d in $PATHLIST; do
if [ -x $d/cksum ]; then
CKSUM_PATH=$d/cksum
break
fi
done
if [ ! -z "$CKSUM_PATH" ]; then
sum1="`tail +15 $0 | $CKSUM_PATH`"
[ "$sum1" != "$CRCsum" ] && {
$echo "CRC checksums do not match:"
$echo " Expecting: $CRCsum"
$echo " Actual: $sum1"
if [ "$force" = "n" ]; then
eval $finish; exit 2;
fi
}
else
echo "No "cksum" program found so we can not calculate CRC sum."
fi
fi
if [ ! -z "$MD5sum" ]; then
# space separated list of directories
[ x$GUESS_MD5_PATH = x ] && GUESS_MD5_PATH="/usr/local/ssl/bin"
MD5_PATH=
for d in $GUESS_MD5_PATH $PATHLIST; do
if [ -x $d/md5 ]; then
MD5_PATH=$d/md5;
break
elif [ -x $d/md5sum ]; then
MD5_PATH=$d/md5sum;
break
fi
done
if [ ! -z "$MD5_PATH" ]; then
md5sum=`tail +15 $0 | $MD5_PATH`;
[ "$md5sum" != "$MD5sum" ] && {
$echo Error in md5 sums $md5sum $MD5
if [ "$force" = "n" ]; then
eval $finish; exit 2;
fi
}
fi
fi
echo OK
#
# Extract the outer layer of the tar image.
# We can't use a pipe since some native tar commands (like IRIX)
# are brain dead about block sizes on stdin tar images.
#
$echo $EchoPre "Extracting tools and data image ... ${EchoPost}"
if [ ! -d $tmpextdir ]; then
mkdir $tmpextdir
fi
rm -f $tartmp
(cd $location && tail +$skip $0) > $tartmp || {
echo "${tartmp}: Create temporary tarball file failed."
exit 1
}
(cd $tmpdir && tar -xf $tartmp ) || {
echo "Cannot extract external tar layer from $0"
eval $finish
exit 1
}
echo OK
$echo $EchoPre "Extracting data ${EchoPost}"
[ "$keep" = y ] || trap 'cd /tmp && /bin/rm -rf $tmpdir $tmpextdir; exit $res'
# Extract the actual files tarball
if ( (cd $tmpdir && $UNCOMPRESS_CMD < $tarball | $tar xvf - ) | (while read a; do $echo $EchoPre ".${EchoPost}"; done; echo; )) 2> /dev/null; then
res=0;
if [ "$extract" = n -a x"$script" != x ]; then
cd $tmpdir
if [ x"$verbose" = xy ]; then
$echo $EchoPre "OK to execute: $script $scriptargs $* ? [Y/n] ${EchoPost}"
read yn
[ x"$yn" = x -o x"$yn" = xy -o x"$yn" = xY ] && {
$script $scriptargs $*
res=$?
}
else
$script $scriptargs $*; res=$?
fi
[ $res != 0 ] && echo "The program returned an error code ($res)"
fi
[ "$keep" = y ] || { cd /tmp && /bin/rm -rf $tmpdir $tmpextdir; }
if [ "$extract" = y ]; then
# Remove the archive's tools and data
echo "Cleaning up ... "
(cd $location && cd $tmpdir && rm -rf $tarball $ToolsDir)
fi
else
echo "Cannot decompress $0"; eval $finish; exit 1
fi
eval $finish; exit $res
END_OF_STUB
files.tar.compressed 100644 001720 000001 00033744337 07462132224 015660 0 ustar 00mcooper staff 000000 000000 BZh91AY&SY5-0!J (Qބ9a{SAx4f!r7v3vj3P
#q ̣: ր
( m R!t9̟Y[bConcl}
AT 4! MۢS4|}zz=| H
^kħ%_NKټzfMWôi"UOlD#sZ3ut
470w$}vqmݸ<{vڭB*AێO^cPK2Jy˫49چvwmwol=w}=Y wok=-|}_}M`j%R{+ @7wvfvdU:k`;&