#! /bin/sh

# OpenPKG sotfware stack 20120800 Hauptinstanz (oft /opkg)
# autoconf        gcc            libtool          pth
# automake        gcrypt         lsof             readline
# awk             gdb            m4               rsync
# bash            gettext        make             sasl
# bind            glib           mpc              screen
# binutils        gmp            mpfr             sed
# bison           gnupg          multitail        sharutils
# bzip2           gpg-error      mutt             shtool
# coreutils       grep           ncurses          ssmtp
# cpio            groff          ntp              sudo
# curl            gzip           openpkg-tools    tar
# cvs             infozip        openssh          texinfo
# db              less           openssl          top
# diffutils       lftp           pam              vim
# enscript        libassuan      par              w3m
# file            libffi         patch            wget
# findutils       libget         pcre             x509
# flex            libiconv       perl             xz
# fsl             libidn         pinentry         zlib
# gc              libksba        pkgconfig

# 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=opkg
fi
if [ ! $SUDBIN ]; then
    SUDBIN=/usr/bin/sudo
fi

# Usage intro
echo 'This is a OpenPKG installation script for instance /opkg'
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 '            Packages like gcc need more than 2Go temp space. -MSvB'
echo ''
echo "Building and installing OpenPKG to /opkg as $ARCFIX ......"

