X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fversion.h;h=9a68f9e52d1ad7d5fe4fecbbabeb24c262f19af4;hb=2514e9d4db3a4a156f31de81a2f7c5255a078e27;hp=9ef203749c7142efff02bb144126b20684a1b262;hpb=83bcc99af2ede19744607fa344b12295a59fa51e;p=bacula%2Fbacula diff --git a/bacula/src/version.h b/bacula/src/version.h index 9ef203749c..9a68f9e52d 100644 --- a/bacula/src/version.h +++ b/bacula/src/version.h @@ -3,32 +3,95 @@ */ #undef VERSION -#define VERSION "1.39.23" -#define BDATE "02 October 2006" -#define LSMDATE "02Oct06" -#define BYEAR "2006" /* year for copyright messages in progs */ +#define VERSION "2.1.8" +#define BDATE "28 April 2007" +#define LSMDATE "28Apr07" + +#define PROG_COPYRIGHT "Copyright (C) %d-2007 Free Software Foundation Europe e.V.\n" +#define BYEAR "2007" /* year for copyright messages in progs */ + +/* + Bacula® - The Network Backup Solution + + Copyright (C) 2000-2007 Free Software Foundation Europe e.V. + + The main author of Bacula is Kern Sibbald, with contributions from + many others, a complete list can be found in the file AUTHORS. + This program is Free Software; you can redistribute it and/or + modify it under the terms of version two of the GNU General Public + License as published by the Free Software Foundation plus additions + that are listed in the file LICENSE. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. + + Bacula® is a registered trademark of John Walker. + The licensor of Bacula is the Free Software Foundation Europe + (FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zürich, + Switzerland, email:ftf@fsfeurope.org. +*/ + /* Debug flags */ #undef DEBUG #define DEBUG 1 #define TRACEBACK 1 -#define SMCHECK #define TRACE_FILE 1 /* If this is set stdout will not be closed on startup */ #define DEVELOPER 1 +/* + * SMCHECK does orphaned buffer checking (memory leaks) + * it can always be turned on, but has some minor performance + * penalties. + */ +#ifdef DEVELOPER +#define SMCHECK +#endif + +/* + * This should always be on. It enables data encryption code + * providing it is configured. + */ +#define DATA_ENCRYPTION 1 + +/* + * This uses a Bacula specific bsnprintf rather than the sys lib + * version because it is much more secure. It should always be + * on. + */ #define USE_BSNPRINTF 1 -/* Debug flags not normally turned on */ +/* + * Turn on the following flag to enable batch attribute inserts + * in the catalog. This gives a large speedup. + */ +#define HAVE_BATCH_FILE_INSERT 1 + -/* #define FILE_SEEK 1 */ +/* Debug flags not normally turned on */ /* #define TRACE_JCR_CHAIN 1 */ /* #define TRACE_RES 1 */ /* #define DEBUG_MEMSET 1 */ /* #define DEBUG_MUTEX 1 */ +/* + * Set SMALLOC_SANITY_CHECK to zero to turn off, otherwise + * it is the maximum memory malloced before Bacula will + * abort. Except for debug situations, this should be zero + */ +#define SMALLOC_SANITY_CHECK 0 /* 500000000 0.5 GB max */ + + /* Check if header of tape block is zero before writing */ /* #define DEBUG_BLOCK_ZEROING 1 */