version 1.3, 2017/02/13 16:52:46
|
version 1.3.2.7, 2020/10/27 22:38:02
|
Line 20 CMD=$1
|
Line 20 CMD=$1
|
MK=${2:-make} |
MK=${2:-make} |
P=${3:-/tmp/elwix} |
P=${3:-/tmp/elwix} |
B=$4 |
B=$4 |
PFX="--prefix ${P}" | PFX="--prefix=${P}" |
shift; shift; shift; shift; |
shift; shift; shift; shift; |
echo ">>> Working script ${MK} into ${PFX}" |
echo ">>> Working script ${MK} into ${PFX}" |
|
|
if [ -n "${B}" ]; then |
if [ -n "${B}" ]; then |
PFX="${PFX} --host ${B}" | PFX="${PFX} --host=${B}" |
fi |
fi |
|
|
TOP=$(pwd) |
TOP=$(pwd) |
Line 143 case $CMD in
|
Line 143 case $CMD in
|
;; |
;; |
iperf) |
iperf) |
cd ${ADDSRC}/iperf |
cd ${ADDSRC}/iperf |
./configure --disable-silent-rules ${PFX} || exit 1 | ./configure ${PFX} || exit 1 |
${MK} clean || exit 1 |
${MK} clean || exit 1 |
${MK} || exit 1 |
${MK} || exit 1 |
${MK} install || exit 1 |
${MK} install || exit 1 |
Line 157 case $CMD in
|
Line 157 case $CMD in
|
${MK} install || exit 1 |
${MK} install || exit 1 |
echo ">>> Now rebuild elwix $CMD program ..." |
echo ">>> Now rebuild elwix $CMD program ..." |
;; |
;; |
|
curl) |
|
cd ${ADDSRC}/curl |
|
./configure --sysconfdir=/etc --disable-werror --enable-alt-svc --without-brotli --disable-ares --enable-cookies \ |
|
--disable-curldebug --disable-debug --enable-dict --enable-ftp --without-gnutls --enable-gopher \ |
|
--without-gssapi --enable-http --with-nghttp2 --without-libidn2 --enable-imap --enable-ipv6 \ |
|
--disable-ldap --disable-ldaps --without-libssh2 --without-libmetalink --without-nss --with-ssl=/usr \ |
|
--enable-pop3 --enable-proxy --without-libpsl --without-librtmp --enable-rtsp --disable-smb \ |
|
--enable-smtp --enable-telnet --enable-tftp --enable-pthreads --enable-threaded-resolver \ |
|
--enable-tls-srp --without-wolfssl --disable-silent-rules ${PFX} || exit 1 |
|
${MK} clean || exit 1 |
|
${MK} || exit 1 |
|
${MK} install || exit 1 |
|
echo ">>> Now rebuild elwix $CMD program ..." |
|
;; |
|
strongswan) |
|
cd ${ADDSRC}/strongswan |
|
./configure --sysconfdir=/etc/strongswan --enable-kernel-pfkey --enable-kernel-pfroute --disable-kernel-netlink \ |
|
--disable-scripts --disable-gmp --enable-openssl --enable-eap-identity --enable-eap-md5 \ |
|
--enable-eap-tls --enable-eap-mschapv2 --enable-eap-peap --enable-eap-ttls --enable-md4 \ |
|
--enable-blowfish --enable-addrblock --enable-whitelist --enable-cmd --with-group=wheel \ |
|
--with-printf-hooks=builtin --enable-curl --disable-scepclient --enable-swanctl --enable-vici \ |
|
--disable-silent-rules --with-ipsecdir=/usr/pkg/libexec/ipsec ---with-plugindir=/usr/pkg/lib/ipsec/plugins \ |
|
${PFX} || exit 1 |
|
aclocal |
|
automake |
|
${MK} clean || exit 1 |
|
${MK} || exit 1 |
|
${MK} install || exit 1 |
|
mv -v /usr/pkg/libexec/ipsec ${P}/libexec |
|
rm -rf /usr/pkg |
|
echo ">>> Now rebuild elwix $CMD program ..." |
|
;; |
ipsec-tools) |
ipsec-tools) |
cd ${ADDSRC}/ipsec-tools |
cd ${ADDSRC}/ipsec-tools |
./configure --enable-shared --sysconfdir=/etc/racoon --localstatedir=/var/run --with-pkgversion=elwix-0.8.2 \ |
./configure --enable-shared --sysconfdir=/etc/racoon --localstatedir=/var/run --with-pkgversion=elwix-0.8.2 \ |
Line 287 case $CMD in
|
Line 319 case $CMD in
|
install upnpc-shared ${P}/bin/upnpc || exit 1 |
install upnpc-shared ${P}/bin/upnpc || exit 1 |
echo ">>> Now rebuild elwix $CMD program ..." |
echo ">>> Now rebuild elwix $CMD program ..." |
;; |
;; |
|
pimd) |
|
cd ${ADDSRC}/pimd |
|
${CEXEC} echo ./configure ${PFX} || exit 1 |
|
${MK} clean || exit 1 |
|
${MK} || exit 1 |
|
install pimd ${P}/sbin || exit 1 |
|
echo ">>> Now rebuild elwix $CMD program ..." |
|
;; |
|
pimdd) |
|
cd ${ADDSRC}/pimdd |
|
${MK} clean || exit 1 |
|
${MK} || exit 1 |
|
install pimdd ${P}/sbin || exit 1 |
|
echo ">>> Now rebuild elwix $CMD program ..." |
|
;; |
|
freevrrpd) |
|
cd ${ADDSRC}/freevrrpd |
|
${MK} clean || exit 1 |
|
${MK} || exit 1 |
|
install freevrrpd ${P}/sbin || exit 1 |
|
echo ">>> Now rebuild elwix $CMD program ..." |
|
;; |
smartmontools) |
smartmontools) |
cd ${ADDSRC}/smartmontools |
cd ${ADDSRC}/smartmontools |
./configure --enable-sample --disable-dependency-tracking --enable-drivedb ${PFX} || exit 1 |
./configure --enable-sample --disable-dependency-tracking --enable-drivedb ${PFX} || exit 1 |
Line 305 case $CMD in
|
Line 359 case $CMD in
|
;; |
;; |
quagga) |
quagga) |
cd ${ADDSRC}/quagga |
cd ${ADDSRC}/quagga |
${CEXEC} INSTALL="/usr/bin/install" ./configure --enable-user=quagga --enable-group=quagga --disable-snmp \ | LDFLAGS="-L${PKG}/lib" CFLAGS="-I${PKG}/include" ${CEXEC} INSTALL="/usr/bin/install" ./configure \ |
| --enable-user=quagga --enable-group=quagga --disable-snmp \ |
--sysconfdir=/etc/quagga --localstatedir=/var/run/quagga \ |
--sysconfdir=/etc/quagga --localstatedir=/var/run/quagga \ |
--enable-vtysh --enable-opaque-lsa --enable-rtadv ${PFX} || exit 1 |
--enable-vtysh --enable-opaque-lsa --enable-rtadv ${PFX} || exit 1 |
${MK} clean || exit 1 |
${MK} clean || exit 1 |
Line 313 case $CMD in
|
Line 368 case $CMD in
|
${MK} install || exit 1 |
${MK} install || exit 1 |
echo ">>> Now rebuild elwix $CMD program ..." |
echo ">>> Now rebuild elwix $CMD program ..." |
;; |
;; |
|
bird2) |
|
cd ${ADDSRC}/bird2 |
|
LDFLAGS="-L${PKG}/lib" CFLAGS="-I${PKG}/include" ${CEXEC} INSTALL="/usr/bin/install" ./configure \ |
|
--with-protocols=babel --with-protocols=bfd --with-protocols=bgp \ |
|
--with-protocols=mrt --with-protocols=ospf --with-protocols=pipe \ |
|
--with-protocols=radv --with-protocols=rip --with-protocols=rpki \ |
|
--with-protocols=static --sysconfdir=/etc/bird --localstatedir=/var ${PFX} || exit 1 |
|
${MK} clean || exit 1 |
|
${MK} || ${MK} || exit 1 |
|
${MK} install || exit 1 |
|
echo ">>> Now rebuild elwix $CMD program ..." |
|
;; |
|
bird) |
|
cd ${ADDSRC}/bird |
|
LDFLAGS="-L${PKG}/lib" CFLAGS="-I${PKG}/include" ${CEXEC} INSTALL="/usr/bin/install" ./configure \ |
|
--sysconfdir=/etc/bird --localstatedir=/var ${PFX} || exit 1 |
|
${MK} clean || exit 1 |
|
${MK} || ${MK} || exit 1 |
|
${MK} install || exit 1 |
|
echo ">>> Now rebuild elwix $CMD program ..." |
|
;; |
|
bird6) |
|
cd ${ADDSRC}/bird |
|
LDFLAGS="-L${PKG}/lib" CFLAGS="-I${PKG}/include" ${CEXEC} INSTALL="/usr/bin/install" ./configure \ |
|
--enable-ipv6 --sysconfdir=/etc/bird --localstatedir=/var ${PFX} || exit 1 |
|
${MK} clean || exit 1 |
|
${MK} || ${MK} || exit 1 |
|
${MK} install || exit 1 |
|
echo ">>> Now rebuild elwix $CMD program ..." |
|
;; |
|
tmux) |
|
cd ${ADDSRC}/tmux |
|
${CEXEC} INSTALL="/usr/bin/install" ./configure ${PFX} || exit 1 |
|
${MK} clean || exit 1 |
|
${MK} || exit 1 |
|
${MK} install || exit 1 |
|
echo ">>> Now rebuild elwix $CMD program ..." |
|
;; |
pcre) |
pcre) |
cd ${ADDSRC}/pcre |
cd ${ADDSRC}/pcre |
./configure --enable-utf --enable-unicode-properties --enable-pcre8 \ |
./configure --enable-utf --enable-unicode-properties --enable-pcre8 \ |
Line 362 case $CMD in
|
Line 455 case $CMD in
|
--disable-iconv --with-included-popt ${PFX} || exit 1 |
--disable-iconv --with-included-popt ${PFX} || exit 1 |
${MK} clean || exit 1 |
${MK} clean || exit 1 |
${MK} || exit 1 |
${MK} || exit 1 |
|
${MK} install || exit 1 |
|
echo ">>> Now rebuild elwix $CMD program ..." |
|
;; |
|
lrzsz) |
|
cd ${ADDSRC}/lrzsz |
|
LDFLAGS="-L${PKG}/lib" CFLAGS="-I${PKG}/include" ${CEXEC} INSTALL="/usr/bin/install" ./configure \ |
|
${PFX} || exit 1 |
|
${MK} clean || exit 1 |
|
${MK} || ${MK} || exit 1 |
${MK} install || exit 1 |
${MK} install || exit 1 |
echo ">>> Now rebuild elwix $CMD program ..." |
echo ">>> Now rebuild elwix $CMD program ..." |
;; |
;; |