X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=ChangeLog;h=d24082f45401990ddd20be5342a11636e75b88a0;hb=HEAD;hp=e298b3c2bc1cacfac8b7ce886cf4a5602d2991f2;hpb=34197d9f46a5f4e944378cbb65fca32ee0eec7b9;p=debian%2Famanda diff --git a/ChangeLog b/ChangeLog index e298b3c..d24082f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,15952 +1,14520 @@ -2007-02-07 Jean-Louis Martineau - * server-src/amindexd.c: Use dbfd. +2013-01-08 Jean-Louis Martineau + * VERSION: 3.3.3 -2007-02-06 Jean-Louis Martineau - * Amanda 2.5.1p3 released. - * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.1p3). - * NEWS: Update for 2.5.1p3 +2013-01-08 Jean-Louis Martineau + * ndmp-src/ndmjob_args.c: Handle more than 1000 arguments. -2007-02-06 Jean-Louis Martineau - * man/xml-source/amcheck.8.xml, - server-src/amlabel.c: Merge from zmanda. +2013-01-04 Jean-Louis Martineau + * perl/Amanda/Taper/Scan.pm (oldest_reusable_volume): Check the + labelstr. + * installcheck/Amanda_Taper_Scan.pl: Test it. -2007-02-06 Jean-Louis Martineau - * common-src/clock.c (timesub): The result must always be positive. +2013-01-04 Jean-Louis Martineau + * server-src/amrmtape.pl: Do not check the 'log' file. -2007-02-05 Jean-Louis Martineau - * changer-src/chg-zd-mtx.sh.in: Fix for sed and IMPORT/EXPORT. +2012-12-27 Jean-Louis Martineau + * server-src/amrmtape.pl: Add the pid on the temporary filename. -2007-02-05 Jean-Louis Martineau - * server-src/amcheck.c: Add parentheses. - -2007-02-02 Jean-Louis Martineau - * docs/*.txt: Update from xml-docs. - -2007-02-02 Jean-Louis Martineau - * man/Makefile.am: Use http://docbook.sourceforge.net - * man/xml-source/amadmin.8.xml, man/xml-source/amaespipe.8.xml, - man/xml-source/amanda.8.xml, man/xml-source/amanda-client.conf.5.xml, - man/xml-source/amanda.conf.5.xml, man/xml-source/amcheck.8.xml, - man/xml-source/amcrypt.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/ammt.8.xml, man/xml-source/amrecover.8.xml, - man/xml-source/amreport.8.xml, - man/xml-source/amtape.8.xml: Fix for xmllint. - * man/xslt/man.xsl: Remove bogus code. - -2007-02-01 Jean-Louis Martineau - * changer-src/chg-zd-mtx.sh.in: Support IMPORT/EXPORT slot. +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(). -2007-02-01 Jean-Louis Martineau - * server-src/amdump.sh.in: Output a starttime line. - * server-src/amflush.c: Output a starttime line. - * server-src/amstatus.pl.in: parse the starttime line. +2012-12-24 Jean-Louis Martineau + * server-src/driver.c (tape_action): Do not count free tape space if + exceed max-dle-by-volume. -2007-01-26 Jean-Louis Martineau - * server-src/amdump.sh.in: Exit with a status. +2012-12-18 Jean-Louis Martineau + * NEWS, ReleaseNotes: Changes in 3.3.3 -2007-01-26 Jean-Louis Martineau - * server-src/diskfile.c: Use hostnext pointer. +2012-12-18 Jean-Louis Martineau + * perl/Amanda/Taper/Worker.pm: Ignore duplicate DONE/FAILED messages. -2007-01-26 Jean-Louis Martineau - * server-src/reporter.c: Exit with a status. +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. -2007-01-26 Jean-Louis Martineau - * server-src/amstatus.pl.in: Exit with a status. +2012-12-13 Jean-Louis Martineau + * server-src/amrmtape.pl: Die if opening CURINFO for writing fail. -2007-01-26 Jean-Louis Martineau - * server-src/amstatus.pl.in: Detect failed dump to tape. +2012-12-12 Dan Locks + * packaging/common/post_inst_functions.sh: don't use uuencode -m for + solaris 8 compatibility. -2007-01-25 Jean-Louis Martineau - * server-src/changer.c (changer_command): Send stderr to dbfd(). +2012-12-11 Jean-Louis Martineau + * perl/Amanda/Changer/multi.pm, server-src/amcheck-device.pl: Fix perl + warning. -2007-01-25 Jean-Louis Martineau - * server-src/diskfile.c: Check hostname have same case. +2012-12-10 Jean-Louis Martineau + * server-src/logfile.c (log_rename): Donot abort if the log do not + exists. -2007-01-25 Jean-Louis Martineau - * changer-src/chg-zd-mtx.sh.in: Check if MT and MTX exists. +2012-12-10 Jean-Louis Martineau + * man/xml-source/amanda-devices.7.xml: Typo, s/SWITF/SWIFT/. -2007-01-25 Jean-Louis Martineau - * changer-src/chg-zd-mtx.sh.in: Set CHANGER environment variable. +2012-12-10 Jean-Louis Martineau + * server-src/amstatus.pl: No src-ip in PORT-DUMP. -2007-01-24 Jean-Louis Martineau - * client-src/clientconf.c: Don;t check for duplicate -o options. - * common-src/util.c: Check for duplicate -o options. - * recover-src/amrecover.c: Change precedence of option. +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. -2007-01-24 Jean-Louis Martineau - * server-src/diskfile.c: Fix compiler warning. +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. -2007-01-23 Jean-Louis Martineau - * common-src/security-util.c (tcpm_recv_token): Check size < 0. +2012-12-07 Dan Locks + * common_z/post_inst_functions.sh: head and tail invocation may only + use "-#", not "-n #" for solaris 8 compatibility -2007-01-23 Jean-Louis Martineau - * server-src/diskfile.c: Check duplicate DLE with match_host and - match_disk. +2012-12-07 Jean-Louis Martineau + * contrib/convert-zd-mtx-to-robot.sh: set tpchanger instead of + tapedev. -2007-01-18 Jean-Louis Martineau - * client-src/selfcheck.c: Improve check if /etc/dumpdates in not there. +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. -2007-01-18 Jean-Louis Martineau - * restore-src/amfetchdump.c: Set arg_state to ARG_GET_HOST. +2012-03-15 Jean-Louis Martineau + * application-src/amgtar.c: Add IGNORE-ZEROS property. + * man/xml-source/amgtar.8.xml: Document IGNORE-ZEROS property. -2007-01-18 Jean-Louis Martineau - * server-src/amcheck.c: Check tape_access. - * server-src/taper.c: Improve message. +2012-03-13 Jean-Louis Martineau + * application-src/ampgsql.pl: Do not Execute pg_start_backup for + estimate. -2007-01-16 Jean-Louis Martineau - * server-src/getconf.c: Fix segfault in parameter parsing. +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. -2007-01-11 Jean-Louis Martineau - * server-src/conffile.c Set default length/filemark correctly. - * man/xml-source/amanda.conf.5.xml: Document they are in kbytes. +2012-01-23 Jean-Louis Martineau + * device-src/s3-device.c: Fix for openstack swift api. -2007-01-10 Jean-Louis Martineau - * amandad-src/amandad.c (do_sendpkt): Send packet if handle != NULL. +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. -2007-01-10 Jean-Louis Martineau - * common-src/util.c, common-src/util.h, server-src/conffile.c, - server-src/diskfile.c: Keep different list for exclude file and list. - -2007-01-10 Jean-Louis Martineau - * server-src/taper.c (read_file): Don't count first header twice. - -2007-01-05 Jean-Louis Martineau - * server-src/amstatus.pl.in: Fix split-dump accounting. - -2007-01-04 Jean-Louis Martineau - * restore-src/restore.c: Use prompt_in. - -2007-01-04 Jean-Louis Martineau - * changer-src/chg-chio.pl.in, changer-src/chg-iomega.pl.in, - changer-src/chg-rth.pl.in, dumper-src/gnutar.pl.in, - server-src/amoverview.pl.in, server-src/amstatus.pl.in, - server-src/amtoc.pl.in: Clean ENV and set PATH. - -2006-12-27 Jean-Louis Martineau - * server-src/driver.c: Don't repport error for many run in a day if - it's amflush. - -2006-12-27 Jean-Louis Martineau - * common-src/util.c (quote_string): Escape '\' character. +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. -2006-12-22 Jean-Louis Martineau - * recover-src/display_commands.c: Send quoted text to amindexd. - * recover-src/extract_list.c: Send quoted text to amindexd. - * recover-src/set_commands.c: Send quoted text to amindexd. +2012-01-13 Jean-Louis Martineau + * device-src/s3-device.c: Fix deleting files. -2006-12-22 Jean-Louis Martineau - * changer-src/chg-disk.sh.in: LASTSLOT in a changerfile for chg-disk. +2012-01-09 Jean-Louis Martineau + * server-src/amtape.pl: Fix amtape show for non numeric slot. -2006-12-22 Jean-Louis Martineau - * client-src/sendsize.c: Compilation fix. +2012-01-04 Jean-Louis Martineau + * recover-src/extract_list.c: Fix for compilation on AIX. -2006-12-18 Jean-Louis Martineau - * common-src/packet.c (pkt_init_empty): New function. - * common-src/packet.h (pkt_init_empty): New prototype. - * amandad-src/amandad.c, common-src/protocol.c, - common-src/security-util.c: Use pkt_init_empty. +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. -2006-12-18 Jean-Louis Martineau - * server-src/conffile.c: Print nothing if the list is emtpy. +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. -2006-12-14 Jean-Louis Martineau - * restore-src/restore.c: Fix filename for output file. +2012-01-02 Jean-Louis Martineau + * perl/Amanda/Changer/multi.pm: Print the state filename to the debug + file. -2006-12-12 Jean-Louis Martineau - * common-src/util.c: Fix printf format error. +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. -2006-12-12 Jean-Louis Martineau - * common-src/amanda.h: Define __attribute__ for gcc >= 3. - * common-src/packet.c (pkt_init): Accept NULL for fmt. - * amandad-src/amandad.c, common-src/protocol.c, - common-src/security-util.c: Pass NULL to pkt_init. - * amandad-src/amandad.c, changer-src/chg-scsi.c, - changer-src/scsi-linux.c, client-src/sendbackup.c, - common-src/amanda.h, common-src/event.c, - common-src/packet.c, common-src/security-util.c, - common-src/stream.c, oldrecover-src/amrecover.c, - restore-src/restore.c, server-src/amcheck.c, - server-src/driver.c, server-src/driverio.c, - server-src/taper.c: Fix printf format error. - -2006-12-12 Jean-Louis Martineau - * server-src/amindexd.c: Use fgets to read index file because they - are not quoted. - -2006-12-12 Jean-Louis Martineau - * configure.in: Find patch for sort program. - * server-src/amindexd.c: Clean the indexd file between the uncompress - and sort process. - -2006-12-08 Jean-Louis Martineau - * man/xml-source/amadmin.8.xml, man/xml-source/amanda.8.xml, - man/xml-source/amanda.conf.5.xml, man/xml-source/amcheck.8.xml, - man/xml-source/amfetchdump.8.xml, man/xml-source/ammt.8.xml, - man/xml-source/amrecover.8.xml: Move tag to beginning of line - -2006-12-08 Jean-Louis Martineau - * changer-src/chg-rait.sh.in: Fix typo for -reset. - -2006-12-07 Jean-Louis Martineau - * common-src/util.c (lookup_keyword): Use strcasecmp. - * common-src/util.c (get_conftoken): Don;t convert to uppercase. - * server-src/getconf.c: Don;t print extra '\n' for --list. - -2006-12-04 Jean-Louis Martineau - * server-src/amtape.h: Remove file. - -2006-11-29 Jean-Louis Martineau - * client-src/sendbackup.c: Kill dump process on error. - -2006-11-29 Jean-Louis Martineau - * changer-src/chg-chio.pl.in: Check tapedev is set. - * changer-src/chg-disk.sh.in: Check tapedev is set. - * changer-src/chg-iomega.pl.in: Check tapedev is set. - * changer-src/chg-manual.sh.in: Check tapedev is set. - * changer-src/chg-mtx.sh.in: Check tapedev is set. - * changer-src/chg-rth.pl.in: Check tapedev is set. - * server-src/amcheck.c: Tapedev is needed only if tpchanger is not set. - * server-src/amflush.c: Tapedev is needed only if tpchanger is not set. - * server-src/amindexd.c: Tapedev is needed only if tpchanger is not set - * server-src/taper.c: Tapedev is needed only if tpchanger is not set. - -2006-11-29 Jean-Louis Martineau - * client-src/sendbackup.c: Ignore tar exit with status 1. - -2006-11-29 Jean-Louis Martineau - * server-src/amindexd.c (clean_backslash): New function use to unescape - '\' characters in index files. - -2006-11-29 Jean-Louis Martineau - * restore-src/restore.c (search_tapes): Fix prompt_out setting. - -2006-11-24 Jean-Louis Martineau - * common-src/util.c (copy_file): Fix compilation error. - -2006-11-24 Jean-Louis Martineau - * client-src/sendbackup-dump.c, client-src/sendbackup-gnutar.c, - client-src/sendsize.c, - server-src/amindexd.c: Patch for gcc-3.2.3 to compile the new - vstralloc macro. - -2006-11-24 Jean-Louis Martineau - * common-src/file.c (old_sanitise_filename): New function. - * common-src/amanda.h (old_sanitise_filename): Prototype. - * common-src/util.c (copy_file): New function. - * common-src/util.h (copy_file): Prototype. - * server-src/diskfile.c: Check that two DLE doesn't get the same - sanitized filename. - * server-src/amindex.c (getoldindexfname): New function. - * server-src/amindex.h (getoldindexfname): prototype. - * server-src/amindexd.c: Use the old sanitized filename if the new - file doesn't exist. - * server-src/amcheck.c: Call check_infofile. - * server-src/planner.c: Call check_infofile. - * server-src/server_util.c (check_infofile): New function, will copy - the old sanitizes info file if the new doesn't exist. - * server-src/server_util.h (check_infofile): Prototype. - -2006-11-23 Jean-Louis Martineau - * common-src/security-util.c (tcpm_recv_token): amanda protocol - packet can be larger than NETWORK_BLOCK_BYTES - -2006-11-20 Jean-Louis Martineau - * client-src/sendsize.c: Open the amandates file after the - /amanda-client.conf file is loaded. - -2006-11-20 Jean-Louis Martineau - * common-src/security-util.c, server-src/amcheck.c, - * server-src/driver.c, server-src/dumper.c, - * server-src/planner.c, tape-src/output-file.c: Lint cleanup. - -2006-11-20 Ian Turner - * tape-src/output-file.c: Fix a compilation error related to - improper type casts. Thanks to Satya Ganga for noticing this - problem. - -2006-11-20 Jean-Louis Martineau - * server-src/driver.c: Use temporary variable to scanf an OFF_T_FMT. - * server-src/planner.c: Use temporary variable to scanf an OFF_T_FMT. - -2006-11-13 Jean-Louis Martineau - * client-src/selfcheck.c: Work for estimate calcsize and - program "DUMP". - -2006-11-13 Jean-Louis Martineau - * server-src/amcheck.c: Don't ouput an warning if holdingdisk 'use' - is set to 0. - -2006-11-09 Jean-Louis Martineau - * Amanda 2.5.1p2 released. - * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.1p2). - * NEWS: Update for 2.5.1p2 - -2006-11-09 Jean-Louis Martineau - * server-src/conffile.c (getconf_byname): - Parse "DEFINE:identifer:parameter" format. - * server-src/conffile.c (getconf_list): New function to list a DEFINE. - * server-src/conffile.c (lookup_holdingdisk): New function. - * server-src/conffile.h (getconf_list, - lookup_holdingdisk): New prototype. - * server-src/getconf.c: accept --list argument and - "DEFINE:identifer:parameter" format. - * man/xml-source/amgetconf.8.xml: Document. - -2006-11-09 Jean-Louis Martineau - * changer-src/chg-scsi.c: Don't remove '_' from "generic_changer". - -2006-11-08 Jean-Louis Martineau - * common-src/amanda.h, common-src/security-util.c, - common-src/util.h, configure.in, - oldrecover-src/amrecover.c, oldrecover-src/extract_list.c, - recover-src/amrecover.c, recover-src/extract_list.c, - restore-src/amrestore.c, server-src/conffile.c, - server-src/dumper.c: Fix compiler error on Tru64. - -2006-11-08 Jean-Louis Martineau - * server-src/driver.c: set off_t variable to 0 before sscanf. - * server-src/planner.c: set off_t variable to 0 before sscanf. - -2006-11-07 Jean-Louis Martineau - * server-src/amstatus.pl.in: Improve error message. - -2006-11-07 Jean-Louis Martineau - * common-src/security-util.c: Fix coverity bug 170. - * server-src/diskfile.c: Fix coverity bug 147. - -2006-11-07 Jean-Louis Martineau - * server-src/conffile.c (validate_chunksize): Check chunksize is >= - 2*DISK_BLOCK_KB - -2006-11-06 Jean-Louis Martineau - * common-src/amanda.h: Define OFF_T_STRTOL. - * configure.in: Check for strtol and strtoll. - -2006-11-02 Ian Turner - * common-src/amanda.h: Use atol if atoll is missing. - -2006-11-02 Jean-Louis Martineau - * common-src/security-util.c: Better message on invalid size. - -2006-11-02 Jean-Louis Martineau - * configure.in: List bsdudp as a udp transport. - -2006-11-01 Jean-Louis Martineau - * server-src/diskfile.c: Don't use 0 for NULL. - -2006-11-01 Jean-Louis Martineau - * client-src/clientconf.c: Define AMANDATES_FILE - * client-src/amandates.h: Don't define AMANDATES_FILE - -2006-11-01 Jean-Louis Martineau - * common-src/conffile.c: Rename DUMPTYPE_START_T to DUMPTYPE_STARTTIME. - * common-src/conffile.h: Rename DUMPTYPE_START_T to DUMPTYPE_STARTTIME. - * server-src/amadmin.c (disklist_one): Print correct starttime. - * server-src/diskfile.c: Set start_t to starttime. - * server-src/diskfile.h (disk_t): Add starttime. - * common-src/conffile.c (conf_print): Add a parameter if we want - CONFTYPE_STRING enclosed in ". - * server-src/planner.c: Use getconf_int to get etimeout value. - * common-src/conffile.c (CNF_CTIMEOUT, CNF_DTIMEOUT, CNF_ETIMEOUT): - They are of type CONFTYPE_INT - (CONFTYPE_TIME are for value parsed as "hhmm"") - * common-src/conffile.c (getconf_byname): Use conf_print(). - * common-src/conffile.h: Add comment. - * server-src/amcheck.c, server-src/dumper.c, server-src/planner.c: - Use getconf_int to get timeout value. - -2006-11-01 Jean-Louis Martineau - * changer-src/scsi-changer-driver.c: Add Tandberg SLR100, - more debugging. - * changer-src/sense.c: Add Tandberg SLR100 Tape Drive "SLR100". - -2006-11-01 Jean-Louis Martineau - * common-src/amanda.h: Define dbrename if !DEBUG_CODE. - * restore-src/amidxtaped.c: Declare i if !DEBUG_CODE. - -2006-10-25 Jean-Louis Martineau - * server-src/amtape.c: Use parse_conf instead of parse_server_conf. - * server-src/diskfile.c: Correct hostname allocation. - -2006-10-25 Jean-Louis Martineau - Patch by Jay Fenlason - * common-src/rsh-security.c: Fix. - -2006-10-24 Jean-Louis Martineau - * common-src/conffile.c (get_config_options): Build and argv of the - -o arguments. - * common-src/conffile.h (get_config_options): Prototype. - * server-src/driverio.c: exec dumper/chunker/driver with the argv from - get_config_options - * server-src/amtape.c: Accept -o argument. +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. -2006-10-24 Jean-Louis Martineau - * server-src/taper.c: Fix allocation problem on tapedev. - -2006-10-20 Jean-Louis Martineau - * server-src/taper.c (free_split_buffer): Correct free. - -2006-10-19 Jean-Louis Martineau - * man/xml-source/amanda.conf.5.xml: Fix formating. - -2006-10-19 Jean-Louis Martineau - * client-src/calcsize.c: Quote amname. - -2006-10-16 Jean-Louis Martineau - * common-src/dgram.c (dgram_cat), - common-src/packet.c (pkt_init, pkt_cat): Works correctly with - vsnprintf returning -1. - -2006-10-11 Jean-Louis Martineau - * server-src/planner.c: Improve message for dump larger than available - tape space if runtapes > 1 and splitsize == 0. - -2006-10-10 Jean-Louis Martineau - * server-src/driver.c (wait_children): Don't crash if dumper->chunker - is NULL - -2006-10-04 Jean-Louis Martineau - * amandad-src/amandad.c: Call security_recvpkt() on A_SENDNACK - and dup P_REQ. - * common-src/security-util.c: Improve message. - -2006-10-03 Jean-Louis Martineau - * server-src/amcleanupdisk.c: Accept -o arguments. - * server-src/amcleanup.sh.in: Add missing 'shift' for non-linux system. - Accept -o arguments. - -2006-10-03 Jean-Louis Martineau - * server-src/amoverview.pl.in: Fix parsing of time field from amadmin. - -2006-10-03 Jean-Louis Martineau - * restore-src/amidxtaped.c, restore-src/restore.c, - server-src/amcheck.c, server-src/amflush.c, - server-src/amlabel.c, server-src/taper.c, - server-src/taperscan.c: Check for CNF_TAPEDEV == NULL. - -2006-10-03 Jean-Louis Martineau - * server-src/conffile.c: Don't set CNF_TAPEDEV to DEFAULT_TAPE_DEVICE. - * configure.in: Don't set DEFAULT_TAPE_DEVICE. - -2006-09-29 Jean-Louis Martineau - * common-src/bsdtcp-security.c: Add logging on error. - -2006-09-29 Jean-Louis Martineau - * server-src/amoverview.pl.in: Use shellwords instead of quotewords, - don't add date for disk not in the disklist. - -2006-09-28 Jean-Louis Martineau - * common-src/bsd-security.c: Fix %hd printf argument format. - * common-src/security-util.c: Fix %hd printf argument format. - -2006-09-27 Jean-Louis Martineau - * Amanda 2.5.1p1 released. - * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.1p1). - * NEWS: Update for 2.5.1p1 - -2006-09-27 Jean-Louis Martineau - * restore-src/restore.c: Improve debugging. - * server-src/changer.c: Make sure to dup the fd out of the 0..2 range. - -2006-09-27 Jean-Louis Martineau - * restore-src/amfetchdump.c: Pass new prompt_in parameter to - search_tapes. - * restore-src/restore.c (search_tapes, load_manual_tape): New prompt_in - parameter. - * restore-src/restore.h (search_tapes): New prompt_in parameter. - * restore-src/amidxtaped.c: Set new 'FILE *' instead of reusing stdin - and stdout. - * server-src/amindexd.c: Set new 'FILE *' instead of reusing stdin - and stdout. - -2006-09-27 Jean-Louis Martineau - Patch by Orion Poplawski - * server-src/planner.c: Add a skip_quoted_line() on error. - -2006-09-23 Jean-Louis Martineau - * server-src/amstatus.pl.in: Fix parsing of 'taper: wrote label' line. - * server-src/amtoc.pl.in: Fix parsing of 'START taper' line. - -2006-09-22 Jean-Louis Martineau - Patch by William Jojo - * client-src/sendsize.c: Fix #endif for AIX. - -2006-09-22 Jean-Louis Martineau - * common-src/packet.c: Fix use of arglist_start/arglist_end. - * server-src/amindexd.c: Fix use of vsnprintf (for IRIX). - * server-src/logfile.c: Fix use of arglist_start/arglist_end. - -2006-09-21 Jean-Louis Martineau - * server-src/amcheck.c: Don't assert if holding use is set to 0. - -2006-09-21 Jean-Louis Martineau - * common-src/util.c: Declare keytable. - * common-src/util.h: Declare keytable as extern. - -2006-09-19 Jean-Louis Martineau - * contrib/sst: Removed - * Makefile.am (EXTRA_DIST): Remove sst files. - -2006-09-19 Jean-Louis Martineau - * server-src/find.c (search_logfile): Count 'PARTIAL taper line'. - -2006-09-19 Jean-Louis Martineau - Patch by Paul Bijens - * server-src/amcheck.c: Print "tapelist" instead of "tapefile". - -2006-09-19 Jean-Louis Martineau - * common-src/dgram.c (dgram_bind): Remove unused variables. - -2006-09-19 Jean-Louis Martineau - * common-src/dgram.c (dgram_bind): Don't set SO_REUSEADDR on socket. - -2006-09-19 Jean-Louis Martineau - * common-src/util.c (connect_port): Make EHOSTUNREACH and ENETUNREACH - fatal error. - -2006-09-18 Jean-Louis Martineau - * common-src/util.c(dump_sockaddr): Convert from network to machine - bytes order before printing. - * common-src/dgram.c (dgram_recv): Print the fromaddr. - -2006-09-15 Jean-Louis Martineau - * amandad-src/amandad.c: Correct order of close/dup. - -2006-09-12 Jean-Louis Martineau - * common-src/bsdtcp-security.c: Use AMANDA_SERVICE_NAME. - -2006-09-12 Jean-Louis Martineau - * server-src/amstatus.pl.in: Check that $dumpers_active is defined. - -2006-09-12 Jean-Louis Martineau - * common-src/util.c (conftoken_getc): Return an int. - -2006-09-11 Jean-Louis Martineau - * client-src/sendbackup-dump.c: Works if rundump is not used. - -2006-09-05 Jean-Louis Martineau - * Amanda 2.5.1 released. - * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.1). - * NEWS: Change in amanda-2.5.1 - -2006-08-30 Jean-Louis Martineau - * server-src/dumper.c: Typo in error message. - -2006-08-29 Jean-Louis Martineau - * client-src/selfcheck.c: Print error message to stdout before - calling error(). - -2006-08-28 Jean-Louis Martineau - * server-src/dumper.c (log_msgout): Seek to begining of file. - -2006-08-28 Jean-Louis Martineau - * server-src/reporter.c: Report if a dump was successfully retried. - -2006-08-28 Jean-Louis Martineau - * server-src/amstatus.pl.in: Correct size for retried dump. - -2006-08-25 Jean-Louis Martineau - * client-src/runtar.c: Check that strcmp(argv[3], "--create") == 0. - -2006-08-24 Jean-Louis Martineau - * common-src/statfs.c (scale): Macro replaced by a function. - -2006-08-24 Jean-Louis Martineau - * server-src/chunker.c: Use STREAM_BUFSIZE for stream_accept. - * server-src/taper.c: Use STREAM_BUFSIZE for stream_accept. - -2006-08-24 Maitreyee Karmarkar - * man/xml-source/amcheck.8.xml: amcheck xml man page change - -2006-08-23 Kevin Till - * server-src/driver.c: fix typo - -2006-08-23 Jean-Louis Martineau - * server-src/driver.c (dumper_result): Decrement pendings_aborts. - * server-src/driver.c (handle_dumper_result): Don't send duper result - to chunker if we aborted it. - * server-src/driverio.c (dumper_cmd, chunker_cmd): Don't close the fd - on ABORT. - * server-src/dumper.c: Accept ABORT command. - -2006-08-23 Jean-Louis Martineau - * restore-src/restore.c (restore): Set bytes_read to the return value - of read_file_header. - -2006-08-22 Jean-Louis Martineau - * tape-src/output-tape.c: Works if EOVERFLOW is not defined. - -2006-08-21 Jean-Louis Martineau - * amandad-src/amandad.c, common-src/rsh-security.c, - common-src/ssh-security.c, restore-src/restore.c, - server-src/changer.c, server-src/dumper.c: Fix sentinel warning. - -2006-08-21 Jean-Louis Martineau - * example/amanda.conf.in: Typo. - -2006-08-21 Jean-Louis Martineau - * server-src/driverio.c: Fix bogus "(unsigned long)-1". - -2006-08-21 Jean-Louis Martineau - * server-src/driver.c (start_some_dumps): Remove bogus free_assignedhd. +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. -2006-08-21 Maitreyee Karmarkar - * server-src/amcheck.c: Check specific clients - * man/amcheck.8: add the multiple client check format +2011-11-21 Jean-Louis Martineau + * server-src/amdump.pl: Log a 'START planner date' line on error'. -2006-08-18 Ian Turner - * tape-src/amtapetype.c: Don't crash on exit +2011-11-14 Jean-Louis Martineau + * device-src/s3.c: Use curl_easy_escape. -2006-08-17 Paddy Sreenivasan - * server-src/driverio.c: - * server-src/changer.c: - * restore-src/amfetchdump.c: - * recover-src/extract_list.c: - * oldrecover-src/extract_list.c: - * common-src/util.c: - * common-src/stream.c: - * common-src/file.c: - * common-src/dgram.c: Fix warnings +2011-11-14 Jean-Louis Martineau + * installcheck/gnutar.pl: Fix for fc16. -2006-08-17 Kevin Till - * common-src/stream.c: Loop 5 times (ntries > 5) on select error +2011-11-10 Jean-Louis Martineau + * installcheck/mock/mtx.pl: Fix qw. -2006-08-14 Paddy Sreenivasan - * client-src/sendsize.c: Fix warning - * server-src/reporter.c: Fix warnings +2011-11-10 Jean-Louis Martineau + * server-src/amstatus.pl: Use Getopt::Long -2006-07-28 Jean-Louis Martineau - * Amanda 2.5.1b2 released. - * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.1b2). +2011-11-10 Jean-Louis Martineau + * device-src/s3.c: Use CURLOPT_MAX_RECV_SPEED_LARGE. -2006-07-28 Jean-Louis Martineau - * server-src/driver.c (find_diskspace): Make sure size > 0. +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 -2006-07-28 Jean-Louis Martineau - * server-src/planner.c: Don't check new disk. +2011-11-10 Jean-Louis Martineau + * perl/Amanda/Report.pm: Always report the first 100 strange lines. + * installcheck/catalogs/longstrange.cat: Fix test. -2006-07-28 Jean-Louis Martineau - * server-src/planner.c: Always log if full size estimate is larger - than the available tape space. -2006-07-28 Jean-Louis Martineau - * server-src/planner.c: Always log if the latest full dump will be - overwritten soon. +2011-11-09 Jean-Louis Martineau + * server-src/amreport.pl: Fix for perl-5.14 + * installcheck/amreport.pl: Add test. -2006-07-27 Jean-Louis Martineau - * common-src/clock.c (timesub): Don't make a negative time. +2011-11-09 Jean-Louis Martineau + * installcheck/Installcheck/Changer.pm: Fix warnign for perl 5.14. -2006-07-27 Jean-Louis Martineau - * man/xml-source/amanda.conf.5.xml: Tell which file are loaded. - * man/xml-source/amanda-client.conf.5.xml: Ditto. +2011-11-09 Jean-Louis Martineau + * application-src/ampgsql.pl: Print state filename to debug file. -2006-07-26 Jean-Louis Martineau - * NEWS: for 2.5.1b2. +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 -2006-07-26 Jean-Louis Martineau - * common-src/util.h (CONFTYPE_HOLDING): New conftype. - * common-src/util.c (conf_init_holding, conf_set_holding, - get_conftype_hold): New fonction. - * example/amanda.conf.in: Example of new holdingdisk value. - * man/xml-source/amanda.8.xml: Example. - * man/xml-source/amanda.conf.5.xml: Document it. - * server-src/amadmin.c (disklist_one): Print holdingdisk value. - * server-src/conffile.c: Parse new CONF_HOLDING type. - * server-src/conffile.h (dumptype_get_to_holdingdisk): Change macro. - * server-src/diskfile.c (parse_diskline): dumptype_get_to_holdingdisk. - * server-src/driver.c: Use new CONFTYPE_HOLDING value. - -2006-07-26 Jean-Louis Martineau - * client-src/selfcheck.c: Fix bug found by coverity. - * common-src/debug.c: Fix bug found by coverity. - -2006-07-25 Jean-Louis Martineau - * server-src/amflush.c: Typo. - -2006-07-25 Jean-Louis Martineau - * server-src/amflush.c: Correct test for driver_stream. - -2006-07-25 Jean-Louis Martineau - * client-src/clientconf.c: Default CLN_AMANDATES to /etc/amandates. - * common-src/util.c (conf_init_size): Type is CONFTYPE_SIZE. - * server-src/conffile.c (getconf_taperalgo): New function. - * server-src/conffile.h (getconf_taperalgo): Prototype. - * server-src/driver.c: Use getconf_taperalgo. - -2006-07-25 Jean-Louis Martineau - * client-src/clientconf.c (client_getconf_boolean): New function. - * client-src/clientconf.h (client_getconf_boolean): Prototype. - * server-src/conffile.c (getconf_boolean): New function. - * server-src/conffile.h (getconf_boolean): Prototype. - * restore-src/amidxtaped.c: Use getconf_boolean. - * server-src/amflush.c: Use getconf_boolean. - * server-src/planner.c: Use getconf_boolean. - -2006-07-25 Jean-Louis Martineau - * server-src/getconf.c: Don't print BUGGY. - * changer-src/chg-chio.pl.in: Don't parse BUGGY. - * changer-src/chg-iomega.pl.in: Don't parse BUGGY. - * changer-src/chg-zd-mtx.sh.in: Don't parse BUGGY. - * man/xml-source/amgetconf.8.xml: Don't parse BUGGY. - * server-src/amverifyrun.sh.in: Don't parse BUGGY. - * server-src/amverify.sh.in: Don't parse BUGGY. - -2006-07-25 Jean-Louis Martineau - * restore-src/restore.c: Cleanup. - * restore-src/amrestore.c: Don't fsf if the last read return 0. - -2006-07-25 Jean-Louis Martineau - * client-src/selfcheck.c: Fix bug found by klocwork. - * common-src/rsh-security.c: Fix bug found by klocwork. - * common-src/ssh-security.c: Fix bug found by klocwork. - * server-src/planner.c: Fix bug found by klocwork. - -2006-07-25 Jean-Louis Martineau - * tape-src/output-tape.c (tape_tape_open): mt is declared inside #ifdef. - -2006-07-25 Jean-Louis Martineau - * server-src/amcheck.c: Fix quoting. - -2006-07-25 Jean-Louis Martineau - * client-src/clientconf.c: client_getconf* validate the type. - * common-src/util.c (get_conftype_*): New function. - * common-src/util.h (get_conftype_*): Prototype. - * server-src/conffile.c: getconf* validate the type. - * server-src/conffile.h: Use get_conftype_* function. - -2006-07-25 Jean-Louis Martineau - * client-src/clientconf.c: New AMANDATES client config option. - * client-src/clientconf.h: New AMANDATES client config option. - * client-src/amandates.c: Use AMANDATES. - * client-src/amandates.h: Use AMANDATES. - * client-src/selfcheck.c: Use AMANDATES. - * client-src/sendbackup-gnutar.c: Use AMANDATES. - * client-src/sendsize.c:: Use AMANDATES. - * common-src/util.h : New CONF_AMANDATES. - * man/xml-source/amanda-client.conf.5.xml: Document it. - -2006-07-25 Jean-Louis Martineau - * client-src/clientconf.c: New GNUTAR_LIST_DIR client config option. - * client-src/clientconf.h: New GNUTAR_LIST_DIR client config option. - * client-src/selfcheck.c: Use GNUTAR_LIST_DIR. - * client-src/sendbackup-gnutar.c: Use GNUTAR_LIST_DIR. - * client-src/sendsize.c: Use GNUTAR_LIST_DIR. - * common-src/util.h: New CONF_GNUTAR_LIST_DIR. - * man/xml-source/amanda-client.conf.5.xml: Document it. - -2006-07-25 Jean-Louis Martineau - * client-src/calcsize.c, client-src/killpgrp.c, +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, common-src/amanda.h, - common-src/debug.c, oldrecover-src/amrecover.c, - recover-src/amrecover.c, restore-src/amfetchdump.c, - restore-src/amidxtaped.c, server-src/amadmin.c, - server-src/amcheck.c, server-src/amcleanupdisk.c, - server-src/amflush.c, server-src/amindexd.c, - server-src/amlabel.c, server-src/amlogroll.c, - server-src/amtape.c, server-src/amtrmidx.c, - server-src/amtrmlog.c, server-src/chunker.c, - server-src/driver.c, server-src/dumper.c, - server-src/getconf.c, server-src/planner.c, - server-src/reporter.c, server-src/taper.c: dbrename ot the config dir. - -2006-07-25 Jean-Louis Martineau - * common-src/amanda.h: Define DBG_SUBDIR_SERVER, DBG_SUBDIR_CLIENT - and DBG_SUBDIR_CLIENT. - * amandad-src/amandad.c, changer-src/chg-scsi.c, - changer-src/chg-scsi-chio.c, client-src/calcsize.c, - client-src/killpgrp.c, client-src/rundump.c, client-src/runtar.c, - client-src/selfcheck.c, client-src/sendbackup.c, - client-src/sendsize.c, - oldrecover-src/amrecover.c, recover-src/amrecover.c, - restore-src/amfetchdump.c, restore-src/amidxtaped.c, - restore-src/amrestore.c, server-src/amadmin.c, - server-src/amcheck.c, server-src/amcleanupdisk.c, - server-src/amflush.c, server-src/amindexd.c, - server-src/amlabel.c, server-src/amlogroll.c, - server-src/amtape.c, server-src/amtrmidx.c, - server-src/amtrmlog.c, server-src/chunker.c, - server-src/diskfile.c, server-src/driver.c, - server-src/dumper.c, server-src/getconf.c, - server-src/infofile.c, server-src/planner.c, - server-src/reporter.c (dbopen): Use DBG_SUBDIR_SERVER, - DBG_SUBDIR_CLIENT or DBG_SUBDIR_CLIENT. - -2006-07-25 Jean-Louis Martineau - * client-src/calcsize.c: Get config on argument. - * client-src/killpgrp.c: Get config on argument. - * client-src/rundump.c: Get config on argument. - * client-src/runtar.c: Get config on argument. - * client-src/sendbackup.c: Call program with config as argument. - * client-src/sendbackup-dump.c: Call program with config as argument. - * client-src/sendbackup-gnutar.c: Call program with config as argument. - * client-src/sendbackup.h: Add global g_options. - * client-src/sendsize.c: Call program with config as argument. - -2006-07-23 Jean-Louis Martineau - * client-src/sendbackup-gnutar.c: Fix bug found by splint. - * client-src/sendsize.c: Fix bug found by splint. - -2006-07-22 Jean-Louis Martineau - * server-src/taper.c: Fix amfree(mem_splitbuf). - -2006-07-22 Jean-Louis Martineau - * server-src/diskfile.c, server-src/taper.c: Fix memory leak found - by coverity. - -2006-07-22 Jean-Louis Martineau - * server-src/taper.c: Fix split_buffer allocation problem. - -2006-07-22 Jean-Louis Martineau - * client-src/selfcheck.c, common-src/security-util.c, - restore-src/restore.c, server-src/diskfile.c: Fix memory leak found - by coverity. - -2006-07-20 Jean-Louis Martineau - * changer-src/chg-scsi.c, changer-src/scsi-changer-driver.c, - client-src/amandates.c, client-src/calcsize.c, - client-src/selfcheck.c, client-src/sendbackup.c, - client-src/sendsize.c, common-src/security-util.c, - recover-src/extract_list.c, restore-src/restore.c, - server-src/amindexd.c, server-src/diskfile.c, - server-src/driver.c, server-src/reporter.c, - server-src/tapefile.c, server-src/taper.c: Fix memory leak found - by coverity. - -2006-07-19 Jean-Louis Martineau - * client-src/selfcheck.c : Read client config file. - * client-src/sendbackup.c: Read client config file. - * client-src/sendsize.c : Read client config file. - -2006-07-19 Jean-Louis Martineau - * amandad-src/amandad.h (g_option_t): Add 'char *config'; - * amandad-src/amandad_util.c (parse_g_options): Parse 'config='. - * common-src/amfeatures.h (fe_req_options_config): New amfeature. - * common-src/amfeatures.c (am_init_feature_set): - set fe_req_options_config. - * server-src/amcheck.c: Send 'config=' in global options. - * server-src/dumper.c: Send 'config=' in global options. - * server-src/planner.c: Send 'config=' in global options. - -2006-07-19 Jean-Louis Martineau - * amandad-src/amandad.c: Call dbopen("amandad"). - * changer-src/chg-scsi.c: Call dbopen("server"). - * changer-src/chg-scsi-chio.c: Call dbopen("server"). - * client-src/calcsize.c: Call dbopen("client"). - * client-src/getfsent.c: Call dbopen(NULL). - * client-src/killpgrp.c: Call dbopen("client"). - * client-src/rundump.c: Call dbopen("client"). - * client-src/runstar.c: Call dbopen("client"). - * client-src/runtar.c: Call dbopen("client"). - * client-src/selfcheck.c: Call dbopen("client"). - * client-src/sendbackup.c: Call dbopen("client"). - * client-src/sendsize.c: Call dbopen("client"). - * common-src/amanda.h (dbopen, debug_open): Take a 'char * subdir' - argument. - * common-src/bsd-security.c: Call dbopen(NULL). - * common-src/debug.c (debug_open): Call debug_setup_1(subdir) - * common-src/debug.c (debug_setup_1): Take a subdir argument, - add it to dbgdir. - * common-src/file.c: Call dbopen(NULL). - * common-src/statfs.c: Call dbopen(NULL). - * common-src/token.c: Call dbopen(NULL). - * oldrecover-src/amrecover.c: Call dbopen("client"). - * recover-src/amrecover.c: Call dbopen("client"). - * restore-src/amfetchdump.c: Call dbopen("server"). - * restore-src/amidxtaped.c: Call dbopen("server"). - * restore-src/amrestore.c: Call dbopen("server"). - * server-src/amadmin.c: Call dbopen("server"). - * server-src/amcheck.c: Call dbopen("server"). - * server-src/amcleanupdisk.c: Call dbopen("server"). - * server-src/amflush.c: Call dbopen("server"). - * server-src/amindexd.c: Call dbopen("server"). - * server-src/amlabel.c: Call dbopen("server"). - * server-src/amlogroll.c: Call dbopen("server"). - * server-src/amtape.c: Call dbopen("server"). - * server-src/amtrmidx.c: Call dbopen("server"). - * server-src/amtrmlog.c: Call dbopen("server"). - * server-src/chunker.c: Call dbopen("server"). - * server-src/diskfile.c: Call dbopen("server"). - * server-src/driver.c: Call dbopen("server"). - * server-src/dumper.c: Call dbopen("server"). - * server-src/getconf.c: Call dbopen("server"). - * server-src/infofile.c: Call dbopen("server"). - * server-src/planner.c: Call dbopen("server"). - * server-src/reporter.c: Call dbopen("server"). - * server-src/taper.c: Call dbopen("server"). - -2006-07-17 Jean-Louis Martineau - * server-src/chunker.c: Fix rt computation. - * server-src/dumper.c: Fix dumptime computation. - * server-src/taper.c: Fix rt computation. - -2006-07-17 Jean-Louis Martineau - * NEWS: Klocwork defects fixed. - * NEWS: Coverity defect fixed. - -2006-07-14 Jean-Louis Martineau - * Makefile.am (pkgdata_DATA): add ReleaseNotes. - -2006-07-14 Jean-Louis Martineau - * Amanda 2.5.1b1 released. - * configure.in: Remove -Werror. - -2006-07-14 Jean-Louis Martineau - * client-src/sendsize.c: Use read/write to copy tar snapshot file. - * client-src/sendbackup-gnutar.c: Ditto. - -2006-07-13 Jean-Louis Martineau - * common-src/stream.c (stream_accept): Loop 5 times on select error. - -2006-07-13 Jean-Louis Martineau - * server-src/dumper.c: The datafd is not scheduled at start, - add test for it. - * common-src/stream.c (tcpm_recv_token): Set error_msg. - -2006-07-12 Jean-Louis Martineau - * common-src/util.c (free_new_argv): Move out of - #ifndef HAVE_LIBREADLINE. - -2006-07-12 Jean-Louis Martineau - * server-src/amadmin.c (tape): Report the number of new tapes instead - of "a new tape" for each tapes. - * server-src/reporter.c (output_tapeinfo): Ditto. - -2006-07-12 Jean-Louis Martineau - * server-src/taperscan.c (changer_taper_scan): Report error from - changer_find. - -2006-07-11 John Franks jrfranks@zmanda.com - * configure.in: Fix multiple definition of readline during cygwin - compile. - -2006-07-11 Paddy Sreenivasan - * common-src/pipespawn.c : Fixed compiler warning - -2006-07-11 Jean-Louis Martineau - * man/xml-source/amtapetype.8.xml: No default value for -e. - -2006-07-11 Jean-Louis Martineau - * common-src/util.c: Don't conftoken_ungetc(ch) if ch == EOF. - * server-src/reporter.c: Check tp == NULL. - -2006-07-11 Jean-Louis Martineau - * tape-src/tapetype.c: Make -e an needed argument. - * man/xml-source/amtapetype.8.xml: Update man page. - -2006-07-11 Jean-Louis Martineau - * changer-src/chg-zd-mtx.sh.in: Remove .conf from changerfile. - -2006-07-11 Jean-Louis Martineau - * recover-src/extract_list.c (check_file_overwrite): Renamed from - check_file_overwite. - * recover-src/extract_list.c (check_file_overwrite): Do the path check - in the correct order (from left ro right). - -2006-07-11 Jean-Louis Martineau - * common-src/file.c (debug_agets): Remove call to dbprintf. - -2006-07-10 Jean-Louis Martineau - * recover-src/extract_list.c (add_to_unlink_list, do_unlink_list, - free_unlink_list): New function to manage unlink_list. - * recover-src/extract_list.c (check_file_overwite): Check all - component of an EXTRACT_LIST_ITEM, if a component is not a - directory, add it to the unlink_list. - * recover-src/extract_list.c (extract_files): Call do_unlink_list and - free_unlink_list, rename buf to cwd. - -2006-07-10 Jean-Louis Martineau - * common-src/pipespawn.c (pipespawnv_passwd): Add prototype. - * common-src/pipespawn.c (pipespawn, pipespawn): Remove 2 NULL - parameters to the pipespawnv_passwd call. - * common-src/pipespawn.c (pipespawnv_passwd): Remove passwdvar and - passwdfd parameters, add passwdvar and local variable. - Don't use memcpy to set passwdfd. - * common-src/pipespawn.h (pipespawnv_passwd): Remove prototype. - -2006-07-07 Jean-Louis Martineau - * common-src/security-util.c (stream_read_sync_callback): Remove bogus - call of callback. - -2006-07-07 Kevin Till - * common-src/bsd-security.c: use STREAM_BUFSIZE instead of -1 - * common-src/bsdtcp-security.c: ditto - * common-src/krb4-security.c: ditto - * common-src/security-util.c: ditto - * restore-src/amidxtaped.c: ditto - -2006-07-07 Jean-Louis Martineau - * common-src/util.c (get_conftoken): Remove duplicate conftoken_ungetc. - -2006-07-07 Jean-Louis Martineau - * common-src/security-util.c: Validate and report big packet size. - -2006-07-07 Jean-Louis Martineau - * oldrecover-src/Makefile.am: Typo. - -2006-07-07 Jean-Louis Martineau - * client-src/sendsize.c: Typo. - -2006-07-06 John Franks - * common-src/genversion.c: - Remove reference to error(). This causes a compile - error on cygwin. - -2006-07-06 Jean-Louis Martineau - Klocwork bug 128, 170, 182, 470, 517 - * changer-src/chg-scsi.c: Validate drivenum, check count_file. - * client-src/sendsize.c: Validate level. - * oldrecover-src/amrecover.c: Use tm. - * recover-src/amrecover.c: Use tm. - * server-src/infofile.c (delete_txinfofile): Use local variable. - -2006-07-06 Jean-Louis Martineau - * server-src/taper.c: Check for cur_filename. - * tape-src/output-file.c: Use vstrextend. - * tape-src/tapeio.c: Check for r. - -2006-07-06 Jean-Louis Martineau - Fix splint warning - * oldrecover-src/extract_list.c (clean_tape_list): Cleanup for splint. - * recover-src/extract_list.c (clean_tape_list): Cleanup for splint. - * server-src/amindexd.c: Add a /*@i@*/. - * server-src/conffile.c: Cast to off_t for conf_init_am64. - * server-src/driver.c: Cast to unsigned to print pid_t. - * server-src/find.c (strip_failed_chunks): Cleanup for splint. - -2006-07-06 Jean-Louis Martineau - Klocwork bug 114 - * server-src/amindexd.c: Free their_feature_string. - Klocwork bug 130 - * restore-src/amrestore.c: Test maximum value for rst_flags->blocksize. - Klocwork bug 294 - * common-src/genversion.c: Check NULL result of malloc. - Klocwork bug 294 - * client-src/selfcheck.c: Check NULL result of fdopen. - Klocwork bug 539, 542 - * oldrecover-src/extract_list.c: Fix pfn2->next = fn2. - * recover-src/extract_list.c : Ditto - Klocwork bug 268, 272, 543, 544 - * oldrecover-src/extract_list.c: Check for cmd != NULL. - * recover-src/extract_list.c : Ditto - Klocwork bug 510 - * restore-src/amidxtaped.c: Check for argv != NULL. - Klocwork bug 435 - * changer-src/scsi-linux.c: Make buffer one larger. - Klocwork bug 520 - * changer-src/scsi-changer-driver.c (OpenDevice): Validate parameters. - Klocwork bug 182 - * changer-src/chg-scsi.c (clean_tape): Check usagetime != NULL. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 551 - * regex-src/regcomp.c (allocset): Check for p->g->sets - and p->g->setbits - -2006-07-05 Jean-Louis Martineau - Klocwork bug 169, 170, 181 - * changer-src/chg-scsi.c: Validate input. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 282 - * common-src/file.c (rmpdir): Check for p == NULL. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 524 - * common-src/dgram.c (dgram_send_addr): Set addr_save earlier. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 495 - * server-src/taper.c (file_reader_side): Maximum value for - fallback_splitsize. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 532 - * recover-src/display_commands.c: Check for cmd != NULL. - * oldrecover-src/display_commands.c: Ditto - -2006-07-05 Jean-Louis Martineau - Klocwork bug 410 - * restore-src/restore.c (restore): Check for tmp_filename. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 234 - * server-src/driver.c: Check for h and activehd >= 0. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 338 and 390 - * server-src/reporter.c (handle_partial, handle_strange): Check result - of handle_success. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 558 - * client-src/selfcheck.c (check_options, check_disk): Check for - calcprog == NULL - -2006-07-05 Jean-Louis Martineau - Klocwork bug 521 - * client-src/clientconf.c (add_client_conf): Check result of realloc. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 447 and 449 - * restore-src/restore.c: Check for valid sendbackup request. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 407 - * restore-src/restore.c (restore): Set statinfo.st_size. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 189 - * common-src/file.c (sanitise_filename): Never return NULL. - -2006-07-05 Jean-Louis Martineau - * amandad-src/Makefile.am: Remove tape-src and libamtape. - * client-src/Makefile.am: Remove tape-src and libamtape. - * man/Makefile.am: Cleanup. - * oldrecover-src/Makefile.am: Remove tape-src and libamtape. - * recover-src/Makefile.am: Remove tape-src and libamtape. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 236 - * server-src/driver.c (handle_dumper_result): Check for - dumper->ev_read != NULL. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 553 - * restore-src/restore.c (search_a_tape): Check for desired_tape == NULL. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 556 and 557 - * common-src/security-util.c (bsd_recv_security_ok): Check result of - strtok, check service == NULL. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 161 - * client-src/calcsize.c (calc_load_file): Return NULL if fopen fail. - * client-src/calcsize.c (main): check NULL result from calc_load_file. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 84 - * server-src/amflush.c (main): Check return of lookup_disk. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 62, 85, 459, 463, 466, 469, 555, 559 - * common-src/security-util.c: Check result of fdopen. - * client-src/sendsize.c : Ditto. - * server-src/amcheck.c : Ditto. - * server-src/amflush.c : Ditto. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 159, 375, 377, 379, 508, 509, 513, 519 - * common-src/bsd-security.c: Replace malloc by alloc. - * common-src/bsdudp-security.c: Ditto - * common-src/genversion.c: Ditto - * recover-src/amrecover.c: Ditto - * restore-src/amidxtaped.c: Ditto - * server-src/reporter.c: Ditto - -2006-07-05 Jean-Louis Martineau - Klocwork bug 562 and 475 - * recover-src/set_commands.c (cd_dir): Check result of rindex. - * oldrecover-src/set_commands.c (cd_dir): ditto. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 552 - * restore-src/restore.c (load_manual_tape): Alloc space for cur_tapedev. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 406 - * restore-src/restore.c (restore): Check for final_filename. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 318 - * server-src/list_dir.c (add_dir_list_item): Check for cur_list->next. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 17, 32 - * server-src/amadmin.c (disklist_one): Check localtime return NULL. - * server-src/amadmin.c (info_one) : Ditto. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 2, 83, 128, 384, 478, 504, 505, 506, 517, 566, 567 - * server-src/amadmin.c (seqdatestr): Check localtime return NULL. - * common-src/util.c (construct_datestamp, construct_timestamp, - conf_print): Ditto. - * oldrecover-src/amrecover.c (main): Ditto. - * oldrecover-src/uscan.l (ll_parse_date): Ditto. - * recover-src/amrecover.c (main): Ditto. - * recover-src/uscan.l (ll_parse_date): Ditto. - * server-src/amflush.c (main): Ditto. - * server-src/reporter.c (handle_success): Ditto. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 470 - * client-src/sendsize.c (add_diskest): Check for level value. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 372 - * server-src/reporter.c (nicedate): Check month value. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 20 - * server-src/amadmin.c (tape): Limit nb_days to 10000. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 21 - * server-src/amadmin.c (balance): Test 'later' after it is set. - -2006-07-05 Jean-Louis Martineau - * common-src/alloc.c (internal_vstralloc): Don't return NULL. - -2006-07-05 Jean-Louis Martineau - * server-src/infofile.c (open_txinfofile): Use local variable. - -2006-06-29 Jean-Louis Martineau - * restore-src/restore.c (label_of_current_slot): Close the tapefd if - the label mismatch. - -2006-06-29 Jean-Louis Martineau - * server-src/find.c (strip_failed_chunks): - - Get a **output_find as parameter. - - Check the label before remove a valid chunk. - - Memory management fix. - -2006-06-28 Jean-Louis Martineau - * common-src/security-util.c: Improve message for .amandahosts. - -2006-06-27 Ian Turner - * common-src/fileheader.c: Fix a bug where spanned dumps would - always fail. - -2006-06-27 Jean-Louis Martineau - * server-src/amcheck.c: Fix test for holdingdisk negative size. - -2006-06-27 Jean-Louis Martineau - * configure.in: Don't set DEFAULT_TAPE_DEVICE if it is not set. - * client-src/clientconf.c: Work DEFAULT_TAPE_DEVICE not set. - * common-src/genversion.c: Work DEFAULT_TAPE_DEVICE not set. - * recover-src/amrecover.c: Work DEFAULT_TAPE_DEVICE not set. - * server-src/getconf.c: Work DEFAULT_TAPE_DEVICE not set. - -2006-06-27 Jean-Louis Martineau - Patch by Paul Bijnens - * server-src/amcheck.c: Check for access(hdp->diskdir, X_OK). - -2006-06-27 Jean-Louis Martineau - * server-src/conffile.c (getconf_byname): Check for kt->keyword != NULL. - * client-src/clientconf.c (client_getconf_byname): Ditto - -2006-06-22 Jean-Louis Martineau - * recover-src/extract_list.c: check_file_overwite. - -2006-06-22 Jean-Louis Martineau - * recover-src/extract_list.c: Do the cleanup of the extract list - at the extraction time - * oldrecover-src/extract_list.c: Ditto. - -2006-06-22 Jean-Louis Martineau - * NEWS: Add new features. - * ReleasesNotes: New files. - -2006-06-22 Jean-Louis Martineau - * docs/Makefile.am (pkgdata_DATA): Add amaespipe.8.txt amcrypt.8.txt - amcrypt-asym-ossl.8.txt amcrypt-ossl.8.txt amfetchdump.8.txt - * docs/amaespipe.8.txt: New file. - * docs/amcrypt.8.txt: New file. - * docs/amcrypt-asym-ossl.8.txt: New file. - * docs/amcrypt-ossl.8.txt: New file. - * docs/amfetchdump.8.txt: New file. - -2006-06-22 Jean-Louis Martineau - * docs/Makefile.am (pkgdata_DATA): Add howto-auth.txt. - * docs/howto-auth: Documentation on auth. - * docs/*.txt: Update from xml-docs - -2006-06-22 Jean-Louis Martineau - * man/xml-source/amanda.conf.5.xml: Add notes about bsdudp and bsdtcp. - * man/xml-source/amanda-client.conf.5.xml: Ditto. - -2006-06-22 Jean-Louis Martineau - * recover-src/extract_list.c (is_empty_dir): New function. - * recover-src/extract_list.c: Print a warning if cwd is not empty. - -2006-06-22 Jean-Louis Martineau - * server-src/amadmin.c: Allow 'p' and 'P' in --sort argument. - -2006-06-22 Jean-Louis Martineau - * server-src/amadmin.c: Print errstr returned by match_disklist. - * server-src/amcheck.c: Print errstr returned by match_disklist. - * server-src/amflush.c: Print errstr returned by match_disklist. - * server-src/diskfile.c (match_disklist): Return an error str. - * server-src/diskfile.h (match_disklist): New prototype. - * server-src/planner.c: Print errstr returned by match_disklist. - * server-src/reporter.c: Accept host/disk as arguments. - -2006-06-22 Jean-Louis Martineau - * server-src/amindexd.c (uncompress_file): Set LC_ALL=C before - executing sort. - -2006-06-22 Jean-Louis Martineau - * server-src/driver.c (wait_children, kill_children): New function. - * server-src/driver.c (wait_for_children): Use wait_children and - kill_children. - * server-src/driver.c (main): Use wait_children. - * server-src/driverio.c (taper_cmd, chunker_cmd): Close socket on QUIT - or ABORT command. - -2006-06-22 Jean-Louis Martineau - * common-src/amfeatures.c (am_init_feature_set): Set - fe_amrecover_feedme_tape. - * common-src/amfeatures.h (fe_amrecover_feedme_tape): New amfeatures. - * common-src/fileheader.c (print_header): Fix. - * recover-src/extract_list.c: Use fe_amrecover_feedme_tape. - * restore-src/amfetchdump.c: Print error if get_lock == 0. - * restore-src/amidxtaped.c: Call send_message if get_lock == 0. - * restore-src/restore.c: Split search_tapes in 5 functions. - * restore-src/restore.h (send_message): prototype. - -2006-06-22 Jean-Louis Martineau - * man/xml-source/amfetchdump.8.xml: Document -O and new -o. - * restore-src/amfetchdump.c: Replace -o by -O - -2006-06-22 Jean-Louis Martineau - * client-src/clientconf.c (parse_client_conf): Fix segmentation fault. - * server-src/conffile.c (parse_server_conf): Fix segmentation fault. - -2006-06-21 Kevin Till - * changer-src/chg-juke.sh.in - * changer-src/chg-manual.sh.in - * changer-src/chg-mcutil.sh.in - * changer-src/chg-multi.sh.in - * changer-src/chg-mtx.sh.in - * changer-src/chg-rait.sh.in - * changer-src/chg-disk.sh.in - * changer-src/chg-zd-mtx.sh.in - * changer-src/chg-null.sh.in - * changer-src/chg-chs.sh.in - * client-src/patch-system.sh.in - * amplot/amplot.sh.in - * server-src/amcrypt-ossl.sh.in - * server-src/amrmtape.sh.in - * server-src/amcleanup.sh.in - * server-src/amverifyrun.sh.in - * server-src/amaespipe.sh.in - * server-src/amdump.sh.in - * server-src/amcrypt.sh.in - * server-src/amcrypt-ossl-asym.sh.in - * server-src/amcheckdb.sh.in - * server-src/amfreetapes.sh.in - * server-src/amverify.sh.in - change /bin/sh to @SHELL@ for configure to pick up the correct - shell. Sourceforge bug 1466655 - * man/xml-source/amcrypt-ossl-asym.8.xml: it's backup-privkey.pem - -2006-06-20 Kevin Till - * common-src/security-util.c: ignore EINTR in net_writev - patch by Jean-Louis Martineau. - -2006-06-20 John Franks - * server-src/conffile.c: - Remove Duplicate keyword table entries and alphabetize - to make future duplicates easier to spot... - - * server-src/taper.c: - Fix compiler warnings when no mmap function is present. - -2006-06-20 John Franks - * server-src/diskfile.c: - Default boolean values without parameters to yes if - no value is present in configuration file. This - maintains backward compatibility and is logical since - a value such as "index" reads as an assertion of fact. - -2006-06-19 Jean-Louis Martineau - * docs/wishlist.txt: Remove features done in 2.5.0/2.5.1 - -2006-06-19 Jean-Louis Martineau - * man/xml-source/amanda.conf.5.xml: amrecover_check_label and - amrecover_do_fsf default to yes. - * server-src/conffile (init_dumptype_defaults): DUMPTYPE_INDEX set to 1. - * server-src/diskfile.c (parse_diskline): index set from - dumptype_get_index. - -2006-06-16 Jean-Louis Martineau - * server-src/amstatus.pl.in: Match quotes in DONE line. - -2006-06-16 Kevin Till - * example/amanda-client.conf.in: - correct DEFAULT_TAPE_SERVER/DEFAULT_SERVER - * server-src/amcrypt-ossl-asym.sh.in: - set RANDFILE for openssl to place entropy file. - * server-src/amcrypt-ossl.sh.in: ditto - -2006-06-16 Jean-Louis Martineau - * amandad-src/amandad.c : Use strcasecmp to compare auth. - * client-src/selfcheck.c : Ditto - * client-src/sendbackup.c : Ditto - * restore-src/amidxtaped.c: Ditto - * server-src/amindexd.c : Ditto - -2006-06-16 Jean-Louis Martineau - * server-src/amindexd.c (reply, lreply, fast_lreply): Correct use - of arglist_start and arglist_end.. - * server-src/amindexd.c (lreply_backend): Remove function. - -2006-06-16 Jean-Louis Martineau - * common-src/bsd-security.c (stream_read_callback): Send error to the - callback. - -2006-06-16 Jean-Louis Martineau - * recover-src/extract_list.c: Typo. - * restore-src/restore.c: Typo. - -2006-06-16 Jean-Louis Martineau - * client-src/clientconf.c: Allow include. - * client-src/clientconf.c (read_confline): Don't crash. - * server-src/conffile.c (read_confline): Don't crash. - * recover-src/amrecover.c: Exit if error in conf file. - -2006-06-16 Jean-Louis Martineau - * common-src/arglist.h: Typo. - * recover-src/extract_list.c: handle MESSAGE from amidxtaped. - -2006-06-16 Jean-Louis Martineau - * common-src/amfeatures.c (am_init_feature_set): Set - fe_amrecover_message. - * common-src/amfeatures.h (am_feature_e): Add fe_amrecover_message. - * common-src/arglist.h (printf_arglist_function3): Prototype. - -2006-06-16 Jean-Louis Martineau - * restore-src/restore.c (send_message): New function that send message - to stderr and/or amrecover. - * restore-src/restore.c: Call send_message on some error path. - -2006-06-16 Jean-Louis Martineau - * common-src/event.c (event_loop_wait, event_wait): Take an - event_handle_t * as parameter. - * common-src/event.h: New prototype. - * common-src/bsd-security.c: Call event_wait(bs->ev_read). - * common-src/krb4-security.c: Call event_wait(ks->ev_read). - * common-src/krb5-security.c: Call event_wait(ks->ev_read). - * common-src/security-util.c: Call event_wait(ss->ev_read). - -2006-06-15 Kevin Till - * man/xml-source/amcrypt-ossl-asym.8.xml: it's .am_passphrase - * server-src/amcrypt-ossl-asym.sh.in: export PATH - * server-src/amcrypt-ossl.sh.in: export PATH - - -2006-06-15 Jean-Louis Martineau - * server-src/amcheck.c: -w doesn't change the test selection. - * man/xml-source/amcheck.8.xml - -2006-06-15 Jean-Louis Martineau - * server-src/planner.c: Log empty disklist and no DLE selected. - -2006-06-14 Jean-Louis Martineau - * common-src/bsd-security.c: Use %u to print in_port_t data. - * common-src/bsdudp-security.c: Ditto. - -2006-06-14 Jean-Louis Martineau - * changer-src/chg-disk.sh.in: Return the number of slot in output of - the -info command. - * changer-src/chg-zd-mtx.sh.in: Ditto. - -2006-06-14 Jean-Louis Martineau - * changer-src/chg-zd-mtx.sh.in: Accept changerfile that already - have the .conf suffix. - -2006-06-13 Jean-Louis Martineau - * amandad-src/amandad.c (s_ackwait): Resend the REP on receive of a - duplicate REQ. - -2006-06-13 Jean-Louis Martineau - * common-src/security-util.c (bsd_recv_security_ok): Set error only - if we get an error. - -2006-06-12 Jean-Louis Martineau - * server-src/driver.c: usetimestamps is a warning. - -2006-06-12 Kevin Till - * common-src/security-util.c: if host is 127.0.0.1 and either - localhost or localhost.domain is in .amandahost, hostmatch passes. - * common-src/security-util.h: update check_user_amandahosts prototype - -2006-06-12 Jean-Louis Martineau - * amandad-src/amandad.c (process_writenetfd): Close the pipe if the - security_stream is closed. - * recover-src/extract_list.c: Improve message if we don't get thei - FEATURE line from amidxtaped. - -2006-06-12 Jean-Louis Martineau - * recover-src/amrecover.c: Read amanda-client.conf and - /amanda-client.conf. - -2006-06-12 Jean-Louis Martineau - * common-src/security-util.c, common-src/tapelist.c, - restore-src/restore.c, server-src/amcheck.c, server-src/amindexd.c, - server-src/amtape.c, server-src/changer.c, server-src/driver.c, - server-src/planner.c, server-src/taper.c, - server-src/taperscan.c: Fix memory leak. - -2006-06-12 Jean-Louis Martineau - * restore-src/restore.c: Fix Adding at end of list. - -2006-06-12 Jean-Louis Martineau - * server-src/taper.c (syncpipe_putstr): Don't crash if str is NULL. - -2006-06-09 Jean-Louis Martineau - * server-src/holding.c (pick_datestamp): Fix reading user input. - -2006-06-09 Jean-Louis Martineau - * recover-src/amrecover.c (sigint_handler): Call send_command only if - amindexd is alive. - -2006-06-09 Jean-Louis Martineau - * common-src/util.c (connect_port): ETIMEDOUT is a fatal error. - -2006-06-09 Jean-Louis Martineau - * common-src/stream.c (stream_client_internal): Get errno set - correctly. - * server-src/driver.c (handle_chunker_result): Don't assert(0) on - receive of a TRYAGAIN from a chunker, but set - chunker->result. - * server-src/dumper.c: Try gethostbyname("localhost") before calling - stream_client and log appropriate message. - -2006-06-09 Jean-Louis Martineau - * server-src/amcheck.c: Report ERROR if gethostbyname("localhost") - doesn't succeed. - -2006-06-08 Jean-Louis Martineau - * client-src/clientconf.c (add_client_conf): New function to map - normal option to their - -o equivalent. - * client-src/clientconf.h (add_client_conf): Prototype. - * man/xml-source/amrecover.8.xml: Document -o. - * recover-src/amrecover.c: Also read /amanda-client.conf - -2006-06-08 Jean-Louis Martineau - * server-src/diskfile.c (parse_diskline): Only return 0 or -1. - -2006-06-08 Jean-Louis Martineau - * amandad-src/amandad.h (g_option_t): Add auth. - * amandad-src/amandad_util.c (init_g_options): Set auth to NULL. - * amandad-src/amandad_util.c (parse_g_options): Parse auth. - * amandad-src/amandad_util.c (free_g_options): Free auth. - * client-src/sendbackup.c: Get amandad_auth from command line and - compare with REQ packet. - * common-src/amfeatures.h (fe_amindexd_options_hostname, - fe_amindexd_options_features, - fe_amindexd_options_auth, - fe_amidxtaped_options_hostname, - fe_amidxtaped_options_features, - fe_amidxtaped_options_auth): New amfeatures. - * common-src/amfeatures.c (am_init_feature_set): Set new amfeatures. - * recover-src/amrecover.c: Send auth in OPTIONS of req packet. - * recover-src/extract_list.c: Send auth in OPTIONS of req packet. - * restore-src/amidxtaped.c: Parse amandad_auth from command line. - Get auth from OPTIONS line. - Compare them. - * server-src/amindexd.c: Parse amandad_auth from command line. - Get auth from OPTIONS line. - Compare them. - -2006-06-08 Jean-Louis Martineau - * common-src/util.c(connect_port): Return -2 on ECONNREFUSED error - from connect. - -2006-06-07 Jean-Louis Martineau - * amandad-src/amandad.c: exec the service with the auth as parameter. - * amandad-src/amandad.c(writebuf): Do no close fd. - * client-src/selfcheck.c: Read the auth for the command line and - compare with the option string. - * client-src/selfcheck.c(main): Do no close 0,1,2 fd. - -2006-06-07 Jean-Louis Martineau - * man/xml-source/amanda.8.xml(CONFIGURATION OVERWRITE): New section. - * man/xml-source/amadmin.8.xml, man/xml-source/amcheck.8.xml, - man/xml-source/amdump.8.xml, man/xml-source/amflush.8.xml, - man/xml-source/amgetconf.8.xml, man/xml-source/amlabel.8.xml, - man/xml-source/amreport.8.xml, - man/xml-source/amrestore.8.xml: Add -o option. - -2006-06-07 Jean-Louis Martineau - * common-src/util.c(get_conftoken): Merge from zmanda. - -2006-06-07 Jean-Louis Martineau - * common-src/util.c(get_conftoken): Remove a conftoken_ungetc. - -2006-06-07 Jean-Louis Martineau - * common-src/bsd-security.c (stream_read_callback): Merge with zmanda. - -2006-06-07 Jean-Louis Martineau - * amandad-src/amandad.c(process_writenetfd): Call security_stream_read - only if size > 0. - -2006-06-07 Jean-Louis Martineau - * server-src/conffile.c (lookup_interface): Fix merge error. - -2006-06-07 John Franks - * common-src/amanda.h: - Fix isnormal() replacement macro to indirectly - check if a floating point value is != 0.0. - This prevents compiler warnings. - -2006-06-07 John Franks - * common-src/util.c - Put in "/* NOTREACHED */" comments after error() calls. - * server-src/diskfile.c - Change disktype index default to yes for backward compatibility. - -2006-06-06 John Franks - * amandad-src/amandad.c common-src/bsd-security.c: - Correct fix for infinite amandad loop. - -2006-06-06 John Franks - * common-src/stream.c common-src/util.c: - Lint clean again. - * server-src/conffile.c: - Remove replicated line - -2006-06-06 Jean-Louis Martineau - * common-src/util.c (conftoken_ungetc): Return the character. - * common-src/util.c (get_conftoken): Merge to allow escape character. - * common-src/util.c (read_block): Allow STRING as IDENT. - * server-src/conffile.c (getconf_long, getconf_size): New function. - * server-src/conffile.c: Cleanup after Merge. - -2006-06-06 Jean-Louis Martineau - * server-src/amadmin.c, server-src/amcheck.c, server-src/amflush.c, - server-src/amlabel.c, server-src/amlogroll.c, server-src/amtrmidx.c, - server-src/amtrmlog.c, server-src/getconf.c, - server-src/reporter.c: Usage -o - * server-src/amflush.c, server-src/amlogroll.c, server-src/amtrmidx.c, - server-src/amtrmlog.c, server-src/chunker.c, server-src/driver.c, - server-src/dumper.c, server-src/getconf.c, server-src/planner.c, - server-src/reporter.c, - server-src/taper.c: Add call to report_bad_conf_arg. - * server-src/conffile.c(get_comprate, get_compress): Parse CONF_END. - -2006-06-06 John Franks - * configure.in: - Increase checking level from 1 to 2 for SUN lint. - * client-src/amandates.c client-src/clientconf.c - common-src/security-util.c recover-src/amrecover.c - recover-src/extract_list.c regex-src/regcomp.c server-src/amcheck.c - server-src/amlabel.c server-src/chunker.c server-src/conffile.c - server-src/conffile.h server-src/diskfile.c server-src/diskfile.h - server-src/driver.c server-src/holding.c server-src/reporter.c - server-src/tapefile.c server-src/taper.c tape-src/amdd.c: - Lint clean again. - * common-src/util.h common-src/util.c: - Lint clean again. - Add missing conftype size. - * common-src/bsd-security.c - Fix infinte loop which consumes all /tmp space and 1/2 - the CPU time when EOF is reached on socket. - -2006-06-05 Paddy Sreenivasan - * common-src/util.c: Fix warning - -2006-06-05 Jean-Louis Martineau - * restore-src/amfetchdump.c, server-src/amcheck.c, - server-src/amcheckdb.sh.in, server-src/amcleanup.sh.in, - server-src/amdump.sh.in, server-src/amflush.c, - server-src/amlabel.c, server-src/amlogroll.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/chunker.c, server-src/conffile.c, - server-src/diskfile.c, server-src/driver.c, - server-src/driverio.c, server-src/dumper.c, - server-src/getconf.c, server-src/planner.c, - server-src/reporter.c, server-src/taper.c, - server-src/taperscan.c: Allow -o options and some memory fix. - * server-src/conffile.c(lookup_dumptype, lookup_tapetype, - lookup_interface): Use strcasecmp. - -2006-06-02 Jean-Louis Martineau - * common-src/stream.c (stream_client_internal): Use connect_portrange. - * common-src/util.c (connect_portrange): First, try to connect with a - port already used. - * common-src/util.c (connect_port): Try to connect with a specific port. - * common-src/util.h: Cleanup. - -2006-06-02 Jean-Louis Martineau - * server-src/reporter.c: Remove empty if. - -2006-06-02 Jean-Louis Martineau - * common-src/util.c (read_block): Don't read CONF_NL aftre the '{'. - * server-src/conffile.c(get_holdingdisk, get_tapetype, get_interface): - Read a CONF_NL after the call to read_block. - * server-src/conffile.c(read_dumptype): Read a CONF_NL if we are not - called from diskfile. - * server-src/diskfile.c: Don't loop on empty line after read_dumptype. - -2006-06-01 Kevin Till - * server-src/amcrypt-ossl.sh.in: symmetric encrypt script using openSSL. - Thanks to Ben Slusky. - * server-src/amcrypt-ossl-asym.sh.in: public-ley encrypt script using openSSL. - * man/xml-source/amcrypt-ossl.8.xml: man page - * man/xml-source/amcrypt-ossl-asym.8.xml: man page - * configure.in: ditto - * man/Makefile.am: ditto - * man/entities/global.entities: ditto - * server-src/Makefile.am: ditto - -2006-06-01 John Franks - Eliminate Cygwin compile warnings. - * client-src/getfsent.c: Quiet unused parameter warnings. - * client-src/selfcheck.c: Quiet unused parameter warnings. - * common-src/security-util.h: Make hostname const char *. - -2006-06-01 Jean-Louis Martineau - * server-src/amcheck.c: holdingdisk_get_disksize() return an off_t. - * server-src/find.c: result should be ssize_t. - -2006-06-01 Jean-Louis Martineau - * common-src/amanda.h: Remove am64_t. - * client-src/clientconf.c, client-src/clientconf.h, common-src/util.c, - common-src/util.h, server-src/conffile.c, server-src/conffile.h: - Second pass of config cleanup, add function to parse -o argument. - * recover-src/amrecover.c: -o command argument. - * restore-src/restore.c: Use off_t instead of am64_t. - * server-src/amadmin.c: New config subcommand. -o command argument. - * server-src/amlabel.c: Fix memory leak. - * server-src/diskfile.c: Fix memory leak. - * server-src/diskfile.h: Rename no_hold to to_holdingdisk. - * server-src/driver.c: Many. - * server-src/planner.c: am64_t to off_t. - -2006-06-01 Jean-Louis Martineau - This is the first pass of a general rewrite of configuration file - parsing, It will now use array to store all options. - - * client-src/clientconf.c: - * client-src/clientconf.h: - * server-src/conffile.c: - * server-src/conffile.h: - * common-src/util.c: Many new functions. - * common-src/util.h: - - * restore-src/amidxtaped.c, server-src/amcheck.c, - server-src/amcleanupdisk.c, server-src/amlabel.c, - server-src/diskfile.c, server-src/driver.c, server-src/driverio.c, - server-src/find.c, server-src/holding.c, server-src/planner.c, - server-src/reporter.c, - server-src/taper.c: Use new macro to get configuration option. - -2006-06-01 Jean-Louis Martineau - * amandad-src/amandad.c, client-src/amandates.c, client-src/noop.c, - client-src/selfcheck.c, client-src/sendsize.c, - common-src/bsd-security.c, common-src/bsdtcp-security.c, - common-src/bsdudp-security.c, common-src/fileheader.c, - common-src/rsh-security.c, common-src/security-util.c, - common-src/security-util.h, common-src/ssh-security.c, - recover-src/extract_list.c, server-src/amcheck.c, - server-src/amindexd.c, server-src/amlogroll.c, - server-src/diskfile.c, server-src/driver.c, server-src/dumper.c, - server-src/find.c, server-src/logfile.c, server-src/planner.c, - server-src/reporter.c, - server-src/tapefile.c: Fix memory and fd leak. - -2006-06-01 Jean-Louis Martineau - * server-src/find.c (search_holding_disk): Take the datestamp from the - file, not the directory name, otherwise usetimestamps=no doesn't - work. - -2006-06-01 Jean-Louis Martineau - * common-src/stream.c (stream_server): New priv parameter if we want - a reserved port. Don't try to - get a reserved port if priv==0. - * common-src/stream.h (stream_server): New prototype. - * common-src/bsd-security.c: Call stream_server with priv==0. - * common-src/krb4-security.c: Call stream_server with priv==1. - * common-src/security-util.c: Call stream_server with priv==0. - * restore-src/amidxtaped.c: Call stream_server with priv==0. - * server-src/chunker.c: Call stream_server with priv==0. - * server-src/taper.c: Call stream_server with priv==0. - -2006-06-01 Jean-Louis Martineau - * server-src/diskfile.c: Return -1 if open of diskfile failed. - * server-src/driver.c: Change message if didn't get a DATE line. - * server-src/reporter.c: Ignore faillure in reading amanda.conf - disklist and tapelist. - -2006-05-29 Jean-Louis Martineau - * man/xml-source/amanda.8.xml: Documents service in .amandahosts. - -2006-05-29 Jean-Louis Martineau - Previous patch doesn't work because 'make -j2' will use fd 3. - * amandad-src/Makefile.am: Use a temporary file for output of - 'make listlibsrc'. - * changer-src/Makefile.am: Ditto. - * client-src/Makefile.am: Ditto. - * common-src/Makefile.am: Ditto. - * oldrecover-src/Makefile.am: Ditto. - * recover-src/Makefile.am: Ditto. - * restore-src/Makefile.am: Ditto. - * server-src/Makefile.am: Ditto. - * tape-src/Makefile.am: Ditto. - -2006-05-29 Jean-Louis Martineau - * amandad-src/Makefile.am: 'make listlibsrc' send it's ouput to fd 3. - * changer-src/Makefile.am: Ditto. - * client-src/Makefile.am: Ditto. - * common-src/Makefile.am: Ditto. - * oldrecover-src/Makefile.am: Ditto. - * recover-src/Makefile.am: Ditto. - * restore-src/Makefile.am: Ditto. - * server-src/Makefile.am: Ditto. - * tape-src/Makefile.am: Ditto. - -2006-05-28 Paddy Sreenivasan - * tape-src/tapeio.c : Fixed warnings - * tape-src/output-rait.c : Fixed warnings - * tape-src/output-null.c : Fixed warnings - * tape-src/output-file.c : Fiexed warnings - * recover-src/amrecover.c: Fixed warnings - * recover-src/extract_list.c : Fixed warnings - * server-src/amadmin.c : Fixed warnings - * server-src/driver.c : Fixed warnings - * server-src/infofile.c : Fixed warnings - -2006-05-26 Jean-Louis Martineau - * server-src/conffile.c (read_dumptype): Parse SSH_KEYS. - -2006-05-26 Jean-Louis Martineau - * common-src/security-util.c (udp_inithandle): Remove bad merge. - * server-src/amindexd.c: Improve error message. - * server-src/planner.c: Add a space in output. - -2006-05-26 Jean-Louis Martineau - * server-src/conffile.c: Set dpcur.no_hold correctly, - Fix for conffile program. - -2006-05-26 Jean-Louis Martineau - Allow many services to share the same tcp connection for - bsdtcp/ssh/rsh. - Add a security_close_connection to the security-api. - * amandad-src/amandad.c (wait_30s, exit_on_qlength): New variable to - control auth specific behaviour. - * common-src/bsd-security.c: Add sec_close_connection_none. - * common-src/bsdudp-security.c: Add sec_close_connection_none. - * common-src/krb4-security.c: Add sec_close_connection_none. - * common-src/krb5-security.c: Add sec_close_connection_none. - * common-src/security.h (security_close_connection): Prototype. - * common-src/security-util.h (sec_close_connection_none, - tcpm_close_connection): Prototype. - * common-src/security-util.h (struct tcp_conn): Add toclose. - * common-src/security-util.h (struct sec_stream): Add closed_by_me and - closed_by_network. - * common-src/security-util.c (sec_close_connection_none, - tcpm_close_connection): New function. - * common-src/security-util.c: Handle many services on one connection. - * common-src/bsdtcp-security.c: Handle many services on one connection. - * common-src/rsh-security.c: Handle many services on one connection. - * common-src/ssh-security.c: Handle many services on one connection. - * recover-src/amrecover.c: Add call security_close_connection. - * recover-src/extract_list.c: Add call security_close_connection. - * server-src/amcheck.c: Add call security_close_connection. - * server-src/dumper.c: Add call security_close_connection. - -2006-05-26 Jean-Louis Martineau - * common-src/security-util.c (bsd_prefix_packet): We need the username - of the getuid() user. - -2006-05-26 Jean-Louis Martineau - * common-src/fileheader.c: Parse datestamp on F_TAPEEND. - * restore-src/amrestore.c: Set read_result to the result of - read_file_header. - * restore-src/restore.c (read_file_header): Return a ssize_t. - Rename bytes_read by read_result. - Set read_result to the result of read_file_header. - * restore-src/restore.h (read_file_header): New prototype. - -2006-05-25 Jean-Louis Martineau - * server-src/taperscan.c: Replace bogus newvstralloc by vstrextend. - -2006-05-25 Jean-Louis Martineau - * client-src/getfsent.c (print_entry): Add prototype. - * common-src/token.c (main): Shut up compiler warning. - * server-src/infofile.c (dump_rec, dump_db): Add prototype. - -2006-05-25 Jean-Louis Martineau - * amandad-src/amandad.c, common-src/bsd-security.c, - common-src/bsdtcp-security.c, common-src/bsdudp-security.c, - common-src/event.c, common-src/krb5-security.c, - common-src/protocol.c, common-src/rsh-security.c, - common-src/security-util.c, common-src/ssh-security.c, - common-src/util.c, server-src/driver.c: comment debugging. - -2006-05-25 Jean-Louis Martineau - * common-src/security-util.c: typo. - * server-src/amcheck.c: Make sure all check are done. - -2006-05-25 Jean-Louis Martineau - Fix for program not compiled by default. - make bsdsecurity still not compile. - * common-src/bsd-security.c(bind_portrange): prototype change. - * common-src/Makefile.am (STANDARD_COMMON_STUFF_NOT_FILE): Add match.o. - * server-src/conffile.c: Many typo. - * tape-src/tapeio.c: Use OFF_T_FMT and SSIZE_T_FMT when needed, typo. - -2006-05-25 Jean-Louis Martineau - * common-src/fileheader.c (validate_datestamp): Works for 8 characters - datestamp. - * common-src/security-util.c (tcpm_send_token): netlength must be - uint32_t. - * common-src/security-util.c (bsd_prefix_packet): Fix typo. - * common-src/util.c (get_time): Don't do computation for starttime. - * server-src/conffile.c (read_dumptype): Do computation for starttime. - -2006-05-25 Jean-Louis Martineau - * common-src/krb5-security.c (krb5_sendpkt, krb5_stream_read_sync, - recv_token): Return ssize_t. - * common-src/krb5-security.c (krb5_accept, krb5_stream_accept,i - krb5_stream_auth): Shut up compiler. - * tape-src/output-file.c: Use SSIZE_MAX instead of SSIZE_T_MAX. - -2006-05-25 Jean-Louis Martineau - * configure.in(AM_INIT_AUTOMAKE): Fix. - -2006-05-25 John Franks - Pass user CFLAGS correctly to machine generated code and do not - enforce code quality checks on them. - * configure.in: - Put compiler code check flags into existing, but previously - unused, AM_CFLAGS for Makefiles to pick up. CFLAGS should - now only contain mandatory flags. - - * recover-src/Makefile.am oldrecover-src/Makefile.am: - Use CFLAGS for compiling C code generated from uparse.y and uscan.l - -2006-05-24 John Franks - Add support for binary path names on disk and in configuration files. - (Allow spaces in filenames.) - - Allow quoted strings for disklist entries. - - Lint clean code using sun lint, splint and strict GCC warnings. - Type / size clean, dead code removal, portibility checks, etc. - Many checks are still turned off. See configure.in for lint flags used. - - Increase debug output in /tmp/amanda/*debug files. - - Set SO_REUSEADDR on sockets help avoid running out of ports. - - * configure.in: - Added lint program discovery with specific targets for SUN lint and splint. - Check each compiler option to see if GCC supports it. - Enable more code quality warnings. - Change missing xsltproc to warning rather than error. - Define _GNU_SOURCES to build flags. - Make size_t and time_t printf format macros. - Check for isnormal() availability. - Don't install man pages if they are not built. - Fix man pages to not attempt build or install if - --without-built-manpages is set. - - * Makefile.am amandad-src/Makefile.am changer-src/Makefile.am - client-src/Makefile.am common-src/Makefile.am - oldrecover-src/Makefile.am recover-src/Makefile.am - restore-src/Makefile.am server-src/Makefile.am tape-src/Makefile.am: - Add lint target. - - * common-src/amanda.h common-src/dgram.c common-src/stream.c - common-src/util.c: - Keep checking for ports on all bind errors. - Delay and retry a few times if all ports are busy. - Retry bind failures after all methods fail. - increase bind checking timeout to 30 minutes. - - * client-src/amandad.c - Issue wait when any child exits. (Get rid of defunct processes) - Stat() index file before using system command. - (shell is not reporting failure if index is not present) - - * recover-src/extract_list.c: - Fix problem of 'add *' not adding directories. - Fix problem of freeing pointer not obtained through malloc. - Touch up file addition to actually use the file names - retrieved when adding a directory and not the directory itself. - - * server-src/taper.c - Strenghten error recovery for broken syncpipes and writer errors. - - * changer-src/chg-scsi-chio.c client-src/amandates.c - client-src/client_util.c client-src/findpass.c client-src/getfsent.c - client-src/selfcheck.c client-src/sendbackup-gnutar.c - client-src/sendbackup-star.c client-src/sendbackup.c - client-src/sendsize.c common-src/bsd-security.c common-src/file.c - common-src/krb5-security.c server-src/amcheck.c server-src/amindexd.c - server-src/diskfile.c server-src/driver.c server-src/dumper.c - server-src/holding.c server-src/infofile.c server-src/logfile.c - server-src/tapefile.c: - allow empty lines in input streams. - - * recover-src/uparse.y - print message when input is garbage. - - * server-src/getconf.c: - Define HOSTNAME_INSTANCE if it was not already defined - for Kerberos. - - * configure.in: Make readline warning less specific. Readline is - used by all input from terminal now. - -2006-05-24 Kevin Till - * client-src/sendbackup.c: ignore SIGINT - * common-src/ssh-security.c: add to total only when n > 0 - * common-src/ssh-security.c: add ssh to error, - retry writev when EINTR, EAGAIN is seen - to STDOUT. exit when options is chosen in template mode. - * server-src/driver.c: make sure timestamp is not null - * amanda/configure.in: remove template.d/amanda.conf which is a dup - of amanda-harddisk.conf - * example/Makefile.am: add template.d/README - * amanda-harddisk.conf.in: set tapedev - * recover-src/amrecover.c: aclose socket before exit. - * recover-src/extract_list.c: ditto - * amanda_enterprise.spec: remove template.d/amanda.conf, add template.d/README - in the failure cases. <> user input field. - * server-src/amcheck.c: no quoted text is a warning - * server-src/driver.c: no need to amfree qname - argument. Search mtx in PATH too. - * example/template.d/advanced.conf.in: fix comment for autoflush - * example/template.d/advanced.conf.in: add usetimestamps - * server-src/diskfile.c: to catch unsupported compress-encryption - combination and abort amdump gracefully. - * man/xml-source/amanda.conf.5.xml: fix syntax, add - dumptype references. - * man/xml-source/amanda.8.xml: fix syntax - * configure.in: ditto - * man/Makefile.am: ditto - * example/amanda.conf.in: tidy up - * man/xml-source/amaespipe.8.xml: add uuencode as requirement - * man/xml-source/amcrypt.8.xml: add uuencode as requirement - * server-src/amcheck.c: catch dumptype misconfiguration - * server-src/diskfile.c: ditto - * server-src/driverio.c: ditto - * server-src/planner.c: ditto - * server-src/conffile.c: check includefile before calling - read_conffile_recursively - * example/amanda.conf.in: add public-key encryption dumptype example - * man/xml-source/amanda.8.xml: fix some formatting - * server-src/planner.c: adjust setuid() calling sequences so that ssh can work - * server-src/dumper.c: ditto - * configure.in: add LOW_TCPPORTRANGE for amrecover - * common-src/stream.c: use LOW_TCPPORTRANGE - * server-src/amdump.sh.in: check if config is supplied - * man/xml-source/amrestore.8.xml: add notes on "-f" option - -2006-05-24 Ian Turner - * configure.in: Properly document --without-xsltproc as itself, - and not the (nonexistant) option --without-built-manpages. - -2006-05-16 John Franks - * amandad-src/amandad.c client-src/clientconf.c common-src/bsd-security.c - common-src/bsdudp-security.c common-src/dgram.c common-src/krb4-security.c - common-src/krb5-security.c common-src/match.c common-src/packet.c - common-src/security-util.c common-src/security-util.h - common-src/security.h common-src/util.c oldrecover-src/Makefile.am - oldrecover-src/set_commands.c recover-src/amrecover.c - recover-src/extract_list.c server-src/conffile.c server-src/driver.c - server-src/dumper.c server-src/planner.c server-src/reporter.c: - Minimal changes to get tree to compile along with some more - debugging output. - -2006-05-15 Jean-Louis Martineau - * server-src/amadmin.c (disklist_one): print spindle. - -2006-05-12 Jean-Louis Martineau - * commmon-src/bsd-security.c: Typo. - -2006-05-12 Jean-Louis Martineau - * common-src/Makefile.am (noinst_HEADERS): Add security-util.h. - -2006-05-12 Jean-Louis Martineau - Build a big tok_t enum for server and client config. - * client-src/clientconf.c: Move many things to util.c. - * client-src/clientconf.h: Remove extern variable. - * common-src/util.c: Add common part of clientconf.c and conffile.c - * common-src/util.h: Prototype. - * server-src/conffile.c: Move many things to util.c. - * server-src/diskfile.c(disk_parserror): Rename from parserror. - * server-src/taper.c: Make many variable static. - -2006-05-12 Jean-Louis Martineau - * restore-src/restore.c: Fix use of possibly NULL input. - -2006-05-12 Jean-Louis Martineau - * common-src/ssh-security.c (ssh_connect): Retrieve ssh_keys from - configuration. - * server-src/amadmin.c(disklist_one): Print ssh_keys. - * server-src/conffile.c(SSH_KEYS): Parse new dumptype option. - * server-src/conffile.h(dumptype_t): Add ssh_keys. - * server-src/diskfile.c(parse_diskline): Copy new field. - * server-src/diskfile.h(disk_t) Add ssh_keys. - * server-src/driverio.c(dumper_cmd): Send dp->ssh_keys in a PORT_DUMP - command to the dumper. - * server-src/dumper.c: Parse ssh_keys in a PORT_DUMP command. - * server-src/dumper.c(dumper_get_security_conf): Return the ssh_keys. - * server-src/server_util.c(amhost_get_security_conf): Return the - ssh_keys. - -2006-05-12 Jean-Louis Martineau - * amandad-src/amandad.c: Set allow_many_services to 0 if auth=bsdtcp. - * common-src/bsd-security.c: Use security-util.c. - * common-src/bsdtcp-security.c: New security-api. - * common-src/bsdudp-security.c: New secutity-api. - * common-src/krb4-security.c: Use security-util.c. - * common-src/krb5-security.c: Use security-util.c. - * common-src/Makefile.am (libamanda_la_SOURCES): Add bsdtcp-security.c, - bsdtcp-security.c - and security-util.c. - * common-src/protocol.c: Debuging cleanup. - * common-src/rsh-security.c Use security-util.c. - * common-src/security.c: Use bsdtcp_security_driver - and bsdudp_security_driver. - * common-src/security.h(accept): New prototype. - * common-src/security-util.c: Many common function for security-api. - * common-src/security-util.h: many prototype for security-api. - * common-src/ssh-security.c Use security-util.c. - * common-src/stream.c (stream_client_internal): Call connect_portrange. - * common-src/util.c (make_socket): Make a socket. - * common-src/util.c (connect_portrange): Make a socket, bind it and - connect. - * common-src/util.h (connect_portrange): Prototype. - * configure.in: new --with-bsdtcp-security and --with-bsdudp-security. - -2006-05-10 Jean-Louis Martineau - Patch by - * man/xml-source/amrecover.8.xml: Document listhost command. - -2006-05-08 Jean-Louis Martineau - Patch by - * server-src/amindexd.c: new LISTHOST command. - * recover-src/set_commands.c (list_host): New function. - * recover-src/amrecover.h (list_host): Prototype. - * recover-src/help.c (list_host): Print help. - * recover-src/uscan.l: Parse listhost command. - * recover-src/uparse.y: LISTHOST command. - * oldrecover-src/set_commands.c (list_host): New function. - * oldrecover-src/amrecover.h (list_host): Prototype. - * oldrecover-src/help.c (list_host): Print help. - * oldrecover-src/uscan.l: Parse listhost command. - * oldrecover-src/uparse.y: LISTHOST command. - -2006-05-08 Ian Turner - * server-src/amcheck.c: Make it an error when the expected new - tape cannot be found. Thanks to Paul Bijnens - for the patch and to Jason L - Tibbitts III for noticing this problem. - -2006-05-08 Jean-Louis Martineau - * driverio.h (shed_s): Add est_nsize, est_csize, degr_nsize, degr_csize - for nativa and compressed estimate size. - * planner.c: Send the native and compressed estimate size to the driver. - * driver.c: log with L_STATS the estimate of a successful dump. - * reporter.c: Parse the L_STATS. - * reporter.c(generate_bad_estimate): New function that will put in the - NOTES section all bad estimate. - -2006-05-08 Jean-Louis Martineau - * configure.in (AC_CONFIG_FILES): Add oldrecover-src/Makefile. - * Makefile.am (RECOVER_SUBDIRS): Add oldrecover-src. - * oldrecover-src/amrecover.c: Copy of old recover-src/amrecover.c - * oldrecover-src/amrecover.h: Copy of old recover-src/amrecover.h - * oldrecover-src/display_commands.c: Copy of old - recover-src/display_commands.c - * oldrecover-src/extract_list.c: Copy of old recover-src/extract_list.c - * oldrecover-src/help.c: Copy of old recover-src/help.c - * oldrecover-src/Makefile.am: Copy of old recover-src/Makefile.am - * oldrecover-src/set_commands.c: Copy of old recover-src/set_commands.c - * oldrecover-src/uparse.y: Copy of old recover-src/uparse.y - * oldrecover-src/uscan.l: Copy of old recover-src/uscan.l - * recover-src/amrecover.c: Works with security-api. - * recover-src/amrecover.h: Works with security-api. - * recover-src/extract_list.c: Works with security-api. - -2006-05-08 Jean-Louis Martineau - * amandad-src/amandad.c: Fixup. - -2006-05-08 Jean-Louis Martineau - * common-src/packet.h: pkt_t.body is now a char*. - * common-src/packet.c (pkt_init): Return an alloced pkt.body. - * common-src/packet.c (pkt_cat): Increade pkt.body size if needed. - * common-src/protocol.c: Free allocated pkt.body. - * common-src/dgram.c (dgram_cat): Return int. - * common-src/dgram.h (dgram_cat): New prototype. - * common-src/krb5-security.c: Work with dynamicaly allocated packet - body. - * common-src/rsh-security.c: Work with dynamicaly allocated packet - body. - * common-src/ssh-security.c: Work with dynamicaly allocated packet - body. - * amandad-src/amandad.c: Work with dynamicaly allocated packet body. - * server-src/amcheck.c: Don't limit packet size. - * server-src/planner.c: Don't limit packet size. - -2006-05-08 Jean-Louis Martineau - * amandad-src/amandad.c (service_new): Apply the correct patch. - -2006-05-08 Jean-Louis Martineau - * server-src/taper.c: Fix compiler warning. - * common-src/match.c: Many function get const parameters. - * common-src/amanda.h: Prototype change. - -2006-05-07 Jean-Louis Martineau - * amandad-src/amandad.c (service_new): Make sur that the 3 data_read[] - and the 3 data_write[] fd are not in the range DATA_FD_OFFSET to - DATA_FD_OFFSET+DATA_FD_COUNT-1. - -2006-05-05 Jean-Louis Martineau - * common-src/tapelist.c (append_to_tapelist): Remove bad amfree. - -2006-05-05 Nikhil Bandiwadekar - * server-src/conffile.c: fix to correctly handle am64 datatype - -2006-05-04 Jean-Louis Martineau - * server-src/taper.c: Write the slot number in the - 'taper: wrote label' line. - * server-src/amverifyrun.sh.in: Parse that line. - -2006-05-02 Jean-Louis Martineau - * amstatus.pl.in: Limit characters for hostname in setup_estimate line. - -2006-04-27 Jean-Louis Martineau - * common-src/rsh-security.c: Pass "amdump amindexd amidxtaped" option - to amandad. - * common-src/ssh-security.c: Ditto. - -2006-04-27 Jean-Louis Martineau - * amandad-src/amandad.c: Accept a list of services on the command line. - -2006-04-27 Jean-Louis Martineau - * common-src/tapelist.c (append_to_tapelist): Fix memory leak. - -2006-04-27 Jean-Louis Martineau - * amandad-src/amandad.c: Fix memory leak. - * amandad-src/amandad.h (free_g_options): Prototype. - * amandad-src/amandad_util.c (free_g_options): New function to free a - g_option_t. - * server-src/amcleanupdisk.c: Fix memory leak. - * server-src/reporter.c: Fix memory leak. - * server-src/tapefile.c: Fix memory leak. - * server-src/taperscan.c: Put message in error_message. - -2006-04-26 Jean-Louis Martineau - * server-src/amcheck.c (start_server_check): Memory leak. - -2006-04-26 Jean-Louis Martineau - * amandad-src/Makefile.am (noinst_HEADERS): Add amandad.h. - * client-src/Makefile.am (noinst_HEADERS): Add clientconf.h. - -2006-04-26 Jean-Louis Martineau - * man/xml-source/amanda-client.conf.5.xml: New file. - -2006-04-26 Jean-Louis Martineau - * common-src/amanda.h (check_user_ruserok, check_user_amandahosts): - Remove prototype. - * common-src/bsd-security.c: Pass the service name across check_user* - function and validate it from the .amandahosts file. - -2006-04-26 Jean-Louis Martineau - * restore-src/amidxtaped.c: Can be launched by amandad. - * server-src/Makefile.am (INCLUDES): Add -I$(top_srcdir)/amandad-src - * server-src/Makefile.am (amidxtaped__LDADD): Link with libamandad. - * restore-src/restore.c: Fix indentation. - -2006-04-26 Jean-Louis Martineau - * server-src/amindexd.c: Can be launched by amandad - * server-src/Makefile.am (INCLUDES): Add -I$(top_srcdir)/amandad-src - * server-src/Makefile.am (amindexd_LDADD): Link with libamandad. - -2006-04-26 Jean-Louis Martineau - * amandad-src/amandad.c: New file. - * amandad-src/amandad.h: New file. - * amandad-src/amandad_util.c: New file, add function init_g_options - parse_g_options. - * amandad-src/Makefile.am: New file. - * client-src/amandad.c: Removed file. - * client-src/amandad.h: Removed file. - * client-src/client_util.c (init_g_options, parse_g_options): Remove. - * client-src/client_util.h (init_g_options, parse_g_options): Remove. - * client-src/Makefile.am (INCLUDES): -I$(top_srcdir)/amandad-src - * client-src/Makefile.am (libexec_PROGRAMS): Remove amandad. - * client-src/Makefile.am (LDADD): Add - ../amandad-src/libamandad.$(LIB_EXTENSION). - * client-src/selfcheck.c: #include "amandad.h". - * client-src/sendsize.c: #include "amandad.h". - * configure.in (AC_CONFIG_FILES): amandad-src/Makefile. - * Makefile.am (SUBDIRS): amandad-src. - -2006-04-26 Jean-Louis Martineau - * docs/security-api.txt: Document security_read_sync. - * common-src/security.h: Typo. - -2006-04-26 Jean-Louis Martineau - * client-src/amandad.c (service_new): Pass the "amandad" argument to - the service. - -2006-04-26 Jean-Louis Martineau - * common-src/bsd-security.c: Allow to run many services on the same - client. Cleanup. - * common-src/rsh-security.c: Ditto. - * common-src/ssh-security.c: Ditto. - -2006-04-26 Jean-Louis Martineau - * common-src/security.h (security_stream_read_sync): Prototype. - * common-src/bsd-security.c (bsd_stream_read_sync): New function. - * common-src/krb4-security.c (krb4_stream_read_sync): New function. - * common-src/krb5-security.c (krb5_stream_read_sync): New function. - * common-src/rsh-security.c (rsh_stream_read_sync): New function. - * common-src/ssh-security.c (ssh_stream_read_sync): New function. - -2006-04-26 Jean-Louis Martineau - * client-src/amandad.c: Open pipe in both direction to the services. - * client-src/sendbackup.c: Deal with the newer pipe. - -2006-04-26 Jean-Louis Martineau - * client-src/clientconf.c: New file to read the client configuration - file. - * client-src/clientconf.h: Header. - * client-src/Makefile.am: Link clientconf into libamclient. - * configure.in (AC_CONFIG_FILES): example/amanda-client.conf. - * docs/amanda-client.conf.5.txt: New documentation. - * docs/Makefile.am (pkgdata_DATA): amanda-client.conf.5.txt. - * example/amanda-client.conf.in: exemple. - * example/Makefile.am (noinst_DATA): amanda-client.conf. - * man/entities/global.entities: amclientconf. - * man/Makefile.am (COMMON_MAN5_PAGES): amanda-client.conf.5. - * man/xml-source/amanda.8.xml (SEE ALSO): amanda-client.conf(5). - * man/xml-source/amanda.conf.5.xml (SEE ALSO): amanda-client.conf(5). - * man/xml-source/amrecover.8.xml (SEE ALSO): amanda-client.conf(5). - -2006-04-26 K. K. George - * server-src/reporter.c: Fix to untaint the mailto parameter. - * server-src/amcheck.c: Fix to untaint the mailto parameter - * changer-src/chg-scsi.c: Fix to untaint the mailto parameter. - * changer-src/chg-scsi-chio.c: Fix to untaint the mailto parameter. - * common-src/util.h: Added function to check if the mailto - parameter is untainted - * common-src/util.c: Added function to check if the mailto - parameter is untainted - -2006-04-26 Jean-Louis Martineau - * common-src/event.c(event_wait): New function. - * common-src/event.h(event_wait): prototype. - * docs/eventapi.txt: Document event_wait. - -2006-04-24 Jean-Louis Martineau - * server-src/planner.c: Fix divide by zero if runtapes==0. - -2006-04-24 K. K. George - * server-src/reporter.c: Fix to make the mailto parameter in - amanda.conf optional. Added two more commandline options - -i & -Maddress. - * server-src/amcheck.c: Fix to make the mailto parameter in - amanda.conf optional. - * man/xml-source/amreport.8.xml: Modified to document the - -i & -Maddress commandline parameters - * docs/amreport.8.txt: Modified to document the - -i & -Maddress commandline parameters - * changer-src/chg-scsi.c: Fix to make the mailto parameter in - amanda.conf optional. - * changer-src/chg-scsi-chio.c: Fix to make the mailto parameter in - amanda.conf optional. - -2006-04-23 Jean-Louis Martineau - * server-src/driver.c (handle_chunker_result): make sure that - est_size > act-size. - -2006-04-21 Jean-Louis Martineau - * server-src/changer.c (changer_command): Make sure fd[0] != 1. - -2006-04-19 Jean-Louis Martineau - * restore-src/amidxtaped.c: Cleanup. - -2006-04-19 Ian Turner - * tape-src/output-tape.c: Do a more thourough check to ensure - that we actually got a tape device, before proceeding to use - it. - -2006-04-18 Ian Turner - * changer-src/chg-disk.sh.in: Check that the virtual device is a - directory with proper permissions. - * server-src/changer.c: Do the right thing (failure) if there is - a problem with the changer. - -2006-04-18 Ian Turner - * recover-src/uscan.l: Accept setdate of the form - yyyy-MM-dd-hh-mm in addition to yyyy-MM-dd-hh-mm-ss. - * man/xml-source/amrecover.8.xml: Document this change. - -2006-04-14 Jean-Louis Martineau - * recover-src/help.c: Document setdate YYYY-MM-DD-HH-MM-SS format. - * man/xml-source/amrecover.8.xml: Ditto. - -2006-04-14 Jean-Louis Martineau - * client-src/amandad.c: Use %p to printf pointer. - -2006-04-14 Jean-Louis Martineau - * server-src/amtape.c: Add update command. - -2006-04-11 Jean-Louis Martineau - * server-src/taper.c: log_add(L_WARNING) the output of taper_scan if - no valid tape are found. - -2006-04-11 Jean-Louis Martineau - * server-src/amcheck.c: Call taper_scan with - (..., FILE_taperscan_output_callback,outf) arguments. - * server-src/amtape.c: Call taper_scan with - (..., FILE_taperscan_output_callback,stderr) arguments. - * server-src/taper.c: Call taper_scan with - (..., CHAR_taperscan_output_callback, &error_msg) arguments. - * server-src/taperscan.h(FILE_taperscan_output_callback, - CHAR_taperscan_output_callback): Protoype. - * server-src/taperscan.h(taper_scan): New protoype, remove - error_message arg, add taperscan_output_callback and data arg. - * server-src/taperscan.c(FILE_taperscan_output_callback): Callback - that print the msg to it's arg, which is FILE*. - * server-src/taperscan.c(CHAR_taperscan_output_callback): Callback - that append the msg to it's arg, which is char*. - * server-src/taperscan.c(taper_scan): Fix for new arguments. - * server-src/taperscan.c(changer_taper_scan): Fix for new arguments. - -2006-04-11 Jean-Louis Martineau - * man/xml-source/amanda.conf.5.xml: Document amandad_path and - client_username dumptype option. - -2006-04-11 Jean-Louis Martineau - * common-src/krb4-security.c: Increase timeout to 60 seconds. - * common-src/rsh-security.c: Increase timeout to 60 seconds. - * common-src/ssh-security.c: Increase timeout to 60 seconds. - -2006-04-07 Jean-Louis Martineau - * server-src/conffile.c: New configuration option usetimestamps. - * server-src/conffile.h: New configuration option usetimestamps. - * example/amanda.conf.in: Document new usetimestamps options. - * man/xml-source/amanda.conf.5.xml: Document new usetimestamps options. - * server-src/amflush.c: Use datestamp or timestamp depending of - usetimesstamps. - * server-src/planner.c: Use datestamp or timestamp depending of - usetimesstamps. - * server-src/driver.c: Log an ERROR if many run a day and - usetimestamps us set to no. - -2006-04-07 Ian Turner - * server-src/changer.c: Don't crash if we go to taperscan "Plan - B". - -2006-04-07 Ian Turner - * server-src/changer.c: Only print changer debug messages if - there was a problem. - -2006-04-07 Ian Turner - * recover-src/amrecover.c: Print a more helpful command if mount - point autodetection fails. - * recover-src/display_commands.c: Print a more helpful message - if the user tries to ls without having setdisk earlier. - -2006-04-07 Jean-Louis Martineau - * server-src/amadmin.c: Fix use of datestamp as int. - * server-src/find.c: Ditto. - * server-src/reporter.c: Ditto. - * server-src/tapefile.c: Ditto. - -2006-04-07 Jean-Louis Martineau - * common-src/Makefile.am: Fix dependency between genversion and - versuff.o. - -2006-04-07 Jean-Louis Martineau - * recover-src/amrecover.c: Change initialization of server_name and - tape_server_name. - -2006-04-07 Jean-Louis Martineau - * restore-src/amrestore.c: reset count_error to 0 on a restore. - -2006-04-06 Kevin Till - * server-src/Makefile.am: always install planner/dumper setuid-root - * server-src/amcheck.c: check planner/dumper for setuid-root - * server-src/dumper.c: drop privilege asap. Switch between bsd - and ssh auth is now possible with the same installation. - * server-src/planner.c: ditto - -2006-04-06 Jean-Louis Martineau - * server-src/taperscan.c (changer_taper_scan): Pass a pointer to the - changer_loadslot call. - -2006-04-06 Jean-Louis Martineau - * server-src/tapefile.c (lookup_last_reusable_tape): Fix a datestamp - test with an int. - -2006-04-06 Ian Turner - * recover-src/amrecover.c (main): Check AMANDA_SERVER and - AMANDA_TAPE_SERVER environment variables before falling back - to compiled-in defaults. Document this new behavior. Thanks to - Malcolm Locke for the idea and patch. - -2006-04-06 Jean-Louis Martineau - * server-src/reporter.c (handle_chunk): CHUNK line always have the - datestamp. - -2006-04-05 Jean-Louis Martineau - * server-src/krb5-security.c: Fix for krb5_connect call in - open_callback. - -2006-04-05 Jean-Louis Martineau - * server-src/driver.c (start_some_dumps): Recover correctly if the - chunker reply with something that is not a PORT command. - * server-src/driver.c (dump_to_tape): remove duplicate free_serial. - * server-src/driverio.c: Improve debugging. - -2006-04-05 Jean-Louis Martineau - * common-src/tapelist.c(unmarshal_tapelist_str): Fix - "value computed is not used" compiler warning. - -2006-04-05 Jean-Louis Martineau - * common-src/bsd-security.c (bsd_connect): New datap argument. - * common-src/krb4-security.c (krb4_connect): New datap argument. - * common-src/krb5-security.c (krb5_connect): New datap argument. - * common-src/rsh-security.c (rsh_connect): New datap argument, - retrieve amanda_path and client_username from configuration. - * common-src/ssh-security.c (ssh_connect): New datap argument, - retrieve amanda_path and client_username from configuration. - * common-src/protocol.c: Pass new datap argument to security_connect. - * common-src/security.h(connect): New prototype. - * common-src/security.h(security_connect): Add datap to macro. - * server-src/amadmin.c(disklist_one): Print amandad_path and - client_username. - * server-src/conffile.c(AMANDAD_PATH, CLIENT_USERNAME): Parse new - dumptype option. - * server-src/conffile.h(dumptype_t): Add amandad_path and - client_username. - * server-src/diskfile.c(parse_diskline): Copy new field. - * server-src/diskfile.h(disk_t) Add amandad_path and client_username. - * server-src/driverio.c(dumper_cmd): Send dp->amandad_path and - dp->client_username in a PORT_DUMP command to the dumper. - * server-src/dumper.c: Parse amandad_path and client_username in a - PORT_DUMP command. - * server-src/dumper.c(dumper_get_security_conf): New function to return - configuration option to the security-api. - * server-src/dumper.c: Use dumper_get_security_conf for the callback - to protocol_sendreq. - * server-src/planner.c Use amhost_get_security_conf for the callback - to protocol_sendreq. - * server-src/amcheck.c: Use amhost_get_security_conf for the callback - to protocol_sendreq. - * server-src/server_util.c(amhost_get_security_conf): New function to - return configuration option to the security-api, - it expect an am_host_t arg. - * server-src/server_util.h(amhost_get_security_conf): Prototype. - -2006-04-05 Jean-Louis Martineau - * server-src/amstatus.pl.in: Remove duplicate instruction. - -2006-04-05 Jean-Louis Martineau - * server-src/amindexd.c: Remove all code that set str_buffer_size, - rename str_buffer_size to reply_buffer_size, - rename buf to reply_buffer, - * server-src/amindexd.c(reply, lreply_backend): Increase reply_buffer - size if required. - -2006-04-05 Jean-Louis Martineau - * common-src/amfeatures.h: Add fe_amrecover_timestamp amfeature. - * common-src/amfeatures.c (am_init_feature_set): - Add fe_amrecover_timestamp. - * server-src/amindexd.c(opaque_ls_one): New function. - * server-src/amindexd.c(disk_history_list,opaque_ls_one): Send only a - datestamp if client doesn't have fe_amrecover_timestamp. - -2006-04-05 Jean-Louis Martineau - * recover-src/uscan.l: Parse "setdate YYYY-MM-DD-HH-MM-SS". - * server-src/amindexd.c (cmp_date): New function to cmp datestamp with - timestamp, use it where needed. - * server-src/amindexd.c (amindexd_nicedate): Fix for timestamp. - * server-src/amtrmidx.c: Fix for timestamp. - * server-src/disk_history.h (DUMP_ITEM): Increase size of date. - -2006-04-05 Jean-Louis Martineau - * server-src/amflush.c: Send DATE line to driver, use timestamp. - * server-src/amindex.c (getindexfname): Increase datebuf size. - * server-src/amtrmlog.c: Fix bug with date_keep computation if - dumpcycle is INF. - * server-src/amtrmlog.c: rotate timestamped log file. - * server-src/chunker.c: Receive START cmd, use timestamp. - * server-src/driver.c: Receive DATE line, send START cmd to chunker, - use timestamp. - * server-src/driverio.c (startup_dump_processes): Send START cmd to - dumper. - * server-src/driverio.c (dumper_cmd, chunker_cmd): Send START command. - * server-src/driverio.h (startup_dump_processes): Prototype change, - need the timestamp. - * server-src/dumper.c: Receive START cmd, use timestamp. - * server-src/find.c (find_nicedate): Fix for timestamp. - * server-src/planner.c: Send DATE line to driver, use timestamp. - * server-src/server_util.c (cmdstr): Add START. - * server-src/server_util.h (cmd_t): Add START. - * server-src/taper.c: Get timestamp from TAPER_START command. - -2006-04-05 Jean-Louis Martineau - * server-src/amindexd.c (amindexd_nicedate): New function. - * server-src/find.h (struct find_result_s): Remove datestamp and - datestamp_aux field, only timestamp will be used. - * restore-src/amfetchdump.c: Convert datestamp to 'char *'. - * restore-src/restore.c: Convert datestamp to 'char *'. - * server-src/amindexd.c: Convert datestamp to 'char *'. - * server-src/amlabel.c: Convert datestamp to 'char *'. - * server-src/amtrmidx.c: Convert datestamp to 'char *'. - * server-src/find.c: Convert datestamp to 'char *'. - * server-src/reporter.c: Convert datestamp to 'char *'. - * server-src/tapefile.c: Convert datestamp to 'char *'. - * server-src/tapefile.h: Convert datestamp to 'char *'. - * server-src/taper.c: Convert datestamp to 'char *'. - -2006-04-05 Jean-Louis Martineau - * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.1b1). - -2006-04-05 Jean-Louis Martineau - * server-src/driver.c: Change expression to remove overflow. - -2006-03-29 Jean-Louis Martineau - * client-src/calcsize.c: Don't use declaration after instruction, - older compiler don't accept it. - -2006-03-23 Jean-Louis Martineau - * Amanda 2.5.0 released. - * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.0). - * NEWS: Update for 2.5.0 - -2006-03-22 Jean-Louis Martineau - * server-src/dumper.c: wait for compress/index/encryp subprocess. - -2006-03-22 Jean-Louis Martineau - * server-src/amstatus.pl.in: Parse PARTIAL reply. - -2006-03-22 Jean-Louis Martineau - * server-src/driver.c: Put '#define HOLD_DEBUG' in comment. - -2006-03-21 Jean-Louis Martineau - * server-src/chunker.c: Don't loop on startup_chunker. - * server-src/dumper.c: Don't wait for all children, some process (ssh) - might not terminate. - -2006-03-17 Ian Turner - * server-src/taper.c (read_file): When finished flushing a - chunked dump, print information about the whole dump, not just - the last chunk. Also, fix some memory leaks. - -2006-03-16 Kevin Till - * server-src/amverify.sh.in: check for EOI. amrestore only - reports EOI for some tapetypes. - -2006-03-15 Jean-Louis Martineau - * server-src/conffile.c: Fix heritage of auth. - -2006-03-14 Kevin Till - * example/amanda.conf.in: add dumptype custom-compress. - add ssh,krb5 as valid input for auth. - * man/xml-source/amanda.conf.5.xml: give reference to - custom-compress, encrypt-fast dumptypes. - -2006-03-14 Jean-Louis Martineau - * common-src/amfeatures.h: Rename fe_amidxtaped_FEEDME to - fe_amrecover_FEEDME - * common-src/amfeatures.c (am_init_feature_set): Set - fe_amrecover_FEEDME. - * restore-src/restore.h (search_tapes): Add their_features parameter. - * restore-src/amfetchdump.c: Add NULL pointer to search_tapes call. - * restore-src/amidxtaped.c: Add their_features to search_tapes call. - * restore-src/restore.c (search_tapes): Send FEEDME only if client - support it. - -2006-03-11 Jean-Louis Martineau - * server-src/driverio.c : Fix errors found using Coverity tools. - -2006-03-10 Jean-Louis Martineau - * server-src/taperscan.c: Fix Coverity fix. - -2006-03-10 Jean-Louis Martineau - * changer-src/scsi-changer-driver.c: - Fix errors found using Coverity tools. - * server-src/diskfile.c: Fix errors found using Coverity tools. - * server-src/planner.c: Fix errors found using Coverity tools. - * server-src/taperscan.c: Fix errors found using Coverity tools. - -2006-03-10 Jean-Louis Martineau - * server-src/driverio.c: Undo my bad fix. - * server-src/infofile.c: Fix errors found using Coverity tools. - * tape-src/tapetype.c: Fix errors found using Coverity tools. - -2006-03-09 Jean-Louis Martineau - * restore-src/restore.c: Fix errors found using Coverity tools. - -2006-03-09 Jean-Louis Martineau - * server-src/holding.c: Fix errors found using Coverity tools. - -2006-03-09 Jean-Louis Martineau - * server-src/driverio.c: Fix errors found using Coverity tools. - * server-src/planner.c: Fix errors found using Coverity tools. - -2006-03-09 John Franks - * changer-src/chg-scsi.c: Fix errors found using Coverity tools. - * changer-src/scsi-changer-driver.c: - Fix errors found using Coverity tools. - * changer-src/sense.c: Fix errors found using Coverity tools. - * client-src/sendbackup-dump.c: Fix errors found using Coverity tools. - * client-src/sendbackup.c: Fix errors found using Coverity tools. - * recover-src/display_commands.c:Fix errors found using Coverity tools. - * regex-src/regcomp.c: Fix errors found using Coverity tools. - * restore-src/restore.c: Fix errors found using Coverity tools. - * server-src/amindexd.c: Fix errors found using Coverity tools. - * server-src/diskfile.c: Fix errors found using Coverity tools. - * server-src/driver.c: Fix errors found using Coverity tools. - * server-src/driverio.c: Fix errors found using Coverity tools. - * server-src/infofile.c: Fix errors found using Coverity tools. - * server-src/planner.c: Fix errors found using Coverity tools. - * server-src/taper.c: Fix errors found using Coverity tools. - * server-src/taperscan.c: Fix errors found using Coverity tools. - * server-src/conffile.c: Change report default to use at least - one space between every column. - -2006-03-08 Jean-Louis Martineau - * client-src/amandad.c: Fix coverity bug. - * client-src/calcsize.c: Fix coverity bug. - * client-src/client_util.c: Fix coverity bug. - * client-src/sendbackup.c: Fix coverity bug. - * client-src/sendsize.c: Fix coverity bug. - * common-src/bsd-security.c: Fix coverity bug. - * common-src/file.c: Fix coverity bug. - * common-src/fileheader.c: Fix coverity bug. - * common-src/pipespawn.c: Fix coverity bug. - * recover-src/extract_list.c: Fix coverity bug. - * restore-src/restore.c: Fix coverity bug. - * server-src/amindexd.c: Fix coverity bug. - * server-src/conffile.c: Fix coverity bug. - * server-src/diskfile.c: Fix coverity bug. - * server-src/driverio.c: Fix coverity bug. - * server-src/dumper.c: Fix coverity bug. - * server-src/planner.c: Fix coverity bug. - * server-src/reporter.c: Fix coverity bug. - -2006-03-07 Paddy Sreenivasan - * man/xml-source/amanda.8.xml: added amaespipe and amcrypt. - -2006-03-07 Jean-Louis Martineau - * server-src/taper.c: Don't log a multi-line message in no-tape case. - -2006-03-06 John Franks - * recover-src/extract_list.c: - 1) Don't add '.' directory twice to tar extract list. - 2) Don't prepend extra '/' to extract patterns starting with '/'. - 3) Convert "/" extract pattern to "*" equivalent. - -2006-03-06 Jean-Louis Martineau - * server-src/taperscan.c (scan_slot): append slotstr to - ct->error_message. - * server-src/taperscan.c: Add a '\n' after each slot error message. - -2006-03-06 Jean-Louis Martineau - * server-src/reporter.c (handle_error): Handle error from taper. - -2006-03-06 Jean-Louis Martineau - * server-src/taper.c (label_tape): Set errstr and return 0 if no - valid tape are available. - -2006-03-03 Ian Turner - * common-src/amanda.h: New macros MAX_TAPE_LABEL_LEN and - MAX_TAPE_LABEL_BUF. - * common-src/amfeatures.h: New amfeature fe_amidxtaped_FEEDME - * recover-src/extract_list.c: Accept port number with CONNECT; - implement fe_amidxtaped_FEEDME. - * restore-src/amidxtaped.c: Introduce port number with CONNECT. - (closes SF bug 1431623) - * restore-src/restore.c: Implement fe_amidxtaped_FEEDME. - (closes SF bug 1421433) - * restore-src/restore.h: Properly name rst_flags. - -2006-02-28 Jean-Louis Martineau - * common-src/bsd-security.c (bsd_connect, netfd_read_callback, main): - Set bh->proto_handle to NULL after allocating bh. - * common-src/bsd-security.c (bsd_close): Donothing if - bh->proto_handle == NULL. - -2006-02-28 Jean-Louis Martineau - * common-src/protocol.c (s_repwait): Decrease p->timeout on receive - of a PREP. - -2006-02-28 Jean-Louis Martineau - * server-src/driver.c: Print dumper TRY_AGAIN message. - -2006-02-28 Jean-Louis Martineau - * server-src/planner.c: Don't print estimate size if estimate failed. - -2006-02-25 Ian Turner - * man/Makefile.am: Don't use static patterns (as they are not - portable), use implicit rules instead. - -2006-02-20 Kevin Till - * common-src/krb4-security.c: changes needed for krb4/5 to compile. Thanks to - Orion Poplawski. - * common-src/krb5-security.c: ditto. - -2006-02-16 Kevin Till - * example/amanda.conf.in: dumptype option is "encrypt" - * man/xml-source/amanda.conf.5.xml: ditto - * server-src/holding.c: util.h is include'd twice - * common-src/ssh-security.c: set correct debug print - -2006-02-10 Kevin Till - * man/xml-source/amanda.8.xml: replace informaltable with literallayout - -2006-02-13 John Franks - * server-src/driver.c: Pring a more precise message when taper - returns an error. Include error message from taper in log. - Print out "protocol error" if taper returns a bogus command. - -2006-02-10 Kevin Till - * man/xml-source/amanda.conf.5.xml: add note about first character of a - tapetype string must be alphabet - -2006-02-10 John Franks - * server-src/taper.c: Call error() if an invalid string is read - by syncpipe_getstr(). - -2006-02-09 John Franks - * Makefile.am, */Makefile.am: Corrections generated by David Braun - dustybird@users.sourceforge.net to properly set source directories - for remote (VPATH) builds. - * man/Makefile.am: Fixed man page builds to use proper source and - build paths. - * autogen: Force rebuilding everything and print only syntax errors. - (Errors are seen occasionally in system autogen files...) - * configure.in: Eliminate possibility of empty string in shell tests. - fix quoting of '[' and ']' characters in help messages. - Fix default value for DUMPER_DIR to pick up EPREFIX correctly. - -2006-02-08 Ian Turner - * server-src/driver.c (handle_taper_result): Properly handle - SPLIT_NEEDNEXT case. Thanks to Josef Wolf for finding this bug. - Also reindent. - -2006-02-06 Kevin Till - * restore-src/restore.c: fix comment formatting on version 1.2.1 - -2006-02-06 Kevin Till - * configure.in: Bug 1423731, SSH_SECURITY set only when --with-ssh-security used - * server-src/Makefile.am:: not to install planner/dumper setuid-root --with-ssh-security - * server-src/amcheck.c: ditto - * server-src/dumper.c: ditto - * restore-src/restore.c: add missing "}" - -2006-02-06 Ian Turner - * restore-src/amidxtaped.c: Properly handle changers, - tape-label checking, and tape prompting in amrecover, - amindexd, and amidextaped. Thanks to Paul Bijnens - for the patch. - * restore-src/restore.c: ditto. - * server-src/amindexd.c: ditto. - -2006-02-04 Paddy Sreenivasan - * man/xml-source/amfetchdump.8.xml - * man/xml-source/amcrypt.8.xml - * man/xml-source/amanda.conf.5.xml - * man/xml-source/amanda.8.xml - * man/xml-source/amaespipe.8.xml - * man/entities/global.entities: Merged changes from xml-docs tree - -2006-02-03 John Franks - * server-src/taper.c: Fix null string printout in CHUNKERSUCCESS log line. - -2006-02-03 Ian Turner - * server-src/amadmin.c (main): Don't free conf_tapelist too - early. Thanks to Cédric Lucantis - for the patch. - -2006-02-02 Kevin Till - * man/xml-source/amanda.8.xml: fix formatting. problem - to be fixed. - * man/xml-source/amrecover.8.xml: add note on client-encrypted tapes. - -2006-02-02 Ian Turner - * recover-src/extract_list.c (extract_files_child): Run tar with - --numeric-owner if we are extracting a non-sambafied tar file. - Thanks to Paul Bijnens for - the patch. Thanks also to Mark Schaefer for suggesting this - change. - -2006-02-01 Jean-Louis Martineau - * restore-src/restore.c: Use OFF_T_FMT to printf off_t variable, - cast size_t to am64_t and use AM64_FMT to printf them. - -2006-01-31 Jean-Louis Martineau - * server-src/driver.c (dumper_result): Reset sched(dp)->attempted to 0 - before adding it to tapeq. - -2006-01-27 Ian Turner - * configure.in: Add new option --without-xsltproc (and - --with-xsltproc), which turns off (or forces) the use of xsltproc to - build manpages. Thanks to Paul Bijnens - for suggesting this feature. - -2006-01-27 Ian Turner - * restore-src/amfetchdump.c: Properly clean up logfiles. Also, - run as user amanda even if we are started as some other user. - Thanks to Paul Bijnens for the - patch. - -2006-01-25 Paddy Sreenivasan - * common-src/amanda.h: Removed unnecessary header include files. - -2006-01-25 Kevin Till - * server-src/amadmin.c: fix for sourceforge bug 1412698 - add missing parameters to "amadmin x disklist" - * server-src/amstatus.pl.in: untaint user input, enforce known path. - * server-src/amoverview.pl.in: untaint user input (bug 1353481) - -2006-01-25 Kevin Till - * man/xml-source/amanda.conf.5.xml: fix formatting ( is not compatible - with some tag) add supported auth types. - -2006-01-25 Kevin Till - * common-src/bsd-security.c: move check_security to bsd_security.c, - fix faulty return - Thanks to Paul Bijnens - * restore-src/amidxtaped.c: ditto - * server-src/amindexd.c: ditto and no need to tell client - about reason for denial - * common-src/amanda.h: add proto of check_security - * server-src/conffile.c: don't list CRYPT in the summary report - for now - * restore-src/restore.c: set outfd correctly for amfetchdump cases - Thanks to Paul Bijnens - -2006-01-24 Ian Turner - * man/xml-source/amanda.conf.5.xml: Put documentation of - split-dump options in the right place. Thanks to Paul Bijnens - for the fix. - * man/xml-source/amanda.8.xml: ditto. - -2006-01-23 Ian Turner - * server-src/taperscan.c (find_brand_new_tape_label): Start - brand new tape labels at 1 instead of 0. Thanks to Paul - Bijnens for the fix. - -2006-01-18 Jean-Louis Martineau - * Amanda 2.5.0b2 released. - * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.0b2). - * NEWS: Update for 2.5.0b2 - -2006-01-15 Jean-Louis Martineau - * server-src/disk_history.c: Fix memory leak. - -2006-01-15 Jean-Louis Martineau - * common-src/bsd-security.c: Fix memory leak. - * common-src/tapelist.c: Fix memory leak. - * restore-src/amidxtaped.c: Fix memory leak. - * restore-src/restore.c: Fix memory leak. - * server-src/amindexd.c: Fix memory leak. - * server-src/conffile.c: Fix memory leak. - * server-src/disk_history.c: Fix memory leak. - * server-src/find.c: Fix memory leak. - -2006-01-13 John Franks - * client-src/amandad.c: Remove SO_LINGER and TCP_NDELAY. - Loop on I/O if EINTR or EAGAIN. - * client-src/noop.c: Loop on I/O if EINTR or EAGAIN. - * client-src/sendbackup.c: Remove SIGPIPE handler. - Loop on I/O if EINTR or EAGAIN. - Check for EPIPE on writes. - * common-src/bsd-security.c: Loop on I/O if EINTR or EAGAIN. - * common-src/stream.c: Remove SO_LINGER and TCP_NDELAY. - * common-src/util.c: Loop on I/O if EINTR or EAGAIN. - * recover-src/amrecover.c: Write commanda atomically in sigint handler - * recover-src/extract_list.c:Remove SIGPIPE handler. - Loop on I/O if EINTR or EAGAIN. - Check for EPIPE on writes. - Remove shutdown functions. - * restore-src/amfetchdump.c: Remove SIGPIPE handler. - * restore-src/amidxtaped.c: Remove SO_LINGER and TCP_NDELAY. - Remove SIGPIPE handler. - read_file_header does not return if it - Fix infinite loop on EOF or error and - fail if memory reallocation failure in - get_client_line_fd. - * restore-src/restore.c: Remove SIGPIPE handler. - Loop on I/O if EINTR or EAGAIN. - Remove shutdown functions. - Simplify read loop. - * restore-src/restore.h: Change read_file_header to return void - * server-src/amcheck.c: Use fullread() to handel EINTR etc. - Remove unused variable. - * server-src/changer.c: Remove SO_LINGER and TCP_NDELAY. - Use fullwrite on socket. - * server-src/driverio.c: Remove SO_LINGER and TCP_NDELAY. - * server-src/taper.c: Use fullwrite() to write data. - Use fullread() to read data. - * tape-src/output-file.c; Use fullwrite() to write data. - -2006-01-13 Jean-Louis Martineau - * server-src/amcheck.c (start_server_check): Remove unused variable - errstr. - * restore-src/restore.c (restore): Remove unused variable s, l and - dataeof. - -2006-01-12 Jean-Louis Martineau - * recover-src/extract_list.c (send_to_tape_server): Do only on write. - * restore-src/amidxtaped.c (get_client_line_fd): New function to read - one complete line from an fd. - -2006-01-09 John Franks - * common-src/amanda.h: Include tcp.h - * client-src/amandad.c: Set TCP_NODELAY and SO_LINGER on sockets. - * common-src/dgram.c: No linger on datagrams - * common-src/stream.c: Set TCP_NODELAY and SO_LINGER on sockets. - * common-src/util.c: Fix fullwrite to return # of bytes written - before failure. - * example/amanda.conf.in: Cleanup exclude list template. - Use configure directlries instead of /usr/local - * recover-src/extract_list.c: Cleanup read loops. - Use real fullwrite instead of inline versions. - Remove extra setting of LINGER on socket. - * restore-src/amidxtaped.c: Set TCP_NODELAY and SO_LINGER on sockets. - * restore-src/restore.c:Use real fullwrite instead of inline versions. - * server-src/changer.c: Set TCP_NODELAY and SO_LINGER on sockets. - * server-src/chunker.c: Use real fullwrite instead of inline versions. - * server-src/driverio.c:Set TCP_NODELAY and SO_LINGER on sockets. - * server-src/dumper.c: Use real fullwrite instead of inline versions. - -2006-01-09 Ian Turner - * changer-src/scsi-changer-driver.c: If there is a problem opening - the device during GenericRewind, don't retry for 201 minutes; give - up after only 200 seconds. - -2006-01-09 Ian Turner - * server-src/taperscan.c: When doing taper-scan algorithm, properly - accept new tapes. - -2006-01-09 Ian Turner - * tape-src/tapeio.c: Generate a more reasonable message when - reading an empty tape label on brand-new tapes. - -2006-01-09 Ian Turner - * server-src/amcheck.c: Actually do what the documentation for - amcheck -w says; that is, overwrite labels on tapes. - -2006-01-06 Kevin Till - * server-src/amcheck.c: check if encrypt or compress program is - executable. Check encrypt/compress configuration. - * server-src/dumper.c: kill encrypt child when dump is stopped - * server-src/amcrypt.sh.in: check for aespipe - * server-src/amaespipe.sh.in: adjust PATH - * man/xml-source/amtapetype.8.xml: fix format problem. - -2006-01-06 Jean-Louis Martineau - * recover-src/extract-list.c: Remove 'U' argument for gtar extraction. - -2006-01-06 Jean-Louis Martineau - * restore-src/restore.c (flush_open_outputs): Another shutdown is - required. - -2006-01-05 John Franks - * recover-src/extract_list.c: Extend linger timeouts to 60 seconds. - Use shutdown() on sockets. - Retry reads in case of EINTR or EAGAIN. - * common-src/stream.c: set linger on correct socket. - Extend linger timeouts to 60 seconds. - * restore-src/restore.c: Fix compiler warnings. - * Call shutdown in more cases. - -2006-01-05 John Franks - * client-src/amandad.c: Set SO_LINGER on sockets. - * common-src/dgram.c: Set SO_LINGER on sockets. - * common-src/stream.c: Set SO_LINGER on sockets. - * common-src/util.c: Return any bytes already read on error or EOF. - * recover-src/extract_list.c: Set SO_LINGER on data socket. - Fix printf of unterminated string data. - Check return codes on socket header reads. - * restore-src/amidxtaped.c: Set SO_LINGER on sockets. - Check return codes on socket header reads. - * restore-src/restore.c: - Flush newline after operator prompt. - * common-src/debug.c: - Fix memory leak when debug file name already exists. - Print error text upon hard open() error. - Allow group members read only access to log files. - -2006-01-05 Kevin Till - * restore-src/restore.c: handle sigpipe. Some program (e.g. bzip2) closes reading pipe - early when it sees trailing garbage after EOF. - -2006-01-02 Jean-Louis Martineau - * common-src/amanda.h: Add a FD_COPY macro. - * recover-src/extract_list.c (writer_intermediary): Don't use - writer_intermediary, do the select locally. - -2006-01-02 Jean-Louis Martineau - * restore-src/restore.c (flush_open_outputs): Call shutdown before - close. - -2005-12-30 John Franks - * recover-src/extract_list.c: - Fix double clearing of buffer during normal read path. - * restore-src/amidxtaped.c - Actually initialize changer if it is needed. (Set use_changer - before checking it...) - * Fix control messages being sent down the data pipe when - restoring to client that does not support split dumps. - * Print error and exit if a split dump is needed during restore - and client can not handle it. - -2005-12-30 Ian Turner - * common-src/fileheader.c: Remove xx/UNKNOWN split-dump header - syntax, in favor of xx/-1. - -2005-12-29 John Franks - * recover-src/display_commands.c - Fix list deletion which did not update list root with NULL pointer. - Make free_dir_item() a non-recursive function to prevent stack bloat. - Fix list insertion code which inserts item in list initializes entry. - * recover-src/extract_list.c - Fix to initialize lditem before using it... - Prevent multiple frees of cmd string. - Do not free err which is only initialized with static string pointers. - Fix typo which caused newstralloc() to free the wrong memory. - * server-src/amindexd.c - Fix Compiler warning of unused variable. - * server-src/taperscan.c - Fix Compiler warning of bogus format specifier. - -2005-12-29 Kevin Till - * man/xml-source/amcrypt.8.xml: add new amcrypt man page - * man/xml-source/amaespipe.8.xml: add new amaespipe man page - -2005-12-29 Ian Turner - * man/xml-source/amanda.conf.5.xml: Document label_new_tapes - config option. - -2005-12-28 Ian Turner - * recover-src/amrecover.h: Use dynamic strings in struct DIR_ITEM. - * recover-src/display_commands.c: ditto - * recover-src/extract_list.c: ditto. Also use dynamic strings in - struct EXTRACT_LIST and struct EXTRACT_LIST_ITEM. - -2005-12-28 Ian Turner - * common-src/amfeatures.h: Add three new amfeatures: - fe_amindexd_marshall_in_OLSD, fe_amindexd_marshall_in_ORLD, - fe_amindexd_marshall_in_DHST. - * common-src/amfeatures.c: ditto. - * server-src/amindexd.c: Talk well to older clients. - -2005-12-23 Ian Turner - * server-src/taperscan.c: Don't crash if find_brand_new_tape_label - returns NULL. Also, don't return NULL from - find_brand_new_tape_label without a good excuse. - -2005-12-23 Kevin Till - * client-src/client_util.c: change server_decrypt_option to - server-decrypt-option - * client-src/sendbackup.c: change client_decrypt_option to - client-decrypt-option - * server-src/dumper.c: ditto - * common-src/amfeatures.c: add crypt related amfeaturs - * common-src/amfeatures.h: ditto - * server-src/diskfile.c: amfeatures checking and warns on - mis-configuration - -2005-12-23 Paddy Sreenivasan - * restore-src/restore.c: - * server-src/amtape.c: - * server-src/taperscan.c : Make scan_init static function - -2005-12-23 John Franks - * server-src/taper.c: Reduce I/O's system call overhead by 30% - in main read / write loop. - -2005-12-23 John Franks - * recover-src/restore.c Remove inapproriate aclose which caused - broken restore pipe. - * recover-src/extract_list.c Fix and cleanup read_buffer() - mainly to fix hole that drops parital buffer of data if end - of file is reached or an error occured.. Touched up calling - functions to make sure EOF/timeouts are handled correctly. - Increased normal path read timeout value from on second to - whatever READ_TIMEOUT is set to. - -2005-12-22 Jean-Louis Martineau - - * restore-src/restore.c (restore): Remova an aclose. - -2005-12-22 Jean-Louis Martineau - - * restore-src/amidxtaped.c (cleanup): Function registered with atexit - to remove the log file. - -2005-12-20 Jean-Louis Martineau - - * server-src/Makefile.am (noinst_HEADERS): Add taperscan.h. - -2005-12-20 John Franks - - * restore-src/restore.c: Remove unused variables. - Fix uninitialize reference to bytes_read. - * server-src/amcheck.c: Remove unused variables. - Include taperscan.h for missing prototype. - * server-src/amtape.c: Remove unused variables. - Include taperscan.h for missing prototype. - * server-src/taper.c: Remove unused variables. - Minor indenting changes. - * server-src/taperscan.c:Remove unused variables. - Fix typo which assigns NULL rather than - checks for NULL. - Commented out reference to auto_pos which - is assigned but never used... - -2005-12-20 Jean-Louis Martineau - - * common-src/fileheader.c (parse_file_header): Parse '/' in part. - * common-src/fileheader.c (build_header): Add space ' ' before "part". - -2005-12-20 Jean-Louis Martineau - - * server-src/reporter.c: Fix report of output size. - -2005-12-19 Ian Turner - * server-src/taperscan.c: Check that automatic tape labels satisfy - the labelstr. - -2005-12-19 Ian Turner - * server-src/fileheader.c: Fix broken split-dump file headers. - -2005-12-18 Jean-Louis Martineau - Patch by Paul Bijnens - - * server-src/amcheck.c: Tapelist file is regular file. - -2005-12-17 Jean-Louis Martineau - - * restore-src/restore.c (get_block): Return a ssize_t. - * restore-src/restore.c: convert ssize_t to long for printing. - * restore-src/restore.c (restore>): Remove unused variable, outpipe, - outpipe2, i. - -2005-12-17 John R. Franks - - * restore-src/restore.h (read_file_header, restore): Return a ssize_t - instead of using a global variable bytes_read. - * restore-src/restore.c: Use local variable instead of global - bytes_read. Many memory management fixe. Fixe pipe handling, - * restore-src/amrestore.c: Use new read_file_header and restore. - * restore-src/amfetchdump.c: Use new read_file_header and restore. - -2005-12-17 Jean-Louis Martineau - With Kevin Till - - * common-src/fileheader.c (parse_file_header): Fix parsing of first - line. - * common-src/fileheader.c (build_header): Print crypt after programi - and only if it is needed. - -2005-12-14 Ian Turner - - * common-src/alloc.c: Add new function vstrextend, which extends an - existing string. - * common-src/amanda.h: Define vstrextend. - * example/amanda.conf.in: Document new option - label_new_tapes. Change default labelstr. - * man/xml-source/amcheck.8.xml: Emphasize the destructiveness of - amcheck -w. - * restore-src/restore.c: Use the new changer_find interface. - * server-src/Makefile.am: Add new file taperscan.c - * server-src/amcheck.c: Use the taper-scan algorithm in taperscan.c, - instead of the previous separate amcheck implementation. - * server-src/amtape.c: Use the taper-scan algorithm in taperscan.c, - instead of the previous separate amtape implementation. Also, use - the new changer_find interface for other kinds of tape finding. - * server-src/changer.c: Eliminate changer_scan. Change the API to - changer_find, so that callers can pass a user-data object, instead - of using globals. - * server-src/changer.h: Declare and document new changer_find - interface. - * server-src/conffile.c: Add new config option label_new_tapes. - * server-src/conffile.h: ditto. - * server-src/taper.c: Use the taper-scan algorithm in taperscan.c, - instead of the previous separate taper implementation. Also, - combine tape-label-reading for ZFTAPE and non-ZFTAPE drives (the - difference only matters on writing). - * server-src/taperscan.c: Refactor the taper-scan algorithm from - taper, amtape, and amcheck. Implement label_new_tapes feature. - * server-src/taperscan.h: Declare and document new taperscan - interface. - * tape-src/tapeio.c: Notice the difference between a non-Amanda tape - and some other tape-reading problem. - * tape-src/tapeio.h: New declarations. - -2005-12-13 Jean-Louis Martineau - - * server-src/reporter.c (handle_success): On a taper line, the outsize - should only count dump to tape, not flush. - -2005-12-13 Jean-Louis Martineau - - * server-src/amstatus.pl.in: Parse chunker DONE line to set output size. - -2005-12-09 John Franks - - * client-src/Makefile.am: Do not include tape library if - configuring with --without-server option. - * recover-src/Makefile.am: Do not include tape library if - configuring with --without-server option. - -2005-12-08 Jean-Louis Martineau - - * configure.in: Move the size detection after detection of large - file support. That change the size of off_t. - -2005-12-08 Jean-Louis Martineau - - * common-src/amanda.h: Set OFF_T_FMT to printf format of a off_t. - * server-src/taper.c: Use OFF_T_FMT. - -2005-12-08 Jean-Louis Martineau - - * configure.in: Set LL_FMT correctly. - * server-src/conffile.c: Use LL_FMT. - -2005-12-08 Jean-Louis Martineau - - * server-src/conffile.c: Maxdumpsize is a AM64. - * server-src/planner.c: conf_maxdumpsize, total_size, tape_length and - tape_mark are am64_t. - -2005-12-08 Jean-Louis Martineau - - * configure.in: Check for sizeof of many type. Check printf format of - a 64-bit integers. - * common-src/amanda.h: Typedef am64_t to a 64 bits signed type,i - set AM64_FMT to the printf format of a am64_t variable. - * server-src/conffile.c: New AM64 type. - * server-src/conffile.h(getconf_am64): Prototype. - -2005-12-08 Jean-Louis Martineau - - * client-src/Makefile.am: Remove amqde. - * client-src/sendsize.c: Remove code to call amqde. - * client-src/amqde.c: Remove file. - * configure.in: Remove '--with-qde' option. - -2005-12-05 Jean-Louis Martineau - - * server-src/amindexd.c (reply, lreply, fast_lreply): Must use - str_buffer_sizebuf instead of sizeof(bug). - -2005-12-05 Jean-Louis Martineau - - * server-src/planner.c: Print the time in the FINISH line. - * server-src/reporter.c: The estimate time is based on the planner - FINISH line. - -2005-12-05 Jean-Louis Martineau - - * common-src/Makefile.am (bsdsecurity_LDADD): Add ssh-security. - -2005-12-05 Jean-Louis Martineau - - * server-src/holding.c (scan_holdingdisk): Static function. - * server-src/taper.c (signal_handler, install_signal_handlers): Ditto. - * server-src/reporter.c (output_strange,do_postscript_output): Ditto. - -2005-12-04 Jean-Louis Martineau - - * server-src/logfile.c (logtype_str): Add important ','. - -2005-12-03 Jean-Louis Martineau - - * server-src/planner.c (setup_estimate): Fix wrong order for argument. - -2005-12-03 Jean-Louis Martineau - - * server-src/driver.c (start_some_dumps): Don't test for - cur_idle == NOT_IDLE. - -2005-12-03 Jean-Louis Martineau - - * server-src/driverio.c (check_unfree_serial): New fonction to check - unfreed serial number. - * server-src/driverio.c (free_serial_dp): Set stable[s].dp to NULL. - * server-src/driverio.h (check_unfree_serial): Prototype. - * server-src/driver.c (main): Call check_unfree_serial. - -2005-12-02 Jean-Louis Martineau - Patch by Franz Fischer - - * config/acinclude.m4i: Fix for __alpha. - -2005-12-02 Jean-Louis Martineau - - * common-src/util.c: Debug must end with '\n'. - -2005-12-01 Jean-Louis Martineau - - * configure.in: Amanda support x86_64-unknown-linux-gnu. - -2005-11-30 Jean-Louis Martineau - - * common-src/rsh-security.c (rsh_sendpkt): buf is a char array. - * common-src/ssh-security.c (rsh_sendpkt): buf is a char array. - * config/acinclude.m4i (AX_CREATE_STDINT_H): Newer macro. - -2005-11-30 Jean-Louis Martineau - - * client-src/rundump.c: undef USE_RUNDUMP before define. - -2005-11-30 Jean-Louis Martineau - Patch by Franz Fischer - - * client-src/amqde.c: Fix compiler warning. - -2005-11-30 Jean-Louis Martineau - Patch by Franz Fischer - - * common-src/event.h: Fix compiler warning. - * server-src/conffile.h: Fix compiler warning. - -2005-11-30 Kevin Till - - * client-src/client_util.c add server-side, client-side encryption - as well as custom compression. Custom compression patch is - orginally created by Matthieu Lochegnies. - * client-src/client_util.h Ditto - * client-src/selfcheck.c Ditto - * client-src/sendbackup-dump.c Ditto - * client-src/sendbackup-gnutar.c Ditto - * client-src/sendbackup.c Ditto - * client-src/sendbackup.h Ditto - * common-src/fileheader.c Ditto - * common-src/fileheader.h Ditto - * common-src/util.h Ditto - * example/amanda.conf.in Ditto - * man/xml-source/amanda.conf.5.xml Ditto - * restore-src/amrestore.c Ditto - * restore-src/restore.c Ditto - * server-src/conffile.c Ditto - * server-src/conffile.h Ditto - * server-src/diskfile.c Ditto - * server-src/diskfile.h Ditto - * server-src/dumper.c Ditto - -2005-11-29 Jean-Louis Martineau - - * config/libtool.m4i: libtool 1.5.20 - * config/ltmain.sh: libtool 1.5.20 - -2005-11-29 Jean-Louis Martineau - Patch by Franz Fischer - - * common-src/fileheader.c (build_header): Declation before instruction. - * restore-src/amfetchdump.c: Don't use C++ style comment. - * restore-src/restore.c: Don't use C++ style comment. - * server-src/amindexd.c (reply, lreply, fast_lreply): buf must be - dynamicaly allocated. - * server-src/logfile.h: Don't use C++ style comment. - * server-src/taper.c (free_split_buffer): Test splitbuf against NULL. - -2005-11-22 Paddy Sreenivasan - * common-src/rsh-security.c: Fix x86_64 compile warnings. - * common-src/ssh-security.c: Fix x86_64 compile warnings. - * man/Makefile.am: Added EXTRA_XML files. - * man/xml-source/amanda.8.xml: Added spanning patch variables. - * man/xml-source/amrecover.8.xml: Added amfetchdump to SEE ALSO. - * xslt/global.entities: Removed file. - -2005-11-20 Jean-Louis Martineau - Patch by Jon H. LaBadie - - * changer-src/chg-disk.sh.in: Check permission on file access. - -2005-11-17 Paddy Sreenivasan - * man/entities/global.entities: New file. Added man page entities. - * man/entities/xinclude.dtd: New file. - * man/xslt/man.xsl: Correct include path for settings.xsl. - -2005-11-15 John R. Franks - * changer-src/scsi-changer-driver.c: Fix IA-64 compile warnings. - * common-src/rsh-security.c: Fix IA-64 compile warnings. - * common-src/ssh-security.c: Fix IA-64 compile warnings. - * regex-src/engine.c: Fix IA-64 compile warnings. - * regex-src/regexec.c: Fix IA-64 compile warnings. - -2005-11-15 Paddy Sreenivasan - - * configure.in: Changed defaults for tape_dev and nr_tape_dev. - * example/amanda.conf.in: Leave only changerfile definition - uncommented. - * man/xml-source/amanda.conf.5.xml: Updated defaults for - tapedev and rawtapedev - -2005-11-10 Jean-Louis Martineau - - * server-src/planner.c: Fix incronly. - -2005-11-05 Jean-Louis Martineau + server-src/driver.c, server-src/dumper.c, + server-src/planner.c: Add a --version argument. - * man/Makefile.am: Set man_MANS, +2011-07-27 Jean-Louis Martineau + * common-src/amservice.c, recover-src/amrecover.c, + server-src/amflush.c: #include "getopt.h" -2005-11-03 Jean-Louis Martineau +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. - * man/Makefile.am: Set man5_MANS and man8_MANS, - install-data-hook use 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. -2005-11-03 Jean-Louis Martineau - Patch by Olivier Cherrier +2011-07-27 Jean-Louis Martineau + * client-src/selfcheck.c: Check return value of fgets. - * man/Makefile.am (install-data-hook): Set protection correclty - for man5 and man8. +2011-07-27 Jean-Louis Martineau + * many */*.pl: add --version option. -2005-10-29 Jean-Louis Martineau +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. - * common-src/util.c (bind_portrange): Increase port in all case. +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. -2005-10-27 Jean-Louis Martineau +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. - * server-src/conffile.c: Allow runtapes==0. - * server-src/driver.c: Use a global conf_runtapes. Don't start a - taper if runtapes==0. - * server-src/reporter.c: Don't print The next tapes if runtapes==0. +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. -2005-10-24 Jean-Louis Martineau +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,