View Single Post
Old 06-29-2012, 07:24 AM   #6
seird
Junior Member
seird plays well with othersseird plays well with othersseird plays well with othersseird plays well with othersseird plays well with othersseird plays well with othersseird plays well with othersseird plays well with othersseird plays well with othersseird plays well with othersseird plays well with others
 
Posts: 5
Karma: 2740
Join Date: Jun 2012
Device: Kindle Touch
Quote:
Originally Posted by NiLuJe View Post
Haven't looked at the code, but I'm pretty sure there's also at least a basic wget binary in the base Kindle system, wouldn't that be sufficient?

EDIT: Okay, looked at the code, and, yeah, no, pretty sure busybox's wget doesn't handle cookies either .

So, yep, building a curl binary shouldn't be much trouble, there's no real dependencies to speak of if you don't need SSL support. (And if you do, it supports both gnutls and openssl, and while openssl is a bit of a nightmare to cross-compile, gnutls, being a GNU project, should be using a sane buildsystem ^^).

EDITē: Here you go (targeted at a K4/K5, it won't run on older devices). (OpenSSL static linked to avoid the OpenSSl 0.9.8/1.0.x mess, which explains the size). [I didn't test it, but it looks okay].
Good point! Makes installing a lot easier.

I have edited the initial post and uncluded the statically linked binary. Thanks NiLuJe!
seird is offline   Reply With Quote