From 2e1584db9032fcaf2c00afd930a75acea980ab64 Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Feb 21 2013 16:34:40 +0000 Subject: Add new docs to package --- diff --git a/README b/README new file mode 100644 index 0000000..4d93582 --- /dev/null +++ b/README @@ -0,0 +1,40 @@ +======== Features + +- Standard components: director, storage, client, docs, bconsole. +- Graphical components: bat, bacula-tray-monitor (where supported). +- Nagios plugin. +- HTML/PDF docs. +- File Daemon bpipe-fd plugin. +- POSIX.1e capabilities for File Daemon. +- Systemd for Fedora 15+. +- GZIP/LZO compression (where supported). +- Static uid/gid of 133 (see "setup" package). +- No usermode / fedora-usermgmt stuff in the console packages. +- Docs no longer an arch specific subpackage. +- SQL libraries needed only by Director and Storage daemons. +- Tab completion for bconsole. + +======== PostgreSQL, MySQL and SQLite databases + +Bacula director supports different databases backends, if you want to switch +away from the default PostgreSQL one you need to change the "libbaccats" (the +catalogue library) symlink to the real library. + +To change to a different backend, issue the following command: + +# alternatives --config libbaccats.so + +There are 3 programs which provide 'libbaccats.so'. + + Selection Command +----------------------------------------------- + 1 /usr/lib64/libbaccats-mysql.so + 2 /usr/lib64/libbaccats-sqlite3.so +*+ 3 /usr/lib64/libbaccats-postgresql.so + +Enter to keep the current selection[+], or type selection number: 1 + +There is NO need to edit any part in the Bacula Director configuration. + +Please look at the quickstart_.txt files for a quick start with the +various backends. diff --git a/README.Fedora b/README.Fedora deleted file mode 100644 index 4d93582..0000000 --- a/README.Fedora +++ /dev/null @@ -1,40 +0,0 @@ -======== Features - -- Standard components: director, storage, client, docs, bconsole. -- Graphical components: bat, bacula-tray-monitor (where supported). -- Nagios plugin. -- HTML/PDF docs. -- File Daemon bpipe-fd plugin. -- POSIX.1e capabilities for File Daemon. -- Systemd for Fedora 15+. -- GZIP/LZO compression (where supported). -- Static uid/gid of 133 (see "setup" package). -- No usermode / fedora-usermgmt stuff in the console packages. -- Docs no longer an arch specific subpackage. -- SQL libraries needed only by Director and Storage daemons. -- Tab completion for bconsole. - -======== PostgreSQL, MySQL and SQLite databases - -Bacula director supports different databases backends, if you want to switch -away from the default PostgreSQL one you need to change the "libbaccats" (the -catalogue library) symlink to the real library. - -To change to a different backend, issue the following command: - -# alternatives --config libbaccats.so - -There are 3 programs which provide 'libbaccats.so'. - - Selection Command ------------------------------------------------ - 1 /usr/lib64/libbaccats-mysql.so - 2 /usr/lib64/libbaccats-sqlite3.so -*+ 3 /usr/lib64/libbaccats-postgresql.so - -Enter to keep the current selection[+], or type selection number: 1 - -There is NO need to edit any part in the Bacula Director configuration. - -Please look at the quickstart_.txt files for a quick start with the -various backends. diff --git a/bacula.spec b/bacula.spec index 7d54992..aaecf89 100644 --- a/bacula.spec +++ b/bacula.spec @@ -12,7 +12,11 @@ URL: http://www.bacula.org BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) Source0: http://www.bacula.org/downloads/Bacula-%{version}/%{name}-%{version}.tar.gz -Source5: README.Fedora + +Source2: quickstart_postgresql.txt +Source3: quickstart_mysql.txt +Source4: quickstart_sqlite3.txt +Source5: README Source6: bacula.logrotate Source7: bacula-fd.init Source8: bacula-dir.init @@ -316,6 +320,7 @@ Provides check_bacula support for Nagios. %patch3 -p0 -b .priv %patch4 -p1 -b .bat-build %patch5 -p1 -b .seg-fault +cp %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} . # Remove execution permissions from files we're packaging as docs later on find updatedb -type f | xargs chmod -x @@ -385,8 +390,6 @@ pushd src/qt-console/tray-monitor popd %endif -cp %{SOURCE5} . - %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} @@ -749,8 +752,8 @@ fi %files common %defattr(-,root,root,-) -%doc AUTHORS ChangeLog LICENSE SUPPORT ReleaseNotes -%doc README.Fedora +%doc AUTHORS ChangeLog LICENSE SUPPORT +%doc README quickstart_* %config(noreplace) %{_sysconfdir}/logrotate.d/bacula %dir %{_sysconfdir}/%{name} %dir %{_libexecdir}/%{name} @@ -905,7 +908,7 @@ fi %changelog * Thu Feb 21 2013 Simone Caronni - 5.2.13-2 - Removed bacula-checkconf stuff. -- Updataed README with sqlite3 and mysql how to. +- Separated postgresql, sqlite3 and mysql how to from README. * Wed Feb 20 2013 Simone Caronni - 5.2.13-1 - Update to 5.2.13, drop upstreamed patch.