1a9c4f1
%global uid 133
e004908
%global username bacula
3edd26e
%global docs 1
4dac1ea
16d9a36
Name:			bacula
d55721f
Version:		5.2.3
3edd26e
Release:		6%{?dist}
16d9a36
Summary:		Cross platform network backup for Linux, Unix, Mac and Windows
66f3524
# See LICENSE for details
16d9a36
License:		GPLv2 with exceptions
16d9a36
Group:			System Environment/Daemons
16d9a36
URL:			http://www.bacula.org
16d9a36
BuildRoot:		%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
900706a
16d9a36
Source0:		http://www.bacula.org/downloads/Bacula-%{version}/%{name}-%{version}.tar.gz
16d9a36
Source1:		http://www.bacula.org/downloads/Bacula-%{version}/%{name}-docs-%{version}.tar.bz2
f5d09cc
Source5:		README.Fedora
16d9a36
Source6:		bacula.logrotate
16d9a36
Source7:		bacula-fd.init
16d9a36
Source8:		bacula-dir.init
16d9a36
Source9:		bacula-sd.init
16d9a36
Source10:		bacula-fd.service
16d9a36
Source11:		bacula-dir.service
16d9a36
Source12:		bacula-sd.service
16d9a36
Source13:		bacula-bat.desktop
367ff02
Source14:		bacula-traymonitor.desktop
16d9a36
Source15:		bacula-fd.sysconfig
16d9a36
Source16:		bacula-dir.sysconfig
16d9a36
Source17:		bacula-sd.sysconfig
16d9a36
Source18:		bacula-checkconf
f45ba58
# Bug: hostname is ignored during configure, always picks "uname -n"
f45ba58
Patch1:			bacula-5.2.2-hostname.patch
16d9a36
Patch2:			bacula-5.0.2-openssl.patch
d6447bb
Patch3:			bacula-5.2.2-queryfile.patch
b43f212
Patch5:			bacula-5.2.2-log-path.patch
16d9a36
Patch6:			bacula-5.0.3-sqlite-priv.patch
16d9a36
Patch8:			bacula-5.2.2-qt-console-optflags.patch
900706a
16d9a36
BuildRequires:		openssl-devel, ncurses-devel, perl, glibc-devel
16d9a36
BuildRequires:		libstdc++-devel, libxml2-devel, zlib-devel
f5dea45
BuildRequires:		mysql-devel, postgresql-devel, sqlite-devel
11812bf
BuildRequires:		desktop-file-utils, python-devel, sed
c3b2c9b
BuildRequires:		libacl-devel, tetex-latex, tetex, ghostscript
a9c6a94
BuildRequires:		readline-devel, libcap-devel
16d9a36
16d9a36
%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
900706a
BuildRequires:		qt4-devel >= 4.6.2
16d9a36
%endif
16d9a36
16d9a36
%if 0%{?fedora} >= 7 || 0%{?rhel} >= 6
16d9a36
BuildRequires:		tcp_wrappers-devel
16d9a36
%else
16d9a36
BuildRequires:		tcp_wrappers
16d9a36
%endif
16d9a36
16d9a36
%if 0%{?fedora} >= 9 || 0%{?rhel} >= 6
16d9a36
BuildRequires:		dvipdfm
16d9a36
%endif
16d9a36
16d9a36
%if 0%{?fedora} >= 15 || 0%{?rhel} > 6
16d9a36
BuildRequires:		systemd-units
16d9a36
%endif
0745245
c3b2c9b
%if 0%{?fedora} >= 9 || 0%{?rhel} >= 5
c3b2c9b
BuildRequires:		latex2html
c3b2c9b
%endif
c3b2c9b
11812bf
%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5
11812bf
BuildRequires:		lzo-devel >= 2.02
11812bf
%endif
11812bf
0745245
%description
0745245
Bacula is a set of programs that allow you to manage the backup,
0745245
recovery, and verification of computer data across a network of
0745245
different computers. It is based on a client/server architecture and is
0745245
efficient and relatively easy to use, while offering many advanced
0745245
storage management features that make it easy to find and recover lost
0745245
or damaged files.
0745245
0745245
8390fc1
%package libs
8390fc1
Summary:		Bacula libraries
8390fc1
Group:			System Environment/Daemons
367ff02
Obsoletes:		bacula-console-gnome <= 2.4
8390fc1
Obsoletes:		bacula-sysconfdir <= 2.4, bacula-console-wxwidgets <= 5.0.3
8390fc1
8390fc1
%description libs
8390fc1
Bacula is a set of programs that allow you to manage the backup,
8390fc1
recovery, and verification of computer data across a network of
8390fc1
different computers. It is based on a client/server architecture.
8390fc1
bf9089a
This package contains basic Bacula libraries, which are used by all
bf9089a
Bacula programs. You have to select your preferred catalog library
bf9089a
through the alternatives system.
8390fc1
8390fc1
7dc2ef0
%package common
8390fc1
Summary:		Common Bacula files
7dc2ef0
Group:			System Environment/Daemons
367ff02
Obsoletes:		bacula-sysconfdir <= 2.4
4dac1ea
Provides:		group(%username) = %uid
4dac1ea
Provides:		user(%username) = %uid
e004908
Requires(pre):		shadow-utils
e004908
Requires(postun):	shadow-utils
7dc2ef0
7dc2ef0
%description common
7dc2ef0
Bacula is a set of programs that allow you to manage the backup,
7dc2ef0
recovery, and verification of computer data across a network of
7dc2ef0
different computers. It is based on a client/server architecture.
7dc2ef0
54639b9
This package contains files common to all Bacula daemons.
8390fc1
7dc2ef0
bf9089a
%package director
bf9089a
Summary:		Bacula Director files
7dc2ef0
Group:			System Environment/Daemons
7dc2ef0
Requires:		bacula-common%{?_isa} = %{version}-%{release}
7dc2ef0
Requires:		logwatch
bf9089a
# Director backends merged into core.
bf9089a
Provides:		bacula-director-common = %{version}-%{release}
bf9089a
Obsoletes:		bacula-director-common < 5.2.3-5
bf9089a
Provides:		bacula-director-mysql = %{version}-%{release}
bf9089a
Obsoletes:		bacula-director-mysql < 5.2.3-5
bf9089a
Provides:		bacula-director-sqlite = %{version}-%{release}
bf9089a
Obsoletes:		bacula-director-sqlite < 5.2.3-5
bf9089a
Provides:		bacula-director-postgresql = %{version}-%{release}
bf9089a
Obsoletes:		bacula-director-postgresql < 5.2.3-5
7dc2ef0
%if 0%{?fedora} >= 15 || 0%{?rhel} > 6
7dc2ef0
Requires(post):		systemd-sysv
7dc2ef0
Requires(post):		systemd-units
7dc2ef0
Requires(preun):	systemd-units
7dc2ef0
Requires(postun):	systemd-units
7dc2ef0
%else
7dc2ef0
Requires(post):		/sbin/chkconfig
7dc2ef0
Requires(preun):	/sbin/chkconfig
7dc2ef0
Requires(preun):	/sbin/service
7dc2ef0
Requires(postun):	/sbin/service
7dc2ef0
%endif
7dc2ef0
bf9089a
%description director
7dc2ef0
Bacula is a set of programs that allow you to manage the backup,
7dc2ef0
recovery, and verification of computer data across a network of
7dc2ef0
different computers. It is based on a client/server architecture.
7dc2ef0
bf9089a
This package contains the director files.
0745245
0745245
7dc2ef0
%package storage
7dc2ef0
Summary:		Bacula storage daemon files
16d9a36
Group:			System Environment/Daemons
16d9a36
Requires:		bacula-common%{?_isa} = %{version}-%{release}
7dc2ef0
# Storage backends merged into core.
7dc2ef0
Provides:		bacula-storage-common = %{version}-%{release}
7dc2ef0
Obsoletes:		bacula-storage-common < 5.2.2-2
7dc2ef0
Provides:		bacula-storage-mysql = %{version}-%{release}
7dc2ef0
Obsoletes:		bacula-storage-mysql < 5.2.0
7dc2ef0
Provides:		bacula-storage-sqlite = %{version}-%{release}
7dc2ef0
Obsoletes:		bacula-storage-sqlite < 5.2.0
7dc2ef0
Provides:		bacula-storage-postgresql = %{version}-%{release}
7dc2ef0
Obsoletes:		bacula-storage-postgresql < 5.2.0
16d9a36
%if 0%{?fedora} >= 15 || 0%{?rhel} > 6
16d9a36
Requires(post):		systemd-sysv
16d9a36
Requires(post):		systemd-units
16d9a36
Requires(preun):	systemd-units
16d9a36
Requires(postun):	systemd-units
16d9a36
%else
16d9a36
Requires(post):		/sbin/chkconfig
16d9a36
Requires(preun):	/sbin/chkconfig
16d9a36
Requires(preun):	/sbin/service
16d9a36
Requires(postun):	/sbin/service
16d9a36
%endif
16d9a36
7dc2ef0
%description storage
0745245
Bacula is a set of programs that allow you to manage the backup,
0745245
recovery, and verification of computer data across a network of
0745245
different computers. It is based on a client/server architecture.
0745245
7dc2ef0
This package contains the storage daemon, the daemon responsible for 
7dc2ef0
writing the data received from the clients onto tape drives or other 
7dc2ef0
mass storage devices.
0745245
0745245
0745245
%package client
16d9a36
Summary:		Bacula backup client
16d9a36
Group:			System Environment/Daemons
16d9a36
Requires:		bacula-common%{?_isa} = %{version}-%{release}
16d9a36
%if 0%{?fedora} >= 15 || 0%{?rhel} > 6
16d9a36
Requires(post):		systemd-sysv
16d9a36
Requires(post):		systemd-units
16d9a36
Requires(preun):	systemd-units
16d9a36
Requires(postun):	systemd-units
16d9a36
%else
16d9a36
Requires(post):		/sbin/chkconfig
16d9a36
Requires(preun):	/sbin/chkconfig
16d9a36
Requires(preun):	/sbin/service
16d9a36
Requires(postun):	/sbin/service
16d9a36
%endif
0745245
0745245
%description client
0745245
Bacula is a set of programs that allow you to manage the backup,
0745245
recovery, and verification of computer data across a network of
0745245
different computers. It is based on a client/server architecture.
0745245
0745245
This package contains the bacula client, the daemon running on the 
0745245
system to be backed up.
0745245
0745245
0745245
%package console
900706a
Summary:		Bacula management console
900706a
Group:			System Environment/Daemons
0745245
0745245
%description console
0745245
Bacula is a set of programs that allow you to manage the backup,
0745245
recovery, and verification of computer data across a network of
0745245
different computers. It is based on a client/server architecture.
0745245
0745245
This package contains the command-line management console for the bacula 
0745245
backup system.
0745245
0745245
16d9a36
%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6
7dc8299
%package console-bat
16d9a36
Summary:		Bacula bat console
16d9a36
Group:			System Environment/Daemons
7dc8299
7dc8299
%description console-bat
7dc8299
Bacula is a set of programs that allow you to manage the backup,
7dc8299
recovery, and verification of computer data across a network of
7dc8299
different computers. It is based on a client/server architecture.
7dc8299
8390fc1
This package contains the bat version of the bacula management console.
367ff02
367ff02
367ff02
%package traymonitor
367ff02
Summary:		Bacula system tray monitor
367ff02
Group:			System Environment/Daemons
367ff02
367ff02
%description traymonitor
367ff02
Bacula is a set of programs that allow you to manage the backup,
367ff02
recovery, and verification of computer data across a network of
367ff02
different computers. It is based on a client/server architecture.
367ff02
367ff02
This package contains the Gnome and KDE compatible tray monitor to 
367ff02
monitor your bacula server.
16d9a36
%endif
0745245
3edd26e
%if 0%{?docs}
0745245
%package docs
16d9a36
Summary:		Bacula documentation
16d9a36
Group:			Documentation
900706a
%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6
900706a
BuildArch:		noarch
900706a
%endif
0745245
0745245
%description docs
0745245
Bacula is a set of programs that allow you to manage the backup,
0745245
recovery, and verification of computer data across a network of
0745245
different computers. It is based on a client/server architecture.
0745245
0745245
This package contains the documentation for most of the bacula-packages.
3edd26e
%endif
0745245
16d9a36
%package -n nagios-plugins-bacula
900706a
Summary:		Nagios Plugin - check_bacula
16d9a36
Group:			Applications/System
0745245
16d9a36
%description -n nagios-plugins-bacula
16d9a36
Provides check_bacula support for Nagios.
52eec75
52eec75
16d9a36
%prep
5c03735
%setup -q -a 1
f45ba58
%patch1 -p1 -b .hostname
16d9a36
%patch2 -p2 -b .openssl
d6447bb
%patch3 -p1 -b .queryfile
b43f212
%patch5 -p1 -b .log-path
16d9a36
%patch6 -p0 -b .priv
16d9a36
%patch8 -p1 -b .optflags
0745245
0745245
# Remove execution permissions from files we're packaging as docs later on
0745245
find updatedb -type f | xargs chmod -x
0745245
4dac1ea
0745245
%build
900706a
build() {
7ce52f3
export CFLAGS="$RPM_OPT_FLAGS -I%{_includedir}/ncurses"
16d9a36
export CPPFLAGS="$RPM_OPT_FLAGS -I%{_includedir}/ncurses"
0745245
%configure \
0745245
	--sysconfdir=%{_sysconfdir}/bacula \
0745245
	--with-dir-user=bacula \
0745245
	--with-dir-group=bacula \
0745245
	--with-sd-user=bacula \
Jan Görig e51227f
	--with-sd-group=disk \
0745245
	--with-fd-user=root \
0745245
	--with-fd-group=root \
f45ba58
	--with-hostname=localhost \
d6447bb
	--with-basename=bacula \
0745245
	--with-dir-password=@@DIR_PASSWORD@@ \
0745245
	--with-fd-password=@@FD_PASSWORD@@ \
0745245
	--with-sd-password=@@SD_PASSWORD@@ \
0745245
	--with-mon-dir-password=@@MON_DIR_PASSWORD@@ \
0745245
	--with-mon-fd-password=@@MON_FD_PASSWORD@@ \
0745245
	--with-mon-sd-password=@@MON_SD_PASSWORD@@ \
16d9a36
	--with-working-dir=%{_localstatedir}/spool/bacula \
b43f212
	--with-bsrdir=%{_localstatedir}/spool/bacula \
d6447bb
	--with-logdir=%{_localstatedir}/log/bacula \
16d9a36
	--with-scriptdir=%{_libexecdir}/bacula \
16d9a36
	--with-plugindir=%{_libdir}/bacula \
0745245
	--with-smtp-host=localhost \
0745245
	--with-subsys-dir=%{_localstatedir}/lock/subsys \
0745245
	--with-pid-dir=%{_localstatedir}/run \
16d9a36
	--disable-conio \
16d9a36
	--enable-readline \
0745245
	--enable-largefile \
0745245
	--enable-build-dird \
0745245
	--enable-build-stored \
0745245
	--with-openssl \
0745245
	--with-tcp-wrappers \
0745245
	--with-python \
0745245
	--enable-smartalloc \
0745245
	--with-x \
16d9a36
	--disable-rpath \
16d9a36
	--with-sqlite3 \
16d9a36
	--with-mysql \
16d9a36
	--with-postgresql \
900706a
	$*
900706a
}
900706a
11812bf
%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
900706a
export QMAKE=/usr/bin/qmake-qt4
51ec14d
build --enable-bat --htmldir=%{_datadir}/doc/bacula-console-bat-%{version}
900706a
%else
5fd2356
build --disable-bat
900706a
%endif
0745245
16d9a36
# Remove RPATH
16d9a36
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
16d9a36
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
eb59c7c
16d9a36
%{__make} %{?_smp_mflags}
0745245
16d9a36
pushd examples/nagios/check_bacula
16d9a36
	CFLAGS="%{optflags}" %{__make} LIBS="-lpthread -ldl -lssl -lcrypto -lz"
