Hello Sven,
Thanks for the information. Yes, I agree this is a mess. We really
need a good libs3. In addition,
libs3 does not work for Oracle S3 nor does it work for Google S3 which
are both supposed
to work the same as Amazon S3.
It is lunch time now here (not for me), but as soon as I can find a
Bacula Systems developer,
I will download the very latest version they are using (probably
patched), and post it on
bacula.org. The version I have no longer even compiles :-(
I am sure that the Bacula Systems version works well with the code since
there are
a good number of customers using it.
Best regards,
Kern
On 12/20/18 12:25 PM, Sven Hartge wrote:
On 20.12.18 12:08, Kern Sibbald wrote:
I wrote this code about 2 years ago, so I think I had forgotten a
few things that are starting to come back. I do remember having to
patch libs3 to bring it more up to date, but what I did not remember
was that apparently I installed it in /usr/local.
It appears that I downloaded libs3-20161222 from github and
installed it. This is what I have in my <bacula>/depkgs directory.
However, there might be a newer version.
I see.
I threw together a version based on libs3-20161214.06a4683 from Github,
adding two patches to be able to compile with a newer libcurl and to fix
some buffer overflows.
You can find my work here: https://salsa.debian.org/hartge-guest/libs3/
This version allows the cloud-driver to compile and link but I have not
idea if it works or is safe to use. This is just a proof of concept at
the current moment.
The real shame is the upstream developer of libs3 stopped doing releases
in 2011 and now one has to guess which commit to use.
Red Hat seem to have just arbitrarily used the HEAD state of the master
branch in 2016 and based their version of the libs3 package on that,
same as you did, apparently. Which is why I used those commits for my
version as well.
Problem is: if the version one uses is too new, it again stops working.
It all is a real mess, IMHO.
Grüße,
Sven.
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel