X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=ChangeLog;h=743f5638673e317353c73ec0669d5f7298552934;hb=949b8910a5e23c4285d0b1aedacfc82a14dc97a5;hp=fbba979bcf8e7110cd49ef1200d6476b11d988f7;hpb=d3b2175e084f88c8736ad7073eacbf4670147aec;p=debian%2Famanda diff --git a/ChangeLog b/ChangeLog index fbba979..743f563 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,16747 +1,14043 @@ -2007-06-06 Jean-Louis Martineau - * Amanda 2.5.2p1 released. - -2007-06-06 Jean-Louis Martineau - * restore-src/restore.c: accept all header with size >= DISK_BLOCK_BYTES - -2007-06-06 Jean-Louis Martineau - * NEWS: Change in 2.5.2p1. - * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.2p1). - -2007-06-06 Jean-Louis Martineau - * configure.in: Fix check backup is not from gnutar. - -2007-06-04 Jean-Louis Martineau - Original patch by franz Fischer - * tape-src/tapetype.c: close and open after a rewind. - -2007-06-04 Jean-Louis Martineau - * common-src/krb5-security.c, common-src/bsdtcp-security.c, - common-src/security-util.c: Check return code of getnameinfo. - -2007-06-04 Jean-Louis Martineau - * server-src/amstatus.pl.in: Perl argument are '-Tw'. - -2007-06-04 Dustin J. Mitchell - * server-src/holding.c: Forgotten ==0 in strcmp(). - -2007-05-31 Jean-Louis Martineau - * configure.in: Check backup is not from gnutar. - -2007-05-31 Jean-Louis Martineau - * recover-src/set_commands.c (cd_dir): Validate regex. - -2007-05-30 Jean-Louis Martineau - * common-src/krb5-security.c: Use keytab_name. - * server-src/holding.c: Remove unused date_matches variable. - -2007-05-30 Jean-Louis Martineau - * server-src/amstatus.pl.in: Set and use chunk_time. - -2007-05-30 Jean-Louis Martineau - * common-src/util.c: Don't use -w flags for od execution. - -2007-05-29 Jean-Louis Martineau - * server-src/planner.c: Don't report overwrite if no label. - -2007-05-29 Jean-Louis Martineau - * changer-src/chg-manual.sh.in: Don't reset the slot to 0 on eject. - -2007-05-25 Jean-Louis Martineau - * server-src/amstatus.pl.in: Put all flags in one arguments. +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-05-23 Jean-Louis Martineau - * common-src/util.c: Fix missing NULL in vstralloc call. +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-05-23 Jean-Louis Martineau - * server-src/amstatus.pl.in: Use compressed size. +2012-03-13 Jean-Louis Martineau + * application-src/ampgsql.pl: Do not Execute pg_start_backup for + estimate. -2007-05-23 Jean-Louis Martineau - * server-src/driver.c: Check dumper->down. - * server-src/dumper.c (sendbackup_response): Only call - security_close_connection if pkt != NULL. +2012-03-11 Jean-Louis Martineau + * common-src/glib-util.c: g_thread_supported always return TRUE on + newer version. -2007-05-23 Jean-Louis Martineau - * server-src/find.c: Send ouput to stderr. +2012-03-10 Jean-Louis Martineau + * common-src/glib-util.c, common-src/glib-util.h: Remove + g_queue_free_full. -2007-05-17 Jean-Louis Martineau - * amplot/amplot.sh.in: Remove function keyword. - * changer-src/chg-lib.sh.in: Remove function keyword. - * changer-src/chg-multi.sh.in: Remove function keyword. - * changer-src/chg-zd-mtx.sh.in: Remove function keyword. +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. -2007-05-16 Jean-Louis Martineau - * server-src/dumper.c (read_datafd): Reset timeout after the write. +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-05-15 Jean-Louis Martineau - * client-src/sendsize.c: Set qlist before using it. +2012-01-23 Jean-Louis Martineau + * device-src/s3-device.c: Fix for openstack swift api. -2007-05-15 Jean-Louis Martineau - * server-src/amadmin.c, server-src/cmdline.c, - server-src/find.c: Call holding_get_files will NULL date_list. - * server-src/holding.c (holding_get_directories_per_disk): New - date_list param, scan only the date_list directories. - * server-src/holding.c (holding_get_directories): New - date_list param. - * server-src/holding.c (holding_get_files): New - date_list param. - * server-src/holding.c (holding_get_files_for_flush): Don't loop over - date. - * server-src/holding.h (holding_get_directories, - holding_get_files): New prototype. +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-05-14 Jean-Louis Martineau - * common-src/bsd-security.c: Open an IPv4 and an IPv6 socket. - * common-src/bsdudp-security.c: Open an IPv4 and an IPv6 socket. +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. -2007-05-11 Jean-Louis Martineau - * server-src/amcrypt-ossl-asym.sh.in: Use CLIENT_LOGIN. - * server-src/amcrypt-ossl.sh.in: Use CLIENT_LOGIN. +2012-01-13 Jean-Louis Martineau + * device-src/s3-device.c: Fix deleting files. -2007-05-10 Jean-Louis Martineau - * util.c (cmp_sockaddr): Fix compilation. +2012-01-09 Jean-Louis Martineau + * server-src/amtape.pl: Fix amtape show for non numeric slot. -2007-05-10 Jean-Louis Martineau - * util.c (cmp_sockaddr): un-map V4mapped address before comparison. - * common-src/security-util.c: add debugging. +2012-01-04 Jean-Louis Martineau + * recover-src/extract_list.c: Fix for compilation on AIX. -2007-05-08 Jean-Louis Martineau - * server-src/diskfile.c: Fix double free. +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. -2007-05-07 Jean-Louis Martineau - * common-src/alloc.c (debug_vstrallocf): Remove file and line. - * common-src/amanda.h (vstrallocf): Change define. +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. -2007-05-07 Jean-Louis Martineau - * common-src/amanda.h: define sockaddr_storage and ss_family. - * common-src/amanda.h: define INET_ADDRSTRLEN. - * config/acinclude.m4i (AC_SOCKADDR_STORAGE): New macro. - * configure.in: AC_SOCKADDR_STORAGE. +2012-01-02 Jean-Louis Martineau + * perl/Amanda/Changer/multi.pm: Print the state filename to the debug + file. -2007-05-07 Jean-Louis Martineau - * common-src/amanda.h: Define AI_V4MAPPED and AI_ALL. +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. -2007-05-07 Jean-Louis Martineau - * common-src/bsd-security.c, common-src/bsdtcp-security.c, - common-src/bsdudp-security.c, common-src/krb5-security.c, - common-src/stream.c, server-src/amcheck.c, - server-src/dumper.c: Retry getaddrinfo with ai_flags = AI_CANONNAME +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. -2007-05-07 Jean-Louis Martineau - * common-src/stream.c: pass correct sockaddr size to bind() +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. -2007-05-07 Pieter Bowman - * common-src/file.c: reverse the order of chown/chmod to correctly - create temporary files. +2011-11-21 Jean-Louis Martineau + * server-src/amdump.pl: Log a 'START planner date' line on error'. -2007-05-03 Jean-Louis Martineau - * docs/*.txt: Update from xml-docs. +2011-11-14 Jean-Louis Martineau + * device-src/s3.c: Use curl_easy_escape. -2007-05-03 Jean-Louis Martineau - * man/xml-source/amrecover.8.xml: Fix space. +2011-11-14 Jean-Louis Martineau + * installcheck/gnutar.pl: Fix for fc16. -2007-05-03 Jean-Louis Martineau - * Amanda 2.5.2 released. - * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.2). +2011-11-10 Jean-Louis Martineau + * installcheck/mock/mtx.pl: Fix qw. -2007-05-02 Jean-Louis Martineau - * docs/*.txt, man/xml-source/*.xml: Change OVERWRITE bu OVERRIDE. - * man/xml-source/amadmin.8.xml: Add notees on no-reuse command. +2011-11-10 Jean-Louis Martineau + * server-src/amstatus.pl: Use Getopt::Long -2007-05-02 Jean-Louis Martineau - * amandad-src/amandad.c: Improve 'invalid service' message. +2011-11-10 Jean-Louis Martineau + * device-src/s3.c: Use CURLOPT_MAX_RECV_SPEED_LARGE. -2007-05-01 Jean-Louis Martineau - * recover-src/extract_list.c: Report the error message. - * recover-src/extract_list.c: Don't call close_connection. - * common-src/security-util.c: (tcpm_close_connection): Check for rh->rc +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 -2007-04-27 Jean-Louis Martineau - * common-src/security-util.c (tcp1_stream_client): Set rh->rc->driver. +2011-11-10 Jean-Louis Martineau + * perl/Amanda/Report.pm: Always report the first 100 strange lines. + * installcheck/catalogs/longstrange.cat: Fix test. -2007-04-27 Jean-Louis Martineau - * common-src/bsd-security.c, common-src/bsdudp-security.c, - common-src/krb4-security.c: Fix ntohs for port number. - * common-src/dgram.c: Add socket number in comment. -2007-04-27 Dustin J. Mitchell - * server-src/holding.c server-src/holding.h server-src/find.c: - use holding module in find.c:search_holding_disk() +2011-11-09 Jean-Louis Martineau + * server-src/amreport.pl: Fix for perl-5.14 + * installcheck/amreport.pl: Add test. -2007-04-27 Jean-Louis Martineau - * server-src/amcheck.c: Fix infobad setting. +2011-11-09 Jean-Louis Martineau + * installcheck/Installcheck/Changer.pm: Fix warnign for perl 5.14. -2007-04-26 Jean-Louis Martineau - * server-src/amcheck.c: Set *bad on error. +2011-11-09 Jean-Louis Martineau + * application-src/ampgsql.pl: Print state filename to debug file. -2007-04-26 Jean-Louis Martineau - * server-src/amflush.c: Quote L_DISK and FLUSH line. - * server-src/driver.c: Parse quoted FLUSH line. - * server-src/planner.c: Quote L_DISK and FLUSH line. +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 -2007-04-25 Dustin J. Mitchell - * configure.in common-src/ssh-security.c: allow build-time configuration of SSH options +2011-11-07 Jean-Louis Martineau + * perl/Amanda/Changer.pm (release): Always call finished_cb. + * installcheck/amcheck-device.pl: Add a check. + +2011-10-12 Jean-Louis Martineau + * server-src/driverio.c (update_info_dumper): Set date to 0 if + datestamp is 0. + +2011-10-07 Jean-Louis Martineau + * application-src/ampgsql.pl: If datadir is not set, use the disk + argument. + +2011-10-07 Jean-Louis Martineau + * common-src/conffile.c: Do not free cwd. + * common-src/amgetconf.pl: Allow to get one property. + * installcheck/amgetconf.pl: Test it. + +2011-10-05 Jean-Louis Martineau + * common-src/match.c: Update from trunk. + +2011-10-05 Jean-Louis Martineau + * device-src/s3.c: Retry in case of CURLE_SSL_CONNECT_ERROR error. + +2011-10-05 Jean-Louis Martineau + * installcheck/gnutar.pl: Add support for fc14 and fc15. + +2011-10-04 Jean-Louis Martineau + * recover-src/extract_list.c: Do not crahs if amidxtaped close the + connection. + +2011-10-04 Jean-Louis Martineau + * device-src/s3.c: Correctly set thunk->next_marker. + +2011-09-30 Dan Locks + * packaging/common/substitute.pl: fix PKG_REV missing message. + * packaging/sun-pkg/buildpkg, packaging/deb/buildpkg, + packaging/rpm/buildpkg: create PKG_REV file until the machinery to + process svn tags for PKG_REV is in place + +2011-09-29 Dan Locks + * packaging/sun-pkg: sun package subdirectories + * packaging/sun-pkg/buildpkg: sun package building script + * packaging/common/mock_utils.sh: mocked utilities used by pre/post + scripts + * packaging/common/post_inst_functions.sh, + packaging/common/post_rm_functions.sh, + packaging/common/pre_inst_functions.sh, + packaging/common/common_functions.sh: shared shell functions for + pre/post scripts. + * packaging/common/substitute.pl: update to handle sun packages and + shell functions + * packaging/common/test_sh_libs.sh: unit tests for shell functions + * packaging/common/shunit2: unit test framework + * packaging/Makefile.am: add sun package to dist tarball. + * note: S3 device is not enabled; solaris compilation has me stumped. + +2011-09-21 Jean-Louis Martineau + * perl/Amanda/Holding.pm: fix dirfn. + +2011-09-21 Jean-Louis Martineau + Patch by Sam Stuck + * man/xml-source/amanda-changers.7.xml: Typo. + +2011-09-20 Jean-Louis Martineau + * man/Makefile.am (SERVER_MAN_PAGES): Add amcleanupdisk.8 + * man/xml-source/amcleanup.8.xml:Add -r option. + * man/xml-source/amcleanupdisk.8.xml: New man page. + * perl/Amanda/Holding.pm (all_files, merge_all_files, rename_tmp): + New methods. + * server-src/Makefile.am (amlibexec_PROGRAMS): Remove amcleanupdisk. + * server-src/Makefile.am (sbin_SCRIPTS_PERL): Add amcleanupdisk. + * server-src/amcleanup.pl: Add -r option. + * server-src/amcleanupdisk.c: Remove file + * server-src/amcleanupdisk.pl: New perl version. + * server-src/holding.c: Fix max level to 399. + +2011-09-07 Jean-Louis Martineau + * installcheck/Amanda_Device.pl: Check setting a property with an + invalid name. + +2011-09-07 Jean-Louis Martineau + * perl/Amanda/Device.swg: Do not g_value_unset an uninitialized value. + +2011-09-07 Jean-Louis Martineau + * application-src/amzfs-sendrecv.pl: restore works without --device. + +2011-09-06 Jean-Louis Martineau + * common-src/amcryptsimple.pl: Do not use gpg-agent if it is not + available. + +2011-09-02 Jean-Louis Martineau + * client-src/selfcheck.c (print_platform): Another fix. + +2011-09-02 Jean-Louis Martineau + * common-src/amcryptsimple.pl: Use gpg-agent. + +2011-09-02 Jean-Louis Martineau + * client-src/selfcheck.c (print_platform): Fix. + +2011-09-01 Jean-Louis Martineau + * server-src/amadmin.c (export) parse version without patch number. + +2011-09-01 Jean-Louis Martineau + * perl/Amanda/ScanInventory.pm: Get the meta label before + calling make_new_tape_label. + * perl/Amanda/Taper/Scan/traditional.pm: Get the meta label before + calling make_new_tape_label. + * perl/Amanda/Taper/Scribe.pm: Return the reservation on error. + * server-src/amcheck-device.pl: Release the reservation on error. + * server-src/amtape.pl: Release the reservation on error, + change 'amtape taper' output to be the same as amcheck. + * installcheck/amtape.pl: Fix for new amtape output. + +2011-08-31 Jean-Louis Martineau + * common-src/debug.c (debug_printf): Print a thread id. + * device-src/xfer-dest-taper-cacher.c, + device-src/xfer-dest-taper-directtcp.c, + device-src/xfer-dest-taper-splitter.c, + device-src/xfer-source-recovery.c: Remove printing of thread id. + +2011-08-31 Jean-Louis Martineau + * server-src/dumper.c: filter stderr make result strange, + filter exit_code != 0 make it fail. + +2011-08-31 Jean-Louis Martineau + * application-src/amgtar.c: Do not rename gnutar-list if record is not + set. + +2011-08-31 Jean-Louis Martineau + * server-src/tapefile.h (struct tape_s): Add blocksize. + * server-src/tapefile.c: Print and parse blocksize in tapelist file. + * perl/Amanda/Tapelist.swg: Print and parse blocksize in tapelist file. + * perl/Amanda/Taper/Scribe.pm: Add blocksize argument to add_tapelabel. + * server-src/amlabel.pl: Add blocksize argument to add_tapelabel. + * installcheck/Amanda_Tapelist.pl: Fix for tapelist file format. + * installcheck/amlabel.pl: Fix for tapelist file format. + +2011-08-31 Jean-Louis Martineau + * device-src/device.h (struct Device): Add header_block_size. + * device-src/null-device.c, device-src/rait-device.c, + device-src/s3-device.c, device-src/tape-device.c, + device-src/vfs-device.c: Set header_block_size. + * perl/Amanda/Device.swg: Swig header_block_size. + +2011-08-31 Jean-Louis Martineau + * installcheck/Amanda_Device.pl: Fix number of skipped test for S3. + +2011-08-31 Jean-Louis Martineau + * server-src/planner.c: Print why a disk is skip if DS_NOINC. + +2011-08-30 Jean-Louis Martineau + * installcheck/Amanda_Device.pl: Check invalid location on s3 device. + +2011-08-30 Jean-Louis Martineau + * device-src/s3.c (s3_is_bucket_exists): Do not retry if bucket do + not exists. + +2011-08-30 Jean-Louis Martineau + * device-src/s3.c (s3_is_bucket_exists): New function to check if a + bucket exists. + * device-src/s3.h (s3_is_bucket_exists): Prototype. + * device-src/s3-device.c: Call s3_is_bucket_exists before + s3_make_bucket. + +2011-08-29 Jean-Louis Martineau + * perl/Amanda/Changer/multi.pm: Keep the device_error in the state file. + * perl/Amanda/Changer/robot.pm: Keep the device_error in the state file. + * server-src/amtape.pl (inventory): Print inventory device error. + * installcheck/Amanda_Changer_multi.pl, + installcheck/Amanda_Changer_ndmp.pl, + installcheck/Amanda_Changer_robot.pl: Fix for device_error in + state file. + +2011-08-29 Jean-Louis Martineau + * perl/Amanda/Changer.pm: Fix warning. + +2011-08-29 Jean-Louis Martineau + * installcheck/Amanda_Changer_ndmp.pl, + installcheck/Amanda_Changer_robot.pl: Fix for previous patch. + +2011-08-29 Jean-Louis Martineau + * perl/Amanda/Changer/robot.pm: return a reservation even on error. + +2011-08-29 Jean-Louis Martineau + Patch by Gunar Gunnarsson + * server-src/amvault.pl: Cast $dump->{'kb'} to int. + +2011-08-24 Jean-Louis Martineau + * man/xml-source/amanda-devices.7.xml: Update S3 location url. + +2011-08-24 Jean-Louis Martineau + * common-src/match.c: Fix for 'Trailing backslash' error + * common-src/match-test.c: Add test + +2011-07-27 Jean-Louis Martineau + * amandad-src/amandad.c, client-src/calcsize.c, + client-src/killpgrp.c, client-src/noop.c, + client-src/rundump.c, client-src/runtar.c, + client-src/selfcheck.c, client-src/sendbackup.c, + client-src/sendsize.c, ndmp-src/amndmjob_main.c, + server-src/amcleanupdisk.c, server-src/amindexd.c, + server-src/amtrmidx.c, server-src/amtrmlog.c, + server-src/driver.c, server-src/dumper.c, + server-src/planner.c: Add a --version argument. -2007-04-23 Paddy Sreenivasan - * changer-src/scsi-solaris.c common-src/protocol.c: changes to build on Solaris +2011-07-27 Jean-Louis Martineau + * common-src/amservice.c, recover-src/amrecover.c, + server-src/amflush.c: #include "getopt.h" -2007-04-20 Dustin J. Mitchell - * configure.in: remove unused AMANDA_C_VOLATILE - * config/acinclude.m4: remove unused AMANDA_C_VOLATILE +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. -2007-04-20 Dustin J. Mitchell - * autogen: silence unnecessary warnings about GNU make, return exit status +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. -2007-04-20 Dustin J. Mitchell - * common-src/stream.c: retry socket creation if OS does not support IPv6 - at runtime +2011-07-27 Jean-Louis Martineau + * client-src/selfcheck.c: Check return value of fgets. -2007-04-20 Jean-Louis Martineau - * amplot/amplot.sh.in (test_awk,find_gnuplot): Imported from zmanda. - * amplot/amplot.awk: Fix some parsing. - * server-src/driver.c (free_kps): Return 0 instead of big value. +2011-07-27 Jean-Louis Martineau + * many */*.pl: add --version option. -2007-04-18 Jean-Louis Martineau - * oldrecover-src/Makefile.am, changer-src/Makefile.am, - client-src/Makefile.am, amandad-src/Makefile.am, - recover-src/Makefile.am, server-src/Makefile.am, - restore-src/Makefile.am: Link libgnu after libamanda. - -2007-04-18 Jean-Louis Martineau - * client-src/sendbackup.c: Improve tar argument in amanda header for - extraction. - -2007-04-18 Dustin J. Mitchell - * man/Makefile.am configure.in config/acinclude.m4i: add xsltproc- and docbook- - related autoconf macros, use them to ensure the environment is appropriate for - building manpages; manpage build is off by default. - -2007-04-17 Jean-Louis Martineau - * changer-src/chg-disk.sh.in: Send error message to stdout. - -2007-04-17 Dustin J. Mitchell - * changer-src/chg-zd-mtx.sh.in: fix more typos (thanks to - "Stefan G. Weichinger" ) - -2007-04-17 Jean-Louis Martineau - * restore-src/restore.c: Fix restoration of split and encrypted backup. - -2007-04-13 Dustin J. Mitchell - * changer-src/chg-zd-mtx.sh.in: fix typo in error message - -2007-04-13 Jean-Louis Martineau - * Amanda 2.5.2b1 released. - * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.2b1). - -2007-04-13 Jean-Louis Martineau - * client-src/sendbackup.c (first_num): Removed function. - * client-src/sendbackup.c (the_num): return the nth number in a string. - * client-src/sendbackup.h (AM_SIZE_RE): Need a field. - * client-src/sendbackup-dump.c: Use new AM_SIZE_RE. - * client-src/sendbackup-gnutar.c: Use new AM_SIZE_RE. - -2007-04-13 Jean-Louis Martineau - * NEWS: Change in amanda-2.5.2 - * ReleaseNotes: Releases Notes for 2.5.2 - * server-src/chunker.c (write_tapeheader): Set errno to ENOSPC. - -2007-04-12 Dustin J. Mitchell - * server-src/dumper.c: use fullwrite() instead of write() - -2007-04-12 Jean-Louis Martineau - * amandad-src/amandad.c: Remove duplicate setsockopt(,,SO_REUSEADDR). - * common-src/bsd-security.c: Use int for setsockopt. - * common-src/stream.c (try_socksize): Use int for setsockopt. - -2007-04-12 Jean-Louis Martineau - * server-src/amcheck.c: Remove duplicate test. - * server-src/dumper.c: Use newvstralloc. - -2007-04-12 Jean-Louis Martineau - * server-src/reporter.c: Take value from chunker if it succeed and - taper fail. - -2007-04-10 Jean-Louis Martineau - * configure.in: Use krb5 shared library. - -2007-04-10 Dustin J. Mitchell - * changer-src/chg-zd-mtx.sh.in: remove configurability of mt, mtx paths - -2007-04-10 Jean-Louis Martineau - * common-src/krb5-security.c: Initialize rc->gss_context. - -2007-04-09 Dustin J. Mitchell - * changer-src/chg-zd-mtx.sh.in: fix bugs in configuration for mt, mtx paths - -2007-04-06 Dustin J. Mitchell - * oldrecover-src/extract_list.c oldrecover-src/display_commands.c - client-src/sendbackup.c client-src/getfsent.c client-src/sendsize.c - client-src/selfcheck.c recover-src/amrecover.c recover-src/extract_list.c - recover-src/display_commands.c server-src/amlogroll.c - server-src/amindexd.c server-src/tapefile.c server-src/amcheck.c - server-src/dumper.c server-src/planner.c server-src/reporter.c - server-src/amadmin.c server-src/find.c server-src/infofile.c - restore-src/amidxtaped.c common-src/security-util.c common-src/amanda.h: - improve parsing with strcmp_const and strcmp_const_skip - -2007-04-06 Jean-Louis Martineau - * server-src/taper.c: Limit splitsize to 1G in PORT-WRITE. - -2007-04-06 Jean-Louis Martineau - * common-src/krb5-security.c: Report client hostname. - -2007-04-06 Jean-Louis Martineau - * common-src/tapelist.c (append_to_tape): Don't call dump_tapelist. - -2007-04-05 Dustin J. Mitchell - * contrib/macosx/org.amanda.amandad.bsd*.plist: updated to use username - 'amandabackup' - -2007-04-05 Dustin J. Mitchell - * amplot/amplot.sh.in configure.in config/acinclude.m4i: - move checks for gnuplot, awk to runtime for easier packaging; - add fake gettext functions to ease the transition to - full gettext support - -2007-04-05 Dustin J. Mitchell - * server-src/amindex.c: fix bug where debug fd was closed by safe_fd, - remove remote_hostname, rewrite to use getaddrinfo/getnameinfo - * server-src/dumper.c server-src/amcheck.c recover-src/set_commands.c: - use getaddrinfo/getnameinfo - * common-src/security-util.[ch]: add try_resolving_hostname() - * common-src/ssh-security.c common-src/rsh-security.c: - use try_resolving_hostname, rewrite to avoid gethostbyname - * common-src/krb5-security.c: use getaddrinfo instead of gethostbyname - -2007-04-05 Dustin J. Mitchell - * changer-src/chg-lib.sh.in changer-src/chg-mtx.sh.in - changer-src/chg-manual.sh.in changer-src/chg-zd-mtx.sh.in - changer-src/chg-multi.sh.in changer-src/Makefile.am - configure.in: make the path to MTX and other executables configurable - in changer scripts; introduce new changer shell library to reduce - code duplication; add fake gettext functions to ease the transition to - full gettext support - -2007-04-04 Dustin J. Mitchell - * server-src/dumper.c server-src/chunker.c: remove assumed ENOSPC - error in static write_tapeheader functions - -2007-04-03 Jean-Louis Martineau - * common-src/security-util.c: Remove buggy &. - -2007-04-03 Jean-Louis Martineau - * common-src/conffile.c: Add READBLOCKSIZE tapetype config option. - * common-src/conffile.c(getconf_readblocksize): Function to retrieve - the tapetype readblocksize or the configured maxtapeblocksize. - * common-src/conffile.h: Add READBLOCKSIZE tapetype config option. +2011-07-27 Jean-Louis Martineau + * application-src/ampgsql.pl: print to debug file and server if unlink + fail. + +2011-07-25 Jean-Louis Martineau + * man/xml-source/amgtar.8.xml, man/xml-source/amraw.8.xml, + man/xml-source/amsamba.8.xml, man/xml-source/amstar.8.xml, + man/xml-source/amsuntar.8.xml, + man/xml-source/amzfs-sendrecv.8.xml: Document the diskdevice. + +2011-07-25 Jean-Louis Martineau + * client-src/client_util.c: fix + +2011-07-25 Jean-Louis Martineau + * server-src/amcheck.c: new '--client-verbose' option. + * man/xml-source/amcheck.8.xml: Document --client-verbos + * config/amanda/progs.m4 (AMANDA_PROG_UNAME): new macro to find uname + path. + * configure.in: call AMANDA_PROG_UNAME. + * client-src/client_util.c (check_access, check_file, check_dir, + check_suid): return a gboolean. + * client-src/client_util.h: Change prototypes. + * client-src/selfcheck.c: Print the platform. + * common-src/util.c (get_first_line): new function to return the first + output line of a command. + * common-src/util.h (get_first_line): add prototype. + * application-src/amgtar.c, application-src/ampgsql.pl, + application-src/amraw.pl, application-src/amsamba.pl, + application-src/amstar.c, application-src/amsuntar.pl, + application-src/amzfs-sendrecv.pl: print version of program. + +2011-07-22 Jean-Louis Martineau + * perl/Amanda/Changer.pm: Fix warning if $s is not used. + +2011-07-22 Jean-Louis Martineau + * perl/Amanda/Changer.pm: Support minimun number of digit in $3s + autolabel template. * man/xml-source/amanda.conf.5.xml: Document it. - * tape-src/output-tape.c: Use getconf_readblocksize. - * tape-src/tapeio.c: Use getconf_readblocksize. - -2007-04-03 Jean-Louis Martineau - * common-src/bsd-security.c, common-src/bsdtcp-security.c, - common-src/bsdudp-security.c, - common-src/security-util.c: Fix auth_debug and dbprintf usage. - -2007-04-03 Jean-Louis Martineau - Merge from zmanda ext. - * man/xml-source/amadmin.8.xml man/xml-source/amanda.8.xml - server-src/amflush.c server-src/cmdline.c server-src/cmdline.h - server-src/holding.c server-src/holding.h server-src/driver.c - server-src/planner.c server-src/amadmin.c server-src/taper.c - server-src/amcleanupdisk.c server-src/find.c - server-src/Makefile.am: revise holding-disk management, add new - 'amadmin' subcommand to list and delete dumps from the holding - disk. - * server-src/amadmin.c: Add 'amadmin XX holding list -l' - -2007-04-02 Dustin J. Mitchell - * common-src/bsdtcp-security.c common-src/bsd-security.c - common-src/security-util.c common-src/bsdudp-security.c: - bugfixes, always check for NULL ai_canonname - * common-src/util.c common-src/util.h common-src/krb4-security.c - common-src/security-util.c: bugfix for hosts with multiple addresses, - improved cmp_sockaddr, remove redundant checks - * server-src/taper.c: add log message when new tapes are auto-labeled - * common-src/security-util.c: patch to avoid spurious compiler warnings - noticed on FC3 - -2007-03-30 Dustin J. Mitchell - * common-src/file.c: remove unused amanda_setup() - -2007-03-30 Jean-Louis Martineau - * common-src/amanda.h: Define a _() macro. - -2007-03-28 Dustin J. Mitchell - * common/amanda.h: fix typo in SS_SET_INADDR_ANY for non-IPv6 - machines - * gnulib/regenerate/regenerate: update to include visibility - and lock modules (See 2007-03-14) - * recover-src/extract_list.c common-src/krb4-security.c - common-src/event.c common-src/security-util.c: use - SELECT_ARG_TYPE instead of fd_set - -2007-03-27 Jean-Louis Martineau - * common-src/krb5-security.c: Fix for krb5 and IPv6. - * common-src/security-util.c: Fix for krb5 and IPv6. - -2007-03-27 Jean-Louis Martineau - * common-src/krb5-security.c: Compile with heimdal kerberos. - -2007-03-27 Jean-Louis Martineau - Fix solaris 9 problem: - * common-src/krb5-security.c: Use putenv instead of setenv. - * common-src/security-util.c: Set flags according to family. - -2007-03-27 Jean-Louis Martineau - Merge from zmanda EXT. - -2007-03-27 Jean-Louis Martineau - * Makefile.am (EXTRA_DIST): Remove contrib/gnulib-update-current. - -2007-03-27 Jean-Louis Martineau - * server-src/reporter.c: Ouput quoted diskname in "DUMP SUMMARY" - section. - -2007-03-23 Jean-Louis Martineau - * changer-src/chg-zd-mtx.sh.in: Exit with a message if the - configuration file doesn't exist. - -2007-03-23 Jean-Louis Martineau - * common-src/conffile.c: Fix error message. - -2007-03-23 Jean-Louis Martineau - * amandad-src/amandad.c: Fix segfault. - -2007-03-23 Jean-Louis Martineau - * common-src/security-util.c: Use SS_LEN. - * common-src/util.c: Use SS_LEN. - -2007-03-21 Jean-Louis Martineau - * common-src/security.h (security_driver): Add data_encrypt and - data_decrypt function. - * common-src/bsd-security.c, common-src/bsdtcp-security.c, - common-src/bsdudp-security.c, common-src/krb4-security.c, - common-src/rsh-security.c, - common-src/ssh-security.c: Set data_encrypt and data_decrypt to NULL. - - * common-src/conffile.c: Parse KRB5KEYTAB and KRB5PRINCIPAL on client. - * common-src/krb5-security.c: Complete rewrite. - * common-src/security-util.h: Change many prototype. - * common-src/security-util.c: Change argument to function. - * recover-src/amrecover.c: Use generic_client_get_security_conf. - * recover-src/extract_list.c: Use generic_client_get_security_conf. - -2007-03-21 Jean-Louis Martineau - Merge from zmanda EXT. - - Add SS_INIT, SS_SET_INADDR_ANY, SS_GET_PORT and SS_SET_PORT - macros for IPv6 portability - - add SS_LEN() macro for calculating length of a - struct sockaddr, use it in a few locations where incorrect - lengths were being passed. - - New script for rebuilding gnulib from scratch; current - gnulib is from "cvs update -D '2007-01-31 13:12:51 -0600'" - -2007-03-12 Jean-Louis Martineau - * recover-src/set_commands.c (set_tape): Don't amfree(tape). - * oldrecover-src/set_commands.c (set_tape): Don't amfree(tape). - -2007-02-22 Jean-Louis Martineau - * changer-src/scsi-linux.c, common-src/security-util.c, - common-src/stream.c, oldrecover-src/amrecover.c, - restore-src/restore.c, server-src/amcheck.c, - server-src/taper.c: Use SIZE_T_FMT and SSIZE_T_FMT instead of %z. - -2007-02-22 Jean-Louis Martineau - * common-src/bsd-security.c: Always retry getaddrinfo if INET6 failed. - * common-src/bsdudp-security.c: Ditto. - -2007-02-22 Jean-Louis Martineau - * common-src/debug.c: Remove old file in current directory. - -2007-02-22 Jean-Louis Martineau - * changer-src/chg-chio.pl.in: Typo. - -2007-02-21 Jean-Louis Martineau - * recover-src/extract_list.c: Remove match for path_on_disk_slash. - -2007-02-20 Jean-Louis Martineau - * common-src/stream.c, common-src/util.c: Pass exact socklen_t to - bind and connect call. - -2007-02-20 Jean-Louis Martineau - * server-src/taper.c: Set splitsize to 0 if no data in file. - * server-src/amflush.c: Don't send FLUSH request if no data in file. - * server-src/planner.c: Don't send FLUSH request if no data in file. - * server-src/driver.c: Don't send request to taper if no data in file. - -2007-02-19 Jean-Louis Martineau - * amandad-src/amandad.c: Fix compilation with --without-ipv6. - -2007-02-19 Jean-Louis Martineau - * server-src/amverify.sh.in: Remove bogus fi. - -2007-02-16 Jean-Louis Martineau - * server-src/amverify.sh.in: Add timeout on wait for device ready. - * changer-src/chg-chio.pl.in: Wait (with timeout) for drive ready. - -2007-02-15 Jean-Louis Martineau - * server-src/taper.c: Don't call free_server_config. - -2007-02-15 Jean-Louis Martineau - * patching file oldrecover-src/amrecover.h (local_cd): Prototype. - * oldrecover-src/set_commands.c: Works with quoted arguments. - * oldrecover-src/uparse.y (LCD): Call local_cd. - * recover-src/amrecover.h (local_cd): Prototype. - * recover-src/set_commands.c: Works with quoted arguments. - * recover-src/uparse.y (LCD): Call local_cd. - -2007-02-14 Jean-Louis Martineau - * common-src/security-util.c: Add "on the client" message. - -2007-02-13 Jean-Louis Martineau - * server-src/amstatus.pl.in: fix for chunk and displayunit. - -2007-02-13 Jean-Louis Martineau - * server-src/dumper.c: Fix if krb4 is compiled but another auth is - used. - -2007-02-13 Jean-Louis Martineau - * common-src/alloc.c (safe_env): Remove LANG and LC_* only if we are - priviledged process. - -2007-02-13 Jean-Louis Martineau - * dumper-src/amgtar.pl.in: Replace -t options by -T. - * dumper-src/Makefile.am: Remove perl -t options. - -2007-02-12 Jean-Louis Martineau - * common-src/Makefile.am (STANDARD_COMMON_STUFF_NOT_FILE): Add sl. - * common-src/statfs.c: Fix scale function. - -2007-02-12 Jean-Louis Martineau - * client-src/sendsize.c: Fix PARAM_HONOR_NODUMP. - -2007-02-09 Jean-Louis Martineau - * server-src/reporter.c: Fix postscript crash. - -2007-02-09 Jean-Louis Martineau - * changer-src/chg-manual.sh.in: Add tty, email, tty_email request mode. - -2007-02-07 Jean-Louis Martineau - * server-src/amindexd.c: Use dbfd. - -2007-02-06 Jean-Louis Martineau - * common-src/alloc.c (vstrallocf): New function. - * common-src/amanda.h (vstrallocf): Prototype. - * client-src/sendsize.c: Send error if fe_rep_sendsize_quoted_error. - * common-src/amfeatures.c (am_init_feature_set): Set - fe_rep_sendsize_quoted_error. - * common-src/amfeatures.h (fe_rep_sendsize_quoted_error): new features. - * server-src/planner.c: Receive error message from sendsize. - -2007-02-06 Jean-Louis Martineau - * amandad-src/amandad.c, changer-src/scsi-linux.c, - common-src/conffile.c, configure.in, - man/Makefile.am, man/xml-source/amcheck.8.xml, - server-src/amlabel.c, server-src/taper.c: Merge from zmanda. - -2007-02-06 Jean-Louis Martineau - * common-src/clock.c (timesub): The result must always be positive. - -2007-02-05 Jean-Louis Martineau - * changer-src/chg-zd-mtx.sh.in: Fix for sed and IMPORT/EXPORT. - -2007-02-05 Jean-Louis Martineau - * server-src/amcheck.c: Add parentheses. - -2007-02-02 Jean-Louis Martineau - * contrib/gnulib-update-current: New file. - * Makefile.am (EXTRA_DIST): Add contrib/gnulib-update-current. - -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. -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. - -2007-01-26 Jean-Louis Martineau - * configure.in: Fix --with-ipv6 option. - -2007-01-26 Jean-Louis Martineau - * server-src/amdump.sh.in: Exit with a status. - -2007-01-26 Jean-Louis Martineau - * server-src/diskfile.c: Use hostnext pointer. - -2007-01-26 Jean-Louis Martineau - * server-src/reporter.c: Exit with a status. - -2007-01-26 Jean-Louis Martineau - * server-src/amstatus.pl.in: Exit with a status. - -2007-01-26 Jean-Louis Martineau - * server-src/amstatus.pl.in: Detect failed dump to tape. - -2007-01-25 Jean-Louis Martineau - * configure.in: Add --with-ipv6 option. - -2007-01-25 Jean-Louis Martineau - * server-src/changer.c (changer_command): Send stderr to dbfd(). - -2007-01-25 Jean-Louis Martineau - * server-src/diskfile.c: Check hostname have same case. - -2007-01-25 Jean-Louis Martineau - * changer-src/chg-zd-mtx.sh.in: Check if MT and MTX exists. - -2007-01-25 Jean-Louis Martineau - * changer-src/chg-zd-mtx.sh.in: Set CHANGER environment variable. - -2007-01-24 Jean-Louis Martineau - * common-src/conffile.c: Cleanup conf_print function. +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. -2007-01-24 Jean-Louis Martineau - * common-src/conffile.c: Check for duplicate -o options. - * recover-src/amrecover.c: Change precedence of option. +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. -2007-01-24 Jean-Louis Martineau - * server-src/diskfile.c: Fix compiler warning. +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. -2007-01-23 Jean-Louis Martineau - * common-src/security-util.c (tcpm_recv_token): Check size < 0. +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. -2007-01-23 Jean-Louis Martineau - * server-src/diskfile.c: Check duplicate DLE with match_host and - match_disk. +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,