]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/version.h
Tweak: update version date
[bacula/bacula] / bacula / src / version.h
1
2 #undef  VERSION
3 #define VERSION "5.1.2"
4 #define BDATE   "06 March 2010"
5 #define LSMDATE "06Mar10"
6
7 #define PROG_COPYRIGHT "Copyright (C) %d-2010 Free Software Foundation Europe e.V.\n"
8 #define BYEAR "2010"       /* year for copyright messages in progs */
9
10 /*
11    Bacula® - The Network Backup Solution
12
13    Copyright (C) 2000-2010 Free Software Foundation Europe e.V.
14
15    The main author of Bacula is Kern Sibbald, with contributions from
16    many others, a complete list can be found in the file AUTHORS.
17    This program is Free Software; you can redistribute it and/or
18    modify it under the terms of version two of the GNU General Public
19    License as published by the Free Software Foundation and included
20    in the file LICENSE.
21
22    This program is distributed in the hope that it will be useful, but
23    WITHOUT ANY WARRANTY; without even the implied warranty of
24    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
25    General Public License for more details.
26
27    You should have received a copy of the GNU General Public License
28    along with this program; if not, write to the Free Software
29    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
30    02110-1301, USA.
31
32    Bacula® is a registered trademark of Kern Sibbald.
33    The licensor of Bacula is the Free Software Foundation Europe
34    (FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zürich,
35    Switzerland, email:ftf@fsfeurope.org.
36 */
37
38 /* Shared object library versions */
39 #define LIBBAC_LT_CURRENT  5
40 #define LIBBAC_LT_REVISION 1
41 #define LIBBAC_LT_AGE 0
42
43 #define LIBBACCFG_LT_CURRENT 5
44 #define LIBBACCFG_LT_REVISION 1
45 #define LIBBACCFG_LT_AGE 0
46
47 #define LIBBACPY_LT_CURRENT 5
48 #define LIBBACPY_LT_REVISION 1
49 #define LIBBACPY_LT_AGE 0
50
51 #define LIBBACSQL_LT_CURRENT 5
52 #define LIBBACSQL_LT_REVISION 1
53 #define LIBBACSQL_LT_AGE 0
54
55 #define LIBBACFIND_LT_CURRENT 5
56 #define LIBBACFIND_LT_REVISION 1
57 #define LIBBACFIND_LT_AGE 0
58
59
60
61 /* Debug flags */
62 #undef  DEBUG
63 #define DEBUG 1
64 #define TRACEBACK 1
65 #define TRACE_FILE 1
66
67 /* If this is set stdout will not be closed on startup */
68 #define DEVELOPER 1
69
70 /*
71  * SMCHECK does orphaned buffer checking (memory leaks)
72  *  it can always be turned on, but has some minor performance
73  *  penalties.
74  */
75 #ifdef DEVELOPER
76 # define SMCHECK
77 #endif
78
79 /*
80  * _USE_LOCKMGR does lock/unlock mutex tracking (dead lock)
81  *   it can always be turned on, but we advise to use it only
82  *   for debug
83  */
84 #if DEVELOPER
85 # ifndef _USE_LOCKMGR
86 #  define _USE_LOCKMGR
87 # endif /* _USE_LOCKMGR */
88 /*
89  * Enable priority management with the lock manager
90  *
91  * Note, turning this on will cause the Bacula SD to abort if
92  *  mutexes are executed out of order, which could lead to a
93  *  deadlock.  However, note that this is not necessarily a
94  *  deadlock, so turn this on only for debugging.
95  */
96 #define USE_LOCKMGR_PRIORITY
97 #endif  /* DEVELOPER */
98
99 #if !HAVE_LINUX_OS && !HAVE_SUN_OS && !HAVE_DARWIN_OS && !HAVE_FREEBSD_OS
100 # undef _USE_LOCKMGR
101 #endif
102
103 /*
104  * USE_VTAPE is a dummy tape driver. This is useful to
105  *  run regress test.
106  */
107 #ifdef HAVE_LINUX_OS
108 # define USE_VTAPE
109 #endif
110
111 /* 
112  * for fastest speed but you must have a UPS to avoid unwanted shutdowns
113  */
114 //#define SQLITE3_INIT_QUERY "PRAGMA synchronous = OFF"
115
116 /*
117  * for more safety, but is 30 times slower than above
118  */
119 #define SQLITE3_INIT_QUERY "PRAGMA synchronous = NORMAL"
120
121 /*
122  * This should always be on. It enables data encryption code 
123  *  providing it is configured.
124  */
125 #define DATA_ENCRYPTION 1
126
127 /*
128  * This uses a Bacula specific bsnprintf rather than the sys lib
129  *  version because it is much more secure. It should always be 
130  *  on.
131  */
132 #define USE_BSNPRINTF 1
133
134 /* Debug flags not normally turned on */
135
136 /* #define TRACE_JCR_CHAIN 1 */
137 /* #define TRACE_RES 1 */
138 /* #define DEBUG_MEMSET 1 */
139 /* #define DEBUG_MUTEX 1 */
140
141 /*
142  * Set SMALLOC_SANITY_CHECK to zero to turn off, otherwise
143  *  it is the maximum memory malloced before Bacula will
144  *  abort.  Except for debug situations, this should be zero
145  */
146 #define SMALLOC_SANITY_CHECK 0  /* 500000000  0.5 GB max */
147
148
149 /* Check if header of tape block is zero before writing */
150 /* #define DEBUG_BLOCK_ZEROING 1 */
151
152 /* #define FULL_DEBUG 1 */   /* normally on for testing only */
153
154 /* Turn this on ONLY if you want all Dmsg() to append to the
155  *   trace file. Implemented mainly for Win32 ...
156  */
157 /*  #define SEND_DMSG_TO_FILE 1 */
158
159
160 /* The following are turned on for performance testing */
161 /*  
162  * If you turn on the NO_ATTRIBUTES_TEST and rebuild, the SD
163  *  will receive the attributes from the FD, will write them
164  *  to disk, then when the data is written to tape, it will
165  *  read back the attributes, but they will not be sent to
166  *  the Director. So this will eliminate: 1. the comm time
167  *  to send the attributes to the Director. 2. the time it
168  *  takes the Director to put them in the catalog database.
169  */
170 /* #define NO_ATTRIBUTES_TEST 1 */
171
172 /* 
173 * If you turn on NO_TAPE_WRITE_TEST and rebuild, the SD
174 *  will do all normal actions, but will not write to the
175 *  Volume.  Note, this means a lot of functions such as
176 *  labeling will not work, so you must use it only when 
177 *  Bacula is going to append to a Volume. This will eliminate
178 *  the time it takes to write to the Volume (not the time
179 *  it takes to do any positioning).
180 */
181 /* #define NO_TAPE_WRITE_TEST 1 */
182
183 /*
184  * If you turn on FD_NO_SEND_TEST and rebuild, the FD will
185  *  not send any attributes or data to the SD. This will
186  *  eliminate the comm time sending to the SD.
187  */
188 /* #define FD_NO_SEND_TEST 1 */