Bacula-users

[Bacula-users] bacula 3.0.1 rpm release

2009-05-03 08:20:38
Subject: [Bacula-users] bacula 3.0.1 rpm release
From: Scott Barninger <scott AT barninger DOT com>
To: "Bacula-Announce" <bacula-announce AT lists.sourceforge DOT net>, "Bacula-Users" <bacula-users AT lists.sourceforge DOT net>, "Bacula-Devel" <bacula-devel AT lists.sourceforge DOT net>
Date: Sun, 3 May 2009 08:13:36 -0400
Bacula-3.0 RPM Release Notes
02 May 2009
D. Scott Barninger
<barninger at fairfieldcomputers dot com>

Release 3.0.1-1

This release incorporates a number of significant changes since 2.0.

These release notes refer to the rpm packaging only.
Please refer to the release notes and changelog in the
tarball or on sourceforge for complete information on all changes.


*****************
* Miscellaneous *
*****************

Added build switch to pass Distribution tag:
--define "DISTNAME Distribution Name"

Building rescue files is now off by default as it doesn't work and as
of this release the static fd won't build for me. Thus the nobuild_rescue
switch is replaced by build_rescue.

Added build target for su111

Added nobuild_rescue switch to supress building the rescue package

Removed libtermcap dependency for fc9

Added build target for su110

Added build target for fc9

File location changes for compatibility with FHS.

Force stripping of binaries for SuSE packages.

Fixed bug 1037.

Added nobuild_mtx switch to supress build of mtx package.

Added missing files now required by the rescue configure script.

Corrected dist target for rhel5.

Corrected QT dependency name for RedHat flavors.

Added fix for RHEL5 64 bit QT paths.

Added build target for su103.

Added build targets for rhel5 and clones.

Build target added for Scientific Linux (RHEL clone) thanks to Jon Peatfield.

Merged Otto Mueller's patch changing some directory locations for FHS 
compatibility
but retaining the script directory as /etc/bacula.

gnome-console and wxconsole have been renamed to bgnome-console and 
bwx-console 
respectively.

***************************************************
* New Build Option to Install in Single Directory *
***************************************************

A new build define has been added which will build packages that install most 
of the 
files to /opt/bacula. Only the man pages, init scripts, logwatch and menu 
entries are 
installed to the root filesystem.

--define "single_dir_install 1"

*****************************************
* Buffer Overflow Error and Crash in fd *
*****************************************

Fedora 8/9 now set -D_FORTIFY_SOURCE=2 as default compiler option. This 
will probably be true on other platforms as they move to glibc >= 2.7. This 
causes a false "buffer overflow detected" error and crash in bacula-fd and 
other executables. 

To avoid this problem a workaround for Redhat platforms is to set the CFLAGS 
in your ~/.rpmmacros file as follows:

# uncomment for bacula
#%__global_cflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=0 -fno-exceptions 
-fno-strict-aliasing -fno-rtti

For SuSE platforms set as follows in your ~/.rpmrc file:

optflags: 
i586 -O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=0
optflags: x86_64 -O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=0

See the discussion thread on bacula-devel for more information:
http://sourceforge.net/search/?ml_name=bacula-devel&type_of_search=mlists&group_id=50727&words=%22buffer+overflow+detected%22

This problem should now be fixed in source but the project still 
recommends -D_FORTIFY_SOURCE=0.

***************************
* bat (Bacula Admin Tool) *
***************************

A new subpackage has been added for the new bat QT-based GUI administration 
tool.
This requires QT >= 4.2

--define "build_bat 1"

If you encounter problems building the bat package on platforms where 
you do have the proper QT4 support (QT >= 4.2) it may be necessary to 
adjust your $QTDIR and $PATH variables. On Fedora 8/9 it was necessary to:

export QTDIR=/usr/lib/qt4;export PATH=/usr/lib/qt4/bin:$PATH;rpmbuild
blah...

As of 2.4.4 this should no longer be necessary as we sniff the paths with 
pkgconfig.

As of 3.0.0 Gnome console and WX console are deprecated in favor of bat.

*******************************************
* Gnome console dropped on some platforms *
*******************************************

