]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/version.h
Fix bug #1946 Fix problem with MySQL with big Base jobs.
[bacula/bacula] / bacula / src / version.h
index 6964da85e089818df913a163011a20d9ae644489..01649d86890d5a76420fee1fed6b97da2a9cfcef 100644 (file)
@@ -1,21 +1,21 @@
 
 #undef  VERSION
-#define VERSION "5.1.4"
-#define BDATE   "10 May 2010"
-#define LSMDATE "10May10"
+#define VERSION "5.2.12"
+#define BDATE   "12 September 2012"
+#define LSMDATE "12Sep12"
 
-#define PROG_COPYRIGHT "Copyright (C) %d-2010 Free Software Foundation Europe e.V.\n"
-#define BYEAR "2010"       /* year for copyright messages in progs */
+#define PROG_COPYRIGHT "Copyright (C) %d-2012 Free Software Foundation Europe e.V.\n"
+#define BYEAR "2012"       /* year for copyright messages in progs */
 
 /*
    Bacula® - The Network Backup Solution
 
-   Copyright (C) 2000-2010 Free Software Foundation Europe e.V.
+   Copyright (C) 2000-2012 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
+   modify it under the terms of version three of the GNU Affero General Public
    License as published by the Free Software Foundation and included
    in the file LICENSE.
 
    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
+   You should have received a copy of the GNU Affero 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 Kern Sibbald.
+
    The licensor of Bacula is the Free Software Foundation Europe
    (FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zürich,
    Switzerland, email:ftf@fsfeurope.org.
 */
 
 /* Shared object library versions */
-#define LIBBAC_LT_CURRENT  5
-#define LIBBAC_LT_REVISION 1
-#define LIBBAC_LT_AGE 0
-
-#define LIBBACCFG_LT_CURRENT 5
-#define LIBBACCFG_LT_REVISION 1
-#define LIBBACCFG_LT_AGE 0
-
-#define LIBBACPY_LT_CURRENT 5
-#define LIBBACPY_LT_REVISION 1
-#define LIBBACPY_LT_AGE 0
-
-#define LIBBACSQL_LT_CURRENT 5
-#define LIBBACSQL_LT_REVISION 1
-#define LIBBACSQL_LT_AGE 0
-
-#define LIBBACFIND_LT_CURRENT 5
-#define LIBBACFIND_LT_REVISION 1
-#define LIBBACFIND_LT_AGE 0
 
+/* Uncomment to overwrite default value from VERSION */
+/* #define LIBBAC_LT_RELEASE     "5.1.0" */
+/* #define LIBBACCFG_LT_RELEASE  "5.1.0" */
+/* #define LIBBACPY_LT_RELEASE   "5.1.0" */
+/* #define LIBBACSQL_LT_RELEASE  "5.1.0" */
+/* #define LIBBACCATS_LT_RELEASE  "5.1.0" */
+/* #define LIBBACFIND_LT_RELEASE "5.1.0" */
 
 
 /* Debug flags */
 #define TRACE_FILE 1
 
 /* If this is set stdout will not be closed on startup */
-#define DEVELOPER 1
+/* #define DEVELOPER 1 */
+
+/* adjust DEVELOPER_MODE for status command */
+#ifdef DEVELOPER
+# define DEVELOPER_MODE 1
+#else
+# define DEVELOPER_MODE 0
+#endif
 
 /*
  * SMCHECK does orphaned buffer checking (memory leaks)
@@ -81,7 +77,6 @@
  *   it can always be turned on, but we advise to use it only
  *   for debug
  */
-#if DEVELOPER
 # ifndef _USE_LOCKMGR
 #  define _USE_LOCKMGR
 # endif /* _USE_LOCKMGR */
  *  deadlock, so turn this on only for debugging.
  */
 #define USE_LOCKMGR_PRIORITY
-#endif  /* DEVELOPER */
+
+/*
+ * Enable thread verification before kill 
+ *
+ * Note, this extra check have a high cost when using
+ * dozens of thread, so turn this only for debugging.
+ */
+/* #define USE_LOCKMGR_SAFEKILL */
 
 #if !HAVE_LINUX_OS && !HAVE_SUN_OS && !HAVE_DARWIN_OS && !HAVE_FREEBSD_OS
 # undef _USE_LOCKMGR
 # define USE_VTAPE
 #endif
 
+/*
+ * USE_FTP is a ftp driver for the FD using curl.
+ */
+// #define USE_FTP
+
 /* 
  * for fastest speed but you must have a UPS to avoid unwanted shutdowns
  */
 /* #define TRACE_RES 1 */
 /* #define DEBUG_MEMSET 1 */
 /* #define DEBUG_MUTEX 1 */
+/* #define DEBUG_BLOCK_CHECKSUM 1 */
 #define BEEF 0
 
 /*