--- elwix/config/rc.3thparty_helper 2014/01/07 08:41:30 1.1.2.1 +++ elwix/config/rc.3thparty_helper 2014/01/07 08:48:01 1.1.2.2 @@ -4,7 +4,7 @@ # # ./rc.3thparty_helper [package] [make_tool] [prefix_dir] [build_arch_str] # -# $Id: rc.3thparty_helper,v 1.1.2.1 2014/01/07 08:41:30 misho Exp $ +# $Id: rc.3thparty_helper,v 1.1.2.2 2014/01/07 08:48:01 misho Exp $ # [ -r ./config/rc.elwix ] && . ./config/rc.elwix @@ -56,7 +56,7 @@ find . -name .deps -type d -exec rm -rf {} \; case $CMD in sudo) - cd sudo + cd ${ADDSRC}/sudo ./configure --sysconfdir=/etc --libexecdir=/usr/local/libexec --with-ignore-dot \ --with-tty-tickets --with-env-editor --with-logincap \ --with-long-otp-prompt --with-pam --with-logfac=local2 \ @@ -72,7 +72,7 @@ case $CMD in echo ">>> Now rebuild elwix $CMD program ..." ;; expat) - cd expat + cd ${ADDSRC}/expat ./configure ${PFX} || exit 1 ${MK} clean || exit 1 ${MK} || exit 1 @@ -80,19 +80,19 @@ case $CMD in echo ">>> Now rebuild elwix $CMD program ..." ;; mpd) - cd libpdel + cd ${ADDSRC}/libpdel ${MK} clean || exit 1 ${MK} || exit 1 find . -name \*.so\* -type f -exec install {} ${P}/lib \; cd .. - cd mpd/src + cd ${ADDSRC}/mpd/src ${MK} clean || exit 1 ${MK} || exit 1 install mpd5 ${P}/sbin || exit 1 echo ">>> Now rebuild elwix $CMD program ..." ;; libevent) - cd libevent + cd ${ADDSRC}/libevent ./configure ${PFX} --mandir=${P}/man --infodir=${P}/info || exit 1 ${MK} clean || exit 1 ${MK} || exit 1 @@ -100,28 +100,28 @@ case $CMD in echo ">>> Now rebuild elwix $CMD program ..." ;; mini_sendmail) - cd mini_sendmail + cd ${ADDSRC}/mini_sendmail ${MK} clean || exit 1 ${MK} || exit 1 install mini_sendmail ${P}/sbin || exit 1 echo ">>> Now rebuild elwix $CMD program ..." ;; choparp) - cd choparp + cd ${ADDSRC}/choparp rm -f choparp ${MK} choparp || exit 1 install choparp ${P}/sbin || exit 1 echo ">>> Now rebuild elwix $CMD program ..." ;; ttcp) - cd ttcp + cd ${ADDSRC}/ttcp rm -f ttcp ${MK} ttcp || exit 1 install ttcp ${P}/bin || exit 1 echo ">>> Now rebuild elwix $CMD program ..." ;; trafshow) - cd trafshow + cd ${ADDSRC}/trafshow ./configure --sysconfdir=/etc ${PFX} || exit 1 ${MK} clean || exit 1 ${MK} || exit 1 @@ -129,7 +129,7 @@ case $CMD in echo ">>> Now rebuild elwix $CMD program ..." ;; ipsec-tools) - cd ipsec-tools + cd ${ADDSRC}/ipsec-tools ./configure --enable-shared --sysconfdir=/etc/racoon --localstatedir=/var/run \ --enable-debug --enable-ipv6 --enable-adminport --enable-stats \ --enable-dpd --enable-natt=yes --enable-frag --enable-hybrid \ @@ -141,7 +141,7 @@ case $CMD in echo ">>> Now rebuild elwix $CMD program ..." ;; dhcp) - cd dhcp + cd ${ADDSRC}/dhcp ./configure --localstatedir=/var --enable-paranoia --enable-early-chroot \ --enable-dhcpv6 ${PFX} || exit 1 ${MK} clean || exit 1 @@ -152,7 +152,7 @@ case $CMD in echo ">>> Now rebuild elwix $CMD program ..." ;; dhcping) - cd dhcping + cd ${ADDSRC}/dhcping ./configure ${PFX} || exit 1 ${MK} clean || exit 1 ${MK} || exit 1 @@ -160,7 +160,7 @@ case $CMD in echo ">>> Now rebuild elwix $CMD program ..." ;; mrouted) - cd mrouted + cd ${ADDSRC}/mrouted ${MK} clean || exit 1 ${MK} || exit 1 install map-mbone ${P}/sbin || exit 1 @@ -170,7 +170,7 @@ case $CMD in echo ">>> Now rebuild elwix $CMD program ..." ;; igmpproxy) - cd igmpproxy + cd ${ADDSRC}/igmpproxy ./configure ${PFX} || exit 1 ${MK} clean || exit 1 ${MK} || exit 1 @@ -178,7 +178,7 @@ case $CMD in echo ">>> Now rebuild elwix $CMD program ..." ;; bmon) - cd bmon + cd ${ADDSRC}/bmon ./configure --disable-rrd --disable-asound --disable-dbi ${PFX} || exit 1 ${MK} clean || exit 1 ${MK} || exit 1 @@ -186,7 +186,7 @@ case $CMD in echo ">>> Now rebuild elwix $CMD program ..." ;; iftop) - cd iftop + cd ${ADDSRC}/iftop ./configure --with-resolver=netdb_1thread ${PFX} || exit 1 ${MK} clean || exit 1 ${MK} || exit 1 @@ -195,13 +195,13 @@ case $CMD in ;; arping) echo ">>> Building libnet ..." - cd libnet + cd ${ADDSRC}/libnet ./configure ${PFX} || exit 1 ${MK} clean || exit 1 ${MK} || exit 1 ${MK} install || exit 1 echo ">>> Building arping ..." - cd ../arping + cd ${ADDSRC}/arping env LDFLAGS=-L${TOP}/libnet/src CFLAGS=-I${TOP}/libnet/include ./configure ${PFX} || exit 1 ${MK} clean || exit 1 ${MK} || exit 1 @@ -209,7 +209,7 @@ case $CMD in echo ">>> Now rebuild elwix $CMD program ..." ;; hping2) - cd hping2 + cd ${ADDSRC}/hping2 ./configure ${PFX} || exit 1 ${MK} clean || exit 1 ${MK} || exit 1 @@ -217,7 +217,7 @@ case $CMD in echo ">>> Now rebuild elwix $CMD program ..." ;; mtr) - cd mtr + cd ${ADDSRC}/mtr ./configure --enable-ipv6 --without-gtk --without-glib ${PFX} || exit 1 ${MK} clean || exit 1 ${MK} || exit 1 @@ -225,14 +225,14 @@ case $CMD in echo ">>> Now rebuild elwix $CMD program ..." ;; ipguard) - cd ipguard + cd ${ADDSRC}/ipguard ${MK} clean || exit 1 ${MK} || exit 1 install ipguard ${P}/sbin || exit 1 echo ">>> Now rebuild elwix $CMD program ..." ;; miniupnpd) - cd miniupnpd + cd ${ADDSRC}/miniupnpd ${MK} clean || exit 1 ${MK} || exit 1 install miniupnpd ${P}/sbin || exit 1 @@ -240,7 +240,7 @@ case $CMD in echo ">>> Now rebuild elwix $CMD program ..." ;; miniupnpc) - cd miniupnpc + cd ${ADDSRC}/miniupnpc ${MK} clean || exit 1 ${MK} || exit 1 install libminiupnpc.so ${P}/lib || exit 1 @@ -249,7 +249,7 @@ case $CMD in echo ">>> Now rebuild elwix $CMD program ..." ;; smartmontools) - cd smartmontools + cd ${ADDSRC}/smartmontools ./configure --enable-sample --disable-dependency-tracking --enable-drivedb ${PFX} || exit 1 ${MK} clean || exit 1 ${MK} || exit 1 @@ -257,7 +257,7 @@ case $CMD in echo ">>> Now rebuild elwix $CMD program ..." ;; libiconv) - cd libiconv + cd ${ADDSRC}/libiconv ./configure --enable-static --without-libintl-prefix ${PFX} || exit 1 ${MK} clean || exit 1 ${MK} || exit 1 @@ -265,7 +265,7 @@ case $CMD in echo ">>> Now rebuild elwix $CMD program ..." ;; quagga) - cd quagga + cd ${ADDSRC}/quagga ./configure --enable-user=quagga --enable-group=quagga \ --sysconfdir=/etc/quagga --localstatedir=/var/run/quagga \ --enable-vtysh --enable-opaque-lsa --enable-rtadv ${PFX} || exit 1 @@ -275,7 +275,7 @@ case $CMD in echo ">>> Now rebuild elwix $CMD program ..." ;; pcre) - cd pcre + cd ${ADDSRC}/pcre ./configure --enable-utf --enable-unicode-properties --enable-pcre8 \ --enable-pcre16 --enable-pcre32 ${PFX} || exit 1 ${MK} clean || exit 1 @@ -284,7 +284,7 @@ case $CMD in echo ">>> Now rebuild elwix $CMD program ..." ;; libxml2) - cd libxml2 + cd ${ADDSRC}/libxml2 ./configure --without-python ${PFX} || exit 1 ${MK} clean || exit 1 ${MK} || exit 1 @@ -292,7 +292,7 @@ case $CMD in echo ">>> Now rebuild elwix $CMD program ..." ;; php) - cd php + cd ${ADDSRC}/php ./configure --with-layout=GNU --localstatedir=/var --with-config-file-scan-dir=/etc/php \ --disable-all --enable-libxml --enable-xml --with-libxml-dir=${P} --with-openssl \ --enable-zip --enable-sqlite-utf8 ${PFX} || exit 1 @@ -304,21 +304,21 @@ case $CMD in echo ">>> Now rebuild elwix $CMD program ..." ;; scan_ffs) - cd scan_ffs + cd ${ADDSRC}/scan_ffs ${MK} clean || exit 1 ${MK} || exit 1 install scan_ffs ${P}/bin || exit 1 echo ">>> Now rebuild elwix $CMD program ..." ;; dnsmasq) - cd dnsmasq + cd ${ADDSRC}/dnsmasq ${MK} clean || exit 1 ${MK} || exit 1 install src/dnsmasq ${P}/bin || exit 1 echo ">>> Now rebuild elwix $CMD program ..." ;; rsync) - cd rsync + cd ${ADDSRC}/rsync ./configure.sh --disable-debug --enable-ipv6 --with-rsyncd-conf=/etc/rsyncd.conf \ --disable-iconv --with-included-popt ${PFX} || exit 1 ${MK} clean || exit 1 @@ -327,7 +327,7 @@ case $CMD in echo ">>> Now rebuild elwix $CMD program ..." ;; istgt) - cd istgt + cd ${ADDSRC}/istgt ./configure --enable-symlink-device ${PFX} || exit 1 ${MK} clean || exit 1 ${MK} || exit 1 @@ -336,7 +336,7 @@ case $CMD in echo ">>> Now rebuild elwix $CMD program ..." ;; ntp) - cd ntp + cd ${ADDSRC}/ntp ./configure --without-ntpsnmpd --with-crypto --enable-ipv6 --enable-BANCOMM \ --enable-GPSVME --enable-ACTS --enable-ARBITER --enable-ARCRON_MSF \ --enable-AS2201 --enable-ATOM --enable-CHRONOLOG --enable-CHU \ @@ -356,7 +356,7 @@ case $CMD in echo ">>> Now rebuild elwix $CMD program ..." ;; nginx) - cd nginx + cd ${ADDSRC}/nginx ./configure --conf-path=/etc/nginx.conf --user=www --group=www \ --pid-path=/var/run/nginx.pid \ --error-log-path=/var/log/nginx-error.log \ @@ -369,7 +369,7 @@ case $CMD in echo ">>> Now rebuild elwix $CMD program ..." ;; spawn-fcgi) - cd spawn-fcgi + cd ${ADDSRC}/spawn-fcgi ./configure ${PFX} || exit 1 ${MK} clean || exit 1 ${MK} || exit 1 @@ -377,7 +377,7 @@ case $CMD in echo ">>> Now rebuild elwix $CMD program ..." ;; lighttpd) - cd lighttpd + cd ${ADDSRC}/lighttpd ./configure --enable-static --with-openssl ${PFX} || exit 1 ${MK} clean || exit 1 ${MK} || exit 1