Skip to content

Commit

Permalink
moved bsmtp from bareos-director to bareos-common
Browse files Browse the repository at this point in the history
The program bsmtp is used by bareos-dir but also by btraceback.
Therefore it is moved to the bareos-common package.

Fixes #251: /usr/sbin/bsmtp is part of the director but is needed from btraceback

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
  • Loading branch information
joergsteffens authored and Marco van Wieringen committed Feb 17, 2015
1 parent 812ebf9 commit 875833c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 2 additions & 0 deletions debian/bareos-common.install
Expand Up @@ -12,6 +12,8 @@
/usr/lib/libbareoslmdb-*.so
/usr/lib/libbareosndmp.so
/usr/lib/libbareosndmp-*.so
/usr/sbin/bsmtp
/usr/sbin/btraceback
/usr/share/man/man1/bsmtp.1.gz
/usr/share/man/man8/btraceback.8.gz
/var/lib/bareos/
2 changes: 0 additions & 2 deletions debian/bareos-director.install
Expand Up @@ -5,7 +5,5 @@
/usr/lib/bareos/scripts/make_catalog_backup.pl
/usr/lib/bareos/scripts/query.sql
/usr/sbin/bareos-dir
/usr/sbin/bsmtp
/usr/share/man/man1/bsmtp.1.gz
/usr/share/man/man8/bareos-dir.8.gz
/usr/share/man/man8/bareos.8.gz
4 changes: 2 additions & 2 deletions platforms/packaging/bareos.spec
Expand Up @@ -665,9 +665,7 @@ echo "This is a meta package to install a full bareos system" > %{buildroot}%{_d
%{script_dir}/make_catalog_backup
%{script_dir}/make_catalog_backup.pl
%{_sbindir}/bareos-dir
%{_sbindir}/bsmtp
%dir %{_docdir}/%{name}
%{_mandir}/man1/bsmtp.1.gz
%{_mandir}/man8/bareos-dir.8.gz
%{_mandir}/man8/bareos.8.gz
%if 0%{?systemd_support}
Expand Down Expand Up @@ -762,7 +760,9 @@ echo "This is a meta package to install a full bareos system" > %{buildroot}%{_d
%dir %{_libdir}/bareos/
%endif
%dir %{plugin_dir}
%{_sbindir}/bsmtp
%{_sbindir}/btraceback
%{_mandir}/man1/bsmtp.1.gz
%{_mandir}/man8/btraceback.8.gz
%attr(0770, %{daemon_user}, %{daemon_group}) %dir %{working_dir}
%attr(0775, %{daemon_user}, %{daemon_group}) %dir /var/log/bareos
Expand Down

0 comments on commit 875833c

Please sign in to comment.