--enable-client-only build client (File daemon) only disabled
--enable-build-dird enable building of dird (Director) enabled
--enable-build-stored enable building of stored (Storage daemon) enabled
+ --disable-conio disable conio support enabled
+
--enable-ipv6 enable ipv6 support enabled
--disable-readline disable readline support disable
fi
+# ---------------------------------------------------
+# Check for conio (Bacula readline substitute)(
+# ---------------------------------------------------
+# this allows you to turn it completely off
+# Check whether --enable-conio was given.
+if test "${enable_conio+set}" = set; then
+ enableval=$enable_conio; if test x$enableval = xno; then
+ support_conio=no
+ fi
+
+fi
+
+
+
# ---------------------------------------------------
# Check for IPv6 support
# ---------------------------------------------------
Priority:
+- Add the OS version back to the Win32 client info.
- Look at the possibility of adding "SET NAMES UTF8" for MySQL,
and possibly changing the blobs into varchar.
- Check if gnome-console works with TLS.
- Despool attributes in separate thread
- Database speedups
- Embedded MySQL
+ - Check why restore repeatedly sends Rechdrs between
+ each data chunk -- according to James Harper 9Jan07.
+ - Building the in memory restore tree is slow.
- Features
- Better scheduling
- Full at least once a month, ...
POOLMEM *store_source;
/* Methods */
- USTORE() { store = NULL; store_source = get_pool_memory(PM_MESSAGE); }
+ USTORE() { store = NULL; store_source = get_pool_memory(PM_MESSAGE);
+ *store_source = 0; };
~USTORE() { destroy(); }
void set_source(const char *where);
void destroy();
USTORE store;
if (jcr->rstorage) {
store.store = jcr->rstore;
- pm_strcpy(store.store_source, jcr->rstore_source);
} else {
store.store = jcr->wstore;
- pm_strcpy(store.store_source, jcr->wstore_source);
}
set_wstorage(ua->jcr, &store);
}
/* Skip all lines we receive after an error */
if (state == state_error) {
+ Dmsg0(100, "State=error return\n");
return;
}
*/
if (subcode != ' ') {
state = state_error;
+ Dmsg0(100, "Set state=error\n");
}
switch (code) {
case 'I':
break;
case 'S':
switch(*(p + 1)) {
- case ' ':
- /* Old director did not specify SHA variant */
- fo->flags |= FO_SHA1;
- break;
case '1':
fo->flags |= FO_SHA1;
p++;
break;
#endif
default:
- /* Automatically downgrade to SHA-1 if an unsupported
- * SHA variant is specified */
+ /*
+ * If 2 or 3 is seen here, SHA2 is not configured, so
+ * eat the option, and drop back to SHA-1.
+ */
+ if (p[1] == '2' || p[1] == '3') {
+ p++;
+ }
fo->flags |= FO_SHA1;
- p++;
break;
}
break;
case 'Z': /* gzip compression */
fo->flags |= FO_GZIP;
fo->GZIP_level = *++p - '0';
- Dmsg1(200, "Compression level=%d\n", fo->GZIP_level);
break;
case 'K':
fo->flags |= FO_NOATIME;
{ }
next->next = inc;
}
- Dmsg1(50, "add_fname_to_include fname=%s\n", inc->fname);
+ Dmsg3(00, "add_fname_to_include prefix=%d gzip=%d fname=%s\n",
+ prefixed, !!(inc->options & FO_GZIP), inc->fname);
}
/*
HRESULT hr;
static char szConfigDir[MAX_PATH + 1] = { 0 };
+ if (!p_SHGetFolderPath) {
+ bstrncpy(szConfigDir, DEFAULT_CONFIGDIR, sizeof(szConfigDir));
+ return szConfigDir;
+ }
+
if (szConfigDir[0] == '\0') {
- hr = SHGetFolderPath(NULL, CSIDL_COMMON_APPDATA, NULL, 0, szConfigDir);
+ hr = p_SHGetFolderPath(NULL, CSIDL_COMMON_APPDATA, NULL, 0, szConfigDir);
if (SUCCEEDED(hr)) {
bstrncat(szConfigDir, "\\Bacula", sizeof(szConfigDir));
dcr->dev?dcr->dev->print_name():
dcr->device->device_name);
sendit(msg, len, arg);
+ len= Mmsg(msg, _(" spooling=%d despooling=%d despool_wait=%d\n"),
+ dcr->spooling, dcr->despooling, dcr->despool_wait);
+ sendit(msg, len, arg);
}
sec = time(NULL) - jcr->run_time;
if (sec <= 0) {
*/
#undef VERSION
-#define VERSION "2.1.0"
-#define BDATE "05 January 2007"
-#define LSMDATE "05Jan07"
+#define VERSION "2.1.1"
+#define BDATE "11 January 2007"
+#define LSMDATE "11Jan07"
#define PROG_COPYRIGHT "Copyright (C) %d-2007 Free Software Foundation Europe e.V.\n"
#define BYEAR "2007" /* year for copyright messages in progs */
#define TRACE_FILE 1
/* If this is set stdout will not be closed on startup */
-/* #define DEVELOPER 1 */
+#define DEVELOPER 1
#define DATA_ENCRYPTION 1
- Technical notes on version 2.1
+ Technical notes on version 2.0
General:
+Version 2.0.1
+11Jan06
+kes Add dynamic dll entry point for SHGetFolderPath to Win32 code.
+ This *should* fix bug #747.
+kes Modify winbacula.nsi to substitute with g bin_dir_cmd. Should fix
+ bug #742.
+09Jan06
+kes Modify USTORE constructor to set an empty store_source string,
+ and don't copy the store_source string in a cancel. Hopefully
+ this will fix Arno's seg fault, bug #744.
+kes Add back code to disable conio in configure. Fixes bug #743.
+kes Correct the Options scanner in the FD to correctly handle
+ SHA1 option, which was eating the next option. Reported by
+ Sebastien Guilbaud.
+kes Add code to indicate when the SD is spooling, spool wait, and
+ despooling as requested by Alan Brown.
+
Version 2.0.0 released: 4 January 2007