#! /bin/sh

# OpenPKG sotfware stack 20120800 Develinstanz (oft /opdv)
# apr                figlet           libxslt           readline
# aspell             flex             lynx              ruby
# autoconf           fsl              m2tstoavi         sed
# automake           gawk             m4                serf
# bash               gc               make              sgml
# bazaar             gcc              mercurial         sipcalc
# binutils           getopt           mico              skey
# bison              gettext          mktemp            slang
# boost              ghostscript      mng               socat
# bzip2              git              mpc               sqlite
# cgicc              glib             mpfr              subversion
# chkrootkit         gmp              ncurses           taglib
# cmake              grep             neon              tcl
# config             htdig            nepim             tcpdump
# cracklib           id3lib           netperf           tetex
# cryptbreaker       infozip          nmap              texinfo
# cryptlib           jhead            openssl           tiff
# curl               jpeg             opie              unrar
# data-charset       john             pcre              uuid
# data-iana          lcms             perl              valgrind
# data-isocodes      libffi           perl-openpkg      wipe
# data-timezone      libiconv         php               x509
# diffutils          liboop           pkgconfig         xmlbasedsrs
# docbook            libpcap          png               xmlto
# doxygen            libtool          psutils           zlib
# dpkg               libupnp          python
# expat              libxml

# Variables
#ARCFIX=amd64-suse12.1
#ARCFIX=amd64-solaris11
ARCFIX=$1
PREFIX=$2
SUDBIN=$3

# Sanity check
if [ ! $ARCFIX ]; then
    echo 'Error: Arch spec "amd64-suse12.1" or similar needed as first argument.'
    exit 1
fi
if [ ! $PREFIX ]; then
    PREFIX=opdv
fi
if [ ! $SUDBIN ]; then
    SUDBIN=/usr/bin/sudo
fi

# Usage intro
echo 'This is a OpenPKG installation script for instance /opdv'
echo 'Please adjust sudo(1) accordingly, and pass "amd64-suse12.1"'
echo '...or whatever other string as the first argument. The script'
echo 'will install the Europalab 20120800 basis stack.'
echo ''
echo 'Quick tips: /pfx/bin/openpkg rpm was converted to libexec/openpkg/rpm.'
echo "            Call this TMPDIR=/tmp/${PREFIX}auto $0 to parallelize."
echo '            Packages like gcc need more than 2Go temp space. -MSvB'
echo ''
echo "Building and installing OpenPKG to /opdv as $ARCFIX ......"

# Print example bootstrap command
#echo 'sh ${HOME}/opwrk/pkg/src/openpkg-4.6.7-20120800.src.sh --prefix=/opdv --tag=opdv --user=opdv --group=opdv --muid=4001 --ruid=4002 --nuid=4003 --mgid=4001 --rgid=4002 --ngid=4003 --use_cc=/opkg/bin/cc'