0745245
popd
4dac1ea
16d9a36
%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
16d9a36
pushd src/qt-console/tray-monitor
16d9a36
	/usr/bin/qmake-qt4
900706a
	%{__make} %{?_smp_mflags}
0745245
popd
16d9a36
%endif
0745245
3edd26e
%if 0%{?docs}
0745245
# Build the docs
16d9a36
pushd bacula-docs-%{version}
16d9a36
	%configure --with-bacula=%{_builddir}/bacula-%{version}
16d9a36
	make
0745245
popd
5c03735
for manual in problems console utility developers main misc; do
5c03735
	mkdir $manual
5c03735
	cp -f bacula-docs-%{version}/manuals/en/$manual/$manual/*.{css,html,png} $manual
5c03735
	cp -f bacula-docs-%{version}/manuals/en/$manual/$manual.pdf .
5c03735
done
3edd26e
%endif
3edd26e
f5d09cc
cp %{SOURCE5} .
51ec14d
0745245
%install
0745245
rm -rf %{buildroot}
0745245
16d9a36
make install DESTDIR=%{buildroot}
0745245
16d9a36
# install the nagios plugin
16d9a36
%{__mkdir_p} %{buildroot}%{_libdir}/nagios/plugins
900706a
%{__install} -m0755 examples/nagios/check_bacula/.libs/check_bacula %{buildroot}%{_libdir}/nagios/plugins/
0745245
16d9a36
# Remove unused stuff
16d9a36
rm -f %{buildroot}%{_mandir}/man1/bacula-bwxconsole.1*
16d9a36
rm -f %{buildroot}%{_mandir}/man1/bacula-tray-monitor.1*
fae5422
fae5422
# Install catalogue dummy
fae5422
rm -f %{buildroot}%{_libdir}/libbaccats-%{version}.so
fae5422
%{__install} -m0755 src/cats/.libs/libbaccats-%{version}.so %{buildroot}%{_libdir}/
0745245
9e56892
# Install sample query file
9e56892
%{__install} -m0640 examples/sample-query.sql %{buildroot}%{_sysconfdir}/bacula/query.sql
9e56892
16d9a36
%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
367ff02
# Bat
367ff02
install -m 644 -D src/qt-console/images/bat_icon.png %{buildroot}%{_datadir}/pixmaps/bat.png
16d9a36
desktop-file-install --vendor="fedora" --dir=%{buildroot}%{_datadir}/applications %{SOURCE13}
367ff02
367ff02
# QT Tray monitor
367ff02
install -m 755 -D src/qt-console/tray-monitor/.libs/bacula-tray-monitor %{buildroot}%{_sbindir}/bacula-tray-monitor
367ff02
install -m 644 -D src/qt-console/tray-monitor/tray-monitor.conf %{buildroot}%{_sysconfdir}/bacula/tray-monitor.conf
367ff02
install -m 644 -D src/qt-console/images/bat_icon.png %{buildroot}%{_datadir}/pixmaps/bacula-tray-monitor.png
367ff02
desktop-file-install --vendor="fedora" --dir=%{buildroot}%{_datadir}/applications %{SOURCE14}
367ff02
16d9a36
%else
16d9a36
rm -f %{buildroot}%{_mandir}/man1/bat.1*
16d9a36
%endif
0745245
0745245
# logrotate
0745245
mkdir -p %{buildroot}%{_localstatedir}/log/bacula
0745245
install -m 644 -D %{SOURCE6} %{buildroot}%{_sysconfdir}/logrotate.d/bacula
0745245
0745245
# And logwatch
16d9a36
install -m 755 -D scripts/logwatch/bacula %{buildroot}%{_sysconfdir}/logwatch/scripts/services/bacula
16d9a36
install -m 755 -D scripts/logwatch/applybaculadate %{buildroot}%{_sysconfdir}/logwatch/scripts/shared/applybaculadate
16d9a36
install -m 644 -D scripts/logwatch/logfile.bacula.conf %{buildroot}%{_sysconfdir}/logwatch/conf/logfiles/bacula.conf
16d9a36
install -m 644 -D scripts/logwatch/services.bacula.conf %{buildroot}%{_sysconfdir}/logwatch/conf/services/bacula.conf
0745245
900706a
install -m 755 -D %{SOURCE18}  %{buildroot}%{_sbindir}/bacula-checkconf
16d9a36
%if 0%{?fedora} >= 15 || 0%{?rhel} > 6
99bb2e4
# Systemd unit files
99bb2e4
mkdir -p ${buildroot}%{_unitdir}
16d9a36
install -m 755 -D %{SOURCE10}  %{buildroot}%{_unitdir}/bacula-fd.service
16d9a36
install -m 755 -D %{SOURCE11}  %{buildroot}%{_unitdir}/bacula-dir.service
16d9a36
install -m 755 -D %{SOURCE12}  %{buildroot}%{_unitdir}/bacula-sd.service
16d9a36
%else
16d9a36
# Initscripts
16d9a36
install -m 755 -D %{SOURCE7}  %{buildroot}%{_initrddir}/bacula-fd
16d9a36
install -m 755 -D %{SOURCE8}  %{buildroot}%{_initrddir}/bacula-dir
16d9a36
install -m 755 -D %{SOURCE9}  %{buildroot}%{_initrddir}/bacula-sd
16d9a36
%endif
Jan Görig e51227f
16d9a36
# Sysconfig
16d9a36
install -m 644 -D %{SOURCE15}  %{buildroot}%{_sysconfdir}/sysconfig/bacula-fd
16d9a36
install -m 644 -D %{SOURCE16}  %{buildroot}%{_sysconfdir}/sysconfig/bacula-dir
16d9a36
install -m 644 -D %{SOURCE17}  %{buildroot}%{_sysconfdir}/sysconfig/bacula-sd
Jan Görig e51227f
0745245
# Create the spooling
0745245
mkdir -p %{buildroot}%{_localstatedir}/spool/bacula
0745245
d49b54f
# Nuke the startup scripts we do not need
51ec14d
rm -f %{buildroot}%{_libexecdir}/bacula/{bacula,bacula-ctl-*,startmysql,stopmysql,bconsole} 
d49b54f
rm -f %{buildroot}%{_sbindir}/bacula
d49b54f
rm -f %{buildroot}%{_mandir}/man8/bacula.8.gz
0745245
0745245
# Fix up some perms so rpmlint does not complain too much
0745245
chmod 755 %{buildroot}%{_sbindir}/*
16d9a36
chmod 755 %{buildroot}%{_libdir}/bacula/*
0745245
chmod 755 %{buildroot}%{_libexecdir}/bacula/*
0745245
chmod 644 %{buildroot}%{_libexecdir}/bacula/btraceback.*
0745245
bf00cf0
# Remove extra docs
bf00cf0
rm -rf %{buildroot}%{_datadir}/doc/bacula/
bf00cf0
16d9a36
# Remove local archives
16d9a36
rm -f %{buildroot}%{_libdir}/*.la
16d9a36
5c03735
0745245
%clean
0745245
rm -rf %{buildroot}
0745245
0745245
bf9089a
%post libs
16d9a36
/usr/sbin/alternatives --install %{_libdir}/libbaccats-%{version}.so libbaccats-%{version}.so %{_libdir}/libbaccats-mysql-%{version}.so 50
16d9a36
/usr/sbin/alternatives --install %{_libdir}/libbaccats-%{version}.so libbaccats-%{version}.so %{_libdir}/libbaccats-sqlite3-%{version}.so 40
16d9a36
/usr/sbin/alternatives --install %{_libdir}/libbaccats-%{version}.so libbaccats-%{version}.so %{_libdir}/libbaccats-postgresql-%{version}.so 60
bf9089a
/sbin/ldconfig
16d9a36
bf9089a
%preun libs
e45f06f
if [ "$1" = 0 ]; then
16d9a36
	/usr/sbin/alternatives --remove libbaccats-%{version}.so %{_libdir}/libbaccats-mysql-%{version}.so
e6d3589
	/usr/sbin/alternatives --remove libbaccats-%{version}.so %{_libdir}/libbaccats-sqlite3-%{version}.so
16d9a36
	/usr/sbin/alternatives --remove libbaccats-%{version}.so %{_libdir}/libbaccats-postgresql-%{version}.so
e45f06f
fi
bf9089a
/sbin/ldconfig
4dac1ea
0745245
%pre common
e004908
getent group %username >/dev/null || groupadd -g %uid -r %username &>/dev/null || :
e004908
getent passwd %username >/dev/null || useradd -u %uid -r -s /sbin/nologin \
e004908
    -d /var/spool/bacula -M -c 'Bacula Backup System' -g %username %username &>/dev/null || :
e004908
exit 0
4dac1ea
4dac1ea
%postun common
e004908
test "$1" != 0 || userdel %username &>/dev/null || :
e004908
test "$1" != 0 || groupdel %username &>/dev/null || :
e004908
exit 0
0745245
16d9a36
%if 0%{?fedora} >= 15 || 0%{?rhel} > 6
0745245
9911bee
%post client
16d9a36
if [ $1 -eq 1 ] ; then
16d9a36
    # Initial installation
9911bee
    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
9911bee
fi
9911bee
4dac1ea
9911bee
%preun client
9911bee
if [ $1 -eq 0 ] ; then
9911bee
    # Package removal, not upgrade
9911bee
    /bin/systemctl --no-reload disable bacula-fd.service > /dev/null 2>&1 || :
9911bee
    /bin/systemctl stop bacula-fd.service > /dev/null 2>&1 || :
9911bee
fi
9911bee
4dac1ea
9911bee
%postun client
9911bee
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
9911bee
if [ $1 -ge 1 ] ; then
9911bee
    # Package upgrade, not uninstall
9911bee
    /bin/systemctl try-restart bacula-fd.service >/dev/null 2>&1 || :
9911bee
fi
9911bee
4dac1ea
99bb2e4
%triggerun client -- bacula-client < 5.0.3-10
99bb2e4
# Save the current service runlevel info
99bb2e4
# User must manually run systemd-sysv-convert --apply bacula-fd
99bb2e4
# to migrate them to systemd targets
99bb2e4
/usr/bin/systemd-sysv-convert --save bacula-fd >/dev/null 2>&1 ||:
0745245
99bb2e4
# Run these because the SysV package being removed won't do them
99bb2e4
/sbin/chkconfig --del bacula-fd >/dev/null 2>&1 || :
99bb2e4
/bin/systemctl try-restart bacula-fd.service >/dev/null 2>&1 || :
0745245
4dac1ea
bf9089a
%post director
16d9a36
if [ $1 -eq 1 ] ; then
16d9a36
    # Initial installation
9911bee
    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
9911bee
fi
9911bee
4dac1ea
bf9089a
%preun director
9911bee
if [ $1 -eq 0 ] ; then
9911bee
    # Package removal, not upgrade
9911bee
    /bin/systemctl --no-reload disable bacula-dir.service > /dev/null 2>&1 || :
9911bee
    /bin/systemctl stop bacula-dir.service > /dev/null 2>&1 || :
9911bee
fi
9911bee
4dac1ea
bf9089a
%postun director
9911bee
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
9911bee
if [ $1 -ge 1 ] ; then
9911bee
    # Package upgrade, not uninstall
9911bee
    /bin/systemctl try-restart bacula-dir.service >/dev/null 2>&1 || :
9911bee
fi
9911bee
4dac1ea
bf9089a
%triggerun director -- bacula-director-common < 5.0.3-10
99bb2e4
# Save the current service runlevel info
99bb2e4
# User must manually run systemd-sysv-convert --apply bacula-dir
99bb2e4
# to migrate them to systemd targets
99bb2e4
/usr/bin/systemd-sysv-convert --save bacula-dir >/dev/null 2>&1 ||:
0745245
99bb2e4
# Run these because the SysV package being removed won't do them
99bb2e4
/sbin/chkconfig --del bacula-dir >/dev/null 2>&1 || :
99bb2e4
/bin/systemctl try-restart bacula-dir.service >/dev/null 2>&1 || :
0745245
0745245
900706a
%post storage
16d9a36
if [ $1 -eq 1 ] ; then
16d9a36
    # Initial installation
9911bee
    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
9911bee
fi
9911bee
4dac1ea
900706a
%preun storage
9911bee
if [ $1 -eq 0 ] ; then
9911bee
    # Package removal, not upgrade
9911bee
    /bin/systemctl --no-reload disable bacula-sd.service > /dev/null 2>&1 || :
9911bee
    /bin/systemctl stop bacula-sd.service > /dev/null 2>&1 || :
9911bee
fi
9911bee
4dac1ea
900706a
%postun storage
9911bee
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
9911bee
if [ $1 -ge 1 ] ; then
9911bee
    # Package upgrade, not uninstall
9911bee
    /bin/systemctl try-restart bacula-sd.service >/dev/null 2>&1 || :
9911bee
fi
9911bee
4dac1ea
900706a
%triggerun storage -- bacula-storage-common < 5.0.3-10
99bb2e4
# Save the current service runlevel info
99bb2e4
# User must manually run systemd-sysv-convert --apply bacula-sd
99bb2e4
# to migrate them to systemd targets
99bb2e4
/usr/bin/systemd-sysv-convert --save bacula-sd >/dev/null 2>&1 ||:
0745245
99bb2e4
# Run these because the SysV package being removed won't do them
99bb2e4
/sbin/chkconfig --del bacula-sd >/dev/null 2>&1 || :
99bb2e4
/bin/systemctl try-restart bacula-sd.service >/dev/null 2>&1 || :
0745245
16d9a36
%else
16d9a36
16d9a36
%post client
16d9a36
/sbin/chkconfig --add bacula-fd
16d9a36
16d9a36
16d9a36
%preun client
16d9a36
if [ "$1" = 0 ]; then
16d9a36
	/sbin/service bacula-fd stop >/dev/null 2>&1 || :
16d9a36
	/sbin/chkconfig --del bacula-fd
16d9a36
fi
16d9a36
16d9a36
16d9a36
%postun client
16d9a36
if [ "$1" -ge "1" ]; then
16d9a36
	/sbin/service bacula-fd condrestart >/dev/null 2>&1 || :
16d9a36
fi
16d9a36
16d9a36
bf9089a
%post director
16d9a36
/sbin/chkconfig --add bacula-dir
16d9a36
16d9a36
bf9089a
%preun director
16d9a36
if [ "$1" = 0 ]; then
16d9a36
	/sbin/service bacula-dir stop >/dev/null 2>&1 || :
16d9a36
	/sbin/chkconfig --del bacula-dir
16d9a36
fi
16d9a36
16d9a36
bf9089a
%postun director
16d9a36
if [ "$1" -ge "1" ]; then
16d9a36
	/sbin/service bacula-dir condrestart >/dev/null 2>&1 || :
16d9a36
fi
16d9a36
16d9a36
900706a
%post storage
16d9a36
/sbin/chkconfig --add bacula-sd
16d9a36
16d9a36
900706a
%preun storage
16d9a36
if [ "$1" = 0 ]; then
16d9a36
	/sbin/service bacula-sd stop >/dev/null 2>&1 || :
16d9a36
	/sbin/chkconfig --del bacula-sd
16d9a36
fi
16d9a36
16d9a36
900706a
%postun storage
16d9a36
if [ "$1" -ge "1" ]; then
16d9a36
	/sbin/service bacula-sd condrestart >/dev/null 2>&1 || :
16d9a36
fi
16d9a36
16d9a36
%endif
16d9a36
8390fc1
%files libs
8390fc1
%defattr(-,root,root,-)
8390fc1
%{_libdir}/libbac-%{version}.so
8390fc1
%{_libdir}/libbac.so
bf9089a
%{_libdir}/libbaccats.so
bf9089a
%attr(755,root,root) %ghost %{_libdir}/libbaccats-%{version}.so
bf9089a
%{_libdir}/libbaccats-mysql-%{version}.so
bf9089a
%{_libdir}/libbaccats-mysql.so
bf9089a
%{_libdir}/libbaccats-postgresql-%{version}.so
bf9089a
%{_libdir}/libbaccats-postgresql.so
bf9089a
%{_libdir}/libbaccats-sqlite3-%{version}.so
bf9089a
%{_libdir}/libbaccats-sqlite3.so
bf9089a
%{_libdir}/libbacsql.so
bf9089a
%{_libdir}/libbacsql-%{version}.so
8390fc1
%{_libdir}/libbaccfg-%{version}.so
8390fc1
%{_libdir}/libbaccfg.so
8390fc1
%{_libdir}/libbacfind-%{version}.so
8390fc1
%{_libdir}/libbacfind.so
8390fc1
%{_libdir}/libbacpy-%{version}.so
8390fc1
%{_libdir}/libbacpy.so
0745245
0745245
%files common
b87413e
%defattr(-,root,root,-)
51ec14d
%doc AUTHORS ChangeLog COPYING LICENSE README SUPPORT VERIFYING ReleaseNotes
f5d09cc
%doc README.Fedora
0745245
%config(noreplace) %{_sysconfdir}/logrotate.d/bacula
16d9a36
%dir %{_sysconfdir}/%{name}
16d9a36
%dir %{_libexecdir}/%{name}
0745245
%{_sbindir}/btraceback
16d9a36
%{_libexecdir}/%{name}/btraceback.dbx
16d9a36
%{_libexecdir}/%{name}/btraceback.gdb
16d9a36
%{_libexecdir}/%{name}/bacula_config
16d9a36
%{_libexecdir}/%{name}/btraceback.mdb
16d9a36
%{_mandir}/man8/btraceback.8.gz
0745245
%dir %attr(750, bacula, bacula) %{_localstatedir}/log/bacula
0745245
%dir %attr(750, bacula, bacula) %{_localstatedir}/spool/bacula
99bb2e4
%{_sbindir}/bacula-checkconf
0745245
bf9089a
%files director
0745245
%defattr(-,root,root,-)
16d9a36
%doc updatedb
Jan Görig 38c1d43
%attr(640,root,bacula) %config(noreplace) %{_sysconfdir}/bacula/bacula-dir.conf
9e56892
%attr(640,root,bacula) %config(noreplace) %{_sysconfdir}/bacula/query.sql
16d9a36
%config(noreplace) %{_sysconfdir}/logwatch/conf/logfiles/bacula.conf
16d9a36
%config(noreplace) %{_sysconfdir}/logwatch/conf/services/bacula.conf
16d9a36
%config(noreplace) %{_sysconfdir}/sysconfig/bacula-dir
0745245
%{_sysconfdir}/logwatch/scripts/services/bacula
04a9b46
%{_sysconfdir}/logwatch/scripts/shared/applybaculadate
16d9a36
%if 0%{?fedora} >= 15 || 0%{?rhel} > 6
99bb2e4
%{_unitdir}/bacula-dir.service
16d9a36
%else
16d9a36
%{_initrddir}/bacula-dir
16d9a36
%endif
16d9a36
%{_sbindir}/bacula-dir
0745245
%{_sbindir}/bregex
d49b54f
%{_sbindir}/bsmtp
0745245
%{_sbindir}/bwild
16d9a36
%{_sbindir}/dbcheck
d49b54f
%{_mandir}/man1/bsmtp.1.gz
16d9a36
%{_mandir}/man8/bacula-dir.8.gz
16d9a36
%{_mandir}/man8/bregex.8.gz
16d9a36
%{_mandir}/man8/bwild.8.gz
900706a
%{_mandir}/man8/dbcheck.8.gz
16d9a36
%{_libexecdir}/%{name}/create_bacula_database
16d9a36
%{_libexecdir}/%{name}/delete_catalog_backup
16d9a36
%{_libexecdir}/%{name}/drop_bacula_database
16d9a36
%{_libexecdir}/%{name}/drop_bacula_tables
16d9a36
%{_libexecdir}/%{name}/grant_bacula_privileges
16d9a36
%{_libexecdir}/%{name}/make_bacula_tables
16d9a36
%{_libexecdir}/%{name}/make_catalog_backup
16d9a36
%{_libexecdir}/%{name}/make_catalog_backup.pl
16d9a36
%{_libexecdir}/%{name}/update_bacula_tables
16d9a36
%{_libexecdir}/%{name}/create_mysql_database
16d9a36
%{_libexecdir}/%{name}/drop_mysql_database
16d9a36
%{_libexecdir}/%{name}/drop_mysql_tables
16d9a36
%{_libexecdir}/%{name}/grant_mysql_privileges
16d9a36
%{_libexecdir}/%{name}/make_mysql_tables
16d9a36
%{_libexecdir}/%{name}/update_mysql_tables
16d9a36
%{_libexecdir}/%{name}/create_sqlite3_database
16d9a36
%{_libexecdir}/%{name}/drop_sqlite3_database
16d9a36
%{_libexecdir}/%{name}/drop_sqlite3_tables
16d9a36
%{_libexecdir}/%{name}/grant_sqlite3_privileges
16d9a36
%{_libexecdir}/%{name}/make_sqlite3_tables
16d9a36
%{_libexecdir}/%{name}/update_sqlite3_tables
16d9a36
%{_libexecdir}/%{name}/create_postgresql_database
16d9a36
%{_libexecdir}/%{name}/drop_postgresql_database
16d9a36
%{_libexecdir}/%{name}/drop_postgresql_tables
16d9a36
%{_libexecdir}/%{name}/grant_postgresql_privileges
16d9a36
%{_libexecdir}/%{name}/make_postgresql_tables
16d9a36
%{_libexecdir}/%{name}/update_postgresql_tables
0745245
900706a
%files storage
0745245
%defattr(-,root,root,-)
0745245
%{_sbindir}/bacula-sd
16d9a36
%{_sbindir}/bcopy
0745245
%{_sbindir}/bextract
0745245
%{_sbindir}/bls
bf9089a
%{_sbindir}/bscan
0745245
%{_sbindir}/btape
0745245
%config(noreplace) %{_sysconfdir}/bacula/bacula-sd.conf
16d9a36
%config(noreplace) %{_sysconfdir}/sysconfig/bacula-sd
16d9a36
%if 0%{?fedora} >= 15 || 0%{?rhel} > 6
99bb2e4
%{_unitdir}/bacula-sd.service
16d9a36
%else
16d9a36
%{_initrddir}/bacula-sd
16d9a36
%endif
5fd2356
%{_libexecdir}/%{name}/disk-changer
5fd2356
%{_libexecdir}/%{name}/dvd-handler
5fd2356
%{_libexecdir}/%{name}/mtx-changer
5fd2356
%{_libexecdir}/%{name}/mtx-changer.conf
16d9a36
%{_mandir}/man8/bacula-sd.8.gz
16d9a36
%{_mandir}/man8/bcopy.8.gz
16d9a36
%{_mandir}/man8/bextract.8.gz
16d9a36
%{_mandir}/man8/bls.8.gz
bf9089a
%{_mandir}/man8/bscan.8.gz
16d9a36
%{_mandir}/man8/btape.8.gz
0745245
7dc2ef0
%files client
7dc2ef0
%defattr(-,root,root,-)
7dc2ef0
%{_sbindir}/bacula-fd
7dc2ef0
%if 0%{?fedora} >= 15 || 0%{?rhel} > 6
7dc2ef0
%{_unitdir}/bacula-fd.service
7dc2ef0
%else
7dc2ef0
%{_initrddir}/bacula-fd
7dc2ef0
%endif
7dc2ef0
%config(noreplace) %{_sysconfdir}/bacula/bacula-fd.conf
7dc2ef0
%config(noreplace) %{_sysconfdir}/sysconfig/bacula-fd
7dc2ef0
%{_mandir}/man8/bacula-fd.8.gz
7dc2ef0
%{_libdir}/bacula/bpipe-fd.so
7dc2ef0
7dc2ef0
%files console
7dc2ef0
%defattr(-,root,root,-)
7dc2ef0
%{_sbindir}/bconsole
88081c4
%attr(644,root,root) %config(noreplace) %{_sysconfdir}/bacula/bconsole.conf
7dc2ef0
%{_mandir}/man8/bconsole.8.gz
7dc2ef0
11812bf
%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
7dc2ef0
%files console-bat
7dc2ef0
%defattr(-,root,root,-)
51ec14d
%doc %{_datadir}/doc/bacula-console-bat-%{version}/*
88081c4
%attr(644,root,root) %config(noreplace) %{_sysconfdir}/bacula/bat.conf
7dc2ef0
%{_sbindir}/bat
7dc2ef0
%{_mandir}/man1/bat.1.gz
7dc2ef0
%{_datadir}/applications/fedora-bacula-bat.desktop
367ff02
%{_datadir}/pixmaps/bat.png
367ff02
367ff02
%files traymonitor
367ff02
%defattr(-,root,root,-)
367ff02
%{_sbindir}/bacula-tray-monitor
367ff02
%attr(644,root,root) %config(noreplace) %{_sysconfdir}/bacula/tray-monitor.conf
367ff02
%{_datadir}/applications/fedora-bacula-traymonitor.desktop
367ff02
%{_datadir}/pixmaps/bacula-tray-monitor.png
7dc2ef0
%endif
7dc2ef0
3edd26e
%if 0%{?docs}
0745245
%files docs
b87413e
%defattr(-,root,root,-)
5c03735
%doc problems* console* utility* developers* main* misc*
3edd26e
%endif
16d9a36
16d9a36
%files -n nagios-plugins-bacula
16d9a36
%defattr(-,root,root)
16d9a36
%{_libdir}/nagios/plugins/check_bacula
0745245
0745245
0745245
%changelog
3edd26e
* Thu Jan 05 2012 Simone Caronni <negativo17@gmail.com> - 5.2.3-6
3edd26e
- Make docs conditional at build for testing.
3edd26e
bf9089a
* Tue Jan 03 2012 Simone Caronni <negativo17@gmail.com> - 5.2.3-5
bf9089a
- Trim changelog.
bf9089a
- Merge bacula-director backends and move libbacats alternatives
bf9089a
  to bacula-libs.
bf9089a
- Move bscan to bacula-storage now that is dependent only on
bf9089a
  bacula-libs.
f5d09cc
- Added README.Fedora.
bf9089a
1a9c4f1
* Tue Dec 20 2011 Simone Caronni <negativo17@gmail.com> - 5.2.3-4
1a9c4f1
- Changing uid from 33 per previous discussion, static uid
1a9c4f1
  already allocated is 133:
1a9c4f1
  "cat /usr/share/doc/setup-2.8.36/uidgid | grep bacula"
1a9c4f1
e004908
* Mon Dec 19 2011 Simone Caronni <negativo17@gmail.com> - 5.2.3-3
e004908
- Remove fedora-usermgmt entirely, see thread at:
e004908
  http://lists.fedoraproject.org/pipermail/packaging/2011-December/008034.html
e004908
4dac1ea
* Mon Dec 19 2011 Simone Caronni <negativo17@gmail.com> - 5.2.3-2
4dac1ea
- Remove leftover users when removing bacula-common.
4dac1ea
- Allow building "--without fedora" to avoid RHEL dependency on EPEL:
4dac1ea
  http://fedoraproject.org/wiki/PackageUserCreation
4dac1ea
d55721f
* Mon Dec 19 2011 Simone Caronni <negativo17@gmail.com> - 5.2.3-1
d55721f
- Updated to 5.2.3.
baa4b32
- Remove fedora-usermgmt from libs Requires section.
d55721f
51ec14d
* Sun Dec 11 2011 Simone Caronni <negativo17@gmail.com> - 5.2.2-11
51ec14d
- Add bat html docs so the help button works.
51ec14d
- Minor packaging changes.
88081c4
- Default permissions on bconsole and bat.
f45ba58
- Use localhost as default on config files instead of patching fake
f45ba58
  example.com hostnames.
367ff02
- Add QT tray monitor.
51ec14d
0e75ff5
* Sat Dec 10 2011 Simone Caronni <negativo17@gmail.com> - 5.2.2-10
0e75ff5
- Added patch for mysql 5.5.18 from Oliver Falk.
0e75ff5
9e56892
* Wed Dec 07 2011 Simone Caronni <negativo17@gmail.com> - 5.2.2-9
9e56892
- Add sample-query.sql as config file.
b43f212
- Small log changes.
9e56892
c3b2c9b
* Wed Dec 07 2011 Simone Caronni <negativo17@gmail.com> - 5.2.2-8
c3b2c9b
- Fixed building on RHEL/CentOS 4.
8390fc1
- Split out libs package to remove dependency on bacula-common for
8390fc1
  bconsole, bat and check_bacula.
e6d3589
- Fix typo in post scriptlet for director-sqlite.
c3b2c9b
a9c6a94
* Tue Dec 06 2011 Simone Caronni <negativo17@gmail.com> - 5.2.2-7
a9c6a94
- Added libcap for POSIX.1e capabilities in bacula-fd (5.0.0 feature).
a9c6a94
- Allow systemd files to read options set in the sysconfig
a9c6a94
  configuration files like SysV scripts to enable capabilities.
a9c6a94
- Set capabilities as optional for now.
a9c6a94
d49b54f
* Mon Dec 05 2011 Simone Caronni <negativo17@gmail.com> - 5.2.2-6
d49b54f
- Removed leftover files and small rpmlint fixes.
d49b54f
- Additional file moves between packages.
f5dea45
- Enabled LZO compression (5.2.1 feature).
d49b54f
6872dfc
* Mon Dec 05 2011 Simone Caronni <negativo17@gmail.com> - 5.2.2-5
6872dfc
- Remove redundant user/group in service files.
d6447bb
- Reduce patching for what can be passed through configure.
905079f
- Remove dsolink patch, not needed anymore.
6872dfc
900706a
* Thu Dec 02 2011 Simone Caronni <negativo17@gmail.com> - 5.2.2-4
900706a
- Rename storage-common to storage and make it provide storage-common.
5fd2356
- Move bscan to director-common.
5fd2356
- Move storage scripts to storage.
1adcaf0
- Add html docs.
fae5422
- Install dummy catalogue library and mark it as ghost.
900706a
900706a
* Thu Dec 01 2011 Simone Caronni <negativo17@gmail.com> - 5.2.2-3
900706a
- Add missing conditional for bat in the build section.
900706a
- Make bat require qt4-devel on build (rhel 5 fix).
900706a
- Bumped requirement for qt >= 4.6.2 for 5.2.2.
900706a
- Renamed bacula-config.patch to bacula-5.2.2-config.patch as it
900706a
  always changes.
900706a
- Fix installation of bat and check_bacula binaries. Enabling
900706a
  libtool for bpipe-fd.so produces binaries under .libs.
900706a
- Removed fedora-usermgmt requirement for director-common.
900706a
- Removed examples from docs and make them "noarch".
900706a
- Fix bacula-console requirements.
900706a
- Fix nagios plugin summary.
900706a
- Removed checkconf functions from SysV init files and replace
900706a
  the call with the script used in systemd service files. Make
900706a
  the script available in all builds.
900706a
- Make docs NoArch where supported.
900706a
0e92b95
* Thu Dec  1 2011 Tom Callaway <spot@fedoraproject.org> - 5.2.2-2
0e92b95
- resolve broken dependency issues
0e92b95
16d9a36
* Tue Nov 29 2011 Tom Callaway <spot@fedoraproject.org> - 5.2.2-1
16d9a36
- Update to 5.2.2
16d9a36
- minor spec cleanups, conditionalized support for systemd
16d9a36
16d9a36
* Fri Nov 04 2011 Simone Caronni <negativo17@gmail.com> - 5.2.1-1
16d9a36
- Updated to 5.2.1.
16d9a36
- Reworked and removed some patches for 5.2.1 codebase.
16d9a36
- Reworked bat installation.
16d9a36
- Removed sqlite2 support.
16d9a36
- Removed all the fancy database backend rebuilding.
16d9a36
- Disabled libtool for bpipe-fd.so.
16d9a36
- Passed plugins dir as libdir/bacula.
16d9a36
- Added sql libs to alternatives.
16d9a36
- Disabled traymonitor.
16d9a36
- Minor fixes to spec file, rpmlint fixes.
16d9a36
- Nagios patch for Enterprise FDs.
16d9a36
- Removed all gui/web stuff.
16d9a36
- Removed a lot of comments.
16d9a36
- Conditional on Fedora 11 / RHEL 6 for bat build.
16d9a36
- Obsolete bacula-sysconfdir.
16d9a36
- Removed bwxconsole.
16d9a36
8e931ae
* Thu Nov 3 2011 Lukáš Nykrýn <lnykryn@redhat.com> - 5.0.3-13
49a19f0
- fixed creating of bacula MySQL tables and bump
49a19f0
baeeb20
* Fri Oct  9 2011 Lukáš Nykrýn <lnykryn@redhat.com> - 5.0.3-12
baeeb20
- fixed restart option in service files (#745529)
52eec75
- fixed creating of bacula MySQL tables (#724894)
baeeb20
9911bee
* Fri Sep  9 2011 Tom Callaway <spot@fedoraproject.org> - 5.0.3-11
9911bee
- add missing scriptlets
9911bee
99bb2e4
* Thu Sep  8 2011 Tom Callaway <spot@fedoraproject.org> - 5.0.3-10 
99bb2e4
- convert to systemd
99bb2e4
86f931b
* Wed Mar 23 2011 Dan Horák <dan@danny.cz> - 5.0.3-9
86f931b
- rebuilt for mysql 5.5.10 (soname bump in libmysqlclient)
86f931b
ef0818b
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.3-8
ef0818b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ef0818b
Jon Ciesla 68d1a96
* Mon Jan 03 2011 Jon Ciesla <limb@jcomserv.net> - 5.0.3-7
Jon Ciesla 187db2a
- Rebuild for MySQL 5.5, with patch.
Jon Ciesla 68d1a96
Jan Görig 767f6bf
* Fri Nov 26 2010 Jan Görig <jgorig@redhat.com> - 5.0.3-6
Jan Görig 767f6bf
- Fixed previous fix of alternatives
Jan Görig 767f6bf
- Changed initscript return value for non-configured service
Jan Görig 767f6bf
- Director address is required in tray-monitor config now (#626490)
Jan Görig 767f6bf
Jan Görig 38c1d43
* Tue Nov 23 2010 Jan Görig <jgorig@redhat.com> - 5.0.3-5
Jan Görig 38c1d43
- Fixed alternatives for dbcheck (#650224)
Jan Görig 38c1d43
- Moved director log file to /var/log/bacula/
Jan Görig 38c1d43
- Changed permission of bacula-dir.conf (RHEL #651786)
Jan Görig 38c1d43
- SQLite database is created as bacula user
Jan Görig 38c1d43
Jan Görig e51227f
* Tue Oct 19 2010 Jan Görig <jgorig@redhat.com> - 5.0.3-4
Jan Görig e51227f
- Fixed initscripts and changed default group of bacula-sd (#629697)
Jan Görig e51227f
- Better warning for non-configured password (#556669)
Jan Görig e51227f
Jesse Keating 1b1f00f
* Wed Sep 29 2010 jkeating - 5.0.3-3
Jesse Keating 1b1f00f
- Rebuilt for gcc bug 634757
Jesse Keating 1b1f00f
Jan Görig 7f55ce9
* Thu Sep 23 2010 Jan Görig <jgorig@redhat.com> - 5.0.3-2
Jan Görig 7f55ce9
- fixed openssl patch, thanks to Enrico Scholz
Jan Görig 7f55ce9
Jon Ciesla c0a3f40
* Tue Aug 10 2010 Jon Ciesla <limb@jcomserv.net> - 5.0.3-1
Jon Ciesla c0a3f40
- New upstream.
Jon Ciesla c0a3f40
- DSOlink fix for same.
Jon Ciesla c0a3f40
Jon Ciesla 915c508
* Fri Jul 30 2010 Jon Ciesla <limb@jcomserv.net> - 5.0.2-8
Jon Ciesla 915c508
- Patched configure scripts for Python 2.7.
Jon Ciesla 915c508
Jon Ciesla 915c508
* Fri Jul 30 2010 Jon Ciesla <limb@jcomserv.net> - 5.0.2-7
Jon Ciesla 915c508
- Rebuild against Python 2.7.
Jon Ciesla 915c508
d20cd2f
* Wed Jul 14 2010 Dan Horák <dan@danny.cz> - 5.0.2-6
d20cd2f
- rebuilt against wxGTK-2.8.11-2
d20cd2f
7ce52f3
* Thu Jun 3 2010 Jan Görig <jgorig@redhat.com> 5.0.2-5
7ce52f3
- removed no longer needed sysconfig subpackage (#593307]
7ce52f3
- build with $RPM_OPT_FLAGS, show compiler commands in build log (#575425)
7ce52f3
  fixed by Ville Skyttä
7ce52f3
- dropped tcp_wrappers build conditional (#537250)
7ce52f3
- fixed location of query.xml in config file (#556480)
7ce52f3
ddc0d55
* Wed Jun 2 2010 Jan Görig <jgorig@redhat.com> 5.0.2-4
ddc0d55
- initscripts improvements
ddc0d55
- fixed consolehelper settings and menu entries
ddc0d55
d1fa04c
* Tue Jun 01 2010 Jon Ciesla 
d1fa04c
- Corrected ssl patch, court. jgorig.
d1fa04c
eb59c7c
* Wed May 19 2010 Jon Ciesla 
eb59c7c
- Corrected bat build, BZ 593149.
eb59c7c
- Corrected ssl patch.
eb59c7c
111191f
* Thu Apr 29 2010 Jon Ciesla 
111191f
- New upstream, 5.0.2.
111191f
- Updated openssl patch.
111191f
0cbe383
* Thu Feb 25 2010 Jon Ciesla 
0cbe383
- New upstream, 5.0.1.
0cbe383
ab2ba2c
* Mon Jan 25 2010 Jon Ciesla 
ab2ba2c
- New upstream, 5.0.0.
ab2ba2c