3 # Copyright (C) 2000-2009 Free Software Foundation Europe e.V.
5 # Platform Build Configuration
7 # basic defines for every build
10 %define _packager D. Scott Barninger <barninger@fairfieldcomputers.com>
13 %{?single_dir_install:%define single_dir 1}
15 # Installation Directory locations
17 %define _prefix /opt/bacula
18 %define _sbindir /opt/bacula/bin
19 %define _bindir /opt/bacula/bin
20 %define _subsysdir /opt/bacula/working
21 %define _mandir /usr/share/man
22 %define sysconf_dir /opt/bacula/etc
23 %define script_dir /opt/bacula/scripts
24 %define working_dir /opt/bacula/working
25 %define pid_dir /opt/bacula/working
26 %define plugin_dir /opt/bacula/plugins
27 %define lib_dir /opt/bacula/lib
30 %define _sbindir %_prefix/sbin
31 %define _bindir %_prefix/bin
32 %define _subsysdir /var/lock/subsys
33 %define _mandir %_prefix/share/man
34 %define sysconf_dir /etc/bacula
35 %define script_dir %_libdir/bacula
36 %define working_dir /var/lib/bacula
37 %define pid_dir /var/run
38 %define plugin_dir %_libdir/bacula/plugins
39 %define lib_dir %_libdir/bacula/lib
42 # Daemon user:group Don't change them unless you know what you are doing
43 %define director_daemon_user bacula
44 %define storage_daemon_user bacula
45 %define file_daemon_user root
46 %define daemon_group bacula
47 # group that has write access to tape devices, usually disk on Linux
48 %define storage_daemon_group disk
51 # probems with mandriva build:
52 # nothing provides libbonobo2_0-devel, nothing provides libbonoboui2_0-devel
54 # set Macros by opensuse_bs, see http://en.opensuse.org/Build_Service/cross_distribution_package_how_to
55 #openSUSE 11.1 %if 0%{?suse_version} == 1110
56 #openSUSE 11.0 %if 0%{?suse_version} == 1100
57 #openSUSE 10.3 %if 0%{?suse_version} == 1030
58 #openSUSE 10.2 %if 0%{?suse_version} == 1020
59 #SUSE Linux 10.1 %if 0%{?suse_version} == 1010
60 #SUSE Linux 10.0 %if 0%{?suse_version} == 1000
61 #SUSE Linux 9.3 %if 0%{?suse_version} == 930
62 #SLES 9 %if 0%{?sles_version} == 9 also set: %if 0%{?suse_version} == 910
63 #SLE 10 %if 0%{?sles_version} == 10 also set: %if 0%{?suse_version} == 1010
64 #SLE 11 %if 0%{?sles_version} == 11 also set: %if 0%{?suse_version} == 1110
65 #CentOS 5 %if 0%{?centos_version} == 501
66 #RHEL 4 %if 0%{?rhel_version} == 406
67 #RHEL 5 %if 0%{?rhel_version} == 501
68 #Fedora 6 with Extras %if 0%{?fedora_version} == 6
69 #Fedora 7 with Extras %if 0%{?fedora_version} == 7
70 #Fedora 8 with Extras %if 0%{?fedora_version} == 8
71 #Fedora 9 with Extras %if 0%{?fedora_version} == 9
72 #Fedora 10 with Extras %if 0%{?fedora_version} == 10
73 #Mandriva 2006 %if 0%{?mandriva_version} == 2006
74 #Mandriva 2007 %if 0%{?mandriva_version} == 2007
75 #Mandriva 2008 %if 0%{?mandriva_version} == 2008
79 # am I running in opensuse build service?
80 # TODO: seems to make problems
82 # choose database backend here
83 # postgres, mysql, sqlite
84 %define build_postgresql 1
86 # Build Service: Determine Distribution
89 %define build_x86_64 1
93 %if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}
94 BuildRequires: GConf2-devel
95 BuildRequires: freetype-devel
96 BuildRequires: libtermcap-devel
97 BuildRequires: shadow-utils
101 %if 0%{?mandriva_version} == 2007
103 %define _dist "Mandriva 2007"
106 %if 0%{?fedora_version} == 8
108 %define _dist "Fedora Core 8"
109 BuildRequires: redhat-release
112 %if 0%{?fedora_version} == 9
114 %define _dist "Fedora Core 9"
115 BuildRequires: redhat-release
119 %if 0%{?fedora_version} == 10
121 %define _dist "Fedora Core 10"
122 BuildRequires: PolicyKit-gnome
123 BuildRequires: fedora-release
126 %if 0%{?fedora_version} == 11
128 %define _dist "Fedora Core 11"
129 BuildRequires: PolicyKit-gnome
130 BuildRequires: fedora-release
133 %if 0%{?rhel_version} == 501
134 %define build_rhel5 1
135 %define _dist "Red Hat Enterprise Linux Server release 5"
136 BuildRequires: redhat-release
139 %if 0%{?rhel_version} == 406
140 %define build_rhel4 1
141 %define _dist "Red Hat Enterprise Linux Server release 4"
142 BuildRequires: redhat-release
146 %if 0%{?centos_version} == 501
147 %define build_centos5 1
148 %define _dist "CentOS 5"
149 BuildRequires: redhat-release
153 %if 0%{?suse_version} == 1020
154 %define build_su102 1
155 %define _dist "OpenSUSE 10.2"
156 BuildRequires: suse-release
160 %if 0%{?suse_version} == 1030
161 %define build_su103 1
162 %define _dist "OpenSUSE 10.3"
163 BuildRequires: suse-release
166 %if 0%{?suse_version} == 1100
167 %define build_su110 1
168 %define _dist "SUSE 11"
169 BuildRequires: suse-release
173 %if 0%{?suse_version} == 1110
174 %define build_su111 1
175 %define _dist "SUSE 11"
179 %if 0%{?sles_version} == 9
181 %define _dist "SLES 9"
185 %if 0%{?sles_version} == 10
187 %define _dist "SLE 10"
191 %if 0%{?sles_version} == 11
192 %define build_su111 1
193 %define _dist "SLES 11"
200 # any patches for this release
201 # be sure to check the setup section for patch macros
203 #--------------------------------------------------------------------------
204 # it should not be necessary to change anything below here for a release
205 # except for patch macros in the setup section
206 #--------------------------------------------------------------------------
208 %{?contrib_packager:%define _packager %{contrib_packager}}
210 Summary: Bacula - The Network Backup Solution
214 Group: System Environment/Daemons
216 BuildRoot: %{_tmppath}/%{name}-root
217 URL: http://www.bacula.org/
218 Vendor: The Bacula Team
219 Packager: %{_packager}
222 Source0: http://www.prdownloads.sourceforge.net/bacula/%{name}-%{version}.tar.gz
223 Source1: Release_Notes-%{version}-%{release}.tar.gz
224 Source2: bacula-2.2.7-postgresql.patch
226 # define the basic package description
227 %define blurb Bacula - It comes by night and sucks the vital essence from your computers.
228 %define blurb2 Bacula is a set of computer programs that permit you (or the system
229 %define blurb3 administrator) to manage backup, recovery, and verification of computer
230 %define blurb4 data across a network of computers of different kinds. In technical terms,
231 %define blurb5 it is a network client/server based backup program. Bacula is relatively
232 %define blurb6 easy to use and efficient, while offering many advanced storage management
233 %define blurb7 features that make it easy to find and recover lost or damaged files.
234 %define blurb8 Bacula source code has been released under the GPL version 2 license.
236 %define user_file /etc/passwd
237 %define group_file /etc/group
240 %define useradd /usr/sbin/useradd
241 %define groupadd /usr/sbin/groupadd
242 %define usermod /usr/sbin/usermod
244 # platform defines - set one below or define the build_xxx on the command line
247 %{?build_rh7:%define rh7 1}
249 %{?build_rh8:%define rh8 1}
251 %{?build_rh9:%define rh9 1}
254 %{?build_fc1:%define fc1 1}
256 %{?build_fc3:%define fc3 1}
258 %{?build_fc4:%define fc4 1}
260 %{?build_fc5:%define fc5 1}
262 %{?build_fc6:%define fc6 1}
264 %{?build_fc7:%define fc7 1}
266 %{?build_fc8:%define fc8 1}
268 %{?build_fc9:%define fc9 1}
269 # Whitebox Enterprise build
271 %{?build_wb3:%define wb3 1}
272 # RedHat Enterprise builds
274 %{?build_rhel3:%define rhel3 1}
275 %{?build_rhel3:%define wb3 1}
277 %{?build_rhel4:%define rhel4 1}
278 %{?build_rhel4:%define fc3 1}
280 %{?build_rhel5:%define rhel5 1}
281 %{?build_rhel5:%define fc6 1}
284 %{?build_centos3:%define centos3 1}
285 %{?build_centos3:%define wb3 1}
287 %{?build_centos4:%define centos4 1}
288 %{?build_centos4:%define fc3 1}
290 %{?build_centos5:%define centos5 1}
291 %{?build_centos5:%define fc6 1}
294 %{?build_sl3:%define sl3 1}
295 %{?build_sl3:%define wb3 1}
297 %{?build_sl4:%define sl4 1}
298 %{?build_sl4:%define fc3 1}
300 %{?build_sl5:%define sl5 1}
301 %{?build_sl5:%define fc6 1}
304 %{?build_su9:%define su9 1}
306 %{?build_su10:%define su10 1}
308 %{?build_su102:%define su102 1}
310 %{?build_su103:%define su103 1}
312 %{?build_su110:%define su110 1}
314 %{?build_su111:%define su111 1}
317 %{?build_mdk:%define mdk 1}
319 %{?build_mdv:%define mdv 1}
320 %{?build_mdv:%define mdk 1}
323 %define client_only 0
324 %{?build_client_only:%define client_only 1}
326 # Setup some short cuts
328 %if %{rh7} || %{rh8} || %{rh9}
332 %if %{fc1} || %{fc3} || %{fc4} || %{fc5} || %{fc6} || %{fc7} || %{fc8} || %{fc9}
336 %if %{su9} || %{su10} || %{su102} || %{su103} || %{su110} || %{su111}
340 %if %{rhel3} || %{rhel4} || %{rhel5} || %{centos3} || %{centos4} || %{centos5}
344 %if %{sl3} || %{sl4} || %{sl5}
348 # test for a platform definition
349 %if !%{rhat} && !%{rhel} && !%{fed} && !%{wb3} && !%{suse} && !%{mdk}
350 %{error: You must specify a platform. Please examine the spec file.}
355 # set for database support desired or define the build_xxx on the command line
357 %{?build_mysql:%define mysql 1}
358 # if using mysql 4.x define this and mysql above
359 # currently: Mandrake 10.1, SuSE 9.x & 10.0, RHEL4 and Fedora Core 4
361 %{?build_mysql4:%define mysql4 1}
362 %{?build_mysql4:%define mysql 1}
363 # if using mysql 5.x define this and mysql above
364 # currently: SuSE 10.1 and Fedora Core 5
366 %{?build_mysql5:%define mysql5 1}
367 %{?build_mysql5:%define mysql 1}
369 %{?build_sqlite:%define sqlite 1}
371 %{?build_postgresql:%define postgresql 1}
373 # test for a database definition
374 %if ! %{mysql} && ! %{sqlite} && ! %{postgresql} && ! %{client_only}
375 %{error: You must specify database support. Please examine the spec file.}
380 %define db_backend mysql
383 %define db_backend sqlite3
386 %define db_backend postgresql
391 %{?build_x86_64:%define x86_64 1}
393 # check what distribution we are
394 %if %{rhat} || %{rhel}
395 %define _dist %(grep Red /etc/redhat-release)
397 %if %{fc1} || %{fc3} || %{fc4} || %{fc5} || %{fc7} || %{fc8} || %{fc9}
398 %define _dist %(grep Fedora /etc/redhat-release)
400 %if %{centos5} || %{centos4} || %{centos3}
401 %define _dist %(grep CentOS /etc/redhat-release)
403 %if %{sl5} ||%{sl4} || %{sl3}
404 %define _dist %(grep 'Scientific Linux' /etc/redhat-release)
406 %if %{wb3} && ! %{rhel3} && ! %{centos3} && ! %{sl3}
407 %define _dist %(grep White /etc/whitebox-release)
410 %define _dist %(grep -i SuSE /etc/SuSE-release)
413 %define _dist %(grep Mand /etc/mandrake-release)
415 %{?DISTNAME:%define _dist %{DISTNAME}}
416 Distribution: %{_dist}
418 # should we turn on python support
420 %{?build_python:%define python 1}
422 # specifically disallow build of mtx package if desired
424 %{?nobuild_mtx:%define mtx 0}
426 # do we need to patch for old postgresql version?
428 %{?build_old_pgsql:%define old_pgsql 1}
430 # Mandriva somehow forces the manpage file extension to bz2 rather than gz
432 %define manpage_ext bz2
434 %define manpage_ext gz
437 # for client only build
446 BuildRequires: gcc, gcc-c++, make, autoconf
447 BuildRequires: glibc, glibc-devel
448 BuildRequires: ncurses-devel, perl
449 BuildRequires: libstdc++-devel, zlib-devel
450 BuildRequires: openssl-devel
451 BuildRequires: libacl-devel
452 BuildRequires: pkgconfig
454 BuildRequires: libxml2-devel
457 BuildRequires: python, python-devel
458 %{expand: %%define pyver %(python -c 'import sys;print(sys.version[0:3])')}
462 BuildRequires: libtermcap-devel
463 BuildRequires: libxml-devel
466 BuildRequires: termcap
469 BuildRequires: libtermcap-devel
470 BuildRequires: libstdc++-static-devel
471 BuildRequires: glibc-static-devel
473 %if %{fc1} || %{fc3} || %{fc4} || %{fc5} || %{fc7} || %{fc8} || %{fc9}
474 BuildRequires: libtermcap-devel
476 %if !%{rh7} && !%{su9} && !%{su10} && !%{su102} && !%{su103} && !%{su110} && !%{su111} && !%{mdk} && !%{fc3} && !%{fc4} && !%{fc5} && !%{fc6} && !%{fc7} && !%{fc8} && !%{fc9}
477 BuildRequires: libtermcap-devel
481 BuildRequires: sqlite-devel
485 BuildRequires: mysql-devel
488 %if %{postgresql} && %{wb3}
489 BuildRequires: rh-postgresql-devel >= 7
492 %if %{postgresql} && ! %{wb3}
493 BuildRequires: postgresql-devel >= 7
517 Summary: Bacula - The Network Backup Solution
518 Group: System Environment/Daemons
519 Provides: bacula-dir, bacula-sd, bacula-fd, bacula-server
520 Conflicts: bacula-client
522 Requires: ncurses, libstdc++, zlib, openssl
525 %if %{rhel} || %{rhat} || %{fed}
536 %if %{suse} || %{mdk}
537 Requires: mysql-client
539 Requires: mysql-server
543 %if %{postgresql} && %{wb3}
544 Requires: rh-postgresql >= 7
545 Requires: rh-postgresql-server >= 7
547 %if %{postgresql} && ! %{wb3}
548 Requires: postgresql >= 7
549 Requires: postgresql-server >= 7
562 %description postgresql
566 Requires: python >= %{pyver}
580 This build requires MySQL to be installed separately as the catalog database.
583 This build requires PostgreSQL to be installed separately as the catalog database.
586 This build incorporates sqlite3 as the catalog database, statically compiled.
589 This build includes python scripting support.
593 Summary: Bacula - The Network Backup Solution
594 Group: System Environment/Daemons
596 Conflicts: bacula-mysql
597 Conflicts: bacula-sqlite
598 Conflicts: bacula-postgresql
604 Requires: libstdc++, zlib, openssl
614 Requires: python >= %{pyver}
628 This is the File daemon (Client) only package. It includes the command line
631 This build includes python scripting support.
637 Summary: Bacula - The Network Backup Solution
638 Group: System Environment/Daemons
640 %description updatedb
651 This package installs scripts for updating older versions of the bacula
657 Summary: Bacula - The Network Backup Solution
658 Group: System Environment/Daemons
671 This package installs the Bacula pdf and html documentation.
673 # Must explicitly enable debug pkg on SuSE
676 export LDFLAGS="${LDFLAGS} -L/usr/lib/termcap"
686 %if %{wb3} || %{old_pgsql}
687 patch -p3 src/cats/postgresql.c < %SOURCE5
690 # patches for the bundled sqlite scripts
692 # patch the make_sqlite_tables script for installation bindir
693 #patch src/cats/make_sqlite_tables.in src/cats/make_sqlite_tables.in.patch
694 patch src/cats/make_sqlite3_tables.in src/cats/make_sqlite3_tables.in.patch
696 # patch the create_sqlite_database script for installation bindir
697 #patch src/cats/create_sqlite_database.in src/cats/create_sqlite_database.in.patch
698 patch src/cats/create_sqlite3_database.in src/cats/create_sqlite3_database.in.patch
700 # patch the make_catalog_backup script for installation bindir
701 patch src/cats/make_catalog_backup.in src/cats/make_catalog_backup.in.patch
703 # patch the update_sqlite_tables script for installation bindir
704 #patch src/cats/update_sqlite_tables.in src/cats/update_sqlite_tables.in.patch
705 patch src/cats/update_sqlite3_tables.in src/cats/update_sqlite3_tables.in.patch
707 # patch the bacula-dir init script to remove sqlite service
708 %if %{sqlite} && %{su9}
709 patch platforms/suse/bacula-dir.in platforms/suse/bacula-dir-suse-sqlite.patch
711 %if %{sqlite} && %{su10}
712 patch platforms/suse/bacula-dir.in platforms/suse/bacula-dir-suse-sqlite.patch
714 %if %{sqlite} && %{su102}
715 patch platforms/suse/bacula-dir.in platforms/suse/bacula-dir-suse-sqlite.patch
717 %if %{sqlite} && %{su103}
718 patch platforms/suse/bacula-dir.in platforms/suse/bacula-dir-suse-sqlite.patch
720 %if %{sqlite} && %{su110}
721 patch platforms/suse/bacula-dir.in platforms/suse/bacula-dir-suse-sqlite.patch
723 %if %{sqlite} && %{su111}
724 patch platforms/suse/bacula-dir.in platforms/suse/bacula-dir-suse-sqlite.patch
727 # 64 bit lib location hacks
728 # as of 1.39.18 it should not be necessary to enable x86_64 as configure is
729 # reported to be fixed to properly detect lib locations.
731 export LDFLAGS="${LDFLAGS} -L/usr/lib64"
733 %if %{mysql} && %{x86_64}
734 export LDFLAGS="${LDFLAGS} -L/usr/lib64/mysql"
736 %if %{python} && %{x86_64}
737 export LDFLAGS="${LDFLAGS} -L/usr/lib64/python%{pyver}"
740 # Red Hat's 64 bit installation of QT4 appears to be broken so:
742 %if %{rhel5} || %{centos5} || %{sl5}
746 # Main Bacula configuration
748 --prefix=%{_prefix} \
749 --sbindir=%{_sbindir} \
750 --sysconfdir=%{sysconf_dir} \
751 --mandir=%{_mandir} \
752 --with-scriptdir=%{script_dir} \
753 --with-working-dir=%{working_dir} \
754 --with-plugindir=%{script_dir} \
755 --with-pid-dir=%{pid_dir} \
756 --with-subsys-dir=%{_subsysdir} \
757 --enable-smartalloc \
759 --disable-bwx-console \
760 --disable-tray-monitor \
776 --enable-client-only \
778 %if %{rh7} || %{rh8} || %{rh9} || %{fc1} || %{fc3} || %{wb3}
779 --disable-batch-insert \
781 --with-dir-user=%{director_daemon_user} \
782 --with-dir-group=%{daemon_group} \
783 --with-sd-user=%{storage_daemon_user} \
784 --with-sd-group=%{storage_daemon_group} \
785 --with-fd-user=%{file_daemon_user} \
786 --with-fd-group=%{daemon_group} \
787 --with-dir-password="XXX_REPLACE_WITH_DIRECTOR_PASSWORD_XXX" \
788 --with-fd-password="XXX_REPLACE_WITH_CLIENT_PASSWORD_XXX" \
789 --with-sd-password="XXX_REPLACE_WITH_STORAGE_PASSWORD_XXX" \
790 --with-mon-dir-password="XXX_REPLACE_WITH_DIRECTOR_MONITOR_PASSWORD_XXX" \
791 --with-mon-fd-password="XXX_REPLACE_WITH_CLIENT_MONITOR_PASSWORD_XXX" \
792 --with-mon-sd-password="XXX_REPLACE_WITH_STORAGE_MONITOR_PASSWORD_XXX" \
800 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf "$RPM_BUILD_ROOT"
801 mkdir -p $RPM_BUILD_ROOT/etc/init.d
802 mkdir -p $RPM_BUILD_ROOT/etc/logrotate.d
803 mkdir -p $RPM_BUILD_ROOT/etc/log.d/conf/logfiles
804 mkdir -p $RPM_BUILD_ROOT/etc/log.d/conf/services
805 mkdir -p $RPM_BUILD_ROOT/etc/log.d/scripts/services
806 mkdir -p $RPM_BUILD_ROOT%{script_dir}/updatedb
808 mkdir -p $RPM_BUILD_ROOT/etc/pam.d
809 mkdir -p $RPM_BUILD_ROOT%{_sbindir}
810 #mkdir -p $RPM_BUILD_ROOT%{_bindir}
812 make DESTDIR=$RPM_BUILD_ROOT install
815 # Program docs not installed on client
816 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/bacula-dir.8.%{manpage_ext}
817 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/bacula-sd.8.%{manpage_ext}
818 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/bcopy.8.%{manpage_ext}
819 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/bextract.8.%{manpage_ext}
820 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/bls.8.%{manpage_ext}
821 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/bscan.8.%{manpage_ext}
822 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/btape.8.%{manpage_ext}
823 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/dbcheck.8.%{manpage_ext}
824 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/bsmtp.1.%{manpage_ext}
826 # Docs for programs that are depreciated
827 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/bacula-bgnome-console.1.%{manpage_ext}
828 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/bacula-bwxconsole.1.%{manpage_ext}
829 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/bacula-tray-monitor.1.%{manpage_ext}
830 rm -f $RPM_BUILD_ROOT%{script_dir}/gconsole
832 # fixme - make installs the mysql scripts for sqlite build
834 rm -f $RPM_BUILD_ROOT%{script_dir}/stopmysql
835 rm -f $RPM_BUILD_ROOT%{script_dir}/grant_mysql_privileges
838 # fixme - make installs the mysql scripts for postgresql build
840 rm -f $RPM_BUILD_ROOT%{script_dir}/startmysql
841 rm -f $RPM_BUILD_ROOT%{script_dir}/stopmysql
844 # install the init scripts
846 cp -p platforms/suse/bacula-dir $RPM_BUILD_ROOT/etc/init.d/bacula-dir
847 cp -p platforms/suse/bacula-fd $RPM_BUILD_ROOT/etc/init.d/bacula-fd
848 cp -p platforms/suse/bacula-sd $RPM_BUILD_ROOT/etc/init.d/bacula-sd
851 cp -p platforms/mandrake/bacula-dir $RPM_BUILD_ROOT/etc/init.d/bacula-dir
852 cp -p platforms/mandrake/bacula-fd $RPM_BUILD_ROOT/etc/init.d/bacula-fd
853 cp -p platforms/mandrake/bacula-sd $RPM_BUILD_ROOT/etc/init.d/bacula-sd
855 %if ! %{suse} && ! %{mdk}
856 cp -p platforms/redhat/bacula-dir $RPM_BUILD_ROOT/etc/init.d/bacula-dir
857 cp -p platforms/redhat/bacula-fd $RPM_BUILD_ROOT/etc/init.d/bacula-fd
858 cp -p platforms/redhat/bacula-sd $RPM_BUILD_ROOT/etc/init.d/bacula-sd
860 chmod 0754 $RPM_BUILD_ROOT/etc/init.d/*
862 rm -f $RPM_BUILD_ROOT/etc/init.d/bacula-dir
863 rm -f $RPM_BUILD_ROOT/etc/init.d/bacula-sd
866 # install the logrotate file
867 cp -p scripts/logrotate $RPM_BUILD_ROOT/etc/logrotate.d/bacula
869 # install the updatedb scripts
870 cp -p updatedb/* $RPM_BUILD_ROOT%{script_dir}/updatedb/
872 # install the logwatch scripts
874 cp -p scripts/logwatch/bacula $RPM_BUILD_ROOT/etc/log.d/scripts/services/bacula
875 cp -p scripts/logwatch/logfile.bacula.conf $RPM_BUILD_ROOT/etc/log.d/conf/logfiles/bacula.conf
876 cp -p scripts/logwatch/services.bacula.conf $RPM_BUILD_ROOT/etc/log.d/conf/services/bacula.conf
877 chmod 755 $RPM_BUILD_ROOT/etc/log.d/scripts/services/bacula
878 chmod 644 $RPM_BUILD_ROOT/etc/log.d/conf/logfiles/bacula.conf
879 chmod 644 $RPM_BUILD_ROOT/etc/log.d/conf/services/bacula.conf
882 # now clean up permissions that are left broken by the install
883 chmod o-rwx $RPM_BUILD_ROOT%{working_dir}
885 # fix me - building enable-client-only installs files not included in bacula-client package
887 rm -f $RPM_BUILD_ROOT%{script_dir}/bacula
888 rm -f $RPM_BUILD_ROOT%{script_dir}/bacula-ctl-dir
889 rm -f $RPM_BUILD_ROOT%{script_dir}/bacula-ctl-sd
890 rm -f $RPM_BUILD_ROOT%{script_dir}/disk-changer
891 rm -f $RPM_BUILD_ROOT%{script_dir}/dvd-handler
892 rm -f $RPM_BUILD_ROOT%{script_dir}/mtx-changer
893 rm -f $RPM_BUILD_ROOT%{script_dir}/startmysql
894 rm -f $RPM_BUILD_ROOT%{script_dir}/stopmysql
895 rm -rf $RPM_BUILD_ROOT%{script_dir}/updatedb
896 rm -f $RPM_BUILD_ROOT%{script_dir}/bconsole
897 rm -f $RPM_BUILD_ROOT%{script_dir}/bpipe-fd.so
898 rm -f $RPM_BUILD_ROOT%{script_dir}/mtx-changer.conf
899 rm -f $RPM_BUILD_ROOT%{_sbindir}/bacula
903 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf "$RPM_BUILD_ROOT"
904 rm -f $RPM_BUILD_DIR/Release_Notes-%{version}-%{release}.txt
907 # MySQL specific files
909 %defattr(-, root, root)
910 %attr(-, root, %{daemon_group}) %{script_dir}/create_mysql_database
911 %attr(-, root, %{daemon_group}) %{script_dir}/drop_mysql_database
912 %attr(-, root, %{daemon_group}) %{script_dir}/make_mysql_tables
913 %attr(-, root, %{daemon_group}) %{script_dir}/drop_mysql_tables
914 %attr(-, root, %{daemon_group}) %{script_dir}/update_mysql_tables
915 %attr(-, root, %{daemon_group}) %{script_dir}/grant_mysql_privileges
916 %attr(-, root, %{daemon_group}) %{script_dir}/startmysql
917 %attr(-, root, %{daemon_group}) %{script_dir}/stopmysql
922 %defattr(-,root,root)
923 %attr(-, root, %{daemon_group}) %{script_dir}/create_sqlite3_database
924 %attr(-, root, %{daemon_group}) %{script_dir}/drop_sqlite3_database
925 %attr(-, root, %{daemon_group}) %{script_dir}/grant_sqlite3_privileges
926 %attr(-, root, %{daemon_group}) %{script_dir}/make_sqlite3_tables
927 %attr(-, root, %{daemon_group}) %{script_dir}/drop_sqlite3_tables
928 %attr(-, root, %{daemon_group}) %{script_dir}/update_sqlite3_tables
933 %defattr(-,root,root)
934 %attr(-, root, %{daemon_group}) %{script_dir}/create_postgresql_database
935 %attr(-, root, %{daemon_group}) %{script_dir}/drop_postgresql_database
936 %attr(-, root, %{daemon_group}) %{script_dir}/make_postgresql_tables
937 %attr(-, root, %{daemon_group}) %{script_dir}/drop_postgresql_tables
938 %attr(-, root, %{daemon_group}) %{script_dir}/update_postgresql_tables
939 %attr(-, root, %{daemon_group}) %{script_dir}/grant_postgresql_privileges
942 # The rest is DB backend independent
944 %attr(-, root, %{daemon_group}) %dir %{script_dir}
945 %attr(-, root, %{daemon_group}) %{script_dir}/bacula
946 %attr(-, root, %{daemon_group}) %{script_dir}/bconsole
947 %attr(-, root, %{daemon_group}) %{script_dir}/create_bacula_database
948 %attr(-, root, %{daemon_group}) %{script_dir}/drop_bacula_database
949 %attr(-, root, %{daemon_group}) %{script_dir}/grant_bacula_privileges
950 %attr(-, root, %{daemon_group}) %{script_dir}/make_bacula_tables
951 %attr(-, root, %{daemon_group}) %{script_dir}/drop_bacula_tables
952 %attr(-, root, %{daemon_group}) %{script_dir}/update_bacula_tables
953 %attr(-, root, %{daemon_group}) %{script_dir}/make_catalog_backup
954 %attr(-, root, %{daemon_group}) %{script_dir}/delete_catalog_backup
955 %attr(-, root, %{daemon_group}) %{script_dir}/btraceback.dbx
956 %attr(-, root, %{daemon_group}) %{script_dir}/btraceback.gdb
957 %attr(-, root, %{daemon_group}) %{script_dir}/disk-changer
958 %attr(-, root, %{daemon_group}) %{script_dir}/bacula-ctl-dir
959 %attr(-, root, %{daemon_group}) %{script_dir}/bacula-ctl-fd
960 %attr(-, root, %{daemon_group}) %{script_dir}/bacula-ctl-sd
961 %attr(-, root, %{daemon_group}) %{script_dir}/bpipe-fd.so
962 %attr(-, root, %{daemon_group}) /etc/init.d/bacula-dir
963 %attr(-, root, %{daemon_group}) /etc/init.d/bacula-fd
964 %attr(-, root, %{storage_daemon_group}) %{script_dir}/dvd-handler
965 %attr(-, root, %{storage_daemon_group}) /etc/init.d/bacula-sd
966 %attr(-, root, %{storage_daemon_group}) %{script_dir}/mtx-changer
967 %attr(-, root, %{storage_daemon_group}) %{script_dir}/mtx-changer.conf
969 /etc/logrotate.d/bacula
970 /etc/log.d/scripts/services/bacula
971 %attr(-, root, %{daemon_group}) %config(noreplace) %{sysconf_dir}/bacula-dir.conf
972 %attr(-, root, %{daemon_group}) %config(noreplace) %{sysconf_dir}/bacula-fd.conf
973 %attr(-, root, %{storage_daemon_group}) %config(noreplace) %{sysconf_dir}/bacula-sd.conf
974 %attr(-, root, %{daemon_group}) %config(noreplace) %{sysconf_dir}/bconsole.conf
975 %attr(-, root, %{daemon_group}) %config(noreplace) /etc/log.d/conf/logfiles/bacula.conf
976 %attr(-, root, %{daemon_group}) %config(noreplace) /etc/log.d/conf/services/bacula.conf
977 %attr(-, root, %{daemon_group}) %config(noreplace) %{script_dir}/query.sql
979 %attr(-, %{storage_daemon_user}, %{daemon_group}) %dir %{working_dir}
981 %{_sbindir}/bacula-dir
982 %{_sbindir}/bacula-fd
983 %{_sbindir}/bacula-sd
990 %{_sbindir}/btraceback
996 %{_mandir}/man8/bacula-fd.8.%{manpage_ext}
997 %{_mandir}/man8/bacula-dir.8.%{manpage_ext}
998 %{_mandir}/man8/bacula-sd.8.%{manpage_ext}
999 %{_mandir}/man8/bacula.8.%{manpage_ext}
1000 %{_mandir}/man8/bconsole.8.%{manpage_ext}
1001 %{_mandir}/man8/bcopy.8.%{manpage_ext}
1002 %{_mandir}/man8/bextract.8.%{manpage_ext}
1003 %{_mandir}/man8/bls.8.%{manpage_ext}
1004 %{_mandir}/man8/bscan.8.%{manpage_ext}
1005 %{_mandir}/man8/btape.8.%{manpage_ext}
1006 %{_mandir}/man8/btraceback.8.%{manpage_ext}
1007 %{_mandir}/man8/dbcheck.8.%{manpage_ext}
1008 %{_mandir}/man1/bsmtp.1.%{manpage_ext}
1009 %{_mandir}/man1/bat.1.%{manpage_ext}
1016 # test for bacula database older than version 10
1017 # note: this ASSUMES no password has been set for bacula database
1018 DB_VER=`mysql 2>/dev/null bacula -e 'select * from Version;'|tail -n 1`
1023 # test for bacula database older than version 10 and sqlite3
1024 if [ -s %{working_dir}/bacula.db ]; then
1025 DB_VER=`echo "select * from Version;" | sqlite3 2>/dev/null %{working_dir}/bacula.db | tail -n 1`
1031 DB_VER=`echo 'select * from Version;' | psql bacula 2>/dev/null | tail -3 | head -1`
1034 %if ! %{client_only}
1035 if [ -n "$DB_VER" ] && [ "$DB_VER" -lt "10" ]; then
1036 echo "This bacula upgrade will update a bacula database from version 10 to 11."
1037 echo "You appear to be running database version $DB_VER. You must first update"
1038 echo "your database to version 10 and then install this upgrade. The alternative"
1039 echo "is to use %{script_dir}/drop_%{db_backend}_tables to delete all your your current"
1040 echo "catalog information, then do the upgrade. Information on updating a"
1041 echo "database older than version 10 can be found in the release notes."
1047 %if ! %{client_only}
1048 # check for and copy %{sysconf_dir}/console.conf to bconsole.conf
1049 if [ -s %{sysconf_dir}/console.conf ];then
1050 cp -p %{sysconf_dir}/console.conf %{sysconf_dir}/bconsole.conf
1053 # create the daemon users and groups
1054 # first create the groups if they don't exist
1055 HAVE_BACULA=`grep %{daemon_group} %{group_file} 2>/dev/null`
1056 if [ -z "$HAVE_BACULA" ]; then
1057 %{groupadd} -r %{daemon_group} > /dev/null 2>&1
1058 echo "The group %{daemon_group} has been added to %{group_file}."
1059 echo "See the manual chapter \"Running Bacula\" for details."
1061 HAVE_BACULA=`grep %{storage_daemon_group} %{group_file} 2>/dev/null`
1062 if [ -z "$HAVE_BACULA" ]; then
1063 %{groupadd} -r %{storage_daemon_group} > /dev/null 2>&1
1064 echo "The group %{storage_daemon_group} has been added to %{group_file}."
1065 echo "See the manual chapter \"Running Bacula\" for details."
1067 # now create the users if they do not exist
1068 # we do not use the -g option allowing the primary group to be set to system default
1069 # this will be a unique group on redhat type systems or the group users on some systems
1070 HAVE_BACULA=`grep %{storage_daemon_user} %{user_file} 2>/dev/null`
1071 if [ -z "$HAVE_BACULA" ]; then
1072 %{useradd} -r -c "Bacula" -d %{working_dir} -g %{storage_daemon_group} -M -s /sbin/nologin %{storage_daemon_user} > /dev/null 2>&1
1073 echo "The user %{storage_daemon_user} has been added to %{user_file}."
1074 echo "See the manual chapter \"Running Bacula\" for details."
1076 HAVE_BACULA=`grep %{director_daemon_user} %{user_file} 2>/dev/null`
1077 if [ -z "$HAVE_BACULA" ]; then
1078 %{useradd} -r -c "Bacula" -d %{working_dir} -g %{daemon_group} -M -s /sbin/nologin %{director_daemon_user} > /dev/null 2>&1
1079 echo "The user %{director_daemon_user} has been added to %{user_file}."
1080 echo "See the manual chapter \"Running Bacula\" for details."
1082 HAVE_BACULA=`grep %{file_daemon_user} %{user_file} 2>/dev/null`
1083 if [ -z "$HAVE_BACULA" ]; then
1084 %{useradd} -r -c "Bacula" -d %{working_dir} -g %{daemon_group} -M -s /sbin/nologin %{file_daemon_user} > /dev/null 2>&1
1085 echo "The user %{file_daemon_user} has been added to %{user_file}."
1086 echo "See the manual chapter \"Running Bacula\" for details."
1088 # now we add the supplementary groups, this is ok to call even if the users already exist
1089 # we only do this if the user is NOT root
1090 IS_ROOT=%{director_daemon_user}
1091 if [ "$IS_ROOT" != "root" ]; then
1092 %{usermod} -G %{daemon_group} %{director_daemon_user}
1094 IS_ROOT=%{storage_daemon_user}
1095 if [ "$IS_ROOT" != "root" ]; then
1096 %{usermod} -G %{daemon_group},%{storage_daemon_group} %{storage_daemon_user}
1098 IS_ROOT=%{file_daemon_user}
1099 if [ "$IS_ROOT" != "root" ]; then
1100 %{usermod} -G %{daemon_group} %{file_daemon_user}
1114 %if ! %{client_only}
1116 if [ "$1" -ge 1 ] ; then
1117 /sbin/chkconfig --add bacula-dir
1118 /sbin/chkconfig --add bacula-fd
1119 /sbin/chkconfig --add bacula-sd
1124 # test for an existing database
1125 # note: this ASSUMES no password has been set for bacula database
1126 DB_VER=`mysql 2>/dev/null bacula -e 'select * from Version;'|tail -n 1`
1128 # grant privileges and create tables if they do not exist
1129 if [ -z "$DB_VER" ]; then
1130 echo "Hmm, it doesn't look like you have an existing database."
1131 echo "Granting privileges for MySQL user bacula..."
1132 %{script_dir}/grant_mysql_privileges
1133 echo "Creating MySQL bacula database..."
1134 %{script_dir}/create_mysql_database
1135 echo "Creating bacula tables..."
1136 %{script_dir}/make_mysql_tables
1138 # check to see if we need to upgrade a 2.x database
1139 elif [ "$DB_VER" -lt "11" ]; then
1140 echo "This release requires an upgrade to your bacula database."
1141 echo "Backing up your current database..."
1142 mysqldump -f --opt bacula | bzip2 > %{working_dir}/bacula_backup.sql.bz2
1143 echo "Upgrading bacula database ..."
1144 %{script_dir}/update_mysql_tables
1145 echo "If bacula works correctly you can remove the backup file %{working_dir}/bacula_backup.sql.bz2"
1151 # test for an existing database
1152 if [ -s %{working_dir}/bacula.db ]; then
1153 DB_VER=`echo "select * from Version;" | sqlite3 2>/dev/null %{working_dir}/bacula.db | tail -n 1`
1154 # check to see if we need to upgrade a 2.x database
1155 if [ "$DB_VER" -lt "11" ] && [ "$DB_VER" -ge "10" ]; then
1156 echo "This release requires an upgrade to your bacula database."
1157 echo "Backing up your current database..."
1158 echo ".dump" | sqlite3 %{working_dir}/bacula.db | bzip2 > %{working_dir}/bacula_backup.sql.bz2
1159 echo "Upgrading bacula database ..."
1160 %{script_dir}/update_sqlite3_tables
1161 echo "If bacula works correctly you can remove the backup file %{working_dir}/bacula_backup.sql.bz2"
1164 # create the database and tables
1165 echo "Hmm, it doesn't look like you have an existing database."
1166 echo "Creating SQLite database..."
1167 %{script_dir}/create_sqlite3_database
1168 echo "Creating the SQLite tables..."
1169 %{script_dir}/make_sqlite3_tables
1170 chown %{director_daemon_user}.%{daemon_group} %{working_dir}/bacula.db
1175 # test for an existing database
1176 # note: this ASSUMES no password has been set for bacula database
1177 DB_VER=`echo 'select * from Version;' | psql bacula 2>/dev/null | tail -3 | head -1`
1179 # grant privileges and create tables if they do not exist
1180 if [ -z "$DB_VER" ]; then
1181 echo "Hmm, doesn't look like you have an existing database."
1182 echo "Creating PostgreSQL bacula database..."
1183 %{script_dir}/create_postgresql_database
1184 echo "Creating bacula tables..."
1185 %{script_dir}/make_postgresql_tables
1186 echo "Granting privileges for PostgreSQL user bacula..."
1187 %{script_dir}/grant_postgresql_privileges
1189 # check to see if we need to upgrade a 2.x database
1190 elif [ "$DB_VER" -lt "11" ]; then
1191 echo "This release requires an upgrade to your bacula database."
1192 echo "Backing up your current database..."
1193 pg_dump bacula | bzip2 > %{working_dir}/bacula_backup.sql.bz2
1194 echo "Upgrading bacula database ..."
1195 %{script_dir}/update_postgresql_tables
1196 echo "If bacula works correctly you can remove the backup file %{working_dir}/bacula_backup.sql.bz2"
1201 %if ! %{client_only}
1202 if [ -d %{sysconf_dir} ]; then
1204 for string in XXX_REPLACE_WITH_DIRECTOR_PASSWORD_XXX XXX_REPLACE_WITH_CLIENT_PASSWORD_XXX XXX_REPLACE_WITH_STORAGE_PASSWORD_XXX XXX_REPLACE_WITH_DIRECTOR_MONITOR_PASSWORD_XXX XXX_REPLACE_WITH_CLIENT_MONITOR_PASSWORD_XXX XXX_REPLACE_WITH_STORAGE_MONITOR_PASSWORD_XXX; do
1205 pass=`openssl rand -base64 33`
1206 for file in *.conf; do
1207 need_password=`grep ${string} $file 2>/dev/null`
1208 if [ -n "$need_password" ]; then
1209 sed "s@${string}@${pass}@g" $file > $file.new
1210 cp -f $file.new $file; rm -f $file.new
1214 # put actual hostname in conf file
1216 string="XXX_HOSTNAME_XXX"
1217 for file in *.conf; do
1218 need_host=`grep ${string} $file 2>/dev/null`
1219 if [ -n "$need_host" ]; then
1220 sed "s@${string}@${host}@g" $file >$file.new
1221 cp -f $file.new $file; rm -f $file.new
1238 %if ! %{client_only}
1241 /sbin/chkconfig --del bacula-dir
1242 /sbin/chkconfig --del bacula-fd
1243 /sbin/chkconfig --del bacula-sd
1249 %defattr(-,root,root)
1250 %attr(-, root, %{daemon_group}) %dir %{script_dir}
1251 %{script_dir}/bacula-ctl-fd
1252 /etc/init.d/bacula-fd
1254 /etc/logrotate.d/bacula
1256 %attr(-, root, %{daemon_group}) %config(noreplace) %{sysconf_dir}/bacula-fd.conf
1257 %attr(-, root, %{daemon_group}) %config(noreplace) %{sysconf_dir}/bconsole.conf
1258 %attr(-, root, %{daemon_group}) %dir %{working_dir}
1260 %{_sbindir}/bacula-fd
1261 %{_sbindir}/btraceback
1262 %attr(-, root, %{daemon_group}) %{script_dir}/btraceback.gdb
1263 %attr(-, root, %{daemon_group}) %{script_dir}/btraceback.dbx
1264 %{_sbindir}/bconsole
1265 %{_mandir}/man8/bacula-fd.8.%{manpage_ext}
1266 %{_mandir}/man8/bacula.8.%{manpage_ext}
1267 %{_mandir}/man8/bconsole.8.%{manpage_ext}
1268 %{_mandir}/man8/btraceback.8.%{manpage_ext}
1269 %{_mandir}/man1/bat.1.%{manpage_ext}
1271 %{_libdir}/libbaccfg.*
1272 %{_libdir}/libbacfind.*
1273 %{_libdir}/libbacpy.*
1278 # create the daemon group and user
1279 HAVE_BACULA=`grep %{daemon_group} %{group_file} 2>/dev/null`
1280 if [ -z "$HAVE_BACULA" ]; then
1281 %{groupadd} -r %{daemon_group} > /dev/null 2>&1
1282 echo "The group %{daemon_group} has been added to %{group_file}."
1283 echo "See the manual chapter \"Running Bacula\" for details."
1285 # we do not use the -g option allowing the primary group to be set to system default
1286 # this will be a unique group on redhat type systems or the group users on some systems
1287 HAVE_BACULA=`grep %{file_daemon_user} %{user_file} 2>/dev/null`
1288 if [ -z "$HAVE_BACULA" ]; then
1289 %{useradd} -r -c "Bacula" -d %{working_dir} -g %{daemon_group} -M -s /sbin/nologin %{file_daemon_user} > /dev/null 2>&1
1290 echo "The user %{file_daemon_user} has been added to %{user_file}."
1291 echo "See the manual chapter \"Running Bacula\" for details."
1293 # now we add the supplementary group, this is ok to call even if the user already exists
1294 # we only do this if the user is NOT root
1295 IS_ROOT=%{file_daemon_user}
1296 if [ "$IS_ROOT" != "root" ]; then
1297 %{usermod} -G %{daemon_group} %{file_daemon_user}
1302 if [ "$1" -ge 1 ] ; then
1303 /sbin/chkconfig --add bacula-fd
1306 if [ -d %{sysconf_dir} ]; then
1308 for string in XXX_REPLACE_WITH_DIRECTOR_PASSWORD_XXX XXX_REPLACE_WITH_CLIENT_PASSWORD_XXX XXX_REPLACE_WITH_STORAGE_PASSWORD_XXX XXX_REPLACE_WITH_DIRECTOR_MONITOR_PASSWORD_XXX XXX_REPLACE_WITH_CLIENT_MONITOR_PASSWORD_XXX XXX_REPLACE_WITH_STORAGE_MONITOR_PASSWORD_XXX; do
1309 pass=`openssl rand -base64 33`
1310 for file in *.conf; do
1311 need_password=`grep ${string} $file 2>/dev/null`
1312 if [ -n "$need_password" ]; then
1313 sed "s@${string}@${pass}@g" $file > $file.new
1314 cp -f $file.new $file; rm -f $file.new
1318 # put actual hostname in conf file
1320 string="XXX_HOSTNAME_XXX"
1321 for file in *.conf; do
1322 need_host=`grep ${string} $file 2>/dev/null`
1323 if [ -n "$need_host" ]; then
1324 sed "s@${string}@${host}@g" $file >$file.new
1325 cp -f $file.new $file; rm -f $file.new
1335 /sbin/chkconfig --del bacula-fd
1341 %if ! %{client_only}
1343 %defattr(-,root,%{daemon_group})
1344 %{script_dir}/updatedb/*
1347 # create the daemon group
1348 HAVE_BACULA=`grep %{daemon_group} %{group_file} 2>/dev/null`
1349 if [ -z "$HAVE_BACULA" ]; then
1350 %{groupadd} -r %{daemon_group} > /dev/null 2>&1
1351 echo "The group %{daemon_group} has been added to %{group_file}."
1352 echo "See the manual chapter \"Running Bacula\" for details."
1356 echo "The database update scripts were installed to %{script_dir}/updatedb"
1360 * Sat Jun 20 2009 D. Scott Barninger <barninger@fairfieldcomputers.com>
1361 - Fix bat install which is now handled by make and uses shared libs
1362 * Sat May 16 2009 D. Scott Barninger <barninger@fairfieldcomputers.com>
1363 - fix libxml dependency for rh7 per Pasi Kärkkäinen <pasik@iki.fi>
1364 * Mon May 04 2009 D. Scott Barninger <barninger@fairfieldcomputers.com>
1365 - Fix post ldconfig problem in client only build
1366 * Sun May 03 2009 D. Scott Barninger <barninger@fairfieldcomputers.com>
1367 - remove more files installed by client-only build not needed by client package
1368 - remove libbacsql files from client package
1369 * Sat May 02 2009 D. Scott Barninger <barninger@fairfieldcomputers.com>
1371 - update for new docs configuration
1372 * Sat Apr 25 2009 D. Scott Barninger <barninger@fairfieldcomputers.com>
1373 - add switch to pass Distribution tag
1374 * Sun Apr 5 2009 D. Scott Barninger <barninger@fairfieldcomputers.com>
1376 - database update version 10 to 11
1377 - make now installs docs so we rm from buildroot
1378 - add shared libs in %_libdir and other misc new files
1379 * Wed Dec 31 2008 D. Scott Barninger <barninger@fairfieldcomputers.com>
1381 * Sat Nov 08 2008 D. Scott Barninger <barninger@fairfieldcomputers.com>
1382 - set paths for QT using pkgconfig
1383 * Sat Oct 11 2008 D. Scott Barninger <barninger@fairfieldcomputers.com>
1384 - release 2.4.3 update depkgs to 11Sep08 remove file nmshack from mtx package
1385 * Sun Sep 07 2008 D. Scott Barninger <barninger@fairfieldcomputers.com>
1386 - adjust /opt/bacula install
1387 - add build switch to supress rescue package
1388 * Sun Aug 24 2008 D. Scott Barninger <barninger@fairfieldcomputers.com>
1389 - add support for install to /opt/bacula
1390 * Sun Aug 17 2008 D. Scott Barninger <barninger@fairfieldcomputers.com>
1391 - remove libtermcap dependancy for FC9
1392 * Mon Aug 04 2008 D. Scott Barninger <barninger@fairfieldcomputers.com>
1393 - fix bat dependencies
1394 * Sat Jun 28 2008 D. Scott Barninger <barninger@fairfieldcomputers.com>
1396 * Sat May 24 2008 D. Scott Barninger <barninger@fairfieldcomputers.com>
1398 * Sun Mar 30 2008 D. Scott Barninger <barninger@fairfieldcomputers.com>
1399 - FHS compatibility changes
1400 * Sat Feb 16 2008 D. Scott Barninger <barninger@fairfieldcomputers.com>
1401 - remove fix for false buffer overflow detection with glibc >= 2.7
1402 * Sat Feb 09 2008 D. Scott Barninger <barninger@fairfieldcomputers.com>
1403 - fix for false buffer overflow detection with glibc >= 2.7