|
|
811809 |
%global uid 133
|
|
|
811809 |
%global username bacula
|
|
|
811809 |
|
|
|
811809 |
%global aarchrev .1
|
|
|
811809 |
|
|
|
811809 |
Name: bacula
|
|
|
811809 |
Version: 5.2.13
|
|
|
811809 |
Release: 19%{aarchrev}%{?dist}
|
|
|
811809 |
Summary: Cross platform network backup for Linux, Unix, Mac and Windows
|
|
|
811809 |
# See LICENSE for details
|
|
|
811809 |
License: AGPLv3 with exceptions
|
|
|
811809 |
Group: System Environment/Daemons
|
|
|
811809 |
URL: http://www.bacula.org
|
|
|
811809 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
811809 |
|
|
|
811809 |
Source0: http://www.bacula.org/downloads/Bacula-%{version}/%{name}-%{version}.tar.gz
|
|
|
811809 |
|
|
|
811809 |
Source2: quickstart_postgresql.txt
|
|
|
811809 |
Source3: quickstart_mysql.txt
|
|
|
811809 |
Source4: quickstart_sqlite3.txt
|
|
|
811809 |
Source5: README.Redhat
|
|
|
811809 |
Source6: %{name}.logrotate
|
|
|
811809 |
Source7: %{name}-fd.init
|
|
|
811809 |
Source8: %{name}-dir.init
|
|
|
811809 |
Source9: %{name}-sd.init
|
|
|
811809 |
Source10: %{name}-fd.service
|
|
|
811809 |
Source11: %{name}-dir.service
|
|
|
811809 |
Source12: %{name}-sd.service
|
|
|
811809 |
Source13: %{name}-bat.desktop
|
|
|
811809 |
Source14: %{name}-traymonitor.desktop
|
|
|
811809 |
Source15: %{name}-fd.sysconfig
|
|
|
811809 |
Source16: %{name}-dir.sysconfig
|
|
|
811809 |
Source17: %{name}-sd.sysconfig
|
|
|
811809 |
Source18: %{name}-sd.sysconfig.el5
|
|
|
811809 |
|
|
|
811809 |
Patch1: %{name}-5.0.2-openssl.patch
|
|
|
811809 |
Patch2: %{name}-5.2.2-queryfile.patch
|
|
|
811809 |
Patch3: %{name}-5.0.3-sqlite-priv.patch
|
|
|
811809 |
Patch4: %{name}-5.2.13-bat-build.patch
|
|
|
811809 |
Patch5: %{name}-5.2.12-seg-fault.patch
|
|
|
811809 |
Patch6: %{name}-5.2.13-logwatch.patch
|
|
|
811809 |
Patch7: %{name}-help-update.patch
|
|
|
811809 |
Patch8: %{name}-aarch64.patch
|
|
|
811809 |
Patch9: %{name}-non-free-code.patch
|
|
|
811809 |
Patch10: %{name}-multilib.patch
|
|
|
811809 |
|
|
|
811809 |
BuildRequires: desktop-file-utils
|
|
|
811809 |
BuildRequires: perl
|
|
|
811809 |
BuildRequires: sed
|
|
|
811809 |
|
|
|
811809 |
BuildRequires: glibc-devel
|
|
|
811809 |
BuildRequires: libacl-devel
|
|
|
811809 |
BuildRequires: libstdc++-devel
|
|
|
811809 |
BuildRequires: libxml2-devel
|
|
|
811809 |
BuildRequires: libcap-devel
|
|
|
811809 |
BuildRequires: lzo-devel
|
|
|
811809 |
BuildRequires: mysql-devel
|
|
|
811809 |
BuildRequires: ncurses-devel
|
|
|
811809 |
BuildRequires: openssl-devel
|
|
|
811809 |
BuildRequires: postgresql-devel
|
|
|
811809 |
BuildRequires: python-devel
|
|
|
811809 |
BuildRequires: readline-devel
|
|
|
811809 |
BuildRequires: sqlite-devel
|
|
|
811809 |
BuildRequires: zlib-devel
|
|
|
811809 |
|
|
|
811809 |
%if 0%{?fedora} || 0%{?rhel} >= 6
|
|
|
811809 |
BuildRequires: qt4-devel >= 4.6.2
|
|
|
811809 |
%endif
|
|
|
811809 |
|
|
|
811809 |
%if 0%{?fedora} || 0%{?rhel} >= 6
|
|
|
811809 |
BuildRequires: tcp_wrappers-devel
|
|
|
811809 |
%else
|
|
|
811809 |
BuildRequires: tcp_wrappers
|
|
|
811809 |
%endif
|
|
|
811809 |
|
|
|
811809 |
%if 0%{?fedora} || 0%{?rhel} >= 7
|
|
|
811809 |
BuildRequires: systemd-units
|
|
|
811809 |
%endif
|
|
|
811809 |
|
|
|
811809 |
%description
|
|
|
811809 |
Bacula is a set of programs that allow you to manage the backup, recovery, and
|
|
|
811809 |
verification of computer data across a network of different computers. It is
|
|
|
811809 |
based on a client/server architecture and is efficient and relatively easy to
|
|
|
811809 |
use, while offering many advanced storage management features that make it easy
|
|
|
811809 |
to find and recover lost or damaged files.
|
|
|
811809 |
|
|
|
811809 |
%package libs
|
|
|
811809 |
Summary: Bacula libraries
|
|
|
811809 |
Group: System Environment/Daemons
|
|
|
811809 |
Obsoletes: bacula-sysconfdir <= 2.4
|
|
|
811809 |
|
|
|
811809 |
%description libs
|
|
|
811809 |
Bacula is a set of programs that allow you to manage the backup,
|
|
|
811809 |
recovery, and verification of computer data across a network of
|
|
|
811809 |
different computers. It is based on a client/server architecture.
|
|
|
811809 |
|
|
|
811809 |
This package contains basic Bacula libraries, which are used by all
|
|
|
811809 |
Bacula programs.
|
|
|
811809 |
|
|
|
811809 |
%package libs-sql
|
|
|
811809 |
Summary: Bacula SQL libraries
|
|
|
811809 |
Group: System Environment/Daemons
|
|
|
811809 |
Obsoletes: bacula-libs-mysql <= 5.0.3
|
|
|
811809 |
Obsoletes: bacula-libs-sqlite <= 5.0.3
|
|
|
811809 |
Obsoletes: bacula-libs-postgresql <= 5.0.3
|
|
|
811809 |
Provides: bacula-libs-mysql = %{version}-%{release}
|
|
|
811809 |
Provides: bacula-libs-sqlite = %{version}-%{release}
|
|
|
811809 |
Provides: bacula-libs-postgresql = %{version}-%{release}
|
|
|
811809 |
|
|
|
811809 |
%description libs-sql
|
|
|
811809 |
Bacula is a set of programs that allow you to manage the backup, recovery, and
|
|
|
811809 |
verification of computer data across a network of different computers. It is
|
|
|
811809 |
based on a client/server architecture.
|
|
|
811809 |
|
|
|
811809 |
This package contains the SQL Bacula libraries, which are used by Director and
|
|
|
811809 |
Storage daemons. You have to select your preferred catalog library through the
|
|
|
811809 |
alternatives system.
|
|
|
811809 |
|
|
|
811809 |
%package common
|
|
|
811809 |
Summary: Common Bacula files
|
|
|
811809 |
Group: System Environment/Daemons
|
|
|
811809 |
Obsoletes: bacula-sysconfdir <= 2.4
|
|
|
811809 |
Provides: group(%username) = %uid
|
|
|
811809 |
Provides: user(%username) = %uid
|
|
|
811809 |
Requires(pre): shadow-utils
|
|
|
811809 |
Requires(postun): shadow-utils
|
|
|
811809 |
Requires: bacula-libs%{?_isa} = %{version}-%{release}
|
|
|
811809 |
|
|
|
811809 |
%description common
|
|
|
811809 |
Bacula is a set of programs that allow you to manage the backup, recovery, and
|
|
|
811809 |
verification of computer data across a network of different computers. It is
|
|
|
811809 |
based on a client/server architecture.
|
|
|
811809 |
|
|
|
811809 |
This package contains files common to all Bacula daemons.
|
|
|
811809 |
|
|
|
811809 |
%package director
|
|
|
811809 |
Summary: Bacula Director files
|
|
|
811809 |
Group: System Environment/Daemons
|
|
|
811809 |
Requires: bacula-common%{?_isa} = %{version}-%{release}
|
|
|
811809 |
Requires: bacula-libs%{?_isa} = %{version}-%{release}
|
|
|
811809 |
Requires: logwatch
|
|
|
811809 |
# Director backends merged into core.
|
|
|
811809 |
Provides: bacula-director-common = %{version}-%{release}
|
|
|
811809 |
Obsoletes: bacula-director-common < 5.2.3-5
|
|
|
811809 |
Provides: bacula-director-mysql = %{version}-%{release}
|
|
|
811809 |
Obsoletes: bacula-director-mysql < 5.2.3-5
|
|
|
811809 |
Provides: bacula-director-sqlite = %{version}-%{release}
|
|
|
811809 |
Obsoletes: bacula-director-sqlite < 5.2.3-5
|
|
|
811809 |
Provides: bacula-director-postgresql = %{version}-%{release}
|
|
|
811809 |
Obsoletes: bacula-director-postgresql < 5.2.3-5
|
|
|
811809 |
|
|
|
811809 |
%if 0%{?fedora} == 17
|
|
|
811809 |
Requires(post): systemd-units
|
|
|
811809 |
Requires(preun): systemd-units
|
|
|
811809 |
Requires(postun): systemd-units
|
|
|
811809 |
%endif
|
|
|
811809 |
|
|
|
811809 |
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
|
|
|
811809 |
Requires(post): systemd-sysv
|
|
|
811809 |
Requires(post): systemd
|
|
|
811809 |
Requires(preun): systemd
|
|
|
811809 |
Requires(postun): systemd
|
|
|
811809 |
%endif
|
|
|
811809 |
|
|
|
811809 |
%if 0%{?rhel} == 5 || 0%{?rhel} == 6
|
|
|
811809 |
Requires(post): /sbin/chkconfig
|
|
|
811809 |
Requires(preun): /sbin/chkconfig
|
|
|
811809 |
Requires(preun): /sbin/service
|
|
|
811809 |
Requires(postun): /sbin/service
|
|
|
811809 |
%endif
|
|
|
811809 |
|
|
|
811809 |
%description director
|
|
|
811809 |
Bacula is a set of programs that allow you to manage the backup, recovery, and
|
|
|
811809 |
verification of computer data across a network of different computers. It is
|
|
|
811809 |
based on a client/server architecture.
|
|
|
811809 |
|
|
|
811809 |
This package contains the director files.
|
|
|
811809 |
|
|
|
811809 |
%package storage
|
|
|
811809 |
Summary: Bacula storage daemon files
|
|
|
811809 |
Group: System Environment/Daemons
|
|
|
811809 |
Requires: bacula-common%{?_isa} = %{version}-%{release}
|
|
|
811809 |
Requires: bacula-libs%{?_isa} = %{version}-%{release}
|
|
|
811809 |
Requires: mt-st
|
|
|
811809 |
# Storage backends merged into core.
|
|
|
811809 |
Provides: bacula-storage-common = %{version}-%{release}
|
|
|
811809 |
Obsoletes: bacula-storage-common < 5.2.2-2
|
|
|
811809 |
Provides: bacula-storage-mysql = %{version}-%{release}
|
|
|
811809 |
Obsoletes: bacula-storage-mysql < 5.2.0
|
|
|
811809 |
Provides: bacula-storage-sqlite = %{version}-%{release}
|
|
|
811809 |
Obsoletes: bacula-storage-sqlite < 5.2.0
|
|
|
811809 |
Provides: bacula-storage-postgresql = %{version}-%{release}
|
|
|
811809 |
Obsoletes: bacula-storage-postgresql < 5.2.0
|
|
|
811809 |
|
|
|
811809 |
%if 0%{?fedora} == 17
|
|
|
811809 |
Requires(post): systemd-units
|
|
|
811809 |
Requires(preun): systemd-units
|
|
|
811809 |
Requires(postun): systemd-units
|
|
|
811809 |
%endif
|
|
|
811809 |
|
|
|
811809 |
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
|
|
|
811809 |
Requires(post): systemd-sysv
|
|
|
811809 |
Requires(post): systemd
|
|
|
811809 |
Requires(preun): systemd
|
|
|
811809 |
Requires(postun): systemd
|
|
|
811809 |
%endif
|
|
|
811809 |
|
|
|
811809 |
%if 0%{?rhel} == 5 || 0%{?rhel} == 6
|
|
|
811809 |
Requires(post): /sbin/chkconfig
|
|
|
811809 |
Requires(preun): /sbin/chkconfig
|
|
|
811809 |
Requires(preun): /sbin/service
|
|
|
811809 |
Requires(postun): /sbin/service
|
|
|
811809 |
%endif
|
|
|
811809 |
|
|
|
811809 |
%description storage
|
|
|
811809 |
Bacula is a set of programs that allow you to manage the backup, recovery, and
|
|
|
811809 |
verification of computer data across a network of different computers. It is
|
|
|
811809 |
based on a client/server architecture.
|
|
|
811809 |
|
|
|
811809 |
This package contains the storage daemon, the daemon responsible for writing
|
|
|
811809 |
the data received from the clients onto tape drives or other mass storage
|
|
|
811809 |
devices.
|
|
|
811809 |
|
|
|
811809 |
%package client
|
|
|
811809 |
Summary: Bacula backup client
|
|
|
811809 |
Group: System Environment/Daemons
|
|
|
811809 |
Requires: bacula-common%{?_isa} = %{version}-%{release}
|
|
|
811809 |
|
|
|
811809 |
%if 0%{?fedora} == 17
|
|
|
811809 |
Requires(post): systemd-units
|
|
|
811809 |
Requires(preun): systemd-units
|
|
|
811809 |
Requires(postun): systemd-units
|
|
|
811809 |
%endif
|
|
|
811809 |
|
|
|
811809 |
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
|
|
|
811809 |
Requires(post): systemd-sysv
|
|
|
811809 |
Requires(post): systemd
|
|
|
811809 |
Requires(preun): systemd
|
|
|
811809 |
Requires(postun): systemd
|
|
|
811809 |
%endif
|
|
|
811809 |
|
|
|
811809 |
%if 0%{?rhel} == 5 || 0%{?rhel} == 6
|
|
|
811809 |
Requires(post): /sbin/chkconfig
|
|
|
811809 |
Requires(preun): /sbin/chkconfig
|
|
|
811809 |
Requires(preun): /sbin/service
|
|
|
811809 |
Requires(postun): /sbin/service
|
|
|
811809 |
%endif
|
|
|
811809 |
|
|
|
811809 |
%description client
|
|
|
811809 |
Bacula is a set of programs that allow you to manage the backup, recovery, and
|
|
|
811809 |
verification of computer data across a network of different computers. It is
|
|
|
811809 |
based on a client/server architecture.
|
|
|
811809 |
|
|
|
811809 |
This package contains the bacula client, the daemon running on the system to be
|
|
|
811809 |
backed up.
|
|
|
811809 |
|
|
|
811809 |
%package console
|
|
|
811809 |
Summary: Bacula management console
|
|
|
811809 |
Group: System Environment/Daemons
|
|
|
811809 |
Obsoletes: bacula-console-gnome <= 2.4
|
|
|
811809 |
Obsoletes: bacula-console-wxwidgets <= 5.0.3
|
|
|
811809 |
Requires: bacula-libs%{?_isa} = %{version}-%{release}
|
|
|
811809 |
|
|
|
811809 |
%description console
|
|
|
811809 |
Bacula is a set of programs that allow you to manage the backup, recovery, and
|
|
|
811809 |
verification of computer data across a network of different computers. It is
|
|
|
811809 |
based on a client/server architecture.
|
|
|
811809 |
|
|
|
811809 |
This package contains the command-line management console for the bacula backup
|
|
|
811809 |
system.
|
|
|
811809 |
|
|
|
811809 |
%if 0%{?fedora} || 0%{?rhel} >= 6
|
|
|
811809 |
%package console-bat
|
|
|
811809 |
Summary: Bacula bat console
|
|
|
811809 |
Group: System Environment/Daemons
|
|
|
811809 |
Requires: bacula-libs%{?_isa} = %{version}-%{release}
|
|
|
811809 |
|
|
|
811809 |
%description console-bat
|
|
|
811809 |
Bacula is a set of programs that allow you to manage the backup, recovery, and
|
|
|
811809 |
verification of computer data across a network of different computers. It is
|
|
|
811809 |
based on a client/server architecture.
|
|
|
811809 |
|
|
|
811809 |
This package contains the bat version of the bacula management console.
|
|
|
811809 |
|
|
|
811809 |
%package traymonitor
|
|
|
811809 |
Summary: Bacula system tray monitor
|
|
|
811809 |
Group: System Environment/Daemons
|
|
|
811809 |
Requires: bacula-libs%{?_isa} = %{version}-%{release}
|
|
|
811809 |
|
|
|
811809 |
%description traymonitor
|
|
|
811809 |
Bacula is a set of programs that allow you to manage the backup, recovery, and
|
|
|
811809 |
verification of computer data across a network of different computers. It is
|
|
|
811809 |
based on a client/server architecture.
|
|
|
811809 |
|
|
|
811809 |
This package contains the Gnome and KDE compatible tray monitor to monitor your
|
|
|
811809 |
bacula server.
|
|
|
811809 |
%endif
|
|
|
811809 |
|
|
|
811809 |
%package devel
|
|
|
811809 |
Summary: Bacula development files
|
|
|
811809 |
Group: Development/Libraries
|
|
|
811809 |
|
|
|
811809 |
%description devel
|
|
|
811809 |
Bacula is a set of programs that allow you to manage the backup, recovery, and
|
|
|
811809 |
verification of computer data across a network of different computers. It is
|
|
|
811809 |
based on a client/server architecture.
|
|
|
811809 |
|
|
|
811809 |
This development package contains static libraries and header files.
|
|
|
811809 |
|
|
|
811809 |
|
|
|
811809 |
%package -n nagios-plugins-bacula
|
|
|
811809 |
Summary: Nagios Plugin - check_bacula
|
|
|
811809 |
Group: Applications/System
|
|
|
811809 |
Requires: bacula-libs%{?_isa} = %{version}-%{release}
|
|
|
811809 |
|
|
|
811809 |
%description -n nagios-plugins-bacula
|
|
|
811809 |
Provides check_bacula support for Nagios.
|
|
|
811809 |
|
|
|
811809 |
%prep
|
|
|
811809 |
%setup -q
|
|
|
811809 |
%patch1 -p2 -b .openssl
|
|
|
811809 |
%patch2 -p1 -b .queryfile
|
|
|
811809 |
%patch3 -p0 -b .priv
|
|
|
811809 |
%patch4 -p1 -b .bat-build
|
|
|
811809 |
%patch5 -p1 -b .seg-fault
|
|
|
811809 |
%patch6 -p1 -b .logwatch
|
|
|
811809 |
%patch7 -p1 -b .help-update
|
|
|
811809 |
%patch8 -p1 -b .aarch64
|
|
|
811809 |
%patch9 -p1 -b .non-free-code
|
|
|
811809 |
%patch10 -p1 -b .multilib
|
|
|
811809 |
cp %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} .
|
|
|
811809 |
|
|
|
811809 |
# Remove execution permissions from files we're packaging as docs later on
|
|
|
811809 |
find updatedb -type f | xargs chmod -x
|
|
|
811809 |
|
|
|
811809 |
%build
|
|
|
811809 |
build() {
|
|
|
811809 |
export CFLAGS="$RPM_OPT_FLAGS -I%{_includedir}/ncurses"
|
|
|
811809 |
export CPPFLAGS="$RPM_OPT_FLAGS -I%{_includedir}/ncurses"
|
|
|
811809 |
%configure \
|
|
|
811809 |
--sysconfdir=%{_sysconfdir}/bacula \
|
|
|
811809 |
--with-hostname=localhost \
|
|
|
811809 |
--with-basename=bacula \
|
|
|
811809 |
--with-dir-password=@@DIR_PASSWORD@@ \
|
|
|
811809 |
--with-fd-password=@@FD_PASSWORD@@ \
|
|
|
811809 |
--with-sd-password=@@SD_PASSWORD@@ \
|
|
|
811809 |
--with-mon-dir-password=@@MON_DIR_PASSWORD@@ \
|
|
|
811809 |
--with-mon-fd-password=@@MON_FD_PASSWORD@@ \
|
|
|
811809 |
--with-mon-sd-password=@@MON_SD_PASSWORD@@ \
|
|
|
811809 |
--with-working-dir=%{_localstatedir}/spool/bacula \
|
|
|
811809 |
--with-bsrdir=%{_localstatedir}/spool/bacula \
|
|
|
811809 |
--with-logdir=%{_localstatedir}/log/bacula \
|
|
|
811809 |
--with-scriptdir=%{_libexecdir}/bacula \
|
|
|
811809 |
--with-plugindir=%{_libdir}/bacula \
|
|
|
811809 |
--with-smtp-host=localhost \
|
|
|
811809 |
--with-subsys-dir=%{_localstatedir}/lock/subsys \
|
|
|
811809 |
--with-pid-dir=%{_localstatedir}/run \
|
|
|
811809 |
--disable-conio \
|
|
|
811809 |
--enable-batch-insert \
|
|
|
811809 |
--enable-readline \
|
|
|
811809 |
--enable-largefile \
|
|
|
811809 |
--enable-build-dird \
|
|
|
811809 |
--enable-build-stored \
|
|
|
811809 |
--with-openssl \
|
|
|
811809 |
--with-tcp-wrappers \
|
|
|
811809 |
--with-python \
|
|
|
811809 |
--enable-smartalloc \
|
|
|
811809 |
--with-x \
|
|
|
811809 |
--disable-rpath \
|
|
|
811809 |
--with-sqlite3 \
|
|
|
811809 |
--with-mysql \
|
|
|
811809 |
--with-postgresql \
|
|
|
811809 |
$*
|
|
|
811809 |
}
|
|
|
811809 |
|
|
|
811809 |
%if 0%{?fedora} || 0%{?rhel} >= 6
|
|
|
811809 |
export QMAKE=/usr/bin/qmake-qt4
|
|
|
811809 |
build --enable-bat --docdir=%{_datadir}/doc/bacula-console-bat-%{version}
|
|
|
811809 |
%else
|
|
|
811809 |
build --disable-bat
|
|
|
811809 |
%endif
|
|
|
811809 |
|
|
|
811809 |
# Remove RPATH
|
|
|
811809 |
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
811809 |
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
811809 |
|
|
|
811809 |
make %{?_smp_mflags}
|
|
|
811809 |
|
|
|
811809 |
pushd examples/nagios/check_bacula
|
|
|
811809 |
CFLAGS="%{optflags}" make LIBS="-lpthread -ldl -lssl -lcrypto -lz"
|
|
|
811809 |
popd
|
|
|
811809 |
|
|
|
811809 |
%if 0%{?fedora} || 0%{?rhel} >= 6
|
|
|
811809 |
pushd src/qt-console/tray-monitor
|
|
|
811809 |
/usr/bin/qmake-qt4
|
|
|
811809 |
make %{?_smp_mflags}
|
|
|
811809 |
popd
|
|
|
811809 |
%endif
|
|
|
811809 |
|
|
|
811809 |
%install
|
|
|
811809 |
rm -rf %{buildroot}
|
|
|
811809 |
make install DESTDIR=%{buildroot}
|
|
|
811809 |
|
|
|
811809 |
# Nagios plugin
|
|
|
811809 |
install -p -m 755 -D examples/nagios/check_bacula/.libs/check_bacula %{buildroot}%{_libdir}/nagios/plugins/check_bacula
|
|
|
811809 |
|
|
|
811809 |
# Bacula plugin info utility
|
|
|
811809 |
install -p -m 755 -D src/tools/.libs/bpluginfo %{buildroot}%{_sbindir}/bpluginfo
|
|
|
811809 |
install -p -m 644 -D manpages/bpluginfo.8 %{buildroot}%{_mandir}/man8/bpluginfo.8
|
|
|
811809 |
|
|
|
811809 |
# Remove catalogue backend symlinks
|
|
|
811809 |
rm -f %{buildroot}%{_libdir}/libbaccats.so
|
|
|
811809 |
rm -f %{buildroot}%{_libdir}/libbaccats-%{version}.so
|
|
|
811809 |
|
|
|
811809 |
# Sample query file
|
|
|
811809 |
mv %{buildroot}%{_libexecdir}/bacula/query.sql %{buildroot}%{_sysconfdir}/bacula/query.sql
|
|
|
811809 |
|
|
|
811809 |
%if 0%{?fedora} || 0%{?rhel} >= 6
|
|
|
811809 |
# Bat
|
|
|
811809 |
install -p -m 644 -D src/qt-console/images/bat_icon.png %{buildroot}%{_datadir}/pixmaps/bat.png
|
|
|
811809 |
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE13}
|
|
|
811809 |
|
|
|
811809 |
# QT Tray monitor
|
|
|
811809 |
install -p -m 755 -D src/qt-console/tray-monitor/.libs/bacula-tray-monitor %{buildroot}%{_sbindir}/bacula-tray-monitor
|
|
|
811809 |
install -p -m 644 -D src/qt-console/tray-monitor/tray-monitor.conf %{buildroot}%{_sysconfdir}/bacula/tray-monitor.conf
|
|
|
811809 |
install -p -m 644 -D src/qt-console/images/bat_icon.png %{buildroot}%{_datadir}/pixmaps/bacula-tray-monitor.png
|
|
|
811809 |
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE14}
|
|
|
811809 |
|
|
|
811809 |
%else
|
|
|
811809 |
rm -f %{buildroot}%{_mandir}/man1/bat.1*
|
|
|
811809 |
%endif
|
|
|
811809 |
|
|
|
811809 |
# Logrotate
|
|
|
811809 |
mkdir -p %{buildroot}%{_localstatedir}/log/bacula
|
|
|
811809 |
install -p -m 644 -D %{SOURCE6} %{buildroot}%{_sysconfdir}/logrotate.d/bacula
|
|
|
811809 |
|
|
|
811809 |
# Logwatch
|
|
|
811809 |
install -p -m 755 -D scripts/logwatch/bacula %{buildroot}%{_sysconfdir}/logwatch/scripts/services/bacula
|
|
|
811809 |
install -p -m 755 -D scripts/logwatch/applybaculadate %{buildroot}%{_sysconfdir}/logwatch/scripts/shared/applybaculadate
|
|
|
811809 |
install -p -m 644 -D scripts/logwatch/logfile.bacula.conf %{buildroot}%{_sysconfdir}/logwatch/conf/logfiles/bacula.conf
|
|
|
811809 |
install -p -m 644 -D scripts/logwatch/services.bacula.conf %{buildroot}%{_sysconfdir}/logwatch/conf/services/bacula.conf
|
|
|
811809 |
|
|
|
811809 |
%if 0%{?fedora} || 0%{?rhel} >= 7
|
|
|
811809 |
# Systemd unit files
|
|
|
811809 |
mkdir -p %{buildroot}%{_unitdir}
|
|
|
811809 |
install -p -m 644 -D %{SOURCE10} %{buildroot}%{_unitdir}/bacula-fd.service
|
|
|
811809 |
install -p -m 644 -D %{SOURCE11} %{buildroot}%{_unitdir}/bacula-dir.service
|
|
|
811809 |
install -p -m 644 -D %{SOURCE12} %{buildroot}%{_unitdir}/bacula-sd.service
|
|
|
811809 |
%else
|
|
|
811809 |
# Initscripts
|
|
|
811809 |
install -p -m 755 -D %{SOURCE7} %{buildroot}%{_initrddir}/bacula-fd
|
|
|
811809 |
install -p -m 755 -D %{SOURCE8} %{buildroot}%{_initrddir}/bacula-dir
|
|
|
811809 |
install -p -m 755 -D %{SOURCE9} %{buildroot}%{_initrddir}/bacula-sd
|
|
|
811809 |
%endif
|
|
|
811809 |
|
|
|
811809 |
# Sysconfig
|
|
|
811809 |
install -p -m 644 -D %{SOURCE15} %{buildroot}%{_sysconfdir}/sysconfig/bacula-fd
|
|
|
811809 |
install -p -m 644 -D %{SOURCE16} %{buildroot}%{_sysconfdir}/sysconfig/bacula-dir
|
|
|
811809 |
%if 0%{?fedora} || 0%{?rhel} >= 6
|
|
|
811809 |
install -p -m 644 -D %{SOURCE17} %{buildroot}%{_sysconfdir}/sysconfig/bacula-sd
|
|
|
811809 |
%else
|
|
|
811809 |
install -p -m 644 -D %{SOURCE18} %{buildroot}%{_sysconfdir}/sysconfig/bacula-sd
|
|
|
811809 |
%endif
|
|
|
811809 |
|
|
|
811809 |
# Spool directory
|
|
|
811809 |
mkdir -p %{buildroot}%{_localstatedir}/spool/bacula
|
|
|
811809 |
|
|
|
811809 |
# Remove stuff we do not need
|
|
|
811809 |
rm -f %{buildroot}%{_libexecdir}/bacula/{bacula,bacula-ctl-*,startmysql,stopmysql,bconsole,make_catalog_backup}
|
|
|
811809 |
rm -f %{buildroot}%{_sbindir}/bacula
|
|
|
811809 |
rm -f %{buildroot}%{_mandir}/man8/bacula.8.gz
|
|
|
811809 |
rm -f %{buildroot}%{_mandir}/man1/bacula-bwxconsole.1*
|
|
|
811809 |
rm -f %{buildroot}%{_mandir}/man1/bacula-tray-monitor.1*
|
|
|
811809 |
rm -rf %{buildroot}%{_datadir}/doc/bacula/
|
|
|
811809 |
|
|
|
811809 |
# Fix up some perms so rpmlint does not complain too much
|
|
|
811809 |
chmod 755 %{buildroot}%{_sbindir}/*
|
|
|
811809 |
chmod 755 %{buildroot}%{_libdir}/bacula/*
|
|
|
811809 |
chmod 755 %{buildroot}%{_libexecdir}/bacula/*
|
|
|
811809 |
chmod 644 %{buildroot}%{_libexecdir}/bacula/btraceback.*
|
|
|
811809 |
|
|
|
811809 |
# Install headers
|
|
|
811809 |
mkdir -p %{buildroot}%{_includedir}/bacula
|
|
|
811809 |
for dir in src src/cats src/console src/dird src/filed src/findlib src/lib src/plugins/fd src/stored; do
|
|
|
811809 |
mkdir -p %{buildroot}%{_includedir}/bacula/$dir
|
|
|
811809 |
install -p -m 644 $dir/*.h %{buildroot}%{_includedir}/bacula/$dir
|
|
|
811809 |
done
|
|
|
811809 |
|
|
|
811809 |
# fix multilib issues
|
|
|
811809 |
mv $RPM_BUILD_ROOT%{_includedir}/bacula/src/config.h \
|
|
|
811809 |
$RPM_BUILD_ROOT%{_includedir}/bacula/src/config-%{__isa_bits}.h
|
|
|
811809 |
|
|
|
811809 |
cat >$RPM_BUILD_ROOT%{_includedir}/bacula/src/config.h <
|
|
|
811809 |
#ifndef BACULACONF_H_MULTILIB
|
|
|
811809 |
#define BACULACONF_H_MULTILIB
|
|
|
811809 |
|
|
|
811809 |
#include <bits/wordsize.h>
|
|
|
811809 |
|
|
|
811809 |
#if __WORDSIZE == 32
|
|
|
811809 |
# include "config-32.h"
|
|
|
811809 |
#elif __WORDSIZE == 64
|
|
|
811809 |
# include "config-64.h"
|
|
|
811809 |
#else
|
|
|
811809 |
# error "unexpected value for __WORDSIZE macro"
|
|
|
811809 |
#endif
|
|
|
811809 |
|
|
|
811809 |
#endif
|
|
|
811809 |
EOF
|
|
|
811809 |
|
|
|
811809 |
%clean
|
|
|
811809 |
rm -rf %{buildroot}
|
|
|
811809 |
|
|
|
811809 |
%post libs
|
|
|
811809 |
/sbin/ldconfig
|
|
|
811809 |
|
|
|
811809 |
%postun libs
|
|
|
811809 |
/sbin/ldconfig
|
|
|
811809 |
exit 0
|
|
|
811809 |
|
|
|
811809 |
%post libs-sql
|
|
|
811809 |
/usr/sbin/alternatives --install %{_libdir}/libbaccats.so libbaccats.so %{_libdir}/libbaccats-mysql.so 50
|
|
|
811809 |
/usr/sbin/alternatives --install %{_libdir}/libbaccats.so libbaccats.so %{_libdir}/libbaccats-sqlite3.so 40
|
|
|
811809 |
/usr/sbin/alternatives --install %{_libdir}/libbaccats.so libbaccats.so %{_libdir}/libbaccats-postgresql.so 60
|
|
|
811809 |
# Fix for automatic selection of backends during upgrades
|
|
|
811809 |
if readlink /etc/alternatives/libbaccats.so | grep --silent mysql || \
|
|
|
811809 |
readlink /etc/alternatives/bacula-dir | grep --silent mysql || \
|
|
|
811809 |
readlink /etc/alternatives/bacula-sd | grep --silent mysql; then
|
|
|
811809 |
/usr/sbin/alternatives --set libbaccats.so %{_libdir}/libbaccats-mysql.so
|
|
|
811809 |
elif readlink /etc/alternatives/libbaccats.so | grep --silent sqlite || \
|
|
|
811809 |
readlink /etc/alternatives/bacula-dir | grep --silent sqlite || \
|
|
|
811809 |
readlink /etc/alternatives/bacula-sd | grep --silent sqlite; then
|
|
|
811809 |
/usr/sbin/alternatives --set libbaccats.so %{_libdir}/libbaccats-sqlite3.so
|
|
|
811809 |
else
|
|
|
811809 |
/usr/sbin/alternatives --set libbaccats.so %{_libdir}/libbaccats-postgresql.so
|
|
|
811809 |
fi
|
|
|
811809 |
/sbin/ldconfig
|
|
|
811809 |
|
|
|
811809 |
%preun libs-sql
|
|
|
811809 |
if [ "$1" = 0 ]; then
|
|
|
811809 |
/usr/sbin/alternatives --remove libbaccats.so %{_libdir}/libbaccats-mysql.so
|
|
|
811809 |
/usr/sbin/alternatives --remove libbaccats.so %{_libdir}/libbaccats-sqlite3.so
|
|
|
811809 |
/usr/sbin/alternatives --remove libbaccats.so %{_libdir}/libbaccats-postgresql.so
|
|
|
811809 |
fi
|
|
|
811809 |
|
|
|
811809 |
%postun libs-sql
|
|
|
811809 |
/sbin/ldconfig
|
|
|
811809 |
exit 0
|
|
|
811809 |
|
|
|
811809 |
%pre common
|
|
|
811809 |
getent group %username >/dev/null || groupadd -g %uid -r %username &>/dev/null || :
|
|
|
811809 |
getent passwd %username >/dev/null || useradd -u %uid -r -s /sbin/nologin \
|
|
|
811809 |
-d /var/spool/bacula -M -c 'Bacula Backup System' -g %username %username &>/dev/null || :
|
|
|
811809 |
exit 0
|
|
|
811809 |
|
|
|
811809 |
%if 0%{?fedora} == 17
|
|
|
811809 |
|
|
|
811809 |
%post client
|
|
|
811809 |
if [ $1 -eq 1 ] ; then
|
|
|
811809 |
# Initial installation
|
|
|
811809 |
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
|
|
811809 |
fi
|
|
|
811809 |
|
|
|
811809 |
%preun client
|
|
|
811809 |
if [ $1 -eq 0 ] ; then
|
|
|
811809 |
# Package removal, not upgrade
|
|
|
811809 |
/bin/systemctl --no-reload disable bacula-fd.service > /dev/null 2>&1 || :
|
|
|
811809 |
/bin/systemctl stop bacula-fd.service > /dev/null 2>&1 || :
|
|
|
811809 |
fi
|
|
|
811809 |
|
|
|
811809 |
%postun client
|
|
|
811809 |
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
|
|
811809 |
if [ $1 -ge 1 ] ; then
|
|
|
811809 |
# Package upgrade, not uninstall
|
|
|
811809 |
/bin/systemctl try-restart bacula-fd.service >/dev/null 2>&1 || :
|
|
|
811809 |
fi
|
|
|
811809 |
|
|
|
811809 |
%triggerun client -- bacula-client < 5.0.3-10
|
|
|
811809 |
# Save the current service runlevel info
|
|
|
811809 |
# User must manually run systemd-sysv-convert --apply bacula-fd
|
|
|
811809 |
# to migrate them to systemd targets
|
|
|
811809 |
/usr/bin/systemd-sysv-convert --save bacula-fd >/dev/null 2>&1 ||:
|
|
|
811809 |
|
|
|
811809 |
# Run these because the SysV package being removed won't do them
|
|
|
811809 |
/sbin/chkconfig --del bacula-fd >/dev/null 2>&1 || :
|
|
|
811809 |
/bin/systemctl try-restart bacula-fd.service >/dev/null 2>&1 || :
|
|
|
811809 |
|
|
|
811809 |
%post director
|
|
|
811809 |
if [ $1 -eq 1 ] ; then
|
|
|
811809 |
# Initial installation
|
|
|
811809 |
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
|
|
811809 |
fi
|
|
|
811809 |
|
|
|
811809 |
%preun director
|
|
|
811809 |
if [ $1 -eq 0 ] ; then
|
|
|
811809 |
# Package removal, not upgrade
|
|
|
811809 |
/bin/systemctl --no-reload disable bacula-dir.service > /dev/null 2>&1 || :
|
|
|
811809 |
/bin/systemctl stop bacula-dir.service > /dev/null 2>&1 || :
|
|
|
811809 |
fi
|
|
|
811809 |
|
|
|
811809 |
%postun director
|
|
|
811809 |
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
|
|
811809 |
if [ $1 -ge 1 ] ; then
|
|
|
811809 |
# Package upgrade, not uninstall
|
|
|
811809 |
/bin/systemctl try-restart bacula-dir.service >/dev/null 2>&1 || :
|
|
|
811809 |
fi
|
|
|
811809 |
|
|
|
811809 |
%triggerun director -- bacula-director-common < 5.0.3-10
|
|
|
811809 |
# Save the current service runlevel info
|
|
|
811809 |
# User must manually run systemd-sysv-convert --apply bacula-dir
|
|
|
811809 |
# to migrate them to systemd targets
|
|
|
811809 |
/usr/bin/systemd-sysv-convert --save bacula-dir >/dev/null 2>&1 ||:
|
|
|
811809 |
|
|
|
811809 |
# Run these because the SysV package being removed won't do them
|
|
|
811809 |
/sbin/chkconfig --del bacula-dir >/dev/null 2>&1 || :
|
|
|
811809 |
/bin/systemctl try-restart bacula-dir.service >/dev/null 2>&1 || :
|
|
|
811809 |
|
|
|
811809 |
%post storage
|
|
|
811809 |
if [ $1 -eq 1 ] ; then
|
|
|
811809 |
# Initial installation
|
|
|
811809 |
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
|
|
811809 |
fi
|
|
|
811809 |
|
|
|
811809 |
%preun storage
|
|
|
811809 |
if [ $1 -eq 0 ] ; then
|
|
|
811809 |
# Package removal, not upgrade
|
|
|
811809 |
/bin/systemctl --no-reload disable bacula-sd.service > /dev/null 2>&1 || :
|
|
|
811809 |
/bin/systemctl stop bacula-sd.service > /dev/null 2>&1 || :
|
|
|
811809 |
fi
|
|
|
811809 |
|
|
|
811809 |
%postun storage
|
|
|
811809 |
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
|
|
811809 |
if [ $1 -ge 1 ] ; then
|
|
|
811809 |
# Package upgrade, not uninstall
|
|
|
811809 |
/bin/systemctl try-restart bacula-sd.service >/dev/null 2>&1 || :
|
|
|
811809 |
fi
|
|
|
811809 |
|
|
|
811809 |
%triggerun storage -- bacula-storage-common < 5.0.3-10
|
|
|
811809 |
# Save the current service runlevel info
|
|
|
811809 |
# User must manually run systemd-sysv-convert --apply bacula-sd
|
|
|
811809 |
# to migrate them to systemd targets
|
|
|
811809 |
/usr/bin/systemd-sysv-convert --save bacula-sd >/dev/null 2>&1 ||:
|
|
|
811809 |
|
|
|
811809 |
# Run these because the SysV package being removed won't do them
|
|
|
811809 |
/sbin/chkconfig --del bacula-sd >/dev/null 2>&1 || :
|
|
|
811809 |
/bin/systemctl try-restart bacula-sd.service >/dev/null 2>&1 || :
|
|
|
811809 |
|
|
|
811809 |
%endif
|
|
|
811809 |
|
|
|
811809 |
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
|
|
|
811809 |
|
|
|
811809 |
%post client
|
|
|
811809 |
%systemd_post %{name}-fd.service
|
|
|
811809 |
|
|
|
811809 |
%preun client
|
|
|
811809 |
%systemd_preun %{name}-fd.service
|
|
|
811809 |
|
|
|
811809 |
%postun client
|
|
|
811809 |
%systemd_postun_with_restart %{name}-fd.service
|
|
|
811809 |
|
|
|
811809 |
%triggerun client -- bacula-client < 5.0.3-10
|
|
|
811809 |
/usr/bin/systemd-sysv-convert --save bacula-fd >/dev/null 2>&1 ||:
|
|
|
811809 |
/sbin/chkconfig --del bacula-fd >/dev/null 2>&1 || :
|
|
|
811809 |
/bin/systemctl try-restart bacula-fd.service >/dev/null 2>&1 || :
|
|
|
811809 |
|
|
|
811809 |
%post director
|
|
|
811809 |
%systemd_post %{name}-dir.service
|
|
|
811809 |
|
|
|
811809 |
%preun director
|
|
|
811809 |
%systemd_preun %{name}-dir.service
|
|
|
811809 |
|
|
|
811809 |
%postun director
|
|
|
811809 |
%systemd_postun_with_restart %{name}-dir.service
|
|
|
811809 |
|
|
|
811809 |
%triggerun director -- bacula-director-common < 5.0.3-10
|
|
|
811809 |
/usr/bin/systemd-sysv-convert --save bacula-dir >/dev/null 2>&1 ||:
|
|
|
811809 |
/sbin/chkconfig --del bacula-dir >/dev/null 2>&1 || :
|
|
|
811809 |
/bin/systemctl try-restart bacula-dir.service >/dev/null 2>&1 || :
|
|
|
811809 |
|
|
|
811809 |
%post storage
|
|
|
811809 |
%systemd_post %{name}-sd.service
|
|
|
811809 |
|
|
|
811809 |
%preun storage
|
|
|
811809 |
%systemd_preun %{name}-sd.service
|
|
|
811809 |
|
|
|
811809 |
%postun storage
|
|
|
811809 |
%systemd_postun_with_restart %{name}-sd.service
|
|
|
811809 |
|
|
|
811809 |
%triggerun storage -- bacula-storage-common < 5.0.3-10
|
|
|
811809 |
/usr/bin/systemd-sysv-convert --save bacula-sd >/dev/null 2>&1 ||:
|
|
|
811809 |
/sbin/chkconfig --del bacula-sd >/dev/null 2>&1 || :
|
|
|
811809 |
/bin/systemctl try-restart bacula-sd.service >/dev/null 2>&1 || :
|
|
|
811809 |
|
|
|
811809 |
%endif
|
|
|
811809 |
|
|
|
811809 |
%if 0%{?rhel} == 5 || 0%{?rhel} == 6
|
|
|
811809 |
|
|
|
811809 |
%post client
|
|
|
811809 |
/sbin/chkconfig --add bacula-fd
|
|
|
811809 |
|
|
|
811809 |
%preun client
|
|
|
811809 |
if [ "$1" = 0 ]; then
|
|
|
811809 |
/sbin/service bacula-fd stop >/dev/null 2>&1 || :
|
|
|
811809 |
/sbin/chkconfig --del bacula-fd
|
|
|
811809 |
fi
|
|
|
811809 |
|
|
|
811809 |
%postun client
|
|
|
811809 |
if [ "$1" -ge "1" ]; then
|
|
|
811809 |
/sbin/service bacula-fd condrestart >/dev/null 2>&1 || :
|
|
|
811809 |
fi
|
|
|
811809 |
|
|
|
811809 |
%post director
|
|
|
811809 |
/sbin/chkconfig --add bacula-dir
|
|
|
811809 |
|
|
|
811809 |
%preun director
|
|
|
811809 |
if [ "$1" = 0 ]; then
|
|
|
811809 |
/sbin/service bacula-dir stop >/dev/null 2>&1 || :
|
|
|
811809 |
/sbin/chkconfig --del bacula-dir
|
|
|
811809 |
fi
|
|
|
811809 |
|
|
|
811809 |
%postun director
|
|
|
811809 |
if [ "$1" -ge "1" ]; then
|
|
|
811809 |
/sbin/service bacula-dir condrestart >/dev/null 2>&1 || :
|
|
|
811809 |
fi
|
|
|
811809 |
|
|
|
811809 |
%post storage
|
|
|
811809 |
/sbin/chkconfig --add bacula-sd
|
|
|
811809 |
|
|
|
811809 |
%preun storage
|
|
|
811809 |
if [ "$1" = 0 ]; then
|
|
|
811809 |
/sbin/service bacula-sd stop >/dev/null 2>&1 || :
|
|
|
811809 |
/sbin/chkconfig --del bacula-sd
|
|
|
811809 |
fi
|
|
|
811809 |
|
|
|
811809 |
%postun storage
|
|
|
811809 |
if [ "$1" -ge "1" ]; then
|
|
|
811809 |
/sbin/service bacula-sd condrestart >/dev/null 2>&1 || :
|
|
|
811809 |
fi
|
|
|
811809 |
|
|
|
811809 |
%endif
|
|
|
811809 |
|
|
|
811809 |
%files libs
|
|
|
811809 |
%defattr(-,root,root,-)
|
|
|
811809 |
%{_libdir}/libbac-%{version}.so
|
|
|
811809 |
%{_libdir}/libbaccfg-%{version}.so
|
|
|
811809 |
%{_libdir}/libbacfind-%{version}.so
|
|
|
811809 |
%{_libdir}/libbacpy-%{version}.so
|
|
|
811809 |
|
|
|
811809 |
%files libs-sql
|
|
|
811809 |
%defattr(-,root,root,-)
|
|
|
811809 |
%{_libdir}/libbaccats-mysql-%{version}.so
|
|
|
811809 |
%{_libdir}/libbaccats-mysql.so
|
|
|
811809 |
%{_libdir}/libbaccats-postgresql-%{version}.so
|
|
|
811809 |
%{_libdir}/libbaccats-postgresql.so
|
|
|
811809 |
%{_libdir}/libbaccats-sqlite3-%{version}.so
|
|
|
811809 |
%{_libdir}/libbaccats-sqlite3.so
|
|
|
811809 |
%{_libdir}/libbacsql-%{version}.so
|
|
|
811809 |
|
|
|
811809 |
%files common
|
|
|
811809 |
%defattr(-,root,root,-)
|
|
|
811809 |
%doc AUTHORS ChangeLog LICENSE SUPPORT
|
|
|
811809 |
%doc README.Redhat quickstart_*
|
|
|
811809 |
%config(noreplace) %{_sysconfdir}/logrotate.d/bacula
|
|
|
811809 |
%attr(755,root,root) %dir %{_sysconfdir}/%{name}
|
|
|
811809 |
%dir %{_libexecdir}/%{name}
|
|
|
811809 |
%{_sbindir}/btraceback
|
|
|
811809 |
%{_sbindir}/bpluginfo
|
|
|
811809 |
%{_libexecdir}/%{name}/btraceback.dbx
|
|
|
811809 |
%{_libexecdir}/%{name}/btraceback.gdb
|
|
|
811809 |
%{_libexecdir}/%{name}/bacula_config
|
|
|
811809 |
%{_libexecdir}/%{name}/btraceback.mdb
|
|
|
811809 |
%{_mandir}/man8/btraceback.8*
|
|
|
811809 |
%{_mandir}/man8/bpluginfo.8*
|
|
|
811809 |
%dir %attr(750, bacula, bacula) %{_localstatedir}/log/bacula
|
|
|
811809 |
%dir %attr(750, bacula, bacula) %{_localstatedir}/spool/bacula
|
|
|
811809 |
|
|
|
811809 |
%files director
|
|
|
811809 |
%defattr(-,root,root,-)
|
|
|
811809 |
%doc updatedb examples/sample-query.sql
|
|
|
811809 |
%attr(640,root,bacula) %config(noreplace) %{_sysconfdir}/bacula/bacula-dir.conf
|
|
|
811809 |
%attr(640,root,bacula) %config(noreplace) %{_sysconfdir}/bacula/query.sql
|
|
|
811809 |
%config(noreplace) %{_sysconfdir}/logwatch/conf/logfiles/bacula.conf
|
|
|
811809 |
%config(noreplace) %{_sysconfdir}/logwatch/conf/services/bacula.conf
|
|
|
811809 |
%config(noreplace) %{_sysconfdir}/sysconfig/bacula-dir
|
|
|
811809 |
%{_sysconfdir}/logwatch/scripts/services/bacula
|
|
|
811809 |
%{_sysconfdir}/logwatch/scripts/shared/applybaculadate
|
|
|
811809 |
%if 0%{?fedora} || 0%{?rhel} >= 7
|
|
|
811809 |
%{_unitdir}/bacula-dir.service
|
|
|
811809 |
%else
|
|
|
811809 |
%{_initrddir}/bacula-dir
|
|
|
811809 |
%endif
|
|
|
811809 |
%{_sbindir}/bacula-dir
|
|
|
811809 |
%{_sbindir}/bregex
|
|
|
811809 |
%{_sbindir}/bsmtp
|
|
|
811809 |
%{_sbindir}/bwild
|
|
|
811809 |
%{_sbindir}/dbcheck
|
|
|
811809 |
%{_mandir}/man1/bsmtp.1*
|
|
|
811809 |
%{_mandir}/man8/bacula-dir.8*
|
|
|
811809 |
%{_mandir}/man8/bregex.8*
|
|
|
811809 |
%{_mandir}/man8/bwild.8*
|
|
|
811809 |
%{_mandir}/man8/dbcheck.8*
|
|
|
811809 |
%{_libexecdir}/%{name}/create_bacula_database
|
|
|
811809 |
%{_libexecdir}/%{name}/delete_catalog_backup
|
|
|
811809 |
%{_libexecdir}/%{name}/drop_bacula_database
|
|
|
811809 |
%{_libexecdir}/%{name}/drop_bacula_tables
|
|
|
811809 |
%{_libexecdir}/%{name}/grant_bacula_privileges
|
|
|
811809 |
%{_libexecdir}/%{name}/make_bacula_tables
|
|
|
811809 |
%{_libexecdir}/%{name}/make_catalog_backup.pl
|
|
|
811809 |
%{_libexecdir}/%{name}/update_bacula_tables
|
|
|
811809 |
%{_libexecdir}/%{name}/create_mysql_database
|
|
|
811809 |
%{_libexecdir}/%{name}/drop_mysql_database
|
|
|
811809 |
%{_libexecdir}/%{name}/drop_mysql_tables
|
|
|
811809 |
%{_libexecdir}/%{name}/grant_mysql_privileges
|
|
|
811809 |
%{_libexecdir}/%{name}/make_mysql_tables
|
|
|
811809 |
%{_libexecdir}/%{name}/update_mysql_tables
|
|
|
811809 |
%{_libexecdir}/%{name}/create_sqlite3_database
|
|
|
811809 |
%{_libexecdir}/%{name}/drop_sqlite3_database
|
|
|
811809 |
%{_libexecdir}/%{name}/drop_sqlite3_tables
|
|
|
811809 |
%{_libexecdir}/%{name}/grant_sqlite3_privileges
|
|
|
811809 |
%{_libexecdir}/%{name}/make_sqlite3_tables
|
|
|
811809 |
%{_libexecdir}/%{name}/update_sqlite3_tables
|
|
|
811809 |
%{_libexecdir}/%{name}/create_postgresql_database
|
|
|
811809 |
%{_libexecdir}/%{name}/drop_postgresql_database
|
|
|
811809 |
%{_libexecdir}/%{name}/drop_postgresql_tables
|
|
|
811809 |
%{_libexecdir}/%{name}/grant_postgresql_privileges
|
|
|
811809 |
%{_libexecdir}/%{name}/make_postgresql_tables
|
|
|
811809 |
%{_libexecdir}/%{name}/update_postgresql_tables
|
|
|
811809 |
|
|
|
811809 |
%files storage
|
|
|
811809 |
%defattr(-,root,root,-)
|
|
|
811809 |
%{_sbindir}/bacula-sd
|
|
|
811809 |
%{_sbindir}/bcopy
|
|
|
811809 |
%{_sbindir}/bextract
|
|
|
811809 |
%{_sbindir}/bls
|
|
|
811809 |
%{_sbindir}/bscan
|
|
|
811809 |
%{_sbindir}/btape
|
|
|
811809 |
%attr(640,root,root) %config(noreplace) %{_sysconfdir}/bacula/bacula-sd.conf
|
|
|
811809 |
%config(noreplace) %{_sysconfdir}/sysconfig/bacula-sd
|
|
|
811809 |
%if 0%{?fedora} || 0%{?rhel} >= 7
|
|
|
811809 |
%{_unitdir}/bacula-sd.service
|
|
|
811809 |
%else
|
|
|
811809 |
%{_initrddir}/bacula-sd
|
|
|
811809 |
%endif
|
|
|
811809 |
%{_libexecdir}/%{name}/disk-changer
|
|
|
811809 |
%{_libexecdir}/%{name}/dvd-handler
|
|
|
811809 |
%{_libexecdir}/%{name}/mtx-changer
|
|
|
811809 |
%{_libexecdir}/%{name}/mtx-changer.conf
|
|
|
811809 |
%{_mandir}/man8/bacula-sd.8*
|
|
|
811809 |
%{_mandir}/man8/bcopy.8*
|
|
|
811809 |
%{_mandir}/man8/bextract.8*
|
|
|
811809 |
%{_mandir}/man8/bls.8*
|
|
|
811809 |
%{_mandir}/man8/bscan.8*
|
|
|
811809 |
%{_mandir}/man8/btape.8*
|
|
|
811809 |
|
|
|
811809 |
%files client
|
|
|
811809 |
%defattr(-,root,root,-)
|
|
|
811809 |
%{_sbindir}/bacula-fd
|
|
|
811809 |
%if 0%{?fedora} || 0%{?rhel} >= 7
|
|
|
811809 |
%{_unitdir}/bacula-fd.service
|
|
|
811809 |
%else
|
|
|
811809 |
%{_initrddir}/bacula-fd
|
|
|
811809 |
%endif
|
|
|
811809 |
%attr(640,root,root) %config(noreplace) %{_sysconfdir}/bacula/bacula-fd.conf
|
|
|
811809 |
%config(noreplace) %{_sysconfdir}/sysconfig/bacula-fd
|
|
|
811809 |
%{_mandir}/man8/bacula-fd.8*
|
|
|
811809 |
%{_libdir}/bacula/bpipe-fd.so
|
|
|
811809 |
|
|
|
811809 |
%files console
|
|
|
811809 |
%defattr(-,root,root,-)
|
|
|
811809 |
%{_sbindir}/bconsole
|
|
|
811809 |
%attr(640,root,root) %config(noreplace) %{_sysconfdir}/bacula/bconsole.conf
|
|
|
811809 |
%{_mandir}/man8/bconsole.8*
|
|
|
811809 |
|
|
|
811809 |
%if 0%{?fedora} || 0%{?rhel} >= 6
|
|
|
811809 |
%files console-bat
|
|
|
811809 |
%defattr(-,root,root,-)
|
|
|
811809 |
%doc %{_datadir}/doc/bacula-console-bat-%{version}/*
|
|
|
811809 |
%attr(640,root,root) %config(noreplace) %{_sysconfdir}/bacula/bat.conf
|
|
|
811809 |
%{_sbindir}/bat
|
|
|
811809 |
%{_mandir}/man1/bat.1*
|
|
|
811809 |
%{_datadir}/applications/bacula-bat.desktop
|
|
|
811809 |
%{_datadir}/pixmaps/bat.png
|
|
|
811809 |
|
|
|
811809 |
%files traymonitor
|
|
|
811809 |
%defattr(-,root,root,-)
|
|
|
811809 |
%{_sbindir}/bacula-tray-monitor
|
|
|
811809 |
%attr(640,root,root) %config(noreplace) %{_sysconfdir}/bacula/tray-monitor.conf
|
|
|
811809 |
%{_datadir}/applications/bacula-traymonitor.desktop
|
|
|
811809 |
%{_datadir}/pixmaps/bacula-tray-monitor.png
|
|
|
811809 |
%endif
|
|
|
811809 |
|
|
|
811809 |
%files devel
|
|
|
811809 |
%defattr(-,root,root,-)
|
|
|
811809 |
%{_includedir}/bacula
|
|
|
811809 |
%{_libdir}/libbac.la
|
|
|
811809 |
%{_libdir}/libbac.so
|
|
|
811809 |
%{_libdir}/libbaccats.la
|
|
|
811809 |
%{_libdir}/libbaccats-mysql.la
|
|
|
811809 |
%{_libdir}/libbaccats-postgresql.la
|
|
|
811809 |
%{_libdir}/libbaccats-sqlite3.la
|
|
|
811809 |
%{_libdir}/libbaccfg.la
|
|
|
811809 |
%{_libdir}/libbaccfg.so
|
|
|
811809 |
%{_libdir}/libbacfind.la
|
|
|
811809 |
%{_libdir}/libbacfind.so
|
|
|
811809 |
%{_libdir}/libbacpy.la
|
|
|
811809 |
%{_libdir}/libbacpy.so
|
|
|
811809 |
%{_libdir}/libbacsql.la
|
|
|
811809 |
%{_libdir}/libbacsql.so
|
|
|
811809 |
|
|
|
811809 |
%files -n nagios-plugins-bacula
|
|
|
811809 |
%defattr(-,root,root)
|
|
|
811809 |
%{_libdir}/nagios/plugins/check_bacula
|
|
|
811809 |
|
|
|
811809 |
%changelog
|
|
|
811809 |
* Thu Jul 31 2014 Petr Hracek <phracek@redhat.com> - 5.2.13-19.1
|
|
|
811809 |
- Bump version
|
|
|
811809 |
Resolves: #1059611
|
|
|
811809 |
|
|
|
811809 |
* Tue Mar 18 2014 Petr Hracek <phracek@redhat.com> - 5.2.13-18.1
|
|
|
811809 |
- Add aarch64 support
|
|
|
811809 |
Resolves: #1059611
|
|
|
811809 |
|
|
|
811809 |
* Tue Feb 4 2014 Brendan Conoboy <blc@redhat.com> - 5.2.13-17.1
|
|
|
811809 |
- Per Marcin, add aarch64 to bacula-multilib.patch.
|
|
|
811809 |
|
|
|
811809 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 5.2.13-17
|
|
|
811809 |
- Mass rebuild 2014-01-24
|
|
|
811809 |
|
|
|
811809 |
* Wed Jan 15 2014 Honza Horak <hhorak@redhat.com> - 5.2.13-16
|
|
|
811809 |
- Rebuild for mariadb-libs
|
|
|
811809 |
Related: #1045013
|
|
|
811809 |
|
|
|
811809 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 5.2.13-15
|
|
|
811809 |
- Mass rebuild 2013-12-27
|
|
|
811809 |
|
|
|
811809 |
* Tue Dec 17 2013 Petr Hracek <phracek@redhat.com> - 5.2.13-14
|
|
|
811809 |
- Resolves: #881146 Multilib issue
|
|
|
811809 |
|
|
|
811809 |
* Mon Jul 15 2013 Petr Hracek <phracek@redhat.com> - 5.2.13-13
|
|
|
811809 |
- make dependency of bacula packages on bacula-libs RHEL-7 rpmdiff (#881146)
|
|
|
811809 |
|
|
|
811809 |
* Thu Jun 27 2013 Petr Hracek <phracek@redhat.com> - 5.2.13-12
|
|
|
811809 |
- Correct systemd unitfiles permissions (#978833)
|
|
|
811809 |
|
|
|
811809 |
* Tue May 28 2013 Petr Hracek <phracek@redhat.com> - 5.2.13-11
|
|
|
811809 |
- Fix for nonfree code (#967417)
|
|
|
811809 |
|
|
|
811809 |
* Thu May 16 2013 Simone Caronni <negativo17@gmail.com> - 5.2.13-10
|
|
|
811809 |
- Add aarch64 patch (#925072).
|
|
|
811809 |
- Add bpluginfo commmand.
|
|
|
811809 |
|
|
|
811809 |
* Tue Apr 16 2013 Simone Caronni <negativo17@gmail.com> - 5.2.13-9
|
|
|
811809 |
- Systemd service files cleanup, thanks Michal Schmidt (#952334)
|
|
|
811809 |
|
|
|
811809 |
* Mon Apr 08 2013 Petr Hracek <phracek@redhat.com> - 5.2.13-8
|
|
|
811809 |
- Correcting options and man pages (#948837)
|
|
|
811809 |
|
|
|
811809 |
* Mon Apr 08 2013 Petr Hracek <phracek@redhat.com> - 5.2.13-7
|
|
|
811809 |
- include /var/log/bacula/*.log in logwatch (#924797)
|
|
|
811809 |
|
|
|
811809 |
* Mon Mar 04 2013 Simone Caronni <negativo17@gmail.com> - 5.2.13-6
|
|
|
811809 |
- Add mt-st requirement to storage package; update quick start docs.
|
|
|
811809 |
|
|
|
811809 |
* Tue Feb 26 2013 Simone Caronni <negativo17@gmail.com> - 5.2.13-5
|
|
|
811809 |
- Improve documentation.
|
|
|
811809 |
|
|
|
811809 |
* Mon Feb 25 2013 Simone Caronni <negativo17@gmail.com> - 5.2.13-4
|
|
|
811809 |
- Fix director reload command.
|
|
|
811809 |
- Adjust to 5.2.13 permission changes.
|
|
|
811809 |
|
|
|
811809 |
* Fri Feb 22 2013 Simone Caronni <negativo17@gmail.com> - 5.2.13-3
|
|
|
811809 |
- Renamed README to README.Redhat.
|
|
|
811809 |
|
|
|
811809 |
* Thu Feb 21 2013 Simone Caronni <negativo17@gmail.com> - 5.2.13-2
|
|
|
811809 |
- Removed bacula-checkconf stuff.
|
|
|
811809 |
- Separated postgresql, sqlite3 and mysql how to from README.
|
|
|
811809 |
|
|
|
811809 |
* Wed Feb 20 2013 Simone Caronni <negativo17@gmail.com> - 5.2.13-1
|
|
|
811809 |
- Update to 5.2.13, drop upstreamed patch.
|
|
|
811809 |
- Remove Fedora 16 (EOL) checks.
|
|
|
811809 |
|
|
|
811809 |
* Sun Feb 10 2013 Rahul Sundaram <sundaram@fedoraproject.org> - 5.2.12-9
|
|
|
811809 |
- remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247
|
|
|
811809 |
|
|
|
811809 |
* Fri Feb 08 2013 Petr Hracek <phracek@redhat.com> - 5.2.12-8
|
|
|
811809 |
- Fix: (#881146) syntax error in update_postgresql_tables_10_to_11.in
|
|
|
811809 |
|
|
|
811809 |
* Mon Feb 04 2013 Petr Hracek <phracek@redhat.com> - 5.2.12-7
|
|
|
811809 |
- Fix (#905309) e_msg: Process /usr/sbin/bat was killed by signal 11 (SIGSEGV)
|
|
|
811809 |
|
|
|
811809 |
* Thu Jan 10 2013 Simone Caronni <negativo17@gmail.com> - 5.2.12-6
|
|
|
811809 |
- Added missing line in bacula-sd SysV init script.
|
|
|
811809 |
|
|
|
811809 |
* Wed Jan 09 2013 Simone Caronni <negativo17@gmail.com> - 5.2.12-5
|
|
|
811809 |
- Move unversioned libraries into the devel package (#889244).
|
|
|
811809 |
|
|
|
811809 |
* Wed Jan 09 2013 Simone Caronni <negativo17@gmail.com> - 5.2.12-4
|
|
|
811809 |
- Updated SysV init script according to Fedora template:
|
|
|
811809 |
https://fedoraproject.org/wiki/Packaging:SysVInitScript
|
|
|
811809 |
|
|
|
811809 |
* Wed Oct 17 2012 Simone Caronni <negativo17@gmail.com> - 5.2.12-3
|
|
|
811809 |
- Add sample-query.sql file to Director's docs.
|
|
|
811809 |
|
|
|
811809 |
* Wed Oct 17 2012 Simone Caronni <negativo17@gmail.com> - 5.2.12-2
|
|
|
811809 |
- Fix fedpkg checks. Requires fedpkg > 1.10:
|
|
|
811809 |
http://git.fedorahosted.org/cgit/fedpkg.git/commit/?id=11c46c06a3c9cc2f58d68aea964dd37dc028e349
|
|
|
811809 |
- Change systemd requirements as per new package guidelines.
|
|
|
811809 |
|
|
|
811809 |
* Fri Sep 14 2012 Simone Caronni <negativo17@gmail.com> - 5.2.12-1
|
|
|
811809 |
- Update to 5.2.12, containing only patches from 5.2.11-4.
|
|
|
811809 |
|
|
|
811809 |
* Fri Sep 14 2012 Simone Caronni <negativo17@gmail.com> - 5.2.11-4
|
|
|
811809 |
- Add a sleep timer for RHEL init scripts restart as Debian does.
|
|
|
811809 |
Problems verified on the sd exiting too early on VMs and slow boxes.
|
|
|
811809 |
|
|
|
811809 |
* Thu Sep 13 2012 Simone Caronni <negativo17@gmail.com> - 5.2.11-3
|
|
|
811809 |
- Introduce last minute critical patches.
|
|
|
811809 |
|
|
|
811809 |
* Thu Sep 13 2012 Simone Caronni <negativo17@gmail.com> - 5.2.11-2
|
|
|
811809 |
- Do not remove user on common subpackage uninstall.
|
|
|
811809 |
|
|
|
811809 |
* Tue Sep 11 2012 Simone Caronni <negativo17@gmail.com> - 5.2.11-1
|
|
|
811809 |
- Update to 5.2.11.
|
|
|
811809 |
- Removed upstreamed patches.
|
|
|
811809 |
- Updated bat patch.
|
|
|
811809 |
- Removed useless docs.
|
|
|
811809 |
|
|
|
811809 |
* Tue Sep 11 2012 Simone Caronni <negativo17@gmail.com> - 5.2.10-7
|
|
|
811809 |
- Add Fedora 18 systemd macros.
|
|
|
811809 |
- Remove old distribution checks.
|
|
|
811809 |
|
|
|
811809 |
* Wed Aug 29 2012 Simone Caronni <negativo17@gmail.com> - 5.2.10-6
|
|
|
811809 |
- Remove user definition during prep so they are not used during the install
|
|
|
811809 |
phase (rhbz#852732).
|
|
|
811809 |
- Enforce permissions in default config files.
|
|
|
811809 |
|
|
|
811809 |
* Fri Jul 20 2012 Simone Caronni <negativo17@gmail.com> - 5.2.10-5
|
|
|
811809 |
- Removed make_catalog_backup bash script, leave only the default perl one (rhbz#456612,665498).
|
|
|
811809 |
|
|
|
811809 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2.10-4
|
|
|
811809 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
811809 |
|
|
|
811809 |
* Mon Jul 16 2012 Simone Caronni <negativo17@gmail.com> - 5.2.10-3
|
|
|
811809 |
- Updated log path patch (rhbz#837706).
|
|
|
811809 |
|
|
|
811809 |
* Tue Jul 10 2012 Simone Caronni <negativo17@gmail.com> - 5.2.10-2
|
|
|
811809 |
- Add nss-lookup.target as required to service files (rhbz#838828).
|
|
|
811809 |
- Fix bsmtp upstream bug sending mails to ipv4/ipv6 hosts.
|
|
|
811809 |
|
|
|
811809 |
* Mon Jul 02 2012 Simone Caronni <negativo17@gmail.com> - 5.2.10-1
|
|
|
811809 |
- Update to 5.2.10.
|
|
|
811809 |
|
|
|
811809 |
* Tue Jun 19 2012 Simone Caronni <negativo17@gmail.com> - 5.2.9-2
|
|
|
811809 |
- Remove _isa on BuildRequires.
|
|
|
811809 |
- Remove useless code in SysV init scripts.
|
|
|
811809 |
|
|
|
811809 |
* Tue Jun 12 2012 Simone Caronni <negativo17@gmail.com> - 5.2.9-1
|
|
|
811809 |
- Update to 5.2.9, remove termlib patch.
|
|
|
811809 |
|
|
|
811809 |
* Mon Jun 11 2012 Simone Caronni <negativo17@gmail.com> - 5.2.8-2
|
|
|
811809 |
- Fix console build on RHEL 5.
|
|
|
811809 |
|
|
|
811809 |
* Mon Jun 11 2012 Simone Caronni <negativo17@gmail.com> - 5.2.8-1
|
|
|
811809 |
- Update to 5.2.8.
|
|
|
811809 |
- Removed upstram xattr patch.
|
|
|
811809 |
- Added database backend detection to bacula-libs-sql for upgrades from
|
|
|
811809 |
<= 5.0.3-28-fc16 and 5.2.6-1.fc17.
|
|
|
811809 |
|
|
|
811809 |
* Fri Jun 08 2012 Simone Caronni <negativo17@gmail.com> - 5.2.7-4
|
|
|
811809 |
- Make a note about mt-st and mtx (bz#829888).
|
|
|
811809 |
- Update README.Fedora with current information.
|
|
|
811809 |
- Fix bacula-sd group on Fedora and RHEL >= 6 (bz#829509).
|
|
|
811809 |
|
|
|
811809 |
* Wed Jun 06 2012 Simone Caronni <negativo17@gmail.com> - 5.2.7-3
|
|
|
811809 |
- Final xattr patch from upstream for bz#819158.
|
|
|
811809 |
- Switch alternatives to point to the unversioned system libraries.
|
|
|
811809 |
Pointed out by the closely related bug #829219.
|
|
|
811809 |
|
|
|
811809 |
* Mon Jun 04 2012 Simone Caronni <negativo17@gmail.com> - 5.2.7-2
|
|
|
811809 |
- Remove python-devel test leftover.
|
|
|
811809 |
- Updated bat build patch to add support for RHEL 6.
|
|
|
811809 |
|
|
|
811809 |
* Mon Jun 04 2012 Simone Caronni <negativo17@gmail.com> - 5.2.7-1
|
|
|
811809 |
- Updated to 5.2.7, removed patches included upstream.
|
|
|
811809 |
- Removed python-devel patch, fix included in python package.
|
|
|
811809 |
- Replaced tabs with blanks in spec file (rpmlint).
|
|
|
811809 |
|
|
|
811809 |
* Mon May 28 2012 Simone Caronni <negativo17@gmail.com> - 5.2.6-6
|
|
|
811809 |
- Even if pulled in by dependencies, re-add explict BR on systemd-units.
|
|
|
811809 |
- Remove .gz suffix for man pages in file lists as per packaging guidelines.
|
|
|
811809 |
|
|
|
811809 |
* Mon May 28 2012 Simone Caronni <negativo17@gmail.com> - 5.2.6-5
|
|
|
811809 |
- Patch for bug #819158.
|
|
|
811809 |
- Updated hostname patch with official fix.
|
|
|
811809 |
- Sorted all BuildRequires and removed useless systemd-units.
|
|
|
811809 |
|
|
|
811809 |
* Wed May 23 2012 Simone Caronni <negativo17@gmail.com> - 5.2.6-4
|
|
|
811809 |
- Added python config workaround for Fedora 16.
|
|
|
811809 |
|
|
|
811809 |
* Mon May 21 2012 Simone Caronni <negativo17@gmail.com> - 5.2.6-3
|
|
|
811809 |
- Removed _install, _mkdir and _make macro.
|
|
|
811809 |
- Added _isa to BuildRequires.
|
|
|
811809 |
- Removed lzo-devel option for RHEL 4 (EOL).
|
|
|
811809 |
|
|
|
811809 |
* Fri Mar 16 2012 Simone Caronni <negativo17@gmail.com> - 5.2.6-2
|
|
|
811809 |
- Move libbaccats and libbacsql into bacula-libs-sql package so only
|
|
|
811809 |
Director and Storage daemons pull in SQL dependencies:
|
|
|
811809 |
http://old.nabble.com/Standalone-client-question-td33495990.html
|
|
|
811809 |
|
|
|
811809 |
* Wed Feb 22 2012 Simone Caronni <negativo17@gmail.com> - 5.2.6-1
|
|
|
811809 |
- Update to 5.2.6.
|
|
|
811809 |
|
|
|
811809 |
* Fri Feb 10 2012 Simone Caronni <negativo17@gmail.com> - 5.2.5-3
|
|
|
811809 |
- WX and gnome console should be upgraded from bconsole, not
|
|
|
811809 |
libraries.
|
|
|
811809 |
|
|
|
811809 |
* Mon Jan 30 2012 Simone Caronni <negativo17@gmail.com> - 5.2.5-2
|
|
|
811809 |
- License has changed to AGPLv3 in 5.0.3. Thanks Erinn.
|
|
|
811809 |
- Fix ldconfig/alternatives symlinks on removal of packages and
|
|
|
811809 |
upgrades from recent f15/f16 changes.
|
|
|
811809 |
|
|
|
811809 |
* Thu Jan 26 2012 Simone Caronni <negativo17@gmail.com> - 5.2.5-1
|
|
|
811809 |
- Update to 5.2.5.
|
|
|
811809 |
- Change the alternative library to the base shared object name
|
|
|
811809 |
so the preference set is not lost when changing releases.
|
|
|
811809 |
|
|
|
811809 |
* Mon Jan 23 2012 Simone Caronni <negativo17@gmail.com> - 5.2.4-4
|
|
|
811809 |
- Remove old BuildRequires for bacula-docs.
|
|
|
811809 |
|
|
|
811809 |
* Fri Jan 20 2012 Simone Caronni <negativo17@gmail.com> - 5.2.4-3
|
|
|
811809 |
- Fix for rhbz#728693.
|
|
|
811809 |
|
|
|
811809 |
* Fri Jan 20 2012 Simone Caronni <negativo17@gmail.com> - 5.2.4-2
|
|
|
811809 |
- Close bugs rhbz#708712, rhbz#556669, rhbz#726147
|
|
|
811809 |
|
|
|
811809 |
* Wed Jan 18 2012 Simone Caronni <negativo17@gmail.com> - 5.2.4-1
|
|
|
811809 |
- Update to 5.2.4, rework libbaccats installation as they have
|
|
|
811809 |
fixed the soname library problem.
|
|
|
811809 |
|
|
|
811809 |
* Thu Jan 12 2012 Simone Caronni <negativo17@gmail.com> - 5.2.3-8
|
|
|
811809 |
- Fix tray monitor desktop file.
|
|
|
811809 |
|
|
|
811809 |
* Wed Jan 11 2012 Simone Caronni <negativo17@gmail.com> - 5.2.3-7
|
|
|
811809 |
- Split off bacula-docs subpackage.
|
|
|
811809 |
|
|
|
811809 |
* Thu Jan 05 2012 Simone Caronni <negativo17@gmail.com> - 5.2.3-6
|
|
|
811809 |
- Make docs conditional at build for testing.
|
|
|
811809 |
- Add devel subpackage.
|
|
|
811809 |
|
|
|
811809 |
* Tue Jan 03 2012 Simone Caronni <negativo17@gmail.com> - 5.2.3-5
|
|
|
811809 |
- Trim changelog.
|
|
|
811809 |
- Merge bacula-director backends and move libbacats alternatives
|
|
|
811809 |
to bacula-libs.
|
|
|
811809 |
- Move bscan to bacula-storage now that is dependent only on
|
|
|
811809 |
bacula-libs.
|
|
|
811809 |
- Added README.Fedora.
|
|
|
811809 |
|
|
|
811809 |
* Tue Dec 20 2011 Simone Caronni <negativo17@gmail.com> - 5.2.3-4
|
|
|
811809 |
- Changing uid from 33 per previous discussion, static uid
|
|
|
811809 |
already allocated is 133:
|
|
|
811809 |
"cat /usr/share/doc/setup-2.8.36/uidgid | grep bacula"
|
|
|
811809 |
|
|
|
811809 |
* Mon Dec 19 2011 Simone Caronni <negativo17@gmail.com> - 5.2.3-3
|
|
|
811809 |
- Remove fedora-usermgmt entirely, see thread at:
|
|
|
811809 |
http://lists.fedoraproject.org/pipermail/packaging/2011-December/008034.html
|
|
|
811809 |
|
|
|
811809 |
* Mon Dec 19 2011 Simone Caronni <negativo17@gmail.com> - 5.2.3-2
|
|
|
811809 |
- Remove leftover users when removing bacula-common.
|
|
|
811809 |
- Allow building "--without fedora" to avoid RHEL dependency on EPEL:
|
|
|
811809 |
http://fedoraproject.org/wiki/PackageUserCreation
|
|
|
811809 |
|
|
|
811809 |
* Mon Dec 19 2011 Simone Caronni <negativo17@gmail.com> - 5.2.3-1
|
|
|
811809 |
- Updated to 5.2.3.
|
|
|
811809 |
- Remove fedora-usermgmt from libs Requires section.
|
|
|
811809 |
|
|
|
811809 |
* Sun Dec 11 2011 Simone Caronni <negativo17@gmail.com> - 5.2.2-11
|
|
|
811809 |
- Add bat html docs so the help button works.
|
|
|
811809 |
- Minor packaging changes.
|
|
|
811809 |
- Default permissions on bconsole and bat.
|
|
|
811809 |
- Use localhost as default on config files instead of patching fake
|
|
|
811809 |
example.com hostnames.
|
|
|
811809 |
- Add QT tray monitor.
|
|
|
811809 |
|
|
|
811809 |
* Sat Dec 10 2011 Simone Caronni <negativo17@gmail.com> - 5.2.2-10
|
|
|
811809 |
- Added patch for mysql 5.5.18 from Oliver Falk.
|
|
|
811809 |
|
|
|
811809 |
* Wed Dec 07 2011 Simone Caronni <negativo17@gmail.com> - 5.2.2-9
|
|
|
811809 |
- Add sample-query.sql as config file.
|
|
|
811809 |
- Small log changes.
|
|
|
811809 |
|
|
|
811809 |
* Wed Dec 07 2011 Simone Caronni <negativo17@gmail.com> - 5.2.2-8
|
|
|
811809 |
- Fixed building on RHEL/CentOS 4.
|
|
|
811809 |
- Split out libs package to remove dependency on bacula-common for
|
|
|
811809 |
bconsole, bat and check_bacula.
|
|
|
811809 |
- Fix typo in post scriptlet for director-sqlite.
|
|
|
811809 |
|
|
|
811809 |
* Tue Dec 06 2011 Simone Caronni <negativo17@gmail.com> - 5.2.2-7
|
|
|
811809 |
- Added libcap for POSIX.1e capabilities in bacula-fd (5.0.0 feature).
|
|
|
811809 |
- Allow systemd files to read options set in the sysconfig
|
|
|
811809 |
configuration files like SysV scripts to enable capabilities.
|
|
|
811809 |
- Set capabilities as optional for now.
|
|
|
811809 |
|
|
|
811809 |
* Mon Dec 05 2011 Simone Caronni <negativo17@gmail.com> - 5.2.2-6
|
|
|
811809 |
- Removed leftover files and small rpmlint fixes.
|
|
|
811809 |
- Additional file moves between packages.
|
|
|
811809 |
- Enabled LZO compression (5.2.1 feature).
|
|
|
811809 |
|
|
|
811809 |
* Mon Dec 05 2011 Simone Caronni <negativo17@gmail.com> - 5.2.2-5
|
|
|
811809 |
- Remove redundant user/group in service files.
|
|
|
811809 |
- Reduce patching for what can be passed through configure.
|
|
|
811809 |
- Remove dsolink patch, not needed anymore.
|
|
|
811809 |
|
|
|
811809 |
* Fri Dec 02 2011 Simone Caronni <negativo17@gmail.com> - 5.2.2-4
|
|
|
811809 |
- Rename storage-common to storage and make it provide storage-common.
|
|
|
811809 |
- Move bscan to director-common.
|
|
|
811809 |
- Move storage scripts to storage.
|
|
|
811809 |
- Add html docs.
|
|
|
811809 |
- Install dummy catalogue library and mark it as ghost.
|
|
|
811809 |
|
|
|
811809 |
* Thu Dec 01 2011 Simone Caronni <negativo17@gmail.com> - 5.2.2-3
|
|
|
811809 |
- Add missing conditional for bat in the build section.
|
|
|
811809 |
- Make bat require qt4-devel on build (rhel 5 fix).
|
|
|
811809 |
- Bumped requirement for qt >= 4.6.2 for 5.2.2.
|
|
|
811809 |
- Renamed bacula-config.patch to bacula-5.2.2-config.patch as it
|
|
|
811809 |
always changes.
|
|
|
811809 |
- Fix installation of bat and check_bacula binaries. Enabling
|
|
|
811809 |
libtool for bpipe-fd.so produces binaries under .libs.
|
|
|
811809 |
- Removed fedora-usermgmt requirement for director-common.
|
|
|
811809 |
- Removed examples from docs and make them "noarch".
|
|
|
811809 |
- Fix bacula-console requirements.
|
|
|
811809 |
- Fix nagios plugin summary.
|
|
|
811809 |
- Removed checkconf functions from SysV init files and replace
|
|
|
811809 |
the call with the script used in systemd service files. Make
|
|
|
811809 |
the script available in all builds.
|
|
|
811809 |
- Make docs NoArch where supported.
|
|
|
811809 |
|
|
|
811809 |
* Thu Dec 1 2011 Tom Callaway <spot@fedoraproject.org> - 5.2.2-2
|
|
|
811809 |
- resolve broken dependency issues
|
|
|
811809 |
|
|
|
811809 |
* Tue Nov 29 2011 Tom Callaway <spot@fedoraproject.org> - 5.2.2-1
|
|
|
811809 |
- Update to 5.2.2
|
|
|
811809 |
- minor spec cleanups, conditionalized support for systemd
|
|
|
811809 |
|
|
|
811809 |
* Fri Nov 04 2011 Simone Caronni <negativo17@gmail.com> - 5.2.1-1
|
|
|
811809 |
- Updated to 5.2.1.
|
|
|
811809 |
- Reworked and removed some patches for 5.2.1 codebase.
|
|
|
811809 |
- Reworked bat installation.
|
|
|
811809 |
- Removed sqlite2 support.
|
|
|
811809 |
- Removed all the fancy database backend rebuilding.
|
|
|
811809 |
- Disabled libtool for bpipe-fd.so.
|
|
|
811809 |
- Passed plugins dir as libdir/bacula.
|
|
|
811809 |
- Added sql libs to alternatives.
|
|
|
811809 |
- Disabled traymonitor.
|
|
|
811809 |
- Minor fixes to spec file, rpmlint fixes.
|
|
|
811809 |
- Nagios patch for Enterprise FDs.
|
|
|
811809 |
- Removed all gui/web stuff.
|
|
|
811809 |
- Removed a lot of comments.
|
|
|
811809 |
- Conditional on Fedora 11 / RHEL 6 for bat build.
|
|
|
811809 |
- Obsolete bacula-sysconfdir.
|
|
|
811809 |
- Removed bwxconsole.
|
|
|
811809 |
|
|
|
811809 |
* Thu Nov 3 2011 Lukáš Nykrýn <lnykryn@redhat.com> - 5.0.3-13
|
|
|
811809 |
- fixed creating of bacula MySQL tables and bump
|
|
|
811809 |
|
|
|
811809 |
* Sun Oct 9 2011 Lukáš Nykrýn <lnykryn@redhat.com> - 5.0.3-12
|
|
|
811809 |
- fixed restart option in service files (#745529)
|
|
|
811809 |
- fixed creating of bacula MySQL tables (#724894)
|
|
|
811809 |
|
|
|
811809 |
* Fri Sep 9 2011 Tom Callaway <spot@fedoraproject.org> - 5.0.3-11
|
|
|
811809 |
- add missing scriptlets
|
|
|
811809 |
|
|
|
811809 |
* Thu Sep 8 2011 Tom Callaway <spot@fedoraproject.org> - 5.0.3-10
|
|
|
811809 |
- convert to systemd
|
|
|
811809 |
|
|
|
811809 |
* Wed Mar 23 2011 Dan Horák <dan@danny.cz> - 5.0.3-9
|
|
|
811809 |
- rebuilt for mysql 5.5.10 (soname bump in libmysqlclient)
|
|
|
811809 |
|
|
|
811809 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.3-8
|
|
|
811809 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
811809 |
|
|
|
811809 |
* Mon Jan 03 2011 Jon Ciesla <limb@jcomserv.net> - 5.0.3-7
|
|
|
811809 |
- Rebuild for MySQL 5.5, with patch.
|
|
|
811809 |
|
|
|
811809 |
* Fri Nov 26 2010 Jan Görig <jgorig@redhat.com> - 5.0.3-6
|
|
|
811809 |
- Fixed previous fix of alternatives
|
|
|
811809 |
- Changed initscript return value for non-configured service
|
|
|
811809 |
- Director address is required in tray-monitor config now (#626490)
|
|
|
811809 |
|
|
|
811809 |
* Tue Nov 23 2010 Jan Görig <jgorig@redhat.com> - 5.0.3-5
|
|
|
811809 |
- Fixed alternatives for dbcheck (#650224)
|
|
|
811809 |
- Moved director log file to /var/log/bacula/
|
|
|
811809 |
- Changed permission of bacula-dir.conf (RHEL #651786)
|
|
|
811809 |
- SQLite database is created as bacula user
|
|
|
811809 |
|
|
|
811809 |
* Tue Oct 19 2010 Jan Görig <jgorig@redhat.com> - 5.0.3-4
|
|
|
811809 |
- Fixed initscripts and changed default group of bacula-sd (#629697)
|
|
|
811809 |
- Better warning for non-configured password (#556669)
|
|
|
811809 |
|
|
|
811809 |
* Wed Sep 29 2010 jkeating - 5.0.3-3
|
|
|
811809 |
- Rebuilt for gcc bug 634757
|
|
|
811809 |
|
|
|
811809 |
* Thu Sep 23 2010 Jan Görig <jgorig@redhat.com> - 5.0.3-2
|
|
|
811809 |
- fixed openssl patch, thanks to Enrico Scholz
|
|
|
811809 |
|
|
|
811809 |
* Tue Aug 10 2010 Jon Ciesla <limb@jcomserv.net> - 5.0.3-1
|
|
|
811809 |
- New upstream.
|
|
|
811809 |
- DSOlink fix for same.
|
|
|
811809 |
|
|
|
811809 |
* Fri Jul 30 2010 Jon Ciesla <limb@jcomserv.net> - 5.0.2-8
|
|
|
811809 |
- Patched configure scripts for Python 2.7.
|
|
|
811809 |
|
|
|
811809 |
* Fri Jul 30 2010 Jon Ciesla <limb@jcomserv.net> - 5.0.2-7
|
|
|
811809 |
- Rebuild against Python 2.7.
|
|
|
811809 |
|
|
|
811809 |
* Wed Jul 14 2010 Dan Horák <dan@danny.cz> - 5.0.2-6
|
|
|
811809 |
- rebuilt against wxGTK-2.8.11-2
|
|
|
811809 |
|
|
|
811809 |
* Thu Jun 3 2010 Jan Görig <jgorig@redhat.com> 5.0.2-5
|
|
|
811809 |
- removed no longer needed sysconfig subpackage (#593307]
|
|
|
811809 |
- build with $RPM_OPT_FLAGS, show compiler commands in build log (#575425)
|
|
|
811809 |
fixed by Ville Skyttä
|
|
|
811809 |
- dropped tcp_wrappers build conditional (#537250)
|
|
|
811809 |
- fixed location of query.xml in config file (#556480)
|
|
|
811809 |
|
|
|
811809 |
* Wed Jun 2 2010 Jan Görig <jgorig@redhat.com> 5.0.2-4
|
|
|
811809 |
- initscripts improvements
|
|
|
811809 |
- fixed consolehelper settings and menu entries
|
|
|
811809 |
|
|
|
811809 |
* Tue Jun 01 2010 Jon Ciesla
|
|
|
811809 |
- Corrected ssl patch, court. jgorig.
|
|
|
811809 |
|
|
|
811809 |
* Wed May 19 2010 Jon Ciesla
|
|
|
811809 |
- Corrected bat build, BZ 593149.
|
|
|
811809 |
- Corrected ssl patch.
|
|
|
811809 |
|
|
|
811809 |
* Thu Apr 29 2010 Jon Ciesla
|
|
|
811809 |
- New upstream, 5.0.2.
|
|
|
811809 |
- Updated openssl patch.
|
|
|
811809 |
|
|
|
811809 |
* Thu Feb 25 2010 Jon Ciesla
|
|
|
811809 |
- New upstream, 5.0.1.
|
|
|
811809 |
|
|
|
811809 |
* Mon Jan 25 2010 Jon Ciesla
|
|
|
811809 |
- New upstream, 5.0.0.
|
|
|
811809 |
|