2 # Copyright (C) 2004 Kern Sibbald
4 # Platform Build Configuration
6 # basic defines for every build
7 %define depkgs ../depkgs
8 %define depkgs_version 22Jun05
9 %define sqlite_bindir /usr/lib/bacula/sqlite
10 %define working_dir /var/bacula
11 %define daemon_user root
12 %define daemon_group bacula
13 %define group_file /etc/group
14 %define groupadd /usr/sbin/groupadd
15 %define _rescuever 1.8.1
17 # platform defines - set one below or define the build_xxx on the command line
20 %{?build_rh7:%define rh7 1}
22 %{?build_rh8:%define rh8 1}
24 %{?build_rh9:%define rh9 1}
27 %{?build_fc1:%define fc1 1}
29 %{?build_fc3:%define fc3 1}
30 # Whitebox Enterprise build
32 %{?build_wb3:%define wb3 1}
33 # RedHat Enterprise builds
35 %{?build_rhel3:%define rhel3 1}
36 %{?build_rhel3:%define wb3 1}
38 %{?build_rhel4:%define rhel4 1}
39 %{?build_rhel4:%define fc3 1}
42 %{?build_centos4:%define centos4 1}
43 %{?build_centos4:%define fc3 1}
46 %{?build_su9:%define su9 1}
49 %{?build_mdk:%define mdk 1}
51 # test for a platform definition
52 %if ! %{rh7} && ! %{rh8} && ! %{rh9} && ! %{fc1} && ! %{fc3} && ! %{wb3} && ! %{su9} && ! %{mdk}
53 %{error: You must specify a platform. Please examine the spec file.}
58 # set for database support desired or define the build_xxx on the command line
60 %{?build_mysql:%define mysql 1}
61 # if using mysql 4.x define this and mysql above
62 # currently: Mandrake 10.1, SuSE 9.2, RHEL4 and Fedora Core 4
64 %{?build_mysql4:%define mysql4 1}
66 %{?build_sqlite:%define sqlite 1}
68 %{?build_postgresql:%define postgresql 1}
70 # test for a database definition
71 %if ! %{mysql} && ! %{sqlite} && ! %{postgresql}
72 %{error: You must specify database support. Please examine the spec file.}
78 %{?build_x86_64:%define x86_64 1}
80 # check what distribution we are
81 %if %{rh7} || %{rh8} || %{rh9} || %{rhel3} || %{rhel4}
82 %define _dist %(grep Red /etc/redhat-release)
85 %define _dist %(grep Fedora /etc/redhat-release)
88 %define _dist %(grep CentOS /etc/redhat-release)
90 %if %{fc3} && ! %{rhel4} && ! %{centos4}
91 %define _dist %(grep Fedora /etc/redhat-release)
93 %if %{wb3} && ! %{rhel3}
94 %define _dist %(grep White /etc/whitebox-release)
97 %define _dist %(grep SuSE /etc/SuSE-release)
100 %define _dist %(grep Mandrake /etc/mandrake-release)
103 Summary: Bacula - The Network Backup Solution
107 Group: System Environment/Daemons
109 Source0:http://www.prdownloads.sourceforge.net/bacula/%{name}-%{version}.tar.gz
110 Source1:http://www.prdownloads.sourceforge.net/bacula/depkgs-%{depkgs_version}.tar.gz
111 Source2: Release_Notes-%{version}-%{release}.tar.gz
112 Source3:http://www.prdownloads.sourceforge.net/bacula/%{name}-docs-%{version}.tar.gz
113 Source4:http://www.prdownloads.sourceforge.net/bacula/%{name}-rescue-%{_rescuever}.tar.gz
114 BuildRoot: %{_tmppath}/%{name}-root
115 URL: http://www.bacula.org/
116 Vendor: The Bacula Team
117 Distribution: %{_dist}
118 Packager: D. Scott Barninger <barninger@fairfieldcomputers.com>
120 %define _docsrc ../%{name}-docs-%{version}
121 %define _rescuesrc ../%{name}-rescue-%{_rescuever}
123 BuildRequires: atk-devel, ncurses-devel, pango-devel, perl
124 BuildRequires: libstdc++-devel, libxml2-devel, zlib-devel, pkgconfig
126 BuildRequires: libtermcap-devel
127 BuildRequires: gtk+-devel >= 1.2
128 BuildRequires: gnome-libs-devel >= 1.4
129 BuildRequires: glibc-devel >= 2.2
130 BuildRequires: ORBit-devel
131 BuildRequires: bonobo-devel
132 BuildRequires: GConf-devel
133 BuildRequires: freetype-devel
136 BuildRequires: termcap
137 BuildRequires: libgnome >= 2.0
138 BuildRequires: gtk2-devel >= 2.0
139 BuildRequires: libgnomeui-devel >= 2.0
140 BuildRequires: glibc-devel >= 2.3
141 BuildRequires: ORBit2-devel
142 BuildRequires: libart_lgpl-devel >= 2.0
143 BuildRequires: libbonobo-devel >= 2.0
144 BuildRequires: libbonoboui-devel >= 2.0
145 BuildRequires: bonobo-activation-devel
146 BuildRequires: gconf2-devel
147 BuildRequires: linc-devel
148 BuildRequires: freetype2-devel
151 BuildRequires: libtermcap-devel
152 BuildRequires: gtk2-devel >= 2.0
153 BuildRequires: libgnomeui2-devel >= 2.0
154 BuildRequires: glibc-devel >= 2.3
155 BuildRequires: libORBit2-devel
156 BuildRequires: libart_lgpl-devel >= 2.0
157 BuildRequires: libbonobo2_0-devel
158 BuildRequires: libbonoboui2_0-devel
159 BuildRequires: libbonobo-activation-devel
160 BuildRequires: libGConf2-devel
161 BuildRequires: libstdc++-static-devel
162 BuildRequires: glibc-static-devel
163 BuildRequires: freetype2-devel
166 BuildRequires: libtermcap-devel
167 BuildRequires: gtk2-devel >= 2.4
168 BuildRequires: libgnomeui-devel >= 2.8
169 BuildRequires: glibc-devel >= 2.3
170 BuildRequires: ORBit2-devel
171 BuildRequires: libart_lgpl-devel >= 2.3
172 BuildRequires: libbonobo-devel >= 2.8
173 BuildRequires: libbonoboui-devel >= 2.8
174 BuildRequires: bonobo-activation-devel
175 BuildRequires: GConf2-devel
176 BuildRequires: freetype-devel
178 %if ! %{rh7} && ! %{su9} && ! %{mdk} && ! %{fc3}
179 BuildRequires: libtermcap-devel
180 BuildRequires: gtk2-devel >= 2.0
181 BuildRequires: libgnomeui-devel >= 2.0
182 BuildRequires: glibc-devel >= 2.3
183 BuildRequires: ORBit2-devel
184 BuildRequires: libart_lgpl-devel >= 2.0
185 BuildRequires: libbonobo-devel >= 2.0
186 BuildRequires: libbonoboui-devel >= 2.0
187 BuildRequires: bonobo-activation-devel
188 BuildRequires: GConf2-devel
189 BuildRequires: linc-devel
190 BuildRequires: freetype-devel
193 %if %{mysql} && ! %{mysql4}
194 BuildRequires: mysql-devel >= 3.23
197 %if %{mysql} && %{mysql4}
198 BuildRequires: mysql-devel >= 4.0
201 %if %{postgresql} && %{wb3}
202 BuildRequires: rh-postgresql-devel >= 7
205 %if %{postgresql} && ! %{wb3}
206 BuildRequires: postgresql-devel >= 7
210 Bacula - It comes by night and sucks the vital essence from your computers.
212 Bacula is a set of computer programs that permit you (or the system
213 administrator) to manage backup, recovery, and verification of computer
214 data across a network of computers of different kinds. In technical terms,
215 it is a network client/server based backup program. Bacula is relatively
216 easy to use and efficient, while offering many advanced storage management
217 features that make it easy to find and recover lost or damaged files.
218 Bacula source code has been released under the GPL version 2 license.
230 Summary: Bacula - The Network Backup Solution
231 Group: System Environment/Daemons
232 Provides: bacula-dir, bacula-sd, bacula-fd, bacula-server
233 Conflicts: bacula-client
234 Obsoletes: bacula-rescue
235 Requires: ncurses, libstdc++, zlib
238 Requires: glibc >= 2.2
242 Requires: glibc >= 2.3
245 %if ! %{rh7} && ! %{su9}
246 Requires: glibc >= 2.3
250 %if %{mysql} && ! %{su9} && ! %{mdk} && ! %{mysql4}
251 Requires: mysql >= 3.23
252 Requires: mysql-server >= 3.23
254 %if %{mysql} && ! %{su9} && ! %{mdk} && %{mysql4}
255 Requires: mysql >= 4.0
256 Requires: mysql-server >= 4.0
259 %if %{mysql} && %{su9} && ! %{mysql4}
260 Requires: mysql >= 3.23
261 Requires: mysql-client >= 3.23
263 %if %{mysql} && %{su9} && %{mysql4}
264 Requires: mysql >= 4.0
265 Requires: mysql-client >= 4.0
268 %if %{mysql} && %{mdk} && ! %{mysql4}
269 Requires: mysql >= 3.23
270 Requires: mysql-client >= 3.23
272 %if %{mysql} && %{mdk} && %{mysql4}
273 Requires: mysql >= 4.0
274 Requires: mysql-client >= 4.0
277 %if %{postgresql} && %{wb3}
278 Requires: rh-postgresql >= 7
279 Requires: rh-postgresql-server >= 7
281 %if %{postgresql} && ! %{wb3}
282 Requires: postgresql >= 7
283 Requires: postgresql-server >= 7
293 %description postgresql
296 Bacula - It comes by night and sucks the vital essence from your computers.
298 Bacula is a set of computer programs that permit you (or the system
299 administrator) to manage backup, recovery, and verification of computer
300 data across a network of computers of different kinds. In technical terms,
301 it is a network client/server based backup program. Bacula is relatively
302 easy to use and efficient, while offering many advanced storage management
303 features that make it easy to find and recover lost or damaged files.
304 Bacula source code has been released under the GPL version 2 license.
307 This build requires MySQL to be installed separately as the catalog database.
310 This build requires PostgreSQL to be installed separately as the catalog database.
313 This build incorporates sqlite as the catalog database, statically compiled.
317 Summary: Bacula - The Network Backup Solution
318 Group: System Environment/Daemons
320 Obsoletes: bacula-rescue
321 Requires: libstdc++, zlib
324 Requires: glibc >= 2.2
328 Requires: glibc >= 2.3
331 %if ! %{rh7} && ! %{su9}
332 Requires: glibc >= 2.3
337 Bacula - It comes by night and sucks the vital essence from your computers.
339 Bacula is a set of computer programs that permit you (or the system
340 administrator) to manage backup, recovery, and verification of computer
341 data across a network of computers of different kinds. In technical terms,
342 it is a network client/server based backup program. Bacula is relatively
343 easy to use and efficient, while offering many advanced storage management
344 features that make it easy to find and recover lost or damaged files.
345 Bacula source code has been released under the GPL version 2 license.
347 This is the File daemon (Client) only package. It includes the command line
352 Summary: Bacula - The Network Backup Solution
353 Group: System Environment/Daemons
355 %description updatedb
356 Bacula - It comes by night and sucks the vital essence from your computers.
358 Bacula is a set of computer programs that permit you (or the system
359 administrator) to manage backup, recovery, and verification of computer
360 data across a network of computers of different kinds. In technical terms,
361 it is a network client/server based backup program. Bacula is relatively
362 easy to use and efficient, while offering many advanced storage management
363 features that make it easy to find and recover lost or damaged files.
364 Bacula source code has been released under the GPL version 2 license.
366 This package installs scripts for updating older versions of the bacula
370 Summary: Bacula - The Network Backup Solution
371 Group: System Environment/Daemons
372 Requires: atk, libstdc++, zlib, pango, libxml2, bacula-fd
375 Requires: gtk+ >= 1.2
376 Requires: gnome-libs >= 1.4
377 Requires: glibc >= 2.2
384 Requires: gtk2 >= 2.0
385 Requires: libgnome >= 2.0
386 Requires: libgnomeui >= 2.0
387 Requires: glibc >= 2.3
389 Requires: libart_lgpl >= 2.0
390 Requires: libbonobo >= 2.0
391 Requires: libbonoboui >= 2.0
392 Requires: bonobo-activation
398 Requires: gtk2 >= 2.0
399 Requires: libgnomeui2
400 Requires: glibc >= 2.3
402 Requires: libart_lgpl >= 2.0
403 Requires: libbonobo >= 2.0
404 Requires: libbonoboui >= 2.0
409 Requires: gtk2 >= 2.4
410 Requires: libgnomeui >= 2.8
411 Requires: glibc >= 2.3
413 Requires: libart_lgpl >= 2.3
414 Requires: libbonobo >= 2.8
415 Requires: libbonoboui >= 2.8
416 Requires: bonobo-activation
420 %if ! %{rh7} && ! %{su9} && ! %{mdk} && ! %{fc3}
421 Requires: gtk2 >= 2.0
422 Requires: libgnomeui >= 2.0
423 Requires: glibc >= 2.3
425 Requires: libart_lgpl >= 2.0
426 Requires: libbonobo >= 2.0
427 Requires: libbonoboui >= 2.0
428 Requires: bonobo-activation
439 %description gconsole
440 Bacula - It comes by night and sucks the vital essence from your computers.
442 Bacula is a set of computer programs that permit you (or the system
443 administrator) to manage backup, recovery, and verification of computer
444 data across a network of computers of different kinds. In technical terms,
445 it is a network client/server based backup program. Bacula is relatively
446 easy to use and efficient, while offering many advanced storage management
447 features that make it easy to find and recover lost or damaged files.
448 Bacula source code has been released under the GPL version 2 license.
450 This is the Gnome Console package. It is an add-on to the client or
464 export LDFLAGS="-L/usr/lib/termcap"
475 # patches for the bundled sqlite scripts
476 # as of 1.38.0 first 3 patches no longer needed
478 # patch the make_sqlite_tables script for installation bindir
479 # patch src/cats/make_sqlite_tables.in src/cats/make_sqlite_tables.in.patch
481 # patch the create_sqlite_database script for installation bindir
482 #patch src/cats/create_sqlite_database.in src/cats/create_sqlite_database.in.patch
484 # patch the make_catalog_backup script for installation bindir
485 #patch src/cats/make_catalog_backup.in src/cats/make_catalog_backup.in.patch
487 # patch the update_sqlite_tables script for installation bindir
488 patch src/cats/update_sqlite_tables.in src/cats/update_sqlite_tables.in.patch
490 # patch the bacula-dir init script to remove sqlite service
491 %if %{sqlite} && %{su9}
492 patch platforms/suse/bacula-dir.in platforms/suse/bacula-dir-suse-sqlite.patch
495 # 64 bit lib location hacks
496 # this is the location on redhat type platforms, don't know about others yet
498 export LDFLAGS=-L/usr/lib64
500 %if %{mysql} && %{x86_64}
501 export LDFLAGS=-L/usr/lib64/mysql
506 --sbindir=/usr/sbin \
507 --sysconfdir=/etc/bacula \
508 --with-scriptdir=/etc/bacula \
509 --enable-smartalloc \
511 %if ! %{rh7} && ! %{rh8}
512 --enable-tray-monitor \
518 --with-sqlite=${cwd}/%{depkgs}/sqlite \
523 --with-working-dir=%{working_dir} \
524 --with-pid-dir=/var/run \
525 --with-subsys-dir=/var/lock/subsys \
526 --with-dir-user=%{daemon_user} \
527 --with-dir-group=%{daemon_group} \
528 --with-sd-user=%{daemon_user} \
529 --with-sd-group=%{daemon_group} \
530 --with-fd-user=%{daemon_user} \
531 --with-fd-group=%{daemon_group}
537 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf "$RPM_BUILD_ROOT"
538 mkdir -p $RPM_BUILD_ROOT/etc/init.d
539 mkdir -p $RPM_BUILD_ROOT/etc/logrotate.d
540 mkdir -p $RPM_BUILD_ROOT/etc/log.d/conf/logfiles
541 mkdir -p $RPM_BUILD_ROOT/etc/log.d/conf/services
542 mkdir -p $RPM_BUILD_ROOT/etc/log.d/scripts/services
543 mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps
545 mkdir -p $RPM_BUILD_ROOT/usr/share/gnome/apps/System
547 mkdir -p $RPM_BUILD_ROOT/usr/share/applications
549 mkdir -p $RPM_BUILD_ROOT/etc/bacula/updatedb
551 mkdir -p $RPM_BUILD_ROOT/etc/pam.d
552 mkdir -p $RPM_BUILD_ROOT/etc/security/console.apps
553 mkdir -p $RPM_BUILD_ROOT/usr/bin
557 mkdir -p $RPM_BUILD_ROOT%{sqlite_bindir}
561 prefix=$RPM_BUILD_ROOT/usr \
562 sbindir=$RPM_BUILD_ROOT/usr/sbin \
563 sysconfdir=$RPM_BUILD_ROOT/etc/bacula \
564 scriptdir=$RPM_BUILD_ROOT/etc/bacula \
565 working_dir=$RPM_BUILD_ROOT%{working_dir} \
570 prefix=$RPM_BUILD_ROOT/usr \
571 sbindir=$RPM_BUILD_ROOT/usr/sbin \
572 sysconfdir=$RPM_BUILD_ROOT/etc/bacula \
573 working_dir=$RPM_BUILD_ROOT%{working_dir} \
574 mandir=$RPM_BUILD_ROOT/usr/man \
578 # fixme - make installs the mysql scripts for sqlite build
580 rm -f $RPM_BUILD_ROOT/etc/bacula/startmysql
581 rm -f $RPM_BUILD_ROOT/etc/bacula/stopmysql
582 rm -f $RPM_BUILD_ROOT/etc/bacula/grant_mysql_privileges
585 # fixme - make installs the mysql scripts for postgresql build
587 rm -f $RPM_BUILD_ROOT/etc/bacula/startmysql
588 rm -f $RPM_BUILD_ROOT/etc/bacula/stopmysql
591 # install the init scripts
593 cp -p platforms/suse/bacula-dir $RPM_BUILD_ROOT/etc/init.d/bacula-dir
594 cp -p platforms/suse/bacula-fd $RPM_BUILD_ROOT/etc/init.d/bacula-fd
595 cp -p platforms/suse/bacula-sd $RPM_BUILD_ROOT/etc/init.d/bacula-sd
598 cp -p platforms/mandrake/bacula-dir $RPM_BUILD_ROOT/etc/init.d/bacula-dir
599 cp -p platforms/mandrake/bacula-fd $RPM_BUILD_ROOT/etc/init.d/bacula-fd
600 cp -p platforms/mandrake/bacula-sd $RPM_BUILD_ROOT/etc/init.d/bacula-sd
602 %if ! %{su9} && ! %{mdk}
603 cp -p platforms/redhat/bacula-dir $RPM_BUILD_ROOT/etc/init.d/bacula-dir
604 cp -p platforms/redhat/bacula-fd $RPM_BUILD_ROOT/etc/init.d/bacula-fd
605 cp -p platforms/redhat/bacula-sd $RPM_BUILD_ROOT/etc/init.d/bacula-sd
607 chmod 0754 $RPM_BUILD_ROOT/etc/init.d/*
609 # install the menu stuff
611 cp -p scripts/bacula.png $RPM_BUILD_ROOT/usr/share/pixmaps/bacula.png
612 cp -p scripts/bacula.desktop.gnome2.xsu $RPM_BUILD_ROOT/usr/share/applications/bacula.desktop
613 cp -p src/tray-monitor/generic.xpm $RPM_BUILD_ROOT/usr/share/pixmaps/bacula-tray-monitor.xpm
614 cp -p scripts/bacula-tray-monitor.desktop $RPM_BUILD_ROOT/usr/share/applications/bacula-tray-monitor.desktop
617 cp -p scripts/bacula.png $RPM_BUILD_ROOT/usr/share/pixmaps/bacula.png
618 cp -p scripts/bacula.desktop.gnome1.consolehelper $RPM_BUILD_ROOT/usr/share/gnome/apps/System/bacula.desktop
619 cp -p scripts/gnome-console.console_apps $RPM_BUILD_ROOT/etc/security/console.apps/gnome-console
620 cp -p scripts/gnome-console.pamd $RPM_BUILD_ROOT/etc/pam.d/gnome-console
621 ln -sf consolehelper $RPM_BUILD_ROOT/usr/bin/gnome-console
623 %if %{rh8} || %{rh9} || %{wb3} || %{fc1} || %{fc3} || %{mdk}
624 cp -p scripts/bacula.png $RPM_BUILD_ROOT/usr/share/pixmaps/bacula.png
625 cp -p scripts/bacula.desktop.gnome2.consolehelper $RPM_BUILD_ROOT/usr/share/applications/bacula.desktop
626 cp -p scripts/gnome-console.console_apps $RPM_BUILD_ROOT/etc/security/console.apps/gnome-console
627 cp -p scripts/gnome-console.pamd $RPM_BUILD_ROOT/etc/pam.d/gnome-console
628 ln -sf consolehelper $RPM_BUILD_ROOT/usr/bin/gnome-console
630 %if ! %{rh7} && ! %{rh8}
631 cp -p src/tray-monitor/generic.xpm $RPM_BUILD_ROOT/usr/share/pixmaps/bacula-tray-monitor.xpm
632 cp -p scripts/bacula-tray-monitor.desktop $RPM_BUILD_ROOT/usr/share/applications/bacula-tray-monitor.desktop
637 cp -p %{depkgs}/sqlite/sqlite $RPM_BUILD_ROOT%{sqlite_bindir}/sqlite
638 cp -p %{depkgs}/sqlite/sqlite.h $RPM_BUILD_ROOT%{sqlite_bindir}/sqlite.h
639 cp -p %{depkgs}/sqlite/libsqlite.a $RPM_BUILD_ROOT%{sqlite_bindir}/libsqlite.a
642 # install the logrotate file
643 cp -p scripts/logrotate $RPM_BUILD_ROOT/etc/logrotate.d/bacula
645 # install the updatedb scripts
646 cp -p updatedb/* $RPM_BUILD_ROOT/etc/bacula/updatedb/
648 # install the logwatch scripts
649 cp -p scripts/logwatch/bacula $RPM_BUILD_ROOT/etc/log.d/scripts/services/bacula
650 cp -p scripts/logwatch/logfile.bacula.conf $RPM_BUILD_ROOT/etc/log.d/conf/logfiles/bacula.conf
651 cp -p scripts/logwatch/services.bacula.conf $RPM_BUILD_ROOT/etc/log.d/conf/services/bacula.conf
652 chmod 755 $RPM_BUILD_ROOT/etc/log.d/scripts/services/bacula
653 chmod 644 $RPM_BUILD_ROOT/etc/log.d/conf/logfiles/bacula.conf
654 chmod 644 $RPM_BUILD_ROOT/etc/log.d/conf/services/bacula.conf
656 # install the rescue files
657 mkdir $RPM_BUILD_ROOT/etc/bacula/rescue
658 cp -p %{_rescuesrc}/Makefile* $RPM_BUILD_ROOT/etc/bacula/rescue/
659 cp -p %{_rescuesrc}/README $RPM_BUILD_ROOT/etc/bacula/rescue/
660 cp -p %{_rescuesrc}/configure $RPM_BUILD_ROOT/etc/bacula/rescue/
661 cp -p %{_rescuesrc}/version.h $RPM_BUILD_ROOT/etc/bacula/rescue/
662 cp -pr %{_rescuesrc}/linux $RPM_BUILD_ROOT/etc/bacula/rescue/
663 cp -pr %{_rescuesrc}/autoconf $RPM_BUILD_ROOT/etc/bacula/rescue/
665 # now clean up permissions that are left broken by the install
666 chmod o-r $RPM_BUILD_ROOT/etc/bacula/query.sql
667 chmod o-rwx $RPM_BUILD_ROOT/var/bacula
668 %if ! %{rh7} && ! %{rh8}
669 chmod 755 $RPM_BUILD_ROOT/usr/sbin/bacula-tray-monitor
670 chmod 644 $RPM_BUILD_ROOT/etc/bacula/tray-monitor.conf
674 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf "$RPM_BUILD_ROOT"
679 %defattr(-,root,root)
683 /etc/bacula/create_mysql_database
684 /etc/bacula/drop_mysql_database
685 /etc/bacula/make_mysql_tables
686 /etc/bacula/drop_mysql_tables
687 /etc/bacula/update_mysql_tables
688 /etc/bacula/grant_mysql_privileges
689 /etc/bacula/create_bacula_database
690 /etc/bacula/drop_bacula_database
691 /etc/bacula/grant_bacula_privileges
692 /etc/bacula/make_bacula_tables
693 /etc/bacula/drop_bacula_tables
694 /etc/bacula/update_bacula_tables
695 /etc/bacula/make_catalog_backup
696 /etc/bacula/delete_catalog_backup
697 /etc/bacula/startmysql
698 /etc/bacula/stopmysql
699 /etc/bacula/mtx-changer
700 /etc/bacula/btraceback.dbx
701 /etc/bacula/btraceback.gdb
702 #/etc/bacula/dvd-freespace
703 #/etc/bacula/dvd-writepart
704 /etc/bacula/dvd-handler
705 /etc/init.d/bacula-dir
706 /etc/init.d/bacula-fd
707 /etc/init.d/bacula-sd
710 %doc COPYING ChangeLog ReleaseNotes VERIFYING kernstodo
711 %doc %{_docsrc}/manual/bacula.pdf %{_docsrc}/developers/developers.pdf %{_docsrc}/manual/bacula ../Release_Notes-%{version}-%{release}.txt
714 /etc/logrotate.d/bacula
715 /etc/log.d/scripts/services/bacula
716 %config(noreplace) /etc/bacula/bacula-dir.conf
717 %config(noreplace) /etc/bacula/bacula-fd.conf
718 %config(noreplace) /etc/bacula/bacula-sd.conf
719 %config(noreplace) /etc/bacula/bconsole.conf
720 %config(noreplace) /etc/log.d/conf/logfiles/bacula.conf
721 %config(noreplace) /etc/log.d/conf/services/bacula.conf
722 /etc/bacula/query.sql
743 # test for bacula database older than version 8
744 # note: this ASSUMES no password has been set for bacula database
745 DB_VER=`mysql 2>/dev/null bacula -e 'select * from Version;'|tail -n 1`
747 if [ -n "$DB_VER" ] && [ "$DB_VER" -lt "8" ]; then
748 echo "This bacula upgrade will update a bacula database from version 8 to 9."
749 echo "You appear to be running database version $DB_VER. You must first update"
750 echo "your database to version 8 and then install this upgrade. The alternative"
751 echo "is to use /etc/bacula/drop_mysql_tables to delete all your your current"
752 echo "catalog information, then do the upgrade. Information on updating a"
753 echo "database older than version 8 can be found in the release notes."
756 # check for and copy /etc/bacula/console.conf to bconsole.conf
757 if [ -s /etc/bacula/console.conf ];then
758 cp -p /etc/bacula/console.conf /etc/bacula/bconsole.conf
764 if [ "$1" -ge 1 ] ; then
765 /sbin/chkconfig --add bacula-dir
766 /sbin/chkconfig --add bacula-fd
767 /sbin/chkconfig --add bacula-sd
770 # test for an existing database
771 # note: this ASSUMES no password has been set for bacula database
772 DB_VER=`mysql 2>/dev/null bacula -e 'select * from Version;'|tail -n 1`
774 # grant privileges and create tables if they do not exist
775 if [ -z "$DB_VER" ]; then
776 echo "Hmm, doesn't look like you have an existing database."
777 echo "Granting privileges for MySQL user bacula..."
778 /etc/bacula/grant_mysql_privileges
779 echo "Creating MySQL bacula database..."
780 /etc/bacula/create_mysql_database
781 echo "Creating bacula tables..."
782 /etc/bacula/make_mysql_tables
784 # check to see if we need to upgrade a 1.36 or lower database
785 elif [ "$DB_VER" -lt "9" ]; then
786 echo "This release requires an upgrade to your bacula database."
787 echo "Backing up your current database..."
788 mysqldump -f --opt bacula | bzip2 > %{working_dir}/bacula_backup.sql.bz2
789 echo "Upgrading bacula database ..."
790 /etc/bacula/update_mysql_tables
791 echo "If bacula works correctly you can remove the backup file %{working_dir}/bacula_backup.sql.bz2"
795 # create the daemon group
796 HAVE_BACULA=`grep %{daemon_group} %{group_file} 2>/dev/null`
797 if [ -z $HAVE_BACULA ]; then
798 %{groupadd} -r %{daemon_group} > /dev/null 2>&1
799 echo "The group %{daemon_group} has been added to %{group_file}."
800 echo "See the manual chapter Running Bacula for details."
806 /sbin/chkconfig --del bacula-dir
807 /sbin/chkconfig --del bacula-fd
808 /sbin/chkconfig --del bacula-sd
816 %defattr(-,root,root)
820 /etc/bacula/create_bacula_database
821 /etc/bacula/drop_bacula_database
822 /etc/bacula/grant_bacula_privileges
823 /etc/bacula/make_bacula_tables
824 /etc/bacula/drop_bacula_tables
825 /etc/bacula/update_bacula_tables
826 /etc/bacula/create_sqlite_database
827 /etc/bacula/drop_sqlite_database
828 /etc/bacula/grant_sqlite_privileges
829 /etc/bacula/make_sqlite_tables
830 /etc/bacula/drop_sqlite_tables
831 /etc/bacula/update_sqlite_tables
832 /etc/bacula/make_catalog_backup
833 /etc/bacula/delete_catalog_backup
834 /etc/bacula/mtx-changer
835 /etc/bacula/btraceback.dbx
836 /etc/bacula/btraceback.gdb
837 #/etc/bacula/dvd-freespace
838 #/etc/bacula/dvd-writepart
839 /etc/bacula/dvd-handler
840 /etc/init.d/bacula-dir
841 /etc/init.d/bacula-fd
842 /etc/init.d/bacula-sd
845 %doc COPYING ChangeLog ReleaseNotes VERIFYING kernstodo
846 %doc %{_docsrc}/manual/bacula.pdf %{_docsrc}/developers/developers.pdf %{_docsrc}/manual/bacula ../Release_Notes-%{version}-%{release}.txt
849 /etc/logrotate.d/bacula
850 /etc/log.d/scripts/services/bacula
851 %config(noreplace) /etc/bacula/bacula-dir.conf
852 %config(noreplace) /etc/bacula/bacula-fd.conf
853 %config(noreplace) /etc/bacula/bacula-sd.conf
854 %config(noreplace) /etc/bacula/bconsole.conf
855 %config(noreplace) /etc/log.d/conf/logfiles/bacula.conf
856 %config(noreplace) /etc/log.d/conf/services/bacula.conf
857 /etc/bacula/query.sql
858 %{sqlite_bindir}/libsqlite.a
859 %{sqlite_bindir}/sqlite.h
878 %{sqlite_bindir}/sqlite
882 # test for bacula database older than version 8
883 if [ -s %{working_dir}/bacula.db ] && [ -s %{sqlite_bindir}/sqlite ];then
884 DB_VER=`echo "select * from Version;" | %{sqlite_bindir}/sqlite 2>/dev/null %{working_dir}/bacula.db | tail -n 1`
885 if [ -n "$DB_VER" ] && [ "$DB_VER" -lt "8" ]; then
886 echo "This bacula upgrade will update a bacula database from version 8 to 9."
887 echo "You appear to be running database version $DB_VER. You must first update"
888 echo "your database to version 8 and then install this upgrade. The alternative"
889 echo "is to use /etc/bacula/drop_sqlite_tables to delete all your your current"
890 echo "catalog information, then do the upgrade. Information on updating a"
891 echo "database older than version 8 can be found in the release notes."
895 # check for and copy /etc/bacula/console.conf to bconsole.conf
896 if [ -s /etc/bacula/console.conf ];then
897 cp -p /etc/bacula/console.conf /etc/bacula/bconsole.conf
902 if [ "$1" -ge 1 ] ; then
903 /sbin/chkconfig --add bacula-dir
904 /sbin/chkconfig --add bacula-fd
905 /sbin/chkconfig --add bacula-sd
908 # test for an existing database
909 if [ -s %{working_dir}/bacula.db ]; then
910 DB_VER=`echo "select * from Version;" | %{sqlite_bindir}/sqlite 2>/dev/null %{working_dir}/bacula.db | tail -n 1`
911 # check to see if we need to upgrade a 1.36 or lower database
912 if [ "$DB_VER" -lt "8" ]; then
913 echo "This bacula upgrade requires a database update to version 9. You appear to"
914 echo "be running database version $DB_VER. You must update your database using the"
915 echo "upgrade scripts in the bacula-updatedb package. The alternative"
916 echo "is to use /etc/bacula/drop_sqlite_tables to delete all your your current"
917 echo "catalog information, then /etc/bacula/make_sqlite_tables. Information on updating a"
918 echo "database older than version 8 can be found in the release notes."
921 if [ "$DB_VER" -lt "9" ] && [ "$DB_VER" -ge "8" ]; then
922 echo "This release requires an upgrade to your bacula database."
923 echo "Backing up your current database..."
924 echo ".dump" | %{sqlite_bindir}/sqlite %{working_dir}/bacula.db | bzip2 > %{working_dir}/bacula_backup.sql.bz2
925 echo "Upgrading bacula database ..."
926 /etc/bacula/update_sqlite_tables
927 echo "If bacula works correctly you can remove the backup file %{working_dir}/bacula_backup.sql.bz2"
930 # create the database and tables
931 echo "Hmm, doesn't look like you have an existing database."
932 echo "Creating SQLite database..."
933 /etc/bacula/create_sqlite_database
934 echo "Creating the SQLite tables..."
935 /etc/bacula/make_sqlite_tables
938 # create the daemon group
939 HAVE_BACULA=`grep %{daemon_group} %{group_file} 2>/dev/null`
940 if [ -z $HAVE_BACULA ]; then
941 %{groupadd} -r %{daemon_group} > /dev/null 2>&1
942 echo "The group %{daemon_group} has been added to %{group_file}."
943 echo "See the manual chapter Running Bacula for details."
949 /sbin/chkconfig --del bacula-dir
950 /sbin/chkconfig --del bacula-fd
951 /sbin/chkconfig --del bacula-sd
959 %defattr(-,root,root)
963 /etc/bacula/create_postgresql_database
964 /etc/bacula/drop_postgresql_database
965 /etc/bacula/make_postgresql_tables
966 /etc/bacula/drop_postgresql_tables
967 /etc/bacula/update_postgresql_tables
968 /etc/bacula/grant_postgresql_privileges
969 /etc/bacula/create_bacula_database
970 /etc/bacula/drop_bacula_database
971 /etc/bacula/grant_bacula_privileges
972 /etc/bacula/make_bacula_tables
973 /etc/bacula/drop_bacula_tables
974 /etc/bacula/update_bacula_tables
975 /etc/bacula/make_catalog_backup
976 /etc/bacula/delete_catalog_backup
977 /etc/bacula/mtx-changer
978 /etc/bacula/btraceback.dbx
979 /etc/bacula/btraceback.gdb
980 #/etc/bacula/dvd-freespace
981 #/etc/bacula/dvd-writepart
982 /etc/bacula/dvd-handler
983 /etc/init.d/bacula-dir
984 /etc/init.d/bacula-fd
985 /etc/init.d/bacula-sd
988 %doc COPYING ChangeLog ReleaseNotes VERIFYING kernstodo
989 %doc %{_docsrc}/manual/bacula.pdf %{_docsrc}/developers/developers.pdf %{_docsrc}/manual/bacula ../Release_Notes-%{version}-%{release}.txt
992 /etc/logrotate.d/bacula
993 /etc/log.d/scripts/services/bacula
994 %config(noreplace) /etc/bacula/bacula-dir.conf
995 %config(noreplace) /etc/bacula/bacula-fd.conf
996 %config(noreplace) /etc/bacula/bacula-sd.conf
997 %config(noreplace) /etc/bacula/bconsole.conf
998 %config(noreplace) /etc/log.d/conf/logfiles/bacula.conf
999 %config(noreplace) /etc/log.d/conf/services/bacula.conf
1000 /etc/bacula/query.sql
1003 /usr/sbin/bacula-dir
1011 /usr/sbin/btraceback
1014 /usr/sbin/loaderinfo
1021 # test for bacula database older than version 8
1022 # note: this ASSUMES no password has been set for bacula database
1023 DB_VER=`echo 'select * from Version;' | psql bacula 2>/dev/null | tail -3 | head -1`
1025 if [ -n "$DB_VER" ] && [ "$DB_VER" -lt "8" ]; then
1026 echo "This bacula upgrade will update a bacula database from version 8 to 9."
1027 echo "You appear to be running database version $DB_VER. You must first update"
1028 echo "your database to version 8 and then install this upgrade. The alternative"
1029 echo "is to use /etc/bacula/drop_postgresql_tables to delete all your your current"
1030 echo "catalog information, then do the upgrade. Information on updating a"
1031 echo "database older than version 8 can be found in the release notes."
1037 if [ "$1" -ge 1 ] ; then
1038 /sbin/chkconfig --add bacula-dir
1039 /sbin/chkconfig --add bacula-fd
1040 /sbin/chkconfig --add bacula-sd
1043 # test for an existing database
1044 # note: this ASSUMES no password has been set for bacula database
1045 DB_VER=`echo 'select * from Version;' | psql bacula 2>/dev/null | tail -3 | head -1`
1047 # grant privileges and create tables if they do not exist
1048 if [ -z "$DB_VER" ]; then
1049 echo "Hmm, doesn't look like you have an existing database."
1050 echo "Creating PostgreSQL bacula database..."
1051 /etc/bacula/create_postgresql_database
1052 echo "Creating bacula tables..."
1053 /etc/bacula/make_postgresql_tables
1054 echo "Granting privileges for PostgreSQL user bacula..."
1055 /etc/bacula/grant_postgresql_privileges
1057 # check to see if we need to upgrade a 1.36 or lower database
1058 elif [ "$DB_VER" -lt "9" ]; then
1059 echo "This release requires an upgrade to your bacula database."
1060 echo "Backing up your current database..."
1061 pg_dump bacula | bzip2 > %{working_dir}/bacula_backup.sql.bz2
1062 echo "Upgrading bacula database ..."
1063 /etc/bacula/update_postgresql_tables
1064 echo "If bacula works correctly you can remove the backup file %{working_dir}/bacula_backup.sql.bz2"
1068 # create the daemon group
1069 HAVE_BACULA=`grep %{daemon_group} %{group_file} 2>/dev/null`
1070 if [ -z $HAVE_BACULA ]; then
1071 %{groupadd} -r %{daemon_group} > /dev/null 2>&1
1072 echo "The group %{daemon_group} has been added to %{groupfile}."
1073 echo "See the manual chapter Running Bacula for details."
1080 /sbin/chkconfig --del bacula-dir
1081 /sbin/chkconfig --del bacula-fd
1082 /sbin/chkconfig --del bacula-sd
1088 %defattr(-,root,root)
1090 /etc/bacula/bconsole
1091 /etc/init.d/bacula-fd
1094 %doc COPYING ChangeLog ReleaseNotes VERIFYING kernstodo
1095 %doc %{_docsrc}/manual/bacula.pdf %{_docsrc}/developers/developers.pdf %{_docsrc}/manual/bacula ../Release_Notes-%{version}-%{release}.txt
1097 /etc/logrotate.d/bacula
1099 %config(noreplace) /etc/bacula/bacula-fd.conf
1100 %config(noreplace) /etc/bacula/bconsole.conf
1104 /usr/sbin/btraceback
1105 /etc/bacula/btraceback.gdb
1106 /etc/bacula/btraceback.dbx
1113 if [ "$1" -ge 1 ] ; then
1114 /sbin/chkconfig --add bacula-fd
1117 # create the daemon group
1118 HAVE_BACULA=`cat %{group_file} | grep %{daemon_group} 2>/dev/null`
1119 if [ -z $HAVE_BACULA ]; then
1120 %{groupadd} -r %{daemon_group} > /dev/null 2>&1
1121 echo "The group %{daemon_group} has been added to %{group_file}."
1122 echo "See the manual chapter Running Bacula for details."
1128 /sbin/chkconfig --del bacula-fd
1132 %defattr(-,root,root)
1133 /etc/bacula/updatedb/*
1136 echo "The database update scripts were installed to /etc/bacula/updatedb"
1139 %defattr(-,root,root)
1140 /usr/sbin/gnome-console
1141 /etc/bacula/gconsole
1142 %config(noreplace) /etc/bacula/gnome-console.conf
1143 /usr/share/pixmaps/bacula.png
1146 /usr/share/gnome/apps/System/bacula.desktop
1148 /usr/share/applications/bacula.desktop
1151 %if ! %{rh7} && ! %{rh8}
1152 /usr/sbin/bacula-tray-monitor
1153 %config(noreplace) /etc/bacula/tray-monitor.conf
1154 /usr/share/pixmaps/bacula-tray-monitor.xpm
1155 /usr/share/applications/bacula-tray-monitor.desktop
1159 # add the console helper files
1160 %config(noreplace,missingok) /etc/pam.d/gnome-console
1161 %config(noreplace,missingok) /etc/security/console.apps/gnome-console
1162 /usr/bin/gnome-console
1167 * Sat Nov 05 2005 D. Scott Barninger <barninger@fairfieldcomputers.com>
1169 - kern changed location of pdf files and html manual in docs package
1170 * Sun Oct 30 2005 D. Scott Barninger <barninger@fairfieldcomputers.com>
1172 - add docs (from prebuilt tarball) and rescue packages back in
1173 - remove dvd-freespace and dvd-writepart files, add dvd-handler
1174 - remove 3 of 4 sqlite script patches as not needed
1175 * Sun Jul 24 2005 D. Scott Barninger <barninger@fairfieldcomputers.com>
1177 - remove docs and rescue sections (remove static fd)
1178 - add dvd-freespace and dvd-writepart files
1179 - update depkgs to 22Jun05
1180 - change database update to 8 to 9
1181 * Sun Jul 24 2005 D. Scott Barninger <barninger@fairfieldcomputers.com>
1182 - minor cleanups before 1.38 changes
1183 - add popt and popt-devel build dependencies
1184 - add tetex and tetex-dvips dependencies for doc build
1185 - replace deprecated Copyright tag with License
1186 * Sat May 07 2005 D. Scott Barninger <barninger@fairfieldcomputers.com>
1187 - move sqlite installation bindir to /usr/lib/bacula/sqlite and remove
1188 - conflict with sqlite packages. remove readline dependency.
1189 * Sun Apr 17 2005 D. Scott Barninger <barninger@fairfieldcomputers.com>
1190 - release 1.36.3 update docs
1191 * Tue Apr 05 2005 D. Scott Barninger <barninger@fairfieldcomputers.com>
1192 - add centos4 build tag
1193 - add x86_64 build tag
1194 * Sun Apr 03 2005 D. Scott Barninger <barninger@fairfieldcomputers.com>
1195 - add rhel4 build tag
1196 - clean up for mysql4 which is now mdk-10.1, suse-9.2 and rhel4
1197 * Sun Mar 06 2005 D. Scott Barninger <barninger@fairfieldcomputers.com>
1198 - add rhel3 build tag
1199 * Tue Mar 01 2005 D. Scott Barninger <barninger@fairfieldcomputers.com>
1200 - fix tray-monitor.conf for noreplace
1201 * Mon Feb 28 2005 D. Scott Barninger <barninger@fairfieldcomputers.com>
1202 - fix distribution check for Fedora and Whitebox
1203 * Sun Feb 06 2005 D. Scott Barninger <barninger@fairfieldcomputers.com>
1204 - add logwatch script
1206 * Sat Jan 15 2005 D. Scott Barninger <barninger@fairfieldcomputers.com>
1207 - add build for Fedora Core 3 (linc now included in ORDit2)
1208 - add mysql4 define for Mandrake 10.1
1209 * Fri Jan 14 2005 D. Scott Barninger <barninger@fairfieldcomputers.com>
1210 - fix {group_file} variable in post scripts
1211 * Thu Dec 30 2004 D. Scott Barninger <barninger@fairfieldcomputers.com>
1212 - add distribution checking and custom Distribution tag
1213 * Thu Dec 09 2004 D. Scott Barninger <barninger at fairfieldcomputers.com>
1214 - ASSIGNMENT OF COPYRIGHT
1215 - FOR VALUE RECEIVED, D. Scott Barninger hereby sells, transfers and
1216 - assigns unto Kern Sibbald, his successors, assigns and personal representatives,
1217 - all right, title and interest in and to the copyright in this software RPM
1218 - spec file. D. Scott Barninger warrants good title to said copyright, that it is
1219 - free of all liens, encumbrances or any known claims against said copyright.
1220 * Sat Dec 04 2004 D. Scott Barninger <barninger at fairfieldcomputers.com>
1222 - thanks to Daniel Widyono
1223 - update description for rescue package to describe cdrom creation
1224 * Thu Nov 18 2004 D. Scott Barninger <barninger at fairfieldcomputers.com>
1225 - update depkgs to 29Oct04
1226 * Fri Nov 12 2004 D. Scott Barninger <barninger at fairfieldcomputers.com>
1227 - add cdrom rescue to bacula-rescue package
1228 * Sun Oct 31 2004 D. Scott Barninger <barninger at fairfieldcomputers.com>
1229 - misc fixes from 1.36.0 suse feedback
1230 - fix situation where sqlite database exists but sqlite has been removed.
1231 * Fri Oct 22 2004 D. Scott Barninger <barninger at fairfieldcomputers.com>
1232 - remove tray-monitor from RH8 build
1233 - fix permissions on tray-monitor files
1234 * Wed Oct 13 2004 D. Scott Barninger <barninger at fairfieldcomputers.com>
1235 - add Mandrake support and tray-monitor, misc changes for 1.35.8/1.36.0,
1236 - change database update to 7 to 8 upgrade,
1237 - revert depkgs to 08Mar04 as there seems to be a bug in the sqlite
1238 - build in 30Jul04, add freetype dependancy to gnome package.
1239 * Sun Sep 12 2004 D. Scott Barninger <barninger at fairfieldcomputers.com>
1240 - add documentation to console for groupadd
1241 * Sat Sep 04 2004 D. Scott Barninger <barninger at fairfieldcomputers.com>
1242 - add support for running daemons as root.bacula
1243 - correct for change in location of floppy rescue files in 1.35.2
1244 - removed /etc/bacula/fd script from all packages as it has disappeared from 1.35.2
1245 - updated depgkgs to 30Jul04
1246 * Thu Jun 24 2004 D. Scott Barninger <barninger at fairfieldcomputers.com>
1247 - really, really fix symlink creation for gconsole
1248 * Thu Jun 17 2004 D. Scott Barninger <barninger at fairfieldcomputers.com>
1249 - fix symlink creation in gconsole post install
1250 * Sat Jun 12 2004 D. Scott Barninger <barninger at fairfieldcomputers.com>
1251 - fixed error in gconsole post script
1252 * Fri Apr 30 2004 D. Scott Barninger <barninger at fairfieldcomputers.com>
1253 - add check for gconsole symlink before trying to create it
1254 * Sun Apr 11 2004 D. Scott Barninger <barninger at fairfieldcomputers.com>
1255 - fix some minor permissions issues on doc files that CVS won't let us fix
1256 * Sun Apr 04 2004 D. Scott Barninger <barninger at fairfieldcomputers.com>
1257 - add pkgconfig to BuildRequires
1258 - clean up gnome1/2 menu entries for appropriate packages
1259 * Fri Apr 02 2004 D. Scott Barninger <barninger at fairfieldcomputers.com>
1260 - tightened up doc distribution
1261 * Tue Mar 30 2004 D. Scott Barninger <barninger at fairfieldcomputers.com>
1262 - added usermode (Redhat) and xsu (SuSE) support for gnome-console;
1263 - rpm's horrible bug that prevents nested conditional macros prevents me
1264 - from implementing these 2 separate approaches within the conditionals which
1265 - create the separate server packages.
1266 - the solution adopted is to remove the gnome-console files from the server packages
1267 - so bacula-gconsole is now an add on for both client and server packages.
1268 - this also now allows the server packages to be install on machines without
1269 - an X-server and we can still maintain a single spec file.
1270 - added tests to make sure we have defined platform and database macros.
1271 * Sat Mar 13 2004 D. Scott Barninger <barninger at fairfieldcomputers.com>
1272 - corrected mysql prerequisites for suse
1273 * Mon Mar 1 2004 D. Scott Barninger <barninger at fairfieldcomputers.com>
1274 - replaced all cp commands with cp -p
1275 - removed addition of a+x permissions on gnome-console
1276 - corrected permissions on init scripts
1277 * Sat Feb 28 2004 D. Scott Barninger <barninger at fairfieldcomputers.com>
1278 - corrected creation of sqlite_bindir in install from !mysql to sqlite
1280 - various cleanup patches from Michael K. Johnson:
1281 - corrected post install routines for nicer chkconfig
1282 - removed chmod changes in post routines and moved to install section
1283 - removed interactive nature of post routine for rescue package
1284 - added description of building rescue disks to the description of rescue package
1285 - added clean of build root to beginning of install
1286 - removed specifying attr in all file lists
1287 * Fri Feb 20 2004 D. Scott Barninger <barninger at fairfieldcomputers.com>
1288 - added bconsole to client package
1289 - added gconsole package as add-on to client
1290 - removed spurious dependancies on updatedb package (!cut/paste)
1291 * Thu Feb 19 2004 D. Scott Barninger <barninger at fairfieldcomputers.com>
1292 - added updatedb package
1293 * Thu Feb 12 2004 D. Scott Barninger <barninger at fairfieldcomputers.com>
1294 - added postgresql package
1295 * Wed Feb 11 2004 D. Scott Barninger <barninger at fairfieldcomputers.com>
1296 - corrected the if else logic in the dependancy sections
1297 - changes for 1.34 release
1298 - /etc/bacula/console is now /etc/bacula/bconsole
1299 - /etc/bacula/console.conf is now /etc/bacula/bconsole.conf
1300 - /usr/sbin/btraceback.gdb is now /etc/bacula/btraceback.gdb
1301 - /usr/sbin/smtp is now /usr/sbin/bsmtp
1302 - added new /etc/bacula/drop_mysql_database
1303 - added new /etc/bacula/drop_sqlite_database
1304 - added new /etc/bacula/grant_sqlite_privileges
1305 - added new generic bacula database scripts in /etc/bacula
1306 - added pre-install sections to check for database versions older than 6
1307 - added check for /etc/bacula/console.conf and copy to bconsole.conf
1308 * Sun Feb 08 2004 D. Scott Barninger <barninger at fairfieldcomputers.com>
1309 - added /etc/bacula/update_sqlite_tables and /etc/bacula/update_mysql_tables for 1.34 release
1310 - added testing for existing databases before executing any of the database creation scripts
1311 - added defines working_dir and sqlite_bindir in place of hard coded paths
1312 * Sat Jan 31 2004 D. Scott Barninger <barninger at fairfieldcomputers.com>
1313 - added build configuration for SuSE.
1314 - Thanks to Matt Vollmar <matt at panamschool.edu.sv> for his input
1315 * Sat Jan 24 2004 D. Scott Barninger <barninger at fairfieldcomputers.com>
1316 - added patch for create_sqlite_database to fix the installed bindir
1317 - added execute of create_sqlite_database to post of sqlite package
1318 * Sat Jan 10 2004 D. Scott Barninger <barninger at fairfieldcomputers.com>
1319 - added virtual package Provides bacula-dir, bacula-sd, bacula-fd
1320 - added bacula-fd as Requires for rescue package
1321 - added build tag for Fedora Core 1
1322 - cleaned up dependancies for all builds
1323 * Thu Jan 1 2004 D. Scott Barninger <barninger at fairfieldcomputers.com>
1324 - removed rh_version from package names
1325 - added platform build configuration section to beginning of file
1326 * Tue Nov 25 2003 D. Scott Barninger <barninger at fairfieldcomputers.com>
1327 - removed make_static_bacula script from rescue package install
1328 * Sun Nov 23 2003 D. Scott Barninger <barninger at fairfieldcomputers.com>
1329 - Added define at top of file for depkgs version
1330 - Added rescue sub-package
1331 - Moved requires statements into proper sub-package locations
1332 * Mon Oct 27 2003 D. Scott Barninger <barninger at fairfieldcomputers.com>
1333 - Corrected Requires for Gnome 1.4/2.0 builds
1334 * Fri Oct 24 2003 D. Scott Barninger <barninger at fairfieldcomputers.com>
1335 - Added separate source declaration for depkgs
1336 - added patch for make_catalog_backup script
1337 * Mon May 11 2003 D. Scott Barninger <barninger at fairfieldcomputers.com>
1338 - Misc changes to mysql/sqlite build and rh7/8 menu differences
1339 - Added rh_version to sub-package names
1340 - Added installed but missing file /etc/bacula/gconsole
1341 - rm'd /etc/bacula/grant_mysql_privileges on sqlite builds
1342 * Thu May 08 2003 Kern Sibbald <kern at sibbald.com>
1343 - Update spec for version 1.31 and combine client
1344 * Sun Mar 30 2003 D. Scott Barninger <barninger at fairfieldcomputers.com>