X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=ChangeLog;h=d24082f45401990ddd20be5342a11636e75b88a0;hb=HEAD;hp=c0c98200c8345ff42674f6bf31f0c68bc1c44bcd;hpb=cdbbeef9cde260e429854dd313bc0bf7560e1e24;p=debian%2Famanda diff --git a/ChangeLog b/ChangeLog index c0c9820..d24082f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,15423 +1,14520 @@ -2006-09-05 Jean-Louis Martineau - * Amanda 2.5.1 released. - * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.1). - * NEWS: Change in amanda-2.5.1 +2013-01-08 Jean-Louis Martineau + * VERSION: 3.3.3 -2006-08-30 Jean-Louis Martineau - * server-src/dumper.c: Typo in error message. +2013-01-08 Jean-Louis Martineau + * ndmp-src/ndmjob_args.c: Handle more than 1000 arguments. -2006-08-29 Jean-Louis Martineau - * client-src/selfcheck.c: Print error message to stdout before - calling error(). +2013-01-04 Jean-Louis Martineau + * perl/Amanda/Taper/Scan.pm (oldest_reusable_volume): Check the + labelstr. + * installcheck/Amanda_Taper_Scan.pl: Test it. -2006-08-28 Jean-Louis Martineau - * server-src/dumper.c (log_msgout): Seek to begining of file. +2013-01-04 Jean-Louis Martineau + * server-src/amrmtape.pl: Do not check the 'log' file. -2006-08-28 Jean-Louis Martineau - * server-src/reporter.c: Report if a dump was successfully retried. +2012-12-27 Jean-Louis Martineau + * server-src/amrmtape.pl: Add the pid on the temporary filename. -2006-08-28 Jean-Louis Martineau - * server-src/amstatus.pl.in: Correct size for retried dump. - -2006-08-25 Jean-Louis Martineau - * client-src/runtar.c: Check that strcmp(argv[3], "--create") == 0. - -2006-08-24 Jean-Louis Martineau - * common-src/statfs.c (scale): Macro replaced by a function. - -2006-08-24 Jean-Louis Martineau - * server-src/chunker.c: Use STREAM_BUFSIZE for stream_accept. - * server-src/taper.c: Use STREAM_BUFSIZE for stream_accept. - -2006-08-24 Maitreyee Karmarkar - * man/xml-source/amcheck.8.xml: amcheck xml man page change - -2006-08-23 Kevin Till - * server-src/driver.c: fix typo - -2006-08-23 Jean-Louis Martineau - * server-src/driver.c (dumper_result): Decrement pendings_aborts. - * server-src/driver.c (handle_dumper_result): Don't send duper result - to chunker if we aborted it. - * server-src/driverio.c (dumper_cmd, chunker_cmd): Don't close the fd - on ABORT. - * server-src/dumper.c: Accept ABORT command. - -2006-08-23 Jean-Louis Martineau - * restore-src/restore.c (restore): Set bytes_read to the return value - of read_file_header. - -2006-08-22 Jean-Louis Martineau - * tape-src/output-tape.c: Works if EOVERFLOW is not defined. - -2006-08-21 Jean-Louis Martineau - * amandad-src/amandad.c, common-src/rsh-security.c, - common-src/ssh-security.c, restore-src/restore.c, - server-src/changer.c, server-src/dumper.c: Fix sentinel warning. - -2006-08-21 Jean-Louis Martineau - * example/amanda.conf.in: Typo. - -2006-08-21 Jean-Louis Martineau - * server-src/driverio.c: Fix bogus "(unsigned long)-1". - -2006-08-21 Jean-Louis Martineau - * server-src/driver.c (start_some_dumps): Remove bogus free_assignedhd. - -2006-08-21 Maitreyee Karmarkar - * server-src/amcheck.c: Check specific clients - * man/amcheck.8: add the multiple client check format - -2006-08-18 Ian Turner - * tape-src/amtapetype.c: Don't crash on exit - -2006-08-17 Paddy Sreenivasan - * server-src/driverio.c: - * server-src/changer.c: - * restore-src/amfetchdump.c: - * recover-src/extract_list.c: - * oldrecover-src/extract_list.c: - * common-src/util.c: - * common-src/stream.c: - * common-src/file.c: - * common-src/dgram.c: Fix warnings - -2006-08-17 Kevin Till - * common-src/stream.c: Loop 5 times (ntries > 5) on select error - -2006-08-14 Paddy Sreenivasan - * client-src/sendsize.c: Fix warning - * server-src/reporter.c: Fix warnings - -2006-07-28 Jean-Louis Martineau - * Amanda 2.5.1b2 released. - * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.1b2). - -2006-07-28 Jean-Louis Martineau - * server-src/driver.c (find_diskspace): Make sure size > 0. - -2006-07-28 Jean-Louis Martineau - * server-src/planner.c: Don't check new disk. - -2006-07-28 Jean-Louis Martineau - * server-src/planner.c: Always log if full size estimate is larger - than the available tape space. - -2006-07-28 Jean-Louis Martineau - * server-src/planner.c: Always log if the latest full dump will be - overwritten soon. - -2006-07-27 Jean-Louis Martineau - * common-src/clock.c (timesub): Don't make a negative time. - -2006-07-27 Jean-Louis Martineau - * man/xml-source/amanda.conf.5.xml: Tell which file are loaded. - * man/xml-source/amanda-client.conf.5.xml: Ditto. - -2006-07-26 Jean-Louis Martineau - * NEWS: for 2.5.1b2. - -2006-07-26 Jean-Louis Martineau - * common-src/util.h (CONFTYPE_HOLDING): New conftype. - * common-src/util.c (conf_init_holding, conf_set_holding, - get_conftype_hold): New fonction. - * example/amanda.conf.in: Example of new holdingdisk value. - * man/xml-source/amanda.8.xml: Example. - * man/xml-source/amanda.conf.5.xml: Document it. - * server-src/amadmin.c (disklist_one): Print holdingdisk value. - * server-src/conffile.c: Parse new CONF_HOLDING type. - * server-src/conffile.h (dumptype_get_to_holdingdisk): Change macro. - * server-src/diskfile.c (parse_diskline): dumptype_get_to_holdingdisk. - * server-src/driver.c: Use new CONFTYPE_HOLDING value. - -2006-07-26 Jean-Louis Martineau - * client-src/selfcheck.c: Fix bug found by coverity. - * common-src/debug.c: Fix bug found by coverity. - -2006-07-25 Jean-Louis Martineau - * server-src/amflush.c: Typo. - -2006-07-25 Jean-Louis Martineau - * server-src/amflush.c: Correct test for driver_stream. - -2006-07-25 Jean-Louis Martineau - * client-src/clientconf.c: Default CLN_AMANDATES to /etc/amandates. - * common-src/util.c (conf_init_size): Type is CONFTYPE_SIZE. - * server-src/conffile.c (getconf_taperalgo): New function. - * server-src/conffile.h (getconf_taperalgo): Prototype. - * server-src/driver.c: Use getconf_taperalgo. - -2006-07-25 Jean-Louis Martineau - * client-src/clientconf.c (client_getconf_boolean): New function. - * client-src/clientconf.h (client_getconf_boolean): Prototype. - * server-src/conffile.c (getconf_boolean): New function. - * server-src/conffile.h (getconf_boolean): Prototype. - * restore-src/amidxtaped.c: Use getconf_boolean. - * server-src/amflush.c: Use getconf_boolean. - * server-src/planner.c: Use getconf_boolean. - -2006-07-25 Jean-Louis Martineau - * server-src/getconf.c: Don't print BUGGY. - * changer-src/chg-chio.pl.in: Don't parse BUGGY. - * changer-src/chg-iomega.pl.in: Don't parse BUGGY. - * changer-src/chg-zd-mtx.sh.in: Don't parse BUGGY. - * man/xml-source/amgetconf.8.xml: Don't parse BUGGY. - * server-src/amverifyrun.sh.in: Don't parse BUGGY. - * server-src/amverify.sh.in: Don't parse BUGGY. - -2006-07-25 Jean-Louis Martineau - * restore-src/restore.c: Cleanup. - * restore-src/amrestore.c: Don't fsf if the last read return 0. - -2006-07-25 Jean-Louis Martineau - * client-src/selfcheck.c: Fix bug found by klocwork. - * common-src/rsh-security.c: Fix bug found by klocwork. - * common-src/ssh-security.c: Fix bug found by klocwork. - * server-src/planner.c: Fix bug found by klocwork. - -2006-07-25 Jean-Louis Martineau - * tape-src/output-tape.c (tape_tape_open): mt is declared inside #ifdef. - -2006-07-25 Jean-Louis Martineau - * server-src/amcheck.c: Fix quoting. - -2006-07-25 Jean-Louis Martineau - * client-src/clientconf.c: client_getconf* validate the type. - * common-src/util.c (get_conftype_*): New function. - * common-src/util.h (get_conftype_*): Prototype. - * server-src/conffile.c: getconf* validate the type. - * server-src/conffile.h: Use get_conftype_* function. - -2006-07-25 Jean-Louis Martineau - * client-src/clientconf.c: New AMANDATES client config option. - * client-src/clientconf.h: New AMANDATES client config option. - * client-src/amandates.c: Use AMANDATES. - * client-src/amandates.h: Use AMANDATES. - * client-src/selfcheck.c: Use AMANDATES. - * client-src/sendbackup-gnutar.c: Use AMANDATES. - * client-src/sendsize.c:: Use AMANDATES. - * common-src/util.h : New CONF_AMANDATES. - * man/xml-source/amanda-client.conf.5.xml: Document it. - -2006-07-25 Jean-Louis Martineau - * client-src/clientconf.c: New GNUTAR_LIST_DIR client config option. - * client-src/clientconf.h: New GNUTAR_LIST_DIR client config option. - * client-src/selfcheck.c: Use GNUTAR_LIST_DIR. - * client-src/sendbackup-gnutar.c: Use GNUTAR_LIST_DIR. - * client-src/sendsize.c: Use GNUTAR_LIST_DIR. - * common-src/util.h: New CONF_GNUTAR_LIST_DIR. - * man/xml-source/amanda-client.conf.5.xml: Document it. - -2006-07-25 Jean-Louis Martineau - * client-src/calcsize.c, client-src/killpgrp.c, - client-src/rundump.c, client-src/runtar.c, - client-src/selfcheck.c, client-src/sendbackup.c, - client-src/sendsize.c, common-src/amanda.h, - common-src/debug.c, oldrecover-src/amrecover.c, - recover-src/amrecover.c, restore-src/amfetchdump.c, - restore-src/amidxtaped.c, server-src/amadmin.c, - server-src/amcheck.c, server-src/amcleanupdisk.c, - server-src/amflush.c, server-src/amindexd.c, - server-src/amlabel.c, server-src/amlogroll.c, - server-src/amtape.c, server-src/amtrmidx.c, - server-src/amtrmlog.c, server-src/chunker.c, - server-src/driver.c, server-src/dumper.c, - server-src/getconf.c, server-src/planner.c, - server-src/reporter.c, server-src/taper.c: dbrename ot the config dir. - -2006-07-25 Jean-Louis Martineau - * common-src/amanda.h: Define DBG_SUBDIR_SERVER, DBG_SUBDIR_CLIENT - and DBG_SUBDIR_CLIENT. - * amandad-src/amandad.c, changer-src/chg-scsi.c, - changer-src/chg-scsi-chio.c, client-src/calcsize.c, - client-src/killpgrp.c, client-src/rundump.c, client-src/runtar.c, - client-src/selfcheck.c, client-src/sendbackup.c, - client-src/sendsize.c, - oldrecover-src/amrecover.c, recover-src/amrecover.c, - restore-src/amfetchdump.c, restore-src/amidxtaped.c, - restore-src/amrestore.c, server-src/amadmin.c, - server-src/amcheck.c, server-src/amcleanupdisk.c, - server-src/amflush.c, server-src/amindexd.c, - server-src/amlabel.c, server-src/amlogroll.c, - server-src/amtape.c, server-src/amtrmidx.c, - server-src/amtrmlog.c, server-src/chunker.c, - server-src/diskfile.c, server-src/driver.c, - server-src/dumper.c, server-src/getconf.c, - server-src/infofile.c, server-src/planner.c, - server-src/reporter.c (dbopen): Use DBG_SUBDIR_SERVER, - DBG_SUBDIR_CLIENT or DBG_SUBDIR_CLIENT. - -2006-07-25 Jean-Louis Martineau - * client-src/calcsize.c: Get config on argument. - * client-src/killpgrp.c: Get config on argument. - * client-src/rundump.c: Get config on argument. - * client-src/runtar.c: Get config on argument. - * client-src/sendbackup.c: Call program with config as argument. - * client-src/sendbackup-dump.c: Call program with config as argument. - * client-src/sendbackup-gnutar.c: Call program with config as argument. - * client-src/sendbackup.h: Add global g_options. - * client-src/sendsize.c: Call program with config as argument. - -2006-07-23 Jean-Louis Martineau - * client-src/sendbackup-gnutar.c: Fix bug found by splint. - * client-src/sendsize.c: Fix bug found by splint. - -2006-07-22 Jean-Louis Martineau - * server-src/taper.c: Fix amfree(mem_splitbuf). - -2006-07-22 Jean-Louis Martineau - * server-src/diskfile.c, server-src/taper.c: Fix memory leak found - by coverity. - -2006-07-22 Jean-Louis Martineau - * server-src/taper.c: Fix split_buffer allocation problem. - -2006-07-22 Jean-Louis Martineau - * client-src/selfcheck.c, common-src/security-util.c, - restore-src/restore.c, server-src/diskfile.c: Fix memory leak found - by coverity. - -2006-07-20 Jean-Louis Martineau - * changer-src/chg-scsi.c, changer-src/scsi-changer-driver.c, - client-src/amandates.c, client-src/calcsize.c, - client-src/selfcheck.c, client-src/sendbackup.c, - client-src/sendsize.c, common-src/security-util.c, - recover-src/extract_list.c, restore-src/restore.c, - server-src/amindexd.c, server-src/diskfile.c, - server-src/driver.c, server-src/reporter.c, - server-src/tapefile.c, server-src/taper.c: Fix memory leak found - by coverity. - -2006-07-19 Jean-Louis Martineau - * client-src/selfcheck.c : Read client config file. - * client-src/sendbackup.c: Read client config file. - * client-src/sendsize.c : Read client config file. - -2006-07-19 Jean-Louis Martineau - * amandad-src/amandad.h (g_option_t): Add 'char *config'; - * amandad-src/amandad_util.c (parse_g_options): Parse 'config='. - * common-src/amfeatures.h (fe_req_options_config): New amfeature. - * common-src/amfeatures.c (am_init_feature_set): - set fe_req_options_config. - * server-src/amcheck.c: Send 'config=' in global options. - * server-src/dumper.c: Send 'config=' in global options. - * server-src/planner.c: Send 'config=' in global options. - -2006-07-19 Jean-Louis Martineau - * amandad-src/amandad.c: Call dbopen("amandad"). - * changer-src/chg-scsi.c: Call dbopen("server"). - * changer-src/chg-scsi-chio.c: Call dbopen("server"). - * client-src/calcsize.c: Call dbopen("client"). - * client-src/getfsent.c: Call dbopen(NULL). - * client-src/killpgrp.c: Call dbopen("client"). - * client-src/rundump.c: Call dbopen("client"). - * client-src/runstar.c: Call dbopen("client"). - * client-src/runtar.c: Call dbopen("client"). - * client-src/selfcheck.c: Call dbopen("client"). - * client-src/sendbackup.c: Call dbopen("client"). - * client-src/sendsize.c: Call dbopen("client"). - * common-src/amanda.h (dbopen, debug_open): Take a 'char * subdir' - argument. - * common-src/bsd-security.c: Call dbopen(NULL). - * common-src/debug.c (debug_open): Call debug_setup_1(subdir) - * common-src/debug.c (debug_setup_1): Take a subdir argument, - add it to dbgdir. - * common-src/file.c: Call dbopen(NULL). - * common-src/statfs.c: Call dbopen(NULL). - * common-src/token.c: Call dbopen(NULL). - * oldrecover-src/amrecover.c: Call dbopen("client"). - * recover-src/amrecover.c: Call dbopen("client"). - * restore-src/amfetchdump.c: Call dbopen("server"). - * restore-src/amidxtaped.c: Call dbopen("server"). - * restore-src/amrestore.c: Call dbopen("server"). - * server-src/amadmin.c: Call dbopen("server"). - * server-src/amcheck.c: Call dbopen("server"). - * server-src/amcleanupdisk.c: Call dbopen("server"). - * server-src/amflush.c: Call dbopen("server"). - * server-src/amindexd.c: Call dbopen("server"). - * server-src/amlabel.c: Call dbopen("server"). - * server-src/amlogroll.c: Call dbopen("server"). - * server-src/amtape.c: Call dbopen("server"). - * server-src/amtrmidx.c: Call dbopen("server"). - * server-src/amtrmlog.c: Call dbopen("server"). - * server-src/chunker.c: Call dbopen("server"). - * server-src/diskfile.c: Call dbopen("server"). - * server-src/driver.c: Call dbopen("server"). - * server-src/dumper.c: Call dbopen("server"). - * server-src/getconf.c: Call dbopen("server"). - * server-src/infofile.c: Call dbopen("server"). - * server-src/planner.c: Call dbopen("server"). - * server-src/reporter.c: Call dbopen("server"). - * server-src/taper.c: Call dbopen("server"). - -2006-07-17 Jean-Louis Martineau - * server-src/chunker.c: Fix rt computation. - * server-src/dumper.c: Fix dumptime computation. - * server-src/taper.c: Fix rt computation. - -2006-07-17 Jean-Louis Martineau - * NEWS: Klocwork defects fixed. - * NEWS: Coverity defect fixed. - -2006-07-14 Jean-Louis Martineau - * Makefile.am (pkgdata_DATA): add ReleaseNotes. - -2006-07-14 Jean-Louis Martineau - * Amanda 2.5.1b1 released. - * configure.in: Remove -Werror. - -2006-07-14 Jean-Louis Martineau - * client-src/sendsize.c: Use read/write to copy tar snapshot file. - * client-src/sendbackup-gnutar.c: Ditto. - -2006-07-13 Jean-Louis Martineau - * common-src/stream.c (stream_accept): Loop 5 times on select error. - -2006-07-13 Jean-Louis Martineau - * server-src/dumper.c: The datafd is not scheduled at start, - add test for it. - * common-src/stream.c (tcpm_recv_token): Set error_msg. - -2006-07-12 Jean-Louis Martineau - * common-src/util.c (free_new_argv): Move out of - #ifndef HAVE_LIBREADLINE. - -2006-07-12 Jean-Louis Martineau - * server-src/amadmin.c (tape): Report the number of new tapes instead - of "a new tape" for each tapes. - * server-src/reporter.c (output_tapeinfo): Ditto. - -2006-07-12 Jean-Louis Martineau - * server-src/taperscan.c (changer_taper_scan): Report error from - changer_find. - -2006-07-11 John Franks jrfranks@zmanda.com - * configure.in: Fix multiple definition of readline during cygwin - compile. - -2006-07-11 Paddy Sreenivasan - * common-src/pipespawn.c : Fixed compiler warning - -2006-07-11 Jean-Louis Martineau - * man/xml-source/amtapetype.8.xml: No default value for -e. - -2006-07-11 Jean-Louis Martineau - * common-src/util.c: Don't conftoken_ungetc(ch) if ch == EOF. - * server-src/reporter.c: Check tp == NULL. - -2006-07-11 Jean-Louis Martineau - * tape-src/tapetype.c: Make -e an needed argument. - * man/xml-source/amtapetype.8.xml: Update man page. - -2006-07-11 Jean-Louis Martineau - * changer-src/chg-zd-mtx.sh.in: Remove .conf from changerfile. - -2006-07-11 Jean-Louis Martineau - * recover-src/extract_list.c (check_file_overwrite): Renamed from - check_file_overwite. - * recover-src/extract_list.c (check_file_overwrite): Do the path check - in the correct order (from left ro right). - -2006-07-11 Jean-Louis Martineau - * common-src/file.c (debug_agets): Remove call to dbprintf. - -2006-07-10 Jean-Louis Martineau - * recover-src/extract_list.c (add_to_unlink_list, do_unlink_list, - free_unlink_list): New function to manage unlink_list. - * recover-src/extract_list.c (check_file_overwite): Check all - component of an EXTRACT_LIST_ITEM, if a component is not a - directory, add it to the unlink_list. - * recover-src/extract_list.c (extract_files): Call do_unlink_list and - free_unlink_list, rename buf to cwd. - -2006-07-10 Jean-Louis Martineau - * common-src/pipespawn.c (pipespawnv_passwd): Add prototype. - * common-src/pipespawn.c (pipespawn, pipespawn): Remove 2 NULL - parameters to the pipespawnv_passwd call. - * common-src/pipespawn.c (pipespawnv_passwd): Remove passwdvar and - passwdfd parameters, add passwdvar and local variable. - Don't use memcpy to set passwdfd. - * common-src/pipespawn.h (pipespawnv_passwd): Remove prototype. - -2006-07-07 Jean-Louis Martineau - * common-src/security-util.c (stream_read_sync_callback): Remove bogus - call of callback. - -2006-07-07 Kevin Till - * common-src/bsd-security.c: use STREAM_BUFSIZE instead of -1 - * common-src/bsdtcp-security.c: ditto - * common-src/krb4-security.c: ditto - * common-src/security-util.c: ditto - * restore-src/amidxtaped.c: ditto - -2006-07-07 Jean-Louis Martineau - * common-src/util.c (get_conftoken): Remove duplicate conftoken_ungetc. - -2006-07-07 Jean-Louis Martineau - * common-src/security-util.c: Validate and report big packet size. - -2006-07-07 Jean-Louis Martineau - * oldrecover-src/Makefile.am: Typo. - -2006-07-07 Jean-Louis Martineau - * client-src/sendsize.c: Typo. - -2006-07-06 John Franks - * common-src/genversion.c: - Remove reference to error(). This causes a compile - error on cygwin. - -2006-07-06 Jean-Louis Martineau - Klocwork bug 128, 170, 182, 470, 517 - * changer-src/chg-scsi.c: Validate drivenum, check count_file. - * client-src/sendsize.c: Validate level. - * oldrecover-src/amrecover.c: Use tm. - * recover-src/amrecover.c: Use tm. - * server-src/infofile.c (delete_txinfofile): Use local variable. - -2006-07-06 Jean-Louis Martineau - * server-src/taper.c: Check for cur_filename. - * tape-src/output-file.c: Use vstrextend. - * tape-src/tapeio.c: Check for r. - -2006-07-06 Jean-Louis Martineau - Fix splint warning - * oldrecover-src/extract_list.c (clean_tape_list): Cleanup for splint. - * recover-src/extract_list.c (clean_tape_list): Cleanup for splint. - * server-src/amindexd.c: Add a /*@i@*/. - * server-src/conffile.c: Cast to off_t for conf_init_am64. - * server-src/driver.c: Cast to unsigned to print pid_t. - * server-src/find.c (strip_failed_chunks): Cleanup for splint. - -2006-07-06 Jean-Louis Martineau - Klocwork bug 114 - * server-src/amindexd.c: Free their_feature_string. - Klocwork bug 130 - * restore-src/amrestore.c: Test maximum value for rst_flags->blocksize. - Klocwork bug 294 - * common-src/genversion.c: Check NULL result of malloc. - Klocwork bug 294 - * client-src/selfcheck.c: Check NULL result of fdopen. - Klocwork bug 539, 542 - * oldrecover-src/extract_list.c: Fix pfn2->next = fn2. - * recover-src/extract_list.c : Ditto - Klocwork bug 268, 272, 543, 544 - * oldrecover-src/extract_list.c: Check for cmd != NULL. - * recover-src/extract_list.c : Ditto - Klocwork bug 510 - * restore-src/amidxtaped.c: Check for argv != NULL. - Klocwork bug 435 - * changer-src/scsi-linux.c: Make buffer one larger. - Klocwork bug 520 - * changer-src/scsi-changer-driver.c (OpenDevice): Validate parameters. - Klocwork bug 182 - * changer-src/chg-scsi.c (clean_tape): Check usagetime != NULL. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 551 - * regex-src/regcomp.c (allocset): Check for p->g->sets - and p->g->setbits - -2006-07-05 Jean-Louis Martineau - Klocwork bug 169, 170, 181 - * changer-src/chg-scsi.c: Validate input. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 282 - * common-src/file.c (rmpdir): Check for p == NULL. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 524 - * common-src/dgram.c (dgram_send_addr): Set addr_save earlier. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 495 - * server-src/taper.c (file_reader_side): Maximum value for - fallback_splitsize. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 532 - * recover-src/display_commands.c: Check for cmd != NULL. - * oldrecover-src/display_commands.c: Ditto - -2006-07-05 Jean-Louis Martineau - Klocwork bug 410 - * restore-src/restore.c (restore): Check for tmp_filename. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 234 - * server-src/driver.c: Check for h and activehd >= 0. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 338 and 390 - * server-src/reporter.c (handle_partial, handle_strange): Check result - of handle_success. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 558 - * client-src/selfcheck.c (check_options, check_disk): Check for - calcprog == NULL - -2006-07-05 Jean-Louis Martineau - Klocwork bug 521 - * client-src/clientconf.c (add_client_conf): Check result of realloc. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 447 and 449 - * restore-src/restore.c: Check for valid sendbackup request. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 407 - * restore-src/restore.c (restore): Set statinfo.st_size. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 189 - * common-src/file.c (sanitise_filename): Never return NULL. - -2006-07-05 Jean-Louis Martineau - * amandad-src/Makefile.am: Remove tape-src and libamtape. - * client-src/Makefile.am: Remove tape-src and libamtape. - * man/Makefile.am: Cleanup. - * oldrecover-src/Makefile.am: Remove tape-src and libamtape. - * recover-src/Makefile.am: Remove tape-src and libamtape. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 236 - * server-src/driver.c (handle_dumper_result): Check for - dumper->ev_read != NULL. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 553 - * restore-src/restore.c (search_a_tape): Check for desired_tape == NULL. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 556 and 557 - * common-src/security-util.c (bsd_recv_security_ok): Check result of - strtok, check service == NULL. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 161 - * client-src/calcsize.c (calc_load_file): Return NULL if fopen fail. - * client-src/calcsize.c (main): check NULL result from calc_load_file. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 84 - * server-src/amflush.c (main): Check return of lookup_disk. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 62, 85, 459, 463, 466, 469, 555, 559 - * common-src/security-util.c: Check result of fdopen. - * client-src/sendsize.c : Ditto. - * server-src/amcheck.c : Ditto. - * server-src/amflush.c : Ditto. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 159, 375, 377, 379, 508, 509, 513, 519 - * common-src/bsd-security.c: Replace malloc by alloc. - * common-src/bsdudp-security.c: Ditto - * common-src/genversion.c: Ditto - * recover-src/amrecover.c: Ditto - * restore-src/amidxtaped.c: Ditto - * server-src/reporter.c: Ditto - -2006-07-05 Jean-Louis Martineau - Klocwork bug 562 and 475 - * recover-src/set_commands.c (cd_dir): Check result of rindex. - * oldrecover-src/set_commands.c (cd_dir): ditto. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 552 - * restore-src/restore.c (load_manual_tape): Alloc space for cur_tapedev. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 406 - * restore-src/restore.c (restore): Check for final_filename. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 318 - * server-src/list_dir.c (add_dir_list_item): Check for cur_list->next. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 17, 32 - * server-src/amadmin.c (disklist_one): Check localtime return NULL. - * server-src/amadmin.c (info_one) : Ditto. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 2, 83, 128, 384, 478, 504, 505, 506, 517, 566, 567 - * server-src/amadmin.c (seqdatestr): Check localtime return NULL. - * common-src/util.c (construct_datestamp, construct_timestamp, - conf_print): Ditto. - * oldrecover-src/amrecover.c (main): Ditto. - * oldrecover-src/uscan.l (ll_parse_date): Ditto. - * recover-src/amrecover.c (main): Ditto. - * recover-src/uscan.l (ll_parse_date): Ditto. - * server-src/amflush.c (main): Ditto. - * server-src/reporter.c (handle_success): Ditto. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 470 - * client-src/sendsize.c (add_diskest): Check for level value. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 372 - * server-src/reporter.c (nicedate): Check month value. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 20 - * server-src/amadmin.c (tape): Limit nb_days to 10000. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 21 - * server-src/amadmin.c (balance): Test 'later' after it is set. - -2006-07-05 Jean-Louis Martineau - * common-src/alloc.c (internal_vstralloc): Don't return NULL. - -2006-07-05 Jean-Louis Martineau - * server-src/infofile.c (open_txinfofile): Use local variable. - -2006-06-29 Jean-Louis Martineau - * restore-src/restore.c (label_of_current_slot): Close the tapefd if - the label mismatch. - -2006-06-29 Jean-Louis Martineau - * server-src/find.c (strip_failed_chunks): - - Get a **output_find as parameter. - - Check the label before remove a valid chunk. - - Memory management fix. - -2006-06-28 Jean-Louis Martineau - * common-src/security-util.c: Improve message for .amandahosts. - -2006-06-27 Ian Turner - * common-src/fileheader.c: Fix a bug where spanned dumps would - always fail. - -2006-06-27 Jean-Louis Martineau - * server-src/amcheck.c: Fix test for holdingdisk negative size. - -2006-06-27 Jean-Louis Martineau - * configure.in: Don't set DEFAULT_TAPE_DEVICE if it is not set. - * client-src/clientconf.c: Work DEFAULT_TAPE_DEVICE not set. - * common-src/genversion.c: Work DEFAULT_TAPE_DEVICE not set. - * recover-src/amrecover.c: Work DEFAULT_TAPE_DEVICE not set. - * server-src/getconf.c: Work DEFAULT_TAPE_DEVICE not set. - -2006-06-27 Jean-Louis Martineau - Patch by Paul Bijnens - * server-src/amcheck.c: Check for access(hdp->diskdir, X_OK). - -2006-06-27 Jean-Louis Martineau - * server-src/conffile.c (getconf_byname): Check for kt->keyword != NULL. - * client-src/clientconf.c (client_getconf_byname): Ditto - -2006-06-22 Jean-Louis Martineau - * recover-src/extract_list.c: check_file_overwite. - -2006-06-22 Jean-Louis Martineau - * recover-src/extract_list.c: Do the cleanup of the extract list - at the extraction time - * oldrecover-src/extract_list.c: Ditto. - -2006-06-22 Jean-Louis Martineau - * NEWS: Add new features. - * ReleasesNotes: New files. - -2006-06-22 Jean-Louis Martineau - * docs/Makefile.am (pkgdata_DATA): Add amaespipe.8.txt amcrypt.8.txt - amcrypt-asym-ossl.8.txt amcrypt-ossl.8.txt amfetchdump.8.txt - * docs/amaespipe.8.txt: New file. - * docs/amcrypt.8.txt: New file. - * docs/amcrypt-asym-ossl.8.txt: New file. - * docs/amcrypt-ossl.8.txt: New file. - * docs/amfetchdump.8.txt: New file. - -2006-06-22 Jean-Louis Martineau - * docs/Makefile.am (pkgdata_DATA): Add howto-auth.txt. - * docs/howto-auth: Documentation on auth. - * docs/*.txt: Update from xml-docs - -2006-06-22 Jean-Louis Martineau - * man/xml-source/amanda.conf.5.xml: Add notes about bsdudp and bsdtcp. - * man/xml-source/amanda-client.conf.5.xml: Ditto. - -2006-06-22 Jean-Louis Martineau - * recover-src/extract_list.c (is_empty_dir): New function. - * recover-src/extract_list.c: Print a warning if cwd is not empty. - -2006-06-22 Jean-Louis Martineau - * server-src/amadmin.c: Allow 'p' and 'P' in --sort argument. - -2006-06-22 Jean-Louis Martineau - * server-src/amadmin.c: Print errstr returned by match_disklist. - * server-src/amcheck.c: Print errstr returned by match_disklist. - * server-src/amflush.c: Print errstr returned by match_disklist. - * server-src/diskfile.c (match_disklist): Return an error str. - * server-src/diskfile.h (match_disklist): New prototype. - * server-src/planner.c: Print errstr returned by match_disklist. - * server-src/reporter.c: Accept host/disk as arguments. - -2006-06-22 Jean-Louis Martineau - * server-src/amindexd.c (uncompress_file): Set LC_ALL=C before - executing sort. - -2006-06-22 Jean-Louis Martineau - * server-src/driver.c (wait_children, kill_children): New function. - * server-src/driver.c (wait_for_children): Use wait_children and - kill_children. - * server-src/driver.c (main): Use wait_children. - * server-src/driverio.c (taper_cmd, chunker_cmd): Close socket on QUIT - or ABORT command. - -2006-06-22 Jean-Louis Martineau - * common-src/amfeatures.c (am_init_feature_set): Set - fe_amrecover_feedme_tape. - * common-src/amfeatures.h (fe_amrecover_feedme_tape): New amfeatures. - * common-src/fileheader.c (print_header): Fix. - * recover-src/extract_list.c: Use fe_amrecover_feedme_tape. - * restore-src/amfetchdump.c: Print error if get_lock == 0. - * restore-src/amidxtaped.c: Call send_message if get_lock == 0. - * restore-src/restore.c: Split search_tapes in 5 functions. - * restore-src/restore.h (send_message): prototype. - -2006-06-22 Jean-Louis Martineau - * man/xml-source/amfetchdump.8.xml: Document -O and new -o. - * restore-src/amfetchdump.c: Replace -o by -O - -2006-06-22 Jean-Louis Martineau - * client-src/clientconf.c (parse_client_conf): Fix segmentation fault. - * server-src/conffile.c (parse_server_conf): Fix segmentation fault. - -2006-06-21 Kevin Till - * changer-src/chg-juke.sh.in - * changer-src/chg-manual.sh.in - * changer-src/chg-mcutil.sh.in - * changer-src/chg-multi.sh.in - * changer-src/chg-mtx.sh.in - * changer-src/chg-rait.sh.in - * changer-src/chg-disk.sh.in - * changer-src/chg-zd-mtx.sh.in - * changer-src/chg-null.sh.in - * changer-src/chg-chs.sh.in - * client-src/patch-system.sh.in - * amplot/amplot.sh.in - * server-src/amcrypt-ossl.sh.in - * server-src/amrmtape.sh.in - * server-src/amcleanup.sh.in - * server-src/amverifyrun.sh.in - * server-src/amaespipe.sh.in - * server-src/amdump.sh.in - * server-src/amcrypt.sh.in - * server-src/amcrypt-ossl-asym.sh.in - * server-src/amcheckdb.sh.in - * server-src/amfreetapes.sh.in - * server-src/amverify.sh.in - change /bin/sh to @SHELL@ for configure to pick up the correct - shell. Sourceforge bug 1466655 - * man/xml-source/amcrypt-ossl-asym.8.xml: it's backup-privkey.pem - -2006-06-20 Kevin Till - * common-src/security-util.c: ignore EINTR in net_writev - patch by Jean-Louis Martineau. - -2006-06-20 John Franks - * server-src/conffile.c: - Remove Duplicate keyword table entries and alphabetize - to make future duplicates easier to spot... - - * server-src/taper.c: - Fix compiler warnings when no mmap function is present. - -2006-06-20 John Franks - * server-src/diskfile.c: - Default boolean values without parameters to yes if - no value is present in configuration file. This - maintains backward compatibility and is logical since - a value such as "index" reads as an assertion of fact. - -2006-06-19 Jean-Louis Martineau - * docs/wishlist.txt: Remove features done in 2.5.0/2.5.1 - -2006-06-19 Jean-Louis Martineau - * man/xml-source/amanda.conf.5.xml: amrecover_check_label and - amrecover_do_fsf default to yes. - * server-src/conffile (init_dumptype_defaults): DUMPTYPE_INDEX set to 1. - * server-src/diskfile.c (parse_diskline): index set from - dumptype_get_index. - -2006-06-16 Jean-Louis Martineau - * server-src/amstatus.pl.in: Match quotes in DONE line. - -2006-06-16 Kevin Till - * example/amanda-client.conf.in: - correct DEFAULT_TAPE_SERVER/DEFAULT_SERVER - * server-src/amcrypt-ossl-asym.sh.in: - set RANDFILE for openssl to place entropy file. - * server-src/amcrypt-ossl.sh.in: ditto - -2006-06-16 Jean-Louis Martineau - * amandad-src/amandad.c : Use strcasecmp to compare auth. - * client-src/selfcheck.c : Ditto - * client-src/sendbackup.c : Ditto - * restore-src/amidxtaped.c: Ditto - * server-src/amindexd.c : Ditto - -2006-06-16 Jean-Louis Martineau - * server-src/amindexd.c (reply, lreply, fast_lreply): Correct use - of arglist_start and arglist_end.. - * server-src/amindexd.c (lreply_backend): Remove function. - -2006-06-16 Jean-Louis Martineau - * common-src/bsd-security.c (stream_read_callback): Send error to the - callback. - -2006-06-16 Jean-Louis Martineau - * recover-src/extract_list.c: Typo. - * restore-src/restore.c: Typo. - -2006-06-16 Jean-Louis Martineau - * client-src/clientconf.c: Allow include. - * client-src/clientconf.c (read_confline): Don't crash. - * server-src/conffile.c (read_confline): Don't crash. - * recover-src/amrecover.c: Exit if error in conf file. - -2006-06-16 Jean-Louis Martineau - * common-src/arglist.h: Typo. - * recover-src/extract_list.c: handle MESSAGE from amidxtaped. - -2006-06-16 Jean-Louis Martineau - * common-src/amfeatures.c (am_init_feature_set): Set - fe_amrecover_message. - * common-src/amfeatures.h (am_feature_e): Add fe_amrecover_message. - * common-src/arglist.h (printf_arglist_function3): Prototype. - -2006-06-16 Jean-Louis Martineau - * restore-src/restore.c (send_message): New function that send message - to stderr and/or amrecover. - * restore-src/restore.c: Call send_message on some error path. - -2006-06-16 Jean-Louis Martineau - * common-src/event.c (event_loop_wait, event_wait): Take an - event_handle_t * as parameter. - * common-src/event.h: New prototype. - * common-src/bsd-security.c: Call event_wait(bs->ev_read). - * common-src/krb4-security.c: Call event_wait(ks->ev_read). - * common-src/krb5-security.c: Call event_wait(ks->ev_read). - * common-src/security-util.c: Call event_wait(ss->ev_read). - -2006-06-15 Kevin Till - * man/xml-source/amcrypt-ossl-asym.8.xml: it's .am_passphrase - * server-src/amcrypt-ossl-asym.sh.in: export PATH - * server-src/amcrypt-ossl.sh.in: export PATH - - -2006-06-15 Jean-Louis Martineau - * server-src/amcheck.c: -w doesn't change the test selection. - * man/xml-source/amcheck.8.xml - -2006-06-15 Jean-Louis Martineau - * server-src/planner.c: Log empty disklist and no DLE selected. - -2006-06-14 Jean-Louis Martineau - * common-src/bsd-security.c: Use %u to print in_port_t data. - * common-src/bsdudp-security.c: Ditto. - -2006-06-14 Jean-Louis Martineau - * changer-src/chg-disk.sh.in: Return the number of slot in output of - the -info command. - * changer-src/chg-zd-mtx.sh.in: Ditto. - -2006-06-14 Jean-Louis Martineau - * changer-src/chg-zd-mtx.sh.in: Accept changerfile that already - have the .conf suffix. - -2006-06-13 Jean-Louis Martineau - * amandad-src/amandad.c (s_ackwait): Resend the REP on receive of a - duplicate REQ. - -2006-06-13 Jean-Louis Martineau - * common-src/security-util.c (bsd_recv_security_ok): Set error only - if we get an error. - -2006-06-12 Jean-Louis Martineau - * server-src/driver.c: usetimestamps is a warning. - -2006-06-12 Kevin Till - * common-src/security-util.c: if host is 127.0.0.1 and either - localhost or localhost.domain is in .amandahost, hostmatch passes. - * common-src/security-util.h: update check_user_amandahosts prototype - -2006-06-12 Jean-Louis Martineau - * amandad-src/amandad.c (process_writenetfd): Close the pipe if the - security_stream is closed. - * recover-src/extract_list.c: Improve message if we don't get thei - FEATURE line from amidxtaped. - -2006-06-12 Jean-Louis Martineau - * recover-src/amrecover.c: Read amanda-client.conf and - /amanda-client.conf. - -2006-06-12 Jean-Louis Martineau - * common-src/security-util.c, common-src/tapelist.c, - restore-src/restore.c, server-src/amcheck.c, server-src/amindexd.c, - server-src/amtape.c, server-src/changer.c, server-src/driver.c, - server-src/planner.c, server-src/taper.c, - server-src/taperscan.c: Fix memory leak. - -2006-06-12 Jean-Louis Martineau - * restore-src/restore.c: Fix Adding at end of list. - -2006-06-12 Jean-Louis Martineau - * server-src/taper.c (syncpipe_putstr): Don't crash if str is NULL. - -2006-06-09 Jean-Louis Martineau - * server-src/holding.c (pick_datestamp): Fix reading user input. - -2006-06-09 Jean-Louis Martineau - * recover-src/amrecover.c (sigint_handler): Call send_command only if - amindexd is alive. - -2006-06-09 Jean-Louis Martineau - * common-src/util.c (connect_port): ETIMEDOUT is a fatal error. - -2006-06-09 Jean-Louis Martineau - * common-src/stream.c (stream_client_internal): Get errno set - correctly. - * server-src/driver.c (handle_chunker_result): Don't assert(0) on - receive of a TRYAGAIN from a chunker, but set - chunker->result. - * server-src/dumper.c: Try gethostbyname("localhost") before calling - stream_client and log appropriate message. - -2006-06-09 Jean-Louis Martineau - * server-src/amcheck.c: Report ERROR if gethostbyname("localhost") - doesn't succeed. - -2006-06-08 Jean-Louis Martineau - * client-src/clientconf.c (add_client_conf): New function to map - normal option to their - -o equivalent. - * client-src/clientconf.h (add_client_conf): Prototype. - * man/xml-source/amrecover.8.xml: Document -o. - * recover-src/amrecover.c: Also read /amanda-client.conf - -2006-06-08 Jean-Louis Martineau - * server-src/diskfile.c (parse_diskline): Only return 0 or -1. - -2006-06-08 Jean-Louis Martineau - * amandad-src/amandad.h (g_option_t): Add auth. - * amandad-src/amandad_util.c (init_g_options): Set auth to NULL. - * amandad-src/amandad_util.c (parse_g_options): Parse auth. - * amandad-src/amandad_util.c (free_g_options): Free auth. - * client-src/sendbackup.c: Get amandad_auth from command line and - compare with REQ packet. - * common-src/amfeatures.h (fe_amindexd_options_hostname, - fe_amindexd_options_features, - fe_amindexd_options_auth, - fe_amidxtaped_options_hostname, - fe_amidxtaped_options_features, - fe_amidxtaped_options_auth): New amfeatures. - * common-src/amfeatures.c (am_init_feature_set): Set new amfeatures. - * recover-src/amrecover.c: Send auth in OPTIONS of req packet. - * recover-src/extract_list.c: Send auth in OPTIONS of req packet. - * restore-src/amidxtaped.c: Parse amandad_auth from command line. - Get auth from OPTIONS line. - Compare them. - * server-src/amindexd.c: Parse amandad_auth from command line. - Get auth from OPTIONS line. - Compare them. - -2006-06-08 Jean-Louis Martineau - * common-src/util.c(connect_port): Return -2 on ECONNREFUSED error - from connect. - -2006-06-07 Jean-Louis Martineau - * amandad-src/amandad.c: exec the service with the auth as parameter. - * amandad-src/amandad.c(writebuf): Do no close fd. - * client-src/selfcheck.c: Read the auth for the command line and - compare with the option string. - * client-src/selfcheck.c(main): Do no close 0,1,2 fd. - -2006-06-07 Jean-Louis Martineau - * man/xml-source/amanda.8.xml(CONFIGURATION OVERWRITE): New section. - * man/xml-source/amadmin.8.xml, man/xml-source/amcheck.8.xml, - man/xml-source/amdump.8.xml, man/xml-source/amflush.8.xml, - man/xml-source/amgetconf.8.xml, man/xml-source/amlabel.8.xml, - man/xml-source/amreport.8.xml, - man/xml-source/amrestore.8.xml: Add -o option. - -2006-06-07 Jean-Louis Martineau - * common-src/util.c(get_conftoken): Merge from zmanda. - -2006-06-07 Jean-Louis Martineau - * common-src/util.c(get_conftoken): Remove a conftoken_ungetc. - -2006-06-07 Jean-Louis Martineau - * common-src/bsd-security.c (stream_read_callback): Merge with zmanda. - -2006-06-07 Jean-Louis Martineau - * amandad-src/amandad.c(process_writenetfd): Call security_stream_read - only if size > 0. - -2006-06-07 Jean-Louis Martineau - * server-src/conffile.c (lookup_interface): Fix merge error. - -2006-06-07 John Franks - * common-src/amanda.h: - Fix isnormal() replacement macro to indirectly - check if a floating point value is != 0.0. - This prevents compiler warnings. - -2006-06-07 John Franks - * common-src/util.c - Put in "/* NOTREACHED */" comments after error() calls. - * server-src/diskfile.c - Change disktype index default to yes for backward compatibility. - -2006-06-06 John Franks - * amandad-src/amandad.c common-src/bsd-security.c: - Correct fix for infinite amandad loop. - -2006-06-06 John Franks - * common-src/stream.c common-src/util.c: - Lint clean again. - * server-src/conffile.c: - Remove replicated line - -2006-06-06 Jean-Louis Martineau - * common-src/util.c (conftoken_ungetc): Return the character. - * common-src/util.c (get_conftoken): Merge to allow escape character. - * common-src/util.c (read_block): Allow STRING as IDENT. - * server-src/conffile.c (getconf_long, getconf_size): New function. - * server-src/conffile.c: Cleanup after Merge. - -2006-06-06 Jean-Louis Martineau - * server-src/amadmin.c, server-src/amcheck.c, server-src/amflush.c, - server-src/amlabel.c, server-src/amlogroll.c, server-src/amtrmidx.c, - server-src/amtrmlog.c, server-src/getconf.c, - server-src/reporter.c: Usage -o - * server-src/amflush.c, server-src/amlogroll.c, server-src/amtrmidx.c, - server-src/amtrmlog.c, server-src/chunker.c, server-src/driver.c, - server-src/dumper.c, server-src/getconf.c, server-src/planner.c, - server-src/reporter.c, - server-src/taper.c: Add call to report_bad_conf_arg. - * server-src/conffile.c(get_comprate, get_compress): Parse CONF_END. - -2006-06-06 John Franks - * configure.in: - Increase checking level from 1 to 2 for SUN lint. - * client-src/amandates.c client-src/clientconf.c - common-src/security-util.c recover-src/amrecover.c - recover-src/extract_list.c regex-src/regcomp.c server-src/amcheck.c - server-src/amlabel.c server-src/chunker.c server-src/conffile.c - server-src/conffile.h server-src/diskfile.c server-src/diskfile.h - server-src/driver.c server-src/holding.c server-src/reporter.c - server-src/tapefile.c server-src/taper.c tape-src/amdd.c: - Lint clean again. - * common-src/util.h common-src/util.c: - Lint clean again. - Add missing conftype size. - * common-src/bsd-security.c - Fix infinte loop which consumes all /tmp space and 1/2 - the CPU time when EOF is reached on socket. - -2006-06-05 Paddy Sreenivasan - * common-src/util.c: Fix warning - -2006-06-05 Jean-Louis Martineau - * restore-src/amfetchdump.c, server-src/amcheck.c, - server-src/amcheckdb.sh.in, server-src/amcleanup.sh.in, - server-src/amdump.sh.in, server-src/amflush.c, - server-src/amlabel.c, server-src/amlogroll.c, - server-src/amtrmidx.c, server-src/amtrmlog.c, - server-src/chunker.c, server-src/conffile.c, - server-src/diskfile.c, server-src/driver.c, - server-src/driverio.c, server-src/dumper.c, - server-src/getconf.c, server-src/planner.c, - server-src/reporter.c, server-src/taper.c, - server-src/taperscan.c: Allow -o options and some memory fix. - * server-src/conffile.c(lookup_dumptype, lookup_tapetype, - lookup_interface): Use strcasecmp. - -2006-06-02 Jean-Louis Martineau - * common-src/stream.c (stream_client_internal): Use connect_portrange. - * common-src/util.c (connect_portrange): First, try to connect with a - port already used. - * common-src/util.c (connect_port): Try to connect with a specific port. - * common-src/util.h: Cleanup. - -2006-06-02 Jean-Louis Martineau - * server-src/reporter.c: Remove empty if. - -2006-06-02 Jean-Louis Martineau - * common-src/util.c (read_block): Don't read CONF_NL aftre the '{'. - * server-src/conffile.c(get_holdingdisk, get_tapetype, get_interface): - Read a CONF_NL after the call to read_block. - * server-src/conffile.c(read_dumptype): Read a CONF_NL if we are not - called from diskfile. - * server-src/diskfile.c: Don't loop on empty line after read_dumptype. - -2006-06-01 Kevin Till - * server-src/amcrypt-ossl.sh.in: symmetric encrypt script using openSSL. - Thanks to Ben Slusky. - * server-src/amcrypt-ossl-asym.sh.in: public-ley encrypt script using openSSL. - * man/xml-source/amcrypt-ossl.8.xml: man page - * man/xml-source/amcrypt-ossl-asym.8.xml: man page - * configure.in: ditto - * man/Makefile.am: ditto - * man/entities/global.entities: ditto - * server-src/Makefile.am: ditto - -2006-06-01 John Franks - Eliminate Cygwin compile warnings. - * client-src/getfsent.c: Quiet unused parameter warnings. - * client-src/selfcheck.c: Quiet unused parameter warnings. - * common-src/security-util.h: Make hostname const char *. - -2006-06-01 Jean-Louis Martineau - * server-src/amcheck.c: holdingdisk_get_disksize() return an off_t. - * server-src/find.c: result should be ssize_t. - -2006-06-01 Jean-Louis Martineau - * common-src/amanda.h: Remove am64_t. - * client-src/clientconf.c, client-src/clientconf.h, common-src/util.c, - common-src/util.h, server-src/conffile.c, server-src/conffile.h: - Second pass of config cleanup, add function to parse -o argument. - * recover-src/amrecover.c: -o command argument. - * restore-src/restore.c: Use off_t instead of am64_t. - * server-src/amadmin.c: New config subcommand. -o command argument. - * server-src/amlabel.c: Fix memory leak. - * server-src/diskfile.c: Fix memory leak. - * server-src/diskfile.h: Rename no_hold to to_holdingdisk. - * server-src/driver.c: Many. - * server-src/planner.c: am64_t to off_t. - -2006-06-01 Jean-Louis Martineau - This is the first pass of a general rewrite of configuration file - parsing, It will now use array to store all options. - - * client-src/clientconf.c: - * client-src/clientconf.h: - * server-src/conffile.c: - * server-src/conffile.h: - * common-src/util.c: Many new functions. - * common-src/util.h: - - * restore-src/amidxtaped.c, server-src/amcheck.c, - server-src/amcleanupdisk.c, server-src/amlabel.c, - server-src/diskfile.c, server-src/driver.c, server-src/driverio.c, - server-src/find.c, server-src/holding.c, server-src/planner.c, - server-src/reporter.c, - server-src/taper.c: Use new macro to get configuration option. - -2006-06-01 Jean-Louis Martineau - * amandad-src/amandad.c, client-src/amandates.c, client-src/noop.c, - client-src/selfcheck.c, client-src/sendsize.c, - common-src/bsd-security.c, common-src/bsdtcp-security.c, - common-src/bsdudp-security.c, common-src/fileheader.c, - common-src/rsh-security.c, common-src/security-util.c, - common-src/security-util.h, common-src/ssh-security.c, - recover-src/extract_list.c, server-src/amcheck.c, - server-src/amindexd.c, server-src/amlogroll.c, - server-src/diskfile.c, server-src/driver.c, server-src/dumper.c, - server-src/find.c, server-src/logfile.c, server-src/planner.c, - server-src/reporter.c, - server-src/tapefile.c: Fix memory and fd leak. - -2006-06-01 Jean-Louis Martineau - * server-src/find.c (search_holding_disk): Take the datestamp from the - file, not the directory name, otherwise usetimestamps=no doesn't - work. - -2006-06-01 Jean-Louis Martineau - * common-src/stream.c (stream_server): New priv parameter if we want - a reserved port. Don't try to - get a reserved port if priv==0. - * common-src/stream.h (stream_server): New prototype. - * common-src/bsd-security.c: Call stream_server with priv==0. - * common-src/krb4-security.c: Call stream_server with priv==1. - * common-src/security-util.c: Call stream_server with priv==0. - * restore-src/amidxtaped.c: Call stream_server with priv==0. - * server-src/chunker.c: Call stream_server with priv==0. - * server-src/taper.c: Call stream_server with priv==0. - -2006-06-01 Jean-Louis Martineau - * server-src/diskfile.c: Return -1 if open of diskfile failed. - * server-src/driver.c: Change message if didn't get a DATE line. - * server-src/reporter.c: Ignore faillure in reading amanda.conf - disklist and tapelist. - -2006-05-29 Jean-Louis Martineau - * man/xml-source/amanda.8.xml: Documents service in .amandahosts. - -2006-05-29 Jean-Louis Martineau - Previous patch doesn't work because 'make -j2' will use fd 3. - * amandad-src/Makefile.am: Use a temporary file for output of - 'make listlibsrc'. - * changer-src/Makefile.am: Ditto. - * client-src/Makefile.am: Ditto. - * common-src/Makefile.am: Ditto. - * oldrecover-src/Makefile.am: Ditto. - * recover-src/Makefile.am: Ditto. - * restore-src/Makefile.am: Ditto. - * server-src/Makefile.am: Ditto. - * tape-src/Makefile.am: Ditto. - -2006-05-29 Jean-Louis Martineau - * amandad-src/Makefile.am: 'make listlibsrc' send it's ouput to fd 3. - * changer-src/Makefile.am: Ditto. - * client-src/Makefile.am: Ditto. - * common-src/Makefile.am: Ditto. - * oldrecover-src/Makefile.am: Ditto. - * recover-src/Makefile.am: Ditto. - * restore-src/Makefile.am: Ditto. - * server-src/Makefile.am: Ditto. - * tape-src/Makefile.am: Ditto. - -2006-05-28 Paddy Sreenivasan - * tape-src/tapeio.c : Fixed warnings - * tape-src/output-rait.c : Fixed warnings - * tape-src/output-null.c : Fixed warnings - * tape-src/output-file.c : Fiexed warnings - * recover-src/amrecover.c: Fixed warnings - * recover-src/extract_list.c : Fixed warnings - * server-src/amadmin.c : Fixed warnings - * server-src/driver.c : Fixed warnings - * server-src/infofile.c : Fixed warnings - -2006-05-26 Jean-Louis Martineau - * server-src/conffile.c (read_dumptype): Parse SSH_KEYS. - -2006-05-26 Jean-Louis Martineau - * common-src/security-util.c (udp_inithandle): Remove bad merge. - * server-src/amindexd.c: Improve error message. - * server-src/planner.c: Add a space in output. - -2006-05-26 Jean-Louis Martineau - * server-src/conffile.c: Set dpcur.no_hold correctly, - Fix for conffile program. - -2006-05-26 Jean-Louis Martineau - Allow many services to share the same tcp connection for - bsdtcp/ssh/rsh. - Add a security_close_connection to the security-api. - * amandad-src/amandad.c (wait_30s, exit_on_qlength): New variable to - control auth specific behaviour. - * common-src/bsd-security.c: Add sec_close_connection_none. - * common-src/bsdudp-security.c: Add sec_close_connection_none. - * common-src/krb4-security.c: Add sec_close_connection_none. - * common-src/krb5-security.c: Add sec_close_connection_none. - * common-src/security.h (security_close_connection): Prototype. - * common-src/security-util.h (sec_close_connection_none, - tcpm_close_connection): Prototype. - * common-src/security-util.h (struct tcp_conn): Add toclose. - * common-src/security-util.h (struct sec_stream): Add closed_by_me and - closed_by_network. - * common-src/security-util.c (sec_close_connection_none, - tcpm_close_connection): New function. - * common-src/security-util.c: Handle many services on one connection. - * common-src/bsdtcp-security.c: Handle many services on one connection. - * common-src/rsh-security.c: Handle many services on one connection. - * common-src/ssh-security.c: Handle many services on one connection. - * recover-src/amrecover.c: Add call security_close_connection. - * recover-src/extract_list.c: Add call security_close_connection. - * server-src/amcheck.c: Add call security_close_connection. - * server-src/dumper.c: Add call security_close_connection. - -2006-05-26 Jean-Louis Martineau - * common-src/security-util.c (bsd_prefix_packet): We need the username - of the getuid() user. - -2006-05-26 Jean-Louis Martineau - * common-src/fileheader.c: Parse datestamp on F_TAPEEND. - * restore-src/amrestore.c: Set read_result to the result of - read_file_header. - * restore-src/restore.c (read_file_header): Return a ssize_t. - Rename bytes_read by read_result. - Set read_result to the result of read_file_header. - * restore-src/restore.h (read_file_header): New prototype. - -2006-05-25 Jean-Louis Martineau - * server-src/taperscan.c: Replace bogus newvstralloc by vstrextend. - -2006-05-25 Jean-Louis Martineau - * client-src/getfsent.c (print_entry): Add prototype. - * common-src/token.c (main): Shut up compiler warning. - * server-src/infofile.c (dump_rec, dump_db): Add prototype. - -2006-05-25 Jean-Louis Martineau - * amandad-src/amandad.c, common-src/bsd-security.c, - common-src/bsdtcp-security.c, common-src/bsdudp-security.c, - common-src/event.c, common-src/krb5-security.c, - common-src/protocol.c, common-src/rsh-security.c, - common-src/security-util.c, common-src/ssh-security.c, - common-src/util.c, server-src/driver.c: comment debugging. - -2006-05-25 Jean-Louis Martineau - * common-src/security-util.c: typo. - * server-src/amcheck.c: Make sure all check are done. - -2006-05-25 Jean-Louis Martineau - Fix for program not compiled by default. - make bsdsecurity still not compile. - * common-src/bsd-security.c(bind_portrange): prototype change. - * common-src/Makefile.am (STANDARD_COMMON_STUFF_NOT_FILE): Add match.o. - * server-src/conffile.c: Many typo. - * tape-src/tapeio.c: Use OFF_T_FMT and SSIZE_T_FMT when needed, typo. - -2006-05-25 Jean-Louis Martineau - * common-src/fileheader.c (validate_datestamp): Works for 8 characters - datestamp. - * common-src/security-util.c (tcpm_send_token): netlength must be - uint32_t. - * common-src/security-util.c (bsd_prefix_packet): Fix typo. - * common-src/util.c (get_time): Don't do computation for starttime. - * server-src/conffile.c (read_dumptype): Do computation for starttime. - -2006-05-25 Jean-Louis Martineau - * common-src/krb5-security.c (krb5_sendpkt, krb5_stream_read_sync, - recv_token): Return ssize_t. - * common-src/krb5-security.c (krb5_accept, krb5_stream_accept,i - krb5_stream_auth): Shut up compiler. - * tape-src/output-file.c: Use SSIZE_MAX instead of SSIZE_T_MAX. - -2006-05-25 Jean-Louis Martineau - * configure.in(AM_INIT_AUTOMAKE): Fix. - -2006-05-25 John Franks - Pass user CFLAGS correctly to machine generated code and do not - enforce code quality checks on them. - * configure.in: - Put compiler code check flags into existing, but previously - unused, AM_CFLAGS for Makefiles to pick up. CFLAGS should - now only contain mandatory flags. - - * recover-src/Makefile.am oldrecover-src/Makefile.am: - Use CFLAGS for compiling C code generated from uparse.y and uscan.l - -2006-05-24 John Franks - Add support for binary path names on disk and in configuration files. - (Allow spaces in filenames.) - - Allow quoted strings for disklist entries. - - Lint clean code using sun lint, splint and strict GCC warnings. - Type / size clean, dead code removal, portibility checks, etc. - Many checks are still turned off. See configure.in for lint flags used. - - Increase debug output in /tmp/amanda/*debug files. - - Set SO_REUSEADDR on sockets help avoid running out of ports. - - * configure.in: - Added lint program discovery with specific targets for SUN lint and splint. - Check each compiler option to see if GCC supports it. - Enable more code quality warnings. - Change missing xsltproc to warning rather than error. - Define _GNU_SOURCES to build flags. - Make size_t and time_t printf format macros. - Check for isnormal() availability. - Don't install man pages if they are not built. - Fix man pages to not attempt build or install if - --without-built-manpages is set. - - * Makefile.am amandad-src/Makefile.am changer-src/Makefile.am - client-src/Makefile.am common-src/Makefile.am - oldrecover-src/Makefile.am recover-src/Makefile.am - restore-src/Makefile.am server-src/Makefile.am tape-src/Makefile.am: - Add lint target. - - * common-src/amanda.h common-src/dgram.c common-src/stream.c - common-src/util.c: - Keep checking for ports on all bind errors. - Delay and retry a few times if all ports are busy. - Retry bind failures after all methods fail. - increase bind checking timeout to 30 minutes. - - * client-src/amandad.c - Issue wait when any child exits. (Get rid of defunct processes) - Stat() index file before using system command. - (shell is not reporting failure if index is not present) - - * recover-src/extract_list.c: - Fix problem of 'add *' not adding directories. - Fix problem of freeing pointer not obtained through malloc. - Touch up file addition to actually use the file names - retrieved when adding a directory and not the directory itself. - - * server-src/taper.c - Strenghten error recovery for broken syncpipes and writer errors. - - * changer-src/chg-scsi-chio.c client-src/amandates.c - client-src/client_util.c client-src/findpass.c client-src/getfsent.c - client-src/selfcheck.c client-src/sendbackup-gnutar.c - client-src/sendbackup-star.c client-src/sendbackup.c - client-src/sendsize.c common-src/bsd-security.c common-src/file.c - common-src/krb5-security.c server-src/amcheck.c server-src/amindexd.c - server-src/diskfile.c server-src/driver.c server-src/dumper.c - server-src/holding.c server-src/infofile.c server-src/logfile.c - server-src/tapefile.c: - allow empty lines in input streams. - - * recover-src/uparse.y - print message when input is garbage. - - * server-src/getconf.c: - Define HOSTNAME_INSTANCE if it was not already defined - for Kerberos. - - * configure.in: Make readline warning less specific. Readline is - used by all input from terminal now. - -2006-05-24 Kevin Till - * client-src/sendbackup.c: ignore SIGINT - * common-src/ssh-security.c: add to total only when n > 0 - * common-src/ssh-security.c: add ssh to error, - retry writev when EINTR, EAGAIN is seen - to STDOUT. exit when options is chosen in template mode. - * server-src/driver.c: make sure timestamp is not null - * amanda/configure.in: remove template.d/amanda.conf which is a dup - of amanda-harddisk.conf - * example/Makefile.am: add template.d/README - * amanda-harddisk.conf.in: set tapedev - * recover-src/amrecover.c: aclose socket before exit. - * recover-src/extract_list.c: ditto - * amanda_enterprise.spec: remove template.d/amanda.conf, add template.d/README - in the failure cases. <> user input field. - * server-src/amcheck.c: no quoted text is a warning - * server-src/driver.c: no need to amfree qname - argument. Search mtx in PATH too. - * example/template.d/advanced.conf.in: fix comment for autoflush - * example/template.d/advanced.conf.in: add usetimestamps - * server-src/diskfile.c: to catch unsupported compress-encryption - combination and abort amdump gracefully. - * man/xml-source/amanda.conf.5.xml: fix syntax, add - dumptype references. - * man/xml-source/amanda.8.xml: fix syntax - * configure.in: ditto - * man/Makefile.am: ditto - * example/amanda.conf.in: tidy up - * man/xml-source/amaespipe.8.xml: add uuencode as requirement - * man/xml-source/amcrypt.8.xml: add uuencode as requirement - * server-src/amcheck.c: catch dumptype misconfiguration - * server-src/diskfile.c: ditto - * server-src/driverio.c: ditto - * server-src/planner.c: ditto - * server-src/conffile.c: check includefile before calling - read_conffile_recursively - * example/amanda.conf.in: add public-key encryption dumptype example - * man/xml-source/amanda.8.xml: fix some formatting - * server-src/planner.c: adjust setuid() calling sequences so that ssh can work - * server-src/dumper.c: ditto - * configure.in: add LOW_TCPPORTRANGE for amrecover - * common-src/stream.c: use LOW_TCPPORTRANGE - * server-src/amdump.sh.in: check if config is supplied - * man/xml-source/amrestore.8.xml: add notes on "-f" option - -2006-05-24 Ian Turner - * configure.in: Properly document --without-xsltproc as itself, - and not the (nonexistant) option --without-built-manpages. - -2006-05-16 John Franks - * amandad-src/amandad.c client-src/clientconf.c common-src/bsd-security.c - common-src/bsdudp-security.c common-src/dgram.c common-src/krb4-security.c - common-src/krb5-security.c common-src/match.c common-src/packet.c - common-src/security-util.c common-src/security-util.h - common-src/security.h common-src/util.c oldrecover-src/Makefile.am - oldrecover-src/set_commands.c recover-src/amrecover.c - recover-src/extract_list.c server-src/conffile.c server-src/driver.c - server-src/dumper.c server-src/planner.c server-src/reporter.c: - Minimal changes to get tree to compile along with some more - debugging output. - -2006-05-15 Jean-Louis Martineau - * server-src/amadmin.c (disklist_one): print spindle. - -2006-05-12 Jean-Louis Martineau - * commmon-src/bsd-security.c: Typo. - -2006-05-12 Jean-Louis Martineau - * common-src/Makefile.am (noinst_HEADERS): Add security-util.h. - -2006-05-12 Jean-Louis Martineau - Build a big tok_t enum for server and client config. - * client-src/clientconf.c: Move many things to util.c. - * client-src/clientconf.h: Remove extern variable. - * common-src/util.c: Add common part of clientconf.c and conffile.c - * common-src/util.h: Prototype. - * server-src/conffile.c: Move many things to util.c. - * server-src/diskfile.c(disk_parserror): Rename from parserror. - * server-src/taper.c: Make many variable static. - -2006-05-12 Jean-Louis Martineau - * restore-src/restore.c: Fix use of possibly NULL input. - -2006-05-12 Jean-Louis Martineau - * common-src/ssh-security.c (ssh_connect): Retrieve ssh_keys from - configuration. - * server-src/amadmin.c(disklist_one): Print ssh_keys. - * server-src/conffile.c(SSH_KEYS): Parse new dumptype option. - * server-src/conffile.h(dumptype_t): Add ssh_keys. - * server-src/diskfile.c(parse_diskline): Copy new field. - * server-src/diskfile.h(disk_t) Add ssh_keys. - * server-src/driverio.c(dumper_cmd): Send dp->ssh_keys in a PORT_DUMP - command to the dumper. - * server-src/dumper.c: Parse ssh_keys in a PORT_DUMP command. - * server-src/dumper.c(dumper_get_security_conf): Return the ssh_keys. - * server-src/server_util.c(amhost_get_security_conf): Return the - ssh_keys. - -2006-05-12 Jean-Louis Martineau - * amandad-src/amandad.c: Set allow_many_services to 0 if auth=bsdtcp. - * common-src/bsd-security.c: Use security-util.c. - * common-src/bsdtcp-security.c: New security-api. - * common-src/bsdudp-security.c: New secutity-api. - * common-src/krb4-security.c: Use security-util.c. - * common-src/krb5-security.c: Use security-util.c. - * common-src/Makefile.am (libamanda_la_SOURCES): Add bsdtcp-security.c, - bsdtcp-security.c - and security-util.c. - * common-src/protocol.c: Debuging cleanup. - * common-src/rsh-security.c Use security-util.c. - * common-src/security.c: Use bsdtcp_security_driver - and bsdudp_security_driver. - * common-src/security.h(accept): New prototype. - * common-src/security-util.c: Many common function for security-api. - * common-src/security-util.h: many prototype for security-api. - * common-src/ssh-security.c Use security-util.c. - * common-src/stream.c (stream_client_internal): Call connect_portrange. - * common-src/util.c (make_socket): Make a socket. - * common-src/util.c (connect_portrange): Make a socket, bind it and - connect. - * common-src/util.h (connect_portrange): Prototype. - * configure.in: new --with-bsdtcp-security and --with-bsdudp-security. - -2006-05-10 Jean-Louis Martineau - Patch by - * man/xml-source/amrecover.8.xml: Document listhost command. - -2006-05-08 Jean-Louis Martineau - Patch by - * server-src/amindexd.c: new LISTHOST command. - * recover-src/set_commands.c (list_host): New function. - * recover-src/amrecover.h (list_host): Prototype. - * recover-src/help.c (list_host): Print help. - * recover-src/uscan.l: Parse listhost command. - * recover-src/uparse.y: LISTHOST command. - * oldrecover-src/set_commands.c (list_host): New function. - * oldrecover-src/amrecover.h (list_host): Prototype. - * oldrecover-src/help.c (list_host): Print help. - * oldrecover-src/uscan.l: Parse listhost command. - * oldrecover-src/uparse.y: LISTHOST command. - -2006-05-08 Ian Turner - * server-src/amcheck.c: Make it an error when the expected new - tape cannot be found. Thanks to Paul Bijnens - for the patch and to Jason L - Tibbitts III for noticing this problem. - -2006-05-08 Jean-Louis Martineau - * driverio.h (shed_s): Add est_nsize, est_csize, degr_nsize, degr_csize - for nativa and compressed estimate size. - * planner.c: Send the native and compressed estimate size to the driver. - * driver.c: log with L_STATS the estimate of a successful dump. - * reporter.c: Parse the L_STATS. - * reporter.c(generate_bad_estimate): New function that will put in the - NOTES section all bad estimate. - -2006-05-08 Jean-Louis Martineau - * configure.in (AC_CONFIG_FILES): Add oldrecover-src/Makefile. - * Makefile.am (RECOVER_SUBDIRS): Add oldrecover-src. - * oldrecover-src/amrecover.c: Copy of old recover-src/amrecover.c - * oldrecover-src/amrecover.h: Copy of old recover-src/amrecover.h - * oldrecover-src/display_commands.c: Copy of old - recover-src/display_commands.c - * oldrecover-src/extract_list.c: Copy of old recover-src/extract_list.c - * oldrecover-src/help.c: Copy of old recover-src/help.c - * oldrecover-src/Makefile.am: Copy of old recover-src/Makefile.am - * oldrecover-src/set_commands.c: Copy of old recover-src/set_commands.c - * oldrecover-src/uparse.y: Copy of old recover-src/uparse.y - * oldrecover-src/uscan.l: Copy of old recover-src/uscan.l - * recover-src/amrecover.c: Works with security-api. - * recover-src/amrecover.h: Works with security-api. - * recover-src/extract_list.c: Works with security-api. - -2006-05-08 Jean-Louis Martineau - * amandad-src/amandad.c: Fixup. - -2006-05-08 Jean-Louis Martineau - * common-src/packet.h: pkt_t.body is now a char*. - * common-src/packet.c (pkt_init): Return an alloced pkt.body. - * common-src/packet.c (pkt_cat): Increade pkt.body size if needed. - * common-src/protocol.c: Free allocated pkt.body. - * common-src/dgram.c (dgram_cat): Return int. - * common-src/dgram.h (dgram_cat): New prototype. - * common-src/krb5-security.c: Work with dynamicaly allocated packet - body. - * common-src/rsh-security.c: Work with dynamicaly allocated packet - body. - * common-src/ssh-security.c: Work with dynamicaly allocated packet - body. - * amandad-src/amandad.c: Work with dynamicaly allocated packet body. - * server-src/amcheck.c: Don't limit packet size. - * server-src/planner.c: Don't limit packet size. - -2006-05-08 Jean-Louis Martineau - * amandad-src/amandad.c (service_new): Apply the correct patch. - -2006-05-08 Jean-Louis Martineau - * server-src/taper.c: Fix compiler warning. - * common-src/match.c: Many function get const parameters. - * common-src/amanda.h: Prototype change. - -2006-05-07 Jean-Louis Martineau - * amandad-src/amandad.c (service_new): Make sur that the 3 data_read[] - and the 3 data_write[] fd are not in the range DATA_FD_OFFSET to - DATA_FD_OFFSET+DATA_FD_COUNT-1. - -2006-05-05 Jean-Louis Martineau - * common-src/tapelist.c (append_to_tapelist): Remove bad amfree. - -2006-05-05 Nikhil Bandiwadekar - * server-src/conffile.c: fix to correctly handle am64 datatype - -2006-05-04 Jean-Louis Martineau - * server-src/taper.c: Write the slot number in the - 'taper: wrote label' line. - * server-src/amverifyrun.sh.in: Parse that line. - -2006-05-02 Jean-Louis Martineau - * amstatus.pl.in: Limit characters for hostname in setup_estimate line. - -2006-04-27 Jean-Louis Martineau - * common-src/rsh-security.c: Pass "amdump amindexd amidxtaped" option - to amandad. - * common-src/ssh-security.c: Ditto. - -2006-04-27 Jean-Louis Martineau - * amandad-src/amandad.c: Accept a list of services on the command line. - -2006-04-27 Jean-Louis Martineau - * common-src/tapelist.c (append_to_tapelist): Fix memory leak. - -2006-04-27 Jean-Louis Martineau - * amandad-src/amandad.c: Fix memory leak. - * amandad-src/amandad.h (free_g_options): Prototype. - * amandad-src/amandad_util.c (free_g_options): New function to free a - g_option_t. - * server-src/amcleanupdisk.c: Fix memory leak. - * server-src/reporter.c: Fix memory leak. - * server-src/tapefile.c: Fix memory leak. - * server-src/taperscan.c: Put message in error_message. - -2006-04-26 Jean-Louis Martineau - * server-src/amcheck.c (start_server_check): Memory leak. - -2006-04-26 Jean-Louis Martineau - * amandad-src/Makefile.am (noinst_HEADERS): Add amandad.h. - * client-src/Makefile.am (noinst_HEADERS): Add clientconf.h. - -2006-04-26 Jean-Louis Martineau - * man/xml-source/amanda-client.conf.5.xml: New file. - -2006-04-26 Jean-Louis Martineau - * common-src/amanda.h (check_user_ruserok, check_user_amandahosts): - Remove prototype. - * common-src/bsd-security.c: Pass the service name across check_user* - function and validate it from the .amandahosts file. - -2006-04-26 Jean-Louis Martineau - * restore-src/amidxtaped.c: Can be launched by amandad. - * server-src/Makefile.am (INCLUDES): Add -I$(top_srcdir)/amandad-src - * server-src/Makefile.am (amidxtaped__LDADD): Link with libamandad. - * restore-src/restore.c: Fix indentation. - -2006-04-26 Jean-Louis Martineau - * server-src/amindexd.c: Can be launched by amandad - * server-src/Makefile.am (INCLUDES): Add -I$(top_srcdir)/amandad-src - * server-src/Makefile.am (amindexd_LDADD): Link with libamandad. - -2006-04-26 Jean-Louis Martineau - * amandad-src/amandad.c: New file. - * amandad-src/amandad.h: New file. - * amandad-src/amandad_util.c: New file, add function init_g_options - parse_g_options. - * amandad-src/Makefile.am: New file. - * client-src/amandad.c: Removed file. - * client-src/amandad.h: Removed file. - * client-src/client_util.c (init_g_options, parse_g_options): Remove. - * client-src/client_util.h (init_g_options, parse_g_options): Remove. - * client-src/Makefile.am (INCLUDES): -I$(top_srcdir)/amandad-src - * client-src/Makefile.am (libexec_PROGRAMS): Remove amandad. - * client-src/Makefile.am (LDADD): Add - ../amandad-src/libamandad.$(LIB_EXTENSION). - * client-src/selfcheck.c: #include "amandad.h". - * client-src/sendsize.c: #include "amandad.h". - * configure.in (AC_CONFIG_FILES): amandad-src/Makefile. - * Makefile.am (SUBDIRS): amandad-src. - -2006-04-26 Jean-Louis Martineau - * docs/security-api.txt: Document security_read_sync. - * common-src/security.h: Typo. - -2006-04-26 Jean-Louis Martineau - * client-src/amandad.c (service_new): Pass the "amandad" argument to - the service. - -2006-04-26 Jean-Louis Martineau - * common-src/bsd-security.c: Allow to run many services on the same - client. Cleanup. - * common-src/rsh-security.c: Ditto. - * common-src/ssh-security.c: Ditto. - -2006-04-26 Jean-Louis Martineau - * common-src/security.h (security_stream_read_sync): Prototype. - * common-src/bsd-security.c (bsd_stream_read_sync): New function. - * common-src/krb4-security.c (krb4_stream_read_sync): New function. - * common-src/krb5-security.c (krb5_stream_read_sync): New function. - * common-src/rsh-security.c (rsh_stream_read_sync): New function. - * common-src/ssh-security.c (ssh_stream_read_sync): New function. - -2006-04-26 Jean-Louis Martineau - * client-src/amandad.c: Open pipe in both direction to the services. - * client-src/sendbackup.c: Deal with the newer pipe. - -2006-04-26 Jean-Louis Martineau - * client-src/clientconf.c: New file to read the client configuration - file. - * client-src/clientconf.h: Header. - * client-src/Makefile.am: Link clientconf into libamclient. - * configure.in (AC_CONFIG_FILES): example/amanda-client.conf. - * docs/amanda-client.conf.5.txt: New documentation. - * docs/Makefile.am (pkgdata_DATA): amanda-client.conf.5.txt. - * example/amanda-client.conf.in: exemple. - * example/Makefile.am (noinst_DATA): amanda-client.conf. - * man/entities/global.entities: amclientconf. - * man/Makefile.am (COMMON_MAN5_PAGES): amanda-client.conf.5. - * man/xml-source/amanda.8.xml (SEE ALSO): amanda-client.conf(5). - * man/xml-source/amanda.conf.5.xml (SEE ALSO): amanda-client.conf(5). - * man/xml-source/amrecover.8.xml (SEE ALSO): amanda-client.conf(5). - -2006-04-26 K. K. George - * server-src/reporter.c: Fix to untaint the mailto parameter. - * server-src/amcheck.c: Fix to untaint the mailto parameter - * changer-src/chg-scsi.c: Fix to untaint the mailto parameter. - * changer-src/chg-scsi-chio.c: Fix to untaint the mailto parameter. - * common-src/util.h: Added function to check if the mailto - parameter is untainted - * common-src/util.c: Added function to check if the mailto - parameter is untainted - -2006-04-26 Jean-Louis Martineau - * common-src/event.c(event_wait): New function. - * common-src/event.h(event_wait): prototype. - * docs/eventapi.txt: Document event_wait. - -2006-04-24 Jean-Louis Martineau - * server-src/planner.c: Fix divide by zero if runtapes==0. - -2006-04-24 K. K. George - * server-src/reporter.c: Fix to make the mailto parameter in - amanda.conf optional. Added two more commandline options - -i & -Maddress. - * server-src/amcheck.c: Fix to make the mailto parameter in - amanda.conf optional. - * man/xml-source/amreport.8.xml: Modified to document the - -i & -Maddress commandline parameters - * docs/amreport.8.txt: Modified to document the - -i & -Maddress commandline parameters - * changer-src/chg-scsi.c: Fix to make the mailto parameter in - amanda.conf optional. - * changer-src/chg-scsi-chio.c: Fix to make the mailto parameter in - amanda.conf optional. - -2006-04-23 Jean-Louis Martineau - * server-src/driver.c (handle_chunker_result): make sure that - est_size > act-size. - -2006-04-21 Jean-Louis Martineau - * server-src/changer.c (changer_command): Make sure fd[0] != 1. - -2006-04-19 Jean-Louis Martineau - * restore-src/amidxtaped.c: Cleanup. - -2006-04-19 Ian Turner - * tape-src/output-tape.c: Do a more thourough check to ensure - that we actually got a tape device, before proceeding to use - it. - -2006-04-18 Ian Turner - * changer-src/chg-disk.sh.in: Check that the virtual device is a - directory with proper permissions. - * server-src/changer.c: Do the right thing (failure) if there is - a problem with the changer. - -2006-04-18 Ian Turner - * recover-src/uscan.l: Accept setdate of the form - yyyy-MM-dd-hh-mm in addition to yyyy-MM-dd-hh-mm-ss. - * man/xml-source/amrecover.8.xml: Document this change. - -2006-04-14 Jean-Louis Martineau - * recover-src/help.c: Document setdate YYYY-MM-DD-HH-MM-SS format. - * man/xml-source/amrecover.8.xml: Ditto. - -2006-04-14 Jean-Louis Martineau - * client-src/amandad.c: Use %p to printf pointer. - -2006-04-14 Jean-Louis Martineau - * server-src/amtape.c: Add update command. - -2006-04-11 Jean-Louis Martineau - * server-src/taper.c: log_add(L_WARNING) the output of taper_scan if - no valid tape are found. - -2006-04-11 Jean-Louis Martineau - * server-src/amcheck.c: Call taper_scan with - (..., FILE_taperscan_output_callback,outf) arguments. - * server-src/amtape.c: Call taper_scan with - (..., FILE_taperscan_output_callback,stderr) arguments. - * server-src/taper.c: Call taper_scan with - (..., CHAR_taperscan_output_callback, &error_msg) arguments. - * server-src/taperscan.h(FILE_taperscan_output_callback, - CHAR_taperscan_output_callback): Protoype. - * server-src/taperscan.h(taper_scan): New protoype, remove - error_message arg, add taperscan_output_callback and data arg. - * server-src/taperscan.c(FILE_taperscan_output_callback): Callback - that print the msg to it's arg, which is FILE*. - * server-src/taperscan.c(CHAR_taperscan_output_callback): Callback - that append the msg to it's arg, which is char*. - * server-src/taperscan.c(taper_scan): Fix for new arguments. - * server-src/taperscan.c(changer_taper_scan): Fix for new arguments. - -2006-04-11 Jean-Louis Martineau - * man/xml-source/amanda.conf.5.xml: Document amandad_path and - client_username dumptype option. - -2006-04-11 Jean-Louis Martineau - * common-src/krb4-security.c: Increase timeout to 60 seconds. - * common-src/rsh-security.c: Increase timeout to 60 seconds. - * common-src/ssh-security.c: Increase timeout to 60 seconds. - -2006-04-07 Jean-Louis Martineau - * server-src/conffile.c: New configuration option usetimestamps. - * server-src/conffile.h: New configuration option usetimestamps. - * example/amanda.conf.in: Document new usetimestamps options. - * man/xml-source/amanda.conf.5.xml: Document new usetimestamps options. - * server-src/amflush.c: Use datestamp or timestamp depending of - usetimesstamps. - * server-src/planner.c: Use datestamp or timestamp depending of - usetimesstamps. - * server-src/driver.c: Log an ERROR if many run a day and - usetimestamps us set to no. - -2006-04-07 Ian Turner - * server-src/changer.c: Don't crash if we go to taperscan "Plan - B". - -2006-04-07 Ian Turner - * server-src/changer.c: Only print changer debug messages if - there was a problem. - -2006-04-07 Ian Turner - * recover-src/amrecover.c: Print a more helpful command if mount - point autodetection fails. - * recover-src/display_commands.c: Print a more helpful message - if the user tries to ls without having setdisk earlier. - -2006-04-07 Jean-Louis Martineau - * server-src/amadmin.c: Fix use of datestamp as int. - * server-src/find.c: Ditto. - * server-src/reporter.c: Ditto. - * server-src/tapefile.c: Ditto. - -2006-04-07 Jean-Louis Martineau - * common-src/Makefile.am: Fix dependency between genversion and - versuff.o. - -2006-04-07 Jean-Louis Martineau - * recover-src/amrecover.c: Change initialization of server_name and - tape_server_name. - -2006-04-07 Jean-Louis Martineau - * restore-src/amrestore.c: reset count_error to 0 on a restore. - -2006-04-06 Kevin Till - * server-src/Makefile.am: always install planner/dumper setuid-root - * server-src/amcheck.c: check planner/dumper for setuid-root - * server-src/dumper.c: drop privilege asap. Switch between bsd - and ssh auth is now possible with the same installation. - * server-src/planner.c: ditto - -2006-04-06 Jean-Louis Martineau - * server-src/taperscan.c (changer_taper_scan): Pass a pointer to the - changer_loadslot call. - -2006-04-06 Jean-Louis Martineau - * server-src/tapefile.c (lookup_last_reusable_tape): Fix a datestamp - test with an int. - -2006-04-06 Ian Turner - * recover-src/amrecover.c (main): Check AMANDA_SERVER and - AMANDA_TAPE_SERVER environment variables before falling back - to compiled-in defaults. Document this new behavior. Thanks to - Malcolm Locke for the idea and patch. - -2006-04-06 Jean-Louis Martineau - * server-src/reporter.c (handle_chunk): CHUNK line always have the - datestamp. - -2006-04-05 Jean-Louis Martineau - * server-src/krb5-security.c: Fix for krb5_connect call in - open_callback. - -2006-04-05 Jean-Louis Martineau - * server-src/driver.c (start_some_dumps): Recover correctly if the - chunker reply with something that is not a PORT command. - * server-src/driver.c (dump_to_tape): remove duplicate free_serial. - * server-src/driverio.c: Improve debugging. - -2006-04-05 Jean-Louis Martineau - * common-src/tapelist.c(unmarshal_tapelist_str): Fix - "value computed is not used" compiler warning. - -2006-04-05 Jean-Louis Martineau - * common-src/bsd-security.c (bsd_connect): New datap argument. - * common-src/krb4-security.c (krb4_connect): New datap argument. - * common-src/krb5-security.c (krb5_connect): New datap argument. - * common-src/rsh-security.c (rsh_connect): New datap argument, - retrieve amanda_path and client_username from configuration. - * common-src/ssh-security.c (ssh_connect): New datap argument, - retrieve amanda_path and client_username from configuration. - * common-src/protocol.c: Pass new datap argument to security_connect. - * common-src/security.h(connect): New prototype. - * common-src/security.h(security_connect): Add datap to macro. - * server-src/amadmin.c(disklist_one): Print amandad_path and - client_username. - * server-src/conffile.c(AMANDAD_PATH, CLIENT_USERNAME): Parse new - dumptype option. - * server-src/conffile.h(dumptype_t): Add amandad_path and - client_username. - * server-src/diskfile.c(parse_diskline): Copy new field. - * server-src/diskfile.h(disk_t) Add amandad_path and client_username. - * server-src/driverio.c(dumper_cmd): Send dp->amandad_path and - dp->client_username in a PORT_DUMP command to the dumper. - * server-src/dumper.c: Parse amandad_path and client_username in a - PORT_DUMP command. - * server-src/dumper.c(dumper_get_security_conf): New function to return - configuration option to the security-api. - * server-src/dumper.c: Use dumper_get_security_conf for the callback - to protocol_sendreq. - * server-src/planner.c Use amhost_get_security_conf for the callback - to protocol_sendreq. - * server-src/amcheck.c: Use amhost_get_security_conf for the callback - to protocol_sendreq. - * server-src/server_util.c(amhost_get_security_conf): New function to - return configuration option to the security-api, - it expect an am_host_t arg. - * server-src/server_util.h(amhost_get_security_conf): Prototype. - -2006-04-05 Jean-Louis Martineau - * server-src/amstatus.pl.in: Remove duplicate instruction. - -2006-04-05 Jean-Louis Martineau - * server-src/amindexd.c: Remove all code that set str_buffer_size, - rename str_buffer_size to reply_buffer_size, - rename buf to reply_buffer, - * server-src/amindexd.c(reply, lreply_backend): Increase reply_buffer - size if required. - -2006-04-05 Jean-Louis Martineau - * common-src/amfeatures.h: Add fe_amrecover_timestamp amfeature. - * common-src/amfeatures.c (am_init_feature_set): - Add fe_amrecover_timestamp. - * server-src/amindexd.c(opaque_ls_one): New function. - * server-src/amindexd.c(disk_history_list,opaque_ls_one): Send only a - datestamp if client doesn't have fe_amrecover_timestamp. - -2006-04-05 Jean-Louis Martineau - * recover-src/uscan.l: Parse "setdate YYYY-MM-DD-HH-MM-SS". - * server-src/amindexd.c (cmp_date): New function to cmp datestamp with - timestamp, use it where needed. - * server-src/amindexd.c (amindexd_nicedate): Fix for timestamp. - * server-src/amtrmidx.c: Fix for timestamp. - * server-src/disk_history.h (DUMP_ITEM): Increase size of date. - -2006-04-05 Jean-Louis Martineau - * server-src/amflush.c: Send DATE line to driver, use timestamp. - * server-src/amindex.c (getindexfname): Increase datebuf size. - * server-src/amtrmlog.c: Fix bug with date_keep computation if - dumpcycle is INF. - * server-src/amtrmlog.c: rotate timestamped log file. - * server-src/chunker.c: Receive START cmd, use timestamp. - * server-src/driver.c: Receive DATE line, send START cmd to chunker, - use timestamp. - * server-src/driverio.c (startup_dump_processes): Send START cmd to - dumper. - * server-src/driverio.c (dumper_cmd, chunker_cmd): Send START command. - * server-src/driverio.h (startup_dump_processes): Prototype change, - need the timestamp. - * server-src/dumper.c: Receive START cmd, use timestamp. - * server-src/find.c (find_nicedate): Fix for timestamp. - * server-src/planner.c: Send DATE line to driver, use timestamp. - * server-src/server_util.c (cmdstr): Add START. - * server-src/server_util.h (cmd_t): Add START. - * server-src/taper.c: Get timestamp from TAPER_START command. - -2006-04-05 Jean-Louis Martineau - * server-src/amindexd.c (amindexd_nicedate): New function. - * server-src/find.h (struct find_result_s): Remove datestamp and - datestamp_aux field, only timestamp will be used. - * restore-src/amfetchdump.c: Convert datestamp to 'char *'. - * restore-src/restore.c: Convert datestamp to 'char *'. - * server-src/amindexd.c: Convert datestamp to 'char *'. - * server-src/amlabel.c: Convert datestamp to 'char *'. - * server-src/amtrmidx.c: Convert datestamp to 'char *'. - * server-src/find.c: Convert datestamp to 'char *'. - * server-src/reporter.c: Convert datestamp to 'char *'. - * server-src/tapefile.c: Convert datestamp to 'char *'. - * server-src/tapefile.h: Convert datestamp to 'char *'. - * server-src/taper.c: Convert datestamp to 'char *'. - -2006-04-05 Jean-Louis Martineau - * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.1b1). - -2006-04-05 Jean-Louis Martineau - * server-src/driver.c: Change expression to remove overflow. - -2006-03-29 Jean-Louis Martineau - * client-src/calcsize.c: Don't use declaration after instruction, - older compiler don't accept it. - -2006-03-23 Jean-Louis Martineau - * Amanda 2.5.0 released. - * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.0). - * NEWS: Update for 2.5.0 - -2006-03-22 Jean-Louis Martineau - * server-src/dumper.c: wait for compress/index/encryp subprocess. - -2006-03-22 Jean-Louis Martineau - * server-src/amstatus.pl.in: Parse PARTIAL reply. - -2006-03-22 Jean-Louis Martineau - * server-src/driver.c: Put '#define HOLD_DEBUG' in comment. - -2006-03-21 Jean-Louis Martineau - * server-src/chunker.c: Don't loop on startup_chunker. - * server-src/dumper.c: Don't wait for all children, some process (ssh) - might not terminate. - -2006-03-17 Ian Turner - * server-src/taper.c (read_file): When finished flushing a - chunked dump, print information about the whole dump, not just - the last chunk. Also, fix some memory leaks. - -2006-03-16 Kevin Till - * server-src/amverify.sh.in: check for EOI. amrestore only - reports EOI for some tapetypes. - -2006-03-15 Jean-Louis Martineau - * server-src/conffile.c: Fix heritage of auth. - -2006-03-14 Kevin Till - * example/amanda.conf.in: add dumptype custom-compress. - add ssh,krb5 as valid input for auth. - * man/xml-source/amanda.conf.5.xml: give reference to - custom-compress, encrypt-fast dumptypes. - -2006-03-14 Jean-Louis Martineau - * common-src/amfeatures.h: Rename fe_amidxtaped_FEEDME to - fe_amrecover_FEEDME - * common-src/amfeatures.c (am_init_feature_set): Set - fe_amrecover_FEEDME. - * restore-src/restore.h (search_tapes): Add their_features parameter. - * restore-src/amfetchdump.c: Add NULL pointer to search_tapes call. - * restore-src/amidxtaped.c: Add their_features to search_tapes call. - * restore-src/restore.c (search_tapes): Send FEEDME only if client - support it. - -2006-03-11 Jean-Louis Martineau - * server-src/driverio.c : Fix errors found using Coverity tools. - -2006-03-10 Jean-Louis Martineau - * server-src/taperscan.c: Fix Coverity fix. - -2006-03-10 Jean-Louis Martineau - * changer-src/scsi-changer-driver.c: - Fix errors found using Coverity tools. - * server-src/diskfile.c: Fix errors found using Coverity tools. - * server-src/planner.c: Fix errors found using Coverity tools. - * server-src/taperscan.c: Fix errors found using Coverity tools. - -2006-03-10 Jean-Louis Martineau - * server-src/driverio.c: Undo my bad fix. - * server-src/infofile.c: Fix errors found using Coverity tools. - * tape-src/tapetype.c: Fix errors found using Coverity tools. - -2006-03-09 Jean-Louis Martineau - * restore-src/restore.c: Fix errors found using Coverity tools. - -2006-03-09 Jean-Louis Martineau - * server-src/holding.c: Fix errors found using Coverity tools. - -2006-03-09 Jean-Louis Martineau - * server-src/driverio.c: Fix errors found using Coverity tools. - * server-src/planner.c: Fix errors found using Coverity tools. - -2006-03-09 John Franks - * changer-src/chg-scsi.c: Fix errors found using Coverity tools. - * changer-src/scsi-changer-driver.c: - Fix errors found using Coverity tools. - * changer-src/sense.c: Fix errors found using Coverity tools. - * client-src/sendbackup-dump.c: Fix errors found using Coverity tools. - * client-src/sendbackup.c: Fix errors found using Coverity tools. - * recover-src/display_commands.c:Fix errors found using Coverity tools. - * regex-src/regcomp.c: Fix errors found using Coverity tools. - * restore-src/restore.c: Fix errors found using Coverity tools. - * server-src/amindexd.c: Fix errors found using Coverity tools. - * server-src/diskfile.c: Fix errors found using Coverity tools. - * server-src/driver.c: Fix errors found using Coverity tools. - * server-src/driverio.c: Fix errors found using Coverity tools. - * server-src/infofile.c: Fix errors found using Coverity tools. - * server-src/planner.c: Fix errors found using Coverity tools. - * server-src/taper.c: Fix errors found using Coverity tools. - * server-src/taperscan.c: Fix errors found using Coverity tools. - * server-src/conffile.c: Change report default to use at least - one space between every column. - -2006-03-08 Jean-Louis Martineau - * client-src/amandad.c: Fix coverity bug. - * client-src/calcsize.c: Fix coverity bug. - * client-src/client_util.c: Fix coverity bug. - * client-src/sendbackup.c: Fix coverity bug. - * client-src/sendsize.c: Fix coverity bug. - * common-src/bsd-security.c: Fix coverity bug. - * common-src/file.c: Fix coverity bug. - * common-src/fileheader.c: Fix coverity bug. - * common-src/pipespawn.c: Fix coverity bug. - * recover-src/extract_list.c: Fix coverity bug. - * restore-src/restore.c: Fix coverity bug. - * server-src/amindexd.c: Fix coverity bug. - * server-src/conffile.c: Fix coverity bug. - * server-src/diskfile.c: Fix coverity bug. - * server-src/driverio.c: Fix coverity bug. - * server-src/dumper.c: Fix coverity bug. - * server-src/planner.c: Fix coverity bug. - * server-src/reporter.c: Fix coverity bug. - -2006-03-07 Paddy Sreenivasan - * man/xml-source/amanda.8.xml: added amaespipe and amcrypt. - -2006-03-07 Jean-Louis Martineau - * server-src/taper.c: Don't log a multi-line message in no-tape case. - -2006-03-06 John Franks - * recover-src/extract_list.c: - 1) Don't add '.' directory twice to tar extract list. - 2) Don't prepend extra '/' to extract patterns starting with '/'. - 3) Convert "/" extract pattern to "*" equivalent. - -2006-03-06 Jean-Louis Martineau - * server-src/taperscan.c (scan_slot): append slotstr to - ct->error_message. - * server-src/taperscan.c: Add a '\n' after each slot error message. - -2006-03-06 Jean-Louis Martineau - * server-src/reporter.c (handle_error): Handle error from taper. - -2006-03-06 Jean-Louis Martineau - * server-src/taper.c (label_tape): Set errstr and return 0 if no - valid tape are available. - -2006-03-03 Ian Turner - * common-src/amanda.h: New macros MAX_TAPE_LABEL_LEN and - MAX_TAPE_LABEL_BUF. - * common-src/amfeatures.h: New amfeature fe_amidxtaped_FEEDME - * recover-src/extract_list.c: Accept port number with CONNECT; - implement fe_amidxtaped_FEEDME. - * restore-src/amidxtaped.c: Introduce port number with CONNECT. - (closes SF bug 1431623) - * restore-src/restore.c: Implement fe_amidxtaped_FEEDME. - (closes SF bug 1421433) - * restore-src/restore.h: Properly name rst_flags. - -2006-02-28 Jean-Louis Martineau - * common-src/bsd-security.c (bsd_connect, netfd_read_callback, main): - Set bh->proto_handle to NULL after allocating bh. - * common-src/bsd-security.c (bsd_close): Donothing if - bh->proto_handle == NULL. - -2006-02-28 Jean-Louis Martineau - * common-src/protocol.c (s_repwait): Decrease p->timeout on receive - of a PREP. - -2006-02-28 Jean-Louis Martineau - * server-src/driver.c: Print dumper TRY_AGAIN message. - -2006-02-28 Jean-Louis Martineau - * server-src/planner.c: Don't print estimate size if estimate failed. - -2006-02-25 Ian Turner - * man/Makefile.am: Don't use static patterns (as they are not - portable), use implicit rules instead. - -2006-02-20 Kevin Till - * common-src/krb4-security.c: changes needed for krb4/5 to compile. Thanks to - Orion Poplawski. - * common-src/krb5-security.c: ditto. - -2006-02-16 Kevin Till - * example/amanda.conf.in: dumptype option is "encrypt" - * man/xml-source/amanda.conf.5.xml: ditto - * server-src/holding.c: util.h is include'd twice - * common-src/ssh-security.c: set correct debug print - -2006-02-10 Kevin Till - * man/xml-source/amanda.8.xml: replace informaltable with literallayout - -2006-02-13 John Franks - * server-src/driver.c: Pring a more precise message when taper - returns an error. Include error message from taper in log. - Print out "protocol error" if taper returns a bogus command. - -2006-02-10 Kevin Till - * man/xml-source/amanda.conf.5.xml: add note about first character of a - tapetype string must be alphabet - -2006-02-10 John Franks - * server-src/taper.c: Call error() if an invalid string is read - by syncpipe_getstr(). - -2006-02-09 John Franks - * Makefile.am, */Makefile.am: Corrections generated by David Braun - dustybird@users.sourceforge.net to properly set source directories - for remote (VPATH) builds. - * man/Makefile.am: Fixed man page builds to use proper source and - build paths. - * autogen: Force rebuilding everything and print only syntax errors. - (Errors are seen occasionally in system autogen files...) - * configure.in: Eliminate possibility of empty string in shell tests. - fix quoting of '[' and ']' characters in help messages. - Fix default value for DUMPER_DIR to pick up EPREFIX correctly. - -2006-02-08 Ian Turner - * server-src/driver.c (handle_taper_result): Properly handle - SPLIT_NEEDNEXT case. Thanks to Josef Wolf for finding this bug. - Also reindent. - -2006-02-06 Kevin Till - * restore-src/restore.c: fix comment formatting on version 1.2.1 - -2006-02-06 Kevin Till - * configure.in: Bug 1423731, SSH_SECURITY set only when --with-ssh-security used - * server-src/Makefile.am:: not to install planner/dumper setuid-root --with-ssh-security - * server-src/amcheck.c: ditto - * server-src/dumper.c: ditto - * restore-src/restore.c: add missing "}" - -2006-02-06 Ian Turner - * restore-src/amidxtaped.c: Properly handle changers, - tape-label checking, and tape prompting in amrecover, - amindexd, and amidextaped. Thanks to Paul Bijnens - for the patch. - * restore-src/restore.c: ditto. - * server-src/amindexd.c: ditto. - -2006-02-04 Paddy Sreenivasan - * man/xml-source/amfetchdump.8.xml - * man/xml-source/amcrypt.8.xml - * man/xml-source/amanda.conf.5.xml - * man/xml-source/amanda.8.xml - * man/xml-source/amaespipe.8.xml - * man/entities/global.entities: Merged changes from xml-docs tree - -2006-02-03 John Franks - * server-src/taper.c: Fix null string printout in CHUNKERSUCCESS log line. - -2006-02-03 Ian Turner - * server-src/amadmin.c (main): Don't free conf_tapelist too - early. Thanks to Cédric Lucantis - for the patch. - -2006-02-02 Kevin Till - * man/xml-source/amanda.8.xml: fix formatting. problem - to be fixed. - * man/xml-source/amrecover.8.xml: add note on client-encrypted tapes. - -2006-02-02 Ian Turner - * recover-src/extract_list.c (extract_files_child): Run tar with - --numeric-owner if we are extracting a non-sambafied tar file. - Thanks to Paul Bijnens for - the patch. Thanks also to Mark Schaefer for suggesting this - change. - -2006-02-01 Jean-Louis Martineau - * restore-src/restore.c: Use OFF_T_FMT to printf off_t variable, - cast size_t to am64_t and use AM64_FMT to printf them. - -2006-01-31 Jean-Louis Martineau - * server-src/driver.c (dumper_result): Reset sched(dp)->attempted to 0 - before adding it to tapeq. - -2006-01-27 Ian Turner - * configure.in: Add new option --without-xsltproc (and - --with-xsltproc), which turns off (or forces) the use of xsltproc to - build manpages. Thanks to Paul Bijnens - for suggesting this feature. - -2006-01-27 Ian Turner - * restore-src/amfetchdump.c: Properly clean up logfiles. Also, - run as user amanda even if we are started as some other user. - Thanks to Paul Bijnens for the - patch. - -2006-01-25 Paddy Sreenivasan - * common-src/amanda.h: Removed unnecessary header include files. - -2006-01-25 Kevin Till - * server-src/amadmin.c: fix for sourceforge bug 1412698 - add missing parameters to "amadmin x disklist" - * server-src/amstatus.pl.in: untaint user input, enforce known path. - * server-src/amoverview.pl.in: untaint user input (bug 1353481) - -2006-01-25 Kevin Till - * man/xml-source/amanda.conf.5.xml: fix formatting ( is not compatible - with some tag) add supported auth types. - -2006-01-25 Kevin Till - * common-src/bsd-security.c: move check_security to bsd_security.c, - fix faulty return - Thanks to Paul Bijnens - * restore-src/amidxtaped.c: ditto - * server-src/amindexd.c: ditto and no need to tell client - about reason for denial - * common-src/amanda.h: add proto of check_security - * server-src/conffile.c: don't list CRYPT in the summary report - for now - * restore-src/restore.c: set outfd correctly for amfetchdump cases - Thanks to Paul Bijnens - -2006-01-24 Ian Turner - * man/xml-source/amanda.conf.5.xml: Put documentation of - split-dump options in the right place. Thanks to Paul Bijnens - for the fix. - * man/xml-source/amanda.8.xml: ditto. - -2006-01-23 Ian Turner - * server-src/taperscan.c (find_brand_new_tape_label): Start - brand new tape labels at 1 instead of 0. Thanks to Paul - Bijnens for the fix. - -2006-01-18 Jean-Louis Martineau - * Amanda 2.5.0b2 released. - * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.0b2). - * NEWS: Update for 2.5.0b2 - -2006-01-15 Jean-Louis Martineau - * server-src/disk_history.c: Fix memory leak. - -2006-01-15 Jean-Louis Martineau - * common-src/bsd-security.c: Fix memory leak. - * common-src/tapelist.c: Fix memory leak. - * restore-src/amidxtaped.c: Fix memory leak. - * restore-src/restore.c: Fix memory leak. - * server-src/amindexd.c: Fix memory leak. - * server-src/conffile.c: Fix memory leak. - * server-src/disk_history.c: Fix memory leak. - * server-src/find.c: Fix memory leak. - -2006-01-13 John Franks - * client-src/amandad.c: Remove SO_LINGER and TCP_NDELAY. - Loop on I/O if EINTR or EAGAIN. - * client-src/noop.c: Loop on I/O if EINTR or EAGAIN. - * client-src/sendbackup.c: Remove SIGPIPE handler. - Loop on I/O if EINTR or EAGAIN. - Check for EPIPE on writes. - * common-src/bsd-security.c: Loop on I/O if EINTR or EAGAIN. - * common-src/stream.c: Remove SO_LINGER and TCP_NDELAY. - * common-src/util.c: Loop on I/O if EINTR or EAGAIN. - * recover-src/amrecover.c: Write commanda atomically in sigint handler - * recover-src/extract_list.c:Remove SIGPIPE handler. - Loop on I/O if EINTR or EAGAIN. - Check for EPIPE on writes. - Remove shutdown functions. - * restore-src/amfetchdump.c: Remove SIGPIPE handler. - * restore-src/amidxtaped.c: Remove SO_LINGER and TCP_NDELAY. - Remove SIGPIPE handler. - read_file_header does not return if it - Fix infinite loop on EOF or error and - fail if memory reallocation failure in - get_client_line_fd. - * restore-src/restore.c: Remove SIGPIPE handler. - Loop on I/O if EINTR or EAGAIN. - Remove shutdown functions. - Simplify read loop. - * restore-src/restore.h: Change read_file_header to return void - * server-src/amcheck.c: Use fullread() to handel EINTR etc. - Remove unused variable. - * server-src/changer.c: Remove SO_LINGER and TCP_NDELAY. - Use fullwrite on socket. - * server-src/driverio.c: Remove SO_LINGER and TCP_NDELAY. - * server-src/taper.c: Use fullwrite() to write data. - Use fullread() to read data. - * tape-src/output-file.c; Use fullwrite() to write data. - -2006-01-13 Jean-Louis Martineau - * server-src/amcheck.c (start_server_check): Remove unused variable - errstr. - * restore-src/restore.c (restore): Remove unused variable s, l and - dataeof. - -2006-01-12 Jean-Louis Martineau - * recover-src/extract_list.c (send_to_tape_server): Do only on write. - * restore-src/amidxtaped.c (get_client_line_fd): New function to read - one complete line from an fd. - -2006-01-09 John Franks - * common-src/amanda.h: Include tcp.h - * client-src/amandad.c: Set TCP_NODELAY and SO_LINGER on sockets. - * common-src/dgram.c: No linger on datagrams - * common-src/stream.c: Set TCP_NODELAY and SO_LINGER on sockets. - * common-src/util.c: Fix fullwrite to return # of bytes written - before failure. - * example/amanda.conf.in: Cleanup exclude list template. - Use configure directlries instead of /usr/local - * recover-src/extract_list.c: Cleanup read loops. - Use real fullwrite instead of inline versions. - Remove extra setting of LINGER on socket. - * restore-src/amidxtaped.c: Set TCP_NODELAY and SO_LINGER on sockets. - * restore-src/restore.c:Use real fullwrite instead of inline versions. - * server-src/changer.c: Set TCP_NODELAY and SO_LINGER on sockets. - * server-src/chunker.c: Use real fullwrite instead of inline versions. - * server-src/driverio.c:Set TCP_NODELAY and SO_LINGER on sockets. - * server-src/dumper.c: Use real fullwrite instead of inline versions. - -2006-01-09 Ian Turner - * changer-src/scsi-changer-driver.c: If there is a problem opening - the device during GenericRewind, don't retry for 201 minutes; give - up after only 200 seconds. - -2006-01-09 Ian Turner - * server-src/taperscan.c: When doing taper-scan algorithm, properly - accept new tapes. - -2006-01-09 Ian Turner - * tape-src/tapeio.c: Generate a more reasonable message when - reading an empty tape label on brand-new tapes. - -2006-01-09 Ian Turner - * server-src/amcheck.c: Actually do what the documentation for - amcheck -w says; that is, overwrite labels on tapes. - -2006-01-06 Kevin Till - * server-src/amcheck.c: check if encrypt or compress program is - executable. Check encrypt/compress configuration. - * server-src/dumper.c: kill encrypt child when dump is stopped - * server-src/amcrypt.sh.in: check for aespipe - * server-src/amaespipe.sh.in: adjust PATH - * man/xml-source/amtapetype.8.xml: fix format problem. - -2006-01-06 Jean-Louis Martineau - * recover-src/extract-list.c: Remove 'U' argument for gtar extraction. - -2006-01-06 Jean-Louis Martineau - * restore-src/restore.c (flush_open_outputs): Another shutdown is - required. - -2006-01-05 John Franks - * recover-src/extract_list.c: Extend linger timeouts to 60 seconds. - Use shutdown() on sockets. - Retry reads in case of EINTR or EAGAIN. - * common-src/stream.c: set linger on correct socket. - Extend linger timeouts to 60 seconds. - * restore-src/restore.c: Fix compiler warnings. - * Call shutdown in more cases. - -2006-01-05 John Franks - * client-src/amandad.c: Set SO_LINGER on sockets. - * common-src/dgram.c: Set SO_LINGER on sockets. - * common-src/stream.c: Set SO_LINGER on sockets. - * common-src/util.c: Return any bytes already read on error or EOF. - * recover-src/extract_list.c: Set SO_LINGER on data socket. - Fix printf of unterminated string data. - Check return codes on socket header reads. - * restore-src/amidxtaped.c: Set SO_LINGER on sockets. - Check return codes on socket header reads. - * restore-src/restore.c: - Flush newline after operator prompt. - * common-src/debug.c: - Fix memory leak when debug file name already exists. - Print error text upon hard open() error. - Allow group members read only access to log files. - -2006-01-05 Kevin Till - * restore-src/restore.c: handle sigpipe. Some program (e.g. bzip2) closes reading pipe - early when it sees trailing garbage after EOF. - -2006-01-02 Jean-Louis Martineau - * common-src/amanda.h: Add a FD_COPY macro. - * recover-src/extract_list.c (writer_intermediary): Don't use - writer_intermediary, do the select locally. - -2006-01-02 Jean-Louis Martineau - * restore-src/restore.c (flush_open_outputs): Call shutdown before - close. - -2005-12-30 John Franks - * recover-src/extract_list.c: - Fix double clearing of buffer during normal read path. - * restore-src/amidxtaped.c - Actually initialize changer if it is needed. (Set use_changer - before checking it...) - * Fix control messages being sent down the data pipe when - restoring to client that does not support split dumps. - * Print error and exit if a split dump is needed during restore - and client can not handle it. - -2005-12-30 Ian Turner - * common-src/fileheader.c: Remove xx/UNKNOWN split-dump header - syntax, in favor of xx/-1. - -2005-12-29 John Franks - * recover-src/display_commands.c - Fix list deletion which did not update list root with NULL pointer. - Make free_dir_item() a non-recursive function to prevent stack bloat. - Fix list insertion code which inserts item in list initializes entry. - * recover-src/extract_list.c - Fix to initialize lditem before using it... - Prevent multiple frees of cmd string. - Do not free err which is only initialized with static string pointers. - Fix typo which caused newstralloc() to free the wrong memory. - * server-src/amindexd.c - Fix Compiler warning of unused variable. - * server-src/taperscan.c - Fix Compiler warning of bogus format specifier. - -2005-12-29 Kevin Till - * man/xml-source/amcrypt.8.xml: add new amcrypt man page - * man/xml-source/amaespipe.8.xml: add new amaespipe man page - -2005-12-29 Ian Turner - * man/xml-source/amanda.conf.5.xml: Document label_new_tapes - config option. - -2005-12-28 Ian Turner - * recover-src/amrecover.h: Use dynamic strings in struct DIR_ITEM. - * recover-src/display_commands.c: ditto - * recover-src/extract_list.c: ditto. Also use dynamic strings in - struct EXTRACT_LIST and struct EXTRACT_LIST_ITEM. - -2005-12-28 Ian Turner - * common-src/amfeatures.h: Add three new amfeatures: - fe_amindexd_marshall_in_OLSD, fe_amindexd_marshall_in_ORLD, - fe_amindexd_marshall_in_DHST. - * common-src/amfeatures.c: ditto. - * server-src/amindexd.c: Talk well to older clients. - -2005-12-23 Ian Turner - * server-src/taperscan.c: Don't crash if find_brand_new_tape_label - returns NULL. Also, don't return NULL from - find_brand_new_tape_label without a good excuse. - -2005-12-23 Kevin Till - * client-src/client_util.c: change server_decrypt_option to - server-decrypt-option - * client-src/sendbackup.c: change client_decrypt_option to - client-decrypt-option - * server-src/dumper.c: ditto - * common-src/amfeatures.c: add crypt related amfeaturs - * common-src/amfeatures.h: ditto - * server-src/diskfile.c: amfeatures checking and warns on - mis-configuration - -2005-12-23 Paddy Sreenivasan - * restore-src/restore.c: - * server-src/amtape.c: - * server-src/taperscan.c : Make scan_init static function - -2005-12-23 John Franks - * server-src/taper.c: Reduce I/O's system call overhead by 30% - in main read / write loop. - -2005-12-23 John Franks - * recover-src/restore.c Remove inapproriate aclose which caused - broken restore pipe. - * recover-src/extract_list.c Fix and cleanup read_buffer() - mainly to fix hole that drops parital buffer of data if end - of file is reached or an error occured.. Touched up calling - functions to make sure EOF/timeouts are handled correctly. - Increased normal path read timeout value from on second to - whatever READ_TIMEOUT is set to. - -2005-12-22 Jean-Louis Martineau - - * restore-src/restore.c (restore): Remova an aclose. - -2005-12-22 Jean-Louis Martineau - - * restore-src/amidxtaped.c (cleanup): Function registered with atexit - to remove the log file. - -2005-12-20 Jean-Louis Martineau - - * server-src/Makefile.am (noinst_HEADERS): Add taperscan.h. - -2005-12-20 John Franks - - * restore-src/restore.c: Remove unused variables. - Fix uninitialize reference to bytes_read. - * server-src/amcheck.c: Remove unused variables. - Include taperscan.h for missing prototype. - * server-src/amtape.c: Remove unused variables. - Include taperscan.h for missing prototype. - * server-src/taper.c: Remove unused variables. - Minor indenting changes. - * server-src/taperscan.c:Remove unused variables. - Fix typo which assigns NULL rather than - checks for NULL. - Commented out reference to auto_pos which - is assigned but never used... - -2005-12-20 Jean-Louis Martineau - - * common-src/fileheader.c (parse_file_header): Parse '/' in part. - * common-src/fileheader.c (build_header): Add space ' ' before "part". - -2005-12-20 Jean-Louis Martineau - - * server-src/reporter.c: Fix report of output size. - -2005-12-19 Ian Turner - * server-src/taperscan.c: Check that automatic tape labels satisfy - the labelstr. - -2005-12-19 Ian Turner - * server-src/fileheader.c: Fix broken split-dump file headers. - -2005-12-18 Jean-Louis Martineau - Patch by Paul Bijnens - - * server-src/amcheck.c: Tapelist file is regular file. - -2005-12-17 Jean-Louis Martineau - - * restore-src/restore.c (get_block): Return a ssize_t. - * restore-src/restore.c: convert ssize_t to long for printing. - * restore-src/restore.c (restore>): Remove unused variable, outpipe, - outpipe2, i. - -2005-12-17 John R. Franks - - * restore-src/restore.h (read_file_header, restore): Return a ssize_t - instead of using a global variable bytes_read. - * restore-src/restore.c: Use local variable instead of global - bytes_read. Many memory management fixe. Fixe pipe handling, - * restore-src/amrestore.c: Use new read_file_header and restore. - * restore-src/amfetchdump.c: Use new read_file_header and restore. - -2005-12-17 Jean-Louis Martineau - With Kevin Till - - * common-src/fileheader.c (parse_file_header): Fix parsing of first - line. - * common-src/fileheader.c (build_header): Print crypt after programi - and only if it is needed. - -2005-12-14 Ian Turner - - * common-src/alloc.c: Add new function vstrextend, which extends an - existing string. - * common-src/amanda.h: Define vstrextend. - * example/amanda.conf.in: Document new option - label_new_tapes. Change default labelstr. - * man/xml-source/amcheck.8.xml: Emphasize the destructiveness of - amcheck -w. - * restore-src/restore.c: Use the new changer_find interface. - * server-src/Makefile.am: Add new file taperscan.c - * server-src/amcheck.c: Use the taper-scan algorithm in taperscan.c, - instead of the previous separate amcheck implementation. - * server-src/amtape.c: Use the taper-scan algorithm in taperscan.c, - instead of the previous separate amtape implementation. Also, use - the new changer_find interface for other kinds of tape finding. - * server-src/changer.c: Eliminate changer_scan. Change the API to - changer_find, so that callers can pass a user-data object, instead - of using globals. - * server-src/changer.h: Declare and document new changer_find - interface. - * server-src/conffile.c: Add new config option label_new_tapes. - * server-src/conffile.h: ditto. - * server-src/taper.c: Use the taper-scan algorithm in taperscan.c, - instead of the previous separate taper implementation. Also, - combine tape-label-reading for ZFTAPE and non-ZFTAPE drives (the - difference only matters on writing). - * server-src/taperscan.c: Refactor the taper-scan algorithm from - taper, amtape, and amcheck. Implement label_new_tapes feature. - * server-src/taperscan.h: Declare and document new taperscan - interface. - * tape-src/tapeio.c: Notice the difference between a non-Amanda tape - and some other tape-reading problem. - * tape-src/tapeio.h: New declarations. - -2005-12-13 Jean-Louis Martineau - - * server-src/reporter.c (handle_success): On a taper line, the outsize - should only count dump to tape, not flush. - -2005-12-13 Jean-Louis Martineau - - * server-src/amstatus.pl.in: Parse chunker DONE line to set output size. - -2005-12-09 John Franks - - * client-src/Makefile.am: Do not include tape library if - configuring with --without-server option. - * recover-src/Makefile.am: Do not include tape library if - configuring with --without-server option. - -2005-12-08 Jean-Louis Martineau - - * configure.in: Move the size detection after detection of large - file support. That change the size of off_t. - -2005-12-08 Jean-Louis Martineau - - * common-src/amanda.h: Set OFF_T_FMT to printf format of a off_t. - * server-src/taper.c: Use OFF_T_FMT. - -2005-12-08 Jean-Louis Martineau - - * configure.in: Set LL_FMT correctly. - * server-src/conffile.c: Use LL_FMT. - -2005-12-08 Jean-Louis Martineau - - * server-src/conffile.c: Maxdumpsize is a AM64. - * server-src/planner.c: conf_maxdumpsize, total_size, tape_length and - tape_mark are am64_t. - -2005-12-08 Jean-Louis Martineau - - * configure.in: Check for sizeof of many type. Check printf format of - a 64-bit integers. - * common-src/amanda.h: Typedef am64_t to a 64 bits signed type,i - set AM64_FMT to the printf format of a am64_t variable. - * server-src/conffile.c: New AM64 type. - * server-src/conffile.h(getconf_am64): Prototype. - -2005-12-08 Jean-Louis Martineau - - * client-src/Makefile.am: Remove amqde. - * client-src/sendsize.c: Remove code to call amqde. - * client-src/amqde.c: Remove file. - * configure.in: Remove '--with-qde' option. - -2005-12-05 Jean-Louis Martineau - - * server-src/amindexd.c (reply, lreply, fast_lreply): Must use - str_buffer_sizebuf instead of sizeof(bug). - -2005-12-05 Jean-Louis Martineau - - * server-src/planner.c: Print the time in the FINISH line. - * server-src/reporter.c: The estimate time is based on the planner - FINISH line. - -2005-12-05 Jean-Louis Martineau - - * common-src/Makefile.am (bsdsecurity_LDADD): Add ssh-security. - -2005-12-05 Jean-Louis Martineau - - * server-src/holding.c (scan_holdingdisk): Static function. - * server-src/taper.c (signal_handler, install_signal_handlers): Ditto. - * server-src/reporter.c (output_strange,do_postscript_output): Ditto. - -2005-12-04 Jean-Louis Martineau - - * server-src/logfile.c (logtype_str): Add important ','. - -2005-12-03 Jean-Louis Martineau - - * server-src/planner.c (setup_estimate): Fix wrong order for argument. - -2005-12-03 Jean-Louis Martineau - - * server-src/driver.c (start_some_dumps): Don't test for - cur_idle == NOT_IDLE. - -2005-12-03 Jean-Louis Martineau - - * server-src/driverio.c (check_unfree_serial): New fonction to check - unfreed serial number. - * server-src/driverio.c (free_serial_dp): Set stable[s].dp to NULL. - * server-src/driverio.h (check_unfree_serial): Prototype. - * server-src/driver.c (main): Call check_unfree_serial. - -2005-12-02 Jean-Louis Martineau - Patch by Franz Fischer - - * config/acinclude.m4i: Fix for __alpha. - -2005-12-02 Jean-Louis Martineau - - * common-src/util.c: Debug must end with '\n'. - -2005-12-01 Jean-Louis Martineau - - * configure.in: Amanda support x86_64-unknown-linux-gnu. - -2005-11-30 Jean-Louis Martineau - - * common-src/rsh-security.c (rsh_sendpkt): buf is a char array. - * common-src/ssh-security.c (rsh_sendpkt): buf is a char array. - * config/acinclude.m4i (AX_CREATE_STDINT_H): Newer macro. - -2005-11-30 Jean-Louis Martineau - - * client-src/rundump.c: undef USE_RUNDUMP before define. - -2005-11-30 Jean-Louis Martineau - Patch by Franz Fischer - - * client-src/amqde.c: Fix compiler warning. - -2005-11-30 Jean-Louis Martineau - Patch by Franz Fischer - - * common-src/event.h: Fix compiler warning. - * server-src/conffile.h: Fix compiler warning. - -2005-11-30 Kevin Till - - * client-src/client_util.c add server-side, client-side encryption - as well as custom compression. Custom compression patch is - orginally created by Matthieu Lochegnies. - * client-src/client_util.h Ditto - * client-src/selfcheck.c Ditto - * client-src/sendbackup-dump.c Ditto - * client-src/sendbackup-gnutar.c Ditto - * client-src/sendbackup.c Ditto - * client-src/sendbackup.h Ditto - * common-src/fileheader.c Ditto - * common-src/fileheader.h Ditto - * common-src/util.h Ditto - * example/amanda.conf.in Ditto - * man/xml-source/amanda.conf.5.xml Ditto - * restore-src/amrestore.c Ditto - * restore-src/restore.c Ditto - * server-src/conffile.c Ditto - * server-src/conffile.h Ditto - * server-src/diskfile.c Ditto - * server-src/diskfile.h Ditto - * server-src/dumper.c Ditto - -2005-11-29 Jean-Louis Martineau - - * config/libtool.m4i: libtool 1.5.20 - * config/ltmain.sh: libtool 1.5.20 - -2005-11-29 Jean-Louis Martineau - Patch by Franz Fischer - - * common-src/fileheader.c (build_header): Declation before instruction. - * restore-src/amfetchdump.c: Don't use C++ style comment. - * restore-src/restore.c: Don't use C++ style comment. - * server-src/amindexd.c (reply, lreply, fast_lreply): buf must be - dynamicaly allocated. - * server-src/logfile.h: Don't use C++ style comment. - * server-src/taper.c (free_split_buffer): Test splitbuf against NULL. - -2005-11-22 Paddy Sreenivasan - * common-src/rsh-security.c: Fix x86_64 compile warnings. - * common-src/ssh-security.c: Fix x86_64 compile warnings. - * man/Makefile.am: Added EXTRA_XML files. - * man/xml-source/amanda.8.xml: Added spanning patch variables. - * man/xml-source/amrecover.8.xml: Added amfetchdump to SEE ALSO. - * xslt/global.entities: Removed file. - -2005-11-20 Jean-Louis Martineau - Patch by Jon H. LaBadie - - * changer-src/chg-disk.sh.in: Check permission on file access. - -2005-11-17 Paddy Sreenivasan - * man/entities/global.entities: New file. Added man page entities. - * man/entities/xinclude.dtd: New file. - * man/xslt/man.xsl: Correct include path for settings.xsl. - -2005-11-15 John R. Franks - * changer-src/scsi-changer-driver.c: Fix IA-64 compile warnings. - * common-src/rsh-security.c: Fix IA-64 compile warnings. - * common-src/ssh-security.c: Fix IA-64 compile warnings. - * regex-src/engine.c: Fix IA-64 compile warnings. - * regex-src/regexec.c: Fix IA-64 compile warnings. - -2005-11-15 Paddy Sreenivasan - - * configure.in: Changed defaults for tape_dev and nr_tape_dev. - * example/amanda.conf.in: Leave only changerfile definition - uncommented. - * man/xml-source/amanda.conf.5.xml: Updated defaults for - tapedev and rawtapedev - -2005-11-10 Jean-Louis Martineau - - * server-src/planner.c: Fix incronly. - -2005-11-05 Jean-Louis Martineau - - * man/Makefile.am: Set man_MANS, - -2005-11-03 Jean-Louis Martineau - - * man/Makefile.am: Set man5_MANS and man8_MANS, - install-data-hook use them. - -2005-11-03 Jean-Louis Martineau - Patch by Olivier Cherrier - - * man/Makefile.am (install-data-hook): Set protection correclty - for man5 and man8. - -2005-10-29 Jean-Louis Martineau - - * common-src/util.c (bind_portrange): Increase port in all case. - -2005-10-27 Jean-Louis Martineau - - * server-src/conffile.c: Allow runtapes==0. - * server-src/driver.c: Use a global conf_runtapes. Don't start a - taper if runtapes==0. - * server-src/reporter.c: Don't print The next tapes if runtapes==0. - - -2005-10-24 Jean-Louis Martineau - - * Amanda 2.5.0b1 released. - * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.0b1). - * NEWS: Update for 2.5.0b1. - -2005-10-25 Ian Turner - - * man/Makefile.am: include amfetchdump.8. - * man/xml-source/amadmin.8.xml: Add spanning-patch documentation. - * man/xml-source/amanda.8.xml: ditto - * man/xml-source/amrecover.8.xml: ditto - * man/xml-source/amfetchdump.8.xml: ditto (new file) - * man/xslt/global.entities: Add myself, Zmanda Inc. - -2005-10-24 Jean-Louis Martineau - - * client-src/sendsize.c (getsize_wrapper): Add a NULL at the end of - the argvchild array. - -2005-10-20 Jean-Louis Martineau - - * server-src/server_util.c (getcmd): Print DEBUG to stderr. - -2005-10-20 Ian Turner - - * configure.in: Check for xsltproc. - * man/Makefile.am: Properly build, clean, and distribute generated - manpages from XML source. - * man/amadmin.8: Remove from CVS - * man/amanda.8: Remove from CVS - * man/amanda.conf.5: Remove from CVS - * man/amcheck.8: Remove from CVS - * man/amcheckdb.8: Remove from CVS - * man/amcleanup.8: Remove from CVS - * man/amdd.8: Remove from CVS - * man/amdump.8: Remove from CVS - * man/amflush.8: Remove from CVS - * man/amgetconf.8: Remove from CVS - * man/amlabel.8: Remove from CVS - * man/ammt.8: Remove from CVS - * man/amoverview.8: Remove from CVS - * man/amplot.8: Remove from CVS - * man/amrecover.8: Remove from CVS - * man/amreport.8: Remove from CVS - * man/amrestore.8: Remove from CVS - * man/amrmtape.8: Remove from CVS - * man/amstatus.8: Remove from CVS - * man/amtape.8: Remove from CVS - * man/amtapetype.8: Remove from CVS - * man/amtoc.8: Remove from CVS - * man/amverify.8: Remove from CVS - * man/amverifyrun.8: Remove from CVS - * man/xml-source/amadmin.8.xml: Add from xml-docs - * man/xml-source/amanda.8.xml: Add from xml-docs - * man/xml-source/amanda.conf.5.xml: Add from xml-docs - * man/xml-source/amcheck.8.xml: Add from xml-docs - * man/xml-source/amcheckdb.8.xml: Add from xml-docs - * man/xml-source/amcleanup.8.xml: Add from xml-docs - * man/xml-source/amdd.8.xml: Add from xml-docs - * man/xml-source/amdump.8.xml: Add from xml-docs - * man/xml-source/amflush.8.xml: Add from xml-docs - * man/xml-source/amgetconf.8.xml: Add from xml-docs - * man/xml-source/amlabel.8.xml: Add from xml-docs - * man/xml-source/ammt.8.xml: Add from xml-docs - * man/xml-source/amoverview.8.xml: Add from xml-docs - * man/xml-source/amplot.8.xml: Add from xml-docs - * man/xml-source/amrecover.8.xml: Add from xml-docs - * man/xml-source/amreport.8.xml: Add from xml-docs - * man/xml-source/amrestore.8.xml: Add from xml-docs - * man/xml-source/amrmtape.8.xml: Add from xml-docs - * man/xml-source/amstatus.8.xml: Add from xml-docs - * man/xml-source/amtape.8.xml: Add from xml-docs - * man/xml-source/amtapetype.8.xml: Add from xml-docs - * man/xml-source/amtoc.8.xml: Add from xml-docs - * man/xml-source/amverify.8.xml: Add from xml-docs - * man/xml-source/amverifyrun.8.xml: Add from xml-docs - * man/xslt/expand-sambadoc.xsl: Add from xml-docs - * man/xslt/global.entities: Add from xml-docs - * man/xslt/man.xsl: Add from xml-docs - * man/xslt/settings.xsl: Add from xml-docs - -2005-10-20 Jean-Louis Martineau - - * server-src/amstatus.pl.in: a FLUSH command can't be in an estimate - phase. - * server-src/driver.c: Start autoflush while waiting for estimate. - * server-src/planner.c: Write FLUSH line before estimate. - -2005-10-17 Jean-Louis Martineau - Patch by John R. Franks - - * server-src/taper.c (create_split_buffer): Should not use sizeof(). - -2005-10-17 Jean-Louis Martineau - - * server-src/taper.c (read_file): Move the putresult(DONE) to the - right place, some cleanup. - -2005-10-17 Jean-Louis Martineau - - * server-src/planner.c: Increase DEFAULT_DUMPRATE to 1024 K/s. - -2005-10-17 Ian Turner - - * Changelog: Fix line breaks. - * restore-src/restore.c: Give more useful FSF error messages. - * recover-src/extract_list.c: Do better error checking on passed port - number. - * common-src/tapelist.c: Do proper memory management of strings. - Otherwise really bad stuff happens. - -2005-10-17 Jean-Louis Martineau - - * server-src/taper.c: Set SIGPIPE to SIG_IGN, the code already - handle it correctly. - -2005-10-16 Jean-Louis Martineau - - * server-src/taper.c (signal_handler): Don't REMOVE_SHARED_MEMORY, it - is done by exit. - -2005-10-16 Jean-Louis Martineau - - * server-src/driverio.c (serial2disk): Print str if error. - -2005-10-15 Paddy Sreenivasan - - * server-src/taper.c: Shared memory need not be removed in normal paths. - Done as part of atexit. - -2005-10-15 Jean-Louis Martineau - Patch by John R. Franks - - * changer-src/scsi-aix.c: calls to open/openx guages success by - checking for a file descriptor greater than 0. 0 is also a valid - descriptor so the check should be >= 0. - Calls to SCSI_OpenDevice does not check for error return. - Calls to SCSI_OpenDevice does not check for error return. - Calls to SCSI_OpenDevice does not check for error return. - Call to opendir() does not check for error. - * changer-src/scsi-hpux_new.c: Ditto. - * changer-src/scsi-irix.c: Ditto. - * changer-src/scsi-linux.c: Ditto. - * changer-src/scsi-solaris.c: Ditto. - * client-src/selfcheck.c: Call to open() does not check for error. - * client-src/sendbackup.c: Call to freopen() does not check for error. - * client-src/sendsize.c: Call to open() does not check for error. - * common-src/bsd-security.c: Call to open() does not check for error. - * common-src/file.c: Call to open() does not check for error. - * restore-src/amrestore.c: Calls to tape_open() do not always check - return code. open() is called with open flags set to 0 - (Call always fails with an EINVAL) - * restore-src/restore.c: fopen() return error check is "fopen() < 0". - fopen returns a pointer and the proper check should be - "fopen() == NULL". - Call to open() does not check for error. - * tape-src/tapeio.c: tape_open() is called here and other places with a - variable number of arguments, and yet is not defined as a varargs - function... - * tape-src/tapeio.h: Prototype for tape_open. - -2005-10-15 Jean-Louis Martineau - Patch by Paddy Sreenivasan - - * client-src/sendsize.c: Log message changes. - * server-src/taper.c: And an atexit function to detach shared memory. - Trap some signal and detach shared memory. - -2005-10-14 Jean-Louis Martineau - - * regex-src/regcomp.c (findmust): Initialized start to NULL. - -2005-10-14 Jean-Louis Martineau - Patch by John R. Franks - - * regex-src/cclass.h: Fixed to add missing braces and reformat long - strings to fix in 80 columns. - * regex-src/cname.h: Fixed by adding braces and tidying up code a bit. - * regex-src/regcomp.c (p_ere): Initialized prevback and prevfwd to 0. - ifdef out unused mcsub, mcin and mcfind functions. - (findmust) Initialized newstart to NULL. - * regex-src/regerror.c: Adds missing braces. - * regex-src/regexec.c (nope): Use only in assert, so it is not only - defined if NDEBUG is not defined. - -2005-10-14 Jean-Louis Martineau - Patch by John R. Franks - - * common-src/krb4-security.c (krb4_security_dummy): Rename from dummy, - it is not static int. - * common-src/krb5-security.c (krb5_security_dummy): Rename from dummy, - it is not static int. - -2005-10-13 Jean-Louis Martineau - - * common-src/util.c (bind_portrange): New argument proto. - Check for reserved port. - * common-src/util.h (bind_portrange): New prototype. - * common-src/bsd-security.c (bind_portrange): New prototype. - * common-src/dgram.c: Add "udp" as argument to bind_portrange. - * common-src/stream.c: Add "tcp" as argument to bind_portrange. - -2005-10-12 Jean-Louis Martineau - - * restore-src/amidxtaped.c (check_security_buffer): i is a socklen_t. - * restore-src/amidxtaped.c (main): Remove i, fd, amrestore_path, pid, - isafile, stat_tape, tapename, s, fp, ch and errstr variable. - -2005-10-11 Ian Turner - Patch by Jean-Louis Martineau - - * restore-src/amfetchdump.c: Remove unused variable debug. - * restore-src/amidxtaped.c: Remove lock_logfile(), which is also - in restore.c. - * restore-src/Makefile.am: Include libamanda twice, to fix build - on some machines. - -2005-10-11 Jean-Louis Martineau - - * restore-src/Makefile (noinst_HEADERS): Add restore.h. - * restore-src/restore.c (search_tapes): Add the fourth argument to - read_file_header. - -2005-10-11 Jean-Louis Martineau - - * server-src/conffile.c: dpcur.s_split_diskbuffer must be initialize - to 0. - * server-src/reporter.c (handle_partial): Set repdata to the result - of handle_success. - * server-src/taper.c: Set the first-file. - -2005-10-11 Jean-Louis Martineau - - * client-src/client_util.c, server-src/amcheck.c, - server-src/reporter.c: Add missing type for arguments. - -2005-10-11 Jean-Louis Martineau - - * server-src/taper.c (tape_writer_side): detach_buffers on normal exit. - -2005-10-10 Ian Turner - - * server-src/amtape.h: Apply tape-spanning patch by John Stange - as ported to 2.5.0 by Ian Turner, with - contributions by Christopher Pascoe . - * configure.in: Ditto - * amplot/Makefile.am: Ditto - * changer-src/Makefile.am: Ditto - * client-src/Makefile.am: Ditto - * common-src/Makefile.am: Ditto - * common-src/amanda.h: Ditto - * common-src/amfeatures.c: Ditto - * common-src/amfeatures.h: Ditto - * common-src/fileheader.c: Ditto - * common-src/fileheader.h: Ditto - * common-src/match.c: Ditto - * common-src/tapelist.c: Ditto - * common-src/tapelist.h: Ditto - * example/amanda.conf.in: Ditto - * man/Makefile.am: Ditto - * recover-src/amrecover.c: Ditto - * recover-src/amrecover.h: Ditto - * recover-src/display_commands.c: Ditto - * recover-src/extract_list.c: Ditto - * restore-src/Makefile.am: Ditto - * restore-src/amfetchdump.c: Ditto - * restore-src/amfetchdump.h: Ditto - * restore-src/amidxtaped.c: Ditto - * restore-src/amrestore.c: Ditto - * restore-src/restore.c: Ditto - * restore-src/restore.h: Ditto - * server-src/Makefile.am: Ditto - * server-src/amadmin.c: Ditto - * server-src/amindexd.c: Ditto - * server-src/amoverview.pl.in: Ditto - * server-src/amtoc.pl.in: Ditto - * server-src/amverify.sh.in: Ditto - * server-src/changer.c: Ditto - * server-src/conffile.c: Ditto - * server-src/conffile.h: Ditto - * server-src/disk_history.c: Ditto - * server-src/disk_history.h: Ditto - * server-src/diskfile.c: Ditto - * server-src/diskfile.h: Ditto - * server-src/driver.c: Ditto - * server-src/driverio.c: Ditto - * server-src/find.c: Ditto - * server-src/find.h: Ditto - * server-src/holding.c: Ditto - * server-src/holding.h: Ditto - * server-src/logfile.c: Ditto - * server-src/logfile.h: Ditto - * server-src/planner.c: Ditto - * server-src/reporter.c: Ditto - * server-src/server_util.c: Ditto - * server-src/server_util.h: Ditto - * server-src/taper.c: Ditto - -2005-10-07 Jean-Louis Martineau - - * server-src/taper.c: Change message: on new tape due to - -2005-10-06 Jean-Louis Martineau - Patch by John R. Franks - - * common-src/amflock.c (main): Don't call safe_fd, it's not needed - during configure. - * configure.in: '#include ' in the check - 'for Linux like scsi support (sg)' - -2005-10-02 Jean-Louis Martineau - - * client-src/amandad.c (writebuf): Call waitpid in the parent. - -2005-10-02 Jean-Louis Martineau - - * client-src/amandad.c (service_delete): Remove call to sleep. - * common-src/bsd-security.c: Add bsdprintf. Add more debug. - The handle is used as a string, instead of 2 int. - -2005-10-02 Jean-Louis Martineau - - * common-src/rsh-security.c: rshprintf should call dbprint. - * common-src/ssh-security.c: rshprintf should call dbprint, add many - rshprintf. - * common-src/event.c: Add eventprintf, use it. Add debug_prefix_time - to the log. - -2005-10-02 Jean-Louis Martineau - - * common-src/stream.c: len is a socklen_t. - * server-src/amindexd.c: Add socklen as a socklen_t. - * restore-src/amidxtaped.c: Add socklen as a socklen_t. - * tape-src/tapetype.c: Change printf format. - * server-src/amlabel.c: Add a variable isa_zftape. init fd to -1. - * server-src/dumper.c: Init outfd to -1. - * common-src/file.c (areads_getbuf): First argument is const. - -2005-10-01 Jean-Louis Martineau - - * server-src/reporter.c: Don't trunk hostname/diskname in - 'FAILURE AND STRANGE DUMP SUMMARY' section. - -2005-10-01 Jean-Louis Martineau - - * server-src/chunker.c (main): Remove outfd. - -2005-09-30 Jean-Louis Martineau - - * server-src/conffile.c, server-src/diskfile.c, server-src/infofile.c, - client-src/getfsent.c, common-src/statfs.c, common-src/token.c - (main): Remove fd declaration. - -2005-09-30 Jean-Louis Martineau - - * client-src/runtar.c: 'e' and 'bdf' are only needed if GNUTAR. - -2005-09-30 Jean-Louis Martineau - - * common-src/sl.c (insert_sort_sl). Typo. - -2005-09-30 Jean-Louis Martineau - - * config/config.guess: Update from automake 1.9.5. - * config/config.sub: Update from automake 1.9.5. - * config/depcomp: Update from automake 1.9.5. - * config/install-sh: Update from automake 1.9.5. - * config/missing: Update from automake 1.9.5. - * config/mkinstalldirs: Update from automake 1.9.5. - * config/ltmain.sh: Update from libtool-1.5.16. - * config/libtool.m4i: Update from libtool-1.5.16. - -2005-09-30 Jean-Louis Martineau - - * common-src/bsd-security.c: Fix small bug. - -2005-09-22 John R. Jackson - - * configure.in: If --without-server is specified, either on the - command line or via config.site, make sure --without-restore - is also in effect. Avoids compilation errors if mismatched. - * example/config.site: Document above. - -2005-09-21 John R. Jackson - - * server-src/getconf.c: Allow CLIENT_LOGIN to be retrieved via - "amgetconf build.CLIENT_LOGIN". - -2005-09-21 John R. Jackson - - * server-src/amlabel.c: 'int fd' is only needed if HAVE_LINUX_ZFTAPE_H - is defined. - -2005-09-21 Jean-Louis Martineau - - * server-src/amlabel.c: 'int fd' is needed. - -2005-09-20 John R. Jackson - - * server-src/reporter.c: Fix minor typo noticed by Scott R. Burns - . - -2005-09-20 John R. Jackson - - * common-src/file.c: Create safe_fd() to do common file descriptor - safety operations at the start of every program. In addition - to closing everything from three on up that used to be done - with explicit code, make sure stdin, stdout and stderr are - open per a potential (but unlikely) security report from Ben - Schwarz . - * common-src/amanda.h: Ditto. - * client-src/amandad.c: Ditto. - * client-src/calcsize.c: Ditto. - * client-src/getfsent.c: Ditto. - * client-src/killpgrp.c: Ditto. - * client-src/rundump.c: Ditto. - * client-src/runtar.c: Ditto. - * client-src/selfcheck.c: Ditto. - * client-src/sendbackup.c: Ditto. - * client-src/sendsize.c: Ditto. - * client-src/versionsuffix.c: Ditto. - * common-src/amflock.c: Ditto. - * common-src/rsh-security.c: Ditto. - * common-src/ssh-security.c: Ditto. - * common-src/statfs.c: Ditto. - * common-src/token.c: Ditto. - * recover-src/amrecover.c: Ditto. - * restore-src/amidxtaped.c: Ditto. - * restore-src/amrestore.c: Ditto. - * server-src/amadmin.c: Ditto. - * server-src/amcheck.c: Ditto. - * server-src/amcleanupdisk.c: Ditto. - * server-src/amflush.c: Ditto. - * server-src/amindexd.c: Ditto. - * server-src/amlabel.c: Ditto. - * server-src/amlogroll.c: Ditto. - * server-src/amtape.c: Ditto. - * server-src/amtrmidx.c: Ditto. - * server-src/amtrmlog.c: Ditto. - * server-src/chunker.c: Ditto. - * server-src/conffile.c: Ditto. - * server-src/diskfile.c: Ditto. - * server-src/driver.c: Ditto. - * server-src/getconf.c: Ditto. - * server-src/infofile.c: Ditto. - * server-src/planner.c: Ditto. - * server-src/reporter.c: Ditto. - * server-src/taper.c: Ditto. - * server-src/dumper.c: Ditto plus remove incorrect chdir to hard - coded "/tmp/amanda". - -2005-09-20 John R. Jackson - - * client-src/calcsize.c: Fix format string. - * server-src/diskfile.c: Fix compiler warnings. - * server-src/planner.c: Fix compiler warnings. - -2005-09-20 John R. Jackson - - * common-src/amanda.h: Add dbreopen() so debug file can be closed - and then reopened if needed. - * common-src/debug.c: Ditto. - * client-src/runtar.c: Close the debug file (fd 10) around the - exec of GNU tar. Newer versions complain about stray file - descriptors. - * server-src/getconf.c: Use dbreopen() to create the debug file. - Do not try to open config file unless needed (allows clients to - use build.XXX/dbopen.XXX/dbclose.XXX). - -2005-09-20 John R. Jackson - - * client-src/sendbackup-dump.c: Ignore a new message from Solaris - vxdump. - -2005-09-20 Jean-Louis Martineau - - * common-src/bsd-security.c: Generate a unique event_id, thei - proto_handle is not always unique. - -2005-09-15 Jean-Louis Martineau - - * server-src/amverify.sh.in: Don't check for EOI, it's buggy. - -2005-09-12 Jean-Louis Martineau - - * server-src/driverio.c: Don't save history with size < 0. - -2005-09-12 Jean-Louis Martineau - Patch by Geert Uytterhoeven - - * server-src/planner.c: Don't use history with size < 0. - -2005-09-07 Jean-Louis Martineau - Patch Paul Bijnens - - * server-src/planner.c(delay_dumps): Delay incremental dump also - larger than tape. - -2005-09-07 Jean-Louis Martineau - Patch by Orion Poplawski - - * server-src/amoverview.pl.in: Add options -last, -num0 and -togo0. - * man/amoverview.8: Document -last, -num0 and -togo0. - -2005-09-07 Jean-Louis Martineau - Patch by Orion Poplawski - - * server-src/driver.c: Make tape_length and tape_left unsigned long. - -2005-07-11 Jean-Louis Martineau - Patch by Stefan G. Weichinger - - * client-src/sendbackup-gnutar.c: Added RE for new Samba-releases. - -2005-07-11 Jean-Louis Martineau - - Bug found by John E Hein . - * server-src/amadmin.c: Fix of by one with NB_HISTORY. - * server-src/infofile.c:x: Fix of by one with NB_HISTORY. - -2005-06-08 Jean-Louis Martineau - Patch by Jay Fenlason - - * client-src/sendsize.c: Fix dbprintf call. - -2005-06-03 Jean-Louis Martineau - Stefan G. Weichinger - - * example/amanda.conf.in: edited the default-value for the - holdingdisk-usage to "use -100 Mb". - The old value "use 290 Mb" didn't make much - sense anymore. - -2005-06-03 Jean-Louis Martineau - - * server-src/amverifyrun.sh.in: Remove buggy space. - -2005-05-17 Jean-Louis Martineau - - * server-src/amadmin.c: Add [--days ] argument to tape subcommand. - -2005-05-13 Jean-Louis Martineau - - * example/amanda.conf.in: Update from 2.4.5. - -2005-05-13 Jean-Louis Martineau - - * docs/*: New documentation from xml-docs. - * docs/Makefile.am (pkgdata_DATA): Update for new files. - -2005-05-13 Jean-Louis Martineau - - * man/Makefile.am (COMMON_MAN_PAGES): Add amanda.conf.5. - -2005-05-13 Jean-Louis Martineau - - * man/*: Use man pages form xml-docs. - * configure.in (AC_CONFIG_FILES): Remove all man pages. - * man/Makefile.am (EXTRA_DIST): Add amadmin.8 amanda.8 amanda.conf.5 - amcheck.8 amcheckdb.8 amcleanup.8 amdump.8 amflush.8 amgetconf.8 - amlabel.8 amoverview.8 amreport.8 amrecover.8 amrmtape.8 amstatus.8 - amtapetype.8 amtoc.8 amverify.8 amverifyrun.8 - -2005-05-05 Jean-Louis Martineau - - * common-src/rsh-security.c (net_read_fillbuf): Read only a packet, - nothing more. - * common-src/ssh-security.c (net_read_fillbuf): Read only a packet, - nothing more. - * common-src/rsh-security.c (conn_put): Don't kill the process, only do - a wait with WNOHANG. - * common-src/ssh-security.c (conn_put): Don't kill the process, only do - a wait with WNOHANG. - -2005-04-14 Jean-Louis Martineau - - * changer-src/chg-zd-mtx.sh.in: Improve handling of - "Unknown Storage Element Loaded". - -2005-04-06 Jean-Louis Martineau - - https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=144052 - - * server-src/amverifyrun.sh.in: Filter changer log file. - -2005-04-06 Jean-Louis Martineau - - * server-src/amcheck.c: Improve messages. - -2005-04-06 Jean-Louis Martineau - - * client-src/sendsize.c (generic_calc_estimates): Use amname instead - of dirname in message. - -2005-03-29 Jean-Louis Martineau - - * server-src/conffile.h: Rename getcont_unit_divisor to - getconf_unit_divisor. - * server-src/amadmin.c: Use getconf_unit_divisor. - * server-src/amcheck.c: Use getconf_unit_divisor. - * server-src/conffile.c: Use getconf_unit_divisor. - * server-src/conffile.c (unit_divisor): Init to 1. - * server-src/reporter.c: Use getconf_unit_divisor. The mb macro always - divide by 1024. Add the du macro. Use mb or du where appropriate. - -2005-03-16 Jean-Louis Martineau - - * server-src/infofile.h (history_t): Add secs field. - * server-src/infofile.c (read_txinfofile): Parse info file with secs - in history. - * server-src/infofile.c (write_txinfofile): Write secs in history. - * server-src/driverio.c (update_info_dumper): Update secs in history. - -2005-03-16 Jean-Louis Martineau - - * server-src/planner.c: Improve server estimate. - * server-src/planner.c: Write server estimate like others estimate. - -2005-02-14 Jean-Louis Martineau - - * server-src/amstatus.pl.in: last_level is negative, on new disk. - -2005-02-09 Jean-Louis Martineau - - * server-src/amstatus.pl.in: Use '-?' to match negative values - instead of '-*'. - -2005-02-09 Jean-Louis Martineau - Patch by Orion Poplawski - - * server-src/amoverview.pl.in: Print the total number of level 0 - dumps for each disk and the number of runs until the last level 0 - dump will be overwritten. - -2005-02-09 Jean-Louis Martineau - Patch by Phil Homewood - - * server-src/amoverview.pl.in: Add -skipmissed option. - -2005-02-09 Jean-Louis Martineau - - * server-src/driver.c: Print the chunksize to the log. - -2005-02-09 Jean-Louis Martineau - - * client-src/calcsize.c: Print estimate to STDERR. - * client-src/sendsize.c (generic_calc_estimates): Read calcsize result, - and send it to amandad. Write debuging message. - -2005-02-09 Jean-Louis Martineau - Patch by Franz G. Fischer - - * server-src/conffile.c: Adds a value type LONG and a val_t.l long - union member and changes get_number() to return long and - get_simple() to fill val_t.l if called for a long value. The - get_simple() calls have been changed to LONG for typetype_t.blocksize - typetype_t.length, typetype_t.filemark, holdingdisk_t.disksize and - holdingdisk_t.chunksize. - -2005-02-09 Jean-Louis Martineau - - * server-src/amdump.sh.in: Redirect in append mode. - * server-src/driver.c: Set stdout and stderr to not buffered. - * server-src/planner.c: Set stderr to not buffered. - Print 'setup_estimate:' on one line. - * server-src/amstatus.pl.in: Parse new 'setup_estimate:' line. - -2005-02-09 Jean-Louis Martineau - - * client-src/calcsize.c: Improve estimate for sparse file and count - space for filenames. - -2005-02-09 Jean-Louis Martineau - - * server-src/planner.c: Improve message if no incremental estimate. - -2004-12-21 Jean-Louis Martineau - Patch by Christopher Pascoe - - * common-src/match.c (match_glob, match_tar): Don't amfree(regex) - before calling error(). - -2004-11-22 Jean-Louis Martineau - - * server-src/driver.c (startaflush): Use ALGO_SMALLEST if nothing fit. - -2004-11-22 Jean-Louis Martineau - - * server-src/driver.c: Typo. - -2004-11-19 Jean-Louis Martineau - - * restore-src/amrestore.c: Should now work correctly with empty file. - * server-src/amverify.sh.in: Parse "End-of-Information detected." - message from amrestore. - -2004-11-19 Jean-Louis Martineau - - * server-src/driver.c: tape_left should not become negative. - -2004-11-19 Jean-Louis Martineau - Patch by Orion Poplawski - - * server-src/diskfile.c: Parse negative spindle (-1). - -2004-11-19 Jean-Louis Martineau - - * server-src/amadmin.c: Balance subcommand use displayunit. - * server-src/amcheck.c: Small cleanup. - -2004-11-19 Jean-Louis Martineau - - * restore-src/amrestore.c: Undo patch from 2004-11-11, it break - the file: dirver. - -2004-11-19 Jean-Louis Martineau - - * server-src/amstatus.pl.in: Remove trace. - -2004-11-16 Jean-Louis Martineau - - * server-src/diskfile.c: Compilation fix. - -2004-11-16 Jean-Louis Martineau - - * server-src/conffile.c: Parse displayunit, - new fonction getcont_unit_divisor(). - * server-src/conffile.h: Prototype of getcont_unit_divisor(). - * server-src/amcheck.c: Use displayunit to display holding disk size. - * server-src/amstatus.pl.in: Use displayunit to display dump size. - * server-src/reporter.c: use displayunit to display dump size. - * Document displayunit. - -2004-11-16 Jean-Louis Martineau - - * server-src/reporter.c: Change 'Daily' for 'Incr.'. - -2004-11-15 Jean-Louis Martineau - - * server-src/amstatus.pl.in Fix for level -1. - -2004-11-15 Jean-Louis Martineau - Patch by Daniel Widyono - - * changer-src/chg-zd-mtx.sh.in: Fix for library with barcode. - -2004-11-11 Jean-Louis Martineau - - * restore-src/amrestore.c: Read empty file. - -2004-11-10 Jean-Louis Martineau - - * tape-src/tapetype.c: Use new tape. - -2004-11-08 Jean-Louis Martineau - - * server-src/amstatus.pl.in: Display partial estimate. - -2004-11-08 Jean-Louis Martineau - - * server-src/diskfile.c (read_diskline): A spindle must be numerical. - -2004-10-21 Jean-Louis Martineau - - * server-src/holding.c (rename_tmp_holding): Always rename files. - -2004-10-21 Jean-Louis Martineau - - * server-src/driver.c: Print message when too many retry. - * server-src/amstatus.pl.in: Detect a failed dump after too many retry. - * amplot/amplot.awk: Parse these message. - -2004-10-21 Jean-Louis Martineau - - * server-src/driver.c (dump_to_tape): Don't retry a dump indefinitely - if dumper returns DONE and taper returns TRYAGAIN. - -2004-10-21 Jean-Louis Martineau - - * server-src/driver.c (dump_to_tape): Don't retry a dump indefinitely - if dumper returns TRYAGAIN and taper returns DONE. - -2004-10-20 Jean-Louis Martineau - - * server-src/amflush.c: Don't start a driver if nothing to flush. - -2004-10-14 Jean-Louis Martineau - Patch by Eric Siegerman - - * example/3hole.ps: Fix for multiple tape. - -2004-10-04 Jean-Louis Martineau - - * server-src/amverify.sh.in: Terminate if no tape online. - -2004-09-17 Jean-Louis Martineau - - * server-src/amadmin.c (main): Call check_dumpuser() as soon as posible. - -2004-09-17 Jean-Louis Martineau - - * server-src/conffile.c (getconf_byname): Special case for typ == BOOL. - -2004-09-17 Jean-Louis Martineau - - * server-src/planner.c (promote_hills): Use dumpcycle instead of - tapecycle. - * example/amanda.conf.in: Remove warning for tapecyle set to inf. - -2004-09-17 Jean-Louis Martineau - - * server-src/amadmin.c (balance): Don't core dump if DUMPCYLE is too - big. - -2004-09-15 Jean-Louis Martineau - - * tape-src/tapetype.c: New -o option, doesn't overwrite amanda - tape without -o. - * man/amtapetype.8.in: Document new -o option. - -2004-09-15 Jean-Louis Martineau - - * server-src/amstatus.pl.in: Works with failed dump to tape. - -2004-08-31 Jean-Louis Martineau - - * client-src/sendbackup-gnutar.c (end_backup): Write warning message - in not fatal error. - * server-src/dumper.c (process_dumpline): Parse warning message. - * server-src/reporter.c (handle_strange): Print warning message in - the STRANGE summary. - -2004-08-31 Jean-Louis Martineau - - * server-src/driverio.c (free_serial): Set stable[s].dp to NULL. - * server-src/driverio.c (disk2serial): Check that stable[s].dp == NULL. - -2004-08-31 Jean-Louis Martineau - Patch by Joe Rhett - - * common-src/alloc.c (safe_env): Keep SYSTEMROOT if __CYGWIN__. - -2004-08-31 Jean-Louis Martineau - Patch by Orion Poplawski - - * server-src/conffile.c (copy_dumptype): Copy maxpromoteday. - -2004-08-12 Jean-Louis Martineau - - * client-src/selfcheck.c (check_disk): More check for CALCSIZE. - -2004-08-11 Jean-Louis Martineau - - * common-src/amfeatures.h (fe_selfcheck_calcsize): New feature. - * common-src/amfeatures.c (am_init_feature_set): Set - fe_selfcheck_calcsize. - * client-src/selfcheck.c: Check if calcsize binary is available if - it is needed. - * server-src/amcheck.c (start_host): Call selfcheck with CALCSIZE - if it support fe_selfcheck_calcsize. - -2004-08-05 Jean-Louis Martineau - - * man/amanda.8.in: Document 'estimate' dumptype option. - -2004-08-04 Jean-Louis Martineau - - * server-src/amrmtape.sh.in: Understand history info. - -2004-08-03 Jean-Louis Martineau - - * server-src/driver.c: Typo. - -2004-08-03 Jean-Louis Martineau - - * server-src/amstatus.pl.in: Parse CONTINUE and RQ-MORE-DISK line, - print if a dump is waiting for holding disk space (roomq). - -2004-08-03 Jean-Louis Martineau - - * server-src/driver.c (handle_dumper_result, handle_chunker_result): - Don't call free_serial(). - * server-src/driver.c (dumper_result): Call free_serial_dp(dp). - * server-src/driverio.c (dumper_cmd): Remove CONTINUE cmd. - * server-src/driverio.c (chunker_cmd): Print serial number for CONTINUE - command. - * server-src/driverio.c (disk2serial): Try to find a 'dp' before - allocating a new serial. - * server-src/driverio.c (free_serial_dp): New function to remove the - serial for a dp. - * server-src/driverio.h (free_serial_dp): Prototype. - * server-src/chunker.c (databuf_flush): Read serial number for CONTINUE - command. - -2004-08-03 Jean-Louis Martineau - - * server-src/planner.c (getsize): Do SERVER estimate, call sendsize with - CALCSIZE estimate. - -2004-08-03 Jean-Louis Martineau - - * client-src/calcsize.c: Support exclude and include like gnutar, - change in program argument. - * client-src/sendsize.c: Execute calcsize as requested. - * common-src/amfeatures.h (fe_calcsize_estimate): New feature. - * common-src/amfeatures.c (am_init_feature_set): set - fe_calcsize_estimate. - * server-src/amcheck.c (start_host): Check if client support CALCSIZE - estimate. - -2004-08-03 Jean-Louis Martineau - - * server-src/conffile.h (ES_CLIENT, ES_SERVER, ES_CALCSIZE): New define - for estimate type. - * server-src/conffile.h (dumptype_t): Add 'estimate' and 's_estimate' - * server-src/conffile.c (get_estimate): New function to parse estimate - type, .... - * server-src/diskfile.c (read_diskline): Copy 'estimate'. - * server-src/diskfile.h (disk_t): Add 'estimate'. - * server-src/amadmin.c (disklist_one): Print estimate type. - -2004-08-02 Jean-Louis Martineau - - * common-src/match.c (match_tar, tar_to_regex): New fonction similar - to the exclude option of tar. - * common-src/amanda.h (match_tar, tar_to_regex): Prototype. - -2004-08-02 Jean-Louis Martineau - - * server-src/infofile.h (history_t): new struct. - * server-src/infofile.h (info_t): Add a history_t. - * server-src/infofile.c (read_txinfofile): Parse history data. - * server-src/infofile.c (write_txinfofile): Print history data. - * server-src/amadmin.c (export_one): export history data. - * server-src/amadmin.c (import_one): import history data. - * server-src/driverio.c (update_info_dumper): update history data. - -2004-05-10 Jean-Louis Martineau - Patch by Paul Bijnens - - * server-src/planner.c: Log L_DISK for autoflush disk. - -2004-05-03 Jean-Louis Martineau - - * server-src/planner.c (handle_result): Add dp to pestq at the - correct place. - -2004-04-30 Jean-Louis Martineau - - * common-src/amanda.h: #include "amanda-int.h" only if !CONFIGURE_TEST. - -2004-04-29 Jean-Louis Martineau - - * config/acinclude.m4i (AX_CREATE_STDINT_H) : New macro. - * configure.in: Use AX_CREATE_STDINT_H(common-src/amanda-int.h). - * common-src/amanda.h: include "common-src/amanda-int.h". - * changer-src/scsi-cam.c: Change u_int32_t for uint32_t. - -2004-04-27 Jean-Louis Martineau - - * configure.in: Fix for automake 1.8.4. - * config/acinclude.m4i: Fix for automake 1.8.4. - -2004-04-26 Jean-Louis Martineau - - * configure.in: Result of autoupdate. - -2004-04-26 Jean-Louis Martineau - - * config/config.guess: Update from automake 1.8. - * config/config.sub: Update from automake 1.8. - * config/depcomp: Update from automake 1.8. - * config/install-sh: Update from automake 1.8. - * config/missing: Update from automake 1.8. - * config/mkinstalldirs: Update from automake 1.8. - * config/ltmain.sh: Update from libtool-1.5.6. - * config/libtool.m4i: Update from libtool-1.5.6. - -2004-04-26 Marc Mengel - - * tape-src/output-rait.c: Verify reads correctly. - -2004-04-26 Jean-Louis Martineau - - * server-src/driver.c (continue_dumps): Fix deadlock if holding disk - fill up when in degraded mode. - -2004-04-23 Eric Siegerman - - Bug fix: amflush would run, and consume a tape, even if there - were no Amanda directories waiting to be flushed: - * common-src/sl.c (is_empty_sl): New function to test - whether a list is empty. - * common-src/sl.h (is_empty_sl): Prototype. - * server-src/amflush.sh (main): Use is_empty_sl(), - rather than ==NULL, to test emptiness of datestamp_list. - -2004-04-23 Jean-Louis Martineau - - * server-src/planner.c (setup_estimate): Typo. - -2004-04-22 Jean-Louis Martineau - - Allow bumpsize, bumppercent, bumpdays and bumpmult to be in a dumptype. - * server-src/conffile.c: Parse. - * server-src/conffile.h: Define. - * server-src/amadmin.c (disklist_one): Use. - * server-src/diskfile.c (read_diskline): Initialize. - * server-src/diskfile.h: Define. - * server-src/planner.c: Use. - * man/amanda.8.in: Document. - -2004-04-22 Jean-Louis Martineau - Fix by Paul Bijnens - - * server-src/planner.c (setup_estimate): Only ask for level 0 estimate - if strategy is noinc. - -2004-04-21 Jean-Louis Martineau - Documentation from Paul Bijnens - - * man/amoverview.8.in: Document results. - -2004-04-21 Jean-Louis Martineau - Patch by Paul Bijnens - - * server-src/amoverview.pl.in: Print last two characters. - -2004-04-16 Jean-Louis Martineau - - * changer-src/chg-disk.sh.in: Fix for sh compatibility. - -2004-04-14 Jean-Louis Martineau - Fix by John Koyle - - * common-src/dgram.c: Fix EAGAIN on Linux. - -2004-04-06 Jean-Louis Martineau - - * server-src/amadmin.c (bumpsize): Typo. - -2004-04-06 Jean-Louis Martineau - - New bumppercent global option. - * example/amanda.conf.in: Document it. - * man/amanda.8.in: Document it. - * server-src/amadmin.c (bumpsize): Write it. - * server-src/conffile.c: Parse it. - * server-src/conffile.h: Define It. - * server-src/planner.c (bump_thresh): New size_level_0 parameter, - use the new bumppercent option. - -2004-04-05 Jean-Louis Martineau - - * server-src/amadmin.c: Rename host_t to amhost_t. - * server-src/amcheck.c: Ditto. - * server-src/amindexd.c: Ditto. - * server-src/diskfile.c: Ditto. - * server-src/diskfile.h: Ditto. - * server-src/driver.c: Ditto. - * server-src/planner.c: Ditto. - -2004-03-26 Jean-Louis Martineau - - * amplot/amplot.awk: Parse "driver: tape size" line. - -2004-03-22 Stefan G. Weichinger - - * server-src/amcheck.c (start_host): Added warning for hostname - localhost. - * docs/TOP-TEN-QUESTIONS: added note about localhost-warning. - -2004-03-19 Jean-Louis Martineau - - * docs/Makefile.am (pkgdata_DATA): Add TOP-TEN-QUESTIONS. - -2004-03-18 Stefan G. Weichinger - - * docs/TOP-TEN-QUESTIONS: New file. - -2004-03-17 Jean-Louis Martineau - - * server-src/reporter.c (handle_success): Set stats[i].coutsize - correctly. - * server-src/taper.c: Do not subtract tt_blocksize_kb from filesize. - -2004-03-16 Jean-Louis Martineau - - * common-src/ssh-security.c: New ssh security driver. - * common-src/Makefile.am (libamanda_la_SOURCES): Add ssh-security.c. - * common-src/security.c: Add ssh security driver. - * configure.in: Add --with-ssh-security. Define SSH_SECURITY. - -2004-03-16 Jean-Louis Martineau - - * server-src/amcheck.c: Do labelstr check in correct order. - -2004-03-10 Jean-Louis Martineau - - Use only one time event for all dumpers, no wait event. - start_some_dumps is called everytime a dumper or taper finish. - * server-src/driver.c (dumpers_ev_time): New global event. - * server-src/driver.c (start_some_dumps): Remove dumper argument, - can start many dump. - * server-src/driver.c (dumper_result): Call start_some_dumps instead - of event_wakeup. - * server-src/driver.c (handle_idle_wait): Remove function. - * server-src/driver.c (handle_dumpers_time): new handle for - dumpers_ev_time, it call start_some_dumps. - * server-src/driverio.h (dumper_t): Remove ev_wait. - * server-src/driverio.c (startup_dump_process): Don't set ev_wait. - -2004-03-09 Jean-Louis Martineau - - * common-src/fileheader.c (print_header): Fix fprintf use. - * client-src/amqde.c (parse_exclude_path): Fix = by ==. - * common-src/protocol.c (s_repwait): Fix compiler warning. - * common-src/rsh-security.c (runrsh): Fix compiler warning. - -2004-03-05 Jean-Louis Martineau - - * common-src/pipespawn.c (pipespawn): Remove passwdvar and passwdfd. - -2004-02-13 Jean-Louis Martineau - Reported by Allen Liu - - * server-src/amverifyrun.sh.in: Replace '-e' test by '-f'. - -2004-02-13 Jean-Louis Martineau - - * server-src/amcheck.c: Verify the tape is listed in the tapelist file. - * server-src/taper.c: Ditto - -2004-02-13 Jean-Louis Martineau - - * server-src/driver.c (dump_schedule): Print complete name. - -2004-02-13 Jean-Louis Martineau - - The estimate send a PREP (partial REP) packet after each estimate. - * client-src/amandad.c: Send PREP packet if sendsize. - * common-src/amfeatures.c (am_init_feature_set): Add - fe_partial_estimate. - * common-src/amfeatures.h (am_feature_e): Add fe_partial_estimate. - * common-src/packet.c (pktypes[]): Add PREP. - * common-src/packet.h (pktype_t): Add P_PREP. - * common-src/protocol.c (action_t): Add A_CONTPEND. - * common-src/protocol.c: Handle P_PREP packet. - * server-src/amstatus.pl.in: Parse "got partial result" line. - * server-src/planner.c: Handle P_PREP packet. - -2004-02-13 Jean-Louis Martineau - Reported by Jason Brooks - - * server-src/reporter.c: Remove duplicate setting of cd to - &ColumnData[Level]. - -2004-02-12 Jean-Louis Martineau - Patch by Philippe Charnier - - * server-src/amtrmidx.c: Add '\n'. - -2004-02-11 Jean-Louis Martineau - - * recover-src/set_commands.c (cd_glob): Fix memory leak. - -2004-02-11 Jean-Louis Martineau - - * recover-src/set_commands.c (cd_dir, set_directory): Fix memory leak. - * recover-src/uscan.l: Fix double amfree. - -2004-02-02 Jean-Louis Martineau - - * server-src/driver.c: Build holding disk name with timestamp. - * server-src/holding.c (is_datestr): Check also for timestamp. - * server-src/planner.c: Flush today's dump with autoflush. - * server-src/find.c: Find holding disk with timestamp. - * server-src/find.h (find_result_t): Add timestamp field. - -2004-02-02 Jean-Louis Martineau - - * changer-src/chg-zd-mtx.sh.in: Works if all slot and tape are full. - -2004-02-02 Jean-Louis Martineau - - * server-src/amverifyrun.sh.in: Do not execute amverify if no tape - to verify. - -2004-02-02 Jean-Louis Martineau - - * server-src/amdump.sh.in: Do not redirect to /dev/null. - -2004-02-02 Jean-Louis Martineau - - * config/acinclude.m4i: Define CF_WAIT_INT. - * configure.in: Call CF_WAIT_INT. - * common-src/amanda.h: Try to make waitpid doesn't warn. - -2004-01-29 Jean-Louis Martineau - - * Makefile.am (EXTRA_DIST): Add contrib/mkamandisk. - -2004-01-29 Christoph Pospiech - - * configure.in (AC_CONFIG_FILES): Add changer-src/chg-iomega.pl. - * changer-src/Makefile.am (libexec_SCRIPTS) Add chg-iomega. - * changer-src/chg-iomega.pl.in: New changer script. - * docs/TAPE.CHANGERS: Document chg-iomega. - * contrib/mkamandisk: Script to format iomega disk. - -2004-01-29 Jean-Louis Martineau - - * restore-src/amidxtaped.c (scan_init): Remove the log file if it exit. - -2004-01-26 Jean-Louis Martineau - - * configure.in: Set GNUTAR_LISTED_INCREMENTAL_DIRX. - * example/amanda.conf.in: Update record documentation. - * man/amanda.8.in: Update record documentation. - -2004-01-14 Stefan G. Weichinger - - * docs/INSTALL: Add config for xinetd. - -2004-01-07 Jean-Louis Martineau - - * server-src/planner.c (handle_result): Detect bad estimate (-1). - * server-src/planner.c (analyze_estimate): Don't schedule level - if the estimate is bad. - -2003-12-16 Jean-Louis Martineau - - * docs/HOWTO-FILE-DRIVER: New file. - * docs/TAPE.CHANGERS: Explain chg-disk. - * docs/Makefile.am (pkgdata_DATA): add HOWTO-FILE-DRIVER. - -2003-12-02 Jean-Louis Martineau - - * docs/SYSTEM.NOTES: Add a note about sendsize coredump on AIX. - -2003-11-28 Jean-Louis Martineau - Patch by Jean-Christian SIMONETTI - - * changer-src/chg-disk.sh.in: New changer script. - * changer-src/Makefile.am (libexec_SCRIPTS): Add chg-disk. - * configure.in (AC_CONFIG_FILES): Add changer-src/chg-disk.sh. - -2003-11-28 Jean-Louis Martineau - - * tape-src/tapetype.c: extern int optind. - * tape-src/tapeio.c: extern int optind. - -2003-11-28 Jean-Louis Martineau - Patch by C.Scheeder - - * changer-src/sense.c (SenseType): Add "DAT AutoChanger" and "C1537A". - -2003-11-27 Jean-Louis Martineau - - * server-src/driver.c: Print the tape size. - * server-src/amstatus.pl.in: print % of tape use. - -2003-11-26 Jean-Louis Martineau - - * server-src/conffile.c (copy_dumptype): Copy in/exclude only if seen. - -2003-11-26 Jean-Louis Martineau - - * server-src/reporter.c (output_tapeinfo): Fix printing of new tape. - -2003-11-25 Jean-Louis Martineau - - * server-src/amcheck.c (taperscan_slot): Deal with label not in - tapelist case. - * server-src/amtape.c (taperscan_slot): Ditto. - * server-src/taper.c (taperscan_slot): Ditto. - -2003-11-24 Jean-Louis Martineau - - * server-src/driver.c (handle_taper_result): Always call - continue_dumps() in TRYAGAIN case. - -2003-11-21 Jean-Louis Martineau - - * changer-src/chg-chio.pl.in (getTapeStatus): Set $drives[$num] to 0 - if no tape in drive. - -2003-11-20 Jean-Louis Martineau - - * docs/Makefile.am (pkgdata_DATA): Add HOWTO-AFS. - -2003-11-18 Jean-Louis Martineau - Patch by Mitch Collinsworth - - * client-src/selfcheck.c: Skip accessibility check for AFS entries. - * docs/HOWTO-AFS: New file. - -2003-11-07 Jean-Louis Martineau - - * server-src/amadmin.c (tape): Display the next new tapes. - * server-src/reporter.c (output_tapeinfo): Ditto. - -2003-10-31 Jean-Louis Martineau - - * docs/Makefile.am (pkgdata_DATA): Add chg-scsi.notes. - -2003-10-31 Jean-Louis Martineau - - * server-src/amcheck.c (taperscan_slot): Set found=3 if new tape. - * server-src/amcheck.c (taper_scan): Handle found==3. - * server-src/amtape.c (taperscan_slot): Set found=3 if new tape. - * server-src/amtape.c (taper_scan): Handle found==3. - * server-src/taper.c (taperscan_slot): Set found=3 if new tape. - * server-src/taper.c (taper_scan): Handle found==3. - -2003-10-30 Jean-Louis Martineau - - * server-src/amcheck.c: Use stralloc(optarg). - * tape-src/ammt.c: Use stralloc(optarg). - * tape-src/tapetype.c: Use stralloc(optarg). - -2003-10-30 Jean-Louis Martineau - Patch by Jay Fenlason - - * server-src/dumper.c: Don't set SIGCHLD to SIG_IGN. - -2003-10-30 Jean-Louis Martineau - Patch by Andrew Rucker Jones - - * client-src/sendbackup-gnutar.c (AM_SIZE_RE): Fix regex for samba3. - -2003-10-27 Jean-Louis Martineau - - * server-src/amadmin.c (find): Call find_dump to allow dynamic disklist. - * server-src/amindexd.c: Call find_dump to allow dynamic disklist. - * server-src/amtrmidx.c: Call find_dump to allow dynamic disklist. - * server-src/diskfile.c (add_disk): Set device and todo. - * server-src/find.c: Build disklist dynamicaly from log files. - * server-src/find.h (find_dump): New prototype. - -2003-10-27 Jean-Louis Martineau - - * server-src/amlogroll.c: set_pname("amlogroll"). - -2003-10-24 Todd M. Kover - - * add amqde for "quick and dirty estimates" under gnutar (program - that will traverse the filesystem rather than invoke gnutar). - controlled via configure option --with-qde. This really wants to - be configured in the server. - -2003-10-24 Jean-Louis Martineau - - * server-src/amverify.sh.in: Fix usage message. - * common-src/fileheader.c (print_header): fprintf to outf. - * server-src/tapefile.c (lookup_last_reusable_tape): Check for - tp->datestamp > 0. - * server-src/amadmin.c (disklist_one): Don't print ':' on device line. - -2003-10-23 Todd Kover - - * make amrecover link against readline rather than libamanda so - only amrecover would require the shared library (if it's found) - -2003-10-22 Jean-Louis Martineau - Patch by Paul Bijnens - - * client-src/amandates.c (finish_amandates): Call error() if the - close of amdf fail. - * common-src/amflock.c (create_lock): Return -1 if the close of f fail. - * common-src/amflock.c (read_lock): Don't set f to NULL if the close - fail. - * server-src/tapefile.c (write_tapelist): Return 1 if the close of - tapef fail. - -2003-10-14 John R. Jackson (jrj@purdue.edu) - - * docs/SYSTEM.NOTES: Add FreeBSD 5.1 note about setting the UDP packet - size, compliments of Nicolas Ecarnot . - -2003-10-14 John R. Jackson (jrj@purdue.edu) - - * client-src/sendsize.c: Handle case where PID's get re-used. - -2003-10-14 John R. Jackson (jrj@purdue.edu) - - * configure.in: Need to check for sys/gscdds.h on AIX to enable - SCSI changer. - -2003-10-07 Jean-Louis Martineau - - * common-src/genversion.c (prundefvar): New function to print an - undefined variable. - * common-src/genversion.c: Print undefined variable. - * server-src/amcheck.c: Improve message for no LPRCMD defined. - -2003-07-08 Jean-Louis Martineau - - * restore-src/amidxtaped.c: Don't clea re_label before checking - for the changer. - -2003-07-07 Jean-Louis Martineau - Patch by Scott Mcdermott - - * changer-src/chg-zd-mtx.sh.in (initial_poll_delay): New config - variable to add a pause after a tape loading. - -2003-07-07 Jean-Louis Martineau - Fix by John E. Hein - - * changer-src/chg-manual.sh.in: Quote @EGREP@. - * changer-src/chg-null.sh.in: Quote @EGREP@. - -2003-07-07 Jean-Louis Martineau - - * amplot/amplot.sh.in: Remove files before runnig amplot.awk. - * amplot/amplot.awk: Parse 'flush line', fix tape_wait line. - * server-src/driver.c (read_flush): Write a 'flush size' to the - debug file. - -2003-07-07 Jean-Louis Martineau - - * changer-src/chg-chio.pl.in: Fix next/prev command. - -2003-07-02 Jean-Louis Martineau - patch by Paul Bijnens - - * client-src/client_util.c (add_include): Count include with 2 /, - Fix descriptor leak. - -2003-06-25 Jean-Louis Martineau - - * server-src/amstatus.pl.in: Fix print spacing for idle dumpers. - -2003-06-20 Jean-Louis Martineau - - * server-src/holding.c: Fix compiler error. - * server-src/planner.c: Use snprintf. - -2003-06-20 Jean-Louis Martineau - patch by Paul Bijnens - - * tape-src/tapetype.c: Avoid a numerical overflow for large tape - capacities. - -2003-06-20 Jean-Louis Martineau - - * server-src/amstatus.pl.in: Fix to failed tape. - -2003-06-18 Jean-Louis Martineau - - * server-src/planner.c (delay_dumps): Delay not delay forced full - before forced full. - -2003-06-18 Jean-Louis Martineau - - * changer-src/chg-zd-mtx.sh.in: Log the changer file used. - -2003-06-11 Jean-Louis Martineau - - * server-src/amverify.sh.in: Do not advance to next tape. - -2003-06-10 Jean-Louis Martineau - patch by Eric Siegerman - - * server-src/planner.c: Make promote_hills() honour maxpromotedays. - -2003-06-05 Jean-Louis Martineau - - * changer-src/scsi-bsd.c: Use pDev[DeviceFD].fd instead of DeviceFD. - * changer-src/scsi-hpux_new.c:Use pDev[DeviceFD].fd instead of DeviceFD. - * changer-src/scsi-linux.c: Use pDev[ip].fd instead of DeviceFD. - -2003-06-05 Jean-Louis Martineau - - * client-src/noop.c: #include "util.h". - -2003-06-05 Jean-Louis Martineau - - * server-src/amflush.c: Implement new -b and -s options. - * man/amflush.8.in: Document it. - -2003-06-05 Jean-Louis Martineau - - * server-src/driver.c (dump_to_tape): Don't go in degraded mode if - taper reply DONE. - -2003-06-05 Jean-Louis Martineau - - * tape-src/output-rait.c: Don't call waitpid if we didn't fork. - -2003-06-04 Jean-Louis Martineau - - * server-src/amverify.sh.in: Use @MAXTAPEBLOCKSIZE@ instead of 32. - -2003-06-03 Jean-Louis Martineau - Bug reported by Sven Rudolph - - * server-src/holding.c (mkholdingdir): New function to create a holding - directory. - * server-src/holding.h (mkholdingdir): Prototype. - * server-src/driver.c: Use mkholdingdir; - * server-src/chunker.c: Call mkholdingdir before opening a file for - writing. - -2003-06-02 Jean-Louis Martineau - Patch by Paul Bijnens - - * server-src/amstatus.pl.in: Fix for missing amdump.1 or amflush.1. - -2003-06-02 Jean-Louis Martineau - Patch by Paul Bijnens - - * server-src/amstatus.pl.in: If nothing is active, it now gives the - status of the last run (amdump or amflush). - * man/amstatus.8.in: Document it. - -2003-05-29 Jean-Louis Martineau - - * tape-src/output-file.c (check_online): Write error if opendir failed. - -2003-05-29 Jean-Louis Martineau - Patch by Paul Bijnens - - * server-src/amoverview.pl.in: Use 'amadmin disklist' instead - of parsing the disklist file. - -2003-05-27 Jean-Louis Martineau - - * server-src/tapefile.c (read_tapelist,parse_tapeline): Fix for - previous patch. - -2003-05-20 Jean-Louis Martineau - - * common-src/versuff.c.in: Use @VERSION_SUFFIX@. - -2003-05-16 Jean-Louis Martineau - - * example/amanda.conf.in: Add more amrecover_changer doc. - * man/amanda.8.in: Add more amrecover_changer doc. - * man/amrecover.8.in: Add more amrecover_changer doc. - -2003-05-12 Jean-Louis Martineau - - * server-src/tapefile.c (read_tapelist): Ignore blank line. - * server-src/tapefile.c (parse_tapeline): Newer status parameter, set - it to '1' when reading blank line. - -2003-04-28 Jean-Louis Martineau - - * configure.in (AC_CHECK_HEADERS): Enleve linux/ftape-header-segment.h, - linux/ftape-vendors.h et linux/ftape.h. - -2003-04-28 Jean-Louis Martineau - Patch by Darin Dugan - - * server-src/amcheck.c: Change subject in email if no error. - -2003-04-26 Jean-Louis Martineau - - * common-src/error.c (output_error_message): Always prepend program - name. - -2003-04-15 Jean-Louis Martineau - - * server-src/amstatus.pl.in: Fix for estimate disk. - -2003-04-14 Jean-Louis Martineau - - * server-src/taper.c: Read holding file correctly if blocksize != 32k. - -2003-04-13 Jean-Louis Martineau - New file by Robert C Dege - - * configure.in: Find mcutil binary. - * configure.in (AC_CONFIG_FILES): Add changer-src/chg-mcutil.sh and - example/chg-mcutil.conf. - * changer-src/Makefile (libexec_SCRIPTS): Add chg-mcutil. - * changer-src/chg-mcutil.sh.in: New file. - * example/Makefile (EXTRA_DIST): Add chg-mcutil.conf - * example/chg-mcutil.conf.in: New file. - -2003-04-08 Jean-Louis Martineau - - * man/amanda.8.in (blocksize): Document the --with-maxtapeblocksize - configure option. - -2003-04-02 Jean-Louis Martineau - - * server-src/amverifyrun.sh.in: Run the amverify command. - -2003-04-02 Jean-Louis Martineau - Patch by Paul Bijnens - - * server-src/reporter.c: Get the filenumber correct. - -2003-04-01 Jean-Louis Martineau - Patch by Paul Bijnens - - * server-src/reporter.c: Print a postscript label for each tape used. - -2003-03-18 Jean-Louis Martineau - - * configure.in (*-sco3.2v4*): It is not like *-sco3.2v5*, - define DEV_PREFIX and RDEV_PREFIX. - -2003-03-17 Jean-Louis Martineau - - * configure.in: Typo. - -2003-03-17 Jean-Louis Martineau - Patch by Gert Doering - - * client-src/getfsent.c (get_fstab_nextentry): Compile on *-sco3.2v4*. - -2003-03-17 Jean-Louis Martineau - - * configure.in: Compile on *-sco3.2v4* - -2003-03-17 Jean-Louis Martineau - - * configure.in: Use '=' instead of '=='. - -2003-03-14 Jean-Louis Martineau - - * recover-src/set_commands.c (set_tape): Recognize null:, rait:, - file: and tape: as driver, not host name. - -2003-03-14 Jean-Louis Martineau - - * server-src/amrmtape.sh.in: Print better output. - -2003-03-13 Jean-Louis Martineau - - * changer-src/Makefile.am (libexec_SCRIPTS): Missing \. - -2003-03-08 Jean-Louis Martineau - - * client-src/client_util.c (add_include): If include contain 2 '/' then - use at asis, don't try to match it. - -2003-03-07 Jean-Louis Martineau - - * server-src/changer.h (changer_label): Return an int. - * server-src/changer.h (changer_label): First parameter is char *. - -2003-03-07 Jean-Louis Martineau - - * file tape-src/output-rait.c (rait_open): Call tapefd_set_master_fd(); - * file tape-src/tapeio.c (struct tape_info): Add master_fd field. - * file tape-src/tapeio.c (tape_info_init): Set master_fd to -1; - * file tape-src/tapeio.c (tapefd_getinfo_host, tapefd_getinfo_disk, - tapefd_getinfo_level): Return info of master_fd. - * file tape-src/tapeio.c (tapefd_set_master_fd): New function to set - master_fd. - * file tape-src/tapeio.h (tapefd_set_master_fd): Prototype. - -2003-03-06 Jean-Louis Martineau - - * tape-src/output-file.c (file_tapefd_can_fork): New function that - return 1 if the file: can be run under a forked process. - * tape-src/output-file.h (file_tapefd_can_fork): Prototype. - * tape-src/output-null.c (null_tapefd_can_fork): New function that - return 1 if the null: can be run under a forked process. - * tape-src/output-null.h (null_tapefd_can_fork): Prototype. - * tape-src/output-rait.c (rait_close, rait_tapefd_ioctl): Fork only if - * tapefd_can_fork() return 1. - * tape-src/output-rait.c (rait_tapefd_can_fork): New function that - return 1 if the rait: can be run under a forked process. - * tape-src/output-rait.h (rait_tapefd_can_fork): Prototype. - * tape-src/output-tape.c (tape_tapefd_can_fork): New function that - return 1 if the tape: can be run under a forked process. - * tape-src/output-tape.h (tape_tapefd_can_fork): Prototype. - * tape-src/tapeio.c (struct virtualtape): Add xxx_tapefd_can_fork and - initialize vtable[]; - * tape-src/tapeio.c (tapefd_can_fork): New function to can the driver - xxx_tapefd_can_fork function. - * tape-src/tapeio.h (tapefd_can_fork): Prototype. - -2003-03-05 Jean-Louis Martineau - - * tape-src/output-file.c (file_tapefd_write): Call file_release(fd) - before opening the file for writing. - -2003-03-04 Jean-Louis Martineau - - * changer-src/chg-zd-mtx.sh.in: Default for driveslot is 0. - -2003-03-04 Jean-Louis Martineau - - * amplot/amplot.sh.in: New -b option for b/w postscript. - * amplot/amplot.awk: Add 'color' to command if bw is set. - * amplot/amplot.g: Change line 6 to line 8. - * man/amplot.8: Document -b option. - -2003-03-04 Jean-Louis Martineau - - * recover-src/extract_list.c: Fix the name of the - amidxtaped..debug file. - -2003-02-28 Jean-Louis Martineau - Patch by Eric Doutreleau - - * restore-src/amidxtaped.c: Use the device sent by the changer. - -2003-02-28 Jean-Louis Martineau - - * restore-src/amidxtaped.c: Remove lock 'unlink(conf_logfile)' on - all failure path. - -2003-02-28 Jean-Louis Martineau - - * server-src/changer.c: Sync with 2.4.4. - -2003-02-21 Jean-Louis Martineau - - * client-src/client_util.c: Print error except ENOENT for - exclude/include files. - -2003-02-20 Jean-Louis Martineau - - * tape-src/tapetype.c: Use %ld to print some variable. - -2003-02-20 Jean-Louis Martineau - - * server-src/conffile.c (init_defaults): conf_printer.s must be set - with stralloc(""). - -2003-02-12 Jean-Louis Martineau - Patch by Paul Bijnens - - * tape-src/tapetype.c: Document -c option. - -2003-02-12 Jean-Louis Martineau - - * changer-src/chg-zd-mtx.sh.in:Print "are you sure your drive slot is n" - -2003-02-12 Jean-Louis Martineau - - * server-src/tapefile.c (read_tapelist): return 1 if can't open the - tapelist file. - -2003-02-12 Jean-Louis Martineau - - * man/amtapetype.8.in: Add doc from a mail by John R. Jackson. - -2003-02-11 Jean-Louis Martineau - - * server-src/amcheck.c: New -a option. - * man/amcheck.8.in: Document it. - -2003-02-11 Jean-Louis Martineau - - * server-src/amindexd.c (build_disk_table): Compare the level. - -2003-02-10 Jean-Louis Martineau - Patch by Paul Bijnens - - * tape-src/tapetype.c: New -c argument to do only the compression test. - Better detection of compression. - * man/amtapetype.8.in: Document -c argument. - -2003-02-09 John R. Jackson (jrj@purdue.edu) - - * tape-src/tapetype.c: Allocate the I/O buffers on page boundaries. - This helps performance on some OS's. - -2003-02-08 John R. Jackson (jrj@purdue.edu) - - * restore-src/amrestore.c: Clean up strtol() argument processing. - -2003-02-08 John R. Jackson (jrj@purdue.edu) - - * docs/INSTALL: Clean up supporting package versions and URL's. - -2003-02-06 Jean-Louis Martineau - - * docs/Makefile.am (pkgdata_DATA): Add HOWTO-CYGWIN.html. - -2003-02-04 Jean-Louis Martineau - Patch by Christophe Kalt - - * client-src/sendbackup-dump.c: New AM_SIZE_RE for NetApp. - * client-src/sendsize.c: New re_size for NetApp. - -2003-02-04 Jean-Louis Martineau - Fix by Colin Henein - - * common-src/amanda.h: Fix for the where S_ISDIR is not defined. - -2003-02-03 Jean-Louis Martineau - Patch by Doug Kingston - - * configure.in (NEED_SETUID_CLIENT): Set to false on *-pc-cygwin. - * configure.in (WANT_SETUID_CLIENT): Set if NEED_SETUID_CLIENT != false. - * client-src/Makefile.am: Don't chmod u+s if WANT_SETUID_CLIENT. - -2003-02-03 Jean-Louis Martineau - Patch by Andrew Rucker Jones - - * man/amtapetype.8.in: Fix example. - -2003-01-31 Jean-Louis Martineau - - * common-src/amanda.h: #define S_ISDIR if not already defined. - -2003-01-31 Jean-Louis Martineau - File from Doug Kingston - - * docs/HOWTO-CYGWIN.html: New file. - -2003-01-30 Jean-Louis Martineau - - * configure.in: Define WANT_RUNTIME_PSEUDO_RELOC on cygwin - * client-src/Makefile.am: AM_LDFLAGS="-Wl,-enable-runtime-pseudo-reloc" - if WANT_RUNTIME_PSEUDO_RELOC. - * recover-src/Makefile.am: Ditto. - -2003-01-28 Jean-Louis Martineau - - * tape-src/output-rait.h: #define stralloc strdup - * tape-src/output-rait.c: Revert patch of 2003-01-26, we don't have - vstralloc in standalone. - -2003-01-27 Jean-Louis Martineau - Reported by Doug Kingston - - * recover-src/Makefile.am: Set AM_YFLAGS instead of YFLAGS. - -2003-01-26 Jean-Louis Martineau - - * tape-src/output-rait.c (tapeio_next_devname): Use vstralloc. - -2003-01-26 Jean-Louis Martineau - - * changer-src/chg-scsi-chio.c: Change strdup to stralloc. - * changer-src/chg-scsi.c: Ditto. - * changer-src/scsi-aix.c: Ditto. - * changer-src/scsi-bsd.c: Ditto. - * changer-src/scsi-cam.c: Ditto. - * changer-src/scsi-changer-driver.c: Ditto. - * changer-src/scsi-hpux_new.c: Ditto. - * changer-src/scsi-irix.c: Ditto. - * changer-src/scsi-linux.c: Ditto. - * changer-src/scsi-solaris.c: Ditto. - * changer-src/sense.c: Ditto. - * tape-src/output-rait.c: Ditto. - -2003-01-26 Jean-Louis Martineau - - * server-src/taper.c (read_file): Don't count header in filesize. - -2003-01-25 John R. Jackson (jrj@purdue.edu) - - * tape-src/tapeio.c: Fix tape_access() and tape_stat() problem caused - by indeterminate compiler order of evaluation. - -2003-01-25 John R. Jackson (jrj@purdue.edu) - - * restore-src/amidxtaped.c: Log errno when tape_stat fails. - * restore-src/amrestore.c: Ditto. - * tape-src/output-rait.c: Ditto. - -2003-01-24 Jean-Louis Martineau - - * server-src/amstatus.pl.in: print an usage by tape. - -2003-01-23 Jean-Louis Martineau - - * recover-src/extract_list.c (add_extract_item, delete_extract_item): - Check also for level when comparing label. - -2003-01-17 Jean-Louis Martineau - - Do not build chg-scsi-chio, it is buggy. - * changer-src/Makefile.am (libexec_PROGRAMS): remove $(CHIO_SCSI). - * changer-src/Makefile.am (EXTRA_PROGRAMS): add $(CHIO_SCSI). - -2003-01-16 Jean-Louis Martineau - - * configure.in: disable amrestore if --without-server is set. - -2003-01-04 Jean-Louis Martineau - - * client-src/amandad.c: Use the dbfd macro instead of the external - variable db_fd. - * client-src/selfcheck.c: Ditto. - * client-src/sendbackup.c: Ditto. - * client-src/sendsize.c: Ditto. - * client-src/sendbackup-gnutar.c: Use save_errno instead of errno. - * common-src/debug.c: Move most declaration inside #ifdef DEBUG_CODE. - * server-src/amindexd.c: dup db_fd() to stderr. - * server-src/conffile.c: Don't call error() if the config file does not - exist, just write to stderr and set got_parserror. - -2003-01-03 Jean-Louis Martineau - - * recover-src/amrecover.c: Fix memory leak. - -2003-01-03 Jean-Louis Martineau - - Add new maxpromoteday option in a dumptype. - * example/amanda.conf.in: Give an example - * man/amanda.8.in: Document it. - * server-src/amadmin.c: Print it in the disklist subcommand. - * server-src/conffile.c: read it. - * server-src/conffile.h (dumptype_t): Add maxpromoteday and - s_maxpromoteday. - * server-src/diskfile.c (read_diskline): Copy maxpromoteday from - dumptype_t to disk_t. - * server-src/diskfile.h (disk_t): Add maxpromoteday. - * server-src/planner.c (promote_highest_priority_incr): Don't promote - a disk if est(dp)->next_level0 > dp->maxpromoteday. - -2003-01-02 Jean-Louis Martineau - Reported by Josh More - - * client-src/client_util.c (add_exclude, add_include): Remove the - need for MAXPATHLEN. - -2003-01-02 Jean-Louis Martineau - Fix by Josh More - - * tape-src/output-tape.c: Add a ; after f = MT_UNLOAD - -2003-01-01 Jean-Louis Martineau - Undo patch of 2002-11-27. That doesn't work well for the planner. - - * common-src/amanda.h (days_diff): Revert to old macro. - * server-src/amadmin.c: Undo Fix for newer days_diff. - * server-src/planner.c: Undo Fix for newer days_diff. - -2003-01-01 Jean-Louis Martineau - - * client-src/client_util.c: Fix memory leak reported by valgrind. - * client-src/selfcheck.c: Ditto. - * client-src/sendbackup.c: Ditto. - * client-src/sendsize.c: Ditto. - * common-src/amfeatures.c: Ditto. - * common-src/debug.c: Ditto. - * recover-src/amrecover.c: Ditto. - * recover-src/extract_list.c: Ditto. - * recover-src/set_commands.c: Ditto. - * recover-src/uparse.y: Ditto. - * recover-src/uscan.l: Ditto. - * server-src/amindexd.c: Ditto. - * server-src/amlabel.c: Ditto. - * server-src/amtape.c: Ditto. - * server-src/amtrmidx.c: Ditto. - * server-src/amtrmlog.c: Ditto. - * server-src/changer.c: Ditto. - * server-src/conffile.c: Ditto. - * server-src/driver.c: Ditto. - * server-src/driverio.c: Ditto. - * server-src/dumper.c: Ditto. - * server-src/find.c: Ditto. - * server-src/holding.c: Ditto. - * server-src/logfile.c: Ditto. - * server-src/planner.c: Ditto. - * server-src/reporter.c: Ditto. - * server-src/tapefile.c: Ditto. - * server-src/taper.c: Ditto. - -2002-12-30 Jean-Louis Martineau - - * amplot/amplot.awk: Many fix. - -2002-12-30 Jean-Louis Martineau - - * server-src/planner.c (promote_highest_priority_incremental): Promote - a disk > balanced size if no full today. Do not promote a disk it's - the only disk due that day and no full today. - -2002-12-30 Jean-Louis Martineau - Patch by Brad Roberts - - * server-src/amflush.c: Remove 2 redundant amfree call after remove_sl. - * server-src/holding.c (get_flush): Ditto. - -2002-12-27 Jean-Louis Martineau - - * server-src/conffile.c: New taperalgo configuration keyword. - * server-src/conffile.h: Ditto. - * man/amanda.8.in: Document it. - * server-src/driver.c (startaflush): New function to start a flush to - tape. - -2002-12-27 Jean-Louis Martineau - - * server-src/diskfile.c (parse_diskline): Allow skip in dumptype. - -2002-12-23 Jean-Louis Martineau - - * server-src/amstatus.pl.in: Parse features from PORT-WRITE line. - -2002-12-19 Jean-Louis Martineau - - Don't use the G flag for samba backup restore by tar. - * recover-src/extract_list.c (enum dumptypes): Add IS_SAMBA_TAR. - * recover-src/extract_list.c (extract_files_child): Set dumptype to - IS_SAMBA_TAR if it's a SAMBA backup. Don't pass the G flag to tar - if it's IS_SAMBA_TAR. - -2002-12-18 Jean-Louis Martineau - - * amplot/amplot.awk: Parse line with features, parse ENDFLUSH line. - -2002-12-17 Jean-Louis Martineau - - * server-src/planner.c (promote_highest_priority_incremental): Newer - algorithm that reduce the number of level 0 by hosts on a single day. - -2002-12-17 Jean-Louis Martineau - - * amplot/amplot.awk: Parse newer log lines. - -2002-12-11 Jean-Louis Martineau - * server-src/reporter.c (output_stats): Typo. - -2002-12-09 Jean-Louis Martineau - - * server-src/reporter.c: Print an usage by tape. - -2002-12-05 Jean-Louis Martineau - - * tape-src/tapeio.c (do_read): Init count to 0. - -2002-12-05 Jean-Louis Martineau - - * tape-src/Makefile.am: Install tapetype program as amtapetype. - * docs/TAPETYPES: Change for amtapetype. - * man/amtapetype.8.in: New man page - * man/Makefile.am: Install it. - * configure.in (AC_CONFIG_FILES): Add man/amtapetype.8. - -2002-12-03 Jean-Louis Martineau - - * tape-src/ammt.c (optind): Add prototype. - * tape-src/amdd.c (optind): Add prototype. - -2002-12-03 Jean-Louis Martineau - - * common-src/arglist.h (printf_arglist_function, - printf_arglist_function1, printf_arglist_function2): Define if - STDC_HEADERS is not defined. - -2002-12-03 Jean-Louis Martineau - - * server-src/amstatus.pl.in: New --date option to display datestamp. - * server-src/amstatus.pl.in: Increase some field size. - * server-src/amstatus.pl.in: The host field adjust it's length to the - largest. - -2002-11-27 Jean-Louis Martineau - - * common-src/amanda.h (days_diff): Don't add a half day. - * server-src/amadmin.c: Fix for newer days_diff. - * server-src/planner.c: Fix for newer days_diff. - -2002-11-26 Jean-Louis Martineau - - * client-src/amandad.c: Fix compiler warning. - * common-src/Makefile.am (bsdsecurity): Link with file.o. - * common-src/bsd-security.c: Fix compiler warning. - * common-src/bsd-security.c (construct_datestamp, construct_timestamp): - Add function if TEST. - * server-src/chunker.c: Fix compiler warning. - * server-src/dumper.c: Fix compiler warning. - -2002-11-26 Jean-Louis Martineau - - * tape-src/tapetype.c: Cast time_t to long for printing. - -2002-11-26 Jean-Louis Martineau - - * server-src/amflush.c: Write a "amflush: start at ???" line. - * server-src/amstatus.pl.in: parse the "amflush: start at ???" line. - -2002-11-25 Jean-Louis Martineau - - * server-src/planner.c (delay_dumps): Use snprintf. - -2002-11-25 Jean-Louis Martineau - - * common-src/debug.c: Most of the code must in #ifdef DEBUG_CODE. - * client-src/client_util.c: Use AMANDA_TMPDIR instead of AMANDA_DBGDIR. - -2002-11-24 Jean-Louis Martineau - - * docs/TAPE.CHANGERS: Sync with 2.4.3. - -2002-11-24 Jean-Louis Martineau - - * server-src/amadmin.c: Cleanup. - -2002-11-23 Jean-Louis Martineau - - * man/amadmin.8.in: Document new --days option of balance subcommand. - -2002-11-23 Jean-Louis Martineau - - * server-src/amadmin.c (days_diff): Make next_level0 more acurate. - * server-src/amadmin.c (balance): Improve output. - -2002-11-23 Jean-Louis Martineau - - * recover-src/extract_list.c: Add Retry and Skip command to amrecover. - -2002-11-23 Jean-Louis Martineau - - * tape-src/output-tape.c (tape_tapefd_fsf): Must not be static. - -2002-11-19 Jean-Louis Martineau - - * server-src/reporter.c: Fix for LPRCMD not defined. - -2002-11-14 Marc Mengel - - New changer scripts for use with rait: code, run several other - changers in tandem and return a rait: tape device. Makes fake - amanda.conf files under AMANDA_DEBUGDIR for each changer used, - then cleans up. - - * changer-src/chg-rait.sh.in: New file. Multi-changer script. - * changer-src/chg-null.sh.in: New File. Null-device changer script. - * docs/TAPE.CHANGERS: Descriptions of above. - * configure.in: added above files. - * changer-src/Makefile.am: Likewise. - -2002-11-14 Jean-Louis Martineau - Patch by Orion Poplawski - - * server-src/planner.c (delay_dumps): Add the estimate size to all call - of delay_one_dump. - -2002-11-13 Jean-Louis Martineau - - * server-src/reporter.c: Increase width of some field. - -2002-11-12 Jean-Louis Martineau - - * changer-src/scsi-solaris.c (SCSI_ExecuteCommand): Init ret to 0. - -2002-11-12 Jean-Louis Martineau - - * recover-src/extract_list.c (delete_file): j is int. - * changer-src/scsi-defs.h (B, B1): Check if already defined. - * server-src/taper.c: Some cast to int. - * tape-src/amdd.c (read_func, write_func): Complete prototype. - * tape-src/tapeio.h (tapefd_read, tapefd_write): return ssize_t, - third argument is size_t. - * tape-src/tapeio.c: Ditto. - * tape-src/output-file.h (file_tapefd_read, file_tapefd_write): return - ssize_t, third argument is size_t. - * tape-src/output-file.c: Ditto. - * tape-src/output-null.h (null_tapefd_read, null_tapefd_write): return - ssize_t, third argument is size_t. - * tape-src/output-null.c: Ditto. - * tape-src/output-rait.h (rait_read, rait__write): return ssize_t, - third argument is size_t. - * tape-src/output-rait.c: Ditto. - * tape-src/output-tape.h (tape_tapefd_read, tape_tapefd_write): return - ssize_t, third argument is size_t. - * tape-src/output-tape.c: Ditto. - -2002-11-12 Jean-Louis Martineau - - * configure.in: socklen_t default to int. - * common-src/dgram.c (dgram_recv): addrlen is socklen_t. - * common-src/stream.c (stream_server): len is socklen_t. - * recover-src/extract_list.c (add_file): j is int. - -2002-11-12 Jean-Louis Martineau - - * client-src/client_util.c (test_name_len) Remove variable. - * common-src/match.c (len_prefix): Change type to int. - * server-src/taper.c: Use %p to print pointer. - * tape-src/amdd.c (read_func, write_func):Change return type to ssize_t. - * tape-src/amdd.c (debug): Renamed to debug_amdd. - * tape-src/ammt.c (debug): Renamed to debug_ammt. - -2002-11-11 Jean-Louis Martineau - - * restore-src/amidxtaped.c: Fix restore from file. - -2002-11-07 Jean-Louis Martineau - - * restore-src/amidxtaped.c: Fix newline in string literal. - -2002-11-07 Jean-Louis Martineau - - * server-src/conffile.c (maxdumpsize): New option. - * server-src/conffile.h: Ditto. - * server-src/planner.c: Use maxdumpsize if set. - * example/amanda.conf.in: Document it. - * man/amanda.8.in: Document it. - -2002-11-06 Jean-Louis Martineau - - * common-src/amfeatures.h (fe_amidxtaped_fsf, fe_amidxtaped_label, - fe_amidxtaped_device, fe_amidxtaped_host, fe_amidxtaped_disk, - fe_amidxtaped_datestamp, fe_amidxtaped_header, fe_amidxtaped_nargs, - fe_amidxtaped_config): New features. - * common-src/amfeatures.c (am_init_feature_set): Set new features. - * recover-src/extract_list.c: Send new protocol data to amidxtaped. - * restore-src/Makefile.am: amidxtaped.c need libamserver. - * restore-src/amidxtaped.c: Read new protocol data from amrecover. - * restore-src/amidxtaped.c: Use new configuration options. - * server-src/conffile.c (conf_amrecover_do_fsf, - conf_amrecover_check_label, conf_amrecover_changer): New config. - * server-src/conffile.h: New config options. - * example/amanda.conf.in: Document them. - * man/amanda.8.in: Document them. - -2002-11-05 Jean-Louis Martineau - - * autogen: touch config/config.h.in - * configure.in: Patch from autoupdate-2.53 and LIBOBJS. - * common-src/Makefile.am: Build versuff.o before version.o - * recover-src/Makefile.am: Remove work around for automake-1.2 - -2002-11-04 Jean-Louis Martineau - - * configure.in: Remove --disable-libtool. - * */Makefile.am: Remove WANT_LIBTOOL. - -2002-11-04 Jean-Louis Martineau - - * changer-src/chg-scsi.c (config_name, config_dir): Remove declaration. - * server-src/amadmin.c: Ditto. - * server-src/amcheck.c: Ditto. - * server-src/amcleanupdisk.c: Ditto. - * server-src/amflush.c: Ditto. - * server-src/amindexd.c: Ditto. - * server-src/amlabel.c: Ditto. - * server-src/amlogroll.c: Ditto. - * server-src/amtape.c: Ditto. - * server-src/amtrmidx.c: Ditto. - * server-src/amtrmlog.c: Ditto. - * server-src/chunker.c: Ditto. - * server-src/diskfile.c: Ditto. - * server-src/driver.c: Ditto. - * server-src/dumper.c: Ditto. - * server-src/getconf.c: Ditto. - * server-src/planner.c: Ditto. - * server-src/reporter.c: Ditto. - * server-src/taper.c: Ditto. - * server-src/conffile.c (config_name, config_dir): Add declaration. - -2002-11-03 Jean-Louis Martineau - - * man/amrestore.8: Amrestore doesn't use a changer. - -2002-11-01 Jean-Louis Martineau - - * configure.in (SHELL): Don't set it, libtool do it. - -2002-10-31 Jean-Louis Martineau - - * config/ltmain.sh, config/libtool.m4i: Update from libtool 1.4.3. - -2002-10-30 Jean-Louis Martineau - - * restore-src/amrestore.c: New '-l