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