About

Supporting the site

App Repository‎ > ‎Archives‎ > ‎

wget-1.12

Overview

Wget requires zlib and openssl. This version of wget is statically linked to make deployment easier.

Preparation

Make sure you have a cross-compiling virtual machine properly setup.

Compilation

export 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

Packaging

cd $DEST
~/bin/package.sh

Installing

DroboAdmin 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 remarks

This 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.

ą
gnu-head-sm.jpg
View Download
  5k v. 2 Apr 28, 2011, 5:30 AM Ricardo Padilha
ċ
wget.tgz
Download
DroboApp for DroboFS   1206k v. 3 May 25, 2011, 1:46 PM Ricardo Padilha
Comments