Due to some changes with ebay they are now requiring
signin before bidding. It was suggested by some other
users that the best way to get https support in
bidwatcher would be to compile it with libcurl. I took
this suggestion and now have a working version.
However, when I say working, I mean it works for me. I
don't use ebay motors, I don't use a proxy, and I don't
bid on adult items. These other features will need to
be added later. I am almost certain the proxy stuff
isn't working, but enabling this would be really really
easy with libcurl.
In any event, I only partially removed the old socket
url stuff. A lot of cleanup is really suggested here,
but I won't do this unless someone requests it. I hope
this helps some people.
To get the this to compile. First replace the files in
the source with these patched files. Then run
./configure. Then you need to tell it to link with
libcurl. I didn't bother to edit the configure file,
so you will have to add -lcurl in the Makefile
In other words, the LIBS line should look like:
LIBS = -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk
-rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
(No line break).
Things could also be improved in terms of efficiency.
It might be slower than necessary since the libcurl
memory copy function that I am using uses a lot of
remalloc, which is slow. Probably better to just give
it a big buffer as was done before. I will attach all
the patched files.
Log in to post a comment.