+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.
+
+
+2005-10-24 Jean-Louis Martineau <martineau@iro.umontreal.ca>
+
+ * 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 <ian@zmanda.com>
+
+ * 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 <martineau@zmanda.com>
+
+ * client-src/sendsize.c (getsize_wrapper): Add a NULL at the end of
+ the argvchild array.
+
+2005-10-20 Jean-Louis Martineau <martineau@zmanda.com>
+
+ * server-src/server_util.c (getcmd): Print DEBUG to stderr.
+
+2005-10-20 Ian Turner <ian@zmanda.com>
+
+ * 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 <martineau@zmanda.com>
+
+ * 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 <martineau@zmanda.com>
+ Patch by John R. Franks <jrfranks@zmanda.com>
+
+ * server-src/taper.c (create_split_buffer): Should not use sizeof().
+
+2005-10-17 Jean-Louis Martineau <martineau@zmanda.com>
+
+ * server-src/taper.c (read_file): Move the putresult(DONE) to the
+ right place, some cleanup.
+
+2005-10-17 Jean-Louis Martineau <martineau@zmanda.com>
+
+ * server-src/planner.c: Increase DEFAULT_DUMPRATE to 1024 K/s.
+
+2005-10-17 Ian Turner <ian@zmanda.com>
+
+ * 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 <martineau@zmanda.com>
+
+ * server-src/taper.c: Set SIGPIPE to SIG_IGN, the code already
+ handle it correctly.
+
+2005-10-16 Jean-Louis Martineau <martineau@zmanda.com>
+
+ * server-src/taper.c (signal_handler): Don't REMOVE_SHARED_MEMORY, it
+ is done by exit.
+
+2005-10-16 Jean-Louis Martineau <martineau@zmanda.com>
+
+ * server-src/driverio.c (serial2disk): Print str if error.
+
+2005-10-15 Paddy Sreenivasan <paddy@zmanda.com>
+
+ * server-src/taper.c: Shared memory need not be removed in normal paths.
+ Done as part of atexit.
+
+2005-10-15 Jean-Louis Martineau <martineau@zmanda.com>
+ Patch by John R. Franks <jrfranks@zmanda.com>
+
+ * 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 <martineau@zmanda.com>
+ Patch by Paddy Sreenivasan <paddy@zmanda.com>
+
+ * 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 <martineau@zmanda.com>
+
+ * regex-src/regcomp.c (findmust): Initialized start to NULL.
+
+2005-10-14 Jean-Louis Martineau <martineau@zmanda.com>
+ Patch by John R. Franks <jrfranks@zmanda.com>
+
+ * 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 <martineau@zmanda.com>
+ Patch by John R. Franks <jrfranks@zmanda.com>
+
+ * 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 <martineau@zmanda.com>
+
+ * 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 <martineau@zmanda.com>
+
+ * 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 <ian@zmanda.com>
+ Patch by Jean-Louis Martineau <martineau@zmanda.com>
+
+ * 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 <martineau@iro.umontreal.ca>
+
+ * 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 <martineau@iro.umontreal.ca>
+
+ * 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 <martineau@iro.umontreal.ca>
+
+ * client-src/client_util.c, server-src/amcheck.c,
+ server-src/reporter.c: Add missing type for arguments.
+
+2005-10-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
+
+ * server-src/taper.c (tape_writer_side): detach_buffers on normal exit.
+
+2005-10-10 Ian Turner <ian@zmanda.com>
+
+ * server-src/amtape.h: Apply tape-spanning patch by John Stange
+ <building@cs.umd.edu> as ported to 2.5.0 by Ian Turner, with
+ contributions by Christopher Pascoe <c.pascoe@itee.uq.edu.au>.
+ * 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 <martineau@iro.umontreal.ca>
+
+ * server-src/taper.c: Change message: on new tape due to
+
+2005-10-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
+ Patch by John R. Franks
+
+ * common-src/amflock.c (main): Don't call safe_fd, it's not needed
+ during configure.
+ * configure.in: '#include <sys/types.h>' in the check
+ 'for Linux like scsi support (sg)'
+
+2005-10-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
+
+ * client-src/amandad.c (writebuf): Call waitpid in the parent.
+
+2005-10-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
+
+ * 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 <martineau@iro.umontreal.ca>
+
+ * 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 <martineau@iro.umontreal.ca>
+
+ * 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 <martineau@iro.umontreal.ca>
+
+ * server-src/reporter.c: Don't trunk hostname/diskname in
+ 'FAILURE AND STRANGE DUMP SUMMARY' section.
+
+2005-10-01 Jean-Louis Martineau <martineau@iro.umontreal.ca>
+
+ * server-src/chunker.c (main): Remove outfd.
+
+2005-09-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
+
+ * 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 <martineau@iro.umontreal.ca>
+
+ * client-src/runtar.c: 'e' and 'bdf' are only needed if GNUTAR.
+
+2005-09-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
+
+ * common-src/sl.c (insert_sort_sl). Typo.
+
+2005-09-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
+
+ * 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 <martineau@iro.umontreal.ca>
+
+ * common-src/bsd-security.c: Fix small bug.
+
+2005-09-22 John R. Jackson <jrj@purdue.edu>
+
+ * 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 <jrj@purdue.edu>
+
+ * server-src/getconf.c: Allow CLIENT_LOGIN to be retrieved via
+ "amgetconf build.CLIENT_LOGIN".
+
+2005-09-21 John R. Jackson <jrj@purdue.edu>
+
+ * server-src/amlabel.c: 'int fd' is only needed if HAVE_LINUX_ZFTAPE_H
+ is defined.
+
+2005-09-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
+
+ * server-src/amlabel.c: 'int fd' is needed.
+
+2005-09-20 John R. Jackson <jrj@purdue.edu>
+
+ * server-src/reporter.c: Fix minor typo noticed by Scott R. Burns
+ <Scott.Burns@Netcontech.Com>.
+
+2005-09-20 John R. Jackson <jrj@purdue.edu>
+
+ * 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 <bschwarz@EECS.berkeley.EDU>.
+ * 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 <jrj@purdue.edu>
+
+ * 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 <jrj@purdue.edu>
+
+ * 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 <jrj@purdue.edu>
+
+ * client-src/sendbackup-dump.c: Ignore a new message from Solaris
+ vxdump.
+
+2005-09-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
+
+ * common-src/bsd-security.c: Generate a unique event_id, thei
+ proto_handle is not always unique.
+
+2005-09-15 Jean-Louis Martineau <martineau@iro.umontreal.ca>
+
+ * server-src/amverify.sh.in: Don't check for EOI, it's buggy.
+
+2005-09-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
+
+ * server-src/driverio.c: Don't save history with size < 0.
+
+2005-09-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
+ Patch by Geert Uytterhoeven <geert@linux-m68k.org>
+
+ * server-src/planner.c: Don't use history with size < 0.
+
+2005-09-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
+ Patch Paul Bijnens <paul.bijnens@xplanation.com>
+
+ * server-src/planner.c(delay_dumps): Delay incremental dump also
+ larger than tape.
+
+2005-09-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
+ Patch by Orion Poplawski <orion@cora.nwra.com>
+
+ * 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 <martineau@iro.umontreal.ca>
+ Patch by Orion Poplawski <orion@cora.nwra.com>
+
+ * server-src/driver.c: Make tape_length and tape_left unsigned long.
+
+2005-07-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
+ Patch by Stefan G. Weichinger <monitor@oops.co.at>
+
+ * client-src/sendbackup-gnutar.c: Added RE for new Samba-releases.
+
+2005-07-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
+
+ Bug found by John E Hein <jhein@timing.com>.
+ * 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 <martineau@iro.umontreal.ca>
+ Patch by Jay Fenlason <fenlason@redhat.com>
+
+ * client-src/sendsize.c: Fix dbprintf call.
+
+2005-06-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
+ Stefan G. Weichinger <monitor@oops.co.at>
+
+ * 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 <martineau@iro.umontreal.ca>
+
+ * server-src/amverifyrun.sh.in: Remove buggy space.
+
+2005-05-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
+
+ * server-src/amadmin.c: Add [--days <num>] argument to tape subcommand.
+
+2005-05-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
+
+ * example/amanda.conf.in: Update from 2.4.5.
+
+2005-05-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
+
+ * docs/*: New documentation from xml-docs.
+ * docs/Makefile.am (pkgdata_DATA): Update for new files.
+
+2005-05-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
+
+ * man/Makefile.am (COMMON_MAN_PAGES): Add amanda.conf.5.
+
+2005-05-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>