X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=ChangeLog;h=d24082f45401990ddd20be5342a11636e75b88a0;hb=HEAD;hp=7a2efcaf4afe192eefa3c7688798b1394cf99f52;hpb=99080c663209a733fd597a2fcab96a45c9c41291;p=debian%2Famanda diff --git a/ChangeLog b/ChangeLog index 7a2efca..d24082f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,2012 @@ +2013-01-08 Jean-Louis Martineau + * VERSION: 3.3.3 + +2013-01-08 Jean-Louis Martineau + * ndmp-src/ndmjob_args.c: Handle more than 1000 arguments. + +2013-01-04 Jean-Louis Martineau + * perl/Amanda/Taper/Scan.pm (oldest_reusable_volume): Check the + labelstr. + * installcheck/Amanda_Taper_Scan.pl: Test it. + +2013-01-04 Jean-Louis Martineau + * server-src/amrmtape.pl: Do not check the 'log' file. + +2012-12-27 Jean-Louis Martineau + * server-src/amrmtape.pl: Add the pid on the temporary filename. + +2012-12-27 Jean-Louis Martineau + * common-src/util.c (make_amanda_tmpdir): New function to create the + AMANDA_TMPDIR directory. + * common-src/util.h (make_amanda_tmpdir): Add prototype. + * common-src/debug.c (debug_open): Call make_amanda_tmpdir(). + +2012-12-24 Jean-Louis Martineau + * server-src/driver.c (tape_action): Do not count free tape space if + exceed max-dle-by-volume. + +2012-12-18 Jean-Louis Martineau + * NEWS, ReleaseNotes: Changes in 3.3.3 + +2012-12-18 Jean-Louis Martineau + * perl/Amanda/Taper/Worker.pm: Ignore duplicate DONE/FAILED messages. + +2012-12-13 Dan Locks + * packaging/common/post_inst_functions.sh: revoke rw permissions for + group and other + * packaging/common/post_rm_functions.sh: fix function name to match + usage. + * packaging/common/test_sh_libs.sh: update test. + +2012-12-13 Jean-Louis Martineau + * server-src/amrmtape.pl: Die if opening CURINFO for writing fail. + +2012-12-12 Dan Locks + * packaging/common/post_inst_functions.sh: don't use uuencode -m for + solaris 8 compatibility. + +2012-12-11 Jean-Louis Martineau + * perl/Amanda/Changer/multi.pm, server-src/amcheck-device.pl: Fix perl + warning. + +2012-12-10 Jean-Louis Martineau + * server-src/logfile.c (log_rename): Donot abort if the log do not + exists. + +2012-12-10 Jean-Louis Martineau + * man/xml-source/amanda-devices.7.xml: Typo, s/SWITF/SWIFT/. + +2012-12-10 Jean-Louis Martineau + * server-src/amstatus.pl: No src-ip in PORT-DUMP. + +2012-12-10 Jean-Louis Martineau + * perl/Amanda/Taper/Scribe.pm: Log FAILED if nothing is written to + tape. + * server-src/amstatus.pl: Check ntape is defined. + +2012-12-07 Dan Locks + * packaging/common/post_inst_functions.sh: use amandausers's .gnupg/ + instead of installing user's, and suppress warnings about + permissions. + +2012-12-07 Dan Locks + * common_z/post_inst_functions.sh: head and tail invocation may only + use "-#", not "-n #" for solaris 8 compatibility + +2012-12-07 Jean-Louis Martineau + * contrib/convert-zd-mtx-to-robot.sh: set tpchanger instead of + tapedev. + +2012-12-07 Jean-Louis Martineau + * server-src/driver.c: Fix 32 bits overflow. + +2012-12-06 Dan Locks + * packaging/common/post_inst_functions.sh: use --passphrase-fd to + support older versions of gpg. + +2012-12-06 Jean-Louis Martineau + * server-src/amstatus.pl: Parse new PORT-DUMP format + +2012-12-05 Jean-Louis Martineau + * server-src/amstatus.pl: Fix exit status. + * installcheck/amstatus.pl: Fix for previous patch. + +2012-12-05 Jean-Louis Martineau + * server-src/amstatus.pl: Show taping status after dump failure. + +2012-12-05 Jean-Louis Martineau + * installcheck/taper.pl: Add check for previous patch. + +2012-12-05 Jean-Louis Martineau + * perl/Amanda/Taper/Worker.pm: Do it at the right place. + +2012-12-05 Jean-Louis Martineau + * perl/Amanda/Taper/Worker.pm: Use header is_partial to get dump + status for FILE-WRITE. + +2012-12-04 Jean-Louis Martineau + * client-src/client_util.c: print script output for backup with the + "| " prefix. + +2012-12-04 Jean-Louis Martineau + * server-src/amvault.pl: Missing return statement. + +2012-12-03 Dan Locks + * packaging/common/post_inst_functions.sh: add get_random_lines() and + use it to generate random passwords + * packaging/common/test_sh_libs.sh: test and use get_random_lines(), + use static log file name, enforce order on tests using + (get_random_lines, create_gnupg, create_ampassphrase, and + create_amkey. + * packaging/deb/postinst.src, packaging/rpm/amanda.spec.src, + packaging/sun-pkg/client/postinstall.src: use command -v instead of + unportable which. + +2012-12-03 Jean-Louis Martineau + * server-src/logfile.c (get_logline): Parse each line separately. + +2012-11-28 Jean-Louis Martineau + * device-src/s3.c: Force new connection after RequestTimeout. + +2012-11-24 Dan Locks + * packaging/rpm/amanda.spec.src: fix comparison operator + +2012-11-23 Jean-Louis Martineau + * installcheck/Amanda_Config.pl, installcheck/Amanda_DB_Catalog.pl, + installcheck/Installcheck/Config.pm, perl/Amanda/Report/human.pm, + perl/Amanda/Taper/Worker.pm, server-src/amtape.pl: Fix perl warning. + +2012-11-23 Dan Locks + * packaging/rpm/amanda.spec.src: fix awk SuSE detection syntax + +2012-11-23 Dan Locks + * common_z/post_inst_functions.sh: add --no-use-agent option to gpg + invocation to avoid problems with uninitialized gpg keyrings. + +2012-11-23 Jean-Louis Martineau + * device-src/null-device.c: Return DEVICE_STATUS_VOLUME_UNLABELED | + DEVICE_STATUS_VOLUME_ERROR on open for reading. + * installcheck/amdevcheck.pl: Fix. + +2012-11-22 Jean-Louis Martineau + * config/amanda/flags.m4: Swig is always compiled with + -Wno-deprecated-declarations + * common-src/amflock.h: s/file_lock_/file_lock/ + * device-src/directtcp-connection.h: + s/DirectTCPConnection_/DirectTCPConnection/ + * ndmp-src/ndmpconnobj.h: s/NDMPConnection_/NDMPConnection/ + * server-src/cmdline.h: s/dumpspec_s/dumpspec_t/ + +2012-11-22 Jean-Louis Martineau + * perl/Amanda/Cmdline.swg: Undo previous patch. + +2012-11-22 Jean-Louis Martineau + * config/amanda/libs.m4: remove deprecated warning for glib > 2.34.0 + * perl/Amanda/Cmdline.swg: s/dumpspec_t/dumpspec_s/ + +2012-11-22 Jean-Louis Martineau + * perl/Amanda/Changer/robot.pm: return 'all slots are empty'. + * perl/Amanda/Taper/Scan/traditional.pm: Call _user_msg on error. + +2012-11-22 Jean-Louis Martineau + * perl/Amanda/Changer/robot.pm: Keep a different current_slot for each + config. + +2012-11-21 Jean-Louis Martineau + * common-src/bsd-security.c (stream_read_callback): Do not cancel the + event in case of successful read. + * common-src/security-util.c: Typo. + +2012-11-15 Jean-Louis Martineau + * perl/Amanda/Changer/aggregate.pm, perl/Amanda/Changer/disk.pm, + perl/Amanda/Changer/multi.pm, + perl/Amanda/Changer/robot.pm: Add LOCK-TIMEOUT property. + * perl/Amanda/Changer.pm: Handle lock-timeout property. + * man/xml-source/amanda-changers.7.xml: Document new LOCK-TIMEOUT + properties. + +2012-11-14 Jean-Louis Martineau + * application-src/amsamba.pl: Password can be encoded. + +2012-11-14 Jean-Louis Martineau + * perl/Amanda/Report/human.pm: Do not print failure for config + setting. + * perl/Amanda/Taper/Worker.pm: Send TAPE-CONFIG. + * server-src/amflush.c: Do not add L_DISK if nothing to flush. + * server-src/amstatus.pl: Parse TAPE-CONFIG and print appropriate + message. + * server-src/driver.c: Parse TAPE-CONFIG. + * installcheck/taper.pl: Check new TAPE-CONFIG in protocol. + * installcheck/catalogs/amflush.cat: Fix for new format. + +2012-11-05 Jean-Louis Martineau + * man/xml-source/amanda-devices.7.xml: Add 'OAUTH2' and 'CASTOR' for + value of the storage-api property. + +2012-10-25 Jean-Louis Martineau + * common-src/event.c: Disable -Wmissing-field-initializers when using + G_STATIC_MUTEX_INIT because of warning with glib-2.32. + +2012-10-25 Jean-Louis Martineau + * man/xml-source/amfetchdump.8.xml: Document --extract, --directory, + --data-path and --application-property. + +2012-10-25 Jean-Louis Martineau + * common-src/event.c: Use a GStaticMutex. + +2012-10-25 Jean-Louis Martineau + * ndmp-src/ndmpconnobj.c: Use a GStaticMutex. + +2012-10-24 Jean-Louis Martineau + * installcheck/Amanda_Device.pl: Fix count. + +2012-10-23 Jean-Louis Martineau + * ndmp-src/ndmpconnobj.c: Use event_create and event_activate. + Create static notify_data_t. + +2012-10-23 Jean-Louis Martineau + * common-src/event.c (event_create, event_activate): New function, it + split event_register in two. + * common-src/event.h (event_create, event_activate): New prototype. + +2012-10-22 Jean-Louis Martineau + * device-src/device.c (device_accept, device_connect, + device_write_from_connection, device_read_to_connection): They take + (int *, GMutex *, GCond *) new arguments to be able to interupt + them. + * device-src/device.h: Change prototype. + * device-src/ndmp-device.c: Implement new functionnality. + * device-src/xfer-dest-taper-directtcp.c, + device-src/xfer-source-recovery.c: Use the new API. + * installcheck/Amanda_Device.pl: Remove directtcp test. + * ndmp-src/ndmpconnobj.c (ndmp_connection_wait_for_notify_with_cond): + Allow to be cancelled. + * ndmp-src/ndmpconnobj.h: Change prototype. + * perl/Amanda/Device.swg: Remove accept, connect, + write_from_connection and read-to_connection. + +2012-10-22 Jean-Louis Martineau + * perl/Amanda/Taper/Scribe.pm (abort_setup): New method. + * perl/Amanda/Taper/Scribe.pm (_dump_done): Return if $dump_cb is not + set. + * perl/Amanda/Taper/Worker.pm: Call abort_setup if setup failed. + +2012-10-22 Jean-Louis Martineau + * server-src/amfetchdump.pl: typo, remove '.' in argv. + +2012-10-22 Jean-Louis Martineau + * server-src/dumper.c (do_dump): Make the header file only + HEADER_DONE. + +2012-10-22 Jean-Louis Martineau + * perl/Amanda/Taper/Controller.pm: Reverse taper/driver in log. + +2012-10-22 Jean-Louis Martineau + * ndmp-src/ndmjob_args.c (handle_long_option): Close the fd. + +2012-10-22 Jean-Louis Martineau + * common-src/event.c: Make the code thread safe. + +2012-10-19 Jean-Louis Martineau + * common-src/match.c: Handle '=' as first characters of expression. + * man/xml-source/amanda-match.7.xml: Document new '=' as first + character of expression. + * man/xml-source/amadmin.8.xml, man/xml-source/amcheck.8.xml, + * man/xml-source/amdump.8.xml, man/xml-source/amfetchdump.8.xml, + * man/xml-source/amflush.8.xml, man/xml-source/amrestore.8.xml, + * man/xml-source/amvault.8.xml: Document new '--exact-match' argument. + * perl/Amanda/Cmdline.swg: Add CMDLINE_EXACT_MATCH + * server-src/diskfile.c (match_disklist, match_dumpfile): + New exact_match argument. + * server-src/diskfile.h (match_disklist, match_dumpfile): + Change prototype. + * server-src/cmdline.c (cmdline_parse_dumpspecs): CMDLINE_EXACT_MATCH. + * server-src/cmdline.h: New CMDLINE_EXACT_MATCH. + * server-src/amadmin.c, server-src/amcheck.c, + server-src/amdump.pl, server-src/amfetchdump.pl, + server-src/amflush.c, server-src/amrestore.pl, + server-src/amvault.pl, server-src/planner.c: Add --exact-match + argument. + * installcheck/Amanda_Cmdline.pl: Check '='. + * installcheck/amadmin.pl: Check --exact-match and '='. + +2012-10-19 Jean-Louis Martineau + * server-src/amfetchdump.pl: Fix for compressed dump. + +2012-10-19 Jean-Louis Martineau + * server-src/amfetchdump.pl: Add [--extract --directory directory + [--data-path (amanda|directtcp)] + [--application-property='NAME=VALUE']*] + * man/xml-source/amfetchdump.8.xml: Document them. + * perl/Amanda/Extract.pm: New utilities torun application from perl. + * perl/Makefile.am: Add Amanda/Extract.pm + * perl/Amanda/Recovery/Clerk.pm: Small fix. + +2012-10-18 Jean-Louis Martineau + * All files: Change Zmanda licensing to GPLv2+ and LGPLv2+, Add Zmanda + copyright to files modified by Zmanda. + +2012-10-15 Jean-Louis Martineau + * common-src/conffile.c: New REPORT-USE-MEDIA and REPORT-NEXT-MEDIA. + * common-src/conffile.h: And CNF_REPORT_USE_MEDIA and + CNF_REPORT_NEXT_MEDIA + * man/xml-source/amanda.conf.5.xml: Document REPORT-USE-MEDIA and + REPORT-NEXT-MEDIA. + * perl/Amanda/Config.swg: Add CNF_REPORT_USE_MEDIA and + CNF_REPORT_NEXT_MEDIA. + * perl/Amanda/Report/human.pm: Use them. + +2012-10-12 Jean-Louis Martineau + * server-src/amstatus.pl (showtime): Use calandar days. + +2012-10-12 Jean-Louis Martineau + * perl/Amanda/Taper/Worker.pm: Add data_path to %splitting_args. + * perl/Amanda/Taper/Scribe.pm: Correctly set part_* for DIRECTTCP + data_path. + +2012-10-11 Jean-Louis Martineau + * amandad-src/amandad.c: Add a timeout. + * common-src/event.c: List all event in debug mode. + * common-src/security-util.c: Call the accept_fn on connection close. + +2012-10-11 Jean-Louis Martineau + * common-src/amcryptsimple.pl: Add '-z 0' to gpg argument when + encrypting. + +2012-10-09 Jean-Louis Martineau + * oldrecover-src/amrecover.c: Solaris do not have sa_restorer. + +2012-10-09 Jean-Louis Martineau + * amar-src/amarchiver.c, client-src/selfcheck.c, + common-src/bsd-security.c, common-src/util.c, + device-src/device.c, device-src/ndmp-device.c, + common-src/util.c, device-src/tape-device.c, + oldrecover-src/amrecover.c, recover-src/extract_list.c, + recover-src/set_commands.c, server-src/diskfile.c, + server-src/driver.c: Fix bug found by Coverity. + +2012-10-09 Jean-Louis Martineau + * example/Makefile.am: Build amanda-CAStor.conf from + amanda-CAStor.conf.in + * example/template.d/amanda-CAStor.conf: Remove + * example/template.d/amanda-CAStor.conf.in: New file. + +2012-10-05 Jean-Louis Martineau + * common-src/security-util.c: Change the security_stream_read callback + to not release the event if the read succeed. + * amandad-src/amandad.c, common-src/amservice.c, + recover-src/extract_list.c, server-src/dumper.c: Do not restart + security_stream_read if the read succeeded. + * server-src/dumper.c: Handle timeout without starting too much event. + +2012-10-05 Jean-Louis Martineau + * server-src/driver.c (tape_action): Fix handling of + taper-parallel-write. + * server-src/driver.c: Go in degraded mode only after all taper failed. + +2012-10-05 Jean-Louis Martineau + * server-src/amstatus.pl: Fix for TAKE-SCRIBE-FROM command, handle + multiple taper status files. + +2012-10-02 Jean-Louis Martineau + * server-src/amstatus.pl: Fix for (eof) from dumper/chunker or taper. + +2012-09-27 Jean-Louis Martineau + * device-src/s3-device.c: Fix reps and reps_bucket name. + +2012-09-26 Jean-Louis Martineau + * common-src/conffile.c (get_multiplier): Fix for for CONF_END. + +2012-09-25 Jean-Louis Martineau + * device-src/xfer-dest-taper-splitter.c: Do not increase partnum if + the size is 0. + * installcheck/Amanda_Xfer.pl: Fix partnum check. + * perl/Amanda/Taper/Scribe.pm: Improve debugging. + +2012-09-25 Jean-Louis Martineau + * perl/Amanda/Taper/Scan/lexical.pm, + perl/Amanda/Taper/Scan/oldest.pm: Fix perl warning. + +2012-09-24 Jean-Louis Martineau + * perl/Amanda/Changer/robot.pm: Fix for header not read. + +2012-09-24 Jean-Louis Martineau + * man/xml-source/amanda.conf.5.xml (part-size): Improve documentation. + +2012-09-24 Jean-Louis Martineau + * perl/Amanda/Taper/Scribe.pm (device_started): Can get non-numeric + result. + +2012-09-21 Jean-Louis Martineau + * man/xml-source/tapelist.5.xml: Add BLOCKSIZE. + +2012-09-21 Jean-Louis Martineau + * perl/Amanda/Tapelist.swg: die() if tapelist is not valid. + * server-src/tapefile.c: exit if tapelist is not valid. + * installcheck/Amanda_Tapelist.pl: Add more check. + * perl/Amanda/Changer.pm: Add $err->device + * perl/Amanda/Changer/robot.pm: Return error if barcode do not match + with tapelist. + * server-src/amtape.pl (inventory): Print if barcode do not match. + +2012-09-21 Jean-Louis Martineau + * installcheck/Makefile.am (catalogs): Add + catalogs/taper-parallel-write.cat. + +2012-09-21 Jean-Louis Martineau + * device-src/s3.c: Fix date_sync_regex. + +2012-09-20 Jean-Louis Martineau + * server-src/amstatus.pl: Fix for taper-parallel-write > 1. + * installcheck/amstatus.pl: Checkit. + * installcheck/catalogs/taper-parallel-write.cat: New catalog. + +2012-09-19 Jean-Louis Martineau + * device-src/s3.c: Castor require libcurl 7.19.1. + +2012-09-18 Jean-Louis Martineau + * device-src/s3-device.c, device-src/s3.c: Castor require libcurl + 7.19.1. + +2012-09-17 Jean-Louis Martineau + * device-src/s3-device.c, device-src/s3.c + device-src/s3.h: Add CASTOR S3_API. + * example/template.d/amanda-CAStor.conf: Example + config for castor. + +2012-09-17 Jean-Louis Martineau + * application-src/amgtar.c: Set gnutar_listdir after the config for + the backup set is read. + +2012-09-17 Jean-Louis Martineau + * common-src/amxml.c (amstart_element): Set data_user->dle->property. + +2012-09-05 Jean-Louis Martineau + * server-src/amcheckdump.pl: s/correclty/correctly/g + +2012-08-24 Jean-Louis Martineau + * perl/Amanda/Changer/robot.pm: Correctly set f_type and device_error + in state. + * perl/Amanda/ScanInventory.pm (volume_is_labelable): Set labelstr for + does_not_match_labelstr. + * perl/Amanda/Taper/Scan/lexical.pm, + perl/Amanda/Taper/Scan/oldest.pm (analyze): Check label match + labelstr. + * server-src/amcheck-device.pl (_user_msg_fn): print message when res + is not set. + * server-src/amtape.pl: Fix for device returning empty error. + * installcheck/Amanda_Changer_ndmp.pl, + installcheck/Amanda_Changer_robot.pl: Fix for f_type set. + +2012-08-24 Jean-Louis Martineau + * installcheck/gnutar.pl: fc17 gnutar is like fc15. + +2012-08-24 Jean-Louis Martineau + * installcheck/Amanda_Device.pl: Print error if nc, nc6 or netcat is + not installed. + +2012-08-23 Jean-Louis Martineau + * perl/Amanda/Changer/disk.pm: Use the changerfile for the statefile. + +2012-08-22 Jean-Louis Martineau + * server-src/amdump.pl: Create amdump., amdump and amdump.1 + are maintained as symlink. + +2012-08-21 Jean-Louis Martineau + * server-src/planner.c (handle_result): Correctly log some error. + +2012-07-24 Jean-Louis Martineau + * device-src/s3-device.c: New REUSE-CONNECTION property. + * device-src/s3.c: Do not reuse connection if REUSE-CONNECTION is + FALSE. + * device-src/s3.h (s3_open): New reuse_connection argument. + * man/xml-source/amanda-devices.7.xml: Document REUSE-CONNECTION + property. + * ReleaseNotes, NEWS: Add REUSE-CONNECTION. + +2012-07-24 Jean-Louis Martineau + * VERSION: 3.3.2 + +2012-07-24 Jean-Louis Martineau + * device-src/s3-device.c: Fix a big memory leak. + +2012-07-23 Jean-Louis Martineau + * man/xml-source/amanda.conf.5.xml: Typo. + +2012-07-23 Jean-Louis Martineau + * ReleaseNotes, NEWS: Add new features in 3.3.2. + +2012-07-20 Dan Locks + * perl/Amanda/Feature.pod, perl/Amanda/MainLoop.swg, + perl/Amanda/Script.pm, perl/Amanda/NDMP.pod, + perl/Amanda/Logfile.swg, perl/Amanda/Curinfo.pm, + perl/Amanda/Changer.pm, perl/Amanda/Tests.pod, + perl/Amanda/Application.pod, perl/Amanda/Debug.swg, + perl/Amanda/Disklist.swg, perl/Amanda/Report.pm, + perl/Amanda/Config.pod, perl/Amanda/Header.swg, + perl/Amanda/Feature.swg, perl/Amanda/BigIntCompat.pm, + perl/Amanda/NDMP.swg, perl/Amanda/Recovery/Scan.pm, + perl/Amanda/Recovery/Planner.pm, perl/Amanda/Recovery/Clerk.pm, + perl/Amanda/Util.pod, perl/Amanda/Tests.swg, + perl/Amanda/Archive.pod, perl/Amanda/Application.swg, + perl/Amanda/Config.swg, perl/Amanda/Curinfo/Info.pm, + perl/Amanda/Tapelist.pod, perl/Amanda/Changer/disk.pm, + perl/Amanda/Changer/multi.pm, perl/Amanda/Changer/null.pm, + perl/Amanda/Changer/ndmp.pm, perl/Amanda/Changer/rait.pm, + perl/Amanda/Changer/single.pm, perl/Amanda/Changer/compat.pm, + perl/Amanda/Changer/robot.pm, perl/Amanda/Changer/aggregate.pm, + perl/Amanda/Report/human.pm, perl/Amanda/Report/postscript.pm, + perl/Amanda/Report/xml.pm, perl/Amanda/IPC/Binary.swg, + perl/Amanda/IPC/LineProtocol.pm, perl/Amanda/IPC/Binary.pod, + perl/Amanda/XferServer.pod, perl/Amanda/Util.swg, + perl/Amanda/ScanInventory.pm, perl/Amanda/Script_App.pm, + perl/Amanda/Device.pod, perl/Amanda/Archive.swg, + perl/Amanda/Tapelist.swg, perl/Amanda/Xfer.pod, + perl/Amanda/DB/Catalog.pm, perl/Amanda/Process.pm, + perl/Amanda/XferServer.swg, perl/Amanda/Constants.pm.in, + perl/Amanda/Cmdline.pod, perl/Amanda/Device.swg, + perl/Amanda/Interactivity/stdin.pm, + perl/Amanda/Interactivity/email.pm, + perl/Amanda/Interactivity/tty_email.pm, + perl/Amanda/Interactivity/tty.pm, perl/Amanda/MainLoop.pod, + perl/Amanda/Holding.pm, perl/Amanda/Paths.pm.in, + perl/Amanda/Logfile.pod, perl/Amanda/Application/Zfs.pm, + perl/Amanda/Xfer.swg, perl/Amanda/Debug.pod, + perl/Amanda/Disklist.pod, perl/Amanda/Interactivity.pm, + perl/Amanda/Header.pod, perl/Amanda/Cmdline.swg, + perl/Amanda/ClientService.pm, perl/Amanda/Taper/Protocol.pm, + perl/Amanda/Taper/Controller.pm, perl/Amanda/Taper/Scan.pm, + perl/Amanda/Taper/Scribe.pm, perl/Amanda/Taper/Scan/oldest.pm, + perl/Amanda/Taper/Scan/traditional.pm, + perl/Amanda/Taper/Scan/lexical.pm, + perl/Amanda/Taper/Worker.pm, perl/amglue/objwrap.c, + perl/amglue/bigint.c, perl/amglue/amglue.h, + perl/amglue/dumpspecs.swg, perl/amglue/exports.swg, + perl/amglue/amglue.swg, perl/amglue/constants.swg, + perl/amglue/glib.swg, perl/amglue/filehandles.swg, + perl/amglue/integers.swg, perl/amglue/xferwrap.c, + perl/amglue/directtcp.swg, perl/amglue/source.c, + perl/amglue/ghashtable.c, perl/make_html.pl, + installcheck/amoverview.pl, installcheck/Amanda_Holding.pl, + installcheck/Amanda_Disklist.pl, + installcheck/Amanda_Taper_Scan_oldest.pl, + installcheck/amlabel.pl, installcheck/Amanda_NDMP.pl, + installcheck/amflush.pl, installcheck/Amanda_ClientService.pl, + installcheck/run-ndmp.pl, installcheck/amstatus.pl, + installcheck/Amanda_Taper_Scribe.pl, + installcheck/Amanda_Recovery_Scan.pl, + installcheck/Amanda_Curinfo.pl, installcheck/Amanda_Changer.pl, + installcheck/Amanda_Changer_single.pl, + installcheck/Amanda_Taper_Scan_traditional.pl, + installcheck/bigint.pl, installcheck/Amanda_Cmdline.pl, + installcheck/Amanda_Changer_robot.pl, installcheck/amservice.pl, + installcheck/Amanda_Recovery_Clerk.pl, + installcheck/Amanda_Taper_Scan_lexical.pl, + installcheck/amarchiver.pl, installcheck/amrecover.pl, + installcheck/Amanda_Changer_ndmp.pl, + installcheck/Installcheck/ClientService.pm, + installcheck/Installcheck/Application.pm, + installcheck/Installcheck/Run.pm, + installcheck/Installcheck/Config.pm, + installcheck/Installcheck/Changer.pm, + installcheck/Installcheck/Dumpcache.pm, + installcheck/Installcheck/Mock.pm, + installcheck/Installcheck/Catalogs.pm, installcheck/example.pl, + installcheck/gnutar.pl, installcheck/amrestore.pl, + installcheck/amgetconf.pl, installcheck/pp-scripts.pl, + installcheck/Amanda_IPC_LineProtocol.pl, installcheck/amtape.pl, + installcheck/amraw.pl, installcheck/amserverconfig.pl, + installcheck/amgtar.pl, installcheck/taper.pl, + installcheck/Amanda_Util.pl, + installcheck/Amanda_Recovery_Planner.pl, + installcheck/mock/mail.pl, installcheck/mock/mtx.pl, + installcheck/mock/lpr.pl, installcheck/Amanda_IPC_Binary.pl, + installcheck/=setupcache.pl, installcheck/amcheckdump.pl, + installcheck/amdump_client.pl, installcheck/Amanda_Tapelist.pl, + installcheck/Amanda_Debug.pl, installcheck/Amanda_Changer_rait.pl, + installcheck/amcheck-device.pl, installcheck/Amanda_Header.pl, + installcheck/amdevcheck.pl, installcheck/Amanda_Device.pl, + installcheck/Amanda_Changer_null.pl, installcheck/ampgsql.pl, + installcheck/Installcheck.pm, installcheck/amadmin.pl, + installcheck/amvault.pl, installcheck/Amanda_Changer_compat.pl, + installcheck/Amanda_Report.pl, installcheck/amidxtaped.pl, + installcheck/mock_mtx.pl, installcheck/Amanda_Changer_disk.pl, + installcheck/Amanda_Logfile.pl, + installcheck/Amanda_Changer_multi.pl, + installcheck/amdump.pl, installcheck/catalogs/bigdb.cat, + installcheck/amreport.pl, installcheck/amcheck.pl, + installcheck/Amanda_Feature.pl, installcheck/amfetchdump.pl, + installcheck/chunker.pl, installcheck/Amanda_Xfer.pl, + installcheck/amrmtape.pl, installcheck/Amanda_Config.pl, + installcheck/amtapetype.pl, installcheck/noop.pl, + installcheck/Amanda_Config_FoldingHash.pl, + installcheck/Amanda_Process.pl, + installcheck/Amanda_MainLoop.pl, installcheck/Amanda_DB_Catalog.pl, + installcheck/Amanda_Archive.pl, amar-src/amar.c, + amar-src/amarchiver.c, amar-src/amar.h, + config/automake/scripts.am, config/automake/vars.am, + config/macro-archive/docbook-xslt.m4, + config/macro-archive/docbook-dtd.m4, + config/macro-archive/docbook-xslt-min.m4, + config/macro-archive/xsltproc.m4, + common-src/directtcp.h, common-src/amgetconf.pl, + common-src/sockaddr-util.c, common-src/sockaddr-util.h, + common-src/glib-util.c, common-src/glib-util.h, + common-src/ipc-binary.c, common-src/event-test.c, + common-src/ipc-binary.h, common-src/match-test.c, + common-src/amsemaphore-test.c, common-src/simpleprng.c, + common-src/simpleprng.h, common-src/amsemaphore.c, + common-src/quoting-test.c, common-src/fileheader-test.c, + common-src/amsemaphore.h, common-src/amcryptsimple.pl, + common-src/amaespipe.sh, common-src/testutils.c, + common-src/match.h, common-src/testutils.h, + common-src/amgpgcrypt.pl, application-src/script-email.pl, + application-src/amsuntar.pl, application-src/amzfs-snapshot.pl, + application-src/amlog-script.pl, application-src/amsamba.pl, + application-src/ampgsql.pl, application-src/amraw.pl, + application-src/amzfs-sendrecv.pl, contrib/amreport.rnc, + client-src/amdump_client.pl, ndmp-src/ndmpconnobj.c, + ndmp-src/ndmpconnobj.h, device-src/xfer-device.h, + device-src/s3-device.c, device-src/property.c, + device-src/s3.c, device-src/property.h, + device-src/xfer-dest-taper-directtcp.c, device-src/s3.h, + device-src/rait-device.c, device-src/device.c, + device-src/amtapetype.pl, device-src/device.h, + device-src/null-device.c, device-src/xfer-dest-taper.c, + device-src/directtcp-connection.c, + device-src/xfer-dest-taper-splitter.c, + device-src/xfer-dest-taper.h, device-src/amdevcheck.pl, + device-src/directtcp-connection.h, device-src/tape-device.c, + device-src/ndmp-device.c, device-src/vfs-device.c, + device-src/xfer-dest-taper-cacher.c, device-src/xfer-dest-device.c, + device-src/xfer-source-recovery.c, device-src/xfer-source-device.c, + device-src/s3-util.c, device-src/vfs-device.h, + device-src/s3-util.h, packaging/rpm/amanda.spec.src, + xfer-src/xfer-element.h, xfer-src/filter-process.c, + xfer-src/xfer.c, xfer-src/dest-directtcp-connect.c, + xfer-src/dest-buffer.c, xfer-src/source-directtcp-connect.c, + xfer-src/dest-null.c, xfer-src/xfer.h, + xfer-src/dest-directtcp-listen.c, xfer-src/source-pattern.c, + xfer-src/source-directtcp-listen.c, xfer-src/source-random.c, + xfer-src/xmsg.c, xfer-src/xfer-test.c, + xfer-src/xmsg.h, xfer-src/element-glue.c, + xfer-src/dest-fd.c, xfer-src/amxfer.h, + xfer-src/source-fd.c, xfer-src/element-glue.h, + xfer-src/filter-xor.c, xfer-src/xfer-element.c, + server-src/amcheckdump.pl, server-src/amoverview.pl, + server-src/amdumpd.pl, server-src/amcheck-device.pl, + server-src/amlogroll.pl, server-src/xfer-source-holding.c, + server-src/amlabel.pl, server-src/amvault.pl, + server-src/amcleanupdisk.pl, server-src/amidxtaped.pl, + server-src/cmdline.c, server-src/amdump.pl, + server-src/xfer-server.h, server-src/cmdline.h, + server-src/amreport.pl, server-src/amfetchdump.pl, + server-src/amrestore.pl, server-src/amcleanup.pl, + server-src/amaddclient.pl, server-src/amrmtape.pl, + server-src/amtape.pl, server-src/amserverconfig.pl, + server-src/taper.pl: update copyright dates + +2012-07-20 Jean-Louis Martineau + * common-src/timestamp.c (get_time_from_timestamp): Initialize to 0. + +2012-07-19 Jean-Louis Martineau + Patch by crocket + * perl/Makefile.am: Fix cygwin build. + +2012-07-18 Jean-Louis Martineau + * device-src/s3.c: Parse application/json reply from cloudena. + +2012-07-18 Jean-Louis Martineau + * installcheck/Amanda_IPC_LineProtocol.pl: Add synchonization to fix + race. + +2012-07-17 Jean-Louis Martineau + * server-src/amcheckdump.pl: Wait for all filters to terminate before + going to next image. Do not use '--ignore-zeros' for SMBCLIENT + backup. Pass the dump size to $xfer->start(). + * server-src/amfetchdump.pl: Wait for all filters to terminate before + going to next image. + +2012-07-16 Dan Locks + * packaging/sun-pkg/buildpkg: + * packaging/sun-pkg/client/postremove.src, + packaging/sun-pkg/server/postremove.src: remove redundant usage of + basedir. + * packaging/sun-pkg/client/postinstall.src, + packaging/sun-pkg/server/postinstall.src: same as above, plus fix + case statement. + * packaging/sun-pkg/server/preinstall.src, + packaging/sun-pkg/client/preinstall.src: remove redundant basedir, + use new check_user_* functions. + +2012-07-16 Dan Locks + * packaging/rpm/amanda.spec.src: refactor to use common functions + * packaging/rpm/buildpkg: check for ./configure, and exit if + substitute.pl fails. + +2012-07-16 Dan Locks + * packaging/deb/rules: use FULL_VERSION file to fill AMVER var, use + * concatenation trick for postinst, rm trailing whitespace + * packaging/deb/buildpkg: process postinst.src postrm.src preinst.src with substitute.pl + * packaging/deb/postinst.src: refactor to use common functions. + * packaging/deb/amanda-backup-server.postrm, + packaging/deb/amanda-backup-client.postrm, + packaging/deb/amanda-backup-client.postinst, + packaging/deb/amanda-backup-server.postinst: delete everything, add + variables pkg_type and other_pkg_type. + * packaging/deb/preinst: moved to... + * packaging/deb/preinst.src: here. refactor using common functions + * packaging/deb/postrm: moved to... + * packaging/deb/postrm.src: here. refactor using common functions. + +2012-07-16 Dan Locks + * packaging/common/common_functions.sh: remove trailing whitespace, + remove redundant usage of ${BASEDIR} in solaris functions, avoid + potentially non-portable test invocations. + * packaging/common/test_sh_libs.sh: fix some log messages, redirect + some unused output, split check_user_* tests into shorter testsr, + add tests for supplemental groups, fix running single test. + * packaging/common/mock_utils.sh: change id to error if any flags are + given, add mock for groups. + * packaging/common/post_inst_functions.sh: remove redundant leading / + * packaging/common/post_rm_functions.sh: rm trailing whitespace. + * packaging/common/pre_inst_functions.sh: use variable for user + shell, clarify log messages regarding user accounts, split + check_user into separate functions, mostly to ease testing, add + check_user_supplemental_group. + +2012-07-12 Jean-Louis Martineau + * device-src/s3-device.c: Do not free ca_info if use_ssl is not set. + * device-src/s3.c:: Set CURLOPT_CAINFO even if use_ssl is not set. + +2012-07-10 Jean-Louis Martineau + * server-src/amstatus.pl: Print 'dump done' if the dump succeeded. + +2012-07-09 Jean-Louis Martineau + * common-src/conffile.c (val_t_display_strs): Add a print_unit argument. + * common-src/conffile.h (val_t_display_strs): Change prototype. + * perl/Amanda/Config.swg (getconf_byname_strs): Use val_t_display_strs + with a FALSE print_unit. + +2012-07-09 Jean-Louis Martineau + * common-src/conffile.c: Correctly parse byte suffix. + * common-src/conffile.h: Add confunit_t. + * installcheck/amgetconf.pl: Fix for byte parsing. + +2012-07-09 Jean-Louis Martineau + * server-src/driver.c (tape_action): Fix for flush_*. + Change debug level. + +2012-06-29 Jean-Louis Martineau + * perl/Amanda/Taper/Scan/traditional.pm, + perl/Amanda/Taper/Scribe.pm: Correctly report error. + +2012-06-29 Jean-Louis Martineau + * common-src/glib-util.c: Add initialization code for openssl and + gnutls. + * config/amanda/libs.m4: Detect ssl library used by libcurl. + +2012-06-28 Jean-Louis Martineau + * device-src/s3.c: Fix compiler warning. + +2012-06-28 Jean-Louis Martineau + * device-src/s3.c: Renew swift v2 x-auth-token before it expires, use + glib if >= 2.26. + +2012-06-27 Dan Locks + * configure.in: update ac_prereq to 2.64 + +2012-06-27 Jean-Louis Martineau + * device-src/s3.c: remove code to Renew swift v2 x-auth-token, it + require glib 2.26. + +2012-06-27 Jean-Louis Martineau + * device-src/s3-device.c: New CREATE-BUCKET property. + * device-src/s3.c: Improving error message parsing. + * man/xml-source/amanda-devices.7.xml: document new CREATE-BUCKET + property. + +2012-06-26 Jean-Louis Martineau + * device-src/s3.c: Remove bogus code. + +2012-06-26 Jean-Louis Martineau + * device-src/s3.c: Renew swift v2 x-auth-token before it expires. + +2012-06-26 Jean-Louis Martineau + * common-src/conffile.c: Fix crash when parsing an invalid config file. + +2012-06-26 Jean-Louis Martineau + * device-src/s3.c: Cloudena do not have xml_version of html tag in + their reply. + +2012-06-26 Jean-Louis Martineau + * device-src/s3.c: Renew OAUTH2 token. + +2012-06-21 Jean-Louis Martineau + * perl/Amanda/Report/human.pm: Change the default columspec to: HostName=0:-12:12,Disk=1:-11:11,Level=1:-1:1,OrigKB=1:-7:0,OutKB=1:-7:0,Compress=1:-6:1,DumpTime=1:-7:7,Dumprate=1:-6:1,TapeTime=1:-6:6,TapeRate=1:-6:1 + * man/xml-source/amanda.conf.5.xml: Document new default columnspec. + * installcheck/catalogs/bigestimate.cat, + installcheck/catalogs/doublefailure.cat, + installcheck/catalogs/filesystemstaped.cat, + installcheck/catalogs/longstrange.cat, + installcheck/catalogs/multi-taper.cat, + installcheck/catalogs/normal.cat, + installcheck/catalogs/plannerfail.cat, + installcheck/catalogs/resultsmissing.cat, + installcheck/catalogs/retried-nofinish.cat, + installcheck/catalogs/retried-strange.cat, + installcheck/catalogs/retried.cat, + installcheck/catalogs/shortstrange.cat, + installcheck/catalogs/skipped.cat, + installcheck/catalogs/spanned.cat, + installcheck/catalogs/strontium.cat: fix for new default columnspec. + +2012-06-21 Jean-Louis Martineau + * device-src/s3.c: OAUTH2 use 'max-keys'. + +2012-06-20 Jean-Louis Martineau + * perl/Amanda/Taper/Worker.pm: Fix update of the status file. + +2012-06-20 Jean-Louis Martineau + * common-src/security-util.c: Fix memory corruption. + +2012-06-20 Jean-Louis Martineau + * perl/Amanda/Taper/Scribe.pm: Cancel call dump_cb. + * perl/Amanda/Taper/Worker.pm: Cancel the header xfer. + +2012-06-20 Jean-Louis Martineau + * server-src/planner.c: Fix 32 bits overflow. + +2012-06-19 Jean-Louis Martineau + * amandad-src/amandad.c, common-src/amxml.c, + common-src/security-util.c, common-src/util.c, + server-src/tapefile.c: Fix small memory leak. + * perl/Amanda/Config.swg: Mark amandaify_property_name as %newobject + * perl/Amanda/Header.swg: Mark C_from_string as %newobject + * perl/Amanda/Tapelist.swg: Mark list_new_tapes as %newobject + * perl/Amanda/Util.swg: Mark sanitise_filename, quote_string, + unquote_string and split_quoted_strings as %newobject + * xfer-src/xfer-element.c: lock elt->xfer->status_mutex before looking + at elt->xfer->status. + * device-src/device.h (Device): Add a GMutex device_mutex to protect + method with concurent access. + * device-src/device.c, device-src/ndmp-device.c, + 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: Use the mutex to protext some Device field. + +2012-06-18 Jean-Louis Martineau + * server-src/planner.c: Coorectly delay full dump if it doesn't fit in + the schedule. + +2012-06-14 Dan Locks + * packaging/common/mock_utils.sh: update id mock to handle -Gn flags, + add groupadd mock, add usermod mock, correct silent errors in inetd + and install mocks + * packaging/common/pre_inst_functions.sh: add_group now attempts to + create a potentially missing suppmemental group, add_group does not + use -A or -a, instead generates a list of current groups from id -Gn, + update error_group_member to use the name of the group passed to + add_group. + * packaging/common/test_sh_libs.sh: add 2 add_group unit tests, update + check_user_group test. + +2012-06-13 Jean-Louis Martineau + * application-src/amgtar.c: Check gtar support --no-check-device. + +2012-06-08 Jean-Louis Martineau + * perl/Amanda/Changer/aggregate.pm, perl/Amanda/Changer/disk.pm, + perl/Amanda/Changer/ndmp.pm perl/Amanda/Changer/rait.pm, + perl/Amanda/Changer/robot.pm, perl/Amanda/Changer/single.pm, + perl/Amanda/Chunker/Controller.pm, perl/Amanda/Chunker/Scribe.pm, + perl/Amanda/Recovery/Clerk.pm, perl/Amanda/Recovery/Planner.pm, + perl/Amanda/Recovery/Scan.pm, perl/Amanda/Report/human.pm, + perl/Amanda/Taper/Scribe.pm, + perl/Amanda/Taper/Worker.pm: Change many die by confess. + +2012-06-07 Jean-Louis Martineau + * device-src/s3.c: Parse message attribute in cloudena error reply. + Parse details in HP error reply. + +2012-06-04 Jean-Louis Martineau + * server-src/amrestore.pl: Typo. + +2012-06-01 Jean-Louis Martineau + * server-src/amrestore.pl: Use the blocksize argument. + +2012-06-01 Jean-Louis Martineau + * perl/Amanda/Changer/robot.pm: Print to debug if bc2lb change the + label for a barcode. Print to debug the mtx output. + * perl/Amanda/Taper/Scribe.pm: Do not use a tape if the barcode from + tapelist differ from the changer. + +2012-05-28 Jean-Louis Martineau + * application-src/amzfs-sendrecv.pl: fix print_to_server argument. + +2012-05-24 Jean-Louis Martineau + * application-src/amsamba.pl: Do not send a chomped line to index. + +2012-05-24 Jean-Louis Martineau + * perl/Amanda/Application.swg: Use IO::Handle to open mesgout. + +2012-05-23 Jean-Louis Martineau + * device-src/s3-device.c: Add project_id. + * device-src/s3.c: Add project_id. Add x-goog-project-id and + x-goo-api-version to headers. + * device-src/s3.h (s3_make_bucket, s3_is_bucket_exists) Add project_id + argument. + * man/xml-source/amanda-devices.7.xml: Document project-id property. + +2012-05-23 Jean-Louis Martineau + * device-src/s3-device.c: Call s3_open2 after setting properties. + * device-src/s3.c (s3_open2): New function. + * device-src/s3.h (s3_open2): Prototype. + +2012-05-17 Dan Locks + * packaging/sun-pkg/buildpkg: add missing --with-libcurl= for server + +2012-05-17 Jean-Louis Martineau + * common-src/event.c: Add missing "\n" in debugging. + * perl/Amanda/Application.swg: Make mesgout autoflush. + +2012-05-15 Jean-Louis Martineau + * installcheck/Amanda_Device.pl: Correctly count NDMP test. + +2012-05-15 Jean-Louis Martineau + * server-src/amvault.pl: Abort if log file already exists. + +2012-05-15 Jean-Louis Martineau + * server-src/find.c: Fix crash when log are corrupted. + +2012-05-15 Jean-Louis Martineau + * perl/Amanda/Recovery/Planner.pm (make_plan_from_filelist): Use the + changer inventory to try to use an already available dump. + * server-src/amidxtaped.pl: Pass the changer to make_plan. + +2012-05-14 Jean-Louis Martineau + * common-src/util.c, device-src/s3.c: Fix for pragma and gcc-4.5.2. + +2012-05-11 Jean-Louis Martineau + * perl/Amanda/Taper/Worker.pm (FAILED): Do it correctly. + +2012-05-11 Jean-Louis Martineau + * server-src/amstatus.pl: Improve output on taper error. + +2012-05-11 Jean-Louis Martineau + * perl/Amanda/Taper/Worker.pm (FAILED): Ignore if dump is already + cancelled. + +2012-05-11 Jean-Louis Martineau + * common-src/event.c: Improve debugging. + * server-src/dumper.c: Close data output in stop_dump. + +2012-05-11 Jean-Louis Martineau + * config/amanda/progs.m4: Define AMANDA_PROG_NC, set NC, NC6 and + NETCAT. + * configure.in: use AMANDA_PROG_NC. + * installcheck/Amanda_Device.pl: Use them. + * perl/Amanda/Constants.pm.in: Add NC, NC6 and NETCAT. + +2012-05-10 Dan Locks + * configure.in: update AC_INIT usage, specify tar-ustar and minimum + automake version. + * config/amanda/version.m4: create new AMANDA_INIT_VERSION macro to + read FULL_VERSION or VERSION before AC_INIT. + +2012-05-10 Dan Locks + * Makefile.am: update required automake version + +2012-05-08 Jean-Louis Martineau + * installcheck/Amanda_Device.pl: sleep to allow other process the time + to start listening. + +2012-05-08 Jean-Louis Martineau + * common-src/amflock.c, common-src/match.c, common-src/util.c, + device-src/s3.c: Fix for deprecated G_STATIC_MUTEX_INIT. + +2012-05-08 Jean-Louis Martineau + * installcheck/Amanda_Device.pl: Fix indirect tcp. + +2012-05-08 Jean-Louis Martineau + * client-src/sendbackup.c: Handle indirect tcp. + * device-src/ndmp-device.c: Add INDIRECT property. + * installcheck/Amanda_Device.pl: Test indirect tcp. + * man/xml-source/amanda-devices.7.xml: Document INDIRECT property. + * ndmp-src/ndmp4_translate.c: remove debugging statement. + +2012-05-01 Jean-Louis Martineau + * man/xml-source/amfetchdump.8.xml: Add --decrypt, --no-decrypt, + --server-decrypt, --client-decrypt, --compress, --no-compress, + --server-compress, --client-compress. + * server-src/amfetchdump.pl: Document new options. + +2012-04-25 Jean-Louis Martineau + * ndmp-src/ndmos.h: Define NDMOS_MACRO_FREE + * ndmp-src/ndmos_glib.h: Define NDMOS_MACRO_FREE + * ndmp-src/ndmp_translate.h: define CNVT_FREE. + * ndmp-src/ndmp4_translate.c:#Add many free function. + +2012-04-20 Jean-Louis Martineau + * server-src/amfetchdump.pl: Fix. + +2012-04-20 Jean-Louis Martineau + * server-src/amadmin.c: Fix handling of optional arguments. + * installcheck/amadmin.pl: Check it. + +2012-04-19 Jean-Louis Martineau + * client-src/amdump_client.pl: Fix warning. + +2012-04-18 Jean-Louis Martineau + * server-src/amfetchdump.pl: add --decompress and --decrypt options. + * man/xml-source/amfetchdump.8.xml: Document new options. + +2012-04-18 Jean-Louis Martineau + * common-src/conffile.c: Parse MAX_WARNINGS in dumptype. + * common-src/conffile.h: Add DUMPTYPE_MAX_WARNINGS and + dumptype_get_max_warnings + * man/xml-source/amanda.conf.5.xml: Document max_warning in dumptype. + * perl/Amanda/Config.swg: Add DUMPTYPE_MAX_WARNINGS. + * server-src/diskfile.c (add_disk): Copy max_warnings from dumptype. + * server-src/diskfile.h: Add max_warnings in disk_t. + * server-src/driverio.c (dumper_cmd): Send max_warnings to dumper. + * server-src/dumper.c: Use max_warnings. + +2012-04-18 Jean-Louis Martineau + * ndmp-src/ndmpconnobj.c: Remove useless g_source_is_destroyed check. + +2012-04-17 Jean-Louis Martineau + * common-src/amgetconf.pl: Read the disklist. + * common-src/conffile.h (seen_t): Add block. + * common-src/conffile.c: Set seen.block + * common-src/conffile.c (dump_configuration): New print_default and + print_source arguments. + * installcheck/Amanda_Config.pl: Fix dump_configuration call. + * server-src/amadmin.c: Add --no-default and --print-source arguments + for config and disklist command. + * man/xml-source/amadmin.8.xml: Document new arguments. + * perl/Amanda/Config.swg: Fix for new dump_configuration arguments. + +2012-04-16 Jean-Louis Martineau + * application-src/amstar.c: Remove spurious space on directory entry. + +2012-04-13 Jean-Louis Martineau + * common-src/conffile.c: Add TMPDIR. + * common-src/conffile.h: Add CNF_TMPDIR. + * man/xml-source/amanda.conf.5.xml: Document TMPDIR. + * perl/Amanda/Config.swg: Add CNF_TMPDIR. + * server-src/amindexd.c: Use CNF_TMPDIR. + +2012-04-12 Jean-Louis Martineau + * application-src/amsamba.pl: Create incremental empty archive. + +2012-04-11 Jean-Louis Martineau + * perl/Amanda/Changer.pm (make_new_tape_label): Fix error return. + * perl/Amanda/Taper/Scribe.pm ($_user_msg_fn): Improve message if tape + is relabeled with a new label. + * perl/Amanda/ScanInventory.pm: Set relabeled. + * installcheck/Amanda_Changer.pl: Fix for new message. + +2012-04-11 Jean-Louis Martineau + Patch by Nathan Stratton Treadway + * device-src/vfs-device.c: Improve message for MAX_VOLUME_USAGE. + * installcheck/taper.pl: Fix. + +2012-04-11 Jean-Louis Martineau + * man/xml-source/amgtar.8.xml: s/APPLCIATION/APPLICATION/ + +2012-04-06 Jean-Louis Martineau + * application-src/ampgsql.pl: psql /could not connect to server/ + message result in STRANGE. + +2012-04-06 Jean-Louis Martineau + * perl/Amanda/ScanInventory.pm: Fix for label not matching labelstr. + +2012-04-06 Jean-Louis Martineau + * device-src/device.c (device_get_bytes_written): New function. + * device-src/device.h (device_get_bytes_written): New prototype. + * device-src/ndmp-device.c, device-src/rait-device.c, + device-src/s3-device.c, device-src/tape-device.c, + device-src/vfs-device.c: Implement get_bytes_written. + * device-src/xfer-dest-taper-cacher.c, + device-src/xfer-dest-taper-splitter.c: Use device_get_bytes_written. + * perl/Amanda/Device.swg: Swig device_get_bytes_written. + +2012-04-05 Jean-Louis Martineau + * device-src/s3-device.c: New CLIENT_ID, CLIENT_SECRET and + REFRESH_TOKEN properties. Handle OAUTH2. + * device-src/s3.c: Handle OAUTH2. + * device-src/s3.h (S3_api): Add S3_API_OAUTH2. + * man/xml-source/amanda-devices.7.xml: Document new CLIENT_ID, + CLIENT_SECRET and REFRESH_TOKEN properties. + +2012-04-05 Jean-Louis Martineau + * man/xml-source/amfetchdump.8.xml: Document -l do not unencrypt. + +2012-04-05 Jean-Louis Martineau + * device-src/device.c (device_accept_with_cond, + device_connect_with_cond): New functions. + * device-src/device.h (device_accept_with_cond, + device_connect_with_cond): New prototypes. + * device-src/ndmp-device.c (accept_with_cond_impl, + connect_with_cond_impl): new functions. + * device-src/xfer-dest-taper-directtcp.c: Use device_accept_with_cond. + * ndmp-src/ndmpconnobj.c (ndmp_connection_wait_for_notify_with_cond): + new function. + * ndmp-src/ndmpconnobj.h (ndmp_connection_wait_for_notify_with_cond): + new prototype. + * perl/Amanda/Device.swg: swig accept_with_cond and connect_with_cond. + * perl/Amanda/Taper/Worker.pm: Ignore duplicate DONe message. + * server-src/driver.c (handle_dumper_result): Always send dumper + result to taper. + * server-src/dumper.c: Remove debugging statement. + * xfer-src/element-glue.c: Add debugging statement. + * xfer-src/xfer.c (xfer_cancel): Ignore duplicate cancel. + * xfer-src/xfer.h (struct Xfer): Add cancelled field. + +2012-04-05 Jean-Louis Martineau + * common-src/amcryptsimple.pl: Use gpg if available. + * common-src/amgpgcrypt.pl: Use gpg-agent and/or gpg2 if available. + * server-src/dumper.c: Log compression/encryption executed. + +2012-04-05 Jean-Louis Martineau + * device-src/s3-device.c: New S3_MULTI_DELETE property. + * device-src/s3.c: New S3_MULTI_DELETE property. + * device-src/s3.h (s3_multi_delete): New prototype. + * man/xml-source/amanda-devices.7.xml: Document new S3_MULTI_DELETE s3 + device property. + +2012-04-05 Jean-Louis Martineau + * device-src/s3-device.c: New PASSWORD, USERNAME, TENANT_ID, + TENANT_NAME and STORAGE_API property. Handle SWIFT-2. + * device-src/s3.c: Handle SWIFT-2. + * device-src/s3.h (s3_open): New prototype. + * device-src/s3.h (S3_api): New enum. + * man/xml-source/amanda-devices.7.xml: Document new PASSWORD, + USERNAME, TENANT_ID, TENANT_NAME and STORAGE_API S3 device + properties. + +2012-04-02 Jean-Louis Martineau + * application-src/amsamba.pl: Do not set unc prematurely. + +2012-04-02 Jean-Louis Martineau + * device-src/ndmp-device.c (listen_impl): Set the window offset and + length to blocksize when reading. + +2012-03-29 Dan Locks + * packaging/sun-pkg/buildpkg: add missing GLIB_LIBS variable to intel + builds. Add flags to make invocation to reduce output. + +2012-03-29 Jean-Louis Martineau + * server-src/driver.c: Fix hang if taper crash. + +2012-03-29 Jean-Louis Martineau + * device-src/s3.c: Retry on {500, S3_ERROR_None} error. + Improving debugging. + +2012-03-28 Jean-Louis Martineau + * server-src/amadmin.c: Fix bumpsize. + +2012-03-22 Jean-Louis Martineau + * common-src/fileheader.c: header type for non-amanda header is + F_WEIRD. + * server-src/amcheck-device.pl, + server-src/amtape.pl: Improve output for non-Amanda volume. + +2012-03-19 Jean-Louis Martineau + * application-src/amgtar.c: Use "TAR-BLOCKSIZE" on restore. + +2012-03-16 Jean-Louis Martineau + * application-src/ampgsql.pl: Use statefile to find end_wal on + estimate. + +2012-03-15 Jean-Louis Martineau + * application-src/amgtar.c: Add IGNORE-ZEROS property. + * man/xml-source/amgtar.8.xml: Document IGNORE-ZEROS property. + +2012-03-13 Jean-Louis Martineau + * application-src/ampgsql.pl: Do not Execute pg_start_backup for + estimate. + +2012-03-11 Jean-Louis Martineau + * common-src/glib-util.c: g_thread_supported always return TRUE on + newer version. + +2012-03-10 Jean-Louis Martineau + * common-src/glib-util.c, common-src/glib-util.h: Remove + g_queue_free_full. + +2012-03-09 Jean-Louis Martineau + * client-src/client_util.c, common-src/Makefile.am, common-src/am_sl.c, + common-src/amxml.c: typo. + +2012-03-09 Jean-Louis Martineau + * client-src/client_util.c, client-src/selfcheck.c, + client-src/sendbackup-dump.c, client-src/sendbackup-gnutar.c, + client-src/sendbackup.c, client-src/sendsize.c, + common-src/amxml.c, common-src/amxml.h, + recover-src/extract_list.c: s/level_t/am_level_t/g + * client-src/calcsize.c, common-src/amxml.h, + common-src/conffile.c, common-src/conffile.h, + common-src/sl.c, common-src/sl.h, + perl/Amanda/Header.swg: s/sl_t/am_sl_t/g + * amandad-src/amandad.h, client-src/calcsize.c, + client-src/client_util.h, common-src/Makefile.am: s/sl.h/am_sl.h + * common-src/am_sl.h: renamed from common-src/sl.h + * common-src/am_sl.c: renamed from common-src/sl.c + +2012-03-09 Jean-Louis Martineau + * server-src/amfetchdump.pl: Print progress. + * device-src/device.c (device_get_bytes_read ): New API method. + * device-src/device.h (Device): Add bytes_read. + * device-src/device.h (_DeviceClass): Add get_bytes_read. + * device-src/device.h (device_get_bytes_read): Add prototype. + * device-src/ndmp-device.c: Set bytes_read. + * device-src/rait-device.c: Set bytes_read. + * device-src/s3-device.c: Use curl progress callback to set bytes_read. + * device-src/s3.c: Set a progress callback. + * device-src/tape-device.c: Set bytes_read. + * device-src/vfs-device.c: Set bytes_read. + * device-src/xfer-device.h (xfer_source_recovery_get_bytes_read): Add + prototype. + * device-src/xfer-source-recovery.c + (xfer_source_recovery_get_bytes_read): new function. + * perl/Amanda/Device.swg (device_get_bytes_read): New function. + * perl/Amanda/Recovery/Clerk.pm: Call get_bytes_read. + * perl/Amanda/XferServer.swg: (xfer_source_holding_get_bytes_read, + * xfer_source_recovery_get_bytes_read): New prototypes. + * server-src/xfer-server.h (xfer_source_holding_get_bytes_read): + New protoype. + * server-src/xfer-source-holding.c (xfer_source_holding_get_bytes_read): + New function. + +2012-03-09 Jean-Louis Martineau + * perl/Amanda/Recovery/Scan.pm: Do not rescan the same slot + indefinitely. + +2012-03-09 Jean-Louis Martineau + * perl/Amanda/Changer/multi.pm: Fix warning. + +2012-03-09 Jean-Louis Martineau + * device-src/s3-device.c: New PROXY property. + * device-src/s3.c: Set CURLOPT_PROXY from PROXY property. + * device-src/s3.h (s3_open): Add proxy argument. + * man/xml-source/amanda-devices.7.xml: Document PROXY property. + +2012-03-08 Jean-Louis Martineau + * perl/Amanda/Header.swg (get_dle): Return undef if not set. + * server-src/amidxtaped.pl: Check dle is set. + +2012-03-08 Jean-Louis Martineau + * server-src/amvault.pl: Use the write-timestamp, not the + dump-timestamp. + +2012-03-08 Jean-Louis Martineau + * common-src/ssh-security.c: use default port if client-port is not + set. + +2012-03-07 Jean-Louis Martineau + * application-src/amsamba.pl: Fix use of subdir for restore, + prepend subdir on include for restore. + +2012-03-07 Jean-Louis Martineau + * ndmp-src/ndmjob_args.c: Add '-o D-agent-fd' argument. + +2012-03-07 Jean-Louis Martineau + * application-src/ampgsql.pl: Do not execute pg_start_backup and + pg_stop_backup on selfcheck. + +2012-02-23 Jean-Louis Martineau + * man/xml-source/amzfs-sendrecv.8.xml: Typo. + +2012-02-23 Jean-Louis Martineau + * man/xml-source/disklist.5.xml: Document includefile directive. + +2012-02-21 Jean-Louis Martineau + * 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 + * VERSION: 3.3.1 + * ReleaseNotes, NEWS: update for 3.3.1 + +2012-02-16 Jean-Louis Martineau + * 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 + * man/xml-source/amanda.conf.5.xml: Fix default netusage. + +2012-02-13 Jean-Louis Martineau + * perl/Amanda/Recovery/Clerk.pm: Typo. + +2012-02-13 Jean-Louis Martineau + * perl/make_html.pl: generate correct absolute link. + +2012-02-10 Jean-Louis Martineau + * device-src/s3.c: Do not print the data to the debug file. + +2012-02-08 Jean-Louis Martineau + * application-src/ampgsql.pl: Do not use temporary disk space while + doing backup or recovery. + +2012-02-08 Jean-Louis Martineau + * perl/Amanda/DB/Catalog.pm: filenum must be sorted numerically. + +2012-02-07 Jean-Louis Martineau + * application-src/ampgsql.pl: pg_version 802000 => 80200. + +2012-02-01 Jean-Louis Martineau + * application-src/ampgsql.pl: Do not print normal + pg_xlogfile_name_offset output to MESG stream. + +2012-01-31 Dan Locks + * packaging/deb/preinst, packaging/rpm/amanda.spec.src: change /bin/sh + to /bin/bash. + +2012-01-27 Jean-Louis Martineau + * 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 + * device-src/s3.c: Set xmlns for IIJ. + +2012-01-23 Jean-Louis Martineau + * device-src/s3-device.c: Fix for openstack swift api. + +2012-01-23 Jean-Louis Martineau + * 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 + * 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 + * device-src/s3-device.c: Fix deleting files. + +2012-01-09 Jean-Louis Martineau + * server-src/amtape.pl: Fix amtape show for non numeric slot. + +2012-01-04 Jean-Louis Martineau + * recover-src/extract_list.c: Fix for compilation on AIX. + +2012-01-04 Dan Locks + * 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 + * 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 + * perl/Amanda/Changer/multi.pm: Print the state filename to the debug + file. + +2012-01-02 Jean-Louis Martineau + * perl/Amanda/ScanInventory.pm: Correctly set 'err'. + * server-src/amtape.pl: quit the changer even on error. + +2011-12-23 Jean-Louis Martineau + Patch by Nathan Stratton Treadway. + * common-src/conffile.c (read_int_or_str): Fix error message. + +2011-12-22 Jean-Louis Martineau + * server-src/planner.c: Fix force-bump with overdue filesystem. + +2011-12-22 Jean-Louis Martineau + * server-src/amlabel.pl: --asign require --meta or --barcode. + +2011-12-16 Jean-Louis Martineau + * application-src/amgtar.c: Fix GNUTAR-LISTDIR property. + +2011-12-14 Jean-Louis Martineau + * device-src/s3.c (s3_is_bucket_exists): Set max-keys=1. + +2011-12-14 Jean-Louis Martineau + * perl/Amanda/Recovery/Scan.pm (new): Return changer error. + +2011-12-12 Jean-Louis Martineau + * 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 + * example/template.d/amanda-harddisk.conf.in: fix for installcheck. + +2011-12-08 Jean-Louis Martineau + * NEWS, ReleaseNotes: Update for 3.3.1 + +2011-12-08 Jean-Louis Martineau + * 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 + * 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 + * man/xml-source/amvault.8.xml: Improve. + +2011-12-07 Jean-Louis Martineau + * 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 + * server-src/amcleanup.pl, server-src/amcleanupdisk.pl: use + Amanda::Debug. + +2011-12-05 Jean-Louis Martineau + 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 + * 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 + * 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 + * 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 + * man/xml-source/amanda.conf.5.xml (autolabel): Document it must match + labelstr. + +2011-12-01 Jean-Louis Martineau + * device-src/s3-device.c (delete_file): Use multiple threads. + +2011-11-30 Jean-Louis Martineau + * 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 + * device-src/xfer-source-recovery.c (pull_buffer_impl): Release lock + before calling wait_until_xfer_cancelled. + +2011-11-28 Jean-Louis Martineau + * server-src/amfetchdump.pl: Fix usage. + * man/xml-source/amfetchdump.8.xml: Fix synopsis. + +2011-11-25 Jean-Louis Martineau + * 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 + * device-src/s3.c (build_url): curl is G_GNUC_UNUSED. + +2011-11-21 Jean-Louis Martineau + * server-src/amtape.pl: Fix 'amtape show' with one slot. + * installcheck/amtape.pl: Test it. + +2011-11-21 Jean-Louis Martineau + * server-src/amreport.pl: Check if executable before open3(). + * installcheck/amreport.pl: Fix for new message. + +2011-11-21 Jean-Louis Martineau + * perl/Amanda/Changer.pm: Correctly check barcode is not defined. + +2011-11-21 Jean-Louis Martineau + * perl/Amanda/Changer.pm: Correctly substititue '%' if not present. + +2011-11-21 Jean-Louis Martineau + * server-src/amtape.pl: Add [slots] argument to amtape show. + * man/xml-source/amtape.8.xml: Document it. + +2011-11-21 Jean-Louis Martineau + * 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 + * server-src/amdump.pl: Log a 'START planner date' line on error'. + +2011-11-14 Jean-Louis Martineau + * device-src/s3.c: Use curl_easy_escape. + +2011-11-14 Jean-Louis Martineau + * installcheck/gnutar.pl: Fix for fc16. + +2011-11-10 Jean-Louis Martineau + * installcheck/mock/mtx.pl: Fix qw. + +2011-11-10 Jean-Louis Martineau + * server-src/amstatus.pl: Use Getopt::Long + +2011-11-10 Jean-Louis Martineau + * device-src/s3.c: Use CURLOPT_MAX_RECV_SPEED_LARGE. + +2011-11-10 Jean-Louis Martineau + * 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 + * perl/Amanda/Report.pm: Always report the first 100 strange lines. + * installcheck/catalogs/longstrange.cat: Fix test. + + +2011-11-09 Jean-Louis Martineau + * server-src/amreport.pl: Fix for perl-5.14 + * installcheck/amreport.pl: Add test. + +2011-11-09 Jean-Louis Martineau + * installcheck/Installcheck/Changer.pm: Fix warnign for perl 5.14. + +2011-11-09 Jean-Louis Martineau + * application-src/ampgsql.pl: Print state filename to debug file. + +2011-11-07 Jean-Louis Martineau + * 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 + * perl/Amanda/Changer.pm (release): Always call finished_cb. + * installcheck/amcheck-device.pl: Add a check. + +2011-10-12 Jean-Louis Martineau + * server-src/driverio.c (update_info_dumper): Set date to 0 if + datestamp is 0. + +2011-10-07 Jean-Louis Martineau + * application-src/ampgsql.pl: If datadir is not set, use the disk + argument. + +2011-10-07 Jean-Louis Martineau + * 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 + * common-src/match.c: Update from trunk. + +2011-10-05 Jean-Louis Martineau + * device-src/s3.c: Retry in case of CURLE_SSL_CONNECT_ERROR error. + +2011-10-05 Jean-Louis Martineau + * installcheck/gnutar.pl: Add support for fc14 and fc15. + +2011-10-04 Jean-Louis Martineau + * recover-src/extract_list.c: Do not crahs if amidxtaped close the + connection. + +2011-10-04 Jean-Louis Martineau + * device-src/s3.c: Correctly set thunk->next_marker. + +2011-09-30 Dan Locks + * 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 + * 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 + * perl/Amanda/Holding.pm: fix dirfn. + +2011-09-21 Jean-Louis Martineau + Patch by Sam Stuck + * man/xml-source/amanda-changers.7.xml: Typo. + +2011-09-20 Jean-Louis Martineau + * 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 + * installcheck/Amanda_Device.pl: Check setting a property with an + invalid name. + +2011-09-07 Jean-Louis Martineau + * perl/Amanda/Device.swg: Do not g_value_unset an uninitialized value. + +2011-09-07 Jean-Louis Martineau + * application-src/amzfs-sendrecv.pl: restore works without --device. + +2011-09-06 Jean-Louis Martineau + * common-src/amcryptsimple.pl: Do not use gpg-agent if it is not + available. + +2011-09-02 Jean-Louis Martineau + * client-src/selfcheck.c (print_platform): Another fix. + +2011-09-02 Jean-Louis Martineau + * common-src/amcryptsimple.pl: Use gpg-agent. + +2011-09-02 Jean-Louis Martineau + * client-src/selfcheck.c (print_platform): Fix. + +2011-09-01 Jean-Louis Martineau + * server-src/amadmin.c (export) parse version without patch number. + +2011-09-01 Jean-Louis Martineau + * 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 + * 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 + * server-src/dumper.c: filter stderr make result strange, + filter exit_code != 0 make it fail. + +2011-08-31 Jean-Louis Martineau + * application-src/amgtar.c: Do not rename gnutar-list if record is not + set. + +2011-08-31 Jean-Louis Martineau + * 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 + * 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 + * installcheck/Amanda_Device.pl: Fix number of skipped test for S3. + +2011-08-31 Jean-Louis Martineau + * server-src/planner.c: Print why a disk is skip if DS_NOINC. + +2011-08-30 Jean-Louis Martineau + * installcheck/Amanda_Device.pl: Check invalid location on s3 device. + +2011-08-30 Jean-Louis Martineau + * device-src/s3.c (s3_is_bucket_exists): Do not retry if bucket do + not exists. + +2011-08-30 Jean-Louis Martineau + * 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 + * 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 + * perl/Amanda/Changer.pm: Fix warning. + +2011-08-29 Jean-Louis Martineau + * installcheck/Amanda_Changer_ndmp.pl, + installcheck/Amanda_Changer_robot.pl: Fix for previous patch. + +2011-08-29 Jean-Louis Martineau + * perl/Amanda/Changer/robot.pm: return a reservation even on error. + +2011-08-29 Jean-Louis Martineau + Patch by Gunar Gunnarsson + * server-src/amvault.pl: Cast $dump->{'kb'} to int. + +2011-08-24 Jean-Louis Martineau + * man/xml-source/amanda-devices.7.xml: Update S3 location url. + +2011-08-24 Jean-Louis Martineau + * common-src/match.c: Fix for 'Trailing backslash' error + * common-src/match-test.c: Add test + +2011-07-27 Jean-Louis Martineau + * 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 + * common-src/amservice.c, recover-src/amrecover.c, + server-src/amflush.c: #include "getopt.h" + +2011-07-27 Jean-Louis Martineau + * 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 + * 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 + * client-src/selfcheck.c: Check return value of fgets. + +2011-07-27 Jean-Louis Martineau + * many */*.pl: add --version option. + +2011-07-27 Jean-Louis Martineau + * application-src/ampgsql.pl: print to debug file and server if unlink + fail. + +2011-07-25 Jean-Louis Martineau + * 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 + * client-src/client_util.c: fix + +2011-07-25 Jean-Louis Martineau + * 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 + * perl/Amanda/Changer.pm: Fix warning if $s is not used. + +2011-07-22 Jean-Louis Martineau + * 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 + * 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 + * man/xml-source/amanda-taperscan.7.xml: Typo. + +2011-07-20 Jean-Louis Martineau + * 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 + * 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 + * 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 + * man/xml-source/amanda-changers.7.xml: Add chg-single documentation. + +2011-07-14 Jean-Louis Martineau + * device-src/s3-device.c:Increase S3_DEVICE_MAX_BLOCK_SIZE to 3GiB. + +2011-07-14 Jean-Louis Martineau + * device-src/s3-device.c:Increase S3_DEVICE_MAX_BLOCK_SIZE to 5TiB. + +2011-07-13 Jean-Louis Martineau + * 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 + * device-src/s3-device.c: Fix gcc warning for s3_rval set but not used + +2011-07-12 Jean-Louis Martineau + * config/amanda/libs.m4: Fix use of AC_LINK_IFELSE. + +2011-07-12 Jean-Louis Martineau + * 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 + 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 + * 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 + * Many *.c files: Fix for gcc-4.6.0 warning: variable ‘NAME’ set but + not used. + +2011-07-07 Jean-Louis Martineau + * perl/Amanda/Taper/Scribe.pm: Keep the barcode when relabeling a tape + +2011-07-05 Jean-Louis Martineau + * perl/Amanda/Changer/robot.pm: Retry up to 120 seconds if the sense + key is 'Not Ready' + +2011-06-29 Jean-Louis Martineau + * application-src/amstar.c: typo. + +2011-06-29 Jean-Louis Martineau + * server-src/driver.c: Call short_dump_state on all state change. + +2011-06-29 Jean-Louis Martineau + Patch by p_michalczyk + * application-src/amstar.c: Place command_options at the and of + command line. + +2011-06-29 Jean-Louis Martineau + Patch by p_michalczyk + * application-src/amstar.c: Add missing break statement. + +2011-06-29 Jean-Louis Martineau + 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 + * server-src/driver.c: Check holding file is in a holding directory. + +2011-06-27 Jean-Louis Martineau + * man/xml-source/amanda-devices.7.xml: s/Witout/Without/ + +2011-06-21 Jean-Louis Martineau + * 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 + * perl/Amanda/Taper/Scribe.pm: Fix add_tapelabel call. + +2011-06-20 Jean-Louis Martineau + * perl/Amanda/Taper/Scribe.pm: Correcly make label with meta and barcode + +2011-06-20 Jean-Louis Martineau + * 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 + * 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 + * perl/Amanda/Taper/Worker.pm: s/messsage/message/. + 2011-05-31 Jean-Louis Martineau * VERSION: 3.3.0