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 2011-05-31 Jean-Louis Martineau * configure.in: Move AMANDA_S3_DEVICE to do libcurl detection later. 2011-05-31 Jean-Louis Martineau * NEWS, ReleaseNotes: Update for 3.3.0 release. 2011-05-30 Jean-Louis Martineau * server-src/list_dir.c: fix add_dir_list_item. 2011-05-27 Dan Locks * packaging/rpm/amanda.spec.src: replace enable-as-needed rpm macro with enable_as_needed. 2011-05-24 Dan Locks * packaging/deb/rules: use --enable-as-needed * packaging/rpm/amanda.spec.src: use --enable-as-needed except on sles9, where ld does not have the --as-needed flag. 2011-05-24 Jean-Louis Martineau * installcheck/gnutar.pl: Fix gnutar pattern matching for gtar 1.25. 2011-05-24 Jean-Louis Martineau * application-src/ampgsql.pl: Parse and filter stdout/stderr of commands. 2011-01-20 Francis Galiegue * server-src/driverio.c: fix non-NULL terminated argument list in vstralloc() 2011-05-18 Jean-Louis Martineau * Fix for default BSDTCP auth. 2011-05-18 Jean-Louis Martineau * amandad-src/amandad.c, common-src/conffile.c: Change default auth to bsdtcp. * NEWS, ReleaseNotes: Change default auth to bsdtcp. * example/amanda-client.conf.in, example/amanda.conf.in: Change default auth to bsdtcp. * man/xml-source/amanda-auth.7.xml, man/xml-source/amanda-client.conf.5.xml, man/xml-source/amanda.conf.5.xml, man/xml-source/amrecover.8.xml: Change default auth to bsdtcp. 2011-05-17 Jean-Louis Martineau * device-src/ndmp-device.c: s/NDMP4_/NDMP9_/g 2011-05-17 Jean-Louis Martineau * man/xml-source/amrecover.8.xml: Add an AUTH section. 2011-05-13 Jean-Louis Martineau * perl/Amanda/Taper/Controller.pm, perl/Amanda/Taper/Protocol.pm, perl/Amanda/Taper/Worker.pm: Remove uneeded '#! @PERL@' first line. 2011-05-12 Jean-Louis Martineau * server-src/amdump.pl: s/Catched/Caught/ 2011-05-12 Jean-Louis Martineau * server-src/amdump.pl: Trap ctrl-c while backup is running, resume by sending email and log rotation. 2011-05-10 Jean-Louis Martineau * perl/Amanda/Taper/Scribe.pm: Call $device->finish() before $device->read_label(), A device must be in ACCESS_NULL for read_label. 2011-05-05 Jean-Louis Martineau * common-src/conffile.c: Do not crash on unterminated quoted string. 2011-05-05 Jean-Louis Martineau * application-src/amzfs-sendrecv.pl: Implement restore. Generate index with only '/'. * perl/Amanda/Application/Zfs.pm: Add $self->{filesystem} on some command, improve zfs_build_snapshotname. * server-src/list_dir.c (add_dir_list_item): Check if same dump. 2011-05-05 Jean-Louis Martineau * common-src/local-security.c: Call initgroups before executing amandad 2011-05-05 Jean-Louis Martineau * server-src/driver.c: Do not count dup to tape when checking space on holdingdisk. 2011-04-29 Jean-Louis Martineau * device-src/s3.c: Do not get "location" if bucket_location is not set. 2011-04-29 Jean-Louis Martineau * server-src/driver.c: Reply immediately a NO_NEW_TAPE if taper ask REQUEST_NEW_TAPE after it is in TAPER_STATE_DONE. 2011-04-27 Jean-Louis Martineau * perl/Amanda/Device.swg: Do not crash if an unknown device-property is set. 2011-04-26 Jean-Louis Martineau * device-src/s3-device.c: Add thread and new properties to identify the device. * device-src/s3.c: New properties to identify the device. * device-src/s3.h: New s3_open prototype. * man/xml-source/amanda-devices.7.xml: Document new properties. * NEWS, ReleaseNotes: Document new features. 2011-04-20 Jean-Louis Martineau * server-src/planner.c: Improve balancing if some dle have strategy noinc or a smaller dumpcycle. 2011-04-19 Jean-Louis Martineau * server-src/amidxtaped.pl: Do the uncompress if client can't do it. 2011-04-19 Jean-Louis Martineau * perl/Amanda/Changer.pm: new changer error: empty. * perl/Amanda/Changer/robot.pm: return empty slot. * perl/Amanda/Taper/Scan/traditional.pm: Handle empty slot. 2011-04-18 Jean-Louis Martineau * perl/Amanda/Changer.pm: Check generated label and meta-label. 2011-04-18 Jean-Louis Martineau * man/xml-source/amlabel.8.xml: Improve doc. * server-src/amlabel.pl: Remove spurious print. 2011-04-12 Jean-Louis Martineau * server-src/amadmin.c: Do not free find result string. * server-src/find.c: Use GStringChunk to store all find_dump string. 2011-04-11 Jean-Louis Martineau * configure.in: Use AMANDA_AS_NEEDED. * config/amanda/as_needed.m4: Add --as-needed, set AS_NEEDED_FLAGS. * client-src/Makefile.am, amandad-src/Makefile.am, ndmp-src/Makefile.am, device-src/Makefile.am, application-src/Makefile.am, xfer-src/Makefile.am, server-src/Makefile.am, amar-src/Makefile.am, common-src/Makefile.am: Add AS_NEEDED_FLAGS to many *_LDFLAGS. 2011-04-11 Jean-Louis Martineau * perl/Amanda/DB/Catalog.pm: Parse negative kb and orig-kb. * perl/Amanda/Logfile.swg: Do not write negative orig-kb. 2011-04-06 Jean-Louis Martineau * man/xml-source/amanda-devices.7.xml: Typo. 2011-04-06 Jean-Louis Martineau * perl/Amanda/Interactivity.pm: Add documentation. 2011-04-06 Jean-Louis Martineau * server-src/driver.c: Fix Computation of data_lost on current and next tape. 2011-04-01 Jean-Louis Martineau * NEWS, ReleaseNotes: Update for 3.3.0beta1. 2011-04-01 Jean-Louis Martineau * amplot/amplot.awk: Fix for new log format, fix small -t display, fix 'set key' syntax. * amplot/amplot.g: Fix 'set data' and 'plot' syntax. 2011-03-31 Jean-Louis Martineau * VERSION: 3.3.0beta1 2011-03-30 Jean-Louis Martineau * installcheck/taper.pl: Fix installcheck for 'splitting not enabled'. 2011-03-30 Jean-Louis Martineau * VERSION: 3.3.0_beta1 2011-03-30 Jean-Louis Martineau * device-src/vfs-device.c: LEOM property default to TRUE. 2011-03-30 Jean-Louis Martineau * perl/Amanda/Taper/Scribe.pm: Log 'splitting not enabled' on write failure. 2011-03-30 Jean-Louis Martineau * NEWS, ReleaseNotes: Update for 3.3.0 2011-03-30 Jean-Louis Martineau * common-src/conffile.c: Add client-name option to application and script * common-src/conffile.h: Add client-name option to application and script * perl/Amanda/Config.swg: Add APPLICATION_CLIENT_NAME and PP_SCRIPT_CLIENT_NAME. * common-src/amfeatures.c: Add fe_application_client_name and fe_script_client_name. * common-src/amfeatures.h: Add fe_application_client_name and fe_script_client_name. * common-src/amxml.c: Pares client_name * common-src/amxml.h: Add application_client_nake in dle_t and client_name in script_t. * server-src/diskfile.c: Put client-name in xml output. * server-src/amcheck.c: Check client-name and fe_*_client_name. * client-src/client_util.c (merge_properties, merge_dles_properties): new function. * client-src/client_util.h (merge_properties, merge_dles_properties): new prototype. * client-src/selfcheck.c, client-src/sendbackup.c, client-src/sendsize.c: Call merge_dles_properties to merge properties * man/xml-source/amanda-client.conf.5.xml, man/xml-source/amanda.conf.5.xml: Document client-name. * recover-src/extract_list.c: merge properties. * NEWS: Add new features. 2011-03-28 Jean-Louis Martineau * application-src/amlog-script.pl: Remove warning of unused variable. 2011-03-28 Jean-Louis Martineau * server-src/amcheckdump.pl, server-src/amfetchdump.pl, server-src/amidxtaped.pl, server-src/amrestore.pl: Use int(). 2011-03-28 Jean-Louis Martineau * xfer-src/filter-process.c: Call g_critical if pipe() fail. 2011-03-28 Jean-Louis Martineau Change the Amanda:Xfer::Filter::Process api, it always create a pipe for the process stderr, the callers must read from it. Callers can send it to debug file, stderr or to amrecover. * installcheck/Amanda_Xfer.pl: Change for new AXF::Process API. * perl/Amanda/Xfer.pod: Document new AXF::Process API. * perl/Amanda/Xfer.swg: Change for new AXF::Process API. * server-src/amcheckdump.pl, server-src/amfetchdump.pl, server-src/amrestore.pl: Use new AXF::Process API, send it to stderr and debug file. * server-src/amidxtaped.pl: Use new AXF::Process API, send it to debug file and amrecover. * xfer-src/filter-process.c: Remove log_stderr argument of xfer_filter_process, add new get_err_fd method. * xfer-src/xfer-element.h: Change xfer_filter_process prototype. 2011-03-27 Dustin J. Mitchell * perl/Amanda/Util.swg: revert previous patch * gnulib/Makefile.am gnulib/fsusage.h gnulib/regenerate/fsusage-no-bool.patch gnulib/regenerate/regenerate: patch fsusage.h to not use stdbool * device-src/vfs-device.c: don't use 'false' and 'true' (from stdbool) 2011-03-26 Dustin J. Mitchell * perl/Amanda/Util.swg: include fsusage.h early in the generated C to avoid problems with SWIG #undefine-ing 'bool' on Mac OS X with the system-installed Perl 2011-03-25 Jan Görig * config/amanda/krb5-security.m4: fix linking against wrong libraries on systems where krb5 directory is libdir and amanda is installed 2011-03-25 Jean-Louis Martineau * server-src/driver.c: Fix iteration over a list it modify. 2011-03-22 Jean-Louis Martineau * application-src/amstar.c: read include_list and pass each line as argument for restore operation. 2011-03-22 Jean-Louis Martineau * application-src/amgtar.c: Cast with off_t. * application-src/amstar.c: Cast with off_t. 2011-03-21 Jean-Louis Martineau * application-src/amstar.c: Add ACL property. * man/xml-source/amstar.8.xml: Document ACL property. 2011-03-21 Jean-Louis Martineau * config/amanda/dumpers.m4: Add AMANDA_PROG_SUNTAR, --with-suntar=?? * configure.in: Use AMANDA_PROG_SUNTAR. * perl/Amanda/Constants.pm.in: Define $Amanda::Constants::SUNTAR * application-src/amsuntar.pl: Use $Amanda::Constants::SUNTAR, Add SUNTAR-PATH property. * man/xml-source/amsuntar.8.xml: Document SUNTAR-PATH property. 2011-03-15 Jean-Louis Martineau * server-src/find.c: Compute maxparts from the list of part. 2011-03-11 Jean-Louis Martineau * perl/Amanda/Taper/Scribe.pm: If leom is supported by device, then the dle can be split. * perl/Amanda/Taper/Worker.pm: Send leom setting to get_splitting_args_from_config. * server-src/planner.c: dle can use more than one tape if allow-split is set, this is to handle leom device where splitsize can be 0. 2011-03-10 Jean-Louis Martineau * perl/Amanda/Changer/disk.pm: Use -l to check symlink existance. 2011-03-10 Jean-Louis Martineau * server-src/amadmin.c: export quote host and disk name, import parse quoted host and disk name. 2011-03-09 Jean-Louis Martineau * ReleaseNotes, NEWS: Add changes for 3.2.2 and 3.3.0. 2011-03-08 Jean-Louis Martineau * application-src/amsamba.pl: Use smbclient -TF for restore. 2011-03-07 Jean-Louis Martineau * server-src/amtrmidx.c: Fix memory leak. 2011-03-02 Jean-Louis Martineau * common-src/amservice.c; Moved from server-src/amservice.c * server-src/amservice.c: Moved to server-src/amservice.c * common-src/Makefile.am: Add amservice * man/Makefile.am: Install amservice man page on client. * server-src/Makefile.am: Remove amservice 2011-03-01 Jean-Louis Martineau * perl/Amanda/Changer.pm (make_new_tape_label): Fix if $tle is undef. * perl/Amanda/ScanInventory.pm: Call _user_msg with label argument. * perl/Amanda/Taper/Scan.pm: Document new user_msg_fn argument. * perl/Amanda/Taper/Scan/traditional.pm: Call _user_msg on various tape error. * perl/Amanda/Taper/Scribe.pm (_user_msg_fn): Call scribe_notif_log_info with error message. * perl/Amanda/Taper/Worker.pm: Log error in scribe_notif_new_tape. * installcheck/Installcheck/Config.pm: Add taperscan definition. * installcheck/taper.pl: Test new log. 2011-03-01 Jean-Louis Martineau * perl/Amanda/Header.swg: Remove bogus %module. 2011-03-01 Jean-Louis Martineau * common-src/amfeatures.c: Add fe_amrecover_receive_unfiltered. * common-src/amfeatures.h: Add fe_amrecover_receive_unfiltered. * perl/Amanda/Feature.pod: Add fe_amrecover_receive_unfiltered. * perl/Amanda/Header.swg: Add get_dle method, handle dle_t. * recover-src/extract_list.c: Pipe decompression or decyption. * server-src/amidxtaped.pl: Do not decompress/decrypt if amrecover can do it. 2011-02-14 Jean-Louis Martineau * server-src/driver.c: flush even if flush threshold are not met if it save tape space. 2011-02-03 Jean-Louis Martineau * perl/Amanda/Taper/Scribe.pm: get_splitting_args_from_config() always return 'allow_split', get_xfer_dest() take a allow_split param, set $self->{'allow_split'}, Abort a dump on EOM if splitting is not allowed. * perl/Amanda/Taper/Worker.pm: Do not set can_cache_inform if splitting is not allowed. * installcheck/Amanda_Taper_Scribe.pl: Fix for previous change. * installcheck/taper.pl: Test that dump are aborted on EOM. 2011-02-01 Jean-Louis Martineau Patch by Jan Görig * server-src/amrestore.pl: Allow to go to next file with -p. 2011-01-26 Jean-Louis Martineau * perl/Amanda/Logfile.swg: "%lld" do not works with perl-5.6. 2011-01-26 Jean-Louis Martineau * server-src/amdumpd.pl: Add CHECK command. * client-src/amdump_client.pl: Add check command. * man/xml-source/amdump_client.8.xml: Document check command. 2011-01-26 Jean-Louis Martineau * server-src/driver.c: Parse 'bytes' in reply. 2011-01-25 Jean-Louis Martineau * server-src/driver.c: Fix taperalog *FIT no going to second volume. 2011-01-25 Jean-Louis Martineau * perl/Amanda/Logfile.swg: print 'bytes' with 64 bits type. 2011-01-25 Jean-Louis Martineau * perl/Amanda/Logfile.swg: kb must be integer. 2011-01-24 Jean-Louis Martineau * server-src/amcheckdump.pl: Do not quit the clerk if it is not defined 2011-01-22 Jean-Louis Martineau * server-src/amdumpd.pl: Execute "$sbindir/amdump" 2011-01-22 Jean-Louis Martineau * installcheck/Amanda_Config.pl: Check recovery-limit, dump-limit, amdump-server, index-server, tape-server. * installcheck/Makefile.am: Add amdump_client. * installcheck/amdump_client.pl: Test new amdump_client program. 2011-01-22 Jean-Louis Martineau * client-src/Makefile.am: Add amdump_client. * client-src/amdump_client.pl: New client program. * common-src/conffile.c: Add amdump-server in client config file. * common-src/conffile.h: Add CNF_AMDUMP_SERVER * perl/Amanda/Config.swg: Add CNF_AMDUMP_SERVER * man/Makefile.am: Add amdump_client.8. * man/xml-source/amdump_client.8.xml: New man page for amdump_client. 2011-01-22 Jean-Louis Martineau * amandad-src/amandad.c: Add SERVICE_AMDUMPD, All service are active by default for rsh, ssh and local auth. * common-src/conffile.c: Add dump-limit dumptype option. * common-src/conffile.h: Add dump-limit dumptype option. * man/xml-source/amanda.conf.5.xml: Document new dump-limit option. * common-src/local-security.c, common-src/rsh-security.c, common-src/ssh-security.c: Do not add the service on the command line * perl/Amanda/Config.swg: swig dump-limt * server-src/Makefile.am: Add amdumpd perl script. * server-src/amadmin.c (disklist_one): Print dump-limit. * server-src/amdumpd.pl: New deamon script. * server-src/amdump.pl: New --from-client option. * server-src/diskfile.h: Add dump_limit in disk_t. * server-src/diskfile.c: Set dump_limit. * server-src/driver.c: New --from-client option. * server-src/planner.c: New --from-client option. 2011-01-22 Jean-Louis Martineau * common-src/conffile.c: Rename *recovery_limit* *host_limit*, add 'server' in a host-limit. * common-src/conffile.h: Rename. * common-src/local-security.c: Use sec_get_authenticated_peer_name_gethostname. * common-src/security-util.c: New sec_get_authenticated_peer_name_gethostname function to return gethostname. * common-src/security-util.h: New prototype. * man/xml-source/amanda.conf.5.xml: Document 'server' for recovery-limit. * perl/Amanda/Config.swg: Return $Amanda::Config::LIMIT_SAMEHOST same-host, return $Amanda::Config::LIMIT_SERVER for server. * server-src/amidxtaped.pl: Use $Amanda::Config::LIMIT_SAMEHOST and $Amanda::Config::LIMIT_SERVER. * server-src/amindexd.c: Use 'server' value. * installcheck/Amanda_Config.pl: Fix for change. 2011-01-22 Jean-Louis Martineau * server-src/driver.c: Fix driver doing nothing if taper crash early. 2011-01-20 Francis Galiegue * xfer-src/source-pattern.c: remove duplicate test 2011-01-20 Dustin J. Mitchell * man/xml-source/amanda-interactivity.7.xml man/xml-source/amanda-taperscan.7.xml man/xml-source/amanda.conf.5.xml: copyediting * perl/Amanda/Interactivity/tty_email.pm: fix POD to indicate the nature of the class 2011-01-20 Jean-Louis Martineau * man/xml-source/amservice.8.xml: typo, must be at the beginning of a line. 2011-01-20 Jean-Louis Martineau * server-src/amservice.c: Use full_write, check for error. 2011-01-20 Jean-Louis Martineau * server-src/diskfile.c: Do not report error if a dle is listed twice in argument list. * installcheck/amadmin.pl: Test it. 2011-01-20 Jean-Louis Martineau * server-src/amservice.c: Add -s option. * man/xml-source/amservice.8.xml: Document -s option. 2011-01-20 Jean-Louis Martineau * installcheck/Amanda_Taper_Scan_lexical.pl, installcheck/Amanda_Taper_Scan_oldest.pl: Fix for perl-5.6. 2011-01-20 Jean-Louis Martineau * common-src/conffile.c: Add interactivity and taperscan section. * common-src/conffile.h: Add interactivity and taperscan section. * perl/Amanda/Config.swg: Add interactivity and taperscan. * example/amanda.conf.in: Add interactivity and taperscan example. * man/Makefile.am: Add new amanda-interactivity.7 * man/xml-source/amanda-interactivity.7.xml: Document interactivity. * man/xml-source/amanda-taperscan.7.xml: Document new taperscan. * man/xml-source/amanda.8.xml: Add link to amanda-interactivity man page. * man/xml-source/amanda.conf.5.xml: Document interactivity and taperscan section. * perl/Amanda/Changer.pm (new): Take tapelist, labelstr, autolabel and meta_autolabel arguments. * perl/Amanda/Changer.pm (volume_is_labelable, make_new_meta_label, make_new_tape_label, have_inventory: New method. * perl/Amanda/Interactive.pm: Renamed * perl/Amanda/Interactive/stdin.pm: Renamed * perl/Amanda/Interactivity.pm: Copy of Interactive.pm: * perl/Amanda/Interactivity/stdin.pm: Copy of Interactive/stdin.pm. * perl/Amanda/Interactivity/email.pm: New interactivity module. * perl/Amanda/Interactivity/tty.pm: New interactivity module. * perl/Amanda/Interactivity/tty_email.pm: New interactivity module. * perl/Amanda/Recovery/Scan.pm: s/Interactive/Interactivity/. * perl/Amanda/ScanInventory.pm: Base class for scan algorithm. * perl/Amanda/Tapelist.swg (add_tapelabel): Do the add in order. * perl/Amanda/Taper/Controller.pm: Use interactivity and taperscan. * perl/Amanda/Taper/Scan.pm: Allow plugable module. * perl/Amanda/Taper/Scan/lexical.pm: new scan algorithm. * perl/Amanda/Taper/Scan/oldest.pm: new scan algorithm. * perl/Makefile.am: Add new files. * server-src/amcheck-device.pl: Use interactivity and taperscan. * server-src/amcheckdump.pl: Use interactivity and taperscan. * server-src/amfetchdump.pl: Use interactivity and taperscan. * server-src/amidxtaped.pl: Use interactivity and taperscan. * server-src/amtape.pl: Use interactivity and taperscan. * server-src/amvault.pl: Use interactivity and taperscan. * installcheck/Amanda_Changer.pl: Test new methods. * installcheck/Amanda_Changer_compat.pl: Test have_inventory. * installcheck/Amanda_Changer_disk.pl: Test have_inventory. * installcheck/Amanda_Changer_multi.pl: Test have_inventory. * installcheck/Amanda_Changer_ndmp.pl: Test have_inventory. * installcheck/Amanda_Changer_null.pl: Test have_inventory. * installcheck/Amanda_Changer_rait.pl: Test have_inventory. * installcheck/Amanda_Changer_robot.pl: Test have_inventory. * installcheck/Amanda_Config.pl: Test new interactivity and taperscan section. * installcheck/Amanda_Recovery_Scan.pl: s/Interactive/Interactivity/ * installcheck/Amanda_Tapelist.pl: test new add_tapelabel behavior. * installcheck/Amanda_Taper_Scan_lexical.pl: Test new module. * installcheck/Amanda_Taper_Scan_oldest.pl: Test new module. * installcheck/Installcheck/Config.pm (add_interactivity, add_taperscan): New methods. * installcheck/Makefile.am: Add new files. 2011-01-17 Francis Galiegue * xfer-src/element-glue.c: fix memory leak in read_and_push() 2011-01-16 Francis Galiegue * xfer-src/element-glue.c xfer-src/filter-xor.c xfer-src/xfer-element.c xfer-src/xfer-element.h: xfer: rename xfer_element_drain* utility functions - Both functions are used to pulling data from an upstream element, either buffers or reading a file descriptor, until it is "empty". 2011-01-14 Jean-Louis Martineau * ndmp-src/amndma_tape_simulator.c: Use full_read. * ndmp-src/ndma_tape.c: Use ndmchan_n_avail_record to guarantee space for a record. * ndmp-src/ndml_chan.c (ndmchan_n_avail_record): New function. * ndmp-src/ndmlib.h (ndmchan_n_avail_record): New prototype. 2011-01-13 Francis Galiegue * xfer-src/source-pattern.c: xfer-src/source-pattern.c: externalize pattern copying 2011-01-13 Francis Galiegue * xfer-src/element-glue.c: xfer-src/element-glue.c: fix memory leak in pull_buffer_impl() 2011-01-11 Francis Galiegue * xfer-src/xfer-element.h: xfer: define XFER_NROPS() and XFER_NTHREADS() macros * xfer-src/dest-buffer.c xfer-src/dest-directtcp-connect.c xfer-src/dest-directtcp-listen.c xfer-src/dest-fd.c xfer-src/dest-null.c xfer-src/element-glue.c xfer-src/filter-process.c xfer-src/filter-xor.c xfer-src/source-directtcp-connect.c xfer-src/source-directtcp-listen.c xfer-src/source-fd.c xfer-src/source-pattern.c xfer-src/source-random.c xfer-src/xfer-test.c: use them 2011-01-11 Francis Galiegue * common-src/match.c: match.c: rename ammtch_to_regex() into amglob_to_regex() 2011-01-11 Francis Galiegue * common-src/match.c: match.c: rename full_regex_from_expression() to full_amglob_from_expression() 2011-01-11 Jean-Louis Martineau * server-src/planner.c: Change message of "timeout waiting for REP" to "Some estimate timeout on %s, using server estimate if possible". 2011-01-11 Jean-Louis Martineau * man/xml-source/amanda-scripts.7.xml: Document script output property. 2011-01-10 Francis Galiegue * common-src/match.c: match.c: rework regex generation from globs 2011-01-10 Francis Galiegue * common-src/match.c: match.c: match_word(): change the way regex begin and end are calculated/copied 2011-01-10 Francis Galiegue * common-src/match.c: match.c: better handling of "separator only" globs in match_word() 2011-01-10 Francis Galiegue * common-src/match.c: match.c: move glob/disk backslash substitution out of match_word() 2011-01-10 Francis Galiegue * common-src/match.c: match.c: factorize regex construction from expression 2011-01-10 Francis Galiegue * common-src/match.c: match.c: factorize character escaping in make_exact_*_expression() 2011-01-10 Francis Galiegue * common-src/match.c: match.c: factorize regex matching * common-src/match.h: make match and match_no_newline into macros calling do_match 2011-01-10 Francis Galiegue * common-src/match.c: match.c: factorize regex compile 2011-01-10 Francis Galiegue * common-src/match.c: match.c: match_host(): use g_ascii_strdown() to convert to lowercase 2011-01-10 Francis Galiegue * common-src/match.c: match.c: fix '*' and '?' expansion in match_word() 2011-01-10 Francis Galiegue * common-src/match.c: match.c: define a macro to recognize regex metacharacters 2011-01-10 Francis Galiegue * common-src/match.c: match.c: match_host(): remove unneeded cast 2011-01-10 Francis Galiegue * common-src/match.c: match.c: match_word(): rename "i" local variable to "ret" 2011-01-10 Francis Galiegue * common-src/match.c: match.c: match_word(): rename two local variables. Rename r to dst, and w to src, in order to clarify their roles. 2011-01-10 Francis Galiegue * common-src/match.c: match.c: match_word(): remove unused assignment 2011-01-07 Jean-Louis Martineau * application-src/amgtar.c, application-src/amstar.c: Do not call amname_to_dirname. 2011-01-07 Jean-Louis Martineau * common-src/bsd-security.c: Check input fd is a socket. 2011-01-07 Dustin J. Mitchell * common-src/testutils.c: use %ju instead of %lu to print big numbers 2011-01-07 Francis Galiegue * testutils.c: report time of execution for each test 2011-01-07 Francis Galiegue * common-src/testutils.c: add -c option to run tests more than once 2011-01-07 Francis Galiegue * testutils.c: create a run_one_test() function The way to run a test is the same, whether we fork() or not. Make that a function. 2011-01-06 Francis Galiegue * common-src/testutils.c: testutils.c: externalize test behaviour variables 2011-01-06 Francis Galiegue * common-src/amflock-test.c common-src/event-test.c common-src/fileheader-test.c common-src/hexencode-test.c common-src/ipc-binary-test.c common-src/match-test.c common-src/quoting-test.c: Ensure all tests return gbooleans. Most, if not all, tests returned ints, and quite a few of them returned TRUE or FALSE. While the effect is basically the same as a gboolean, make all tests return a gboolean for coherency, since this is what callinfork() expects anyway. * common-src/testutils.c: Also enforce that callinfork() return that type, which, in turn, allows the "success" local variable in testutil_run_tests() to also be converted. 2011-01-06 Francis Galiegue * common-src/testutils.c: convert ints to gbooleans where appropriate; run_all, tu_debugging_enabled and ignore_timeouts are all used as gbooleans in the code even though they are declared as ints. Convert them to booleans, and also change declarations. 2011-01-05 Jean-Louis Martineau * perl/Amanda/Xfer.pod: new offset and size arguments of xfer->start. * perl/Amanda/Xfer.swg: Add xfer_element_set_size. 2011-01-04 Jean-Louis Martineau * device-src/xfer-source-recovery.c: Never send more than the number of bytes requested. * perl/Amanda/Xfer.swg (xfer_start): New offset and size arguments. * xfer-src/xfer-element.c: Add set_size method. * xfer-src/xfer-element.h (XferElement): Add size field. * xfer-src/xfer-test.c: Add offset=0 and size=0 to xfer_start call. * xfer-src/xfer.c (xfer_start): Add offset and size arguments. Call xfer_element_set_size for the first element if size is set. * xfer-src/xfer.h (xfer_start): New prototype. * server-src/amfetchdump.pl, server-src/amidxtaped.pl, server-src/amvault.pl: Call xfer->start() with offset and size arguments. 2011-01-04 Jean-Louis Martineau * perl/Amanda/Logfile.swg: Print size in bytes for taper log. * server-src/find.h (find_result_t): Add bytes. * server-src/find.c: Parse 'bytes' in 'log' file. * perl/Amanda/Report.pm: Parse 'bytes' in 'log' file. * perl/Amanda/DB/Catalog.pm: Parse 'bytes' in 'log' file. * server-src/amstatus.pl: Parse 'bytes' in 'amdump' log file. * installcheck/Amanda_DB_Catalog.pl: Fix for log file format change. * installcheck/taper.pl: Fix for log file format change. 2011-01-03 Jean-Louis Martineau * example/template.d/advanced.conf.in: Remove dumpuser. * server-src/amaddclient.pl: mkdir -p * server-src/amserverconfig.pl: Print dumpuser, Print the authorized_keys file location based on $amhomedir 2010-12-27 Dan Locks * packaging/deb/rules, packaging/rpm/amanda.spec.src: add missing amservice entry to set perms at install time. Thanks to vpatton for finding this. 2010-12-23 Dustin J. Mitchell * client-src/client_util.c: improve error message when no includes match on disk 2010-12-23 Jean-Louis Martineau * perl/Amanda/Script_App.pm: Add FAILURE. 2010-12-21 Jean-Louis Martineau * perl/Amanda/Taper/Scribe.pm: Use 'blocksize' to compute the available space. 2010-12-20 Jean-Louis Martineau * server-src/find.c: Fix parsing 'PARTIAL taper' line with no part. * perl/Amanda/DB/Catalog.pm: Ditto 2010-12-16 Jean-Louis Martineau * amar-src/amar.c: Don't fail on trailing NUL bytes. 2010-12-14 Jean-Louis Martineau * common-src/ssh-security.c: Use client_port. 2010-12-14 Daniel Néri * application-src/ampgsql.pl: Don't assume that gtar is configured to use stdin/stdout as default archive. 2010-12-14 Jean-Louis Martineau * server-src/amidxtaped.pl: Don't crash if same-host doesn't match. 2010-12-13 Jean-Louis Martineau * perl/Amanda/Interactive.pm: rename finished_cb to request_cb. * installcheck/Amanda_Recovery_Scan.pl, perl/Amanda/Interactive/stdin.pm, perl/Amanda/Recovery/Scan.pm, server-src/amcheckdump.pl, server-src/amfetchdump.pl, server-src/amidxtaped.pl, server-src/amvault.pl: s/finished_cb/request_cb/ 2010-12-12 Jean-Louis Martineau * perl/Amanda/Changer/disk.pm: inventory must return the same as read_label. * server-src/amtape.pl: Fix for new inventory. * installcheck/Amanda_Changer_disk.pl: Fix for new inventory. * installcheck/Amanda_Changer_rait.pl: Fix for new inventory. 2010-12-11 Daniel Néri * application-src/ampgsql.pl: Don't assume that gtar is configured to use stdin/stdout as default archive 2010-12-11 Daniel Néri * application-src/ampgsql.pl: Use diskname, not devicename, as prefix when checking for properties. Now works as documented in the ampgsql man page. 2010-12-10 Dan Locks * packaging/deb/control: move gnuplot to Suggests: and swap the order 2010-12-10 David Bogen * server-src/amoverview.pl: fix amoverview's argument parsing 2010-12-10 Jean-Louis Martineau * server-src/amcheck-device.pl: Fix possible hang if Amanda::MainLoop::quit is called before Amanda::MainLoop::run. * perl/Amanda/Changer.pm: Return the error. 2010-12-09 Jean-Louis Martineau * server-src/driver.c: Check if taper is flushing something before moving a dle to directq. 2010-12-09 Jean-Louis Martineau * device-src/xfer-dest-taper-cacher.c: Print why the malloc failed. 2010-12-08 Dustin J. Mitchell * common-src/glib-util.c common-src/glib-util.h: do not define symbol g_slist_free_full, as it exists in glib-2.27 and higher; use slist_free_full, and alias that to g_slist_free_full when building against glib-2.28 or higher. * client-src/client_util.c: make g_slist_free_full_gpointer into a local, static function * common-src/amxml.c common-src/conffile.c recover-src/extract_list.c server-src/amadmin.c server-src/amflush.c server-src/cmdline.c server-src/cmdline.h server-src/find.c server-src/holding.c server-src/planner.c: rename function 2010-12-07 Dan Locks * packaging/rpm/amanda.spec.src: remove manual library requires and set curl vs libcurl based on distro. 2010-12-07 Jean-Louis Martineau * common-src/util.c: s/HAVE_READLINE/HAVE_LIBREADLINE/ * config/amanda/readline.m4: s/HAVE_READLINE/HAVE_LIBREADLINE/ 2010-12-07 Jean-Louis Martineau * config/amanda/readline.m4: Merge with latest AX_LIB_READLINE. * common-src/util.h: Fix for latest AX_LIB_READLINE. 2010-12-06 Dan Locks * packaging/rpm/amanda.spec.src: remove libtermcap.so.2 requirement for newer distros. 2010-12-06 Jean-Louis Martineau * server-src/server_util.c (internal_server_estimate): Do not use level 0 estimate if is not available. 2010-12-04 Jean-Louis Martineau * server-src/dumper.c: Put them in AMANDA_DBGDIR/log.error 2010-12-03 Jean-Louis Martineau * server-src/dumper.c: Put error message in separate files to reduce the size of the log file. 2010-12-01 Jean-Louis Martineau * server-src/chunker.c, xfer-src/element-glue.c: Prefer IPV4 over IPV6. 2010-12-01 Jean-Louis Martineau * common-src/directtcp.h: DirectTCPAddr is a sockaddr_union. * common-src/sockaddr-util.c (str_sockaddr_no_port): new function. * common-src/sockaddr-util.h (str_sockaddr_no_port): New prototype. * perl/amglue/directtcp.swg: Swig new DirectTCPAddr. * server-src/dumper.c: Parse IPV6 in dataport_list. * ndmp-src/ndmpconnobj.c, perl/Amanda/Device.swg, perl/Amanda/Taper/Worker.pm, perl/Amanda/Xfer.swg, server-src/chunker.c, xfer-src/dest-directtcp-connect.c, xfer-src/element-glue.c, xfer-src/source-directtcp-connect.c, xfer-src/source-directtcp-listen.c, xfer-src/xfer-element.h, xfer-src/xfer-test.c: Use new DirectTCPAddr. 2010-11-30 Jean-Louis Martineau * common-src/conffile.c: Add pre-amcheck, post-amcheck, pre-estimate, post-estimate, pre-backup and post-backup to execute-on of script. * common-src/conffile.h: Add EXECUTE_ON_* constants. * application-src/amlog-script.pl: Add new execute-on. * common-src/amxml.c: Parse new execute-on. * man/xml-source/amanda.conf.5.xml: Document them. * perl/Amanda/Config.swg: Add new EXECUTE_ON_* constants. * perl/Amanda/Script.pm: Add new execute-on. * server-src/amcheck.c: Call run_server_global_scripts. * server-src/diskfile.c (get_hostlist): Return the host list. * server-src/diskfile.h (get_hostlist): Add prototype. * server-src/driver.c: Call run_server_global_scripts. * server-src/planner.c: Call run_server_global_scripts. * server-src/server_util.c (run_server_global_scripts): New function. * server-src/server_util.h (run_server_global_scripts): Prototype. 2010-11-30 Jean-Louis Martineau * server-src/server_util.c: Search scripts in APPLICATION_DIR, CONFIG_DIR//application and CONFIG_DIR/application. 2010-11-30 Jean-Louis Martineau * common-src/conffile.c: Add SINGLE-EXECUTION in scripts. * common-src/conffile.h: Add pp_script_get_single_execution. * installcheck/pp-scripts.pl: Test single-execution. * man/xml-source/amanda.conf.5.xml: Document single-execution. * perl/Amanda/Config.swg: Add PP_SCRIPT_SINGLE_EXECUTION. * server-src/server_util.c: Add run_server_host_scripts, rename run_server_scripts to run_server_dle_scripts. * server-src/server_util.h: New prototype. * server-src/amcheck.c, server-src/driver.c, server-src/planner.c: Call new functions. 2010-11-26 Jean-Louis Martineau * installcheck/amreport.pl: Fix for previous patch. 2010-11-26 Jean-Louis Martineau * man/xml-source/amadmin.8.xml, man/xml-source/amcheck.8.xml, man/xml-source/amcheckdump.8.xml, man/xml-source/amdevcheck.8.xml, man/xml-source/amdump.8.xml, man/xml-source/amfetchdump.8.xml, man/xml-source/amflush.8.xml, man/xml-source/amgetconf.8.xml, man/xml-source/amlabel.8.xml, man/xml-source/amoverview.8.xml, man/xml-source/amrecover.8.xml, man/xml-source/amreport.8.xml, man/xml-source/amservice.8.xml, man/xml-source/amstatus.8.xml, man/xml-source/amtape.8.xml: Fix synopsis. * device-src/amdevcheck.pl, server-src/amadmin.c, server-src/amcheckdump.pl, server-src/amlabel.pl, server-src/amoverview.pl, server-src/amreport.pl, server-src/amstatus.pl, server-src/amtape.pl: Fix usage. 2010-11-26 Jean-Louis Martineau * common-src/conffile.c: Print configuration option with '-'. * installcheck/Amanda_Config.pl: Fix for '-'. 2010-11-25 Jean-Louis Martineau * perl/make_html.pl: make relative url in index.html. 2010-11-25 Jean-Louis Martineau * perl/make_html.pl: Add amanda version in html headers and footers. 2010-11-25 Jean-Louis Martineau * man/xslt/html.xsl.in: Include Amanda version in HTML headers. 2010-11-22 Jean-Louis Martineau * device-src/Makefile.am: activate-devpay needs gnulib. 2010-11-18 Dan Locks * packaging/rpm/amanda.spec.src: quote both items in boolean comparison to avoid type mismatch. 2010-11-17 Jean-Louis Martineau * common-src/conffile.c: Add CONFTYPE_NO_YES_ALL, change type for autoflush. * common-src/conffile.h: Add CONFTYPE_NO_YES_ALL. * man/xml-source/amanda.conf.5.xml: New autoflush option. * perl/Amanda/Config.swg: Add CONFTYPE_NO_YES_ALL. * server-src/amcheck.c: Use new value of autoflush. * server-src/planner.c: Use new value of autoflush. 2010-11-17 Jean-Louis Martineau * server-src/driver.c: Correctly handle INPUT-ERROR and TAPE-ERROR. 2010-11-17 Jean-Louis Martineau * device-src/xfer-dest-taper-cacher.c, device-src/xfer-dest-taper-splitter.c: Cancel in correct order. Other thread own self->state_mutex while it wait for self->ring* or self->slab* 2010-11-17 Jean-Louis Martineau * device-src/xfer-dest-taper-cacher.c, device-src/xfer-dest-taper-splitter.c: Always call device_finish_file if device_start_file succeed. 2010-11-16 Dan Locks * packaging/rpm/amanda.spec.src: add rhel6 stanza to distro detection 2010-11-16 Jean-Louis Martineau * installcheck/Amanda_Changer_single.pl: Typo. * server-src/amtape.pl: Typo. 2010-11-16 Jean-Louis Martineau * server-src/find.c: Keep the complete error message. 2010-11-16 Jean-Louis Martineau * perl/Amanda/Changer/disk.pm: new MOUNT, UMOUNT, UMOUNT-LOCKFILE and UMOUNT-IDLE properties. * man/xml-source/amanda-changers.7.xml: Add new chg-disk property. * NEWS: Add new chg-disk property. 2010-11-16 Jean-Louis Martineau * perl/Amanda/Changer.pm: Add quit method. * perl/Amanda/Changer/aggregate.pm: Add quit method. * perl/Amanda/Changer/rait.pm: Add quit method. * perl/Amanda/Recovery/Clerk.pm: Call scan quit method. * perl/Amanda/Recovery/Scan.pm: Add quit method. * perl/Amanda/Taper/Controller.pm: Call scan quit method. * perl/Amanda/Taper/Scan.pm: Add quit method. * perl/Amanda/Taper/Scribe.pm: finished_cb to Add scribe_notif_tape_done * server-src/amcheck-device.pl, server-src/amcheckdump.pl, server-src/amidxtaped.pl, server-src/amlabel.pl, server-src/amrestore.pl, server-src/amrmtape.pl, server-src/amtape.pl: Call scan/changer quit method. * server-src/amvault.pl scribe_notif_tape_done with finished_cb. * installcheck/Amanda_Changer.pl, installcheck/Amanda_Changer_compat.pl, installcheck/Amanda_Changer_disk.pl, installcheck/Amanda_Changer_multi.pl, installcheck/Amanda_Changer_ndmp.pl, installcheck/Amanda_Changer_null.pl, installcheck/Amanda_Changer_rait.pl, installcheck/Amanda_Changer_robot.pl, installcheck/Amanda_Changer_single.pl, installcheck/Amanda_Recovery_Clerk.pl, installcheck/Amanda_Recovery_Scan.pl, installcheck/Amanda_Taper_Scan.pl, installcheck/Amanda_Taper_Scan_traditional.pl, installcheck/Amanda_Taper_Scribe.pl, installcheck/amvault.pl: Add call to scan/changer quit method. 2010-11-12 Jean-Louis Martineau * server-src/driverio.c: Don't update last_level/consecutive_runs if the dump failed. 2010-11-11 Nikhil Bhupale * server-src/amtape.pl: Remove call to set_label. * server-src/amrestore.pl: Remove call to set_label. 2010-11-10 Jean-Louis Martineau * config/amanda/progs.m4(AMANDA_PROG_MOUNT, AMANDA_PROG_UMOUNT): find mount and umount binaries * configure.in: Use AMANDA_PROG_MOUNT and AMANDA_PROG_UMOUNT. * perl/Amanda/Constants.pm.in: Define MOUNT and UMOUNT. 2010-11-10 Jean-Louis Martineau * device-src/tape-device.c: Accept LEOM property. 2010-11-10 Jean-Louis Martineau * perl/Amanda/Changer/robot.pm: Fix use of Amanda::Changer->make_error 2010-11-10 Jean-Louis Martineau * common-src/amflock.c (lock_wr, lock_rd, lock_locked): New function * common-src/amflock.h: Add their prototype. * perl/Amanda/Util.swg: Swig them. * perl/Amanda/Util.pod: Docuemnt them. 2010-11-10 Jean-Louis Martineau * perl/Amanda/Changer.pm: Remove the changer cache. * installcheck/Amanda_Taper_Scan_traditional.pl, installcheck/Amanda_Changer_robot.pl, installcheck/Amanda_Changer_ndmp.pl: Do not reset the changer cache. 2010-11-10 Jean-Louis Martineau * perl/Amanda/MainLoop.swg: Add finalize in define_step. * perl/Amanda/MainLoop.pod: Document finalize. 2010-11-10 Jean-Louis Martineau * application-src/amstar.c: Support 'exclude file' and 'exclude list'. * man/xml-source/amstar.8.xml: Document exclude limitation. 2010-11-08 Jean-Louis Martineau * server-src/driver.c: Better handling of dump to tape. Set force_flush to 0 as soon as the runq is empty. * server-src/dumper.c: Improving debugging. 2010-11-08 Jean-Louis Martineau * perl/Amanda/Report.pm: Report driver FAIL as FAILED (not missing). * perl/Amanda/Report/human.pm: Do not report driver error if there is a try. 2010-11-05 Jean-Louis Martineau * man/xml-source/tapelist.5.xml: Document BARCODE and META. 2010-11-05 Jean-Louis Martineau * server-src/amdump.pl: Execute subprocess with the config overwrite. * server-src/amvault.pl: Execute subprocess with the config overwrite. 2010-11-04 Jean-Louis Martineau * server-src/amreport.pl: Set date correctly for amvault run. * perl/Amanda/Report/human.pm: Fix warning. 2010-11-04 Jean-Louis Martineau * perl/Amanda/Changer/aggregate.pm: New changer. * man/xml-source/amanda-changers.7.xml: Document chg-aggregate. * perl/Makefile.am: Add it. * server-src/amtape.pl: Print better message if inventory is not implemented. 2010-11-04 Jean-Louis Martineau * perl/Amanda/Changer.pm: $o $c $m $b in autolabel. * perl/Amanda/Changer.pm: $o $c in meta-autolabel. * server-src/amlabel.pl: New --barcode option,