The gconsole package has been dropped on older gnome platforms (gtk+ < 2.4). 
Changes in the gnome api and code produced by Glade no longer build. 
In addition, the tray monitor now fails to build on < 2.10 platforms.
gconsole is now not built on the following platforms:
rh7, rh8, rh9, rhel3 (and clones), fc1, fc3, fc4, mdk, su9, su10

*******************
* Database update *
*******************

The 3.x release requires an update to the bacula database structure
from version 10 to version 11. A pre-install routine will
check for databases older than 10. In that event the install will exit
with an error message indicating that the database must be updated to
version 10 before installing this upgrade. Scripts for updating older
database formats are available for download in the bacula-updatedb
rpm package. In the event a version 10 database is detected a post-install 
routine will update the database after creating a backup file in the 
bacula working directory.

******************
* SQLite Upgrade *
******************

For users of the sqlite package, from 2.2.7 onward sqlite3 replaces 
sqlite2. Your sqlite2 database file (/var/lib/bacula/bacula.db) is not 
compatible with sqlite3. During an upgrade the pre-install script will 
check for this situation. If found it will dump your catalog data to the 
file /var/lib/bacula/bacula_backup.sql, rename your old catalog file to 
/var/lib/bacula/bacula.db.old, and exit. You should then re-run the rpm 
upgrade. After the upgrade is complete restore your catalog data with 
the following commands (as root):

/etc/bacula/drop_sqlite3_tables
cd /var/lib/bacula
/usr/lib/bacula/sqlite/sqlite3 $* bacula.db < bacula_backup.sql
chown bacula.bacula bacula.db

******************
* Platform Notes *
******************

The spec file currently supports building on the following platforms:

# RedHat builds
--define "build_rh7 1"
--define "build_rh8 1"
--define "build_rh9 1"

# Fedora Core build
--define "build_fc1 1"
--define "build_fc3 1"
--define "build_fc4 1"
--define "build_fc5 1"
--define "build_fc6 1"
--define "build_fc7 1"
--define "build_fc8 1"
--define "build_fc9 1"

# Whitebox Enterprise build
--define "build_wb3 1"

# RedHat Enterprise builds
--define "build_rhel3 1"
--define "build_rhel4 1"
--define "build_rhel5 1"

# CentOS build
--define "build_centos3 1"
--define "build_centos4 1"
--define "build_centos5 1"

# Scientific Linux build
--define "build_sl3 1"
--define "build_sl4 1"
--define "build_sl5 1"

# SuSE build
--define "build_su9 1"
--define "build_su10 1"
--define "build_su102 1"
--define "build_su103 1"
--define "build_su110 1"
--define "build_su111 1"

# Mandrake 10.x build
--define "build_mdk 1"

# Mandriva build
--define "build_mdv 1"

**************************
* Database build options *
**************************

Database support (must select one or build client only)

MySQL support:
--define "build_mysql 1"
# OR if using mysql 4.x define this
# currently: Mandrake 10.x, SuSE 9.x & 10.0, RHEL4, fc4
--define "build_mysql4 1"
# OR if using mysql 5.x define this
# currently: SuSE 10.1 and higher, fc5 and higher
--define "build_mysql5 1"

PostgreSQL support:
--define "build_postgresql 1"

Sqlite support:
--define "build_sqlite 1"

***********************
* Other build options *
***********************

Supply a distribution name
--define "DISTNAME Distribution Name"

Build the rescue files:
--define "build_rescue 1"

Install to /opt/bacula:
--define "single_dir_install 1"

Supress build of mtx package:
--define "nobuild_mtx 1"

Supress build of Gnome Console:
--define "nobuild_gconsole 1"

Enable X86-64 support
--define "build_x86_64 1"

This build switch remains but should no longer be necessary. The configure 
script 
was adjusted in the 1.39 development series to correctly detect the location 
of 
64 bit libraries.

Enable wxconsole:
--define "build_wxconsole 1"

Enable bat:
--define "build_bat 1"

Enable python support:
--define "build_python 1"

Build the client package only:
--define "build_client_only 1"

**********************************
* Current binary package support *
**********************************

D. Scott Barninger <barninger at fairfieldcomputers dot com>
fc9 i386
su103 i586
su110 i586
su111 i586

