![]() 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. OverviewcURL 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 PreparationMake sure you have a cross-compiling virtual machine properly setup. Compilationexport 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 Packagingcd $DEST ~/bin/package.sh InstallingDroboAdmin 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 remarksThis 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. |