# Print example bootstrap command
#echo 'sh ${HOME}/opwrk/pkg/src/openpkg-4.6.7-20120800.src.sh --prefix=/opkg --tag=opkg --user=opkg --group=opkg --muid=2001 --ruid=2002 --nuid=2003 --mgid=2001 --rgid=2002 --ngid=2003 --use_cc=/opt/solarisstudio12.3/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
/${PREFIX}/libexec/openpkg/rpm --define 'use_cc /opt/solarisstudio12.3/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
/${PREFIX}/libexec/openpkg/rpm --define 'use_cc /opt/solarisstudio12.3/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/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
/${PREFIX}/libexec/openpkg/rpm --define 'use_cc /opt/solarisstudio12.3/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/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
/${PREFIX}/libexec/openpkg/rpm --define 'use_cc /opt/solarisstudio12.3/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
/${PREFIX}/libexec/openpkg/rpm --define 'use_cc /opt/solarisstudio12.3/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
/${PREFIX}/libexec/openpkg/rpm --define 'use_cc /opt/solarisstudio12.3/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/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
/${PREFIX}/libexec/openpkg/rpm --define 'use_cc /opt/solarisstudio12.3/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/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
/${PREFIX}/libexec/openpkg/rpm --define 'use_cc /opt/solarisstudio12.3/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/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
/${PREFIX}/libexec/openpkg/rpm --define 'use_cc /opt/solarisstudio12.3/bin/cc' --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/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
/${PREFIX}/libexec/openpkg/rpm --define 'use_cc /opt/solarisstudio12.3/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/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
/${PREFIX}/libexec/openpkg/rpm --define 'use_cc /opt/solarisstudio12.3/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
/${PREFIX}/libexec/openpkg/rpm --define 'use_cc /opt/solarisstudio12.3/bin/cc' --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/perl-5.16.0-20120712.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/perl-5.16.0-20120712.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/perl-5.16.0-20120712.src.rpm http://download.openpkg.org/packages/current/source/CORE/perl-5.16.0-20120712.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/perl-5.16.0-20120712.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/perl-5.16.0-20120712.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/CORE/perl-5.16.0-20120712.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
/${PREFIX}/libexec/openpkg/rpm --define 'with_idea yes' --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/BASE/pam-0-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/pam-0-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/pam-0-20120800.src.rpm http://download.openpkg.org/packages/current/source/BASE/pam-0-20120800.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --define 'use_cc /opt/solarisstudio12.3/bin/cc' --rebuild ${HOME}/opwrk/pkg/src/pam-0-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/pam-0-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/pam-0-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/CORE/openssh-5.9p1-20120627.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/openssh-5.9p1-20120627.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/openssh-5.9p1-20120627.src.rpm http://download.openpkg.org/packages/current/source/CORE/openssh-5.9p1-20120627.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --define 'with_pam yes' --rebuild ${HOME}/opwrk/pkg/src/openssh-5.9p1-20120627.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/openssh-5.9p1-20120627.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/CORE/openssh-5.9p1-20120627.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
/${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/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
/${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/CORE/gzip-1.5-20120618.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/gzip-1.5-20120618.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/gzip-1.5-20120618.src.rpm http://download.openpkg.org/packages/current/source/CORE/gzip-1.5-20120618.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/gzip-1.5-20120618.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/gzip-1.5-20120618.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/CORE/gzip-1.5-20120618.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/coreutils-8.17-20120603.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/coreutils-8.17-20120603.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/coreutils-8.17-20120603.src.rpm http://download.openpkg.org/packages/current/source/BASE/coreutils-8.17-20120603.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --define 'with_legacy yes' --rebuild ${HOME}/opwrk/pkg/src/coreutils-8.17-20120603.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/coreutils-8.17-20120603.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/coreutils-8.17-20120603.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/findutils-4.5.10-20110515.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/findutils-4.5.10-20110515.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/findutils-4.5.10-20110515.src.rpm http://download.openpkg.org/packages/current/source/BASE/findutils-4.5.10-20110515.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/findutils-4.5.10-20110515.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/findutils-4.5.10-20110515.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/findutils-4.5.10-20110515.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
/${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/rsync-3.0.9-20110924.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/rsync-3.0.9-20110924.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/rsync-3.0.9-20110924.src.rpm http://download.openpkg.org/packages/current/source/CORE/rsync-3.0.9-20110924.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/rsync-3.0.9-20110924.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/rsync-3.0.9-20110924.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/CORE/rsync-3.0.9-20110924.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/CORE/shtool-2.0.8-20080718.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/shtool-2.0.8-20080718.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/shtool-2.0.8-20080718.src.rpm http://download.openpkg.org/packages/current/source/CORE/shtool-2.0.8-20080718.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/shtool-2.0.8-20080718.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/shtool-2.0.8-20080718.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/CORE/shtool-2.0.8-20080718.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/CORE/tar-1.26-20110731.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/tar-1.26-20110731.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/tar-1.26-20110731.src.rpm http://download.openpkg.org/packages/current/source/CORE/tar-1.26-20110731.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/tar-1.26-20110731.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/tar-1.26-20110731.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/CORE/tar-1.26-20110731.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/sudo-1.8.5p2-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/sudo-1.8.5p2-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/sudo-1.8.5p2-20120800.src.rpm http://download.openpkg.org/packages/current/source/BASE/sudo-1.8.5p2-20120800.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/sudo-1.8.5p2-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/sudo-1.8.5p2-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/sudo-1.8.5p2-20120800.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
/${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
/${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/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/w3m-0.5.3-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/w3m-0.5.3-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/w3m-0.5.3-20120800.src.rpm http://download.openpkg.org/packages/current/source/BASE/w3m-0.5.3-20120800.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/w3m-0.5.3-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/w3m-0.5.3-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/w3m-0.5.3-20120800.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
/${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/wget-1.13.4-20111018.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/wget-1.13.4-20111018.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/wget-1.13.4-20111018.src.rpm http://download.openpkg.org/packages/current/source/BASE/wget-1.13.4-20111018.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/wget-1.13.4-20111018.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/wget-1.13.4-20111018.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/wget-1.13.4-20111018.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
/${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/BASE/file-5.11-20120603.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/file-5.11-20120603.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/file-5.11-20120603.src.rpm http://download.openpkg.org/packages/current/source/BASE/file-5.11-20120603.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/file-5.11-20120603.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/file-5.11-20120603.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/file-5.11-20120603.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
/${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/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
/${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
/${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/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
/${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
/${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
/${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/libidn-1.25-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/libidn-1.25-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/libidn-1.25-20120800.src.rpm http://download.openpkg.org/packages/current/source/BASE/libidn-1.25-20120800.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/libidn-1.25-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/libidn-1.25-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/libidn-1.25-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/db-4.7.25.4-20091002.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/db-4.7.25.4-20091002.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/db-4.7.25.4-20091002.src.rpm http://download.openpkg.org/packages/current/source/BASE/db-4.7.25.4-20091002.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/db-4.7.25.4-20091002.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/db-4.7.25.4-20091002.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/db-4.7.25.4-20091002.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/groff-1.21-20101231.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/groff-1.21-20101231.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/groff-1.21-20101231.src.rpm http://download.openpkg.org/packages/current/source/BASE/groff-1.21-20101231.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/groff-1.21-20101231.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/groff-1.21-20101231.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/groff-1.21-20101231.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/sasl-2.1.23-20101020.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/sasl-2.1.23-20101020.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/sasl-2.1.23-20101020.src.rpm http://download.openpkg.org/packages/current/source/BASE/sasl-2.1.23-20101020.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/sasl-2.1.23-20101020.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/sasl-2.1.23-20101020.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/sasl-2.1.23-20101020.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/mutt-1.5.21-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/mutt-1.5.21-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/mutt-1.5.21-20120800.src.rpm http://download.openpkg.org/packages/current/source/BASE/mutt-1.5.21-20120800.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/mutt-1.5.21-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/mutt-1.5.21-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/mutt-1.5.21-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/bind-9.9.1p1-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/bind-9.9.1p1-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/bind-9.9.1p1-20120800.src.rpm http://download.openpkg.org/packages/current/source/BASE/bind-9.9.1p1-20120800.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/bind-9.9.1p1-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/bind-9.9.1p1-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/bind-9.9.1p1-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/awk-20071023-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/awk-20071023-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/awk-20071023-20120800.src.rpm http://download.openpkg.org/packages/current/source/BASE/awk-20071023-20120800.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/awk-20071023-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/awk-20071023-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/awk-20071023-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/PLUS/gpg-error-1.10-20101027.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/gpg-error-1.10-20101027.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/gpg-error-1.10-20101027.src.rpm http://download.openpkg.org/packages/current/source/PLUS/gpg-error-1.10-20101027.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/gpg-error-1.10-20101027.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/gpg-error-1.10-20101027.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/PLUS/gpg-error-1.10-20101027.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/PLUS/gcrypt-1.4.6-20100714.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/gcrypt-1.4.6-20100714.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/gcrypt-1.4.6-20100714.src.rpm http://download.openpkg.org/packages/current/source/PLUS/gcrypt-1.4.6-20100714.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/gcrypt-1.4.6-20100714.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/gcrypt-1.4.6-20100714.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/PLUS/gcrypt-1.4.6-20100714.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/pth-2.0.7-20080101.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/pth-2.0.7-20080101.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/pth-2.0.7-20080101.src.rpm http://download.openpkg.org/packages/current/source/BASE/pth-2.0.7-20080101.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/pth-2.0.7-20080101.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/pth-2.0.7-20080101.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/pth-2.0.7-20080101.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/PLUS/libksba-1.2.0-20110303.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/libksba-1.2.0-20110303.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/libksba-1.2.0-20110303.src.rpm http://download.openpkg.org/packages/current/source/PLUS/libksba-1.2.0-20110303.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/libksba-1.2.0-20110303.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/libksba-1.2.0-20110303.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/PLUS/libksba-1.2.0-20110303.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/PLUS/pinentry-0.8.1-20120623.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/pinentry-0.8.1-20120623.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/pinentry-0.8.1-20120623.src.rpm http://download.openpkg.org/packages/current/source/PLUS/pinentry-0.8.1-20120623.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/pinentry-0.8.1-20120623.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/pinentry-0.8.1-20120623.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/PLUS/pinentry-0.8.1-20120623.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/PLUS/libassuan-2.0.3-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/libassuan-2.0.3-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/libassuan-2.0.3-20120800.src.rpm http://download.openpkg.org/packages/current/source/PLUS/libassuan-2.0.3-20120800.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/libassuan-2.0.3-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/libassuan-2.0.3-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/PLUS/libassuan-2.0.3-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
/${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/EVAL/xz-5.0.4-20120627.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/xz-5.0.4-20120627.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/xz-5.0.4-20120627.src.rpm http://download.openpkg.org/packages/current/source/EVAL/xz-5.0.4-20120627.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/xz-5.0.4-20120627.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/xz-5.0.4-20120627.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/EVAL/xz-5.0.4-20120627.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/PLUS/gnupg-2.0.19-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/gnupg-2.0.19-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/gnupg-2.0.19-20120800.src.rpm http://download.openpkg.org/packages/current/source/PLUS/gnupg-2.0.19-20120800.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/gnupg-2.0.19-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/gnupg-2.0.19-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/PLUS/gnupg-2.0.19-20120800.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/BASE/lsof-4.86-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/lsof-4.86-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/lsof-4.86-20120800.src.rpm http://download.openpkg.org/packages/current/source/BASE/lsof-4.86-20120800.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --define 'use_cc /opt/solarisstudio12.3/bin/cc' --rebuild ${HOME}/opwrk/pkg/src/lsof-4.86-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/lsof-4.86-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/lsof-4.86-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/par-1.52-20080101.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/par-1.52-20080101.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/par-1.52-20080101.src.rpm http://download.openpkg.org/packages/current/source/BASE/par-1.52-20080101.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/par-1.52-20080101.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/par-1.52-20080101.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/par-1.52-20080101.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/sharutils-4.11.1-20120605.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/sharutils-4.11.1-20120605.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/sharutils-4.11.1-20120605.src.rpm http://download.openpkg.org/packages/current/source/BASE/sharutils-4.11.1-20120605.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/sharutils-4.11.1-20120605.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/sharutils-4.11.1-20120605.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/sharutils-4.11.1-20120605.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/CORE/patch-2.6.1-20091230.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/patch-2.6.1-20091230.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/patch-2.6.1-20091230.src.rpm http://download.openpkg.org/packages/current/source/CORE/patch-2.6.1-20091230.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/patch-2.6.1-20091230.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/patch-2.6.1-20091230.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/CORE/patch-2.6.1-20091230.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
/${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/cvs-1.12.13-20100106.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/cvs-1.12.13-20100106.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/cvs-1.12.13-20100106.src.rpm http://download.openpkg.org/packages/current/source/BASE/cvs-1.12.13-20100106.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/cvs-1.12.13-20100106.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/cvs-1.12.13-20100106.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/cvs-1.12.13-20100106.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/less-451-20120722.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/less-451-20120722.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/less-451-20120722.src.rpm http://download.openpkg.org/packages/current/source/BASE/less-451-20120722.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/less-451-20120722.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/less-451-20120722.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/less-451-20120722.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/CORE/ntp-4.2.6p5-20111226.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/ntp-4.2.6p5-20111226.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/ntp-4.2.6p5-20111226.src.rpm http://download.openpkg.org/packages/current/source/CORE/ntp-4.2.6p5-20111226.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/ntp-4.2.6p5-20111226.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/ntp-4.2.6p5-20111226.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/CORE/ntp-4.2.6p5-20111226.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/CORE/screen-4.0.3-20110217.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/screen-4.0.3-20110217.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/screen-4.0.3-20110217.src.rpm http://download.openpkg.org/packages/current/source/CORE/screen-4.0.3-20110217.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/screen-4.0.3-20110217.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/screen-4.0.3-20110217.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/CORE/screen-4.0.3-20110217.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/ssmtp-2.64-20110731.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/ssmtp-2.64-20110731.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/ssmtp-2.64-20110731.src.rpm http://download.openpkg.org/packages/current/source/BASE/ssmtp-2.64-20110731.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --define 'with_ssl yes' --rebuild ${HOME}/opwrk/pkg/src/ssmtp-2.64-20110731.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/ssmtp-2.64-20110731.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/ssmtp-2.64-20110731.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/CORE/vim-7.3.524-20120623.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/vim-7.3.524-20120623.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/vim-7.3.524-20120623.src.rpm http://download.openpkg.org/packages/current/source/CORE/vim-7.3.524-20120623.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/vim-7.3.524-20120623.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/vim-7.3.524-20120623.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/CORE/vim-7.3.524-20120623.src.rpm = $? ::::
#echo :::: http://download.openpkg.org/packages/current/source/BASE/libget-1.0-20120208.src.rpm ::::
#if test ! -f ${HOME}/opwrk/pkg/src/libget-1.0-20120208.src.rpm; then
#    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/libget-1.0-20120208.src.rpm http://download.openpkg.org/packages/current/source/BASE/libget-1.0-20120208.src.rpm || exit $?
#fi
#/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/libget-1.0-20120208.src.rpm || exit $?
#${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/libget-1.0-20120208.${ARCFIX}-${PREFIX}.rpm || exit $?
#echo :::: http://download.openpkg.org/packages/current/source/BASE/libget-1.0-20120208.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/cpio-2.11-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/cpio-2.11-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/cpio-2.11-20120800.src.rpm http://download.openpkg.org/packages/current/source/BASE/cpio-2.11-20120800.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/cpio-2.11-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/cpio-2.11-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/cpio-2.11-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/PLUS/enscript-1.6.3-20080101.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/enscript-1.6.3-20080101.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/enscript-1.6.3-20080101.src.rpm http://download.openpkg.org/packages/current/source/PLUS/enscript-1.6.3-20080101.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/enscript-1.6.3-20080101.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/enscript-1.6.3-20080101.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/PLUS/enscript-1.6.3-20080101.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/gdb-7.4.1-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/gdb-7.4.1-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/gdb-7.4.1-20120800.src.rpm http://download.openpkg.org/packages/current/source/BASE/gdb-7.4.1-20120800.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/gdb-7.4.1-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/gdb-7.4.1-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/gdb-7.4.1-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/lftp-4.3.8-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/lftp-4.3.8-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/lftp-4.3.8-20120800.src.rpm http://download.openpkg.org/packages/current/source/BASE/lftp-4.3.8-20120800.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/lftp-4.3.8-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/lftp-4.3.8-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/lftp-4.3.8-20120800.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/multitail-5.2.9-20111231.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/multitail-5.2.9-20111231.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/multitail-5.2.9-20111231.src.rpm http://download.openpkg.org/packages/current/source/BASE/multitail-5.2.9-20111231.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/multitail-5.2.9-20111231.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/multitail-5.2.9-20111231.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/multitail-5.2.9-20111231.src.rpm = $? ::::
echo :::: http://download.openpkg.org/packages/current/source/BASE/openpkg-tools-1.4.6-20071231.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/openpkg-tools-1.4.6-20071231.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/openpkg-tools-1.4.6-20071231.src.rpm http://download.openpkg.org/packages/current/source/BASE/openpkg-tools-1.4.6-20071231.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/openpkg-tools-1.4.6-20071231.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/openpkg-tools-1.4.6-20071231.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/BASE/openpkg-tools-1.4.6-20071231.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
/${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/EVAL/top-3.8b1-20120800.src.rpm ::::
if test ! -f ${HOME}/opwrk/pkg/src/top-3.8b1-20120800.src.rpm; then
    /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/top-3.8b1-20120800.src.rpm http://download.openpkg.org/packages/current/source/EVAL/top-3.8b1-20120800.src.rpm || exit $?
fi
/${PREFIX}/libexec/openpkg/rpm --rebuild ${HOME}/opwrk/pkg/src/top-3.8b1-20120800.src.rpm || exit $?
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/top-3.8b1-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
echo :::: http://download.openpkg.org/packages/current/source/EVAL/top-3.8b1-20120800.src.rpm = $? ::::

# Centralized cleanup (erase) block
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -e groff
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -e pkgconfig
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -e automake
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -e texinfo
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -e glib
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -e gettext
${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -e libffi
