X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fversion.h;h=14816f72d5cbd1f0b55a987c7681b192a7472b73;hb=367fc8b00e25565c4cdfcbfb48da055b81fc8ae8;hp=8cf80868e6440cfdbae6cf37d833ff8d2b6f2089;hpb=93d821abf9aa3842dd295d4add0d7ba8bfa18991;p=bacula%2Fbacula diff --git a/bacula/src/version.h b/bacula/src/version.h index 8cf80868e6..14816f72d5 100644 --- a/bacula/src/version.h +++ b/bacula/src/version.h @@ -1,61 +1,61 @@ - +#ifndef VERSION_H +#define VERSION_H #undef VERSION -#define VERSION "5.2.0" -#define BDATE "30 October 2011" -#define LSMDATE "30Oct11" -#define PROG_COPYRIGHT "Copyright (C) %d-2011 Free Software Foundation Europe e.V.\n" -#define BYEAR "2011" /* year for copyright messages in progs */ +#define COMMUNITY 1 /* Define to create a Windows community binary */ -/* - Bacula® - The Network Backup Solution +/* Note: there can be only *one* VERSION in this file */ +#define VERSION "7.9.5" +#define BDATE "17 June 2017" +#define LSMDATE "17Jun17" - Copyright (C) 2000-2011 Free Software Foundation Europe e.V. +#define RELEASE 1 /* Use ONLY in rpms */ - 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 three of the GNU Affero General Public - License as published by the Free Software Foundation and included - in the file LICENSE. +#define PROG_COPYRIGHT "Copyright (C) %d-2017 Kern Sibbald.\n" +#define BYEAR "2017" /* year for copyright messages in progs */ - 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. +/* + * Versions of packages needed to build Bacula components + */ +#define DEPKGS_QT_VERSION "01Jan13" +#define DEPKGS_VERSION "26Jun14" - 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(R) - The Network Backup Solution - Bacula® is a registered trademark of Kern Sibbald. + Copyright (C) 2000-2017 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. -*/ + The original author of Bacula is Kern Sibbald, with contributions + from many others, a complete list can be found in the file AUTHORS. -/* Shared object library versions */ + You may use this file and others of this release according to the + license defined in the LICENSE file, which includes the Affero General + Public License, v3.0 ("AGPLv3") and some additional permissions and + terms pursuant to its AGPLv3 Section 7. -/* 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" */ + This notice must be preserved when any source code is + conveyed and/or propagated. + Bacula(R) is a registered trademark of Kern Sibbald. +*/ /* Debug flags */ #undef DEBUG #define DEBUG 1 #define TRACEBACK 1 #define TRACE_FILE 1 +#define ENTER_LEAVE 1 /* If this is set stdout will not be closed on startup */ /* #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) * it can always be turned on, but has some minor performance @@ -70,7 +70,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 */ @@ -85,15 +84,14 @@ #define USE_LOCKMGR_PRIORITY /* - * Enable thread verification before kill + * 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 */ -#endif /* DEVELOPER */ -#if !HAVE_LINUX_OS && !HAVE_SUN_OS && !HAVE_DARWIN_OS && !HAVE_FREEBSD_OS +#if !HAVE_LINUX_OS && !HAVE_SUN_OS && !HAVE_DARWIN_OS && !HAVE_FREEBSD_OS && !HAVE_KFREEBSD_OS # undef _USE_LOCKMGR #endif @@ -110,7 +108,7 @@ */ // #define USE_FTP -/* +/* * for fastest speed but you must have a UPS to avoid unwanted shutdowns */ //#define SQLITE3_INIT_QUERY "PRAGMA synchronous = OFF" @@ -119,16 +117,16 @@ * for more safety, but is 30 times slower than above */ #define SQLITE3_INIT_QUERY "PRAGMA synchronous = NORMAL" - + /* - * This should always be on. It enables data encryption code + * 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 + * version because it is much more secure. It should always be * on. */ #define USE_BSNPRINTF 1 @@ -139,7 +137,7 @@ /* #define TRACE_RES 1 */ /* #define DEBUG_MEMSET 1 */ /* #define DEBUG_MUTEX 1 */ -#define BEEF 0 +/* #define DEBUG_BLOCK_CHECKSUM 1 */ /* * Set SMALLOC_SANITY_CHECK to zero to turn off, otherwise @@ -161,7 +159,7 @@ /* The following are turned on for performance testing */ -/* +/* * If you turn on the NO_ATTRIBUTES_TEST and rebuild, the SD * will receive the attributes from the FD, will write them * to disk, then when the data is written to tape, it will @@ -172,11 +170,11 @@ */ /* #define NO_ATTRIBUTES_TEST 1 */ -/* +/* * If you turn on NO_TAPE_WRITE_TEST and rebuild, the SD * will do all normal actions, but will not write to the * Volume. Note, this means a lot of functions such as -* labeling will not work, so you must use it only when +* labeling will not work, so you must use it only when * Bacula is going to append to a Volume. This will eliminate * the time it takes to write to the Volume (not the time * it takes to do any positioning). @@ -189,3 +187,5 @@ * eliminate the comm time sending to the SD. */ /* #define FD_NO_SEND_TEST 1 */ + +#endif /* VERSION_H */