Diff for /elwix/build_3thparty.sh between versions 1.4.2.5 and 1.5

version 1.4.2.5, 2014/01/07 10:25:30 version 1.5, 2014/09/15 19:06:41
Line 71  compile_3th() Line 71  compile_3th()
   
         BUILD_SH="./config/rc.3thparty_helper"          BUILD_SH="./config/rc.3thparty_helper"
   
        echo "${BUILD_SH} expat ${CBUILD} ${PKG} ${TARGET_BUILD}"        ${BUILD_SH} expat ${CBUILD} ${PKG} ${TARGET_BUILD}
         [ $? -ne 0 ] && exit 1          [ $? -ne 0 ] && exit 1
         ${BUILD_SH} libevent ${CBUILD} ${PKG} ${TARGET_BUILD}          ${BUILD_SH} libevent ${CBUILD} ${PKG} ${TARGET_BUILD}
         [ $? -ne 0 ] && exit 1          [ $? -ne 0 ] && exit 1
         ${BUILD_SH} libiconv ${CGBUILD} ${PKG} ${TARGET_BUILD}          ${BUILD_SH} libiconv ${CGBUILD} ${PKG} ${TARGET_BUILD}
         [ $? -ne 0 ] && exit 1          [ $? -ne 0 ] && exit 1
           ${BUILD_SH} readline ${CGBUILD} ${PKG} ${TARGET_BUILD}
           [ $? -ne 0 ] && exit 1
         ${BUILD_SH} pcre ${CBUILD} ${PKG} ${TARGET_BUILD}          ${BUILD_SH} pcre ${CBUILD} ${PKG} ${TARGET_BUILD}
         [ $? -ne 0 ] && exit 1          [ $? -ne 0 ] && exit 1
         ${BUILD_SH} mini_sendmail ${CBUILD} ${PKG} ${TARGET_BUILD}          ${BUILD_SH} mini_sendmail ${CBUILD} ${PKG} ${TARGET_BUILD}
Line 85  compile_3th() Line 87  compile_3th()
         [ $? -ne 0 ] && exit 1          [ $? -ne 0 ] && exit 1
         ${BUILD_SH} scan_ffs ${CBUILD} ${PKG} ${TARGET_BUILD}          ${BUILD_SH} scan_ffs ${CBUILD} ${PKG} ${TARGET_BUILD}
         [ $? -ne 0 ] && exit 1          [ $? -ne 0 ] && exit 1
 #       ${BUILD_SH} istgt ${CBUILD} ${PKG} ${TARGET_BUILD}  
 #       [ $? -ne 0 ] && exit 1  
         ${BUILD_SH} rsync ${CBUILD} ${PKG} ${TARGET_BUILD}          ${BUILD_SH} rsync ${CBUILD} ${PKG} ${TARGET_BUILD}
         [ $? -ne 0 ] && exit 1          [ $? -ne 0 ] && exit 1
         ${BUILD_SH} ttcp ${CBUILD} ${PKG} ${TARGET_BUILD}          ${BUILD_SH} ttcp ${CBUILD} ${PKG} ${TARGET_BUILD}
         [ $? -ne 0 ] && exit 1          [ $? -ne 0 ] && exit 1
         ${BUILD_SH} mpd ${CBUILD} ${PKG} ${TARGET_BUILD}          ${BUILD_SH} mpd ${CBUILD} ${PKG} ${TARGET_BUILD}
         [ $? -ne 0 ] && exit 1          [ $? -ne 0 ] && exit 1
         ${BUILD_SH} mrouted ${CGBUILD} ${PKG} ${TARGET_BUILD}  
         [ $? -ne 0 ] && exit 1  
         ${BUILD_SH} igmpproxy ${CBUILD} ${PKG} ${TARGET_BUILD}          ${BUILD_SH} igmpproxy ${CBUILD} ${PKG} ${TARGET_BUILD}
         [ $? -ne 0 ] && exit 1          [ $? -ne 0 ] && exit 1
         ${BUILD_SH} sudo ${CBUILD} ${PKG} ${TARGET_BUILD}          ${BUILD_SH} sudo ${CBUILD} ${PKG} ${TARGET_BUILD}
Line 107  compile_3th() Line 105  compile_3th()
         [ $? -ne 0 ] && exit 1          [ $? -ne 0 ] && exit 1
         ${BUILD_SH} smartmontools ${CBUILD} ${PKG} ${TARGET_BUILD}          ${BUILD_SH} smartmontools ${CBUILD} ${PKG} ${TARGET_BUILD}
         [ $? -ne 0 ] && exit 1          [ $? -ne 0 ] && exit 1
        ${BUILD_SH} quagga ${CBUILD} ${PKG} ${TARGET_BUILD}        env CFLAGS="-I${PKG}/include" LDFLAGS="-L${PKG}/lib" ${BUILD_SH} quagga ${CBUILD} ${PKG} ${TARGET_BUILD}
         [ $? -ne 0 ] && exit 1          [ $? -ne 0 ] && exit 1
         ${BUILD_SH} iftop ${CBUILD} ${PKG} ${TARGET_BUILD}          ${BUILD_SH} iftop ${CBUILD} ${PKG} ${TARGET_BUILD}
         [ $? -ne 0 ] && exit 1          [ $? -ne 0 ] && exit 1
