+2006-05-28 Jean-Louis Martineau <martineau@zmanda.com>
+ * amandad-src/amandad.c (service_new): Apply the correct patch.
+
+2006-05-28 Jean-Louis Martineau <martineau@zmanda.com>
+ * Amanda 2.5.0p2 released.
+ * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.0p2).
+ * NEWS: Changes in release 2.5.0p2.
+
+2006-05-07 Jean-Louis Martineau <martineau@zmanda.com>
+ * amandad-src/amandad.c (service_new): Make sure that the 3 data[] fd
+ are not in the range DATA_FD_OFFSET to
+ DATA_FD_OFFSET+DATA_FD_COUNT-1.
+
+2006-05-04 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * amstatus.pl.in: Limit characters for hostname in setup_estimate line.
+
+2006-04-28 Jean-Louis Martineau <martineau@zmanda.com>
+ * Amanda 2.5.0p1 released.
+ * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.0p1).
+ * NEWS: Changes in release 2.5.0p1.
+
+2006-04-24 Ian Turner <ian@zmanda.com>
+ * server-src/changer.c: Don't crash if we go to taperscan "Plan B".
+
+2006-04-24 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/planner.c: Fix divide by zero if runtapes==0.
+
+2006-04-23 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/driver.c (handle_chunker_result): make sure that
+ est_size > act-size.
+
+2006-04-23 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/chunker.c: Read the START command to set the datestamp.
+ * server-src/driver.c: Send a START command to the chunker.
+ * server-src/driverio.c (chunker_cmd): Add the START command.
+ * server-src/server_util.c (cmdstr): Add the START command.
+ * server-src/server_util.h (cmd_t): Add the START command.
+
+2006-04-14 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amtape.c: Add update command.
+
+2006-04-11 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * restore-src/amrestore.c: reset count_error to 0 on a restore.
+
+2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/driver.c: Change expression to remove overflow.
+
+2006-03-29 Jean-Louis Martineau <martineau@zmanda.com>
+ * client-src/calcsize.c: Don't use declaration after instruction,
+ older compiler don't accept it.
+
+2006-03-23 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * server-src/dumper.c: wait for compress/index/encryp subprocess.
+
+2006-03-22 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amstatus.pl.in: Parse PARTIAL reply.
+
+2006-03-22 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/driver.c: Put '#define HOLD_DEBUG' in comment.
+
+2006-03-21 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <ian@zmanda.com>
+ * 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 <ktill@zmanda.com>
+ * server-src/amverify.sh.in: check for EOI. amrestore only
+ reports EOI for some tapetypes.
+
+2006-03-15 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/conffile.c: Fix heritage of auth.
+
+2006-03-14 Kevin Till <ktill@@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * server-src/driverio.c : Fix errors found using Coverity tools.
+
+2006-03-10 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/taperscan.c: Fix Coverity fix.
+
+2006-03-10 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * restore-src/restore.c: Fix errors found using Coverity tools.
+
+2006-03-09 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/holding.c: Fix John fix.
+
+2006-03-09 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/driverio.c: Fix errors found using Coverity tools.
+ * server-src/planner.c: Fix John fix.
+
+2006-03-09 John Franks <jrfranks@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <paddy@zmanda.com>
+ * man/xml-source/amanda.8.xml: added amaespipe and amcrypt.
+
+2006-03-07 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/taper.c: Don't log a multi-line message in no-tape case.
+
+2006-03-06 John Franks <jrfranks@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * server-src/reporter.c (handle_error): Handle error from taper.
+
+2006-03-06 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/taper.c (label_tape): Set errstr and return 0 if no
+ valid tape are available.
+
+2006-03-03 Ian Turner <ian@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * common-src/protocol.c (s_repwait): Decrease p->timeout on receive
+ of a PREP.
+
+2006-02-28 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/driver.c: Print dumper TRY_AGAIN message.
+
+2006-02-28 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/planner.c: Don't print estimate size if estimate failed.
+
+2006-02-25 Ian Turner <ian@zmanda.com>
+ * man/Makefile.am: Don't use static patterns (as they are not
+ portable), use implicit rules instead.
+
+2006-02-20 Kevin Till <ktill@zmanda.com>
+ * 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 <ktill@zmanda.com>
+ * 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 <ktill@zmanda.com>
+ * man/xml-source/amanda.8.xml: replace informaltable with literallayout
+
+2006-02-13 John Franks <jrfranks@zmanda.com>
+ * 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 <ktill@zmanda.com>
+ * man/xml-source/amanda.conf.5.xml: add note about first character of a
+ tapetype string must be alphabet
+
+2006-02-10 John Franks <jrfranks@zmanda.com>
+ * server-src/taper.c: Call error() if an invalid string is read
+ by syncpipe_getstr().
+
+2006-02-09 John Franks <jrfranks@zmanda.com>
+ * 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 <ian@zmanda.com>
+ * 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 <ktill@zmanda.com>
+ * restore-src/restore.c: fix comment formatting on version 1.2.1
+
+2006-02-06 Kevin Till <ktill@zmanda.com>
+ * 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 <ian@zmanda.com>
+ * restore-src/amidxtaped.c: Properly handle changers,
+ tape-label checking, and tape prompting in amrecover,
+ amindexd, and amidextaped. Thanks to Paul Bijnens
+ <pbijnens@users.sourceforge.net> for the patch.
+ * restore-src/restore.c: ditto.
+ * server-src/amindexd.c: ditto.
+
+2006-02-04 Paddy Sreenivasan <paddy@zmanda.com>
+ * 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 <jrfranks@zmanda.com>
+ * server-src/taper.c: Fix null string printout in CHUNKERSUCCESS log line.
+
+2006-02-03 Ian Turner <ian@zmanda.com>
+ * server-src/amadmin.c (main): Don't free conf_tapelist too
+ early. Thanks to Cédric Lucantis
+ <cedric-lucantis@users.sourceforge.net> for the patch.
+
+2006-02-02 Kevin Till <ktill@zmanda.com>
+ * man/xml-source/amanda.8.xml: fix formatting. <informaltable> problem
+ to be fixed.
+ * man/xml-source/amrecover.8.xml: add note on client-encrypted tapes.
+
+2006-02-02 Ian Turner <ian@zmanda.com>
+ * 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 <pbijnens@users.sourceforge.net> for
+ the patch. Thanks also to Mark Schaefer for suggesting this
+ change.
+
+2006-02-01 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * server-src/driver.c (dumper_result): Reset sched(dp)->attempted to 0
+ before adding it to tapeq.
+
+2006-01-27 Ian Turner <ian@zmanda.com>
+ * 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
+ <pbijnens@users.sourceforge.net> for suggesting this feature.
+
+2006-01-27 Ian Turner <ian@zmanda.com>
+ * 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 <pbijnens@users.sourceforge.net> for the
+ patch.
+
+2006-01-25 Paddy Sreenivasan <paddy@zmanda.com>
+ * common-src/amanda.h: Removed unnecessary header include files.
+
+2006-01-25 Kevin Till<ktill@zmanda.com>
+ * 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<ktill@zmanda.com>
+ * man/xml-source/amanda.conf.5.xml: fix formatting (<para> is not compatible
+ with some tag) add supported auth types.
+
+2006-01-25 Kevin Till<ktill@zmanda.com>
+ * 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 <ian@zmanda.com>
+ * man/xml-source/amanda.conf.5.xml: Put documentation of
+ split-dump options in the right place. Thanks to Paul Bijnens
+ <pbijnens@users.sourceforge.net> for the fix.
+ * man/xml-source/amanda.8.xml: ditto.
+
+2006-01-23 Ian Turner <ian@zmanda.com>
+ * server-src/taperscan.c (find_brand_new_tape_label): Start
+ brand new tape labels at 1 instead of 0. Thanks to Paul
+ Bijnens <pbijnens@users.sourceforge.net> for the fix.
+
+2006-01-18 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * server-src/disk_history.c: Fix memory leak.
+
+2006-01-15 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <jrfranks@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <jrfranks@zmanda.com>
+ * 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 <ian@zmanda.com>
+ * 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 <ian@zmanda.com>
+ * server-src/taperscan.c: When doing taper-scan algorithm, properly
+ accept new tapes.
+
+2006-01-09 Ian Turner <ian@zmanda.com>
+ * tape-src/tapeio.c: Generate a more reasonable message when
+ reading an empty tape label on brand-new tapes.
+
+2006-01-09 Ian Turner <ian@zmanda.com>
+ * server-src/amcheck.c: Actually do what the documentation for
+ amcheck -w says; that is, overwrite labels on tapes.
+
+2006-01-06 Kevin Till<ktill@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * recover-src/extract-list.c: Remove 'U' argument for gtar extraction.
+
+2006-01-06 Jean-Louis Martineau <martineau@zmanda.com>
+ * restore-src/restore.c (flush_open_outputs): Another shutdown is
+ required.
+
+2006-01-05 John Franks <jrfranks@zmanda.com>
+ * 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 <jrfranks@zmanda.com>
+ * 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<ktill@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * restore-src/restore.c (flush_open_outputs): Call shutdown before
+ close.
+
+2005-12-30 John Franks <jrfranks@zmanda.com>
+ * 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 <ian@zmanda.com>
+ * common-src/fileheader.c: Remove xx/UNKNOWN split-dump header
+ syntax, in favor of xx/-1.
+
+2005-12-29 John Franks <jrfranks@zmanda.com>
+ * Index: 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.
+ * Index: 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.
+ * Index: server-src/amindexd.c
+ Fix Compiler warning of unused variable.
+ * Index: server-src/taperscan.c
+ Fix Compiler warning of bogus format specifier.
+
+2005-12-29 Kevin Till<ktill@zmanda.com>
+ * 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 <ian@zmanda.com>
+ * man/xml-source/amanda.conf.5.xml: Document label_new_tapes
+ config option.
+
+2005-12-28 Ian Turner <ian@zmanda.com>
+ * 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 <ian@zmanda.com>
+ * 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 <ian@zmanda.com>
+ * 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 <ktill@zmanda.com>
+ * 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 <paddy@zmanda.com>
+ * restore-src/restore.c:
+ * server-src/amtape.c:
+ * server-src/taperscan.c : Make scan_init static function
+
+2005-12-23 John Franks <jrfranks@zmanda.com>
+ * server-src/taper.c: Reduce I/O's system call overhead by 30%
+ in main read / write loop.
+
+2005-12-23 John Franks <jrfranks@zmanda.com>
+ * 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 <martineau@zmanda.com>
+
+ * restore-src/restore.c (restore): Remova an aclose.
+
+2005-12-22 Jean-Louis Martineau <martineau@zmanda.com>
+
+ * restore-src/amidxtaped.c (cleanup): Function registered with atexit
+ to remove the log file.
+
+2005-12-20 Jean-Louis Martineau <martineau@zmanda.com>
+
+ * server-src/Makefile.am (noinst_HEADERS): Add taperscan.h.
+
+2005-12-20 John Franks <jrfranks@zmanda.com>
+
+ * 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 <martineau@zmanda.com>
+
+ * 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 <martineau@zmanda.com>
+
+ * server-src/reporter.c: Fix report of output size.
+
+2005-12-19 Ian Turner <ian@zmanda.com>
+ * server-src/taperscan.c: Check that automatic tape labels satisfy
+ the labelstr.
+
+2005-12-19 Ian Turner <ian@zmanda.com>
+ * server-src/fileheader.c: Fix broken split-dump file headers.
+
+2005-12-18 Jean-Louis Martineau <martineau@zmanda.com>
+ Patch by Paul Bijnens
+
+ * server-src/amcheck.c: Tapelist file is regular file.
+
+2005-12-17 Jean-Louis Martineau <martineau@zmanda.com>
+
+ * 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 <jrfranks@zmanda.com>
+
+ * 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 <martineau@zmanda.com>
+ With Kevin Till <ktill@zmanda.com>
+
+ * 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 <ian@zmanda.com>
+
+ * 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 <martineau@zmanda.com>
+
+ * 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 <martineau@zmanda.com>
+
+ * server-src/amstatus.pl.in: Parse chunker DONE line to set output size.
+
+2005-12-09 John Franks <jrfranks@zmanda.com>
+
+ * 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 <martineau@zmanda.com>
+
+ * 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 <martineau@zmanda.com>
+
+ * 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 <martineau@zmanda.com>
+
+ * configure.in: Set LL_FMT correctly.
+ * server-src/conffile.c: Use LL_FMT.
+
+2005-12-08 Jean-Louis Martineau <martineau@zmanda.com>
+
+ * 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 <martineau@zmanda.com>
+
+ * 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 <martineau@zmanda.com>
+
+ * 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 <martineau@zmanda.com>
+
+ * server-src/amindexd.c (reply, lreply, fast_lreply): Must use
+ str_buffer_sizebuf instead of sizeof(bug).
+
+2005-12-05 Jean-Louis Martineau <martineau@zmanda.com>
+
+ * 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 <martineau@zmanda.com>
+
+ * common-src/Makefile.am (bsdsecurity_LDADD): Add ssh-security.
+
+2005-12-05 Jean-Louis Martineau <martineau@zmanda.com>
+
+ * 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 <martineau@zmanda.com>
+
+ * server-src/logfile.c (logtype_str): Add important ','.
+
+2005-12-03 Jean-Louis Martineau <martineau@zmanda.com>
+
+ * server-src/planner.c (setup_estimate): Fix wrong order for argument.
+
+2005-12-03 Jean-Louis Martineau <martineau@zmanda.com>
+
+ * server-src/driver.c (start_some_dumps): Don't test for
+ cur_idle == NOT_IDLE.
+
+2005-12-03 Jean-Louis Martineau <martineau@zmanda.com>
+
+ * 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 <martineau@zmanda.com>
+ Patch by Franz Fischer
+
+ * config/acinclude.m4i: Fix for __alpha.
+
+2005-12-02 Jean-Louis Martineau <martineau@zmanda.com>
+
+ * common-src/util.c: Debug must end with '\n'.
+
+2005-12-01 Jean-Louis Martineau <martineau@zmanda.com>
+
+ * configure.in: Amanda support x86_64-unknown-linux-gnu.
+
+2005-11-30 Jean-Louis Martineau <martineau@zmanda.com>
+
+ * 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 <martineau@zmanda.com>
+
+ * client-src/rundump.c: undef USE_RUNDUMP before define.
+
+2005-11-30 Jean-Louis Martineau <martineau@zmanda.com>
+ Patch by Franz Fischer
+
+ * client-src/amqde.c: Fix compiler warning.
+
+2005-11-30 Jean-Louis Martineau <martineau@zmanda.com>
+ Patch by Franz Fischer
+
+ * common-src/event.h: Fix compiler warning.
+ * server-src/conffile.h: Fix compiler warning.
+
+2005-11-30 Kevin Till <ktill@zmanda.com>
+
+ * 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 <martineau@zmanda.com>
+
+ * config/libtool.m4i: libtool 1.5.20
+ * config/ltmain.sh: libtool 1.5.20
+
+2005-11-29 Jean-Louis Martineau <martineau@zmanda.com>
+ 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 <paddy@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ Patch by Jon H. LaBadie
+
+ * changer-src/chg-disk.sh.in: Check permission on file access.
+
+2005-11-17 Paddy Sreenivasan <paddy@zmanda.com>
+ * 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 <jrfranks@zmanda.com>
+ * 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 <paddy@zmanda.com>
+
+ * 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 <martineau@iro.umontreal.ca>
+
+ * server-src/planner.c: Fix incronly.
+
+2005-11-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
+
+ * man/Makefile.am: Set man_MANS,
+
+2005-11-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
+
+ * man/Makefile.am: Set man5_MANS and man8_MANS,
+ install-data-hook use them.
+
+2005-11-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
+ Patch by Olivier Cherrier
+
+ * man/Makefile.am (install-data-hook): Set protection correclty
+ for man5 and man8.
+
+2005-10-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
+
+ * common-src/util.c (bind_portrange): Increase port in all case.
+
+2005-10-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
+
+ * 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.
+
+