Skip to content
This repository was archived by the owner on Mar 19, 2021. It is now read-only.

Conversation

@davidvanlaatum
Copy link

Build using cmake to make it easy to build rpm

The bareos-devel rpm is missing a number of headers I had to copy over
/usr/include/bareos/fd_plugins.h
/usr/include/bareos/fileopts.h
/usr/include/bareos/filetypes.h
/usr/include/bareos/hostconfig.h
/usr/include/bareos/host.h
/usr/include/bareos/lib/lib.h
/usr/include/bareos/lib/mutex_list.h
/usr/include/bareos/lib/output_formatter.h
/usr/include/bareos/lib/plugins.h
/usr/include/bareos/mutex_list.h
/usr/include/bareos/streams.h

@joergsteffens
Copy link
Member

Hi David,

thank you very much for your contribution. That looks very promising. As you can see, we never put much effort into this plugin, so we are glad, somebody did improve it.

Are you also using the plugin?

A look into the bareos-devel RPM shows at least some the requested files are part of it, maybe in some other directories. The include/bareos directory is filled by the INCLUDE_FILES statements in the different Makefile.in.

Are you willing to help us, to add the missing files to the bareos-devel package? Then we could add this plugin to automatically buildsystem and create packages from it.

You may find it interesting, that we are also busy from changing from autotools/make to cmake in the bareos-core project. While everything looks very promising, I afraid, it will take some additional time until we switch master to it.

regards,
Jörg

@joergsteffens joergsteffens self-assigned this Oct 9, 2017
@davidvanlaatum
Copy link
Author

davidvanlaatum commented Oct 10, 2017

Yes some of the files in /lib were there outside of lib but the includes reference the lib folder.
eg bareos.h has
#include "lib/lib.h"

I have just started using the plugin I expected it to do incremental backups yet the second job was about the same size as the first (7.91G) yet the db directory is 62G. I am using daily rotating tables (ie the table name is based on the date) for logging so tables should not get modified later but havn't done any investigating yet.

I may look at the includes at some stage

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants