]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/version.h
11Apr07
[bacula/bacula] / bacula / src / version.h
index a5393b4bbe2c786075b8eea1238de6757e36e9fc..408db2e472c83821693abcf2a230420a33c98e57 100644 (file)
@@ -3,32 +3,95 @@
  */
 
 #undef  VERSION
-#define VERSION "1.39.23"
-#define BDATE   "23 September 2006"
-#define LSMDATE "23Sep06"
-#define BYEAR "2006"       /* year for copyright messages in progs */
+#define VERSION "2.1.8"
+#define BDATE   "11 April 2007"
+#define LSMDATE "11Apr07"
+
+#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 */