Created attachment 171244 [details] Patch to enable scsicrypto plugin Bareos comes with a scsicrypto.so plugin that allows Bareos to use AME (application managed encryption) with LTO tape drives. The plugin isn't built by default, so I added an option for it. In doing so, I found that one of the patches (patch-src-plugins-stored-Makefile.in) had only addressed the first reference to libbareos. I removed the patch and instead put the change (s|\.\./\.\./lib/libbareos|$$(LOCALBASE)/lib/libbareos|g) into a REINPLACE_CMD in the existing post-patch target. Seemed cleaner. Attached is an svn diff. Thanks.
Created attachment 171279 [details] Patch to enable scsicrypto plugin (server & client) Sorry, I didn't test that patch throughly enough. It works fine for the server, but the client needs the same configure string. I didn't know of an easy way to have the OPTIONS knobs common between bareos-client and bareos-server, so I simply duplicated them. This patch adds the SCSICRYPTO config knob to both bareos-server and bareos-client. Sorry for the extra noise.
When does this useful patch see the light? On my site, it seems to append and compile clean, but to confess I haven't have time to test it with our oldish LTO4 tape libraries. Regards, oh