Bacula-users

[Bacula-users] bacula-5.0.2 rpm release to sourceforge

2010-05-02 15:21:10
Subject: [Bacula-users] bacula-5.0.2 rpm release to sourceforge
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, 2 May 2010 15:06:03 -0400
Bacula-5.0 RPM Release Notes
02 May 2010
D. Scott Barninger
<barninger at fairfieldcomputers dot com>

Release 5.0.2-1

This release incorporates a number of significant changes since 3.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.

*****************
* RPM packaging *
*****************

The docs, bat and mtx packages have been split out into separate spec files
and srpm packages and the contrib build script adapted. Mtx packages are no
longer provided as all current distributions should have one available. The
bat srpm includes qt4 and should be able to be built on older systems without
QT4.

Rebuilding any of these srpm packages is simply:
rpmbuild --rebuild bacula-bat-5.0.0-1.srpm

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

Applied patch for openssl version 1.x to build Fedora 12

Added build targets for su112, fc10, fc11 and fc12

Building rescue files is now removed as it doesn't work.

Added support to build with tcpwrappers.

Removed deprecated build_mysql4 and build_mysql5 defines.

Consoles are now built with readline support in place of conio.

*****************************************
* 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) *
***************************

The bat subpackage now has QT4 included in the new separate SRPM and can be
built on systems without QT4 available.

As of 3.0.0 Gnome console and WX console are deprecated in favor of bat. As of
5.0.0 support for building Gnome console, WX console and tray monitor have 
been
removed from the spec.

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

The 3.x and up releases require an update to the bacula database structure
from version 11 to version 12. A pre-install routine will
check for databases older than 11. In that event the install will exit
with an error message indicating that the database must be updated to
version 11 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 11 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

***************************
* New bacula-libs package *
***************************

The bacula shared libraries are now packaged separately in the bacula-libs
rpm package. This package is required by other packages now.

******************
* 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"
--define "build_fc10 1"
--define "build_fc11 1"
--define "build_fc12 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"
--define "build_su112 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"
Note that the old mysql4 and mysql5 defines are gone.

PostgreSQL support:
--define "build_postgresql 1"

Sqlite support:
--define "build_sqlite 1"

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

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

Install to /opt/bacula:
--define "single_dir_install 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 python support:
--define "build_python 1"

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

Enable tcpwrappers support:
--define "build_tcpwrappers 1"

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

D. Scott Barninger <barninger at fairfieldcomputers dot com>
fc10 i386
fc12 i686
su110 i586
su111 i586
su112 i586

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

Mandriva packages are available in the distribution contrib repository.

*************************
* Changelog since 3.0.0 *
*************************
* Sun Mar 07 2010 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- remove --without-qwt from configure statement
* Sat Feb 27 2010 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- move shared libraries into bacula-libs package
* Sat Feb 20 2010 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- remove deprecated mysql4 and mysql5 build defines
- add build support for tcpwrappers
- remove bacula_config file for client only build
- remove requirements for database server packages
- enable readline support
- add fc11 and fc12
* Sat Feb 13 2010 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- 5.0.1
- fix client only build
- clean up requirements for termcap
- query.sql now empty by default so we install sample-query.sql along side it
- remove old nobuild_mtx switch
* Sun Feb 07 2010 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- fix mysql database upgrade
* Fri Feb 05 2010 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- fix permissions of dbcheck
- misc. cleanup
* Sat Jan 30 2010 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- 5.0.0
- add su112 and fc10 builds, remove doc package declaration.
- fix source path for logwatch files.
- restore static bundled build of sqlite (who took that out?) and remove use
- of system sqlite. we don't support use of sqlite2.
- upgrade database from version 11 to 12.
* Mon Aug 10 2009 Philipp Storz <philipp.storz AT dass-it DOT de>
- changes to work with opensuse build service
* Sat Aug 1 2009 Kern Sibbald <kern AT sibbald DOT com>
- Split docs into separate bacula-docs.spec, bacula-bat.spec and 
bacula-mtx.spec
- removed build of rescue, gnome console and wxconsole
* Sat Jun 20 2009 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- Fix bat install which is now handled by make and uses shared libs
* Sat May 16 2009 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- fix libxml dependency for rh7 per Pasi Kärkkäinen <pasik AT iki DOT fi>
* Mon May 04 2009 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- Fix post ldconfig problem in client only build
* Sun May 03 2009 D. Scott Barninger <barninger AT fairfieldcomputers DOT com>
- remove more files installed by client-only build not needed by client 
package
- remove libbacsql files from client package
* 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

------------------------------------------------------------------------------
_______________________________________________
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>
  • [Bacula-users] bacula-5.0.2 rpm release to sourceforge, Scott Barninger <=