# Centralized build and install block
echo :::: http://download.openpkg.org/packages/current/source/CORE/make-3.82-20100729.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/make-3.82-20100729.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/make-3.82-20100729.src.rpm http://download.openpkg.org/packages/current/source/CORE/make-3.82-20100729.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --define 'use_cc /opkg/bin/cc' --rebuild ${HOME}/opwrk/pkg/src/make-3.82-20100729.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/make-3.82-20100729.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/CORE/make-3.82-20100729.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/libiconv-1.14-20110807.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/libiconv-1.14-20110807.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/libiconv-1.14-20110807.src.rpm http://download.openpkg.org/packages/current/source/BASE/libiconv-1.14-20110807.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --define 'use_cc /opkg/bin/cc' --rebuild ${HOME}/opwrk/pkg/src/libiconv-1.14-20110807.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/libiconv-1.14-20110807.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/libiconv-1.14-20110807.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/CORE/gmp-5.0.5-20120712.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/gmp-5.0.5-20120712.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/gmp-5.0.5-20120712.src.rpm http://download.openpkg.org/packages/current/source/CORE/gmp-5.0.5-20120712.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --define 'use_cc /opkg/bin/cc' --rebuild ${HOME}/opwrk/pkg/src/gmp-5.0.5-20120712.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/gmp-5.0.5-20120712.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/CORE/gmp-5.0.5-20120712.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/CORE/mpfr-3.1.1.10-20120704.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/mpfr-3.1.1.10-20120704.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/mpfr-3.1.1.10-20120704.src.rpm http://download.openpkg.org/packages/current/source/CORE/mpfr-3.1.1.10-20120704.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --define 'use_cc /opkg/bin/cc' --rebuild ${HOME}/opwrk/pkg/src/mpfr-3.1.1.10-20120704.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/mpfr-3.1.1.10-20120704.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/CORE/mpfr-3.1.1.10-20120704.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/CORE/mpc-1.0-20120723.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/mpc-1.0-20120723.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/mpc-1.0-20120723.src.rpm http://download.openpkg.org/packages/current/source/CORE/mpc-1.0-20120723.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --define 'use_cc /opkg/bin/cc' --rebuild ${HOME}/opwrk/pkg/src/mpc-1.0-20120723.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/mpc-1.0-20120723.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/CORE/mpc-1.0-20120723.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/CORE/binutils-2.22-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/binutils-2.22-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/binutils-2.22-20120800.src.rpm http://download.openpkg.org/packages/current/source/CORE/binutils-2.22-20120800.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --define 'use_cc /opkg/bin/cc' --rebuild ${HOME}/opwrk/pkg/src/binutils-2.22-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/binutils-2.22-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/CORE/binutils-2.22-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/CORE/gcc-4.7.1-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/gcc-4.7.1-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/gcc-4.7.1-20120800.src.rpm http://download.openpkg.org/packages/current/source/CORE/gcc-4.7.1-20120800.src.rpm || exit $?
fi
##time /${PREFIX}/libexec/openpkg/rpm --define 'use_cc /opkg/bin/cc' --define 'with_objc yes' --define 'with_optimize yes' --define 'with_profile yes' --define 'with_threads yes' --rebuild ${HOME}/opwrk/pkg/src/gcc-4.7.1-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/gcc-4.7.1-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/CORE/gcc-4.7.1-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/CORE/bzip2-1.0.6-20100920.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/bzip2-1.0.6-20100920.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/bzip2-1.0.6-20100920.src.rpm http://download.openpkg.org/packages/current/source/CORE/bzip2-1.0.6-20100920.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/bzip2-1.0.6-20100920.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/bzip2-1.0.6-20100920.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/CORE/bzip2-1.0.6-20100920.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/CORE/zlib-1.2.7-20120503.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/zlib-1.2.7-20120503.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/zlib-1.2.7-20120503.src.rpm http://download.openpkg.org/packages/current/source/CORE/zlib-1.2.7-20120503.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --define 'use_cc /opkg/bin/cc' --rebuild ${HOME}/opwrk/pkg/src/zlib-1.2.7-20120503.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/zlib-1.2.7-20120503.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/CORE/zlib-1.2.7-20120503.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/EVAL/boost-1.50.0-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/boost-1.50.0-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/boost-1.50.0-20120800.src.rpm http://download.openpkg.org/packages/current/source/EVAL/boost-1.50.0-20120800.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/boost-1.50.0-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/boost-1.50.0-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/EVAL/boost-1.50.0-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/CORE/ncurses-5.9.20120526-20120529.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/ncurses-5.9.20120526-20120529.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/ncurses-5.9.20120526-20120529.src.rpm http://download.openpkg.org/packages/current/source/CORE/ncurses-5.9.20120526-20120529.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/ncurses-5.9.20120526-20120529.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/ncurses-5.9.20120526-20120529.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/CORE/ncurses-5.9.20120526-20120529.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/texinfo-4.13a-20080923.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/texinfo-4.13a-20080923.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/texinfo-4.13a-20080923.src.rpm http://download.openpkg.org/packages/current/source/BASE/texinfo-4.13a-20080923.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/texinfo-4.13a-20080923.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/texinfo-4.13a-20080923.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/texinfo-4.13a-20080923.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/diffutils-3.2-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/diffutils-3.2-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/diffutils-3.2-20120800.src.rpm http://download.openpkg.org/packages/current/source/BASE/diffutils-3.2-20120800.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/diffutils-3.2-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/diffutils-3.2-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/diffutils-3.2-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/CORE/perl-5.16.1-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/perl-5.16.1-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/perl-5.16.1-20120800.src.rpm http://download.openpkg.org/packages/current/source/CORE/perl-5.16.1-20120800.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/perl-5.16.1-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/perl-5.16.1-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/CORE/perl-5.16.1-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/CORE/bash-4.2.37-20120729.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/bash-4.2.37-20120729.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/bash-4.2.37-20120729.src.rpm http://download.openpkg.org/packages/current/source/CORE/bash-4.2.37-20120729.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/bash-4.2.37-20120729.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/bash-4.2.37-20120729.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/CORE/bash-4.2.37-20120729.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/pcre-8.31-20120707.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/pcre-8.31-20120707.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/pcre-8.31-20120707.src.rpm http://download.openpkg.org/packages/current/source/BASE/pcre-8.31-20120707.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --define 'use_cc /opkg/bin/cc' --define 'with_cxx yes' --rebuild ${HOME}/opwrk/pkg/src/pcre-8.31-20120707.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/pcre-8.31-20120707.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/pcre-8.31-20120707.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/grep-2.12-20120712.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/grep-2.12-20120712.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/grep-2.12-20120712.src.rpm http://download.openpkg.org/packages/current/source/BASE/grep-2.12-20120712.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/grep-2.12-20120712.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/grep-2.12-20120712.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/grep-2.12-20120712.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/CORE/m4-1.4.16-20110303.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/m4-1.4.16-20110303.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/m4-1.4.16-20110303.src.rpm http://download.openpkg.org/packages/current/source/CORE/m4-1.4.16-20110303.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --define 'use_cc /opkg/bin/cc' --rebuild ${HOME}/opwrk/pkg/src/m4-1.4.16-20110303.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/m4-1.4.16-20110303.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/CORE/m4-1.4.16-20110303.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/CORE/autoconf-2.69-20120426.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/autoconf-2.69-20120426.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/autoconf-2.69-20120426.src.rpm http://download.openpkg.org/packages/current/source/CORE/autoconf-2.69-20120426.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/autoconf-2.69-20120426.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/autoconf-2.69-20120426.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/CORE/autoconf-2.69-20120426.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/automake-1.12.2-20120711.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/automake-1.12.2-20120711.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/automake-1.12.2-20120711.src.rpm http://download.openpkg.org/packages/current/source/BASE/automake-1.12.2-20120711.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/automake-1.12.2-20120711.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/automake-1.12.2-20120711.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/automake-1.12.2-20120711.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/gettext-0.18.1.1-20100607.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/gettext-0.18.1.1-20100607.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/gettext-0.18.1.1-20100607.src.rpm http://download.openpkg.org/packages/current/source/BASE/gettext-0.18.1.1-20100607.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/gettext-0.18.1.1-20100607.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/gettext-0.18.1.1-20100607.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/gettext-0.18.1.1-20100607.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/readline-6.2.4-20120729.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/readline-6.2.4-20120729.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/readline-6.2.4-20120729.src.rpm http://download.openpkg.org/packages/current/source/BASE/readline-6.2.4-20120729.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/readline-6.2.4-20120729.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/readline-6.2.4-20120729.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/readline-6.2.4-20120729.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/expat-2.1.0-20120325.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/expat-2.1.0-20120325.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/expat-2.1.0-20120325.src.rpm http://download.openpkg.org/packages/current/source/BASE/expat-2.1.0-20120325.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/expat-2.1.0-20120325.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/expat-2.1.0-20120325.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/expat-2.1.0-20120325.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/CORE/openssl-1.0.1c-20120606.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/openssl-1.0.1c-20120606.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/openssl-1.0.1c-20120606.src.rpm http://download.openpkg.org/packages/current/source/CORE/openssl-1.0.1c-20120606.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/openssl-1.0.1c-20120606.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/openssl-1.0.1c-20120606.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/CORE/openssl-1.0.1c-20120606.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/EVAL/x509-0-20120315.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/x509-0-20120315.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/x509-0-20120315.src.rpm http://download.openpkg.org/packages/current/source/EVAL/x509-0-20120315.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/x509-0-20120315.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/x509-0-20120315.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/EVAL/x509-0-20120315.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/curl-7.27.0-20120729.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/curl-7.27.0-20120729.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/curl-7.27.0-20120729.src.rpm http://download.openpkg.org/packages/current/source/BASE/curl-7.27.0-20120729.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/curl-7.27.0-20120729.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/curl-7.27.0-20120729.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/curl-7.27.0-20120729.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/python-2.7.3-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/python-2.7.3-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/python-2.7.3-20120800.src.rpm http://download.openpkg.org/packages/current/source/BASE/python-2.7.3-20120800.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --define 'with_readline yes' --define 'with_curses yes' --define 'with_zlib yes' --define 'with_bzip2 yes' --define 'with_xml yes' --define 'with_locale yes' --define 'with_ssl yes' --rebuild ${HOME}/opwrk/pkg/src/python-2.7.3-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/python-2.7.3-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/python-2.7.3-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/EVAL/mercurial-2.3-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/mercurial-2.3-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/mercurial-2.3-20120800.src.rpm http://download.openpkg.org/packages/current/source/EVAL/mercurial-2.3-20120800.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/mercurial-2.3-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/mercurial-2.3-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/EVAL/mercurial-2.3-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/perl-openpkg-5.16-20120531.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/perl-openpkg-5.16-20120531.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/perl-openpkg-5.16-20120531.src.rpm http://download.openpkg.org/packages/current/source/BASE/perl-openpkg-5.16-20120531.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/perl-openpkg-5.16-20120531.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/perl-openpkg-5.16-20120531.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/perl-openpkg-5.16-20120531.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/EVAL/git-1.7.11.4-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/git-1.7.11.4-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/git-1.7.11.4-20120800.src.rpm http://download.openpkg.org/packages/current/source/EVAL/git-1.7.11.4-20120800.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/git-1.7.11.4-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/git-1.7.11.4-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/EVAL/git-1.7.11.4-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/CORE/bison-2.6-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/bison-2.6-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/bison-2.6-20120800.src.rpm http://download.openpkg.org/packages/current/source/CORE/bison-2.6-20120800.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --define 'use_cc /opkg/bin/cc' --rebuild ${HOME}/opwrk/pkg/src/bison-2.6-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/bison-2.6-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/CORE/bison-2.6-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/sed-4.2.1-20090628.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/sed-4.2.1-20090628.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/sed-4.2.1-20090628.src.rpm http://download.openpkg.org/packages/current/source/BASE/sed-4.2.1-20090628.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/sed-4.2.1-20090628.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/sed-4.2.1-20090628.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/sed-4.2.1-20090628.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/apr-1.4.6-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/apr-1.4.6-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/apr-1.4.6-20120800.src.rpm http://download.openpkg.org/packages/current/source/BASE/apr-1.4.6-20120800.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/apr-1.4.6-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/apr-1.4.6-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/apr-1.4.6-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/EVAL/serf-1.0.3-20120321.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/serf-1.0.3-20120321.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/serf-1.0.3-20120321.src.rpm http://download.openpkg.org/packages/current/source/EVAL/serf-1.0.3-20120321.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/serf-1.0.3-20120321.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/serf-1.0.3-20120321.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/EVAL/serf-1.0.3-20120321.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/tcl-8.5.12-20120728.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/tcl-8.5.12-20120728.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/tcl-8.5.12-20120728.src.rpm http://download.openpkg.org/packages/current/source/BASE/tcl-8.5.12-20120728.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/tcl-8.5.12-20120728.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/tcl-8.5.12-20120728.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/tcl-8.5.12-20120728.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/gawk-4.0.1-20120331.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/gawk-4.0.1-20120331.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/gawk-4.0.1-20120331.src.rpm http://download.openpkg.org/packages/current/source/BASE/gawk-4.0.1-20120331.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/gawk-4.0.1-20120331.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/gawk-4.0.1-20120331.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/gawk-4.0.1-20120331.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/libxml-2.7.8-20101106.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/libxml-2.7.8-20101106.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/libxml-2.7.8-20101106.src.rpm http://download.openpkg.org/packages/current/source/BASE/libxml-2.7.8-20101106.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/libxml-2.7.8-20101106.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/libxml-2.7.8-20101106.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/libxml-2.7.8-20101106.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/neon-0.29.6-20110504.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/neon-0.29.6-20110504.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/neon-0.29.6-20110504.src.rpm http://download.openpkg.org/packages/current/source/BASE/neon-0.29.6-20110504.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/neon-0.29.6-20110504.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/neon-0.29.6-20110504.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/neon-0.29.6-20110504.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/EVAL/libffi-3.0.11-20120712.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/libffi-3.0.11-20120712.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/libffi-3.0.11-20120712.src.rpm http://download.openpkg.org/packages/current/source/EVAL/libffi-3.0.11-20120712.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/libffi-3.0.11-20120712.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/libffi-3.0.11-20120712.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/EVAL/libffi-3.0.11-20120712.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/glib-2.32.3-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/glib-2.32.3-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/glib-2.32.3-20120800.src.rpm http://download.openpkg.org/packages/current/source/BASE/glib-2.32.3-20120800.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/glib-2.32.3-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/glib-2.32.3-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/glib-2.32.3-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/pkgconfig-0.27-20120715.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/pkgconfig-0.27-20120715.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/pkgconfig-0.27-20120715.src.rpm http://download.openpkg.org/packages/current/source/BASE/pkgconfig-0.27-20120715.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/pkgconfig-0.27-20120715.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/pkgconfig-0.27-20120715.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/pkgconfig-0.27-20120715.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/sqlite-3.7.13.0-20120714.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/sqlite-3.7.13.0-20120714.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/sqlite-3.7.13.0-20120714.src.rpm http://download.openpkg.org/packages/current/source/BASE/sqlite-3.7.13.0-20120714.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --define 'with_debug yes' --define 'with_readline yes' --define 'with_threads yes' --define 'with_fts3 yes' --define 'with_rtree yes' --rebuild ${HOME}/opwrk/pkg/src/sqlite-3.7.13.0-20120714.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/sqlite-3.7.13.0-20120714.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/sqlite-3.7.13.0-20120714.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/CORE/libtool-2.4.2-20111211.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/libtool-2.4.2-20111211.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/libtool-2.4.2-20111211.src.rpm http://download.openpkg.org/packages/current/source/CORE/libtool-2.4.2-20111211.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/libtool-2.4.2-20111211.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/libtool-2.4.2-20111211.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/CORE/libtool-2.4.2-20111211.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/CORE/fsl-1.7.0-20100418.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/fsl-1.7.0-20100418.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/fsl-1.7.0-20100418.src.rpm http://download.openpkg.org/packages/current/source/CORE/fsl-1.7.0-20100418.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --define 'use_cc /opkg/bin/cc' --rebuild ${HOME}/opwrk/pkg/src/fsl-1.7.0-20100418.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/fsl-1.7.0-20100418.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/CORE/fsl-1.7.0-20100418.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/subversion-1.7.5-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/subversion-1.7.5-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/subversion-1.7.5-20120800.src.rpm http://download.openpkg.org/packages/current/source/BASE/subversion-1.7.5-20120800.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/subversion-1.7.5-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/subversion-1.7.5-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/subversion-1.7.5-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/EVAL/bazaar-2.5.1-20120531.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/bazaar-2.5.1-20120531.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/bazaar-2.5.1-20120531.src.rpm http://download.openpkg.org/packages/current/source/EVAL/bazaar-2.5.1-20120531.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/bazaar-2.5.1-20120531.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/bazaar-2.5.1-20120531.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/EVAL/bazaar-2.5.1-20120531.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/EVAL/cmake-2.8.9-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/cmake-2.8.9-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/cmake-2.8.9-20120800.src.rpm http://download.openpkg.org/packages/current/source/EVAL/cmake-2.8.9-20120800.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/cmake-2.8.9-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/cmake-2.8.9-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/EVAL/cmake-2.8.9-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/figlet-2.2.5-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/figlet-2.2.5-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/figlet-2.2.5-20120800.src.rpm http://download.openpkg.org/packages/current/source/BASE/figlet-2.2.5-20120800.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/figlet-2.2.5-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/figlet-2.2.5-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/figlet-2.2.5-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/getopt-20051005-20080101.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/getopt-20051005-20080101.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/getopt-20051005-20080101.src.rpm http://download.openpkg.org/packages/current/source/BASE/getopt-20051005-20080101.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/getopt-20051005-20080101.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/getopt-20051005-20080101.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/getopt-20051005-20080101.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/CORE/flex-2.5.35-20100913.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/flex-2.5.35-20100913.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/flex-2.5.35-20100913.src.rpm http://download.openpkg.org/packages/current/source/CORE/flex-2.5.35-20100913.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/flex-2.5.35-20100913.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/flex-2.5.35-20100913.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/CORE/flex-2.5.35-20100913.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/libpcap-1.3.0-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/libpcap-1.3.0-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/libpcap-1.3.0-20120800.src.rpm http://download.openpkg.org/packages/current/source/BASE/libpcap-1.3.0-20120800.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/libpcap-1.3.0-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/libpcap-1.3.0-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/libpcap-1.3.0-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/nmap-6.01-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/nmap-6.01-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/nmap-6.01-20120800.src.rpm http://download.openpkg.org/packages/current/source/BASE/nmap-6.01-20120800.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/nmap-6.01-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/nmap-6.01-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/nmap-6.01-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/tcpdump-4.3.0-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/tcpdump-4.3.0-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/tcpdump-4.3.0-20120800.src.rpm http://download.openpkg.org/packages/current/source/BASE/tcpdump-4.3.0-20120800.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/tcpdump-4.3.0-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/tcpdump-4.3.0-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/tcpdump-4.3.0-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/PLUS/unrar-4.2.4-20120614.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/unrar-4.2.4-20120614.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/unrar-4.2.4-20120614.src.rpm http://download.openpkg.org/packages/current/source/PLUS/unrar-4.2.4-20120614.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/unrar-4.2.4-20120614.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/unrar-4.2.4-20120614.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/PLUS/unrar-4.2.4-20120614.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/EVAL/wipe-0.22-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/wipe-0.22-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/wipe-0.22-20120800.src.rpm http://download.openpkg.org/packages/current/source/EVAL/wipe-0.22-20120800.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/wipe-0.22-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/wipe-0.22-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/EVAL/wipe-0.22-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/PLUS/chkrootkit-0.49-20090804.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/chkrootkit-0.49-20090804.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/chkrootkit-0.49-20090804.src.rpm http://download.openpkg.org/packages/current/source/PLUS/chkrootkit-0.49-20090804.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/chkrootkit-0.49-20090804.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/chkrootkit-0.49-20090804.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/PLUS/chkrootkit-0.49-20090804.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/PLUS/sgml-0-20080101.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/sgml-0-20080101.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/sgml-0-20080101.src.rpm http://download.openpkg.org/packages/current/source/PLUS/sgml-0-20080101.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/sgml-0-20080101.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/sgml-0-20080101.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/PLUS/sgml-0-20080101.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/infozip-2.32.5.52-20080101.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/infozip-2.32.5.52-20080101.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/infozip-2.32.5.52-20080101.src.rpm http://download.openpkg.org/packages/current/source/BASE/infozip-2.32.5.52-20080101.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/infozip-2.32.5.52-20080101.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/infozip-2.32.5.52-20080101.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/infozip-2.32.5.52-20080101.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/PLUS/docbook-4.5-20101102.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/docbook-4.5-20101102.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/docbook-4.5-20101102.src.rpm http://download.openpkg.org/packages/current/source/PLUS/docbook-4.5-20101102.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/docbook-4.5-20101102.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/docbook-4.5-20101102.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/PLUS/docbook-4.5-20101102.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/libxslt-1.1.26-20090925.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/libxslt-1.1.26-20090925.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/libxslt-1.1.26-20090925.src.rpm http://download.openpkg.org/packages/current/source/BASE/libxslt-1.1.26-20090925.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/libxslt-1.1.26-20090925.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/libxslt-1.1.26-20090925.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/libxslt-1.1.26-20090925.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/mktemp-1.7-20100426.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/mktemp-1.7-20100426.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/mktemp-1.7-20100426.src.rpm http://download.openpkg.org/packages/current/source/BASE/mktemp-1.7-20100426.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/mktemp-1.7-20100426.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/mktemp-1.7-20100426.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/mktemp-1.7-20100426.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/png-1.4.8-20110707.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/png-1.4.8-20110707.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/png-1.4.8-20110707.src.rpm http://download.openpkg.org/packages/current/source/BASE/png-1.4.8-20110707.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/png-1.4.8-20110707.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/png-1.4.8-20110707.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/png-1.4.8-20110707.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/PLUS/sipcalc-1.1.5-20090721.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/sipcalc-1.1.5-20090721.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/sipcalc-1.1.5-20090721.src.rpm http://download.openpkg.org/packages/current/source/PLUS/sipcalc-1.1.5-20090721.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/sipcalc-1.1.5-20090721.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/sipcalc-1.1.5-20090721.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/PLUS/sipcalc-1.1.5-20090721.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/socat-1.7.2.1-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/socat-1.7.2.1-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/socat-1.7.2.1-20120800.src.rpm http://download.openpkg.org/packages/current/source/BASE/socat-1.7.2.1-20120800.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/socat-1.7.2.1-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/socat-1.7.2.1-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/socat-1.7.2.1-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/tetex-3.0-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/tetex-3.0-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/tetex-3.0-20120800.src.rpm http://download.openpkg.org/packages/current/source/BASE/tetex-3.0-20120800.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/tetex-3.0-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/tetex-3.0-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/tetex-3.0-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/EVAL/xmlto-0.0.25-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/xmlto-0.0.25-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/xmlto-0.0.25-20120800.src.rpm http://download.openpkg.org/packages/current/source/EVAL/xmlto-0.0.25-20120800.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/xmlto-0.0.25-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/xmlto-0.0.25-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/EVAL/xmlto-0.0.25-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/php-5.4.5-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/php-5.4.5-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/php-5.4.5-20120800.src.rpm http://download.openpkg.org/packages/current/source/BASE/php-5.4.5-20120800.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/php-5.4.5-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/php-5.4.5-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/php-5.4.5-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/slang-2.2.4-20110731.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/slang-2.2.4-20110731.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/slang-2.2.4-20110731.src.rpm http://download.openpkg.org/packages/current/source/BASE/slang-2.2.4-20110731.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/slang-2.2.4-20110731.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/slang-2.2.4-20110731.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/slang-2.2.4-20110731.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/lynx-2.8.7-20090707.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/lynx-2.8.7-20090707.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/lynx-2.8.7-20090707.src.rpm http://download.openpkg.org/packages/current/source/BASE/lynx-2.8.7-20090707.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/lynx-2.8.7-20090707.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/lynx-2.8.7-20090707.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/lynx-2.8.7-20090707.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/jpeg-8d-20120116.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/jpeg-8d-20120116.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/jpeg-8d-20120116.src.rpm http://download.openpkg.org/packages/current/source/BASE/jpeg-8d-20120116.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/jpeg-8d-20120116.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/jpeg-8d-20120116.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/jpeg-8d-20120116.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/tiff-4.0.1-20120219.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/tiff-4.0.1-20120219.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/tiff-4.0.1-20120219.src.rpm http://download.openpkg.org/packages/current/source/BASE/tiff-4.0.1-20120219.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --define 'with_cxx yes' --rebuild ${HOME}/opwrk/pkg/src/tiff-4.0.1-20120219.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/tiff-4.0.1-20120219.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/tiff-4.0.1-20120219.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/lcms-2.3-20111216.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/lcms-2.3-20111216.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/lcms-2.3-20111216.src.rpm http://download.openpkg.org/packages/current/source/BASE/lcms-2.3-20111216.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/lcms-2.3-20111216.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/lcms-2.3-20111216.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/lcms-2.3-20111216.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/mng-1.0.10-20101010.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/mng-1.0.10-20101010.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/mng-1.0.10-20101010.src.rpm http://download.openpkg.org/packages/current/source/BASE/mng-1.0.10-20080101.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/mng-1.0.10-20101010.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/mng-1.0.10-20101010.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/mng-1.0.10-20101010.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/PLUS/liboop-1.0-20080101.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/liboop-1.0-20080101.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/liboop-1.0-20080101.src.rpm http://download.openpkg.org/packages/current/source/PLUS/liboop-1.0-20080101.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/liboop-1.0-20080101.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/liboop-1.0-20080101.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/PLUS/liboop-1.0-20080101.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/PLUS/nepim-0.53-20110300.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/nepim-0.53-20110300.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/nepim-0.53-20110300.src.rpm http://download.openpkg.org/packages/current/source/PLUS/nepim-0.53-20110300.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/nepim-0.53-20110300.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/nepim-0.53-20110300.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/PLUS/nepim-0.53-20110300.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/PLUS/netperf-2.6.0-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/netperf-2.6.0-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/netperf-2.6.0-20120800.src.rpm http://download.openpkg.org/packages/current/source/PLUS/netperf-2.6.0-20120800.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/netperf-2.6.0-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/netperf-2.6.0-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/PLUS/netperf-2.6.0-20120800.src.rpm = $? ::::
#echo :::: http://download.openpkg.org/packages/current/source/PLUS/m2tstoavi-1-20120800.src.rpm ::::
#if test ! -f ${HOME}/opwrk/pkg/src/m2tstoavi-1-20120800.src.rpm; then
#    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/m2tstoavi-1-20120800.src.rpm http://download.openpkg.org/packages/current/source/PLUS/m2tstoavi-1-20120800.src.rpm || exit $?
#fi
#time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/m2tstoavi-1-20120800.src.rpm || exit $?
#${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/m2tstoavi-1-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
#echo :::: http://download.openpkg.org/packages/current/source/PLUS/m2tstoavi-1-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/PLUS/xmlbasedsrs-0.1-20100514.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/xmlbasedsrs-0.1-20100514.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/xmlbasedsrs-0.1-20100514.src.rpm http://download.openpkg.org/packages/current/source/PLUS/xmlbasedsrs-0.1-20100514.src.rpm || exit $?
fi
time /${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/xmlbasedsrs-0.1-20100514.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/xmlbasedsrs-0.1-20100514.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/PLUS/xmlbasedsrs-0.1-20100514.src.rpm = $? ::::
#echo :::: http://download.openpkg.org/packages/current/source/EVAL/valgrind-3.8.0-20120810.src.rpm ::::
#if test ! -f ${HOME}/opwrk/pkg/src/valgrind-3.8.0-20120810.src.rpm; then
#    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/valgrind-3.8.0-20120810.src.rpm http://download.openpkg.org/packages/current/source/EVAL/valgrind-3.8.0-20120810.src.rpm || exit $?
#fi
#/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/valgrind-3.8.0-20120810.src.rpm || exit $?
#${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/valgrind-3.8.0-20120810.${ARCFIX}-${PREFIX}.rpm || exit $?
#echo :::: http://download.openpkg.org/packages/current/source/EVAL/valgrind-3.8.0-20120810.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/EVAL/cryptlib-3.4.1-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/cryptlib-3.4.1-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/cryptlib-3.4.1-20120800.src.rpm http://download.openpkg.org/packages/current/source/EVAL/cryptlib-3.4.1-20120800.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/cryptlib-3.4.1-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/cryptlib-3.4.1-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/EVAL/cryptlib-3.4.1-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/uuid-1.6.2-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/uuid-1.6.2-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/uuid-1.6.2-20120800.src.rpm http://download.openpkg.org/packages/current/source/BASE/uuid-1.6.2-20120800.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --define 'with_cxx yes' --define 'with_dce yes' --define 'with_perl yes' --define 'with_php yes' --rebuild ${HOME}/opwrk/pkg/src/uuid-1.6.2-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/uuid-1.6.2-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/uuid-1.6.2-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/psutils-1.17-20080101.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/psutils-1.17-20080101.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/psutils-1.17-20080101.src.rpm http://download.openpkg.org/packages/current/source/BASE/psutils-1.17-20080101.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/psutils-1.17-20080101.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/psutils-1.17-20080101.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/psutils-1.17-20080101.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/aspell-0.60.6.1-20110731.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/aspell-0.60.6.1-20110731.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/aspell-0.60.6.1-20110731.src.rpm http://download.openpkg.org/packages/current/source/BASE/aspell-0.60.6.1-20110731.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/aspell-0.60.6.1-20110731.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/aspell-0.60.6.1-20110731.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/aspell-0.60.6.1-20110731.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/htdig-3.2.0b6-20080101.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/htdig-3.2.0b6-20080101.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/htdig-3.2.0b6-20080101.src.rpm http://download.openpkg.org/packages/current/source/BASE/htdig-3.2.0b6-20080101.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/htdig-3.2.0b6-20080101.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/htdig-3.2.0b6-20080101.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/htdig-3.2.0b6-20080101.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/ghostscript-9.02-20120623.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/ghostscript-9.02-20120623.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/ghostscript-9.02-20120623.src.rpm http://download.openpkg.org/packages/current/source/BASE/ghostscript-9.02-20120623.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/ghostscript-9.02-20120623.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/ghostscript-9.02-20120623.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/ghostscript-9.02-20120623.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/gc-7.2c-20120626.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/gc-7.2c-20120626.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/gc-7.2c-20120626.src.rpm http://download.openpkg.org/packages/current/source/BASE/gc-7.2c-20120626.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/gc-7.2c-20120626.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/gc-7.2c-20120626.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/gc-7.2c-20120626.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/data-iana-2.30-20080306.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/data-iana-2.30-20080306.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/data-iana-2.30-20080306.src.rpm http://download.openpkg.org/packages/current/source/BASE/data-iana-2.30-20080306.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/data-iana-2.30-20080306.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/data-iana-2.30-20080306.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/data-iana-2.30-20080306.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/data-isocodes-3.37-20120630.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/data-isocodes-3.37-20120630.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/data-isocodes-3.37-20120630.src.rpm http://download.openpkg.org/packages/current/source/BASE/data-isocodes-3.37-20120630.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/data-isocodes-3.37-20120630.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/data-isocodes-3.37-20120630.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/data-isocodes-3.37-20120630.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/data-timezone-2011h-20110731.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/data-timezone-2011h-20110731.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/data-timezone-2011h-20110731.src.rpm http://download.openpkg.org/packages/current/source/BASE/data-timezone-2011h-20110731.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/data-timezone-2011h-20110731.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/data-timezone-2011h-20110731.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/data-timezone-2011h-20110731.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/data-charset-2.1-20080530.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/data-charset-2.1-20080530.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/data-charset-2.1-20080530.src.rpm http://download.openpkg.org/packages/current/source/BASE/data-charset-2.1-20080530.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/data-charset-2.1-20080530.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/data-charset-2.1-20080530.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/data-charset-2.1-20080530.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/config-20120627-20120627.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/config-20120627-20120627.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/config-20120627-20120627.src.rpm http://download.openpkg.org/packages/current/source/BASE/config-20120627-20120627.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/config-20120627-20120627.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/config-20120627-20120627.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/config-20120627-20120627.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/PLUS/opie-2.4.1.1-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/opie-2.4.1.1-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/opie-2.4.1.1-20120800.src.rpm http://download.openpkg.org/packages/current/source/PLUS/opie-2.4.1.1-20120800.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/opie-2.4.1.1-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/opie-2.4.1.1-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/PLUS/opie-2.4.1.1-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/PLUS/cracklib-2.8.19-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/cracklib-2.8.19-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/cracklib-2.8.19-20120800.src.rpm http://download.openpkg.org/packages/current/source/PLUS/cracklib-2.8.19-20120800.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/cracklib-2.8.19-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/cracklib-2.8.19-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/PLUS/cracklib-2.8.19-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/PLUS/john-1.7.9-20111124.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/john-1.7.9-20111124.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/john-1.7.9-20111124.src.rpm http://download.openpkg.org/packages/current/source/PLUS/john-1.7.9-20111124.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/john-1.7.9-20111124.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/john-1.7.9-20111124.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/PLUS/john-1.7.9-20111124.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/PLUS/skey-1.1.5-20080101.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/skey-1.1.5-20080101.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/skey-1.1.5-20080101.src.rpm http://download.openpkg.org/packages/current/source/PLUS/skey-1.1.5-20080101.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/skey-1.1.5-20080101.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/skey-1.1.5-20080101.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/PLUS/skey-1.1.5-20080101.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/PLUS/doxygen-1.8.1-20120603.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/doxygen-1.8.1-20120603.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/doxygen-1.8.1-20120603.src.rpm http://download.openpkg.org/packages/current/source/PLUS/doxygen-1.8.1-20120603.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/doxygen-1.8.1-20120603.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/doxygen-1.8.1-20120603.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/PLUS/doxygen-1.8.1-20120603.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/PLUS/cgicc-3.2.9-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/cgicc-3.2.9-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/cgicc-3.2.9-20120800.src.rpm http://download.openpkg.org/packages/current/source/PLUS/cgicc-3.2.9-20120800.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --define 'with_htmldocs yes' --rebuild ${HOME}/opwrk/pkg/src/cgicc-3.2.9-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/cgicc-3.2.9-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/PLUS/cgicc-3.2.9-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/EVAL/dpkg-1.16.8-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/dpkg-1.16.8-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/dpkg-1.16.8-20120800.src.rpm http://download.openpkg.org/packages/current/source/EVAL/dpkg-1.16.2-20120320.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/dpkg-1.16.8-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/dpkg-1.16.8-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/EVAL/dpkg-1.16.8-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/EVAL/jhead-2.96-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/jhead-2.96-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/jhead-2.96-20120800.src.rpm http://download.openpkg.org/packages/current/source/EVAL/jhead-2.96-20120800.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/jhead-2.96-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/jhead-2.96-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/EVAL/jhead-2.96-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/PLUS/mico-2.3.13-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/mico-2.3.13-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/mico-2.3.13-20120800.src.rpm http://download.openpkg.org/packages/current/source/PLUS/mico-2.3.13-20120800.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/mico-2.3.13-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/mico-2.3.13-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/PLUS/mico-2.3.13-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/EVAL/libupnp-1.6.17-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/libupnp-1.6.17-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/libupnp-1.6.17-20120800.src.rpm http://download.openpkg.org/packages/current/source/EVAL/libupnp-1.6.17-20120800.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/libupnp-1.6.17-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/libupnp-1.6.17-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/EVAL/libupnp-1.6.17-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/ruby-1.9.3p194-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/ruby-1.9.3p194-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/ruby-1.9.3p194-20120800.src.rpm http://download.openpkg.org/packages/current/source/BASE/ruby-1.9.3p194-20120800.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/ruby-1.9.3p194-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/ruby-1.9.3p194-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/ruby-1.9.3p194-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/EVAL/id3lib-3.8.3-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/id3lib-3.8.3-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/id3lib-3.8.3-20120800.src.rpm http://download.openpkg.org/packages/current/source/EVAL/id3lib-3.8.3-20080101.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/id3lib-3.8.3-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/id3lib-3.8.3-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/EVAL/id3lib-3.8.3-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/EVAL/taglib-1.7.2-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/taglib-1.7.2-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/taglib-1.7.2-20120800.src.rpm http://download.openpkg.org/packages/current/source/EVAL/taglib-1.7.2-20120800.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/taglib-1.7.2-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/taglib-1.7.2-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/EVAL/taglib-1.7.2-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/PLUS/cryptbreaker-20090106-20090106.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/cryptbreaker-20090106-20090106.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/cryptbreaker-20090106-20090106.src.rpm http://download.openpkg.org/packages/current/source/PLUS/cryptbreaker-20090106-20090106.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/cryptbreaker-20090106-20090106.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/cryptbreaker-20090106-20090106.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/PLUS/cryptbreaker-20090106-20090106.src.rpm = $? ::::

# Centralized cleanup (erase) block
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -e infozip
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -e texinfo
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -e bison
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -e flex
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -e libtool
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -e pkgconfig
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -e glib
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -e grep
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -e gawk
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -e tcl
