![]() OverviewWget requires zlib and openssl. This version of wget is statically linked to make deployment easier. PreparationMake sure you have a cross-compiling virtual machine properly setup. Compilationexport DEST=/mnt/DroboFS/Shares/DroboApps/wget
cd ~/code
wget http://zlib.net/zlib-1.2.5.tar.gz
tar zxf zlib-1.2.5.tar.gz
cd zlib-1.2.5
./configure --prefix=$DEST --static
make clean && make
ZLIB=`pwd`
cd ..
wget http://www.openssl.org/source/openssl-1.0.0d.tar.gz
tar zxf openssl-1.0.0d.tar.gz
cd openssl-1.0.0d
./Configure linux-generic32 -DL_ENDIAN --prefix=$DEST --openssldir=$DEST/etc/ssl no-shared no-zlib-dynamic --with-zlib-include=$ZLIB --with-zlib-lib=$ZLIB
sed -i -e "s/CFLAG= /CFLAG=${CFLAGS} /g" Makefile
make clean && make
OPENSSL=`pwd`
cd ..
wget http://ftp.gnu.org/gnu/wget/wget-1.12.tar.gz
tar zxf wget-1.12.tar.gz
cd wget-1.12/
CFLAGS="$CFLAGS -I$OPENSSL/include" LDFLAGS="$LDFLAGS -L$OPENSSL" LIBS="-lssl -lcrypto -ldl" acl_shlibext=".a" ./configure --host=arm-none-linux-gnueabi --prefix=$DEST --with-ssl
make clean && make && make install
$STRIP $DEST/bin/wget
Packagingcd $DEST InstallingDroboAdmin link: Install wget-1.12 (this link only works if you have not changed the DroboFS name). Otherwise, download below and place it in you DroboApps share. Final remarksThis is not a conventional DroboApp in the sense that once installed, it is ready for use. This one just makes the wget binary available for further use, and does not attempt to change the DroboFS configuration in any way. Please visit the DroboSpace forums to leave your comments, suggestions and feedback. |


