version 1.5.2.2, 2016/11/21 16:14:53
|
version 1.8, 2021/07/16 18:35:50
|
Line 71 compile_3th()
|
Line 71 compile_3th()
|
|
|
BUILD_SH="./config/rc.3thparty_helper" |
BUILD_SH="./config/rc.3thparty_helper" |
|
|
# ${BUILD_SH} expat ${CBUILD} ${PKG} ${TARGET_BUILD} | for i in ${CROSS_3THPARTY}; do |
# [ $? -ne 0 ] && exit 1 | MK=$(eval echo "\$${i}_MAKE") |
# ${BUILD_SH} libevent ${CBUILD} ${PKG} ${TARGET_BUILD} | env CFLAGS="-I${PKG}/include" LDFLAGS="-L${PKG}/lib" ${BUILD_SH} \ |
# [ $? -ne 0 ] && exit 1 | $i $MK ${PKG} ${TARGET_BUILD} || Die "ERROR:: with $i packet!" |
# ${BUILD_SH} libiconv ${CGBUILD} ${PKG} ${TARGET_BUILD} | done |
# [ $? -ne 0 ] && exit 1 | |
# ${BUILD_SH} pcre ${CBUILD} ${PKG} ${TARGET_BUILD} | |
# [ $? -ne 0 ] && exit 1 | |
|
|
${BUILD_SH} mini_sendmail ${CBUILD} ${PKG} ${TARGET_BUILD} |
|
[ $? -ne 0 ] && exit 1 |
|
${BUILD_SH} choparp ${CBUILD} ${PKG} ${TARGET_BUILD} |
|
[ $? -ne 0 ] && exit 1 |
|
${BUILD_SH} ipguard ${CBUILD} ${PKG} ${TARGET_BUILD} |
|
[ $? -ne 0 ] && exit 1 |
|
${BUILD_SH} igmpproxy ${CBUILD} ${PKG} ${TARGET_BUILD} |
|
[ $? -ne 0 ] && exit 1 |
|
${BUILD_SH} ttcp ${CBUILD} ${PKG} ${TARGET_BUILD} |
|
[ $? -ne 0 ] && exit 1 |
|
${BUILD_SH} bmon ${CGBUILD} ${PKG} ${TARGET_BUILD} |
|
[ $? -ne 0 ] && exit 1 |
|
${BUILD_SH} mtr ${CBUILD} ${PKG} ${TARGET_BUILD} |
|
[ $? -ne 0 ] && exit 1 |
|
${BUILD_SH} hping2 ${CGBUILD} ${PKG} ${TARGET_BUILD} |
|
[ $? -ne 0 ] && exit 1 |
|
${BUILD_SH} arping ${CBUILD} ${PKG} ${TARGET_BUILD} |
|
[ $? -ne 0 ] && exit 1 |
|
${BUILD_SH} rsync ${CBUILD} ${PKG} ${TARGET_BUILD} |
|
[ $? -ne 0 ] && exit 1 |
|
${BUILD_SH} mpd ${CBUILD} ${PKG} ${TARGET_BUILD} |
|
[ $? -ne 0 ] && exit 1 |
|
${BUILD_SH} dnsmasq ${CBUILD} ${PKG} ${TARGET_BUILD} |
|
[ $? -ne 0 ] && exit 1 |
|
${BUILD_SH} readline ${CGBUILD} ${PKG} ${TARGET_BUILD} |
|
[ $? -ne 0 ] && exit 1 |
|
env CFLAGS="-I${PKG}/include" LDFLAGS="-L${PKG}/lib" ${BUILD_SH} quagga ${CBUILD} ${PKG} ${TARGET_BUILD} |
|
[ $? -ne 0 ] && exit 1 |
|
|
|
# ${BUILD_SH} iftop ${CBUILD} ${PKG} ${TARGET_BUILD} |
|
# [ $? -ne 0 ] && exit 1 |
|
# ${BUILD_SH} iperf ${CBUILD} ${PKG} ${TARGET_BUILD} |
|
# [ $? -ne 0 ] && exit 1 |
|
# ${BUILD_SH} sudo ${CBUILD} ${PKG} ${TARGET_BUILD} |
|
# [ $? -ne 0 ] && exit 1 |
|
# ${BUILD_SH} smartmontools ${CBUILD} ${PKG} ${TARGET_BUILD} |
|
# [ $? -ne 0 ] && exit 1 |
|
# ${BUILD_SH} trafshow ${CBUILD} ${PKG} ${TARGET_BUILD} |
|
# [ $? -ne 0 ] && exit 1 |
|
# ${BUILD_SH} ipsec-tools ${CGBUILD} ${PKG} ${TARGET_BUILD} |
|
# [ $? -ne 0 ] && exit 1 |
|
# ${BUILD_SH} dhcp ${CBUILD} ${PKG} ${TARGET_BUILD} |
|
# [ $? -ne 0 ] && exit 1 |
|
# ${BUILD_SH} dhcping ${CBUILD} ${PKG} ${TARGET_BUILD} |
|
# [ $? -ne 0 ] && exit 1 |
|
# ${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} spawn-fcgi ${CBUILD} ${PKG} ${TARGET_BUILD} |
|
# [ $? -ne 0 ] && exit 1 |
|
# ${BUILD_SH} lighttpd ${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 |
|
echo |
echo |
} |
} |
|
|
Line 154 install_3th()
|
Line 92 install_3th()
|
|
|
StripFiles \*.so\* ${PKG}/lib |
StripFiles \*.so\* ${PKG}/lib |
InstallFiles \*.so\* ${PKG}/lib $LIBS |
InstallFiles \*.so\* ${PKG}/lib $LIBS |
|
InstallLinks \*.so\* ${PKG}/lib $LIBS |
StripFiles \* ${PKG}/libexec |
StripFiles \* ${PKG}/libexec |
InstallFiles \* ${PKG}/libexec $LIBEXEC |
InstallFiles \* ${PKG}/libexec $LIBEXEC |
StripFiles \* ${PKG}/bin |
StripFiles \* ${PKG}/bin |
Line 189 build_3th()
|
Line 128 build_3th()
|
} |
} |
|
|
### main() |
### main() |
|
if [ -n "${1}" ]; then |
|
rm ${PKG}/elwix.ver |
|
fi |
|
|
if ! SnitVer ${PKG}/elwix.ver; then |
if ! SnitVer ${PKG}/elwix.ver; then |
clean_3th || exit 1 |
clean_3th || exit 1 |
compile_3th || exit 1 |
compile_3th || exit 1 |