Imported Upstream version 3.3.1
[debian/amanda] / ChangeLog
index 7a2efcaf4afe192eefa3c7688798b1394cf99f52..d7f5466d31e3f7af2aa52ba02e3b9a02c99c3316 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,729 @@
+2012-02-21  Jean-Louis Martineau <martineau@zmanda.com>
+       * perl/make_html.pl: Add link at top, better list display.
+       * perl/Makefile.am: Execute make_html with a --homeurl argument.
+
+2012-02-21  Jean-Louis Martineau <martineau@zmanda.com>
+       * VERSION: 3.3.1
+       * ReleaseNotes, NEWS: update for 3.3.1
+
+2012-02-16  Jean-Louis Martineau <martineau@zmanda.com>
+       * server-src/amadmin.c (disklist_one): print the filename.
+       * server-src/diskfile.c: Add includefile directive.
+       * server-src/diskfile.h (disk_t): Add filename.
+
+2012-02-13  Jean-Louis Martineau <martineau@zmanda.com>
+       * man/xml-source/amanda.conf.5.xml: Fix default netusage.
+
+2012-02-13  Jean-Louis Martineau <martineau@zmanda.com>
+       * perl/Amanda/Recovery/Clerk.pm: Typo.
+
+2012-02-13  Jean-Louis Martineau <martineau@zmanda.com>
+       * perl/make_html.pl: generate correct absolute link.
+
+2012-02-10  Jean-Louis Martineau <martineau@zmanda.com>
+       * device-src/s3.c: Do not print the data to the debug file.
+
+2012-02-08  Jean-Louis Martineau <martineau@zmanda.com>
+       * application-src/ampgsql.pl: Do not use temporary disk space while
+         doing backup or recovery.
+
+2012-02-08  Jean-Louis Martineau <martineau@zmanda.com>
+       * perl/Amanda/DB/Catalog.pm: filenum must be sorted numerically.
+
+2012-02-07  Jean-Louis Martineau <martineau@zmanda.com>
+       * application-src/ampgsql.pl: pg_version 802000 => 80200.
+
+2012-02-01  Jean-Louis Martineau <martineau@zmanda.com>
+       * application-src/ampgsql.pl: Do not print normal
+         pg_xlogfile_name_offset output to MESG stream.
+
+2012-01-31 Dan Locks <dwlocks@zmanda.com>
+       * packaging/deb/preinst, packaging/rpm/amanda.spec.src: change /bin/sh
+         to /bin/bash.
+
+2012-01-27  Jean-Louis Martineau <martineau@zmanda.com>
+       * application-src/ampgsql.pl: Run pg_switch_xlog() and wait for the
+         archived WAl before doing an incremental backup.
+
+2012-01-23  Jean-Louis Martineau <martineau@zmanda.com>
+       * device-src/s3.c: Set xmlns for IIJ.
+
+2012-01-23  Jean-Louis Martineau <martineau@zmanda.com>
+       * device-src/s3-device.c: Fix for openstack swift api.
+
+2012-01-23  Jean-Louis Martineau <martineau@zmanda.com>
+       * perl/Amanda/Taper/Scribe.pm, server-src/amlabel.pl:use the 
+         block_size instead of the header-block_size to write the BLOCK_SIZE
+         in the tapelist.
+
+2012-01-19  Jean-Louis Martineau <martineau@zmanda.com>
+       * device-src/s3-device.c: Add support for openstack swift api.
+       * device-src/s3.c: Add support for openstack swift api.
+       * device-src/s3.h: Add support for openstack swift api.
+       * man/xml-source/amanda-devices.7.xml: Add openstack-swift-api 
+         property.
+
+2012-01-13  Jean-Louis Martineau <martineau@zmanda.com>
+       * device-src/s3-device.c: Fix deleting files.
+
+2012-01-09  Jean-Louis Martineau <martineau@zmanda.com>
+       * server-src/amtape.pl: Fix amtape show for non numeric slot.
+
+2012-01-04  Jean-Louis Martineau <martineau@zmanda.com>
+       * recover-src/extract_list.c: Fix for compilation on AIX.
+
+2012-01-04 Dan Locks <dwlocks@zmanda.com>
+       *  packaging/sun-pkg/buildpkg: Add GLIB_* flags to sun packages
+       *  config/amanda/libs.m4: fix "exit when explicit flags are given"
+          error, and require all flags when one is given.
+
+2012-01-03  Jean-Louis Martineau <martineau@zmanda.com>
+       * device-src/s3-device.c: Report DEVICE ERROR if s3_is_bucket_exists
+         response with curl error CURLE_COULDNT_CONNECT or
+         CURLE_COULDNT_RESOLVE_HOST.
+
+2012-01-02  Jean-Louis Martineau <martineau@zmanda.com>
+       * perl/Amanda/Changer/multi.pm: Print the state filename to the debug
+         file.
+
+2012-01-02  Jean-Louis Martineau <martineau@zmanda.com>
+       * perl/Amanda/ScanInventory.pm: Correctly set 'err'.
+       * server-src/amtape.pl: quit the changer even on error.
+
+2011-12-23  Jean-Louis Martineau <martineau@zmanda.com>
+       Patch by Nathan Stratton Treadway.
+       * common-src/conffile.c (read_int_or_str): Fix error message.
+
+2011-12-22  Jean-Louis Martineau <martineau@zmanda.com>
+       * server-src/planner.c: Fix force-bump with overdue filesystem.
+
+2011-12-22  Jean-Louis Martineau <martineau@zmanda.com>
+       * server-src/amlabel.pl: --asign require --meta or --barcode.
+
+2011-12-16  Jean-Louis Martineau <martineau@zmanda.com>
+       * application-src/amgtar.c: Fix GNUTAR-LISTDIR property.
+
+2011-12-14  Jean-Louis Martineau <martineau@zmanda.com>
+       * device-src/s3.c (s3_is_bucket_exists): Set max-keys=1.
+
+2011-12-14  Jean-Louis Martineau <martineau@zmanda.com>
+       * perl/Amanda/Recovery/Scan.pm (new): Return changer error.
+
+2011-12-12  Jean-Louis Martineau <martineau@zmanda.com>
+       * common-src/amfeatures.c: Add fe_dumptype_property.
+       * common-src/amfeatures.h: Add fe_dumptype_property.
+       * common-src/amxml.c: Parse dumptype properties.
+       * common-src/amxml.h (dle_t): Add property field.
+       * perl/Amanda/Disklist.swg: Add clean_dle_str_for_client.
+       * perl/Amanda/Feature.pod: Add fe_dumptype_property.
+       * perl/Amanda/Feature.swg: Add Amanda::Feature::Set::features
+       * server-src/amidxtaped.pl: Call clean_dle_str_for_client.
+       * server-src/diskfile.c (xml_dumptype_properties): New function to
+         return dumptype propertyes.
+       * server-src/diskfile.h (xml_dumptype_properties) Add prototype.
+       * server-src/driverio.c: Add xml_dumptype_properties to dumper cmd.
+       * server-src/dumper.c: Call clean_dle_str_for_client.
+
+2011-12-08  Jean-Louis Martineau <martineau@zmanda.com>
+       * example/template.d/amanda-harddisk.conf.in: fix for installcheck.
+
+2011-12-08  Jean-Louis Martineau <martineau@zmanda.com>
+       * NEWS, ReleaseNotes: Update for 3.3.1
+
+2011-12-08  Jean-Louis Martineau <martineau@zmanda.com>
+       * server-src/amindex.c (getheaderfname): New function.
+       * server-src/amindex.h (getheaderfname): New prototype.
+       * server-src/dumper.c: Wrtie header to a file in indexdir.
+
+2011-12-07  Jean-Louis Martineau <martineau@zmanda.com>
+       * example/template.d/amanda-S3.conf.in,
+         example/template.d/amanda-harddisk.conf.in,
+         example/template.d/amanda-single-tape.conf.in,
+         example/template.d/amanda-tape-changer.conf.in: Use new changer api.
+       * server-src/amserverconfig.pl: Use new changer api.
+
+2011-12-07  Jean-Louis Martineau <martineau@zmanda.com>
+       * man/xml-source/amvault.8.xml: Improve.
+
+2011-12-07  Jean-Louis Martineau <martineau@zmanda.com>
+       * perl/Amanda/ScanInventory.pm (volume_is_labelable): New method.
+       * perl/Amanda/Taper/Scan/lexical.pm, perl/Amanda/Taper/Scan/oldest.pm:
+         Use volume_is_labelable from ScanInventory.
+       * perl/Amanda/Taper/Scan/traditional.pm: Fix bad logging.
+       * perl/Amanda/Taper/Scribe.pm: Print "autolabel disabled".
+       * perl/Amanda/Taper/Worker.pm: Add debugging.
+       * server-src/amvault.pl: Quit both changer, add debugging.
+
+2011-12-07  Jean-Louis Martineau <martineau@zmanda.com>
+       * server-src/amcleanup.pl, server-src/amcleanupdisk.pl: use
+         Amanda::Debug.
+
+2011-12-05  Jean-Louis Martineau <martineau@zmanda.com>
+       Fix for previous patch.
+       * application-src/amlog-script.pl, application-src/ampgsql.pl,
+         application-src/amraw.pl, application-src/amsamba.pl,
+         application-src/amsuntar.pl, application-src/amzfs-sendrecv.pl,
+         application-src/amzfs-snapshot.pl,
+         application-src/script-email.pl: Undo previous patch,
+       * perl/Amanda/Script_App.pm: Do it here instead.
+         server-src/amlogroll.pl, server-src/amvault.pl
+         server-src/taper.pl: Import the debug method.
+       * server-src/amoverview.pl, server-src/amserverconfig.pl,
+         server-src/amstatus.pl: Undo previous patch, they do not use the
+         debug file.
+
+2011-12-05  Jean-Louis Martineau <martineau@zmanda.com>
+       * application-src/amlog-script.pl, application-src/ampgsql.pl,
+         application-src/amraw.pl, application-src/amsamba.pl,
+         application-src/amsuntar.pl, application-src/amzfs-sendrecv.pl,
+         application-src/amzfs-snapshot.pl, application-src/script-email.pl,
+         client-src/amdump_client.pl, common-src/amgetconf.pl,
+         device-src/amdevcheck.pl, device-src/amtapetype.pl,
+         server-src/amcheckdump.pl, server-src/amcleanup.pl,
+         server-src/amcleanupdisk.pl, server-src/amdump.pl,
+         server-src/amfetchdump.pl, server-src/amlabel.pl,
+         server-src/amlogroll.pl, server-src/amoverview.pl,
+         server-src/amreport.pl, server-src/amrestore.pl,
+         server-src/amrmtape.pl, server-src/amserverconfig.pl,
+         server-src/amstatus.pl, server-src/amtape.pl,
+         server-src/amvault.pl,
+         server-src/taper.pl: Print command line arguments to debug file.
+
+2011-12-05  Jean-Louis Martineau <martineau@zmanda.com>
+       * device-src/device.c, device-src/ndmp-device.c,
+         device-src/tape-device.c: Call device_set_error if setting a
+         property fail.
+       * perl/Amanda/Changer.pm: Use device error message.
+
+2011-12-02  Jean-Louis Martineau <martineau@zmanda.com>
+       * device-src/s3-device.c, device-src/vfs-device.c (*_device_erase):
+         set the device state to unlabeled.
+       * perl/Amanda/Changer/compat.pm, perl/Amanda/Changer/multi.pm
+         (set_label):  works with undefined label.
+       * perl/Amanda/Changer/robot.pm: small cleanup.
+       * server-src/amrmtape.pl: Call reservation set_label method to remove
+         the label from the state.
+
+2011-12-02  Jean-Louis Martineau <martineau@zmanda.com>
+       * man/xml-source/amanda.conf.5.xml (autolabel): Document it must match
+         labelstr.
+
+2011-12-01  Jean-Louis Martineau <martineau@zmanda.com>
+       * device-src/s3-device.c (delete_file): Use multiple threads.
+
+2011-11-30  Jean-Louis Martineau <martineau@zmanda.com>
+        * device-src/xfer-dest-taper-splitter.c: Set the xmsg even if the xfer
+         is cancelled.
+       * perl/Amanda/Taper/Scribe.pm: result is PARTIAL|FAILED if
+         !last_part_successful.
+
+2011-11-30  Jean-Louis Martineau <martineau@zmanda.com>
+       * device-src/xfer-source-recovery.c (pull_buffer_impl): Release lock
+         before calling wait_until_xfer_cancelled.
+
+2011-11-28  Jean-Louis Martineau <martineau@zmanda.com>
+       * server-src/amfetchdump.pl: Fix usage.
+       * man/xml-source/amfetchdump.8.xml: Fix synopsis.
+
+2011-11-25  Jean-Louis Martineau <martineau@zmanda.com>
+       * installcheck/gnutar.pl: Change expectations to an array that can be
+         scanned in order, fix for tar-1.25 on fc15.
+
+2011-11-22  Jean-Louis Martineau <martineau@zmanda.com>
+       * device-src/s3.c (build_url): curl is G_GNUC_UNUSED.
+
+2011-11-21  Jean-Louis Martineau <martineau@zmanda.com>
+       * server-src/amtape.pl: Fix 'amtape show' with one slot.
+       * installcheck/amtape.pl: Test it.
+
+2011-11-21  Jean-Louis Martineau <martineau@zmanda.com>
+       * server-src/amreport.pl: Check if executable before open3().
+       * installcheck/amreport.pl: Fix for new message.
+
+2011-11-21  Jean-Louis Martineau <martineau@zmanda.com>
+       * perl/Amanda/Changer.pm: Correctly check barcode is not defined.
+
+2011-11-21  Jean-Louis Martineau <martineau@zmanda.com>
+       * perl/Amanda/Changer.pm: Correctly substititue '%' if not present.
+
+2011-11-21  Jean-Louis Martineau <martineau@zmanda.com>
+       * server-src/amtape.pl: Add [slots] argument to amtape show.
+       * man/xml-source/amtape.8.xml: Document it.
+
+2011-11-21  Jean-Louis Martineau <martineau@zmanda.com>
+       * device-src/s3.c: Disable the service_path if it is set to an empty
+         string or '/', also remove trailing slash.
+
+2011-11-21  Jean-Louis Martineau <martineau@zmanda.com>
+       * server-src/amdump.pl: Log a 'START planner date' line on error'.
+
+2011-11-14  Jean-Louis Martineau <martineau@zmanda.com>
+       * device-src/s3.c: Use curl_easy_escape.
+
+2011-11-14  Jean-Louis Martineau <martineau@zmanda.com>
+       * installcheck/gnutar.pl: Fix for fc16.
+
+2011-11-10  Jean-Louis Martineau <martineau@zmanda.com>
+       * installcheck/mock/mtx.pl: Fix qw.
+
+2011-11-10  Jean-Louis Martineau <martineau@zmanda.com>
+       * server-src/amstatus.pl: Use Getopt::Long
+
+2011-11-10  Jean-Louis Martineau <martineau@zmanda.com>
+       * device-src/s3.c: Use CURLOPT_MAX_RECV_SPEED_LARGE.
+
+2011-11-10  Jean-Louis Martineau <martineau@zmanda.com>
+       * perl/Amanda/Logfile.pod: Remove match_* functions
+       * perl/Amanda/Logfile.swg: Remove match_* functions
+       * perl/Amanda/Util.pod: Add match_* functions
+       * perl/Amanda/Util.swg: Add match_* functions
+       * client-src/amdump_client.pl, perl/Amanda/DB/Catalog.pm,
+         server-src/amdumpd.pl, server-src/amidxtaped.pl,
+         server-src/amvault.pl: Use match_* functions for Amanda::Util
+
+2011-11-10  Jean-Louis Martineau <martineau@zmanda.com>
+        * perl/Amanda/Report.pm: Always report the first 100 strange lines.
+        * installcheck/catalogs/longstrange.cat: Fix test.
+
+
+2011-11-09  Jean-Louis Martineau <martineau@zmanda.com>
+       * server-src/amreport.pl: Fix for perl-5.14
+       * installcheck/amreport.pl: Add test.
+
+2011-11-09  Jean-Louis Martineau <martineau@zmanda.com>
+       * installcheck/Installcheck/Changer.pm: Fix warnign for perl 5.14.
+
+2011-11-09  Jean-Louis Martineau <martineau@zmanda.com>
+       * application-src/ampgsql.pl: Print state filename to debug file.
+
+2011-11-07  Jean-Louis Martineau <martineau@zmanda.com>
+       * device-src/s3-device.c: Add S3_SERVER_SIDE_ENCRYPTION property.
+       * device-src/s3.c: Add server_side_encryption.
+       * device-src/s3.h: Add server_side_encryption.
+       * man/xml-source/amanda-devices.7.xml: Document
+         S3_SERVER_SIDE_ENCRYPTION property
+
+2011-11-07  Jean-Louis Martineau <martineau@zmanda.com>
+       * perl/Amanda/Changer.pm (release): Always call finished_cb.
+       * installcheck/amcheck-device.pl: Add a check.
+       
+2011-10-12  Jean-Louis Martineau <martineau@zmanda.com>
+       * server-src/driverio.c (update_info_dumper): Set date to 0 if 
+         datestamp is 0.
+
+2011-10-07  Jean-Louis Martineau <martineau@zmanda.com>
+       * application-src/ampgsql.pl: If datadir is not set, use the disk
+         argument.
+
+2011-10-07  Jean-Louis Martineau <martineau@zmanda.com>
+       * common-src/conffile.c: Do not free cwd.
+       * common-src/amgetconf.pl: Allow to get one property.
+       * installcheck/amgetconf.pl: Test it.
+
+2011-10-05  Jean-Louis Martineau <martineau@zmanda.com>
+       * common-src/match.c: Update from trunk.
+
+2011-10-05  Jean-Louis Martineau <martineau@zmanda.com>
+       * device-src/s3.c: Retry in case of CURLE_SSL_CONNECT_ERROR error.
+
+2011-10-05  Jean-Louis Martineau <martineau@zmanda.com>
+       * installcheck/gnutar.pl: Add support for fc14 and fc15.
+
+2011-10-04  Jean-Louis Martineau <martineau@zmanda.com>
+       * recover-src/extract_list.c: Do not crahs if amidxtaped close the 
+         connection.
+
+2011-10-04  Jean-Louis Martineau <martineau@zmanda.com>
+       * device-src/s3.c: Correctly set thunk->next_marker.
+
+2011-09-30 Dan Locks <dwlocks@zmanda.com>
+       *  packaging/common/substitute.pl: fix PKG_REV missing message.
+       *  packaging/sun-pkg/buildpkg, packaging/deb/buildpkg,
+          packaging/rpm/buildpkg: create PKG_REV file until the machinery to
+          process svn tags for PKG_REV is in place
+
+2011-09-29 Dan Locks <dwlocks@zmanda.com>
+       *  packaging/sun-pkg: sun package subdirectories
+       *  packaging/sun-pkg/buildpkg: sun package building script
+       *  packaging/common/mock_utils.sh: mocked utilities used by pre/post
+          scripts
+       *  packaging/common/post_inst_functions.sh,
+          packaging/common/post_rm_functions.sh,
+          packaging/common/pre_inst_functions.sh,
+          packaging/common/common_functions.sh: shared shell functions for
+          pre/post scripts.
+       *  packaging/common/substitute.pl: update to handle sun packages and
+          shell functions
+       *  packaging/common/test_sh_libs.sh: unit tests for shell functions
+       *  packaging/common/shunit2: unit test framework
+       *  packaging/Makefile.am: add sun package to dist tarball.
+       *  note: S3 device is not enabled; solaris compilation has me stumped.
+
+2011-09-21  Jean-Louis Martineau <martineau@zmanda.com>
+       * perl/Amanda/Holding.pm: fix dirfn.
+
+2011-09-21  Jean-Louis Martineau <martineau@zmanda.com>
+       Patch by Sam Stuck
+       * man/xml-source/amanda-changers.7.xml: Typo.
+
+2011-09-20  Jean-Louis Martineau <martineau@zmanda.com>
+       * man/Makefile.am (SERVER_MAN_PAGES): Add amcleanupdisk.8
+       * man/xml-source/amcleanup.8.xml:Add -r option.
+       * man/xml-source/amcleanupdisk.8.xml: New man page.
+       * perl/Amanda/Holding.pm (all_files, merge_all_files, rename_tmp):
+         New methods.
+       * server-src/Makefile.am (amlibexec_PROGRAMS): Remove amcleanupdisk.
+       * server-src/Makefile.am (sbin_SCRIPTS_PERL): Add amcleanupdisk.
+       * server-src/amcleanup.pl: Add -r option.
+       * server-src/amcleanupdisk.c: Remove file
+       * server-src/amcleanupdisk.pl: New perl version.
+       * server-src/holding.c: Fix max level to 399.
+
+2011-09-07  Jean-Louis Martineau <martineau@zmanda.com>
+       * installcheck/Amanda_Device.pl: Check setting a property with an 
+         invalid name.
+
+2011-09-07  Jean-Louis Martineau <martineau@zmanda.com>
+       * perl/Amanda/Device.swg: Do not g_value_unset an uninitialized value.
+
+2011-09-07  Jean-Louis Martineau <martineau@zmanda.com>
+       * application-src/amzfs-sendrecv.pl: restore works without --device.
+
+2011-09-06  Jean-Louis Martineau <martineau@zmanda.com>
+       * common-src/amcryptsimple.pl: Do not use gpg-agent if it is not
+         available.
+
+2011-09-02  Jean-Louis Martineau <martineau@zmanda.com>
+       * client-src/selfcheck.c (print_platform): Another fix.
+
+2011-09-02  Jean-Louis Martineau <martineau@zmanda.com>
+       * common-src/amcryptsimple.pl: Use gpg-agent.
+
+2011-09-02  Jean-Louis Martineau <martineau@zmanda.com>
+       * client-src/selfcheck.c (print_platform): Fix.
+
+2011-09-01  Jean-Louis Martineau <martineau@zmanda.com>
+       * server-src/amadmin.c (export) parse version without patch number.
+
+2011-09-01  Jean-Louis Martineau <martineau@zmanda.com>
+       * perl/Amanda/ScanInventory.pm: Get the meta label before
+         calling make_new_tape_label.
+       * perl/Amanda/Taper/Scan/traditional.pm: Get the meta label before
+         calling make_new_tape_label.
+       * perl/Amanda/Taper/Scribe.pm: Return the reservation on error.
+       * server-src/amcheck-device.pl: Release the reservation on error.
+       * server-src/amtape.pl: Release the reservation on error,
+         change 'amtape taper' output to be the same as amcheck.
+       * installcheck/amtape.pl: Fix for new amtape output.
+
+2011-08-31  Jean-Louis Martineau <martineau@zmanda.com>
+       * common-src/debug.c (debug_printf): Print a thread id.
+       * device-src/xfer-dest-taper-cacher.c,
+         device-src/xfer-dest-taper-directtcp.c,
+         device-src/xfer-dest-taper-splitter.c,
+         device-src/xfer-source-recovery.c: Remove printing of thread id.
+
+2011-08-31  Jean-Louis Martineau <martineau@zmanda.com>
+       * server-src/dumper.c: filter stderr make result strange,
+                              filter exit_code != 0 make it fail.
+
+2011-08-31  Jean-Louis Martineau <martineau@zmanda.com>
+       * application-src/amgtar.c: Do not rename gnutar-list if record is not
+         set.
+
+2011-08-31  Jean-Louis Martineau <martineau@zmanda.com>
+       * server-src/tapefile.h (struct tape_s): Add blocksize.
+       * server-src/tapefile.c: Print and parse blocksize in tapelist file.
+       * perl/Amanda/Tapelist.swg: Print and parse blocksize in tapelist file.
+       * perl/Amanda/Taper/Scribe.pm: Add blocksize argument to add_tapelabel.
+       * server-src/amlabel.pl: Add blocksize argument to add_tapelabel.
+       * installcheck/Amanda_Tapelist.pl: Fix for tapelist file format.
+       * installcheck/amlabel.pl: Fix for tapelist file format.
+
+2011-08-31  Jean-Louis Martineau <martineau@zmanda.com>
+       * device-src/device.h (struct Device): Add header_block_size.
+       * device-src/null-device.c, device-src/rait-device.c,
+         device-src/s3-device.c, device-src/tape-device.c,
+         device-src/vfs-device.c: Set header_block_size.
+       * perl/Amanda/Device.swg: Swig header_block_size.
+
+2011-08-31  Jean-Louis Martineau <martineau@zmanda.com>
+       * installcheck/Amanda_Device.pl: Fix number of skipped test for S3.
+
+2011-08-31  Jean-Louis Martineau <martineau@zmanda.com>
+       * server-src/planner.c: Print why a disk is skip if DS_NOINC.
+
+2011-08-30  Jean-Louis Martineau <martineau@zmanda.com>
+       * installcheck/Amanda_Device.pl: Check invalid location on s3 device.
+
+2011-08-30  Jean-Louis Martineau <martineau@zmanda.com>
+       * device-src/s3.c (s3_is_bucket_exists): Do not retry if bucket do
+         not exists.
+
+2011-08-30  Jean-Louis Martineau <martineau@zmanda.com>
+       * device-src/s3.c (s3_is_bucket_exists): New function to check if a 
+         bucket exists.
+       * device-src/s3.h (s3_is_bucket_exists): Prototype.
+       * device-src/s3-device.c: Call s3_is_bucket_exists before
+         s3_make_bucket.
+
+2011-08-29  Jean-Louis Martineau <martineau@zmanda.com>
+       * perl/Amanda/Changer/multi.pm: Keep the device_error in the state file.
+       * perl/Amanda/Changer/robot.pm: Keep the device_error in the state file.
+       * server-src/amtape.pl (inventory): Print inventory device error.
+       * installcheck/Amanda_Changer_multi.pl,
+         installcheck/Amanda_Changer_ndmp.pl,
+         installcheck/Amanda_Changer_robot.pl: Fix for device_error in
+         state file.
+
+2011-08-29  Jean-Louis Martineau <martineau@zmanda.com>
+       * perl/Amanda/Changer.pm: Fix warning.
+
+2011-08-29  Jean-Louis Martineau <martineau@zmanda.com>
+       * installcheck/Amanda_Changer_ndmp.pl,
+         installcheck/Amanda_Changer_robot.pl: Fix for previous patch.
+
+2011-08-29  Jean-Louis Martineau <martineau@zmanda.com>
+       * perl/Amanda/Changer/robot.pm: return a reservation even on error.
+
+2011-08-29  Jean-Louis Martineau <martineau@zmanda.com>
+       Patch by Gunar Gunnarsson
+       * server-src/amvault.pl: Cast $dump->{'kb'} to int.
+               
+2011-08-24  Jean-Louis Martineau <martineau@zmanda.com>
+       * man/xml-source/amanda-devices.7.xml: Update S3 location url.
+
+2011-08-24  Jean-Louis Martineau <martineau@zmanda.com>
+       * common-src/match.c: Fix for 'Trailing backslash' error
+       * common-src/match-test.c: Add test
+               
+2011-07-27  Jean-Louis Martineau <martineau@zmanda.com>
+       * amandad-src/amandad.c, client-src/calcsize.c,
+         client-src/killpgrp.c, client-src/noop.c,
+         client-src/rundump.c, client-src/runtar.c,
+         client-src/selfcheck.c, client-src/sendbackup.c,
+         client-src/sendsize.c, ndmp-src/amndmjob_main.c,
+         server-src/amcleanupdisk.c, server-src/amindexd.c,
+         server-src/amtrmidx.c, server-src/amtrmlog.c,
+         server-src/driver.c, server-src/dumper.c,
+         server-src/planner.c: Add a --version argument.
+
+2011-07-27  Jean-Louis Martineau <martineau@zmanda.com>
+       * common-src/amservice.c, recover-src/amrecover.c,
+         server-src/amflush.c: #include "getopt.h"
+
+2011-07-27  Jean-Louis Martineau <martineau@zmanda.com>
+       * application-src/ampgsql.pl: add ARCHIVEDIR, CLEANUPWAL, DB,
+         HOST, MAX-WAL-WAIT, PASSFILE, PORT, PSQL-PATH and USER
+         properties.
+       * man/xml-source/ampgsql.8.xml: Document them.
+
+2011-07-27  Jean-Louis Martineau <martineau@zmanda.com>
+       * common-src/amservice.c, recover-src/amrecover.c,
+         server-src/amcheck.c, server-src/amflush.c: Add a --version argument.
+
+2011-07-27  Jean-Louis Martineau <martineau@zmanda.com>
+       * client-src/selfcheck.c: Check return value of fgets.
+
+2011-07-27  Jean-Louis Martineau <martineau@zmanda.com>
+       * many */*.pl: add --version option.
+
+2011-07-27  Jean-Louis Martineau <martineau@zmanda.com>
+       * application-src/ampgsql.pl: print to debug file and server if unlink
+         fail.
+                 
+2011-07-25  Jean-Louis Martineau <martineau@zmanda.com>
+       * man/xml-source/amgtar.8.xml, man/xml-source/amraw.8.xml,
+         man/xml-source/amsamba.8.xml, man/xml-source/amstar.8.xml,
+         man/xml-source/amsuntar.8.xml,
+         man/xml-source/amzfs-sendrecv.8.xml: Document the diskdevice.
+
+2011-07-25  Jean-Louis Martineau <martineau@zmanda.com>
+       * client-src/client_util.c: fix
+
+2011-07-25  Jean-Louis Martineau <martineau@zmanda.com>
+       * server-src/amcheck.c: new '--client-verbose' option.
+       * man/xml-source/amcheck.8.xml: Document --client-verbos
+       * config/amanda/progs.m4 (AMANDA_PROG_UNAME): new macro to find uname
+         path.
+       * configure.in: call AMANDA_PROG_UNAME.
+       * client-src/client_util.c (check_access, check_file, check_dir,
+         check_suid): return a gboolean.
+       * client-src/client_util.h: Change prototypes.
+       * client-src/selfcheck.c: Print the platform.
+       * common-src/util.c (get_first_line): new function to return the first
+         output line of a command.
+       * common-src/util.h (get_first_line): add prototype.
+       * application-src/amgtar.c, application-src/ampgsql.pl,
+         application-src/amraw.pl, application-src/amsamba.pl,
+         application-src/amstar.c, application-src/amsuntar.pl,
+         application-src/amzfs-sendrecv.pl: print version of program.
+           
+2011-07-22  Jean-Louis Martineau <martineau@zmanda.com>
+       * perl/Amanda/Changer.pm: Fix warning if $s is not used.
+
+2011-07-22  Jean-Louis Martineau <martineau@zmanda.com>
+       * perl/Amanda/Changer.pm: Support minimun number of digit in $3s
+         autolabel template.
+       * man/xml-source/amanda.conf.5.xml: Document it.
+
+2011-07-21  Jean-Louis Martineau <martineau@zmanda.com>
+       * perl/Amanda/Changer/multi.pm (do_release): Support eject params.
+       * perl/Amanda/Changer/single.pm (do_release): Do the eject correctly.
+
+2011-07-21  Jean-Louis Martineau <martineau@zmanda.com>
+       * man/xml-source/amanda-taperscan.7.xml: Typo.
+
+2011-07-20  Jean-Louis Martineau <martineau@zmanda.com>
+       * common-src/conffile.h: Add CONF_EJECT_VOLUME
+       * common-src/conffile.c: Add CNF_EJECT_VOLUME
+       * man/xml-source/amanda.conf.5.xml: Document eject-volume.
+       * perl/Amanda/Config.swg: Add CNF_EJECT_VOLUME.
+       * perl/Amanda/Changer/single.pm: Eject the device if the eject
+         params is set in $res->release()
+       * perl/Amanda/Taper/Scribe.pm (new): Get eject_volume params.
+       * perl/Amanda/Taper/Scribe.pm (_release_reservation): Call
+         $res->release with the eject params if needed.
+       * perl/Amanda/Taper/Worker.pm: Make the Scribe with the eject_volume
+         params set to $CNF_EJECT_VOLUME
+
+2011-07-20  Jean-Louis Martineau <martineau@zmanda.com>
+       * perl/Amanda/Changer.pm (make_error): callback is optional.
+       * perl/Amanda/Changer/disk.pm: Check if disk is mounted before locking.
+       * perl/Amanda/ScanInventory.pm (_scan): fail only on fatal error.
+       * perl/Amanda/Taper/Controller.pm: Put error message in double quote.
+       * perl/Amanda/Taper/Worker.pm: Put message in double quote.
+
+2011-07-19  Jean-Louis Martineau <martineau@zmanda.com>
+       * server-src/driver.c (tape_action): consider number of dle on volume
+         and max-dle-by-volume for allowing use of new volume.
+
+2011-07-15  Jean-Louis Martineau <martineau@zmanda.com>
+       * man/xml-source/amanda-changers.7.xml: Add chg-single documentation.
+
+2011-07-14  Jean-Louis Martineau <martineau@zmanda.com>
+       * device-src/s3-device.c:Increase S3_DEVICE_MAX_BLOCK_SIZE to 3GiB.
+
+2011-07-14  Jean-Louis Martineau <martineau@zmanda.com>
+       * device-src/s3-device.c:Increase S3_DEVICE_MAX_BLOCK_SIZE to 5TiB.
+
+2011-07-13  Jean-Louis Martineau <martineau@zmanda.com>
+       * common-src/conffile.c: Add CONF_MAX_DLE_BY_VOLUME.
+       * common-src/conffile.h: Add CNF_MAX_DLE_BY_VOLUME.
+       * man/xml-source/amanda.conf.5.xml: Document max-dle-by-volume.
+       * perl/Amanda/Config.swg: Add CNF_MAX_DLE_BY_VOLUME.
+       * perl/Amanda/Taper/Controller.pm: Add msg_CLOSE_VOLUME method.
+       * perl/Amanda/Taper/Protocol.pm: Add CLOSE_VOLUME.
+       * perl/Amanda/Taper/Scribe.pm: Add close_volume method, call
+         _get_new_volume() is close_volume was called.
+       * perl/Amanda/Taper/Worker.pm: Add CLOSE_VOLUME method.
+       * server-src/driver.c: Send CLOSE_VOLUME command to taper if the
+         number of dle on a volume is larger than max-dle-by-volume
+       * server-src/driverio.c: Send CLOSE_VOLUME command.
+       * server-src/driverio.h: Add nb_dle to taper_t.
+       * server-src/server_util.c: Add "CLOSE-VOLUME" to cmdstr.
+       * server-src/server_util.h: Add CLOSE_VOLUME.
+
+2011-07-12  Jean-Louis Martineau <martineau@zmanda.com>
+       * device-src/s3-device.c: Fix gcc warning for s3_rval set but not used
+
+2011-07-12  Jean-Louis Martineau <martineau@zmanda.com>
+       * config/amanda/libs.m4: Fix use of AC_LINK_IFELSE.
+
+2011-07-12  Jean-Louis Martineau <martineau@zmanda.com>
+       * common-src/match.c (match_word): better matching for anchored 
+         expression.
+       * common-src/match-test.c: Add new tests.
+
+2011-07-11  Jean-Louis Martineau <martineau@zmanda.com>
+       Add '$s' substitution to autolabel.
+       * perl/Amanda/Changer.pm (make_new_tape_label): Handle $s.
+       * perl/Amanda/Taper/Scan/lexical.pm, perl/Amanda/Taper/Scan/oldest.pm,
+         perl/Amanda/Taper/Scribe.pm: Call make_new_tape_label with the slot.
+       * man/xml-source/amanda.conf.5.xml: Document $s substitution.
+
+2011-07-08  Jean-Louis Martineau <martineau@zmanda.com>
+       * config/amanda/libs.m4: Fix for newer aclocal.
+       * config/libtool.m4, config/ltmain.sh,
+         config/ltoptions.m4, config/ltsugar.m4,
+         config/ltversion.m4,
+         config/lt~obsolete.m4: Upgrade libtool to 2.4.
+
+2011-07-08  Jean-Louis Martineau <martineau@zmanda.com>
+       * Many *.c files: Fix for gcc-4.6.0 warning: variable ‘NAME’ set but
+         not used.
+
+2011-07-07  Jean-Louis Martineau <martineau@zmanda.com>
+       * perl/Amanda/Taper/Scribe.pm: Keep the barcode when relabeling a tape
+
+2011-07-05  Jean-Louis Martineau <martineau@zmanda.com>
+       * perl/Amanda/Changer/robot.pm: Retry up to 120 seconds if the sense
+         key is 'Not Ready'
+
+2011-06-29  Jean-Louis Martineau <martineau@zmanda.com>
+       * application-src/amstar.c: typo.
+
+2011-06-29  Jean-Louis Martineau <martineau@zmanda.com>
+       * server-src/driver.c: Call short_dump_state on all state change.
+
+2011-06-29  Jean-Louis Martineau <martineau@zmanda.com>
+       Patch by p_michalczyk
+       * application-src/amstar.c: Place command_options at the and of
+         command line.
+
+2011-06-29  Jean-Louis Martineau <martineau@zmanda.com>
+       Patch by p_michalczyk
+       * application-src/amstar.c: Add missing break statement.
+
+2011-06-29  Jean-Louis Martineau <martineau@zmanda.com>
+       Replace semaphore by amsemaphore.
+       * common-src/Makefile.am: Remove semaphore.*, add amsemaphore.*
+       * common-src/amsemaphore-test.c: New copy of semaphore-test.c
+       * common-src/amsemaphore.c: New copy of semaphore.c
+       * common-src/amsemaphore.h: New copy of semaphore.h
+       * common-src/semaphore-test.c: Removed file.
+       * common-src/semaphore.c: Removed file.
+       * common-src/semaphore.h: Removed file.
+       * device-src/rait-device.c: s/semaphore_/amsemaphore_/g
+       * xfer-src/element-glue.c: s/semaphore_/amsemaphore_/g
+       * xfer-src/element-glue.h: s/semaphore_/amsemaphore_/g
+
+2011-06-28  Jean-Louis Martineau <martineau@zmanda.com>
+       * server-src/driver.c: Check holding file is in a holding directory.
+
+2011-06-27  Jean-Louis Martineau <martineau@zmanda.com>
+       * man/xml-source/amanda-devices.7.xml: s/Witout/Without/
+
+2011-06-21  Jean-Louis Martineau <martineau@zmanda.com>
+       * man/xml-source/amanda-client.conf.5.xml: Add amdump-server.
+       * man/xml-source/amdump_client.8.xml: Fix doc.
+
+2011-06-21  Jean-Louis Martineau <martineau@zmanda.com>
+       * perl/Amanda/Taper/Scribe.pm: Fix add_tapelabel call.
+
+2011-06-20  Jean-Louis Martineau <martineau@zmanda.com>
+       * perl/Amanda/Taper/Scribe.pm: Correcly make label with meta and barcode
+
+2011-06-20  Jean-Louis Martineau <martineau@zmanda.com>
+       * man/xml-source/amrecover.8.xml: Document new settranslate command.
+       * recover-src/amrecover.c: Add disk_tpath,
+       * recover-src/amrecover.c (translate_octal): New function.
+       * recover-src/amrecover.h: Add tpath to DIR_ITEM.
+       * recover-src/display_commands.c: Set and use tpath.
+       * recover-src/extract_list.c: Use tpath
+       * recover-src/help.c: Add settranslate command.
+       * recover-src/set_commands.c: Set and tpath.
+       * recover-src/uparse.y: Parse settranslate command.
+       * recover-src/uscan.l: Add SETTRANSLATE keyword.
+
+2011-06-17  Jean-Louis Martineau <martineau@zmanda.com>
+       * perl/Amanda/Changer/robot.pm, perl/Amanda/Recovery/Planner.pm,
+         perl/Amanda/Recovery/Clerk.pm,
+         perl/Amanda/Taper/Scribe.pm: Fix for qw syntax in perl 5.14.
+
+2011-06-13  Jean-Louis Martineau <martineau@zmanda.com>
+       * perl/Amanda/Taper/Worker.pm: s/messsage/message/.
+
 2011-05-31  Jean-Louis Martineau <martineau@zmanda.com>
        * VERSION: 3.3.0