About

Supporting the site

App Repository‎ > ‎Archives‎ > ‎

curl-7.21.4

Warning: This version of cURL is deprecated and has been replaced by cURL 7.21.6. This page and attached files are being kept for reference, but should not be deployed on any systems.

Overview

cURL requires zlib, openssl and libssh2 to compile.

This version supports the following protocols (from configure output): DICT FILE FTP FTPS GOPHER HTTP HTTPS IMAP IMAPS POP3 POP3S RTSP SCP SFTP SMTP SMTPS TELNET TFTP

Preparation

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

Compilation

export DEST=/mnt/DroboFS/Shares/DroboApps/curl
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
make clean && make && make install
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 shared zlib-dynamic --with-zlib-include=$DEST/include --with-zlib-lib=$DEST/lib
make clean && make && make install
cd ..

wget http://www.libssh2.org/download/libssh2-1.2.7.tar.gz
tar zxf libssh2-1.2.7.tar.gz 
cd libssh2-1.2.7/
./configure --host=arm-none-linux-gnueabi --prefix=$DEST --with-openssl --with-libssl-prefix=$DEST --with-libz --with-libz-prefix=$DEST
make clean && make && make install
cd ..

wget http://curl.haxx.se/download/curl-7.21.4.tar.gz
tar zxf curl-7.21.4.tar.gz
cd curl-7.21.4/
ac_cv_path_PKGCONFIG=/usr/bin/pkg-config PKG_CONFIG_PATH=$DEST/lib/pkgconfig ./configure --host=arm-none-linux-gnueabi --prefix=$DEST --with-ssl=$DEST --with-zlib=$DEST --with-libssh2=$DEST --with-random --with-ca-bundle=$DEST/etc/ssl/certs/ca-certificates.crt
make clean && make && make install

Packaging

cd $DEST
~/bin/package.sh

Installing

DroboAdmin link: Install curl-7.21.4 (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 cURL binary and libraries 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.

ą
curl-refined.jpg
View Download
  15k v. 2 Mar 29, 2011, 2:39 AM Ricardo Padilha
ċ
curl.tgz
Download
DroboApp for DroboFS  3864k v. 2 Mar 29, 2011, 3:15 AM Ricardo Padilha
Comments