Felix Schwarz <felix dot schwarz at web dot de>
fc6 i386
fc6 x86_64
fc7 i386
fc7 x86_64
el4 i386
el4 x86_64
el5 i386
el5 x86_64

PattiMichelle Sheaffer <pattimichelle at pattimichelle dot com>
su103 x86_64
su110 x86_64
su111 x86_64

Mandriva packages are available in the distribution contrib repository.

*************************
* Changelog since 2.0.0 *
*************************
* Sat May 02 2009 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- 3.0.1
- update for new docs configuration
* Sat Apr 25 2009 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- add switch to pass Distribution tag
* Sun Apr 5 2009 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- 3.0.0 release
- database update version 10 to 11
- make now installs docs so we rm from buildroot
- add shared libs in %_libdir and other misc new files
* Wed Dec 31 2008 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- add su111 target
* Sat Nov 08 2008 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- set paths for QT using pkgconfig
* Sat Oct 11 2008 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- release 2.4.3 update depkgs to 11Sep08 remove file nmshack from mtx package
* Sun Sep 07 2008 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- adjust /opt/bacula install
- add build switch to supress rescue package
* Sun Aug 24 2008 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- add support for install to /opt/bacula
* Sun Aug 17 2008 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- remove libtermcap dependancy for FC9
* Mon Aug 04 2008 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- fix bat dependencies
* Sat Jun 28 2008 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- add su110 target
* Sat May 24 2008 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- add fc9 target
* Sun Mar 30 2008 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- FHS compatibility changes
* Sat Feb 16 2008 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- remove fix for false buffer overflow detection with glibc >= 2.7
- eliminate use of configure macro
* Sat Feb 09 2008 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- fix for false buffer overflow detection with glibc >= 2.7
* Sun Jan 27 2008 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- 2.2.8 release
- add debug package for SuSE
* Sat Jan 12 2008 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- 2.2.8 beta release  
- fix bug 1037
- add fc8 target
* Fri Dec 28 2007 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- add nobuild_mtx switch
* Sat Nov 17 2007 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- switch to sqlite3
* Sun Nov 11 2007 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- add new files required by rescue makefile
* Sat Nov 10 2007 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- add su103 build target
* Sun Nov 04 2007 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- fix dist defines for rhel5 and clones
- fix rhel broken 64 bit QT4 paths
- rh qt4 packages don't provide qt so fix that too
* Mon Oct 29 2007 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- correct ownership when creating sqlite db file in post script
* Sun Sep 16 2007 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- fix disable-batch-insert
* Fri Sep 14 2007 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- 2.2.4 release
- turn off gconsole build for fc3, tray monitor fails to build
- add new files for mtx package (09Sep07 depkgs update)
* Sat Sep 08 2007 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- add --disable-batch-insert for older platforms
- add build targets for rhel5 and clones
* Mon Sep 03 2007 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- 2.2.1 release
- turn off gconsole build for su10 & fc4, tray monitor fails to build
* Sat Jul 14 2007 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- 2.1.26 add make of qwt in depkgs for bat
* Sat Jun 02 2007 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- upgrade Qt requirement for bat to 4.2
* Sun May 06 2007 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- add fc7 build target
* Sun Apr 29 2007 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- 2.1.8
- gnome-console now bgnome-console
- wxconsole now bwx-console
- add build option for bat
* Sat Apr 08 2007 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- merge Otto Mueller's patch but keep script dir set to /etc/bacula
- add build tag for Scientific Linux per Jon Peatfield 
<J.S.Peatfield AT damtp.cam.ac DOT uk>
* Tue Mar 27 2007 Otto Mueller <otto.mueller AT bundestag DOT de>
- adjust directory locations for FHS-compatibility
  sysconf_dir (/etc/bacula), script_dir (/usr/lib/bacula),
  working_dir (/var/lib/bacula) and pid_dir (/var/run)
* Mon Feb 26 2007 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- add SuSE 10.2 target
* Sat Jan 20 2007 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- correct bug 752
- set query.sql as config file
- correct bug 754
* Sun Jan 14 2007 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- 2.0.1 release
- change determination of gcc version per patch from Marc Hennes
- move BuildRequire for atk-devel to gnome only builds
- add fc6 build tag
* Sat Jan 06 2007 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- 2.0.0 release

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>