Skip to content

Commit

Permalink
filed: add packaging for postgresql plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
franku committed May 4, 2020
1 parent 2fa4a96 commit 556cb0d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
15 changes: 15 additions & 0 deletions core/platforms/packaging/bareos.spec
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,11 @@ Requires: python-pycurl
Requires: python-lxml
Requires: python-ovirt-engine-sdk4

%package filedaemon-postgresql-python-plugin
Summary: PostgreSQL Python plugin for Bareos File daemon
Group: Productivity/Archiving/Backup
Requires: bareos-filedaemon = %{version}

%package filedaemon-percona-xtrabackup-python-plugin
Summary: Percona xtrabackup Python plugin for Bareos File daemon
Group: Productivity/Archiving/Backup
Expand Down Expand Up @@ -609,6 +614,11 @@ This package contains the LDAP python plugin for the file daemon

This package contains the Ovirt python plugin for the file daemon

%description filedaemon-postgresql-python-plugin
%{dscr}

This package contains the PostgreSQL python plugin for the file daemon

%description filedaemon-percona-xtrabackup-python-plugin
%{dscr}

Expand Down Expand Up @@ -1402,6 +1412,11 @@ echo "This is a meta package to install a full bareos system" > %{buildroot}%{_d
%attr(0640, %{director_daemon_user}, %{daemon_group}) %{_sysconfdir}/%{name}/bareos-dir.d/fileset/plugin-ovirt.conf.example
%attr(0640, %{director_daemon_user}, %{daemon_group}) %{_sysconfdir}/%{name}/bareos-dir.d/job/backup-ovirt.conf.example

%files filedaemon-postgresql-python-plugin
%defattr(-, root, root)
%{plugin_dir}/BareosFdPluginPostgres.py*
%{plugin_dir}/bareos-fd-postgres.py*

%files filedaemon-percona-xtrabackup-python-plugin
%defattr(-, root, root)
%{plugin_dir}/bareos-fd-percona-xtrabackup.py*
Expand Down
2 changes: 2 additions & 0 deletions core/src/plugins/filed/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ set(PYFILES
BareosFdPluginOvirt.py
bareos-fd-percona-xtrabackup.py
BareosFdPluginPerconaXtraBackup.py
BareosFdPluginPostgres.py
bareos-fd-postgres.py
)

install(
Expand Down

0 comments on commit 556cb0d

Please sign in to comment.