]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/version.h
Update version date
[bacula/bacula] / bacula / src / version.h
1
2 #undef  VERSION
3 #define VERSION "5.2.7"
4 #define BDATE   "01 June 2012"
5 #define LSMDATE "01Jun12"
6
7 #define PROG_COPYRIGHT "Copyright (C) %d-2012 Free Software Foundation Europe e.V.\n"
8 #define BYEAR "2012"       /* year for copyright messages in progs */
9
10 /*
11    Bacula® - The Network Backup Solution
12
13    Copyright (C) 2000-2012 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 three of the GNU Affero 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 Affero 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
34    The licensor of Bacula is the Free Software Foundation Europe
35    (FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zürich,
36    Switzerland, email:ftf@fsfeurope.org.
37 */
38
39 /* Shared object library versions */
40
41 /* Uncomment to overwrite default value from VERSION */
42 /* #define LIBBAC_LT_RELEASE     "5.1.0" */
43 /* #define LIBBACCFG_LT_RELEASE  "5.1.0" */
44 /* #define LIBBACPY_LT_RELEASE   "5.1.0" */
45 /* #define LIBBACSQL_LT_RELEASE  "5.1.0" */
46 /* #define LIBBACCATS_LT_RELEASE  "5.1.0" */
47 /* #define LIBBACFIND_LT_RELEASE "5.1.0" */
48
49
50 /* Debug flags */
51 #undef  DEBUG
52 #define DEBUG 1
53 #define TRACEBACK 1
54 #define TRACE_FILE 1
55
56 /* If this is set stdout will not be closed on startup */
57 #define DEVELOPER 1
58
59 /* adjust DEVELOPER_MODE for status command */
60 #ifdef DEVELOPER
61 # define DEVELOPER_MODE 1
62 #else
63 # define DEVELOPER_MODE 0
64 #endif
65
66 /*
67  * SMCHECK does orphaned buffer checking (memory leaks)
68  *  it can always be turned on, but has some minor performance
69  *  penalties.
70  */
71 #ifdef DEVELOPER
72 # define SMCHECK
73 #endif
74
75 /*
76  * _USE_LOCKMGR does lock/unlock mutex tracking (dead lock)
77  *   it can always be turned on, but we advise to use it only
78  *   for debug
79  */
80 # ifndef _USE_LOCKMGR
81 #  define _USE_LOCKMGR
82 # endif /* _USE_LOCKMGR */
83 /*
84  * Enable priority management with the lock manager
85  *
86  * Note, turning this on will cause the Bacula SD to abort if
87  *  mutexes are executed out of order, which could lead to a
88  *  deadlock.  However, note that this is not necessarily a
89  *  deadlock, so turn this on only for debugging.
90  */
91 #define USE_LOCKMGR_PRIORITY
92
93 /*
94  * Enable thread verification before kill 
95  *
96  * Note, this extra check have a high cost when using
97  * dozens of thread, so turn this only for debugging.
98  */
99 /* #define USE_LOCKMGR_SAFEKILL */
100
101 #if !HAVE_LINUX_OS && !HAVE_SUN_OS && !HAVE_DARWIN_OS && !HAVE_FREEBSD_OS
102 # undef _USE_LOCKMGR
103 #endif
104
105 /*
106  * USE_VTAPE is a dummy tape driver. This is useful to
107  *  run regress test.
108  */
109 #ifdef HAVE_LINUX_OS
110 # define USE_VTAPE
111 #endif
112
113 /*
114  * USE_FTP is a ftp driver for the FD using curl.
115  */
116 // #define USE_FTP
117
118 /* 
119  * for fastest speed but you must have a UPS to avoid unwanted shutdowns
120  */
121 //#define SQLITE3_INIT_QUERY "PRAGMA synchronous = OFF"
122
123 /*
124  * for more safety, but is 30 times slower than above
125  */
126 #define SQLITE3_INIT_QUERY "PRAGMA synchronous = NORMAL"
127
128 /*
129  * This should always be on. It enables data encryption code 
130  *  providing it is configured.
131  */
132 #define DATA_ENCRYPTION 1
133
134 /*
135  * This uses a Bacula specific bsnprintf rather than the sys lib
136  *  version because it is much more secure. It should always be 
137  *  on.
138  */
139 #define USE_BSNPRINTF 1
140
141 /* Debug flags not normally turned on */
142
143 /* #define TRACE_JCR_CHAIN 1 */
144 /* #define TRACE_RES 1 */
145 /* #define DEBUG_MEMSET 1 */
146 /* #define DEBUG_MUTEX 1 */
147 #define BEEF 0
148
149 /*
150  * Set SMALLOC_SANITY_CHECK to zero to turn off, otherwise
151  *  it is the maximum memory malloced before Bacula will
152  *  abort.  Except for debug situations, this should be zero
153  */
154 #define SMALLOC_SANITY_CHECK 0  /* 500000000  0.5 GB max */
155
156
157 /* Check if header of tape block is zero before writing */
158 /* #define DEBUG_BLOCK_ZEROING 1 */
159
160 /* #define FULL_DEBUG 1 */   /* normally on for testing only */
161
162 /* Turn this on ONLY if you want all Dmsg() to append to the
163  *   trace file. Implemented mainly for Win32 ...
164  */
165 /*  #define SEND_DMSG_TO_FILE 1 */
166
167
168 /* The following are turned on for performance testing */
169 /*  
170  * If you turn on the NO_ATTRIBUTES_TEST and rebuild, the SD
171  *  will receive the attributes from the FD, will write them
172  *  to disk, then when the data is written to tape, it will
173  *  read back the attributes, but they will not be sent to
174  *  the Director. So this will eliminate: 1. the comm time
175  *  to send the attributes to the Director. 2. the time it
176  *  takes the Director to put them in the catalog database.
177  */
178 /* #define NO_ATTRIBUTES_TEST 1 */
179
180 /* 
181 * If you turn on NO_TAPE_WRITE_TEST and rebuild, the SD
182 *  will do all normal actions, but will not write to the
183 *  Volume.  Note, this means a lot of functions such as
184 *  labeling will not work, so you must use it only when 
185 *  Bacula is going to append to a Volume. This will eliminate
186 *  the time it takes to write to the Volume (not the time
187 *  it takes to do any positioning).
188 */
189 /* #define NO_TAPE_WRITE_TEST 1 */
190
191 /*
192  * If you turn on FD_NO_SEND_TEST and rebuild, the FD will
193  *  not send any attributes or data to the SD. This will
194  *  eliminate the comm time sending to the SD.
195  */
196 /* #define FD_NO_SEND_TEST 1 */