--- elwix/config/rc.3thparty_helper 2014/09/15 19:06:42 1.2 +++ elwix/config/rc.3thparty_helper 2016/11/03 13:41:37 1.2.2.1 @@ -4,7 +4,7 @@ # # ./rc.3thparty_helper [package] [make_tool] [prefix_dir] [build_arch_str] # -# $Id: rc.3thparty_helper,v 1.2 2014/09/15 19:06:42 misho Exp $ +# $Id: rc.3thparty_helper,v 1.2.2.1 2016/11/03 13:41:37 misho Exp $ # [ -r ./config/rc.elwix ] && . ./config/rc.elwix @@ -55,6 +55,10 @@ fi find ${ADDSRC} -name .deps -type d -exec rm -rf {} \; case $CMD in + automake) + cd ${ADDSRC}/automake + echo ">>> Now rebuild elwix $CMD program ..." + ;; sudo) cd ${ADDSRC}/sudo ./configure --sysconfdir=/etc --libexecdir=/usr/local/libexec --with-ignore-dot \ @@ -94,6 +98,7 @@ case $CMD in # find . -name \*.so\* -type f -exec install {} ${P}/lib \; # cd .. cd ${ADDSRC}/mpd/src + ./configure ${MK} clean || exit 1 ${MK} || exit 1 install mpd5 ${P}/sbin || exit 1 @@ -128,6 +133,14 @@ case $CMD in install ttcp ${P}/bin || exit 1 echo ">>> Now rebuild elwix $CMD program ..." ;; + iperf) + cd ${ADDSRC}/iperf + ./configure --disable-silent-rules ${PFX} || exit 1 + ${MK} clean || exit 1 + ${MK} || exit 1 + ${MK} install || exit 1 + echo ">>> Now rebuild elwix $CMD program ..." + ;; trafshow) cd ${ADDSRC}/trafshow ./configure --sysconfdir=/etc ${PFX} || exit 1 @@ -138,7 +151,7 @@ case $CMD in ;; ipsec-tools) cd ${ADDSRC}/ipsec-tools - ./configure --enable-shared --sysconfdir=/etc/racoon --localstatedir=/var/run --with-pkgversion=elwix-0.8.1 \ + ./configure --enable-shared --sysconfdir=/etc/racoon --localstatedir=/var/run --with-pkgversion=elwix-0.8.2 \ --enable-debug --enable-ipv6 --enable-adminport --enable-stats \ --enable-dpd --enable-natt=yes --enable-frag --enable-hybrid \ --without-libpam --disable-gssapi --with-libradius --without-libldap \ @@ -201,14 +214,15 @@ case $CMD in ${MK} install || exit 1 echo ">>> Now rebuild elwix $CMD program ..." ;; - arping) - echo ">>> Building libnet ..." + libnet) cd ${ADDSRC}/libnet ./configure ${PFX} || exit 1 ${MK} clean || exit 1 ${MK} || exit 1 ${MK} install || exit 1 - echo ">>> Building arping ..." + echo ">>> Now rebuild elwix $CMD program ..." + ;; + arping) cd ${ADDSRC}/arping env LDFLAGS=-L${ADDSRC}/libnet/src CFLAGS=-I${ADDSRC}/libnet/include \ ./configure ${PFX} || exit 1 @@ -227,7 +241,7 @@ case $CMD in ;; mtr) cd ${ADDSRC}/mtr - ./configure --enable-ipv6 --without-gtk --without-glib ${PFX} || exit 1 + ./configure --enable-ipv6 --without-gtk ${PFX} || exit 1 ${MK} clean || exit 1 ${MK} || exit 1 ${MK} install || exit 1 @@ -275,7 +289,7 @@ case $CMD in ;; quagga) cd ${ADDSRC}/quagga - ./configure --enable-user=quagga --enable-group=quagga \ + ./configure --enable-user=quagga --enable-group=quagga --disable-snmp \ --sysconfdir=/etc/quagga --localstatedir=/var/run/quagga \ --enable-vtysh --enable-opaque-lsa --enable-rtadv ${PFX} || exit 1 ${MK} clean || exit 1 @@ -387,7 +401,9 @@ case $CMD in ;; lighttpd) cd ${ADDSRC}/lighttpd - ./configure --enable-static --with-openssl --without-mysql ${PFX} || exit 1 + ./configure --libdir=/usr/local/lib/lighttpd --without-attr --without-bzip2 \ + --without-gdbm --without-libev --without-lua --without-memcached --with-openssl \ + --without-valgrind --enable-static ${PFX} || exit 1 ${MK} clean || exit 1 ${MK} || exit 1 ${MK} install || exit 1