--- elwix/build_3thparty.sh 2012/02/21 16:15:14 1.1.2.1 +++ elwix/build_3thparty.sh 2013/07/29 19:47:55 1.2.6.7 @@ -5,7 +5,7 @@ # (C) AITNET ltd - Sofia/Bulgaria # by Michael Pounov # -# $Id: build_3thparty.sh,v 1.1.2.1 2012/02/21 16:15:14 misho Exp $ +# $Id: build_3thparty.sh,v 1.2.6.7 2013/07/29 19:47:55 misho Exp $ # [ -r ./config/rc.elwix ] && . ./config/rc.elwix @@ -15,6 +15,11 @@ if [ X"${ELWIX_IS_CONFIGURED}" != X"YES" ]; then echo exit 1 fi +V=${VERSION} +[ -r ${CENV} ] && . ${CENV} +unset INSTALL +unset VERSION +VERSION="$V" if [ ! -d $BSDSRC ]; then echo @@ -30,7 +35,7 @@ if [ ! -d $DEST ]; then exit 1 fi -clean_cross() +clean_3th() { echo "+++ Clean ELWIX 3th party ..." @@ -64,8 +69,6 @@ compile_3th() [ $? -ne 0 ] && exit 1 ./build.sh scan_ffs ${CBUILD} ${PKG} ${TARGET_BUILD} [ $? -ne 0 ] && exit 1 - ./build.sh pciutils ${CGBUILD} ${PKG} ${TARGET_BUILD} - [ $? -ne 0 ] && exit 1 ./build.sh istgt ${CBUILD} ${PKG} ${TARGET_BUILD} [ $? -ne 0 ] && exit 1 ./build.sh rsync ${CBUILD} ${PKG} ${TARGET_BUILD} @@ -74,6 +77,8 @@ compile_3th() [ $? -ne 0 ] && exit 1 ./build.sh mpd ${CBUILD} ${PKG} ${TARGET_BUILD} [ $? -ne 0 ] && exit 1 + ./build.sh mrouted ${CGBUILD} ${PKG} ${TARGET_BUILD} + [ $? -ne 0 ] && exit 1 ./build.sh igmpproxy ${CBUILD} ${PKG} ${TARGET_BUILD} [ $? -ne 0 ] && exit 1 ./build.sh sudo ${CBUILD} ${PKG} ${TARGET_BUILD} @@ -84,42 +89,45 @@ compile_3th() [ $? -ne 0 ] && exit 1 ./build.sh ipguard ${CBUILD} ${PKG} ${TARGET_BUILD} [ $? -ne 0 ] && exit 1 - ./build.sh iperf ${CBUILD} ${PKG} ${TARGET_BUILD} - [ $? -ne 0 ] && exit 1 ./build.sh smartmontools ${CBUILD} ${PKG} ${TARGET_BUILD} [ $? -ne 0 ] && exit 1 - ./build.sh sqlite3 ${CBUILD} ${PKG} ${TARGET_BUILD} - [ $? -ne 0 ] && exit 1 ./build.sh quagga ${CBUILD} ${PKG} ${TARGET_BUILD} [ $? -ne 0 ] && exit 1 - ./build.sh coova-chilli ${CBUILD} ${PKG} ${TARGET_BUILD} - [ $? -ne 0 ] && exit 1 ./build.sh iftop ${CBUILD} ${PKG} ${TARGET_BUILD} [ $? -ne 0 ] && exit 1 ./build.sh arping ${CBUILD} ${PKG} ${TARGET_BUILD} [ $? -ne 0 ] && exit 1 - ./build.sh hping ${CGBUILD} ${PKG} ${TARGET_BUILD} + ./build.sh hping2 ${CGBUILD} ${PKG} ${TARGET_BUILD} [ $? -ne 0 ] && exit 1 ./build.sh trafshow ${CBUILD} ${PKG} ${TARGET_BUILD} [ $? -ne 0 ] && exit 1 ./build.sh ipsec-tools ${CBUILD} ${PKG} ${TARGET_BUILD} [ $? -ne 0 ] && exit 1 - ./build.sh dhcp ${CBUILD} ${PKG} ${TARGET_BUILD} +# ./build.sh dhcp ${CBUILD} ${PKG} ${TARGET_BUILD} +# [ $? -ne 0 ] && exit 1 + ./build.sh dhcping ${CBUILD} ${PKG} ${TARGET_BUILD} [ $? -ne 0 ] && exit 1 - ./build.sh dhcdrop ${CBUILD} ${PKG} ${TARGET_BUILD} + ./build.sh dnsmasq ${CBUILD} ${PKG} ${TARGET_BUILD} [ $? -ne 0 ] && exit 1 - ./build.sh thttpd ${CBUILD} ${PKG} ${TARGET_BUILD} +# ./build.sh miniupnpd ${CBUILD} ${PKG} ${TARGET_BUILD} +# [ $? -ne 0 ] && exit 1 +# ./build.sh miniupnpc ${CGBUILD} ${PKG} ${TARGET_BUILD} +# [ $? -ne 0 ] && exit 1 + ./build.sh ntp ${CBUILD} ${PKG} ${TARGET_BUILD} [ $? -ne 0 ] && exit 1 - ./build.sh php ${CBUILD} ${PKG} ${TARGET_BUILD} - [ $? -ne 0 ] && exit 1 +# ./build.sh libxml2 ${CBUILD} ${PKG} ${TARGET_BUILD} +# [ $? -ne 0 ] && exit 1 +# ./build.sh php ${CBUILD} ${PKG} ${TARGET_BUILD} +# [ $? -ne 0 ] && exit 1 cd - - - echo "ELWIX Platform:${PLATFORM} Version:${VERSION} TargetArch:${TARGET_ARCH}" >${PKG}/elwix.ver } ### main() if ! SnitVer ${PKG}/elwix.ver; then + clean_3th compile_3th + + echo "ELWIX Platform:${PLATFORM} Version:${VERSION} TargetArch:${TARGET_ARCH}" >${PKG}/elwix.ver else echo "Skipped ELWIX 3th party build ..." fi