Line 117  compile_3th() Line 115  compile_3th()
         [ $? -ne 0 ] && exit 1          [ $? -ne 0 ] && exit 1
         ${BUILD_SH} trafshow ${CBUILD} ${PKG} ${TARGET_BUILD}          ${BUILD_SH} trafshow ${CBUILD} ${PKG} ${TARGET_BUILD}
         [ $? -ne 0 ] && exit 1          [ $? -ne 0 ] && exit 1
        ${BUILD_SH} ipsec-tools ${CBUILD} ${PKG} ${TARGET_BUILD}#        ${BUILD_SH} ipsec-tools ${CGBUILD} ${PKG} ${TARGET_BUILD}
        [ $? -ne 0 ] && exit 1#        [ $? -ne 0 ] && exit 1
 #       ${BUILD_SH} dhcp ${CBUILD} ${PKG} ${TARGET_BUILD}  #       ${BUILD_SH} dhcp ${CBUILD} ${PKG} ${TARGET_BUILD}
 #       [ $? -ne 0 ] && exit 1  #       [ $? -ne 0 ] && exit 1
 #       ${BUILD_SH} dhcping ${CBUILD} ${PKG} ${TARGET_BUILD}  #       ${BUILD_SH} dhcping ${CBUILD} ${PKG} ${TARGET_BUILD}
 #       [ $? -ne 0 ] && exit 1  #       [ $? -ne 0 ] && exit 1
         ${BUILD_SH} dnsmasq ${CBUILD} ${PKG} ${TARGET_BUILD}          ${BUILD_SH} dnsmasq ${CBUILD} ${PKG} ${TARGET_BUILD}
         [ $? -ne 0 ] && exit 1          [ $? -ne 0 ] && exit 1
        ${BUILD_SH} miniupnpd ${CBUILD} ${PKG} ${TARGET_BUILD}#        ${BUILD_SH} miniupnpd ${CBUILD} ${PKG} ${TARGET_BUILD}
        [ $? -ne 0 ] && exit 1#        [ $? -ne 0 ] && exit 1
        ${BUILD_SH} miniupnpc ${CGBUILD} ${PKG} ${TARGET_BUILD}#        ${BUILD_SH} miniupnpc ${CGBUILD} ${PKG} ${TARGET_BUILD}
        [ $? -ne 0 ] && exit 1#        [ $? -ne 0 ] && exit 1
         ${BUILD_SH} ntp ${CBUILD} ${PKG} ${TARGET_BUILD}          ${BUILD_SH} ntp ${CBUILD} ${PKG} ${TARGET_BUILD}
         [ $? -ne 0 ] && exit 1          [ $? -ne 0 ] && exit 1
        ${BUILD_SH} spawn-fcgi ${CBUILD} ${PKG} ${TARGET_BUILD}#        ${BUILD_SH} spawn-fcgi ${CBUILD} ${PKG} ${TARGET_BUILD}
        [ $? -ne 0 ] && exit 1#        [ $? -ne 0 ] && exit 1
        ${BUILD_SH} lighttpd ${CBUILD} ${PKG} ${TARGET_BUILD}#        ${BUILD_SH} lighttpd ${CBUILD} ${PKG} ${TARGET_BUILD}
        [ $? -ne 0 ] && exit 1#        [ $? -ne 0 ] && exit 1
        ${BUILD_SH} libxml2 ${CBUILD} ${PKG} ${TARGET_BUILD}#        ${BUILD_SH} libxml2 ${CBUILD} ${PKG} ${TARGET_BUILD}
        [ $? -ne 0 ] && exit 1#        [ $? -ne 0 ] && exit 1
        ${BUILD_SH} php ${CBUILD} ${PKG} ${TARGET_BUILD}#        ${BUILD_SH} php ${CBUILD} ${PKG} ${TARGET_BUILD}
        [ $? -ne 0 ] && exit 1#        [ $? -ne 0 ] && exit 1
         echo
 }  }
   
 install_3th()  install_3th()
Line 187  build_3th() Line 186  build_3th()
   
 ### main()  ### main()
 if ! SnitVer ${PKG}/elwix.ver; then  if ! SnitVer ${PKG}/elwix.ver; then
        clean_3th        clean_3th || exit 1
        compile_3th        compile_3th || exit 1
   
        install_3th        install_3th || exit 1
        build_3th        build_3th || exit 1
   
         echo "ELWIX Platform:${PLATFORM} Version:${VERSION} TargetArch:${TARGET_ARCH}" >${PKG}/elwix.ver          echo "ELWIX Platform:${PLATFORM} Version:${VERSION} TargetArch:${TARGET_ARCH}" >${PKG}/elwix.ver
 else  else

Removed from v.1.4.2.5  
changed lines
  Added in v.1.5


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>