X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=ChangeLog;h=741a45759fc3bf14470ae75fb7288ee6843578aa;hb=c16b04cb8ba646250049afa94e22e7a800b94e7d;hp=fbba979bcf8e7110cd49ef1200d6476b11d988f7;hpb=d3b2175e084f88c8736ad7073eacbf4670147aec;p=debian%2Famanda diff --git a/ChangeLog b/ChangeLog index fbba979..741a457 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,16747 +1,11543 @@ -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. - -2007-05-23 Jean-Louis Martineau - * common-src/util.c: Fix missing NULL in vstralloc call. - -2007-05-23 Jean-Louis Martineau - * server-src/amstatus.pl.in: Use compressed size. - -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. - -2007-05-23 Jean-Louis Martineau - * server-src/find.c: Send ouput to stderr. - -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. - -2007-05-16 Jean-Louis Martineau - * server-src/dumper.c (read_datafd): Reset timeout after the write. - -2007-05-15 Jean-Louis Martineau - * client-src/sendsize.c: Set qlist before using it. - -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. - -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. - -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. - -2007-05-10 Jean-Louis Martineau - * util.c (cmp_sockaddr): Fix compilation. - -2007-05-10 Jean-Louis Martineau - * util.c (cmp_sockaddr): un-map V4mapped address before comparison. - * common-src/security-util.c: add debugging. - -2007-05-08 Jean-Louis Martineau - * server-src/diskfile.c: Fix double free. - -2007-05-07 Jean-Louis Martineau - * common-src/alloc.c (debug_vstrallocf): Remove file and line. - * common-src/amanda.h (vstrallocf): Change define. - -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. - -2007-05-07 Jean-Louis Martineau - * common-src/amanda.h: Define AI_V4MAPPED and AI_ALL. - -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 - -2007-05-07 Jean-Louis Martineau - * common-src/stream.c: pass correct sockaddr size to bind() - -2007-05-07 Pieter Bowman - * common-src/file.c: reverse the order of chown/chmod to correctly - create temporary files. - -2007-05-03 Jean-Louis Martineau - * docs/*.txt: Update from xml-docs. - -2007-05-03 Jean-Louis Martineau - * man/xml-source/amrecover.8.xml: Fix space. - -2007-05-03 Jean-Louis Martineau - * Amanda 2.5.2 released. - * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.2). - -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. - -2007-05-02 Jean-Louis Martineau - * amandad-src/amandad.c: Improve 'invalid service' message. - -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 - -2007-04-27 Jean-Louis Martineau - * common-src/security-util.c (tcp1_stream_client): Set rh->rc->driver. - -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() - -2007-04-27 Jean-Louis Martineau - * server-src/amcheck.c: Fix infobad setting. - -2007-04-26 Jean-Louis Martineau - * server-src/amcheck.c: Set *bad on error. - -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. - -2007-04-25 Dustin J. Mitchell - * configure.in common-src/ssh-security.c: allow build-time configuration of SSH options - -2007-04-23 Paddy Sreenivasan - * changer-src/scsi-solaris.c common-src/protocol.c: changes to build on Solaris - -2007-04-20 Dustin J. Mitchell - * configure.in: remove unused AMANDA_C_VOLATILE - * config/acinclude.m4: remove unused AMANDA_C_VOLATILE - -2007-04-20 Dustin J. Mitchell - * autogen: silence unnecessary warnings about GNU make, return exit status - -2007-04-20 Dustin J. Mitchell - * common-src/stream.c: retry socket creation if OS does not support IPv6 - at runtime - -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. - -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. +2010-12-14 Jean-Louis Martineau + * VERSION: 3.2.1 + +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-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-12 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 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-08 Jean-Louis Martineau + * ReleaseNotes, NEWS: Add changes for 3.2.1 + +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-11-29 Jean-Louis Martineau + * man/xml-source/amlabel.8.xml: Typo. + +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-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 + * server-src/find.c: Keep the complete error message. + +2010-11-12 Jean-Louis Martineau + * server-src/driverio.c: Don't update last_level/consecutive_runs if + the dump failed. + +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-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. + +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 + * server-src/tapefile.c: Add barcode in tapelist. + * server-src/tapefile.h: Add barcode in tapelist. + * perl/Amanda/Tapelist.swg: Add barcode in tapelist. + * perl/Amanda/Taper/Scribe.pm: Set the barcode. + * server-src/amlabel.pl: Set the barcode. + * installcheck/Amanda_Tapelist.pl: Test it. + * installcheck/amlabel.pl: Test it. + +2010-11-02 Jean-Louis Martineau + * common-src/util.c (quote_string_maybe): Don't use match. + * common-src/util.c (len_quote_string_maybe): New function. + * common-src/util.h (len_quote_string): Define. + * server-src/amadmin.c: Don't call find_dump twice. + * server-src/find.c (search_logfile): Don't use regex. + * server-src/find.c (print_find_result): Use len_quote_string. + +2010-11-02 Jean-Louis Martineau + * common-src/conffile.c: debug-recovery default to 1. * 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. +2010-10-29 Jean-Louis Martineau + * server-src/chunker.c: Close listening socket are accepted socket. + * xfer-src/element-glue.c: Close listening socket are accepted socket. -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. +2010-10-29 Jean-Louis Martineau + * server-src/amflush.c: Open 'amflush' log file in append mode. -2007-02-01 Jean-Louis Martineau - * changer-src/chg-zd-mtx.sh.in: Support IMPORT/EXPORT slot. +2010-10-29 Jean-Louis Martineau + * server-src/amdump.pl: Open 'amdump' log file in append mode. -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. +2010-10-28 Jean-Louis Martineau + * common-src/conffile.c: Fix quoting in recovery-limit output. + * server-src/amadmin.c (disklist_one): Print recovery-limit. -2007-01-26 Jean-Louis Martineau - * configure.in: Fix --with-ipv6 option. +2010-10-28 Jean-Louis Martineau + * client-src/client_util.c: Don't free script->result. -2007-01-26 Jean-Louis Martineau - * server-src/amdump.sh.in: Exit with a status. +2010-10-27 Jean-Louis Martineau + * server-src/dumper.c: Typo. -2007-01-26 Jean-Louis Martineau - * server-src/diskfile.c: Use hostnext pointer. +2010-10-26 Jean-Louis Martineau + * common-src/fileheader.c (parse_file_header): Print buf. + * patching file recover-src/extract_list.c: Read header in multiple + block. -2007-01-26 Jean-Louis Martineau - * server-src/reporter.c: Exit with a status. +2010-10-26 Jean-Louis Martineau + * perl/Amanda/Report/human.pm: Use chunker size to find big estimate. + * installcheck/catalogs/bigestimate.cat: Fix. -2007-01-26 Jean-Louis Martineau - * server-src/amstatus.pl.in: Exit with a status. +2010-10-25 Jean-Louis Martineau + * perl/Amanda/Taper/Worker.pm: Use 4*block_size for + device_output_buffer_size if it is not set by the user. + * server-src/amcheck-device.pl: Check device_output_buffer_size is at + least 2*block_size. -2007-01-26 Jean-Louis Martineau - * server-src/amstatus.pl.in: Detect failed dump to tape. +2010-10-25 Dan Locks + * config/amanda/libs.m4: update AMANDA_CHECK_CURL to add runtime link + flags for all solaris platforms, remove our AC_PATH_PROG for curl-config, + and trust LIBCURL_CHECK_CONFIG (which is now fixed) -2007-01-25 Jean-Louis Martineau - * configure.in: Add --with-ipv6 option. +2010-10-25 Dan Locks + * packaging/rpm/amanda.spec.src: exclude sles9 from + LDFLAGS=-Wl,--as-needed -2007-01-25 Jean-Louis Martineau - * server-src/changer.c (changer_command): Send stderr to dbfd(). +2010-10-21 Dan Locks -2007-01-25 Jean-Louis Martineau - * server-src/diskfile.c: Check hostname have same case. +2010-10-20 Jean-Louis Martineau + * server-src/amtape.pl: Typo. -2007-01-25 Jean-Louis Martineau - * changer-src/chg-zd-mtx.sh.in: Check if MT and MTX exists. +2010-10-19 Dan Locks + * packaging/deb/rules, packaging/rpm/amanda.spec.src: add + -Wl,--as-needed to ./configure invocation in packages -2007-01-25 Jean-Louis Martineau - * changer-src/chg-zd-mtx.sh.in: Set CHANGER environment variable. +2010-10-19 Jean-Louis Martineau + * ReleaseNotes NEWS: amdump --no-taper option. -2007-01-24 Jean-Louis Martineau - * common-src/conffile.c: Cleanup conf_print function. +2010-10-18 Jean-Louis Martineau + * VERSION: 3.2.0 -2007-01-24 Jean-Louis Martineau - * common-src/conffile.c: Check for duplicate -o options. - * recover-src/amrecover.c: Change precedence of option. +2010-10-18 Jean-Louis Martineau + * application-src/ampgsql.pl: Give an error if client property + pg-datadir is different than diskdevice. Use diskdevice if client + property pg-datadir is not set. -2007-01-24 Jean-Louis Martineau - * server-src/diskfile.c: Fix compiler warning. +2010-10-17 Jean-Louis Martineau + * common-src/security-util.c: Quote error message for invalid size. -2007-01-23 Jean-Louis Martineau - * common-src/security-util.c (tcpm_recv_token): Check size < 0. +2010-10-17 Jean-Louis Martineau + * common-src/conffile.c (read_size_byte/get_size_byte): + CNF_DEVICE_OUTPUT_BUFFER_SIZE is in bytes. -2007-01-23 Jean-Louis Martineau - * server-src/diskfile.c: Check duplicate DLE with match_host and - match_disk. +2010-10-14 Dan Locks + * packaging/deb/rules, packaging/deb/buildpkg, + packaging/rpm/amanda.spec.src: remove port range limits for + rpm and deb packages -2007-01-18 Jean-Louis Martineau - * client-src/selfcheck.c: Improve check if /etc/dumpdates in not there. +2010-10-13 Jean-Louis Martineau + * perl/amglue/ghashtable.c: Define PERL_MAGIC_tied. -2007-01-18 Jean-Louis Martineau - * restore-src/amfetchdump.c: Set arg_state to ARG_GET_HOST. +2010-10-12 Jean-Louis Martineau + * device-src/s3-device.c: Don't check 'self->use_ssl && !self->ca_info'. -2007-01-18 Jean-Louis Martineau - * server-src/amcheck.c: Check tape_access. - * server-src/taper.c: Improve message. +2010-10-12 Dustin J. Mitchell + * ndmp-src/ndma_comm_session.c: add a g_debug message + * ndmp-src/ndmjob_main.c: remove redundant exit-on-stdin-eof -2007-01-16 Jean-Louis Martineau - * configure.in: Define GCC_COMPILER. - * gnulib/Makefile.am: Add -Wno-error to AM_CFLAGS if GCC_COMPILER. +2010-10-12 Dan Locks + * config/amanda/progs.m4: add comment about sysloc- and locsys- path, + make MTX a precious variable. -2007-01-16 Jean-Louis Martineau - * server-src/getconf.c: Fix segfault in parameter parsing. +2010-10-12 Dustin J. Mitchell + * ndmp-src/amndmjob_main.c: remove exit on eof thread + * ndmp-src/ndmjob_main.c: add it here, in the right place -2007-01-15 Jean-Louis Martineau - * common-src/bsd-security.c, common-src/bsdtcp-security.c, - common-src/bsdudp-security.c, - common-src/stream.c: Don't call check_addrinfo_give_name. - * common-src/security-util.c (check_addrinfo_give_name): Always log - error message. - -2007-01-11 Jean-Louis Martineau - * common-src/conffile.c Set default length/filemark correctly. - * man/xml-source/amanda.conf.5.xml: Document they are in kbytes. +2010-10-12 Dustin J. Mitchell + * common-src/ssh-security.c: don't munge $SSH_CONNETION -2007-01-10 Jean-Louis Martineau - * config/gnulib/gnulib-common.m4: New file. - * config/gnulib.m4i: Load config/gnulib/gnulib-common.m4. +2010-10-12 Dustin J. Mitchell + * config/amanda/swig.m4: add '.' to freebsd versions + * perl/Makefile.am: spell it -pthread -2007-01-10 Jean-Louis Martineau - * amandad-src/amandad.c (do_sendpkt): Send packet if handle != NULL. - -2007-01-10 Jean-Louis Martineau - * common-src/conffile.c, common-src/conffile.h, - server-src/diskfile.c: Keep different list for exclude file and list. +2010-10-08 Dustin J. Mitchell + * server-src/amvault.pl: add fake driver finish first -2007-01-10 Jean-Louis Martineau - * server-src/taper.c (read_file): Don't count first header twice. +2010-10-08 Dustin J. Mitchell + * server-src/amflush.c: write a "pid done" line when cancelling + * server-src/amcleanup.pl: run amlogroll internally -2007-01-05 Jean-Louis Martineau - * server-src/amstatus.pl.in: Fix split-dump accounting. +2010-10-08 Dustin J. Mitchell + * perl/Amanda/Taper/Worker.pm: remove cont_filename from header before + writing to a real volume + * perl/Amanda/Recovery/Clerk.pm: remove it when restoring, too -2007-01-04 Jean-Louis Martineau - * restore-src/restore.c: Use prompt_in. +2010-10-08 Dustin J. Mitchell + * server-src/amvault.pl: --autolabel any, not --autolabel all + * installcheck/amvault.pl: update the tests to use --autolabel=any -2007-01-04 Jean-Louis Martineau - * amandad-src/amandad.c, common-src/bsd-security.c, - common-src/bsdtcp-security.c, common-src/bsdudp-security.c, - common-src/dgram.c, common-src/security-util.c, - common-src/stream.c, - common-src/util.c: Replace HAVE_IPV6 by WORKING_IPV6. - * configure.in: Define HAVE_IPV6 if IPv6 is working. - -2007-01-04 Jean-Louis Martineau - * changer-src/chg-chio.pl.in, changer-src/chg-iomega.pl.in, - changer-src/chg-rth.pl.in, dumper-src/amgtar.pl.in, - server-src/amoverview.pl.in, server-src/amstatus.pl.in, - server-src/amtoc.pl.in: Clean ENV and set PATH. - -2006-12-27 Jean-Louis Martineau - * server-src/driver.c: Don't repport error for many run in a day if - it's amflush. - -2006-12-27 Jean-Louis Martineau - * common-src/util.c (quote_string): Escape '\' character. - -2006-12-22 Jean-Louis Martineau - * recover-src/display_commands.c: Send quoted text to amindexd. - * recover-src/extract_list.c: Send quoted text to amindexd. - * recover-src/set_commands.c: Send quoted text to amindexd. - -2006-12-22 Jean-Louis Martineau - * changer-src/chg-disk.sh.in: LASTSLOT in a changerfile for chg-disk. - -2006-12-22 Jean-Louis Martineau - * client-src/sendsize.c: Compilation fix. - -2006-12-18 Jean-Louis Martineau - * common-src/packet.c (pkt_init_empty): New function. - * common-src/packet.h (pkt_init_empty): New prototype. - * amandad-src/amandad.c, common-src/protocol.c, - common-src/security-util.c: Use pkt_init_empty. - -2006-12-18 Jean-Louis Martineau - * common-src/conffile.c: Print nothing if the list is emtpy. - -2006-12-14 Jean-Louis Martineau - * restore-src/restore.c: Fix filename for output file. - -2006-12-12 Jean-Louis Martineau - * common-src/amanda.h: Define __attribute__ for gcc >= 3. - * common-src/packet.c (pkt_init): Accept NULL for fmt. - * amandad-src/amandad.c, common-src/protocol.c, - common-src/security-util.c: Pass NULL to pkt_init. - * amandad-src/amandad.c, changer-src/chg-scsi.c, - changer-src/scsi-linux.c, client-src/sendbackup.c, - common-src/amanda.h, common-src/conffile.c, - common-src/event.c, common-src/packet.c, - common-src/security-util.c, common-src/stream.c, - common-src/util.c, oldrecover-src/amrecover.c, - restore-src/restore.c, server-src/amcheck.c, - server-src/driver.c, server-src/driverio.c, - server-src/taper.c: Fix printf format error. - -2006-12-12 Jean-Louis Martineau - * server-src/amindexd.c: Use fgets to read index file because they - are not quoted. - -2006-12-12 Jean-Louis Martineau - * configure.in: Find patch for sort program. - * server-src/amindexd.c: Clean the indexd file between the uncompress - and sort process. - -2006-12-08 Jean-Louis Martineau - * configure.in: Add ICE_CHECK_DECL(snprintf,stdio.h) - * configure.in: Add ICE_CHECK_DECL(vsnprintf,stdio.h) - * client-src/sendbackup.c: Fix ignoring return value of write. - -2006-12-08 Jean-Louis Martineau - * man/xml-source/amadmin.8.xml, man/xml-source/amanda.8.xml, - man/xml-source/amanda.conf.5.xml, man/xml-source/amcheck.8.xml, - man/xml-source/amfetchdump.8.xml, man/xml-source/ammt.8.xml, - man/xml-source/amrecover.8.xml: Move tag to beginning of line - -2006-12-08 Jean-Louis Martineau - * changer-src/chg-rait.sh.in: Fix typo for -reset. - -2006-12-07 Jean-Louis Martineau - * server-src/amindexd.c: Fix host case problem. - * server-src/diskfile.c (add_disk, parse_diskline): Update hostname - field. - * server-src/diskfile.h (disk_s): New hostname field. - * server-src/disk_history.c (add_dump): New hostname parameter. - * server-src/disk_history.h (DUMP_ITEM): New hostname field. - * server-src/disk_history.h (add_dump): Protoype change. - -2006-12-07 Jean-Louis Martineau - * amandad-src/amandad.c: Add missing HAVE_IPV6. - * common-src/security-util.c: Add missing HAVE_IPV6. - * common-src/bsd-security.c, common-src/bsdtcp-security.c, - common-src/bsdudp-security.c, common-src/dgram.c, - common-src/dgram.h, common-src/stream.c, - common-src/util.c: Fix for broken getaddrinfo:not returning V4MAPPED - -2006-12-07 Jean-Louis Martineau - * common-src/conffile.c (lookup_keyword): Use strcasecmp. - * common-src/conffile.c (get_conftoken): Don;t convert to uppercase. - * server-src/getconf.c: Don;t print extra '\n' for --list. - -2006-12-04 Jean-Louis Martineau - * common-src/util.c (str_sockaddr): Use host byte order for port. - -2006-12-04 Jean-Louis Martineau - * server-src/amtape.h: Remove file. - -2006-12-04 Jean-Louis Martineau - Application API phase 1. - * client-src/client_util.c, client-src/client_util.h, - client-src/selfcheck.c, client-src/sendbackup.c, - client-src/sendsize.c, common-src/amfeatures.c, - common-src/amfeatures.h, common-src/fileheader.c, - common-src/fileheader.h, recover-src/extract_list.c, - server-src/amcheck.c, server-src/amstatus.pl.in, - server-src/dumper.c, server-src/Makefile.am, - server-src/planner.c: Fix for Application API. - * configure.in: Fix for moved files. - * dumper-src/generic-dumper.pl.in: Fix for Application API. - * dumper-src/Makefile.am: Fix for renamed files. - * dumper-src/gnutar.pl.in: Renamed to dumper-src/amgtar.pl.in. - * dumper-src/amgtar.pl.in: Fix for Application API. - * dumper-src/star.pl.in: Renamed to dumper-src/amstar.pl.in. - * dumper-src/amstar.pl.in: Fix for Application API. - -2006-11-29 Jean-Louis Martineau - * client-src/sendbackup.c: Kill dump process on error. - -2006-11-29 Jean-Louis Martineau - * changer-src/chg-chio.pl.in: Check tapedev is set. - * changer-src/chg-disk.sh.in: Check tapedev is set. - * changer-src/chg-iomega.pl.in: Check tapedev is set. - * changer-src/chg-manual.sh.in: Check tapedev is set. - * changer-src/chg-mtx.sh.in: Check tapedev is set. - * changer-src/chg-rth.pl.in: Check tapedev is set. - * server-src/amcheck.c: Tapedev is needed only if tpchanger is not set. - * server-src/amflush.c: Tapedev is needed only if tpchanger is not set. - * server-src/amindexd.c: Tapedev is needed only if tpchanger is not set - * server-src/taper.c: Tapedev is needed only if tpchanger is not set. - -2006-11-29 Jean-Louis Martineau - * client-src/sendbackup.c: Ignore tar exit with status 1. - -2006-11-29 Jean-Louis Martineau - * server-src/amindexd.c (clean_backslash): New function use to unescape - '\' characters in index files. - -2006-11-29 Jean-Louis Martineau - * restore-src/restore.c (search_tapes): Fix prompt_out setting. - -2006-11-28 Jean-Louis Martineau - * common-src/amanda.h: Don't include gnulib header if CONFIGURE_TEST - is defined. - * common-src/amflock.c (main): Remove unused fd variable. - -2006-11-28 Jean-Louis Martineau - * config/Makefile.am (EXTRA_DIST): Add gnulib.m4i. - -2006-11-27 Jean-Louis Martineau - * common-src/util.c (copy_file): Fix compilation error. - -2006-11-27 Jean-Louis Martineau - * common-src/stream.c: Fix compilation error. - -2006-11-27 Jean-Louis Martineau - * common-src/amanda.h (NI_MAXHOST): Define if not defined. - * common-src/bsd-security.c, common-src/bsdtcp-security.c, - common-src/bsdudp-security.c, common-src/dgram.c, - common-src/security-util.c, common-src/stream.c, - common-src/util.c: HAVE_IPV6 conditional code - -2006-11-26 Jean-Louis Martineau - * config/gnulib/*: m4 files for gnulib. - * config/gnulib.m4i: File to load all m4 files for gnulib. - * gnulib/*: gnulib source. - * */Makefile.am (INCLUDES): Add $(top_srcdir)/gnulib. - * */Makefile.am (LDADD): Add ../gnulib/libgnu.$(LIB_EXTENSION). - * Makefile.am (ACINCLUDE_M4_DEPS): Add $(srcdir)/config/gnulib.m4i. - * Makefile.am (SUBDIRS): Add gnulib. - * configure.in: AC_PREREQ(2.59), gl_EARLY, gl_INIT. - * configure.in (AC_CONFIG_FILES): Add gnulib/Makefile. - * autogen: Add config/gnulib.m4i to acinclude.m4. - -2006-11-24 Jean-Louis Martineau - * client-src/sendbackup-dump.c, client-src/sendbackup-gnutar.c, - client-src/sendsize.c, - server-src/amindexd.c: Patch for gcc-3.2.3 to compile the new - vstralloc macro. - -2006-11-24 Jean-Louis Martineau - * common-src/file.c (old_sanitise_filename): New function. - * common-src/amanda.h (old_sanitise_filename): Prototype. - * common-src/util.c (copy_file): New function. - * common-src/util.h (copy_file): Prototype. - * server-src/diskfile.c: Check that two DLE doesn't get the same - sanitized filename. - * server-src/amindex.c (getoldindexfname): New function. - * server-src/amindex.h (getoldindexfname): prototype. - * server-src/amindexd.c: Use the old sanitized filename if the new - file doesn't exist. - * server-src/amcheck.c: Call check_infofile. - * server-src/planner.c: Call check_infofile. - * server-src/server_util.c (check_infofile): New function, will copy - the old sanitizes info file if the new doesn't exist. - * server-src/server_util.h (check_infofile): Prototype. - -2006-11-23 Jean-Louis Martineau - * common-src/security-util.c (tcpm_recv_token): amanda protocol - packet can be larger than NETWORK_BLOCK_BYTES - -2006-11-21 Jean-Louis Martineau - * common-src/stream.c: Fix compiler error. +2010-10-08 Jean-Louis Martineau + * device-src/s3-device.c: Don't give an error is ssl_ca_info is set + and ssl is not used. -2006-11-21 Jean-Louis Martineau - * amandad-src/amandad.c, common-src/amanda.h, - common-src/bsd-security.c, common-src/bsdtcp-security.c, - common-src/bsdudp-security.c, common-src/dgram.c, - common-src/dgram.h, common-src/krb4-security.c, - common-src/krb5-security.c, common-src/security-util.c, - common-src/security-util.h, common-src/stream.c, - common-src/util.c, common-src/util.h, - restore-src/amidxtaped.c, server-src/amindexd.c: IPV6. - -2006-11-20 Jean-Louis Martineau - * client-src/sendsize.c, oldrecover-src/display_commands.c, - oldrecover-src/extract_list.c, recover-src/display_commands.c, - recover-src/extract_list.c, - server-src/driver.c: Fix compiler error. +2010-10-07 Jean-Louis Martineau + * client-src/client_util.c: Use property_add_to_argv. + * client-src/client_util.h (application_property_argv_size): + Remove prototype. + * common-src/conffile.c: Use g_str_amanda_hash and g_str_amanda_equal + for property hash. + * common-src/conffile.c (property_add_to_argv): Remove function + * common-src/conffile.h (property_add_to_argv): Remove prototype. + * common-src/glib-util.c (g_str_amanda_hash, g_str_amanda_equal): + Add function + * common-src/glib-util.h (g_str_amanda_hash, g_str_amanda_equal): + Add prototype. + * common-src/util.c (proplist_add_to_argv, property_add_to_argv): + Add function. + * common-src/util.h (proplist_add_to_argv, property_add_to_argv): + Add prototype. + * perl/Amanda/Config.pod: Document amandaify_property_name. + * perl/Amanda/Config.swg: Add amandaify_property_name. + * perl/Amanda/Config/FoldingHash.pm: New class. + * perl/Makefile.am: Add perl/Amanda/Config/FoldingHash.pm + * perl/amglue/ghashtable.c: Use A::C::FoldingHash.pm for property hash. + * recover-src/extract_list.c: Use property_add_to_argv + * installcheck/Amanda_Config.pl: Check property case matching. + * installcheck/Amanda_Config_FoldingHash.pl: + Check Amanda::Config::FoldingHash. + * installcheck/Makefile.am: + Add installcheck/Amanda_Config_FoldingHash.pl + +2010-10-07 Jean-Louis Martineau + * server-src/planner.c: Log packet sent and received. + +2010-10-06 Dustin J. Mitchell + * VERSION: 3.2.0beta3 + +2010-10-06 Dustin J. Mitchell + * perl/Makefile.am: only run the threading test after install + +2010-10-06 Jean-Louis Martineau + * VERSION: 3.2.0beta2 + +2010-10-06 Dustin J. Mitchell + * perl/Makefile.am: fix the FreeBSD threading test to actually fail + +2010-10-06 Jean-Louis Martineau + * device-src/dvdrw-device.c: Always call parent_class->finish(dself). + * device-src/ndmp-device.c: Always call close_tape_agent and + close_connection. + * device-src/null-device.c: Always set pself->access_mode to + ACCESS_NULL. + * device-src/rait-device.c: Always call child finish. + * device-src/s3-device.c: Always set pself->access_mode to ACCESS_NULL. + * device-src/tape-device.c: Always close self->fd. + * device-src/vfs-device.c: Always set pself->access_mode to ACCESS_NULL. + +2010-10-06 Nandan Athawale + * device-src/s3.c: replaced deprecated functions g_strncasecmp + and g_strcasecmp with g_ascii_strncasecmp and g_ascii_strcasecmp. + +2010-10-05 Dustin J. Mitchell + * man/entities/global.entities.in: better formatting for config + overrides + * man/xml-source/amvault.8.xml: better synopsis formatting + * server-src/amvault.pl: better synopsis formatting + +2010-10-05 Dustin J. Mitchell + * perl/Amanda/Logfile.swg: don't produce negative durations + * perl/Amanda/DB/Catalog.pm: but handle them when they occur + +2010-10-05 Jean-Louis Martineau + * perl/Amanda/Report/human.pm: Correctly print "Level:#". + +2010-10-05 Jean-Louis Martineau + * server-src/planner.c: Use last_level to compute the bump level. + +2010-10-05 Jean-Louis Martineau + * server-src/dumper.c: Fix memory allocation. + +2010-10-04 Dustin J. Mitchell + * server-src/amidxtaped.pl: exact match for same-host, allow dumps + that are not in the disklist + * server-src/amindexd.c: fix trivially permissive same-host + +2010-10-04 Dustin J. Mitchell + * common-src/amxml.c: set the correct fields (encryption or + compression) + * server-src/dumper.c: strdup strings so they are not gone after + free_dle + +2010-10-04 Dustin J. Mitchell + * perl/Amanda/Report.pm: fix autovivification bug + * perl/Amanda/Report/human.pm: detect re-flushing; fix a lot of + undefined's + +2010-10-04 Jean-Louis Martineau + * server-src/amtape.pl: Add a 'return' for every usage() call. + Add step in main. + +2010-10-01 Dustin J. Mitchell + * man/xml-source/amvault.8.xml: mention that DLE splitting parameters + are ignored by amvault + * server-src/amvault.pl: use tapetype parameters for splitting + * perl/Amanda/Taper/Scribe.pm: support splitting parameters straight + from Amanda::Config + +2010-10-01 Dustin J. Mitchell + * packaging/deb/rules: remove misleading comment about automake-1.2 + +2010-10-01 Dustin J. Mitchell + * contrib/convert-zd-mtx-to-robot.sh: set default for driveslot, ask + user to clear out 'tapedev' too + +2010-09-30 Jean-Louis Martineau + * common-src/event.c: Set the priority of EV_TIME to 10. + +2010-09-30 Jean-Louis Martineau + * perl/Amanda/Report/postscript.pm: print all dles that have a part + on the volume. + * installcheck/catalogs/spanned.cat: Check it. + +2010-09-30 Dustin J. Mitchell + * perl/Amanda/Taper/Scan/traditional.pm: use set_current in stage 1, + too + +2010-09-29 Dustin J. Mitchell + * server-src/dumper.c: fix prints; use the correct disk_t fields + +2010-09-29 Jean-Louis Martineau + * common-src/alloc.c: Remove a print to stderr. + +2010-09-29 Jean-Louis Martineau + * NEWS, ReleaseNotes: Update. + +2010-09-28 Dustin J. Mitchell + * installcheck/amvault.pl: fix tests for total size + +2010-09-28 Dustin J. Mitchell + * common-src/util.c: remove debugging call + * installcheck/Amanda_Util.pl: fix tests on perl-5.6 + +2010-09-28 Dustin J. Mitchell + * server-src/amvault.pl: print total size on --dry-run + +2010-09-28 Dustin J. Mitchell + * installcheck/Amanda_Config.pl: fix test + +2010-09-28 Dustin J. Mitchell + * NEWS: update NEWS about it + * common-src/conffile.c common-src/conffile.h: add recovery-list + parameters + * man/xml-source/amanda.conf.5.xml: document them + * perl/Amanda/Config.pod perl/Amanda/Config.swg: SWIG them + * installcheck/Amanda_Config.pl: test them + * server-src/amidxtaped.pl: check recovery limits + * installcheck/amidxtaped.pl + installcheck/Installcheck/ClientService.pm: test it + * server-src/amindexd.c: check recovery limits + +2010-09-28 Jean-Louis Martineau + * recover-src/extract_list.c: Print number of bytes read. + +2010-09-28 Dan Locks + * config/amanda/progs.m4: remove first instance of + AMANDA_PROG_GNUPLOT -2006-11-20 Jean-Louis Martineau - * client-src/sendsize.c: Open the amandates file after the - /amanda-client.conf file is loaded. +2010-09-27 Dustin J. Mitchell + * common-src/amanda.h common-src/alloc.c: add save_env_full + * amandad-src/amandad.c: set $AMANDA_AUTHENTICATED_PEER for services -2006-11-20 Jean-Louis Martineau - * client-src/sendsize.c: Fix compiler error on boris. - * server-src/driver.c: Fix compiler error on rocky. +2010-09-27 Jean-Louis Martineau + * common-src/amxml.c: Fix unallocating NULL g_hash. + * server-src/chunker.c: Don't free cmdargs. + +2010-09-27 Jean-Louis Martineau + * common-src/security-util.c: Fix pointer arithmetic. + +2010-09-27 Dustin J. Mitchell + * man/Makefile.am man/xml-source/amanda-match.7.xml: new manpage with + descriptions of match expressions + * man/xml-source/amadmin.8.xml man/xml-source/amanda.8.xml + man/xml-source/amdump.8.xml man/xml-source/amfetchdump.8.xml + man/xml-source/amflush.8.xml man/xml-source/amrestore.8.xml + man/xml-source/amvault.8.xml: reference it + +2010-09-27 Dustin J. Mitchell + * common-src/util.c common-src/util.h: support ##.## in braced + alternates + * installcheck/Amanda_Util.pl: test it + * perl/Amanda/Util.pod man/xml-source/amanda-changers.7.xml + man/xml-source/amanda-devices.7.xml: document it + +2010-09-27 Jean-Louis Martineau + * amandad-src/amandad.c, client-src/client_util.c, + client-src/selfcheck.c, client-src/sendsize.c, common-src/amxml.c, + common-src/amxml.h, common-src/glib-util.c, common-src/glib-util.h, + common-src/security-util.c, common-src/util.c, + perl/Amanda/Tapelist.swg, server-src/amcheck.c, server-src/amtrmidx.c, + server-src/chunker.c, server-src/diskfile.c, server-src/driver.c, + server-src/driverio.c, server-src/dumper.c, server-src/find.c, + server-src/holding.c, server-src/planner.c, server-src/server_util.c, + server-src/xfer-source-holding.c: Fix memory leak. + +2010-09-25 Dustin J. Mitchell + * common-src/alloc.c: remove amtable functions + * common-src/amanda.h: remove prototypes + +2010-09-24 Jean-Louis Martineau + * application-src/amstar.c: Check root can cd to the directory. + +2010-09-24 Jean-Louis Martineau + * perl/Amanda/Report/human.pm: Correctly print new tapes to use. + * installcheck/catalogs/filesystemstaped.cat: write the tapelist file + * installcheck/amreport.pl: Test it. + +2010-09-24 Dustin J. Mitchell + * NEWS: amvault and other new news + * server-src/amvault.pl: support --dry-run + * man/xml-source/amvault.8.xml: docs + * installcheck/amvault.pl: tests + +2010-09-24 Dustin J. Mitchell + * common-src/security.h: add get_authenticated_peer_name method + * common-src/security-util.c common-src/security-util.h: add two + implementations + * common-src/sockaddr-util.c common-src/sockaddr-util.h: add + str_to_sockaddr + * amandad-src/amandad.c: log authenticated peer name + * common-src/bsd-security.c common-src/bsdtcp-security.c + common-src/bsdudp-security.c common-src/krb5-security.c + common-src/local-security.c common-src/rsh-security.c + common-src/ssh-security.c: implement get_authenticated_peer_name + * common-src/util.h: fix comments + * config/gnulib/gnulib-cache.m4 config/gnulib/gnulib-comp.m4 + config/gnulib/inet_pton.m4 gnulib/Makefile.am gnulib/c-ctype.c + gnulib/c-ctype.h gnulib/inet_pton.c gnulib/regenerate/regenerate: add + inet_pton module + * man/xml-source/amanda-auth.7.xml: update manual to describe + authenticated peer names + +2010-09-24 Jean-Louis Martineau + * common-src/security-util.c: Check size before allocating. + +2010-09-24 Dustin J. Mitchell + * man/xml-source/amanda-devices.7.xml: LEOM property is not read-only + +2010-09-24 Jean-Louis Martineau + * device-src/xfer-dest-taper-splitter.c (device_thread_write_part): + Don't write more than the block size. + +2010-09-23 Dustin J. Mitchell + * installcheck/amreport.pl: update checks to match amreport change + +2010-09-23 Dustin J. Mitchell + * perl/Amanda/Cmdline.pod perl/Amanda/Cmdline.swg: update POD, add + exports + * server-src/amreport.pl: don't print anything in script mode when + there is nothing to do + * perl/Amanda/Report.pm: handle ERROR and FATAL from amvault + * server-src/amvault.pl: make dst-changer and src-timestamp into + --options and add support for dumpspecs + * man/xml-source/amvault.8.xml: document + * installcheck/amvault.pl: test changes + * installcheck/Amanda_Cmdline.pl: remove TODO + +2010-09-22 Jean-Louis Martineau + * server-src/driver.c (startaflush_tape): Use tape_length if the + tape is not started. + +2010-09-22 Dustin J. Mitchell + * man/xslt/html.xsl.in: include Amanda version in HTML footers + +2010-09-22 Dustin J. Mitchell + * server-src/amvault.pl: add an INFO line for every source volume read + +2010-09-22 Dustin J. Mitchell + * server-src/amvault.pl: add extra logging for amreport, and invoke + amreport at the end of a run + * perl/Amanda/Logfile.swg server-src/logfile.c server-src/logfile.h: + add P_AMVAULT + * perl/Amanda/Report.pm perl/Amanda/Report/human.pm + server-src/amreport.pl: handle amvault logs, too + +2010-09-21 Orion Poplawski + * server-src/amoverview.pl: fix remaining uninitialized value warnings + +2010-09-21 Dustin J. Mitchell + * perl/Amanda/DB/Catalog.pm: add a status even for dumps with no + successful parts on tape; comments and POD + +2010-09-21 Dustin J. Mitchell + * installcheck/catalogs/amflush.cat + installcheck/catalogs/bigestimate.cat + installcheck/catalogs/doublefailure.cat + installcheck/catalogs/fatal.cat + installcheck/catalogs/filesystemstaped.cat + installcheck/catalogs/flush-noorigsize.cat + installcheck/catalogs/flush-origsize.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 installcheck/catalogs/taperr.cat: + update expected reports to match updated amreport output + +2010-09-21 Jean-Louis Martineau + * server-src/amcheck.c, server-src/driver.c, server-src/planner.c: + Don't print warning for 'holdingdisk auto' and directtcp data path. + +2010-09-21 Jean-Louis Martineau + * application-src/amgtar.c: Add VERBOSE property, + unlink include/exclude file if VERBOSE if NO. + * man/xml-source/amgtar.8.xml: Document VERBOSE property. + +2010-09-21 Dustin J. Mitchell + * perl/Makefile.am: make the thread check mandatory on FreeBSD + * config/amanda/swig.m4: detect FreeBSD + +2010-09-21 Dustin J. Mitchell + * perl/Amanda/Report/human.pm: change some strings, and make + the statistics section more succinct; suggested by Jon LaBadie + +2010-09-20 Dustin J. Mitchell + * server-src/amadmin.c: add 'dles' and 'hosts' subcommands + * man/xml-source/amadmin.8.xml: document them + +2010-09-20 Jean-Louis Martineau + * perl/Amanda/Script_App.pm: Call _set_mesgout. + * perl/Amanda/Application.swg, perl/Amanda/Script.pm (_set_mesgout): + Set $self->{mesgout}. + * application-src/amraw.pl, application-src/amsamba.pl + application-src/amsuntar.pl, application-src/amzfs-sendrecv.pl, + Don't set $self->{mesgout}. + +2010-09-20 Dustin J. Mitchell + * perl/Amanda/DB/Catalog.pm: docs changes + defensive programming + +2010-09-20 Dustin J. Mitchell + * server-src/find.c: only expect partnum/totalparts in taper log lines + * installcheck/catalogs/bigdb.cat: tests + +2010-09-20 Dustin J. Mitchell + * device-src/xfer-source-recovery.c: add XFER_MECH_DIRECTTCP_LISTEN to + XferSourceRecovery + +2010-09-19 Dustin J. Mitchell + * perl/Amanda/Changer/disk.pm: but still return stringy slot names + +2010-09-19 Dustin J. Mitchell + * perl/Amanda/Changer/disk.pm: sort slots numerically; patch by + 'ghosts' on forums.zmanda.com + +2010-09-18 Dustin J. Mitchell + * man/xml-source/amanda-devices.7.xml: more detail on LEOM handling in + tape device + +2010-09-18 Dustin J. Mitchell + * perl/Amanda/Xfer.swg: conditionalize loading XferServer on server + component + +2010-09-17 Jean-Louis Martineau + * server-src/dumper.c: Send filter STDERR to log file, backup is + marked as failed. + +2010-09-17 Jean-Louis Martineau + * device-src/ndmp-device.c, device-src/tape-device.c, + * device-src/vfs-device.c: Don't set the header if nothing is read. + * device-src/vfs-device.c: Set header to F_EMTPY if file 0 doesn't + exists + * perl/Amanda/Taper/Scan/traditional.pm: Correctly check device + status and header. + * installcheck/Amanda_Changer_multi.pl: Updated. + * installcheck/amcheck-device.pl: Updated. + * installcheck/amdevcheck.pl: Updated. + +2010-09-17 Dustin J. Mitchell + * server-src/driver.c: start up correctly with --no-taper + * server-src/driverio.c server-src/driverio.h: take no_taper as + argument to startup_tape_process + +2010-09-17 Dustin J. Mitchell + * perl/Amanda/DB/Catalog.pm: new methods to determine the type of + a run + * installcheck/Amanda_DB_Catalog.pl: test them + * server-src/amvault.pl: 'latest' excludes amvault runs; add START + amvault to identify such runs + * installcheck/catalogs/bigdb.cat: add 'START planner' where missing + * installcheck/amvault.pl: cleanup after tests + +2010-09-16 Dustin J. Mitchell + * NEWS: mention improvements to amvault + * server-src/amvault.pl: Add --autolabel=.. and --label-template=.. + * installcheck/amvault.pl: update tests + * man/xml-source/amvault.8.xml: update manpage + +2010-09-16 Dustin J. Mitchell + * server-src/amreport.pl: support more than one email address + * installcheck/amreport.pl: change error message + +2010-09-16 Jean-Louis Martineau + * perl/Amanda/Taper/Scribe.pm: Generate new label and reserved them + in the tapelist file. + Remove the "Will write new label `$LABEL' to new tape" message. + * perl/Amanda/Taper/Scan.pm (make_new_tape_label): Canget the tapelist + in the argument. + * perl/Amanda/Taper/Worker.pm: Don't update the tapelist file. + * server-src/amvault.pl: Don't update the tapelist file. + * installcheck/Amanda_Report.pl: Remove 'Will write ...' message. + installcheck/Amanda_Taper_Scribe.pl: Remove 'Will write ...' message. + installcheck/taper.pl: Remove 'Will write ...' message. + +2010-09-16 Jean-Louis Martineau + * perl/Amanda/Tapelist.swg: New Amanda::Tapelist API with lock. + * perl/Amanda/Tapelist.pod: Document new API. + perl/Amanda/DB/Catalog.pm, perl/Amanda/Recovery/Planner.pm, + perl/Amanda/Taper/Scan.pm, perl/Amanda/Taper/Scan/traditional.pm, + perl/Amanda/Taper/Worker.pm, server-src/amcheckdump.pl, + server-src/amlabel.pl, server-src/amreport.pl, + server-src/amrmtape.pl, server-src/amvault.pl: Use new API + * installcheck/Amanda_Logfile.pl, + installcheck/Amanda_Tapelist.pl, installcheck/amlabel.pl, + installcheck/amrmtape.pl, installcheck/amtape.pl, + installcheck/Amanda_Recovery_Clerk.pl: Fix for new API. + +2010-09-16 Dustin J. Mitchell + * xfer-src/xfer.c xfer-src/xfer.h: add xfer_atomic_swap_fd + * xfer-src/xfer-element.c xfer-src/xfer-element.h: add + xfer_element_swap_input_fd and xfer_element_swap_output_fd and + use them to access input_fd and output_fd atomically + * xfer-src/element-glue.c: add get_read_fd and get_write_fd to handle + taking ownership of fd's even in pull_and_write and read_and_push + * xfer-src/filter-process.c xfer-src/source-fd.c xfer-src/xfer-test.c + xfer-src/dest-fd.c: use xfer_element_swap_*_fd + +2010-09-16 Jean-Louis Martineau + * perl/Amanda/Taper/Worker.pm: Use 'our $tape_num'. + * installcheck/taper.pl: Fix for correct tape_num. + +2010-09-15 Jean-Louis Martineau + * server-src/driver.c: Use many worker. + * server-src/driverio.c: Init many worker. + * server-src/driverio.h (TaperState): New taper state. + * server-src/server_util.c: Add "TAKE-SCRIBE-FROM". + * server-src/server_util.h: Add TAKE_SCRIBE_FROM. + +2010-09-15 Jean-Louis Martineau + * perl/Amanda/Taper/Protocol.pm (TAKE_SCRIBE_FROM): New in protocol. + * perl/Amanda/Taper/Controller.pm (msg_TAKE_SCRIBE_FROM): New function. + * perl/Amanda/Taper/Scribe.pm: Add scribe parameter in perm_cb. + transfert the xfer to a new scribe. + * perl/Amanda/Taper/Worker.pm (TAKE_SCRIBE_FROM): New method. + * perl/Amanda/Xfer.swg (xfer_set_callback): New method. + * installcheck/taper.pl: Test TAKE-SCRIBE-FROM command. + +2010-09-15 Jean-Louis Martineau + * installcheck/Amanda_Changer_compat.pl: Fix Installcheck::Run::setup. + * installcheck/Installcheck/Run.pm (setup): Take an argument to set + new vtapes. + * installcheck/Amanda_Taper_Scribe.pl: Fix for start_scan and perm_cb. + * installcheck/taper.pl: Fix and test for START_SCAN cmd. + * perl/Amanda/Taper/Controller.pm (msg_START_SCAN): New function. + * perl/Amanda/Taper/Protocol.pm (START_SCAN): New in protocol. + * perl/Amanda/Taper/Scribe.pm: Doesn't automaticaly start a scan, + new perm_cb argument, new start_scan method. + * perl/Amanda/Taper/Worker.pm (START_SCAN): New method, + call perm_cb with new argument. + * server-src/amvault.pl: Call start_scan and perm_cb with new argument. + * server-src/driver.c: Send START_SCAN command to taper. + * server-src/driverio.c (taper_cmd): Add START_SCAN. + * server-src/server_util.c (cmdstr): add "START-SCAN". + * server-src/server_util.h: Add START_SCAN. + +2010-09-15 Jean-Louis Martineau + * perl/Amanda/Taper/Protocol.pm: Add worker_name in protocol. + * perl/Amanda/Taper/Controller.pm, + * perl/Amanda/Taper/Worker.pm: Use worker_name. + * server-src/driverio.c (taper_cmd): Send worker_name to taper. + * server-src/driver.c: New argument to taper_cmd. + * server-src/amstatus.pl: Parse worker_name. + * installcheck/catalogs/chunker-partial.cat, + installcheck/catalogs/normal.cat, + installcheck/catalogs/quoted.cat: Add worker_name. + * installcheck/taper.pl: Add worker_name. + +2010-09-14 Jean-Louis Martineau + * server-src/taper.pl: Split in many files, add the worker. + * perl/Amanda/Taper/Controller.pm: Splitted from taper.pl + * perl/Amanda/Taper/Protocol.pm: Splitted from taper.pl + * perl/Amanda/Taper/Worker.pm: New class + * perl/Makefile.am: Add Controller.pm, Protocol.pm and Worker.pm. + +2010-09-14 Dustin J. Mitchell + * man/xml-source/amanda.conf.5.xml: update 'tapecycle' description + +2010-09-13 Jean-Louis Martineau + * server-src/amflush.c: Don't include driverio.h + * server-src/driver.c, server-src/driverio.c, server-src/driverio.h: + Put all taper variables in a taper_t structure. + +2010-09-13 Jean-Louis Martineau + * installcheck/amreport.pl: Load the config instead of using amgetconf. + +2010-09-13 Jean-Louis Martineau + * installcheck/amreport.pl: Use full path to amgetconf. + +2010-09-13 Jean-Louis Martineau + * server-src/find.c: Parse log with taper lines mixed. + * perl/Amanda/Report.pm: Parse log with taper lines mixed. + * installcheck/Amanda_DB_Catalog.pl: Check it. + * installcheck/Makefile.am (catalogs) : Add catalogs/multi-taper.cat. + * installcheck/amreport.pl: Check it; + * installcheck/catalogs/multi-taper.cat: Catalog with taper lines mixed. + +2010-09-13 Dustin J. Mitchell + * man/xml-source/amoverview.8.xml: document long options + * server-src/amoverview.pl: fix bugs, stop using perl formats, and + give long options in the usage message + * installcheck/catalogs/bigdb.cat: add disklist + * installcheck/amoverview.pl: more thorough tests based on bigdb + +2010-09-13 Dustin J. Mitchell + * man/xml-source/amdump.8.xml: document --no-taper + * server-src/Makefile.am: rename amdump.sh -> .pl + * server-src/amdump.sh server-src/amdump.pl: rewrite in perl, add + --no-taper + * server-src/driver.c: support --no-taper by not starting taper + * server-src/planner.c: support --no-taper by not sending flushes + +2010-09-13 Jean-Louis Martineau + * server-src/find.c (find_dump): Don't print the + 'log files found for tape' warning. + * server-src/amadmin.c: Call find_log to print the warning. + +2010-09-13 Jean-Louis Martineau + * server-src/amserverconfig.pl: Use $pw[0]. + +2010-09-13 Jean-Louis Martineau + * common-src/conffile.c: Add taper-parallel-write. + * common-src/conffile.h: Add taper-parallel-write. + * man/xml-source/amanda.conf.5.xml:: Add taper-parallel-write. + +2010-09-10 Dustin J. Mitchell + * installcheck/Makefile.am installcheck/amflush.pl: new installcheck + + * server-src/amflush.c: flush DLEs that aren't in the disklist anymore + * server-src/diskfile.c server-src/diskfile.h: add match_dumpfile, + based on match_disklist + * server-src/driver.c: load holding-disk pseudo-DLEs at startup + * server-src/driverio.c: survive configuration-free DLEs + * server-src/holding.c server-src/holding.h: search_holding_file no + longer checks against disklist + * server-src/planner.c: use match_dumpfile for holding-disk DLEs + +2010-09-10 Dustin J. Mitchell + * installcheck/Amanda_Device.pl: use srcdir + * installcheck/Installcheck.pm: set srcdir from env + * installcheck/Installcheck/Catalogs.pm: use srcdir + * installcheck/Makefile.am: set $srcdir for tests + +2010-09-09 Lyndon Nerenberg + * Makefile.am: fix to enable builds outside srcdir + +2010-09-09 Dustin J. Mitchell + * server-src/amvault.pl: add --export + * man/xml-source/amvault.8.xml: doc it + * installcheck/amvault.pl: test it + +2010-09-09 Dustin J. Mitchell + * server-src/find.c: fix segfault and bug in failed-dumps-in-catalog + hack + +2010-09-08 Dustin J. Mitchell + * installcheck/Makefile.am: include + installcheck/catalog/retried-strange.cat in distribution + +2010-09-08 Dustin J. Mitchell + * installcheck/catalogs/retried-strange.cat: add a retried dump + where the retry is strange + * installcheck/amreport.pl: test it + * perl/Amanda/Report/human.pm: fix the bug it reveals + +2010-09-08 Dustin J. Mitchell + * gnulib/regenerate/regenerate: add 'environ' module + * config/gnulib/gnulib-cache.m4 config/gnulib/gnulib-comp.m4 + gnulib/Makefile.am config/gnulib/environ.m4: new module + +2010-09-08 Dustin J. Mitchell + * config/gnulib/* gnulib/*: upgrade to get a fix to getopt.m4 + * gnulib/regenerate/regenerate: change gnulib sha1 + +2010-09-08 Dustin J. Mitchell + * man/xml-source/amreport.8.xml: describe the format of the dump, with + notes and details + +2010-09-08 Dustin J. Mitchell + * perl/Amanda/Taper/Scribe.pm: add scribe_notif_tape_done + * installcheck/Amanda_Taper_Scribe.pl: test it + +2010-09-08 Jean-Louis Martineau + * application-src/ampgsql.pl: Send tar stderr to the server. + +2010-09-08 Jean-Louis Martineau + * server-src/amserverconfig.pl: use RUNNING_AS_ANY and + set dumpuser in amanda.conf. + +2010-09-07 Dustin J. Mitchell + * common-src/alloc.c: remove unnecessary declaration of 'environ' + +2010-09-07 Dustin J. Mitchell + * perl/Amanda/Changer/robot.pm: allow move to move loaded volumes + * installcheck/Amanda_Changer_robot.pl: test it + +2010-09-07 Dustin J. Mitchell + * ndmp-src/ndmpconnobj.c: When listening for a notify, do not hog the + ndmlib_mutex + +2010-09-07 Dustin J. Mitchell + * config/gnulib/* gnulib/*: Gnulib fix reflected into Amanda; see + http://www.mail-archive.com/bug-gnulib@gnu.org/msg19345.html + +2010-09-07 Dustin J. Mitchell + * installcheck/Amanda_Recovery_Clerk.pl: re-use already-full changer + slots, to save space + +2010-09-07 Dustin J. Mitchell + * perl/Amanda/Changer.pm: fix make_combined_error + * perl/Amanda/Changer/robot.pm: correctly set up polling for device + ready; use 'unknown', not 'device', as a reason; always return a + changer error, not a string + +2010-09-07 Dustin J. Mitchell + * device-src/tape-aix.c device-src/tape-uware.c + device-src/tape-xenix.c: remove unmaintained, and apparently unused, + implementations + * device-src/tape-posix.c device-src/tape-device.c: merge tape-posix.c + * device-src/tape-device.h: remove + * device-src/tape-ops.h: remove + + * config/amanda/tape.m4: don't look for AIX, Uware, or Xenix anymore + * device-src/Makefile.am: remove tape ops conditionals + +2010-09-01 Dustin J. Mitchell + * configure.in: add check for unsetenv + +2010-09-01 Dustin J. Mitchell + * installcheck/Makefile.am: add Installcheck::Catalog and the + catalogs to the distribution + +2010-08-31 Dustin J. Mitchell + * installcheck/amserverconfig.pl: skip the correct number of tests + +2010-08-31 Dustin J. Mitchell + * installcheck/amserverconfig.pl: don't try running tape-changer if + MTX is not installed + * server-src/amserverconfig.pl: create $CONFIG_DIR if required. This + passes on my system and should pass on the Mac systems. + +2010-08-31 Dustin J. Mitchell + * config/.gitignore: don't ignore these files + * config/arg-nonnull.h config/c++defs.h config/warn-on-use.h: add + ignored, but required, gnulib files + +2010-08-31 Dustin J. Mitchell + * NEWS: note removal of changers + * changer-src/Makefile.am changer-src/chg-chio.pl + changer-src/chg-chs.sh changer-src/chg-iomega.pl + changer-src/chg-juke.sh changer-src/chg-mcutil.sh + changer-src/chg-mtx.sh changer-src/chg-null.sh changer-src/chg-rait.sh + changer-src/chg-rth.pl changer-src/chg-scsi-chio.c + changer-src/chg-scsi.c changer-src/libscsi.h changer-src/scsi-aix.c + changer-src/scsi-bsd.c changer-src/scsi-cam.c + changer-src/scsi-changer-driver.c changer-src/scsi-chio.c + changer-src/scsi-defs.h changer-src/scsi-hpux.c + changer-src/scsi-hpux_new.c changer-src/scsi-irix.c + changer-src/scsi-linux.c changer-src/scsi-proto.c + changer-src/scsi-solaris.c changer-src/sense.c: remove changers and + system-specific SCSI code + * config/amanda/changer.m4: remove unnecessary checks + * config/amanda/progs.m4: remove checks for chio, chs, and mcutil + * configure.in: remove changer invocations + +2010-08-31 Dustin J. Mitchell + * server-src/driverio.c: Don't write negative origsizes to the taper + +2010-08-31 Dustin J. Mitchell + * server-src/amcheck.c: drop root privs during the server check, so + that access() will test the dumpuser's perms, not root's perms + +2010-08-31 Dustin J. Mitchell + * installcheck/Amanda_Taper_Scribe.pl: spell it part-cache-dir + * installcheck/amtapetype.pl: spell it device-property + * server-src/amcheckdump.pl: tar requires -tf, not tf, after a long + option + * server-src/amserverconfig.pl: use Amanda::Util and mkpath instead of + mkdir + +2010-08-31 Dustin J. Mitchell + * installcheck/Makefile.am: new tests + * installcheck/amserverconfig.pl: run amserverconfig + * installcheck/example.pl: test that templates parse properly + * server-src/amserverconfig.pl: minor cleanup of old perl + +2010-08-31 Dustin J. Mitchell + * server-src/dumper.c changer-src/chg-scsi.c: use fseeko + * config/.gitignore config/config.rpath config/gnulib/* gnulib/*: + upgrade gnulib + * gnulib/regenerate/no-error.patch: updated patch + * gnulib/regenerate/regenerate: drop visibility module; specify new + git hash + +2010-08-31 Dustin J. Mitchell + * installcheck/catalogs/normal.cat: add orig-size -1 and orig-size 0 + to logfiles to check handling of those cases + * perl/Amanda/Report.pm: fix (egregious) typo + * perl/Amanda/Report/human.pm: handle compression better, handle + printing non-contiguous levels + +2010-08-31 Dustin J. Mitchell + * application-src/ampgsql.pl: remove check for a directory that + should not be readable to the amanda user + +2010-08-31 Dustin J. Mitchell + * application-src/amgtar.c application-src/ampgsql.pl + recover-src/extract_list.c server-src/amcheckdump.pl: Use + --ignore-zeros in all -t or -x invocations of gtar + +2010-08-31 Dustin J. Mitchell + * man/xml-source/amanda-auth.7.xml + man/xml-source/amanda-changers.7.xml + man/xml-source/amanda-client.conf.5.xml + man/xml-source/amanda-compatibility.7.xml + man/xml-source/amanda-devices.7.xml + man/xml-source/amanda-taperscan.7.xml man/xml-source/amanda.conf.5.xml + man/xml-source/amcheck.8.xml man/xml-source/amrecover.8.xml: remove + references to krb4 and to the pre-spanning days, and canonicalize + all configuration parameters to use -, not _ + * common-src/conffile.c device-src/activate-devpay.c + device-src/amtapetype.pl perl/Amanda/Application/Zfs.pm + perl/Amanda/Taper/Scribe.pm server-src/amadmin.c server-src/amcheck.c + server-src/amreport.pl server-src/driver.c server-src/planner.c: + canonicalize configuration parameter names in error messages to use -, + not _ + +2010-08-31 Dustin J. Mitchell + * installcheck/Installcheck/Catalogs.pm: tool to install catalogs + dynamically, rather than including them in __DATA__ + * installcheck/catalogs/*: new catalog files + * installcheck/Amanda_DB_Catalog.pl + installcheck/Amanda_Recovery_Planner.pl installcheck/amreport.pl + installcheck/amstatus.pl: use Installcheck::Catalog + * perl/Amanda/Recovery/Planner.pm: check that parameters exist + +2010-08-25 Dan Locks + * packaging/deb/control: Fix missing line break so dpkg can parse the + control file + +2010-08-23 Dustin J. Mitchell + * server-src/amvault.pl: add --fulls-only option + * man/xml-source/amvault.8.xml: document + +2010-08-23 Dan Locks + * packaging/deb/control: add ca-certificates and procps + +2010-08-21 Dustin J. Mitchell + * common-src/fileheader.c: remove incorrect validations for + CONT_FILENAME and APPLICATION + +2010-08-20 Dan Locks + * The error fixed here was reported by ssgelm. + * packaging/common/substitute.pl: Use FULL_VERSION instead of + VERSION. + * packaging/rpm/amanda.spec.src: renamed from amanda.spec, added + %%VERSION%% macro for substitute.pl, fixed glib2 requires typo + * packaging/rpm/buildpkg: refactored into "do_thing" functions, added + substitute.pl machinery. + +2010-08-20 Dan Locks + * packaging/rpm/amanda.spec: add openSuSE 11 detection and + buildrequires glib2-devel, as written by ssgelm + +2010-08-13 Dustin J. Mitchell + * config/amanda/debugging.m4: make the default for syntax-checks + "disabled", add a warning when enabling + * perl/Makefile.am config/automake/scripts.am: don't do any checks + that require linking perl extension modules unless SYNTAX_CHECKS is + set + * installcheck/Makefile.am: always skip syntax checks + * application-src/amlog-script.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 common-src/amgetconf.pl + device-src/amdevcheck.pl device-src/amtapetype.pl + installcheck/Amanda_Changer.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_Cmdline.pl + installcheck/Amanda_Config.pl installcheck/Amanda_Curinfo.pl + installcheck/Amanda_Debug.pl installcheck/Amanda_Device.pl + installcheck/Amanda_Disklist.pl installcheck/Amanda_Feature.pl + installcheck/Amanda_Header.pl installcheck/Amanda_Logfile.pl + installcheck/Amanda_NDMP.pl installcheck/Amanda_Process.pl + installcheck/Amanda_Recovery_Scan.pl installcheck/Amanda_Tapelist.pl + installcheck/Amanda_Taper_Scribe.pl installcheck/Amanda_Xfer.pl + installcheck/amadmin.pl installcheck/amarchiver.pl + installcheck/amcheck-device.pl installcheck/amcheck.pl + installcheck/amcheckdump.pl installcheck/amdevcheck.pl + installcheck/amdump.pl installcheck/amgetconf.pl + installcheck/amlabel.pl installcheck/amoverview.pl + installcheck/amrmtape.pl installcheck/amservice.pl + installcheck/amstatus.pl installcheck/amtape.pl + installcheck/amtapetype.pl installcheck/amvault.pl + installcheck/bigint.pl installcheck/mock_mtx.pl installcheck/taper.pl + server-src/amcheckdump.pl server-src/amcleanup.pl + server-src/amlabel.pl server-src/amtape.pl server-src/amvault.pl: add + strict and/or warnings, and fix (trivial) resulting warnings + +2010-08-13 Nikhil Bhupale + * AUTHORS: add Nikhil + * device-src/ndmp-device.c: add READ_BLOCK_SIZE support + * installcheck/Amanda_Device.pl: test it + * man/xml-source/amanda-devices.7.xml: document it + +2010-08-11 Dustin J. Mitchell + * perl/Amanda/Util.pod perl/Amanda/Util.swg: add split_quoted_strings_friendly + * installcheck/Amanda_Util.pl: test it + * application-src/amsamba.pl: use it to parse amandapass + +2010-08-10 Dustin J. Mitchell + * server-src/find.c: parse old SUCCESS lines properly + * perl/Amanda/DB/Catalog.pm: same + * installcheck/Amanda_DB_Catalog.pl: test old SUCCESS lines + +2010-08-10 Dustin J. Mitchell + * amandad-src/amandad.c: unset SUN_PERSONALITY on startup + * client-src/rundump.c client-src/runtar.c: remove unsetenvs for SUN_PERSONALITY + +2010-08-10 Dustin J. Mitchell + * server-src/amlogroll.pl: ignore arguments after the first + +2010-08-06 Dustin J. Mitchell + * installcheck/amvault.pl: correct test count + * perl/Amanda/Taper/Scribe.pm: fix nparts calculation + +2010-08-06 Stephen Gelman + * AUTHORS: add Stephen + * client-src/rundump.c client-src/runtar.c: unset + SUN_PERSONALITY in runtar and rundump, to shut off + Nexenta's tendency to magically run Sun binaries + +2010-08-05 Dustin J. Mitchell + * server-src/amvault.pl: rewrite to use scribe, clerk + * installcheck/amvault.pl: check results better + * server-src/logfile.c server-src/logfile.h: add log_add_full + * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: add log_add_full + and make_stats methods + * perl/Amanda/MainLoop.pod: POD typos + * perl/Amanda/Recovery/Planner.pm: add shift_dump method + * perl/Amanda/Taper/Scan.pm: add POD, fix typos + * perl/Amanda/Taper/Scribe.pm: fix POD, add nparts argument to dump_cb + * server-src/taper.pl: use nparts, move make_stats to Amanda::Logfile + +2010-08-05 Dustin J. Mitchell + * man/xml-source/amanda-changers.7.xml: add chg-ndmp VERBOSE + property + +2010-08-04 Dustin J. Mitchell + * perl/Amanda/Recovery/Clerk.pm: rename notif_* to clerk_notif_* + * perl/Amanda/Taper/Scribe.pm: rename notif_* to scribe_notif_* + * installcheck/Amanda_Recovery_Clerk.pl + installcheck/Amanda_Taper_Scribe.pl server-src/amcheckdump.pl + server-src/amfetchdump.pl server-src/amidxtaped.pl + server-src/taper.pl: use renamed methods + +2010-08-04 Dustin J. Mitchell + * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: add log_rename + and a method to find the proper timestamp for the current log + * installcheck/Amanda_Logfile.pl: test it + * server-src/Makefile.am server-src/amlogroll.c + server-src/amlogroll.pl: rewrite in perl + +2010-08-03 Dustin J. Mitchell + * config/amanda/ipv6.m4: fix config messages to not use the + autoconf-specific word "target" + +2010-08-03 Dustin J. Mitchell + * man/xml-source/amanda.conf.5.xml: add more info about appropriate + settings for autolabel + +2010-08-03 Dustin J. Mitchell + * common-src/security.h: move comments from wiki, reorder functions + +2010-08-03 Jean-Louis Martineau + * server-src/amdump.sh: Check it own the log file. + +2010-08-02 Jean-Louis Martineau + * common-src/util.c (interruptible_accept): Set the read set and + timeout before each select call. + +2010-07-29 Dustin J. Mitchell + * server-src/amvault.pl: only run as dumpuser + +2010-07-29 Dustin J. Mitchell + * man/xml-source/amanda-auth.7.xml: consistently use the same + username in examples (thanks to Amar Takhar) + +2010-07-29 Dustin J. Mitchell + * xfer-src/filter-process.c: handle fd's <= 2 correctly + +2010-07-28 Jean-Louis Martineau + * common-src/krb5-security.c (krb5_tcpm_recv_token): New function, a + copy of tcpm_recv_token. + * common-src/security-util.c: New tcpm_recv_token without a timeout. + * common-src/security-util.h: Add field to keep a buffer in tcp_conn. + +2010-07-28 Jean-Louis Martineau + * perl/Amanda/Script_App.pm: Print restore message to STDERR. + +2010-07-28 Dustin J. Mitchell + * config/amanda/progs.m4: require SWIG-1.3.39 + * (all .c files): #include amanda.h first + * perl/amglue/amglue.swg: use %begin to include config.h first + +2010-07-28 Dustin J. Mitchell + * device-src/amtapetype.pl: detect LEOM and add appropriate + comments + * device-src/xfer-dest-device.c device-src/xfer-device.h: add + cancel_at_leom constructor arg + * installcheck/Amanda_Device.pl installcheck/Amanda_Recovery_Clerk.pl + installcheck/Amanda_Xfer.pl installcheck/amrestore.pl + perl/Amanda/Xfer.pod perl/Amanda/XferServer.swg + server-src/amvault.pl: pass new argument + +2010-07-28 Dustin J. Mitchell + * device-src/tape-device.c device-src/tape-device.h: autodetect + the LEOM property, and handle various operating systems' LEOM + indications + * device-src/tape-aix.c device-src/tape-posix.c + device-src/tape-uware.c device-src/tape-xenix.c: set LEOM property to + FALSE by default + +2010-07-27 Jean-Louis Martineau + * server-src/find.c (find_result_t): Add a write_timestamp. + * server-src/find.h: Set the write_timestamp. + * server-src/amcheckdump.pl: Use the write_timestamp. + * server-src/amidxtaped.pl: write_timestamp is undef. + * server-src/cmdline.h (dumpspec_t): Add a write_timestamp. + * server-src/cmdline.c (dumpspec_new): New write_timestamp argument. + * perl/Amanda/Logfile.swg (find_result_t): Add a write_timestamp. + * perl/Amanda/Cmdline.swg (dumpspec_t): Add a write_timestamp. + * perl/Amanda/Cmdline.pod: Document write_timestamp. + * perl/Amanda/DB/Catalog.pm (get_parts_and_dumps): Filter with dumpspec + write_timestamp. + * installcheck/Amanda_Cmdline.pl: Fix and check new api. + * installcheck/Amanda_DB_Catalog.pl: Fix and check new api. + * installcheck/Amanda_Logfile.pl: Fix and check new api. + * installcheck/Amanda_Recovery_Planner.pl: Fix and check new api. + +2010-07-27 Dustin J. Mitchell + * configure.in perl/amglue/Makefile.am: new Makefile for + libamglue + * perl/Makefile.am: use SUBDIRS to build libamglue before + any SWIG modules, as automake does not get inter-library + dependencies right at install time if the libraries are + all built in the same directory + +2010-07-27 Dustin J. Mitchell + * application-src/ampgsql.pl: also check PG-DATADIR + +2010-07-26 Dustin J. Mitchell + * installcheck/Amanda_DB_Catalog.pl + installcheck/Amanda_Recovery_Planner.pl installcheck/amidxtaped.pl + installcheck/taper.pl server-src/amrestore.pl: skip perl's stdio + buffering when writing holding-file headers + +2010-07-26 Jean-Louis Martineau + * server-src/planner.c: Ignore the FORCE command if strategy is + INCRONLY. + +2010-07-26 Dustin J. Mitchell + * installcheck/Amanda_Xfer.pl: *real* correct number of tests for + --without-server + +2010-07-25 Dustin J. Mitchell + * installcheck/Amanda_Xfer.pl: correct number of tests for + --without-server + +2010-07-25 Orion Poplawski + * server-src/amoverview.pl: fix host iteration and handle case of only + one write_timestamp + +2010-07-24 Dustin J. Mitchell + * device-src/vfs-device.c: announce LEOM one byte later + * installcheck/Amanda_Xfer.pl: set device properties before starting + +2010-07-24 Dustin J. Mitchell + * perl/Amanda/Changer/robot.pm: use correct device field volume_header + +2010-07-23 Dustin J. Mitchell + * perl/Amanda/Changer/ndmp.pm: increase the REQUEST ELEMENT STATUS + timeout to 60s and set CURDATA=1 to use cached state + +2010-07-23 Jean-Louis Martineau + * perl/Amanda/Changer/disk.pm: unlink drive if pid not in state file. + * perl/Amanda/Taper/Scribe.pm: Release scribe reservation and + devhandling reservation. + * server-src/taper.pl: Write quit error meesage to debug file. + +2010-07-22 Dustin J. Mitchell + * device-src/vfs-device.c device-src/vfs-device.h: add support for + monitoring free space to generate LEOM before ENOSPC hits; set LEOM + property to TRUE by default + * installcheck/Amanda_Device.pl: test monitor_free_space prop + * man/xml-source/amanda-devices.7.xml: document VFS device LEOM + support and the MONITOR_FREE_SPACE property + +2010-07-22 Dustin J. Mitchell + * device-src/vfs-test.c device-src/Makefile.am: remove vfs-test + * device-src/property.c device-src/property.h: remove FREE_SPACE + property, QualifiedSize, and SizeAccuracy + * device-src/vfs-device.c device-src/rait-device.c: remove FREE_SPACE + support + * man/xml-source/amanda-devices.7.xml: remove docs + * perl/Amanda/Device.swg: remove SWIG interface for QualifiedSize + +2010-07-22 Dustin J. Mitchell + * device-src/Makefile.am: add reference to new header file + +2010-07-22 Dustin J. Mitchell + * device-src/xfer-dest-taper-cacher.c: remove support for + cache_inform, simplify disk cache + * device-src/xfer-dest-taper-splitter.c: add support for cache_inform, + use it even when LEOM is available + * device-src/xfer-dest-taper.c device-src/xfer-dest-taper.h + device-src/xfer-device.h: move common methods to new header file; add + instance_init + * installcheck/Amanda_Xfer.pl perl/Amanda/Taper/Scribe.pm: always use + splitter for cache_inform + * perl/Amanda/Xfer.pod perl/Amanda/XferServer.swg: change function + signatures + * perl/amglue/glib.swg: take any perl true or flase value to make + a gboolean + +2010-07-19 Jean-Louis Martineau + * server-src/diskfile.h (disk_t) Add allow_split and splitsize. + * server-src/diskfile.c: Set allow_split and splitsize. + * server-src/driver.c: Use allow_split and splitsize. + * server-src/planner.c: Use allow_split and splitsize. + * server-src/amadmin.c (disklist_one): Print allow_split. + +2010-07-19 Jean-Louis Martineau + * server-src/taper.pl: Use ' to quote label in 'wrote label' line. + * server-src/amstatus.pl: Parse it. + * installcheck/amstatus.pl: Check it. + +2010-07-16 Dustin J. Mitchell + * ndmp-src/Makefile.am: use += with BUILT_SOURCES + +2010-07-16 Dustin J. Mitchell + * man/xml-source/amrecover.8.xml recover-src/amrecover.c: add a -h + parameter that sets the initial host + * installcheck/amrecover.pl: use it, so tests run even at 30,000 feet + with no net connection + +2010-07-16 Dustin J. Mitchell + * config/amanda/syshacks.m4: Mac OS X 10.6 (Snow Leopard) supported + * config/amanda/tape.m4: fix bugs causing tape support to always be + built (symbols aren't defined in Snow Leopard) + * device-src/device.c: fix bug + * perl/Amanda/Device.swg: return undef for undefined properties, + rather than crashing + * installcheck/Amanda_Changer_single.pl installcheck/amdevcheck.pl: do + not assume tape device is defined + +2010-07-16 Dustin J. Mitchell + * config/macro-archive/ac_prog_swig.m4: fix swig version detection + - swig-2.0.0 works fine + +2010-07-16 Dustin J. Mitchell + * perl/Amanda/Tapelist.swg: better fix for temp filename + +2010-07-15 Jean-Louis Martineau + * perl/Amanda/Report/human.pm: Correcly compute 'Filesystem taped' for + incremental. + * installcheck/amreport.pl: Test it. + +2010-07-15 Satya Ganga + * config/amanda/progs.m4: Use correct search path for mt binary. + +2010-07-14 Dustin J. Mitchell + * perl/Amanda/Tapelist.swg: append a slash to dirname() and make error + messages better + +2010-07-14 Dustin J. Mitchell + * configure.in config/amanda/shmem.m4: remove unnecessary config + checks + +2010-07-13 Dustin J. Mitchell + * perl/Amanda/Report.pm: parse the planner's skipping a dump + * perl/Amanda/Report/human.pm: present it correctly + * installcheck/amreport.pl: adjust tests accordingly + +2010-07-12 Nandan Athawale + * perl/Amanda/Taper/Scribe.pm: enable debugging whenever debug_taper + is set + +2010-07-12 Orion Poplawski + * server-src/amoverview.pl: fix variable references in evals + +2010-07-12 Dustin J. Mitchell + * installcheck/Makefile.am installcheck/amoverview.pl: basic installcheck + for amoverview + +2010-07-12 Orion Poplawski + * server-src/amoverview.pl: update to use Amanda::DB::Catalog + * perl/Amanda/DB/Catalog.pm: add dump_timestamp to the unique dump keys + * installcheck/Amanda_DB_Catalog.pl: update tests to check uniqueness + * AUTHORS: add Orion + +2010-07-12 Dustin J. Mitchell + * common-src/conffile.c: fix error message + +2010-07-12 Dustin J. Mitchell + * example/amanda.conf.in example/template.d/advanced.conf.in + example/template.d/amanda-S3.conf.in: replace label_new_tapes with + autolabel + +2010-07-12 Dustin J. Mitchell + * installcheck/Amanda_Xfer.pl: fix test counts under -without-server + +2010-07-10 Dustin J. Mitchell + * config/amanda/userid.m4: apply the default value for --with-group + to the correct variable + +2010-07-08 Dustin J. Mitchell + * server-src/amcheck.c: small bugfixes + * perl/Amanda/Taper/Scribe.pm: change get_xfer_dest args to support + LEOM configurations + * server-src/taper.pl: use new args; log warnings with L_WARNING, not + L_FAIL + * installcheck/Amanda_Taper_Scribe.pl installcheck/taper.pl: test + changes + +2010-07-08 Dustin J. Mitchell + * device-src/xfer-dest-taper-splitter.c: new, non-caching taper dest + * device-src/xfer-dest-taper-cacher.c: new name for old .._splitter + * perl/Amanda/Xfer.pod perl/Amanda/XferServer.swg: SWIG new class + and renamed class + * device-src/xfer-dest-taper-directtcp.c + device-src/xfer-dest-taper.c: move null cach_inform to parent class + * device-src/xfer-device.h: prototypes + * device-src/Makefile.am: new file + * installcheck/Amanda_Device.pl: LEOM tests + * installcheck/Amanda_Xfer.pl: tests for new taper dest + * perl/Amanda/Taper/Scribe.pm: use new name (..::Cacher) + +2010-07-08 Dustin J. Mitchell + * device-src/property.c device-src/property.h device-src/device.c: add + LEOM property + * perl/Amanda/Device.pod man/xml-source/amanda-devices.7.xml + man/xml-source/amanda.conf.5.xml: document it + * installcheck/Amanda_Device.pl: test it + * device-src/dvdrw-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: set LEOM property + appropriately + * device-src/vfs-device.c device-src/vfs-device.h: set LEOM support + property, and allow it to be changed for testing + * server-src/taper.pl: small bugfix + +2010-07-08 Dustin J. Mitchell + * perl/Amanda/Taper/Scribe.pm: add docs, comments for cancel_dump + +2010-07-08 Dustin J. Mitchell + * perl/amglue/constants.swg: new SWIG precompiler magic to allow + flexible handling of lists of constants + * perl/Amanda/Config.pod: add section header + * perl/Amanda/Config.swg: include all config param constants in the + POD + +2010-07-07 Dustin J. Mitchell + * installcheck/Amanda_Device.pl: erase each S3 volume after the tests + are finished with it + +2010-07-07 Dustin J. Mitchell + * installcheck/Amanda_Taper_Scribe.pl: stringify changer errors + +2010-07-07 Dustin J. Mitchell + * perl/Amanda/Taper/Scribe.pm: more consistent handling of denial + of use of a second tape due to user configuration; dump_cb adds + the config_denial_message parameter + * server-src/taper.pl: use new parameter + * installcheck/Amanda_Taper_Scribe.pl: updated tests + +2010-07-06 Orion Poplawski + * server-src/amoverview.pl: fix parsing for newer amadmin find output + +2010-07-06 Dustin J. Mitchell + * device-src/s3.c: fix typo (that I added, not Nandan) + +2010-07-06 Nandan Athawale + * device-src/s3.c: use Amazon's HTTP response headers to calculate a + time offset for the local clock, to automatically work around time + skew + +2010-06-29 Dustin J. Mitchell + * installcheck/Makefile.am installcheck/chunker.pl: new check + * perl/Amanda/Header.swg: bug fix + * server-src/chunker.c: bug fixes, add support for a fake ENOSPC for + testing + +2010-06-28 Dustin J. Mitchell + * server-src/driverio.c: fix format specifies + +2010-06-28 Dustin J. Mitchell + * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h: + add new tapetype params: PART_SIZE, PART_CACHE_TYPE, PART_CACHE_DIR, + and PART_CACHE_MAX_SIZE and dumptype param ALLOW_SPLIT; only print + deprecation warnings once per process; deprecate TAPE_SPLITSIZE, + FALLBACK_SPLITSIZE, and SPLIT_DISKBUFFER + * example/amanda.conf.in example/template.d/amanda-S3.conf.in + example/template.d/amanda-harddisk.conf.in + example/template.d/dumptypes: remove old params + * installcheck/Amanda_Config.pl + installcheck/Amanda_Taper_Scribe.pl + installcheck/Installcheck/Dumpcache.pm + installcheck/taper.pl: update tests + * man/xml-source/amanda-compatibility.7.xml: document deprecations + and what to do about them + * man/xml-source/amanda.conf.5.xml: document deprecations and new + params + * perl/Amanda/Device.pod: add doc about size=0 for + write_from_connection, fix typo + * perl/Amanda/Taper/Scribe.pm: add get_splitting_args_from_config + * server-src/diskfile.c server-src/diskfile.h: add dumptype->config + * server-src/amcheck.c: checks for the new params + * server-src/driverio.c server-src/taper.pl: add all config params to + the driver/taper protocol + +2010-06-28 Dustin J. Mitchell + * device-src/xfer-dest-taper-directtcp.c: round part size to a + multiple of the block size + * installcheck/Amanda_Xfer.pl: test it + +2010-06-24 Dustin J. Mitchell + * application-src/ampgsql.pl: use conditionals to skip useless + selfcheck checks + +2010-06-23 Dustin J. Mitchell + * application-src/ampgsql.pl: conditionalize some checks on property + being set + +2010-06-22 Dustin J. Mitchell + * server-src/amfetchdump.pl: fix parsing levels and -p + +2010-06-22 Dustin J. Mitchell + * common-src/amaespipe.sh: change head to dd; thanks to Angelo Höngens + and Marco Poli + +2010-06-22 Jean-Louis Martineau + * device-src/tape-device.c: Handle write returning 0 for LEOM. + +2010-06-21 Dustin J. Mitchell + * perl/Makefile.am: list libamglue in _SOURCES variables, too, + so that dependencies are correct and parallel makes do not + fail + +2010-06-18 Jean-Louis Martineau + * perl/Amanda/IPC/LineProtocol.pm: Fix for multiline. + +2010-06-17 Dustin J. Mitchell + * server-src/Makefile.am changer-src/Makefile.am: remove READLINE_LIBS + +2010-06-17 Dustin J. Mitchell + * man/xml-source/amanda.conf.5.xml: update tapedev and tpchanger docs + to match new changer API + +2010-06-17 Dustin J. Mitchell + * common-src/bsd-security.c common-src/bsdtcp-security.c + common-src/bsdudp-security.c common-src/local-security.c + common-src/security-util.c common-src/ssh-security.c: zero out new + structures, and protect logtime messages from NULL dereferences + +2010-06-16 Dustin J. Mitchell + * installcheck/Makefile.am: use chmod a-x instead of chmod -x + +2010-06-16 Dustin J. Mitchell + * installcheck/Makefile.am: remove comment from Makefile rule + +2010-06-16 Jean-Louis Martineau + * server-src/taper.pl: Don't call check_data_path for a FILE-WRITE. + +2010-06-16 Dustin J. Mitchell + * installcheck/Makefile.am: add chmod -x for more recent Test::Harness + implementations that are confused by executable tests + +2010-06-15 Jean-Louis Martineau + * perl/Amanda/Report.pm, perl/Amanda/Report/human.pm: 'FAIL planner' + line should result in FAILED dump (not MISSING dump). + * installcheck/amreport.pl: Test it. + +2010-06-14 Dustin J. Mitchell + * config/automake/installperms.am: add new special cases + + * application-src/Makefile.am client-src/Makefile.am + oldrecover-src/Makefile.am recover-src/Makefile.am + server-src/Makefile.am: only use installperms for setuid executables + +2010-06-12 Dustin J. Mitchell + * perl/Amanda/Report.pm: POD overhaul + +2010-06-12 Dustin J. Mitchell + * perl/amglue/directtcp.swg: fix unterminated array + +2010-06-11 Dustin J. Mitchell + * config/amanda/net.m4: remove use of AS_HELP_STRING + +2010-06-11 Dustin J. Mitchell + * common-src/fileheader-test.c: don't expect partnum=0 on dumpfiles + * common-src/fileheader.c: don't put partnum=1 on tape headers, etc. + +2010-06-11 Dustin J. Mitchell + * common-src/fileheader.c: fix inaccurate partnum in such headers + * installcheck/Amanda_Recovery_Clerk.pl: add test for recovering with + DUMPFILE headers + +2010-06-11 Dustin J. Mitchell + * ndmp-src/ndma_comm_dispatch.c ndmp-src/ndma_cops_query.c: fix + NDMOS_OPTION_NO_NDMPvX precompiler conditionals + +2010-06-11 Dustin J. Mitchell + * installcheck/Amanda_Device.pl: test the connect method + +2010-06-11 Dustin J. Mitchell + * ndmp-src/ndma_comm_dispatch.c: uncomment and update code + to support NDMP_MOVER_CONNECT via ndmta. + +2010-06-11 Dustin J. Mitchell + * perl/Amanda/Device.pod perl/Amanda/Device.swg device-src/device.c + device-src/device.h: add a device_connect method + * device-src/ndmp-device.c: implement it + * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add + ndmp_connection_mover_connect + * perl/Amanda/Xfer.pod: update documentation using the word + "initiator" + +2010-06-11 Dustin J. Mitchell + * device-src/s3-device.c: add S3_STORAGE_CLASS property + * device-src/s3.c device-src/s3.h: add storage_class + * installcheck/Amanda_Device.pl: set the property + * man/xml-source/amanda-devices.7.xml: document it + +2010-06-10 Dustin J. Mitchell + * perl/Amanda/Recovery/Planner.pm: fix matching on filelists - fixes + problems with amidxtaped: "Specified file list matches multiple + dumps" + +2010-06-09 Jean-Louis Martineau + * perl/Amanda/Report.pm: Set dump_failed and dump_strange flags. + * server-src/amreport.pl: Add STRANGE or MISSING to email subject. + * installcheck/Amanda_Report.pl: Test new flags. + +2010-06-09 Jean-Louis Martineau + * perl/Amanda/Report.pm: Rename 'tries' to 'dumps', it is a hash of + timestamps, each value is an array of try. + * perl/Amanda/Report/human.pm: Use 'dumps'. + * perl/Amanda/Report/postscript.pm: Use 'dumps'. + * perl/Amanda/Report/xml.pm: Use 'dumps'. + * contrib/amreport.rnc: Add 'dumps' + * server-src/amreport.pl: Use 'dumps' + * installcheck/amreport.pl: Check 'dumps' + * installcheck/Amanda_Report.pl: Check 'dumps' + +2010-06-09 Jean-Louis Martineau + * perl/Amanda/Taper/Scribe.pm (check_data_path): New method to check + the data_path. + * server-src/driver.c: Check FAILED result after PORT command. + * server-src/driverio.c: Send data_path in taper PORT-WRITE command. + * server-src/taper.pl: Parse data_path in PORT-WRITE command, call the + scribe check_data_path method. + * installcheck/taper.pl: Test it. + +2010-06-09 Dan Locks + * packaging/rpm/amanda.spec: remove Provides from main section, + remove amanda-client from server provides section. + +2010-06-09 Jean-Louis Martineau + * installcheck/Amanda_DB_Catalog.pl, installcheck/Amanda_Logfile.pl, + installcheck/Amanda_Recovery_Planner.pl, + installcheck/Amanda_Taper_Scribe.pl, installcheck/amreport.pl, + installcheck/taper.pl, perl/Amanda/Report.pm, + perl/Amanda/Report/human.pm, perl/Amanda/Taper/Scribe.pm, + server-src/find.c, server-src/taper.pl: taper log a "config|error" + keyword in the "ERROR no-tape" line. + +2010-06-09 Jean-Louis Martineau + * common-src/conffile.c: Allow negative etimeout. + +2010-06-08 Dustin J. Mitchell + * ndmp-src/ndmp4_enum_strs.c: add missing enum + +2010-06-07 Dustin J. Mitchell + * ndmp-src/ndml_agent.c: add INADDR_NONE + * ndmp-src/ndmos_glib.h: remove solaris-specific conditional + +2010-06-04 Dustin J. Mitchell + * perl/Amanda/Device.swg: fix uninitialized variable + +2010-06-04 Jean-Louis Martineau + * common-src/amfeatures.h: New fe_amindexd_quote_label. + * common-src/amfeatures.c: fe_amindexd_quote_label. + * perl/Amanda/Feature.pod: fe_amindexd_quote_label. + * server-src/amindexd.c: Quote label if fe_amindexd_quote_label. + * recover-src/amrecover.c: Add debugging statement. + * recover-src/display_commands.c: Parse quoted label. + * recover-src/extract_list.c: Parse quoted label. + +2010-06-04 Dustin J. Mitchell + * xfer-src/xfer-element.h common-src/Makefile.am + common-src/queueing-test.c common-src/queueing.c + common-src/queueing.h: remove queueing support + * installcheck/Amanda_Device.pl device-src/Makefile.am + device-src/device-queueing.c device-src/device-queueing.h + device-src/device.c device-src/device.h device-src/property.h: remove + queue_fd, device_write_from_fd and device_read_to_fd + * perl/Amanda/Device.pod perl/Amanda/Device.swg: remove queue_fd, + write_from_fd, and read_to_fd; add test utilities to move random data + onto and off of devices + +2010-06-04 Dustin J. Mitchell + * installcheck/Amanda_Xfer.pl perl/Amanda/Xfer.pod + perl/Amanda/Xfer.swg perl/Amanda/Recovery/Planner.pm + server-src/amfetchdump.pl server-src/amidxtaped.pl + server-src/amrestore.pl xfer-src/filter-process.c + xfer-src/xfer-element.h: add a log_stderr argument to + Amanda::Xfer::Filter::Process + * server-src/amcheckdump.pl: use the transfer architecture + +2010-06-04 Jean-Louis Martineau + * perl/Amanda/Recovery/Scan.pm: Subsitute "all slots have been loaded" + by "label '$label' not found" for old changer scripts. + +2010-06-03 Dustin J. Mitchell + * server-src/find.c: zero-pad timestamps out to 14 digits for + comparison + * perl/Amanda/Recovery/Clerk.pm: same + +2010-06-03 Dan Locks + * packaging/deb/buildpkg: remove TMPDIR, use SRCDIR instead. + +2010-06-03 Dustin J. Mitchell + * installcheck/gnutar.pl: always set LC_CTYPES=C for -t output; detect + redhat systems that change the wildcard default for include; and + consider 1.15.91 >= 1.16 + +2010-06-03 Jean-Louis Martineau + * server-src/planner.c: Fix printf format. + +2010-06-03 Dustin J. Mitchell + * man/xml-source/ampgsql.8.xml: suggestively document the ampgsql + restore process + +2010-06-03 Jean-Louis Martineau + * perl/Amanda/Tapelist.swg (write): Safely write the tapelist file. + * server-src/amrmtape.pl: Rely on A::Tapelist::write to do it safely. + * installcheck/amrmtape.pl: Fix. + +2010-06-03 Jean-Louis Martineau + * server-src/amcleanupdisk.c: Use CLR and SET. + * server-src/planner.c: Use CLR, SET and ISSET. + Don't update csize if level < 0. + +2010-06-03 Jean-Louis Martineau + * perl/Amanda/Tapelist.swg: Return empty array if tapelist doesn't + exists. + +2010-06-02 Jean-Louis Martineau + * common-src/security-util.c: Print a debug message every 10 minutes if + something is transmitted. + * common-src/security-util.h (tcp_conn): Add logstamp. + +2010-06-02 Jean-Louis Martineau + * server-src/dumper.c: Drop root privilege before executing compression + or encryption program. + +2010-06-02 Dustin J. Mitchell + * installcheck/gnutar.pl: fix version regex, and use utf-8 friendly + high-ascii characters in -t test + +2010-05-31 Jean-Louis Martineau + * installcheck/gnutar.pl: gnutar exclude in 1.22.90 is like 1.23. + +2010-05-31 Jean-Louis Martineau + * server-src/find.c(print_find_result): Quote label. + +2010-05-31 Jean-Louis Martineau + * config/set_full_version: Add comments. + +2010-05-28 Dustin J. Mitchell + * installcheck/gnutar.pl: tests for gnutar globbing behavior + * installcheck/Makefile.am: run them + +2010-05-28 Dan Locks + * packaging/Makefile.am: include common in EXTRA_DIST + +2010-05-28 Dan Locks + +2010-05-27 Jean-Louis Martineau + * server-src/find.c: Don't report taper line with filenum=0. + +2010-05-27 Dustin J. Mitchell + * installcheck/taper.pl: test for a new write after EOM without + splitting + * perl/Amanda/Taper/Scribe.pm: handle the case correctly by tracking + this condition and switching to a new volume appropriately + +2010-05-26 Dustin J. Mitchell + * config/amanda/libs.m4: Allow user to specify glib config explicitly + +2010-05-25 Dustin J. Mitchell + * perl/Makefile.am: add libamxfer as a dependency of libamglue + +2010-05-25 Dustin J. Mitchell + * installcheck/amtapetype.pl: use force for subsequent runs + +2010-05-25 Dustin J. Mitchell + * device-src/amtapetype.pl: close and re-open devices between tests + * device-src/xfer-dest-device.c: fix memory leak + * man/xml-source/amtapetype.8.xml: fix -f docs + +2010-05-21 Jean-Louis Martineau + * ndmp-src/ndma_cops_backreco.c: Log 'fetch post backup env failed' + with level if NDMP9_ILLEGAL_STATE_ERR. + +2010-05-21 Dustin J. Mitchell + * device-src/amtapetype.pl: get the block_size property earlier + * device-src/device.c: allow property_get after a DEVICE_ERROR -2006-11-20 Jean-Louis Martineau - * common-src/security-util.c, server-src/amcheck.c, +2010-05-21 Jean-Louis Martineau + * server-src/driver.c: Always report "taperflush criteria not met". + +2010-05-20 Dustin J. Mitchell + * installcheck/Amanda_Changer.pl: test more configs + * man/xml-source/amanda.conf.5.xml: point users to + amanda-changers(7) + * perl/Amanda/Changer.pm: support either tpchanger or + tapedev in changer defs + +2010-05-20 Dustin J. Mitchell + * config/amanda/progs.m4: always use rpcgen + * ndmp-src/Makefile.am: always build rpc outputs + * ndmp-src/ndmp0.h ndmp-src/ndmp0_xdr.c ndmp-src/ndmp2.h + ndmp-src/ndmp2_xdr.c ndmp-src/ndmp3.h ndmp-src/ndmp3_xdr.c + ndmp-src/ndmp4.h ndmp-src/ndmp4_xdr.c ndmp-src/ndmp9.h + ndmp-src/ndmp9_xdr.c: remove from version control (and dist) + +2010-05-19 Dustin J. Mitchell + * common-src/fileheader.c: don't print to stderr anymore + +2010-05-19 Dustin J. Mitchell + * ndmp-src/Makefile.am: use BUILT_SOURCES to build rpcgen products + first, since they are not solaris-compatible + +2010-05-19 Jean-Louis Martineau + * application-src/amsamba.pl: filter "Server not using user level ..." + +2010-05-19 Jean-Louis Martineau + * server-src/amtape.pl (inventory): print barcode from unknown state. + +2010-05-19 Jean-Louis Martineau + * perl/Amanda/Application.swg (default_validate): Use sysread. + +2010-05-18 Dustin J. Mitchell + * device-src/amtapetype.pl: don't fail when fsf_after_filemark is + required + +2010-05-18 Dustin J. Mitchell + * perl/Amanda/Changer/rait.pm: add debug message when child slot + counts differ + +2010-05-18 Dustin J. Mitchell + * config/amanda/net.m4: correct help messages + +2010-05-18 Dustin J. Mitchell + * man/xml-source/amanda.conf.5.xml: fix typo + +2010-05-17 Dustin J. Mitchell + * server-src/amfetchdump.pl: use syswrite so the filehandle gets + properly flushed + +2010-05-17 Dustin J. Mitchell + * perl/Amanda/Changer/ndmp.pm: add verbose property + * installcheck/Amanda_Changer_ndmp.pl: use it + +2010-05-14 Dustin J. Mitchell + * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add window_length and + window_offset to mover_get_state + * device-src/ndmp-device.c: insert corresponding NULLs + +2010-05-13 Jean-Louis Martineau + * server-src/amcheckdump.pl: Check subprocess exit status and print + their stderr. + +2010-05-13 Jean-Louis Martineau + * common-src/amcryptsimple.pl: Exit on error if gpg fail. + +2010-05-13 Jean-Louis Martineau + * ndmp-src/ndml_scsi.c: Increase length of amndmjob -r argument. + +2010-05-13 Jean-Louis Martineau + * application-src/amgtar.c: fix exclude-file. + +2010-05-12 Dustin J. Mitchell + * installcheck/Amanda_Device.pl: add regression test + * device-src/tape-device.c: set self->fd to -1 when closing; add + better error messages + +2010-05-11 Dan Locks + * packaging/common/substitute.pl: added. contains much machinery not + yet used in packaging. + * packaging/deb/changelog.src: added %%DEB_REL%%,%%DISTRO%% and + %%DATE%% macros which are expanded by substitute.pl. + * packaging/deb/changelog: renamed to above + * packaging/deb/rules: fix stray configure option + * packaging/deb/buildpkg: adjust to use substitute.pl instead of + figuring VERSION out directly. + +2010-05-10 Jean-Louis Martineau + * common-src/bsd-security.c: Use global buffer for bsd_stream_read_sync + +2010-05-07 Jean-Louis Martineau + * common-src/security-util.c: Use global buffer for + security_stream_read_sync. + * recover-src/amrecover.c, recover-src/extract_list.c: Free buffer + returnned by security_stream_read_sync. + +2010-05-07 Dustin J. Mitchell + * device-src/rait-device.c: fix assertion failure when a child device + gives an error + * perl/Amanda/Changer/rait.pm: add support for braced drive specs + * perl/Amanda/Changer/robot.pm: bail out if the drive is not allowed + for an eject operation + * man/xml-source/amanda-changers.7.xml: document rait changer drive + specifications + +2010-05-06 Jean-Louis Martineau + * application-src/amgtar.c: New INCLUDE-LIST-GLOB and EXCLUDE-LIST-GLOB + for restore, escape the non glob include and exclude. + * client-src/client_util.h: Add include_list_glob and exclude_list_glob + to backup_support_option_t. + * client-src/client_util.c: Parse new support option. + * man/xml-source/amgtar.8.xml: Ducument new properties. + * server-src/amindexd.c: Don't clean_backslash, indexd should be sent + asis to amrecover. + +2010-05-05 Dustin J. Mitchell + * perl/Amanda/Changer/rait.pm: eliminate warning when device does not + have a valid status + +2010-05-05 Dustin J. Mitchell + * device-src/s3-device.c: fix several fatal flaws in the + read_block implementation + +2010-05-05 Dustin J. Mitchell + * perl/Amanda/Report/human.pm: don't assume parts are defined + +2010-05-04 Dustin J. Mitchell + * man/xml-source/amanda-devices.7.xml: add more regions + * man/xml-source/amcheckdump.8.xml: remove duplicate section + +2010-05-04 Jean-Louis Martineau + * common-src/security-util.c: Free packet on close. + +2010-05-03 Dustin J. Mitchell + * common-src/glib-util.c: reorgnize glib_init to be compatible with + glib-2.24+ + +2010-05-03 Dustin J. Mitchell + * server-src/amlabel.pl: change the text to be less ambiguous + +2010-05-03 Jean-Louis Martineau + * server-src/disk_history.c: Keep all parts. + +2010-05-03 Dustin J. Mitchell + * installcheck/Amanda_Recovery_Clerk.pl: fix skip counts + +2010-05-03 Dustin J. Mitchell + * installcheck/Amanda_Recovery_Clerk.pl: test a multi-volume + recovery + * device-src/ndmp-device.c: add extra assertion + * device-src/xfer-dest-device.c: remove debug print + * device-src/xfer-device.h device-src/xfer-source-recovery.c + installcheck/Amanda_Xfer.pl perl/Amanda/XferServer.swg + perl/Amanda/Xfer.pod: add use_device method, fix bugs in cancellation + * perl/Amanda/Recovery/Clerk.pm: call use_device + +2010-04-30 Dustin J. Mitchell + * installcheck/Amanda_Changer_robot.pl: fix installchecks + to pass after previous change + +2010-04-29 Jean-Louis Martineau + * perl/Amanda/Changer/robot.pm: Default state file is in + $localstatedir/amanda + * man/xml-source/amanda-changers.7.xml: Document new location. + +2010-04-29 Jean-Louis Martineau + * device-src/directtcp-connection.c: Typo. + +2010-04-27 Jean-Louis Martineau + * server-src/amreport.pl: Print "FAIL" in email subject header if run + failed. + * installcheck/amreport.pl: Test it. + +2010-04-27 Paul C. Mantz + * perl/Amanda/Report/human.pm: better per-tape stat labels + * installcheck/amreport.pl: updated tests + +2010-04-27 Jean-Louis Martineau + * perl/Amanda/Logfile.swg (find_all_logs): Sort the list. + +2010-04-27 Dustin J. Mitchell + * server-src/planner.c: change degraded-mode messages to make more + sense to the user + +2010-04-26 Jean-Louis Martineau + * perl/Amanda/Recovery/Scan.pm: Call _find_volume_no_inventory if new + changer have no inventory. + +2010-04-26 Paul C. Mantz + * server-src/amreport.pl: print org & config in xml output + +2010-04-26 Jean-Louis Martineau + * perl/Amanda/Recovery/Scan.pm: Use default change if message is + $DEFAULT_CHANGER + * server-src/amidxtaped.pl: Use DEFAULT_CHANGER if message eq + AMRECOVER_CHANGER + +2010-04-26 Dustin J. Mitchell + * perl/Amanda/Taper/Scribe.pm: give total time from + dump start to dump end as total_duration + * server-src/taper.pl: use total_duration + +2010-04-26 Jean-Louis Martineau + * server-src/planner.c: Do not promote if no full estimate. + +2010-04-26 Paul C. Mantz + * installcheck/Amanda_Report.pl: changed part to partnum + +2010-04-23 Jean-Louis Martineau + * server-src/amcheckdump.pl: Check all process status. + +2010-04-23 Paul C. Mantz + * server-src/amreport.pl perl/Amanda/Report.pm + perl/Amanda/Report/xml.pm.orig perl/Amanda/Report/human.pm + perl/Amanda/Report/postscript.pm perl/Amanda/Report/xml.pm: fixed + location of tape parts in Amanda::Report + * installcheck/Amanda_Report.pl: installchecks + +2010-04-23 Jean-Louis Martineau + * ndmp-src/ndmagents.h: prototype of exit_on_stdin_eof_thread. + * ndmp-src/amndmjob_main.c: Create exit_on_stdin_eof_thread thread. + * ndmp-src/ndma_comm_session.c: exit_on_stdin_eof_thread is not static. + +2010-04-23 Jean-Louis Martineau + * ndmp-src/ndml_nmb.c: Don't log successful halt. + * server-src/dumper.c: Don't log no-op command. + +2010-04-23 Dustin J. Mitchell + * man/xml-source/amanda-devices.7.xml: more detail for + STREAMING property + +2010-04-23 Dustin J. Mitchell + * device-src/xfer-dest-taper-splitter.c: fix assertion failure + reported by Wojciech Giel + +2010-04-23 Dustin J. Mitchell + * installcheck/Amanda_Header.pl: add checks for all fields + +2010-04-23 Dustin J. Mitchell + * common-src/util.c: add debugging check to interruptible_accept + * server-src/taper.pl: don't use IO::Socket, as it is badly broken + and not thread-safe on Solaris 8 + * xfer-src/element-glue.c: add debugging checks + +2010-04-22 Jean-Louis Martineau + * server-src/amcleanup.pl: Fix running command with system. + +2010-04-22 Jean-Louis Martineau + * example/Makefile.am: fix 'make clean' to not erase source files. + +2010-04-22 Dustin J. Mitchell + * config/amanda/progs.m4: check for, and reject, Solaris's + SGU lex, which is badly broken + * configure.in: use AMANDA_PROG_LEX + +2010-04-22 Dustin J. Mitchell + * man/xml-source/amanda-changers.7.xml: fix typo, thanks to + Jean-Francois Malouin + +2010-04-22 Paul C. Mantz + * perl/Amanda/Report/xml.pm: use bytes as data unit + +2010-04-22 Paul C. Mantz + * perl/Amanda/Report/xml.pm: tries need to show all programs + +2010-04-22 Jean-Louis Martineau + * perl/Amanda/Changer/ndmp.pm: $conn = undef + +2010-04-22 Dustin J. Mitchell + * common-src/match-test.c: lots of new tests + * common-src/match.c: fix comments, minor bugs in tar_to_regex and + match_level + * common-src/match.h: comments to describe each function + * man/xml-source/amanda.8.xml: update expression docs + +2010-04-21 Dustin J. Mitchell + * server-src/amlabel.pl: add warning when the old label is in the + tapelist + +2010-04-20 Dustin J. Mitchell + * installcheck/Amanda_Device.pl: test rait's MAX_VOLUME_USAGE + * device-src/rait-device.c: fix bugs + +2010-04-19 Jean-Louis Martineau + * perl/Amanda/Changer/compat.pm: Stop scan when the first is slot is + seen a second time. + +2010-04-16 Dustin J. Mitchell + * perl/Amanda/Config.swg: move val_t output typemap to a function + +2010-04-16 Dustin J. Mitchell + * server-src/amadmin.c: show all custom compression/encryption options + in amadmin disklist + * man/xml-source/amanda.conf.5.xml: document undocumented params + +2010-04-15 Dustin J. Mitchell + * server-src/amcleanup.pl: don't fail when run with no args + +2010-04-15 Paul C. Mantz + * perl/Amanda/Curinfo/Info.pm: fixed header parsing + * perl/Amanda/Curinfo.pm: corrected paths and infofile writing + * installcheck/Amanda_Curinfo.pl: installchecks + +2010-04-15 Dustin J. Mitchell + * installcheck/Amanda_Recovery_Scan.pl: don't use a system-global path + +2010-04-15 Dustin J. Mitchell + * device-src/xfer-dest-device.c: don't use queueing anymore; this + removes the max_memory constructor argument + * perl/Amanda/XferServer.swg device-src/xfer-device.h: prototype + change + * perl/Amanda/Xfer.pod: docs + * device-src/amtapetype.pl installcheck/Amanda_Device.pl + installcheck/Amanda_Recovery_Clerk.pl installcheck/Amanda_Xfer.pl + installcheck/amrestore.pl server-src/amvault.pl: change constructor + invocation + +2010-04-15 Dustin J. Mitchell + * common-src/util.c common-src/util.h: new interruptible_accept that + uses a prolong function to stop waiting + * common-src/stream.c: use interruptible_accept in stream_accept + * xfer-src/element-glue.c: use interruptible_accept to allow + directtcp_accept to be cancelled + * installcheck/Amanda_Xfer.pl: test xfer cancellation + +2010-04-14 Jean-Louis Martineau + Satya Ganga + * application-src/amsamba.pl: Fix use of include/exclude list. + +2010-04-14 Dustin J. Mitchell + * installcheck/Amanda_Taper_Scribe.pl perl/Amanda/Taper/Scribe.pm + server-src/taper.pl: rename dump_timestamp -> write_timestamp + +2010-04-14 Jean-Louis Martineau + * ndmp-src/ndml_nmb.c: Always log NOTIFY_MOVER_HALTED. + +2010-04-13 Dustin J. Mitchell + * common-src/conffile.c common-src/conffile.h: make file-pad and + tapebufs parameters errors + * perl/Amanda/Config.swg: remove parameters + * server-src/taper.pl: don't check tapebufs + * installcheck/Amanda_Config.pl: adjust testing + * man/xml-source/amanda-compatibility.7.xml: add deprecation + note about amrecover_do_fsf and amrecover_check_label + +2010-04-13 Dustin J. Mitchell + * device-src/xfer-dest-taper-splitter.c + device-src/xfer-dest-taper-directtcp.c: make sure duration is positive + +2010-04-13 Dustin J. Mitchell + * common-src/conffile.c: fix derived value for autolabel + +2010-04-13 Dustin J. Mitchell + * man/xml-source/amanda-applications.7.xml: info about properties + * man/xml-source/amanda-devices.7.xml: info about properties + * man/xml-source/amanda-scripts.7.xml: info about properties + * man/xml-source/amzfs-snapshot.8.xml: fix typo + +2010-04-13 Dustin J. Mitchell + * NEWS: add info about deprecations in 2.6.1 + * man/xml-source/amanda-compatibility.7.xml: update manpage to + reflect info in NEWS + +2010-04-13 Paul C. Mantz + * server-src/amreport.pl: load holding disk before making report + * perl/Amanda/Report/human.pm: report holding disk correctly + * installcheck/amreport.pl: installcheck + +2010-04-13 Jean-Louis Martineau + * ndmp-src/ndml_conn.c, ndmp-src/ndml_nmb.c: + Always log NOTIFY_DATA_HALTED. + +2010-04-12 Dustin J. Mitchell + * common-src/conffile.c: deprecate amrecover_do_fsf and + amrecover_check_label + * example/amanda.conf.in example/template.d/advanced.conf.in: remove + * man/xml-source/amanda.conf.5.xml: indicate deprecation + * NEWS: mention deprecation + +2010-04-12 Jean-Louis Martineau + * perl/Amanda/Report/human.pm: typo. + +2010-04-12 Jean-Louis Martineau + * server-src/taper.pl: Check hdr_buf, cancel_dump on error. + * perl/Amanda/Taper/Scribe.pm (cancel_dump): New method. + * perl/Amanda/Report/human.pm: Print taper error message. + * server-src/find.c: Set current_label to "". + +2010-04-08 Paul C. Mantz + * perl/Amanda/Logfile.swg: added find_all_logs and find_latest log + which search the logdir instead of the tapelist + * perl/Amanda/Logfile.pod: documentation + * server-src/amreport.pl: use find_latest_log insted of find_log + +2010-04-08 Dustin J. Mitchell + * perl/Amanda/MainLoop.swg: introduce define_steps and step, to + eliminate reference loops created by use of %subs + * perl/Amanda/MainLoop.pod: document it + * 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_rait.pl + installcheck/Amanda_Changer_robot.pl + installcheck/Amanda_ClientService.pl installcheck/Amanda_Device.pl + installcheck/Amanda_MainLoop.pl installcheck/Amanda_Recovery_Clerk.pl + installcheck/Amanda_Recovery_Scan.pl + installcheck/Amanda_Taper_Scribe.pl installcheck/Amanda_Xfer.pl + installcheck/amfetchdump.pl installcheck/amidxtaped.pl + installcheck/amlabel.pl perl/Amanda/Changer.pm + perl/Amanda/Changer/compat.pm perl/Amanda/Changer/multi.pm + perl/Amanda/Changer/ndmp.pm perl/Amanda/Changer/robot.pm + perl/Amanda/Interactive/stdin.pm perl/Amanda/Recovery/Clerk.pm + perl/Amanda/Recovery/Scan.pm perl/Amanda/Taper/Scan/traditional.pm + server-src/amcheck-device.pl server-src/amfetchdump.pl + server-src/amidxtaped.pl server-src/amlabel.pl server-src/amrestore.pl + server-src/amtape.pl server-src/amvault.pl server-src/taper.pl: use it + +2010-04-08 Jean-Louis Martineau + * config/automake/scripts.am: comment double quote 'use lib'. + +2010-04-08 Jean-Louis Martineau + * application-src/amsamba.pl: Use tarmode. + +2010-04-08 Jean-Louis Martineau + * recover-src/amrecover.c: Print to debug what is sent to amindexd. + * recover-src/uparse.y: Parse setdate correctly. + +2010-04-08 Jean-Louis Martineau + * ndmp-src/ndma_comm_dispatch.c: + Comment "Second add_dir entry is non-conforming". + +2010-04-08 Dustin J. Mitchell + * server-src/planner.c: fix two bugs that caused planner to generate a + bogus schedule; remove a redundant assignment + +2010-04-07 Dan Locks + * packaging/rpm/amanda.spec: specify mandir explicitly to work around + old autoconf + +2010-04-07 Paul C. Mantz + * server-src/amreport.pl perl/Amanda/Report.pm + perl/Amanda/Report/human.pm perl/Amanda/Report/postscript.pm + perl/Amanda/Report/xml.pm installcheck/amreport.pl + installcheck/Amanda_Report.pl: taped segments called parts, not chunks + + +2010-04-07 Jean-Louis Martineau + * man/xml-source/amanda.conf.5.xml: Improve strategy "skip" man. + +2010-04-07 Dustin J. Mitchell + * config/amanda/userid.m4: CHECK_USERID conditional + * config/automake/scripts.am: add SCRIPTS_EXTRA_DIST + * installcheck/Makefile.am: use it + +2010-04-07 Jean-Louis Martineau + * server-src/amcheck.c: Don't exit on match_disklist error. + * server-src/diskfile.c (match_disklist): Generate better message for + strategy "skip" or ignore dle. + +2010-04-06 Jean-Louis Martineau + * recover-src/extract_list.c: Set restore_dir to NULL. + +2010-04-06 Paul C. Mantz + * ndmp-src/ndmpconnobj.c: send NDMP4_LOG_* messages to debug log + * ndmp-src/ndma_tape.c ndmp-src/ndma_tape_simulator.c: added + NDMP4_LOG_* messages for testing + +2010-04-05 Jean-Louis Martineau + * recover-src/extract_list.c: Fix USE-DATA-PATH offset and directory + property. + +2010-04-05 Dustin J. Mitchell + * perl/Amanda/Changer/disk.pm: reply with 'invalid' on invalid slots + * perl/Amanda/Taper/Scan/traditional.pm: skip invalid slots when + loading slot 'current' + * installcheck/Amanda_Taper_Scan_traditional.pl: test it + +2010-04-05 Dustin J. Mitchell + * server-src/amidxtaped.pl: send changer error with MESSAGE + * installcheck/amidxtaped.pl: test for it + +2010-04-05 Dustin J. Mitchell + * config/amanda/version.m4: be resilient to all but the first + digit of the version number missing + +2010-04-05 Dustin J. Mitchell + * perl/Amanda/Changer.pm perl/Amanda/Changer/robot.pm: clean up + reference loop in %subs (interim solution -- this arrangement + leaks everywhere) + +2010-04-05 Dustin J. Mitchell + * perl/Amanda/Changer/ndmp.pm: close the NDMP connection after + every Interface operation, so that objects are not unreffed + during Perl's global cleanup. + +2010-04-05 Dustin J. Mitchell + * perl/Amanda/Taper/Scan.pm: POD fixes, add user_msg_fn key + * perl/Amanda/Taper/Scan/traditional.pm: call user_msg_fn on + search failure; check for failure before printing "slot N" + prefix + * server-src/amcheck-device.pl: implement new user_msg_fn key + to print expected volume on failure + +2010-04-05 Dustin J. Mitchell + * perl/Amanda/Device.pod: document that finish() can be called even + if start() was not, to release resources + * device-src/ndmp-device.c: implement + * device-src/tape-device.c: implement + * perl/Amanda/Changer.pm: always finish() a device in $res->release() + +2010-04-05 Dustin J. Mitchell + * installcheck/run-ndmp.pl: development util to run ndmjob test daemon + * installcheck/Makefile.am: add util + +2010-04-05 Dustin J. Mitchell + * server-src/infofile.c: use %lld in scanning instead of %jd, + since Solaris 8 doesn't have %j support; also fix handling + of parse errors + +2010-04-05 Dustin J. Mitchell + * device-src/ndmp-device.c: treat NDMP9_DEVICE_BUSY_ERR as + DEVICE_STATUS_DEVICE_BUSY + +2010-04-05 Dustin J. Mitchell + * perl/Amanda/Changer.pm: check $err->failed before returning reason + +2010-04-02 Paul C. Mantz + * server-src/amreport.pl: honor SEND_AMREPORT_ON in script mode + * perl/Amanda/Config.swg: swig CNF_SEND_AMREPORT_ON + * installcheck/amreport.pl: installchecks + +2010-04-02 Dustin J. Mitchell + * perl/Amanda/Util.pod: correct inaccurate claims in burp + +2010-04-02 Dustin J. Mitchell + * perl/Amanda/Application.swg: fix situation where sizeof(IV) > + sizeof(gint) + +2010-04-02 Jean-Louis Martineau + * server-src/amstatus.pl: '$size{$hostpart} = 0' in taper cmd. + +2010-04-01 Paul C. Mantz + * server-src/amreport.pl: accepts and ignores disk args in script mode + * installcheck/amreport.pl: checks + +2010-04-01 Jean-Louis Martineau + * config/amanda/userid.m4: AM_CONDITIONAL(WANT_CHECK_USERID + * installcheck/Makefile.am: Do not check amrecover if WANT_CHECK_USERID. + * installcheck/amrecover.pl: Check 'localhost' hostname, + remove '^' from expect regex + * recover-src/uscan.l: Add [[:space:]]* in LINEFEED. + +2010-04-01 Dustin J. Mitchell + * application-src/ampgsql.pl: check permissions on archive dir, and + fail selfcheck if they are not sufficient. Also implement the + wal-max-wait=0 that's already documented + * man/xml-source/ampgsql.8.xml: document required permissions + +2010-03-31 Dustin J. Mitchell + * installcheck/amrecover.pl: fix diag() + +2010-03-31 Jean-Louis Martineau + * perl/Amanda/Changer.pm: use Carp qw( confess cluck ); + * perl/Amanda/Changer/robot.pm: $self->make_error("failed",... + +2010-03-31 Jean-Louis Martineau + * config/set_full_version: fix. + * config/amanda/config.m4: fix. + +2010-03-31 Jean-Louis Martineau + * config/amanda/config.m4: Use -a. + +2010-03-31 Jean-Louis Martineau + * config/set_full_version: Use -a. + +2010-03-31 Jean-Louis Martineau + * config/set_full_version: Use grep. + +2010-03-31 Jean-Louis Martineau + * config/Makefile.am: Add set_full_version to EXTRA_DIST. + * config/set_full_version: Add the file. + +2010-03-31 Jean-Louis Martineau + * config/set_full_version: New script to update FULL_VERSION from + VERSION, svn and git + * autogen: Execute config/set_full_version + * Makefile.am: Add dependencies to execute set_full_version if VERSION + change, and to re-run configure if FULL_VERSION change. + * config/amanda/version.m4: Use FULL_VERSION. + * packaging/deb/buildpkg: Use FULL_VERSION. + * packaging/rpm/amanda.spec: Use FULL_VERSION. + * packaging/rpm/buildpkg: Use FULL_VERSION. + +2010-03-30 Dustin J. Mitchell + * installcheck/Installcheck/Run.pm: be selective in import from POSIX + * server-src/amvault.pl: fix duplicate variable + +2010-03-30 Dustin J. Mitchell + * Makefile.am: add VERSION to EXTRA_DIST + * config/amanda/version.m4: use $srcdir/VERSION + +2010-03-30 Jean-Louis Martineau + * VERSION: 3.2.0alpha. + * configure.in: Call AMANDA_VERSION. + * config/amanda/version.m4: Add AMANDA_VERSION. + * config/amanda/config.m4: Add AMANDA_GET_GIT_INFO. + +2010-03-30 Jean-Louis Martineau + * server-src/driver.c: Retry direct to tape all aborted dump because + of missing holdingdisk space. + +2010-03-29 Paul C. Mantz + * server-src/amcleanup.pl server-src/amflush.c: updated amreport usage + +2010-03-28 Dustin J. Mitchell + * server-src/amvault.pl: update with Changer and Catalog API changes + +2010-03-26 Dustin J. Mitchell + * installcheck/Makefile.am: don't run amrecover test under + --without-restore + +2010-03-26 Dustin J. Mitchell + * application-src/ampgsql.pl: don't die when gnutar issues non-fatal + errors, e.g., "file changed as we read it" + +2010-03-26 Dustin J. Mitchell + * installcheck/amrecover.pl: fix stupid error in installcheck + +2010-03-26 Dustin J. Mitchell + * application-src/ampgsql.pl: change 'confess' to 'die' and add a hack + to force WAL file archives on ancient postgres versions + * installcheck/ampgsql.pl: don't skip tests on ancient versions + +2010-03-26 Dustin J. Mitchell + * common-src/Makefile.am common-src/match-test.c: test (some) match + functions + * common-src/match.c: add make_exact_disk_expression and + make_exact_host_expression + * installcheck/Installcheck/Dumpcache.pm: add amrecover_changer + * installcheck/Makefile.am installcheck/amrecover.pl: new integration + tests + * oldrecover-src/extract_list.c recover-src/extract_list.c: use the + make_exact_.. functions + * common-src/amanda.h common-src/match.h application-src/amgtar.c + application-src/amstar.c client-src/calcsize.c client-src/sendbackup.c + client-src/sendsize.c common-src/amxml.c common-src/fileheader.c + common-src/local-security.c common-src/util.c + oldrecover-src/set_commands.c recover-src/set_commands.c + server-src/amflush.c server-src/cmdline.c server-src/diskfile.c + server-src/find.c server-src/tapefile.c: move match.c prototypes from + amanda.h to match.h + +2010-03-25 Jean-Louis Martineau + * server-src/amcheck.c: Don't exit with non-zero if '-l' and amdump + or amflush is running. + +2010-03-25 Paul C. Mantz + * server-src/amreport.pl: amreport exits w/o error if mailer fails + * installchecks/amreport.pl: installcheck + +2010-03-25 Dustin J. Mitchell + * perl/Amanda/Changer/compat.pm: err on the side of caution when + emulating except_slots in chg-compat, preventing an infinite + loop + +2010-03-23 Jean-Louis Martineau + * application-src/amsamba.pl: check open failure correctly, + improve debugging message. + +2010-03-23 Jean-Louis Martineau + * NEWS, ReleaseNotes: Change for 3.1.0 + +2010-03-23 Dustin J. Mitchell + * application-src/ampgsql.pl: handle empty incrementals, wait for WAL + files to be archived during full backup, don't backup postmaster.pid + or pg_xlog + * man/xml-source/ampgsql.8.xml: new property, fix typos, add a section + describing the operation + * installcheck/ampgsql.pl: test restores more carefully, including + an empty incremental + +2010-03-22 Dustin J. Mitchell + * common-src/amfeatures.c common-src/amfeatures.h + perl/Amanda/Feature.pod: add a new feature to indicate that + amrecover quotes disks right: fe_amrecover_correct_disk_quoting + * common-src/match.c common-src/amanda.h: add an 'anchor' arg to + clean_regex + * oldrecover-src/extract_list.c oldrecover-src/set_commands.c + recover-src/extract_list.c recover-src/set_commands.c + server-src/diskfile.c: use it + * server-src/amidxtaped.pl: ignore DISK if it's not quoted correctly + * installcheck/amidxtaped.pl: test that + +2010-03-19 Jean-Louis Martineau + * common-src/amxml.c: data_path default ot DATA_PATH_AMANDA. + +2010-03-19 Jean-Louis Martineau + * recover-src/amrecover.c: Do add_config_override before loading the + config. + +2010-03-19 Jean-Louis Martineau + * server-src/driver.c: Continue flush on new tape if holdingdisk is + full. + +2010-03-18 Paul C. Mantz + * perl/Amanda/Report.pm: updated POD + +2010-03-18 Dustin J. Mitchell + * application-src/ampgsql.pl: add a die_cb in command_validate and + command_selfcheck + +2010-03-17 Paul C. Mantz + * server-src/amreport.pl: added new command line options + * server-src/amdump.sh: updated usage of amreport + * installchecks/amreport.pl: installchecks + * man/xml-source/amreport.8.xml: usage doc update + * NEWS: added info about rewrite + +2010-03-17 Paul C. Mantz + * perl/Amanda/Report/human.pm: fixed premature disk truncation in + dump summary + +2010-03-16 Dustin J. Mitchell + * perl/Amanda/Tests.swg: add a simple threaded function + * perl/Makefile.am: and invoke it from 'make check' + +2010-03-16 Dustin J. Mitchell + * man/xml-source/amcryptsimple.8.xml: Fix formatting + +2010-03-16 Jean-Louis Martineau + * man/xml-source/ampgsql.8.xml: Fix formatting. + +2010-03-16 Jean-Louis Martineau + * common-src/debug.c: Set open_time in debug_setup_1. + +2010-03-15 Dustin J. Mitchell + * man/xml-source/amsamba.8.xml: document include/exclude expressions + +2010-03-15 Dustin J. Mitchell + * UPGRADING: add note about accidentally linking new versions against old + +2010-03-15 Paul C. Mantz + * perl/Amanda/Util.pod: added POD for slurp and burp + +2010-03-15 Dustin J. Mitchell + * installcheck/amreport.pl: add tests for exit status for planner + failure + +2010-03-15 Dustin J. Mitchell + * perl/Amanda/Taper/Scribe.pm: remove input_errors, as that's now the + caller's responsibility + * installcheck/Amanda_Taper_Scribe.pl: corresponding changes + * server-src/taper.pl: handle input errors directly + +2010-03-15 Dustin J. Mitchell + * device-src/tape-aix.c device-src/tape-ops.h device-src/tape-posix.c + device-src/tape-uware.c device-src/tape-xenix.c: add tape_fileno + function + * installcheck/Amanda_Device.pl: add lots of tape-positioning + installcehcks + * device-src/tape-device.c: fix positioning (adjust for funny bsf + behavior only in tape_device_seek_file) + +2010-03-15 Dustin J. Mitchell + * common-src/conffile.c: rename the default tapetype, since EXABYTE + sounds like it might actually be useful, but it's only 2M + * man/xml-source/amanda.conf.5.xml: remove default + * server-src/amcheck.c: only check whether fallback_splitsize < tape + length if splitting is enabled; check for a missing tapetype param + +2010-03-14 Dan Locks + * configure.in: update to rc06. NOTEST + +2010-03-11 Dan Locks + * configure.in: update to rc05. + +2010-03-11 Paul C. Mantz + * perl/Amanda/Report.pm: fixed order that messages are reported + +2010-03-10 Dustin J. Mitchell + * perl/Amanda/Changer/null.pm: note that constructor will not fail + * server-src/amidxtaped.pl: use chg-null if the changer constructor + fails + +2010-03-10 Dustin J. Mitchell + * perl/Amanda/Report.pm: count DLEs on the first tape + * perl/Amanda/Report/postscript.pm: display total part count + * installcheck/amreport.pl: changed output + +2010-03-10 Dustin J. Mitchell + * config/amanda/progs.m4: add a define if LPR is found + * server-src/amcheck.c: check it + +2010-03-09 Paul C. Mantz + * perl/Amanda/Report.pm: fixed caching of hostnames and dles + +2010-03-09 Dustin J. Mitchell + * man/xml-source/amanda-applications.7.xml: add brief example of + setting properties for an application + +2010-03-09 Paul C. Mantz + * perl/Amanda/Report.pm: L_PARTPARTIAL handles the same as L_PART + +2010-03-08 Dan Locks + * packaging/deb/rules: add chmod lines for etc/amanda + * packaging/rpm/amanda.spec: move ${SYSCONFDIR}/amanda to 750 + section, specify directories in 750 section to also be 750. + +2010-03-08 Paul C. Mantz + * perl/Amanda/Report.pm: record DLEs in seen order in the cache + * installcheck/Amanda_Report.pm: installcheck fixes + +2010-03-08 Dan Locks + * packaging/rpm/amanda.spec, packaging/deb/changelog: change version + number to %%VERSION%% + * packaging/rpm/buildpkg, packaging/deb/buildpkg: pull correct + version from configure.in, substitute version in appropriate files + * packaging/README: correct list of packages, add note on debian + package creation. + +2010-03-07 Dustin J. Mitchell + * installcheck/Installcheck/ClientService.pm: process error from fork + correctly + +2010-03-07 Dustin J. Mitchell + * installcheck/Installcheck/Dumpcache.pm: don't automatically generate + cached dumps - it causes more problems than it solves + +2010-03-07 Dustin J. Mitchell + * perl/Amanda/Report/postscript.pm perl/Amanda/Report/human.pm: use %f + instead of %lf + +2010-03-07 Dustin J. Mitchell + * server-src/amfetchdump.pl: fix usage message + * man/xml-source/amanda.conf.5.xml common-src/conffile.c: remove + default for mailto, as it is ignored + * installcheck/Amanda_Report.pl installcheck/amreport.pl + perl/Amanda/Report.pm perl/Amanda/Report/human.pm + perl/Amanda/Report/postscript.pm perl/Amanda/Report/xml.pm + server-src/amreport.pl: misc cleanup; replace orig-kb with orig_kb, + add --help and --version, remove unused functions + * installcheck/mock/lpr.pl: use 'lpr' instead of 'printer' + +2010-03-07 Dustin J. Mitchell + * installcheck/amreport.pl perl/Amanda/Report/postscript.pm: sort + postscript output by filenum, not hostname/diskname + +2010-03-07 Dustin J. Mitchell + * installcheck/amreport.pl perl/Amanda/Report/human.pm + perl/Amanda/Report/postscript.pm: stop counting an extra filemark per + dumpfile when calculating tape used + +2010-03-07 Dustin J. Mitchell + * installcheck/amreport.pl perl/Amanda/Report/postscript.pm: always + print the on-medi size of a dumpfile, not its total size + +2010-03-07 Dustin J. Mitchell + * installcheck/amreport.pl perl/Amanda/Report/human.pm + perl/Amanda/Report/postscript.pm: remove rounding when orig and + outsize are within 32k + +2010-03-06 Dustin J. Mitchell + * server-src/amreport.pl: don't use undef for stdout, stderr when + invoking mail or lpr - some don't like to have their std streams + closed + +2010-03-06 Jean-Louis Martineau + * server-src/amreport.pl: fix use of relative path for -l argument. + +2010-03-06 Jean-Louis Martineau + * perl/Amanda/Report/human.pm: Report orig_size for FLUSH line. + * installcheck/amreport.pl: check it. + +2010-03-05 Jean-Louis Martineau + * ndmp-src/amndmjob_main.c, ndmp-src/ndmjob_main.c: + include conffile.h, not config.h. + +2010-03-05 Jean-Louis Martineau + * config/amanda/version.m4: Allow 2 digits version. + +2010-03-05 Jean-Louis Martineau + * packaging/deb/changelog, packaging/deb/rules, + packaging/deb/buildpkg, packaging/rpm/buildpkg, + packaging/rpm/amanda.spec, + configure.in: Change version to 3.2alpha. + +2010-03-05 Dustin J. Mitchell + * configure.in config/amanda/progs.m4: AC_SUBST LPR-related + variables, and don't define them + * perl/Amanda/Constants.pm.in: add LPR-related constants + * installcheck/amreport.pl: lots of new tests, all hand-verified to + pass for the C amreport as well, sometimes with minor differences + * installcheck/mock/lpr.pl: mock 'lpr' for installchecks + * installcheck/mock/mail.pl: mock 'mail' for installchecks + * installcheck/Makefile.am: new mocks + * perl/Makefile.am perl/Amanda/Report/postscript.pm: postscript output + support for amreport + * server-src/Makefile.am server-src/amreport.pl + server-src/amreport_new.pl server-src/reporter.c: + make the perl amreport "live" + +2010-03-05 Dustin J. Mitchell , + Jean-Louis Martineau , + Paul C. mantz + * perl/Amanda/Report.pm perl/Amanda/Report/human.pm + server-src/amreport_new.pl installcheck/Amanda_Report.pl: major + overhaul to perl reporting framework (collaborative effort of three + developers) + +2010-03-02 Jean-Louis Martineau + * perl/Amanda/Report/human.pm: Remove leading 0 on day date. + * server-src/amreport_new.pl: Remove leading 0 on day date. + +2010-03-02 Jean-Louis Martineau + * perl/Amanda/Report.pm: Set $self->{hostname}. + * perl/Amanda/Report/human.pm: Use $report->{hostname}. + +2010-03-03 Paul C. mantz + * perl/Amanda/Report/human.pm: tape num. blocks print as 0 if undefined + +2010-03-02 Paul C. Mantz + * perl/Amanda/Report.pm; added three-arg form of get_program_info() + * perl/Amanda/Report/human.pm: usage of three-arg form + * installcheck/Amanda_Report.pl: tests + +2010-03-02 Jean-Louis Martineau + * perl/Amanda/Report/human.pm: Remove coma. + +2010-03-02 Jean-Louis Martineau + * common-src/conffile.c: Correctly set autolabel from command line + '-olabel_new_tapes=' options. + +2010-03-02 Jean-Louis Martineau + * server-src/amidxtaped.pl: Exit if receive ABORT message. + * recover-src/extract_list.c: Send abort message on user request. + * common-src/amfeatures.c: Add fe_amidxtaped_abort. + * common-src/amfeatures.h: Add fe_amidxtaped_abort. + * perl/Amanda/Feature.pod: Add fe_amidxtaped_abort. + +2010-03-02 Jean-Louis Martineau + * amandad-src/amandad.c: Wait up to 5 seconds for children termination. + +2010-03-02 Jean-Louis Martineau + * server-src/amflush.c: Delay creation of log file. + +2010-03-02 Jean-Louis Martineau + * common-src/conffile.c: Correctly set autolabel from label_new_tapes. + +2010-03-02 Paul C. Mantz + * server-src/amreport_new.pl perl/Amanda/Report/human.pm : fixed + tapelist loading + +2010-03-02 Paul C. Mantz + * perl/Amanda/Report.pm: added tape_labels field for preserving tape + order + * perl/Amanda/Report/human.pm: use of tape_labels + * installcheck/Amanda_report.pl: installcheck, cleanup + +2010-03-01 Jean-Louis Martineau + * server-src/reporter.c: Set and check repdata. + +2010-03-01 Dustin J. Mitchell + * server-src/amcheck.c: adjust split-size warnings for more + detail with less overall verbosity + +2010-03-01 Jean-Louis Martineau + * server-src/reporter.c: Print FLUSH for failed flush. + +2010-03-01 Dustin J. Mitchell + * common-src/fileheader.c: fix typos + * server-src/amfetchdump.pl: add support for decryption + * server-src/amidxtaped.pl: same + * server-src/amrestore.pl: same + +2010-03-01 Dustin J. Mitchell + * perl/Amanda/Changer.pm perl/Amanda/Feature.pod + perl/Amanda/MainLoop.pod perl/Amanda/Recovery/Clerk.pm + perl/Amanda/Report.pm perl/Amanda/Taper/Scan.pm + perl/Amanda/Util.pod: fix bad POD formatting + * perl/make_html.pl: fix perl warnings + +2010-03-01 Dustin J. Mitchell + * man/xml-source/amanda.conf.5.xml: add more detail about + include/exclude + * man/xml-source/amgtar.8.xml: and specific documentation of the + patterns for amgtar + +2010-03-01 Dustin J. Mitchell + * perl/Amanda/Feature.pod: document known features + +2010-03-01 Dustin J. Mitchell + * perl/Amanda/Xfer.pod: no need to remove sources + * perl/Amanda/Xfer.swg: remove reference loop, call correct callback + +2010-03-01 Dustin J. Mitchell + * changer-src/Makefile.am changer-src/chg-glue.pl: remove chg-glue + * man/xml-source/amanda-changers.7.xml: no longer "in transition" + * server-src/Makefile.am server-src/changer.c server-src/changer.h: + remove changer.[ch] + * server-src/amcheck.c: remove unused include + +2010-03-01 Dustin J. Mitchell + * common-src/conffile.c: remove debug message + +2010-03-01 Dan Locks + * packaging/rpm/amanda.spec: remove Provides: librestore + +2010-03-01 Jean-Louis Martineau + * application-src/amgtar.c, application-src/amstar.c: + new COMMAND-OPTIONS property. + * man/xml-source/amgtar.8.xml, man/xml-source/amstar.8.xml: + document new COMMAND-OPTIONS property. + +2010-02-28 Jean-Louis Martineau + * perl/Makefile.am: Add dependendcy to build Amanda::Feature.pm if + common-src/amfeatures.h is modified. + +2010-02-27 Jean-Louis Martineau + * ndmp-src/amndmjob_main.c: #include "config.h" + * ndmp-src/ndma_cops_backreco.c: #include "util.h" + * ndmp-src/ndmjob_main.c: #include "config.h" + +2010-02-26 Jean-Louis Martineau + * installcheck/amidxtaped.pl: Fix for datapath eq "none". + +2010-02-26 Jean-Louis Martineau + * config/amanda/ps.m4: Set PS_ARGUMENT_ARGS. + * perl/Amanda/Constants.pm.in: export PS_ARGUMENT_ARGS. + * perl/Amanda/Process.pm (set_master_process): New function. + * server-src/amcleanup.pl: Use set_master_process. + +2010-02-26 Jean-Louis Martineau + * recover-src/extract_list.c: AVAIL-DATAPATH, USE-DATAPATH and + DATAPATH-OK. + * server-src/amidxtaped.pl: AVAIL-DATAPATH, USE-DATAPATH and + DATAPATH-OK. + * installcheck/amidxtaped.pl: Test them. + +2010-02-26 Dustin J. Mitchell + * installcheck/Installcheck/ClientService.pm: fix to wait for streams + to empty and hit EOF after exit + * installcheck/amidxtaped.pl: reorder bad_cmd test, remove bogus + comment, and use -1 to signal no data EOF received + +2010-02-26 Paul C. Mantz + * perl/Amanda/Report/human.pm: added quoting of disks in per-disk + summary + +2010-02-26 Dustin J. Mitchell + * installcheck/Amanda_Changer_robot.pl: log test output too + * installcheck/Installcheck.pm: typo + * perl/Amanda/Changer.pm: note about member variables + * perl/Amanda/Changer/robot.pm: make debug callable during constructor + +2010-02-26 Jean-Louis Martineau + * server-src/find.c: Compute dump_status and message. + * server-src/find.c (print_find_result): Output dump_status and message. + * server-src/find.c (search_logfile): Check if label is in tapelist. + * server-src/find.h: Add dump_status and message to find_result_t. + * perl/Amanda/Logfile.swg: Swig it. + * perl/Amanda/DB/Catalog.pm: Set dump_status and message. + * installcheck/Amanda_DB_Catalog.pl: Test it. + * installcheck/Amanda_Logfile.pl: Test it. + * server-src/amcheckdump.pl: Use new search_logfile behaviour. + * server-src/amindexd.c: Use dump_status. + * server-src/amoverview.pl: Use new 'amadmin find' output. + * server-src/disk_history.c: Remove code no longer needed. + * server-src/tapefile.c (lookup_tapelabel): const the label argument. + * server-src/tapefile.h (lookup_tapelabel): const the label argument. + +2010-02-26 Jean-Louis Martineau + * common-src/conffile.c (set_config_overrides): new config override api. + * common-src/conffile.h (set_config_overrides): New prototype. + * perl/Amanda/Config.swg (set_config_overrides): Swigged. + * changer-src/chg-glue.pl, common-src/amgetconf.pl, + * common-src/file.c, device-src/amdevcheck.pl, + * device-src/amtapetype.pl, installcheck/Amanda_Config.pl, + * installcheck/Amanda_Tapelist.pl, installcheck/Installcheck/Config.pm, + * installcheck/amgetconf.pl, recover-src/amrecover.c, + * server-src/amadmin.c, server-src/amcheck-device.pl, + * server-src/amcheck.c, server-src/amcheckdump.pl, + * server-src/amcleanup.pl, server-src/amfetchdump.pl, + * server-src/amflush.c, server-src/amlabel.pl, + * server-src/amlogroll.c, server-src/amreport_new.pl, + * server-src/amrestore.pl, server-src/amrmtape.pl, + * server-src/amservice.c, server-src/amtape.pl, + * server-src/amtrmidx.c, server-src/amtrmlog.c, + * server-src/amvault.pl, server-src/chunker.c, * server-src/driver.c, server-src/dumper.c, - * server-src/planner.c, tape-src/output-file.c: Lint cleanup. - -2006-11-20 Ian Turner - * tape-src/output-file.c: Fix a compilation error related to - improper type casts. Thanks to Satya Ganga for noticing this - problem. - -2006-11-20 Jean-Louis Martineau - * server-src/driver.c: Use temporary variable to scanf an OFF_T_FMT. - * server-src/planner.c: Use temporary variable to scanf an OFF_T_FMT. - -2006-11-13 Jean-Louis Martineau - * client-src/selfcheck.c: Work for estimate calcsize and - program "DUMP". - -2006-11-13 Jean-Louis Martineau - * server-src/amcheck.c: Don't ouput an warning if holdingdisk 'use' - is set to 0. - -2006-11-09 Jean-Louis Martineau - * man/xml-source/amgetconf.8.xml: Document --list. - -2006-11-09 Jean-Louis Martineau - * changer-src/chg-scsi.c: Don't remove '_' from "generic_changer". - -2006-11-08 Jean-Louis Martineau - * common-src/amanda.h, common-src/conffile.c, - common-src/conffile.h, common-src/security-util.c, - configure.in, oldrecover-src/amrecover.c, - oldrecover-src/extract_list.c, recover-src/amrecover.c, - recover-src/extract_list.c, restore-src/amrestore.c, - server-src/dumper.c: Fix compiler error on Tru64. - -2006-11-08 Jean-Louis Martineau - * common-src/conffile.c (getconf_byname): - Parse "DEFINE:identifer:parameter" format. - * common-src/conffile.c (getconf_list): New function to list a DEFINE. - * common-src/conffile.c (lookup_holdingdisk): New function. - * common-src/conffile.h (getconf_list, - lookup_holdingdisk): New prototype. - * server-src/getconf.c: accept --list argument and - "DEFINE:identifer:parameter" format. - * man/xml-source/amgetconf.8.xml: Document. - -2006-11-08 Jean-Louis Martineau - * server-src/driver.c: set off_t variable to 0 before sscanf. - * server-src/planner.c: set off_t variable to 0 before sscanf. - -2006-11-07 Jean-Louis Martineau - * server-src/amstatus.pl.in: Improve error message. - -2006-11-07 Jean-Louis Martineau - * common-src/security-util.c: Fix coverity bug 170. - * server-src/diskfile.c: Fix coverity bug 147. - -2006-11-07 Jean-Louis Martineau - * common-src/conffile.c (validate_chunksize): Check chunksize is >= - 2*DISK_BLOCK_KB - -2006-11-06 Jean-Louis Martineau - * common-src/amanda.h: Define OFF_T_STRTOL. - * configure.in: Check for strtol and strtoll. - -2006-11-02 Ian Turner - * common-src/amanda.h: Use atol if atoll is missing. - -2006-11-02 Jean-Louis Martineau - * common-src/security-util.c: Better message on invalid size. - -2006-11-02 Jean-Louis Martineau - * configure.in: List bsdudp as a udp transport. - -2006-11-01 Jean-Louis Martineau - * server-src/diskfile.c: Don't use 0 for NULL. - -2006-11-01 Jean-Louis Martineau - Revert Ian patch of 2006-10-29. - * common-src/conffile.c: Defile AMANDATES_FILE - * client-src/amandates.h: Don't define AMANDATES_FILE - -2006-11-01 Jean-Louis Martineau - * common-src/conffile.c: Rename DUMPTYPE_START_T to DUMPTYPE_STARTTIME. - * common-src/conffile.h: Rename DUMPTYPE_START_T to DUMPTYPE_STARTTIME. - * server-src/amadmin.c (disklist_one): Print correct starttime. - * server-src/diskfile.c: Set start_t to starttime. - * server-src/diskfile.h (disk_t): Add starttime. - -2006-11-01 Jean-Louis Martineau - * changer-src/scsi-changer-driver.c: Add Tandberg SLR100, - more debugging. - * changer-src/sense.c: Add Tandberg SLR100 Tape Drive "SLR100". - -2006-11-01 Jean-Louis Martineau - * common-src/amanda.h: Define dbrename if !DEBUG_CODE. - * restore-src/amidxtaped.c: Declare i if !DEBUG_CODE. - -2006-10-30 Jean-Louis Martineau - * server-src/amadmin.c (disklist_one): Print ignore field. - * server-src/amoverview.pl.in: Ignore 'ignore yes' and 'strategy skip'. - * server-src/diskfile.c: Correct hostname allocation. - Keep 'ignore yes' and 'strategy skip' DLE in - memory, set there todo to 0. - * server-src/diskfile.h: (struct disk_s): New ignore field. - -2006-10-29 Ian Turner - This was reported as debian bug 394796. Thanks to Damyan Ivanov - for reporting and to Bdale Garbee - for a preliminary patch. - * common-src/conffile.c: Use AMANDATES_FILE as default for - location of amandates. - * common-src/amandates.h: Move from client-src/ - * client-src/amandates.h: Move to common-src/ - * common-src/Makefile.am: Update to reflect new location of - amandates.h. - * client-src/Makefile.am: ditto. - -2006-10-25 Jean-Louis Martineau - Patch by Jay Fenlason - * common-src/rsh-security.c: Fix. - -2006-10-24 Jean-Louis Martineau - * common-src/conffile.c (get_config_options): Build and argv of the - -o arguments. - * common-src/conffile.h (get_config_options): Prototype. - * server-src/driverio.c: exec dumper/chunker/driver with the argv from - get_config_options - * server-src/amtape.c: Accept -o argument. - * man/xml-source/amtape.8.xml: Document it. - -2006-10-24 Jean-Louis Martineau - * server-src/taper.c: Fix allocation problem on tapedev. - -2006-10-20 Jean-Louis Martineau - * common-src/conffile.c (conf_print): Add a parameter if we want - CONFTYPE_STRING enclosed in ". - * server-src/planner.c: Use getconf_int to get etimeout value. - -2006-10-20 Jean-Louis Martineau - * server-src/taper.c (free_split_buffer): Correct free. - -2006-10-20 Jean-Louis Martineau - * client-src/sendbackup.c: Parse quote amdevice. - * server-src/amcheck.c: Send quoted amdevice. - * server-src/planner.c: Send quoted amdevice. - -2006-10-20 Jean-Louis Martineau - * common-src/conffile.c (CNF_CTIMEOUT, CNF_DTIMEOUT, CNF_ETIMEOUT): - They are of type CONFTYPE_INT - (CONFTYPE_TIME are for value parsed as "hhmm"") - * common-src/conffile.c (getconf_byname): Use conf_print(). - * common-src/conffile.h: Add comment. - * server-src/amcheck.c, server-src/dumper.c, server-src/planner.c: - Use getconf_int to get timeout value. - -2006-10-19 Jean-Louis Martineau - * man/xml-source/amanda.conf.5.xml: Fix formating. - -2006-10-19 Jean-Louis Martineau - * client-src/calcsize.c, client-src/sendsize.c: Remove bogus fseek. - -2006-10-19 Jean-Louis Martineau - * client-src/calcsize.c: Quote amname. - -2006-10-19 Jean-Louis Martineau - * server-src/driver.c: Print an L_STATS with the hostname - * server-src/reporter.c: Print hostname, org, config and date at the - beginning of the report - -2006-10-16 Jean-Louis Martineau - * common-src/dgram.c (dgram_cat), - common-src/packet.c (pkt_init, pkt_cat): Works correctly with - vsnprintf returning -1. - -2006-10-11 Jean-Louis Martineau - * common-src/Makefile.am (libamanda_la_LIBADD) Remove @LTLIBOBJS@. - -2006-10-11 Jean-Louis Martineau - * server-src/taper.c: stralloc(tapedev). - * configure.in (EXAMPLE_TAPEDEV): Set to /dev/null if no tape-device. - * example/amanda-client.conf.in, example/amanda.conf.in - example/chg-mcutil.conf.in: Use EXAMPLE_TAPEDEV. - -2006-10-11 Jean-Louis Martineau - * common-src/alloca.c, common-src/getcwd.c, common-src/mktime.c, - common-src/memmove.c, common-src/snprintf.c, - common-src/strcasecmp.c, common-src/strerror.c, - common-src/strftime.c, common-src/strncasecmp.c, - common-src/strstr.c, common-src/waitpid.c, - COPYRIGHT-APACHE: Removed files. - * configure.in: Remove many AC_REPLACE_FUNCS. - * Makefile.am (pkgdata_DATA): Remove COPYRIGHT-APACHE. - -2006-10-11 Jean-Louis Martineau - * common-src/Makefile.am: Remove all reference to our regex - * common-src/match.c: #include , the system regex - * common-src/memmove.c: No more memmove in regex-src - * Makefile.am (pkgdata_DATA): Remove COPYRIGHT-REGEX - * Makefile.am (EXTRA_DIST): Remove regex-src/* - * regex-src: Remove directory. - * common-src/regcomp.c, common-src/regerror.c, - common-src/regexec.c, common-src/regfree.c, - common-src/amregex.h: Remove files. - -2006-10-11 Jean-Louis Martineau - * server-src/planner.c: Improve message for dump larger than available - tape space if runtapes > 1 and splitsize == 0. - -2006-10-10 Jean-Louis Martineau - * server-src/driver.c (wait_children): Don't crash if dumper->chunker - is NULL - -2006-10-04 Jean-Louis Martineau - * amandad-src/amandad.c: Call security_recvpkt() on A_SENDNACK - and dup P_REQ. - * common-src/security-util.c: Improve message. - -2006-10-03 Jean-Louis Martineau - * server-src/amcleanupdisk.c: Accept -o arguments. - * server-src/amcleanup.sh.in: Add missing 'shift' for non-linux system. - Accept -o arguments. - -2006-10-03 Jean-Louis Martineau - * server-src/amoverview.pl.in: Fix parsing of time field from amadmin. - -2006-10-03 Jean-Louis Martineau - * restore-src/amidxtaped.c, restore-src/restore.c, - server-src/amcheck.c, server-src/amflush.c, - server-src/amlabel.c, server-src/taper.c, - server-src/taperscan.c: Check for CNF_TAPEDEV == NULL. - -2006-10-03 Jean-Louis Martineau - * common-src/conffile.c: Don't set CNF_TAPEDEV to DEFAULT_TAPE_DEVICE. - * configure.in: Don't set DEFAULT_TAPE_DEVICE. - -2006-09-29 Jean-Louis Martineau - * common-src/bsdtcp-security.c: Add logging on error. - -2006-09-29 Jean-Louis Martineau - * server-src/amoverview.pl.in: Use shellwords instead of quotewords, - don't add date for disk not in the disklist. - -2006-09-28 Jean-Louis Martineau - * common-src/bsd-security.c: Fix %hd printf argument format. - * common-src/security-util.c: Fix %hd printf argument format. - -2006-09-28 Jean-Louis Martineau - * common-src/conffile.c (client_keytab): Add DEBUG_*. - * oldrecover-src/amrecover.c: Call read_clientconf. - -2006-09-27 Jean-Louis Martineau - * restore-src/restore.c: Improve debugging. - * server-src/changer.c: Make sure to dup the fd out of the 0..2 range. - -2006-09-27 Jean-Louis Martineau - * restore-src/amfetchdump.c: Pass new prompt_in parameter to - search_tapes. - * restore-src/restore.c (search_tapes, load_manual_tape): New prompt_in - parameter. - * restore-src/restore.h (search_tapes): New prompt_in parameter. - * restore-src/amidxtaped.c: Set new 'FILE *' instead of reusing stdin - and stdout. - * server-src/amindexd.c: Set new 'FILE *' instead of reusing stdin - and stdout. - -2006-09-27 Jean-Louis Martineau - Patch by Orion Poplawski - * server-src/planner.c: Add a skip_quoted_line() on error. - -2006-09-23 Jean-Louis Martineau - * server-src/amstatus.pl.in: Fix parsing of 'taper: wrote label' line. - * server-src/amtoc.pl.in: Fix parsing of 'START taper' line. - -2006-09-22 Jean-Louis Martineau - * common-src/conffile.h: New CONFTYPE_INTRANGE conftype_t. - * common-src/conffile.c: New CNF_RESERVED_UDP_PORT, - CNF_RESERVED_TCP_PORT, - CNF_UNRESERVED_TCP_PORT config options. - * common-src/dgram.c: Use the new CNF_RESERVED_UDP_PORT option. - * common-src/stream.c: Use the new CNF_*RESERVED_PORT options. - * man/xml-source/amanda-client.conf.5.xml: Document it. - * man/xml-source/amanda.conf.5.xml: Document it. - -2006-09-22 Jean-Louis Martineau - Patch by William Jojo - * client-src/sendsize.c: Fix #endif for AIX. - -2006-09-22 Jean-Louis Martineau - * common-src/packet.c: Fix use of arglist_start/arglist_end. - * server-src/amindexd.c: Fix use of vsnprintf (for IRIX). - * server-src/logfile.c: Fix use of arglist_start/arglist_end. - -2006-09-21 Jean-Louis Martineau - * server-src/amcheck.c: Don't assert if holding use is set to 0. - -2006-09-19 Jean-Louis Martineau - * server-src/find.c (search_logfile): Count 'PARTIAL taper line'. - -2006-09-19 Jean-Louis Martineau - Patch by Paul Bijens - * server-src/amcheck.c: Print "tapelist" instead of "tapefile". - -2006-09-19 Jean-Louis Martineau - * common-src/dgram.c (dgram_bind): Remove unused variables. - -2006-09-19 Jean-Louis Martineau - * common-src/conffile.c, common-src/conffile.h: Add debug_amandad, - debug_amidxtaped, debug_amindexd, debug_amrecover, debug_auth, - debug_event, debug_holding, debug_protocol, debug_planner, - debug_driver, debug_dumper, debug_chunker, debug_taper, - debug_selfcheck, debug_sendsize, debug_sendbackup - configurations options. - * common-sc/debug.c: Use it's own clock function. - * amandad-src/amandad.c, amandad-src/amandad_util.c, - client-src/calcsize.c, client-src/client_util.c, - client-src/killpgrp.c, client-src/rundump.c, - client-src/runtar.c, client-src/selfcheck.c, - client-src/sendbackup.c, client-src/sendsize.c, - common-src/bsd-security.c, common-src/bsdtcp-security.c, - common-src/bsdudp-security.c, common-src/debug.c, - common-src/dgram.c, common-src/event.c, - common-src/krb5-security.c, common-src/pipespawn.c, - common-src/protocol.c, common-src/rsh-security.c, - common-src/security.c, common-src/security-util.c, - common-src/security-util.h, common-src/ssh-security.c, - common-src/stream.c, common-src/util.c, - recover-src/amrecover.c, restore-src/amidxtaped.c, - server-src/amindexd.c, server-src/chunker.c, - server-src/driver.c, server-src/dumper.c, - server-src/planner.c, - server-src/taper.c: Use the debug_* configuration options. - Use debug_prefix_time to print the time on - all debugging message. - -2006-09-19 Jean-Louis Martineau - * amandad-src/amandad.c: Use CNF_REP_TRIES. - * common-src/conffile.c: New CONNECT_TRIES, REQ_TRIES, REP_TRIES - configuration options. - * common-src/conffile.h: New CONNECT_TRIES, REQ_TRIES, REP_TRIES - configuration options. - * common-src/protocol.c: Use CNF_CONNECT_TRIES and CNF_REQ_TRIES. - * common-src/protocol.c: Rename reqtries to resettries. - Rename acktries to reqtries. - * man/xml-source/amanda-client.conf.5.xml: Document new options. - * man/xml-source/amanda.conf.5.xml: Document new options. - -2006-09-19 Jean-Louis Martineau - * amandad-src/amandad.c: Read client configuratrion file. - * client-src/client_util.c, client-src/selfcheck.c, - client-src/sendbackup.c, client-src/sendbackup-dump.c, - client-src/sendbackup-gnutar.c, client-src/sendsize.c, - recover-src/amrecover.c, recover-src/extract_list.c, - restore-src/amfetchdump.c, server-src/amadmin.c, - server-src/amcheck.c, server-src/amflush.c, - server-src/amflush.c, server-src/amlabel.c, - server-src/amlogroll.c, server-src/amtrmidx.c, - server-src/amtrmlog.c, server-src/chunker.c, - server-src/diskfile.c, server-src/driver.c, - server-src/dumper.c, server-src/getconf.c, - server-src/planner.c, server-src/reporter.c, - server-src/taper.c: Use generic macro/functions instead of - client/server functions. - * client-src/client_util.h: Remove unuse macro. - * client-src/Makefile.am: Remove clientconf.? files. - * common-src/amanda.h: Define MAX_DUMPERS. - * common-src/conffile.c: New file, merge of client-src/clientconf.c - and server-src/conffile.c - * common-src/conffile.h: New file, merge of client-src/clientconf.c - and server-src/conffile.c - * common-src/Makefile.am (libamanda_la_SOURCES): Add conffile.c - * common-src/Makefile.am (noinst_HEADERS): Add conffile.h - * common-src/util.c: Move many thing to common-src/conffile.c. - * common-src/util.h: Move many thing to common-src/conffile.h. - * server-src/driverio.h: Remove MAX_DUMPERS define. - * server-src/Makefile.am: Remove conffile.[hc]. - -2006-09-19 Jean-Louis Martineau - * common-src/dgram.c (dgram_bind): Don't set SO_REUSEADDR on socket. - -2006-09-19 Jean-Louis Martineau - * common-src/util.c (connect_port): Make EHOSTUNREACH and ENETUNREACH - fatal error. - -2006-09-18 Jean-Louis Martineau - * common-src/util.c(dump_sockaddr): Convert from network to machine - bytes order before printing. - * common-src/dgram.c (dgram_recv): Print the fromaddr. - -2006-09-15 Jean-Louis Martineau - * amandad-src/amandad.c: Correct order of close/dup. - -2006-09-12 Jean-Louis Martineau - * common-src/bsdtcp-security.c: Use AMANDA_SERVICE_NAME. - -2006-09-12 Jean-Louis Martineau - * server-src/amstatus.pl.in: Check that $dumpers_active is defined. - -2006-09-12 Jean-Louis Martineau - * common-src/util.c (conftoken_getc): Return an int. - -2006-09-11 Jean-Louis Martineau - * client-src/sendbackup-dump.c: Works if rundump is not used. - -2006-09-05 Jean-Louis Martineau - * Amanda 2.5.1 released. - * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.1). - * NEWS: Change in amanda-2.5.1 - -2006-08-30 Jean-Louis Martineau - * server-src/dumper.c: Typo in error message. - -2006-08-29 Jean-Louis Martineau - * client-src/selfcheck.c: Print error message to stdout before - calling error(). - -2006-08-28 Jean-Louis Martineau - * server-src/dumper.c (log_msgout): Seek to begining of file. - -2006-08-28 Jean-Louis Martineau - * server-src/reporter.c: Report if a dump was successfully retried. - -2006-08-28 Jean-Louis Martineau - * server-src/amstatus.pl.in: Correct size for retried dump. - -2006-08-25 Jean-Louis Martineau - * client-src/runtar.c: Check that strcmp(argv[3], "--create") == 0. - -2006-08-24 Jean-Louis Martineau - * common-src/statfs.c (scale): Macro replaced by a function. - -2006-08-24 Jean-Louis Martineau - * server-src/chunker.c: Use STREAM_BUFSIZE for stream_accept. - * server-src/taper.c: Use STREAM_BUFSIZE for stream_accept. - -2006-08-24 Maitreyee Karmarkar - * man/xml-source/amcheck.8.xml: amcheck xml man page change - -2006-08-23 Kevin Till - * server-src/driver.c: fix typo - -2006-08-23 Jean-Louis Martineau - * server-src/driver.c (dumper_result): Decrement pendings_aborts. - * server-src/driver.c (handle_dumper_result): Don't send duper result - to chunker if we aborted it. - * server-src/driverio.c (dumper_cmd, chunker_cmd): Don't close the fd - on ABORT. - * server-src/dumper.c: Accept ABORT command. - -2006-08-23 Jean-Louis Martineau - * restore-src/restore.c (restore): Set bytes_read to the return value - of read_file_header. - -2006-08-22 Jean-Louis Martineau - * tape-src/output-tape.c: Works if EOVERFLOW is not defined. - -2006-08-21 Jean-Louis Martineau - * amandad-src/amandad.c, common-src/rsh-security.c, - common-src/ssh-security.c, restore-src/restore.c, - server-src/changer.c, server-src/dumper.c: Fix sentinel warning. - -2006-08-21 Jean-Louis Martineau - * example/amanda.conf.in: Typo. - -2006-08-21 Jean-Louis Martineau - * server-src/driverio.c: Fix bogus "(unsigned long)-1". - -2006-08-21 Jean-Louis Martineau - * server-src/driver.c (start_some_dumps): Remove bogus free_assignedhd. - -2006-08-21 Maitreyee Karmarkar - * server-src/amcheck.c: Check specific clients - * man/amcheck.8: add the multiple client check format - -2006-08-18 Ian Turner - * tape-src/amtapetype.c: Don't crash on exit - -2006-08-17 Paddy Sreenivasan - * server-src/driverio.c: - * server-src/changer.c: - * restore-src/amfetchdump.c: - * recover-src/extract_list.c: - * oldrecover-src/extract_list.c: - * common-src/util.c: - * common-src/stream.c: - * common-src/file.c: - * common-src/dgram.c: Fix warnings - -2006-08-17 Kevin Till - * common-src/stream.c: Loop 5 times (ntries > 5) on select error - -2006-08-14 Paddy Sreenivasan - * client-src/sendsize.c: Fix warning - * server-src/reporter.c: Fix warnings - -2006-07-28 Jean-Louis Martineau - * Amanda 2.5.1b2 released. - * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.1b2). - -2006-07-28 Jean-Louis Martineau - * server-src/driver.c (find_diskspace): Make sure size > 0. - -2006-07-28 Jean-Louis Martineau - * server-src/planner.c: Don't check new disk. - -2006-07-28 Jean-Louis Martineau - * server-src/planner.c: Always log if full size estimate is larger - than the available tape space. - -2006-07-28 Jean-Louis Martineau - * server-src/planner.c: Always log if the latest full dump will be - overwritten soon. - -2006-07-27 Jean-Louis Martineau - * common-src/clock.c (timesub): Don't make a negative time. - -2006-07-27 Jean-Louis Martineau - * man/xml-source/amanda.conf.5.xml: Tell which file are loaded. - * man/xml-source/amanda-client.conf.5.xml: Ditto. - -2006-07-26 Jean-Louis Martineau - * NEWS: for 2.5.1b2. + * server-src/planner.c, server-src/reporter.c, + * server-src/taper.pl: Use new config override api. + +2010-02-25 Dustin J. Mitchell + * server-src/amcheck.c: add warning if the config might generate >1000 + parts on a volume + +2010-02-25 Dustin J. Mitchell + * perl/Amanda/Changer/robot.pm: don't use a base-class attribute name, + and use an appropriate prefix for debug messages + +2010-02-25 Dustin J. Mitchell + * Makefile.am: remove restore-src from lint rule + * configure.in: remove restore-src/Makefile + * restore-src/: remove + * perl/Makefile.am server-src/Makefile.am: remove -Irestore-src + +2010-02-25 Dustin J. Mitchell + * Makefile.am: stop building restore-src + * common-src/amfeatures.c: remove no-longer-supported + fe_amidxtaped_nargs (this hasn't been supported since 2.5.0!) + * perl/Amanda/Util.swg perl/Amanda/Util.pod: tapespec marhsalling edge case + * installcheck/Amanda_Util.pl: tests + * server-src/amidxtaped.pl server-src/Makefile.am: new perl amidxtaped + +2010-02-25 Dustin J. Mitchell + * installcheck/Installcheck/Dumpcache.pm: include more compressible + data and clean up afterward + * installcheck/Installcheck/ClientService.pm: handle 0 bytes of data + better, and fix handling of failures to not loop forever + * installcheck/amidxtaped.pl: test that compressed dumps come back at + their orig_size; check for a holding device without a trailing ":0"; + send DATA-PATH AMANDA DIRECT-TCP; check LABEL containing only a label, + and even missing FSF=; check failure on unrecognized command lines + +2010-02-24 Dustin J. Mitchell + * installcheck/amidxtaped.pl: installcheck improvements: + create a "real" holding file; send a DATESTAMP= command + +2010-02-24 Dustin J. Mitchell + * perl/Amanda/Recovery/Planner.pm: add support for predefined plans + * installcheck/Amanda_Recovery_Planner.pl: test + +2010-02-24 Dustin J. Mitchell + * perl/Amanda/Xfer.swg: fix != override + * installcheck/Amanda_Xfer.pl: test + * perl/Amanda/Changer/robot.pm: don't use bogus 'device' failure type + * perl/Amanda/MainLoop.pod: POD tweaks + * perl/Amanda/Recovery/Clerk.pm installcheck/Amanda_Recovery_Clerk.pl + server-src/amfetchdump.pl: add directtcp_supported arg to + xfer_src_cb; finish device when quitting clerk + * perl/Amanda/Recovery/Scan.pm: add error handling + * perl/Amanda/Header.swg perl/Amanda/Header.pod: add orig_size + * recover-src/extract_list.c: fix header debugging + +2010-02-24 Dustin J. Mitchell + * common-src/amanda.h installcheck/Installcheck/ClientService.pm + perl/Amanda/Constants.pm.in: move stream constants to + Amanda::Constants + * perl/Makefile.am perl/Amanda/ClientService.pm: new package + * installcheck/Makefile.am installcheck/Amanda_ClientService.pl: tests + +2010-02-24 Dustin J. Mitchell + * perl/Amanda/Util.pod perl/Amanda/Util.swg: stream support and + tapespec marhsalling support + * installcheck/Amanda_Util.pl: tests (for tapespec anyway) + +2010-02-23 Paul C. Mantz + * perl/Amanda/Report/human.pm: fixed hostname truncation + +2010-02-19 Dustin J. Mitchell + * installcheck/Amanda_Recovery_Clerk.pl: use an unbuffered write to + make fake holding files; don't try to load a dumpcache unless both + server and client components are present + * installcheck/Amanda_Xfer.pl: count tests right in skip + +2010-02-19 Paul C. Mantz + * perl/Amanda/Report/human.pm: percents not displayed at 100%, print + the end of a string in per-dump summary + +2010-02-19 Dustin J. Mitchell + * xfer-src/xfer-element.c xfer-src/xfer-element.h: setup now returns a + boolean + * xfer-src/xfer.c: if any setup operation fails, skip the starts and + return + * device-src/xfer-dest-taper-directtcp.c + device-src/xfer-source-recovery.c xfer-src/dest-directtcp-connect.c + xfer-src/element-glue.c xfer-src/source-directtcp-connect.c + xfer-src/xfer-test.c: change setup() methods to return a boolean + * device-src/ndmp-device.c: clean up listen_addrs if not null + +2010-02-19 Jean-Louis Martineau + * common-src/file.c (mkpdir): Fix. + +2010-02-19 Jean-Louis Martineau + * common-src/file.c (mkpdir): Don't use access. + +2010-02-18 Paul C. Mantz + * perl/Amanda/Report/human.pm: fixed columnspec handling, removed POD + +2010-02-18 Dustin J. Mitchell + * device-src/xfer-source-recovery.c: add XFER_MECH_DIRECTTCP_CONNECT, + with attendant API changes (constructor takes a device; sends + XMSG_READY) + * device-src/xfer-device.h: prototype changes + * xfer-src/element-glue.c: remove debug message + * perl/Amanda/Xfer.pod: docs + * perl/Amanda/XferServer.swg: SWIG new parameters + * perl/Amanda/Recovery/Clerk.pm: use new API + * installcheck/Amanda_Xfer.pl: test + * installcheck/Amanda_Recovery_Clerk.pl: test some more + * installcheck/Installcheck/Dumpcache.pm: add code to determine + the timestamps for a cached dump after loading it + +2010-02-18 Dustin J. Mitchell + * xfer-src/xfer.c xfer-src/xfer-element.c xfer-src/xfer-element.h: + add a get_xfer_mechs method to xfer elements so that elements can + dynamically specify their mech pairs + +2010-02-18 Dustin J. Mitchell + * device-src/ndmp-device.c: check for fatal errors in directtcp + methods + * device-src/xfer-dest-taper-directtcp.c: track device_listen + failures better + * installcheck/Amanda_Xfer.pl: test setup cancellation + * perl/Amanda/Taper/Scribe.pm: remove leftover debug code + * xfer-src/element-glue.c: always send XMSG_DONE, even on error + +2010-02-17 Dustin J. Mitchell + * device-src/ndmp-device.c: sanity-check file number + * device-src/xfer-dest-taper-directtcp.c: same + * device-src/xfer-dest-taper-splitter.c: same + +2010-02-17 Paul C. Mantz + * perl/Amanda/Util.swg (finish_application): Don't check $config_name. + +2010-02-17 Paul C. Mantz + * perl/Amanda/Report/human.pm: fixed output of 'incr dump only' + fields + +2010-02-17 Jean-Louis Martineau + * ndmp-src/ndmjob_main.c, ndmp-src/amndmjob_main.c: + add config_init(0, NULL); + * recover-src/extract_list.c: Typo. -2006-07-26 Jean-Louis Martineau - * common-src/util.h (CONFTYPE_HOLDING): New conftype. - * common-src/util.c (conf_init_holding, conf_set_holding, - get_conftype_hold): New fonction. - * example/amanda.conf.in: Example of new holdingdisk value. - * man/xml-source/amanda.8.xml: Example. - * man/xml-source/amanda.conf.5.xml: Document it. - * server-src/amadmin.c (disklist_one): Print holdingdisk value. - * server-src/conffile.c: Parse new CONF_HOLDING type. - * server-src/conffile.h (dumptype_get_to_holdingdisk): Change macro. - * server-src/diskfile.c (parse_diskline): dumptype_get_to_holdingdisk. - * server-src/driver.c: Use new CONFTYPE_HOLDING value. - -2006-07-26 Jean-Louis Martineau - * client-src/selfcheck.c: Fix bug found by coverity. - * common-src/debug.c: Fix bug found by coverity. - -2006-07-25 Jean-Louis Martineau - * server-src/amflush.c: Typo. - -2006-07-25 Jean-Louis Martineau - * server-src/amflush.c: Correct test for driver_stream. - -2006-07-25 Jean-Louis Martineau - * client-src/clientconf.c: Default CLN_AMANDATES to /etc/amandates. - * common-src/util.c (conf_init_size): Type is CONFTYPE_SIZE. - * server-src/conffile.c (getconf_taperalgo): New function. - * server-src/conffile.h (getconf_taperalgo): Prototype. - * server-src/driver.c: Use getconf_taperalgo. - -2006-07-25 Jean-Louis Martineau - * client-src/clientconf.c (client_getconf_boolean): New function. - * client-src/clientconf.h (client_getconf_boolean): Prototype. - * server-src/conffile.c (getconf_boolean): New function. - * server-src/conffile.h (getconf_boolean): Prototype. - * restore-src/amidxtaped.c: Use getconf_boolean. - * server-src/amflush.c: Use getconf_boolean. - * server-src/planner.c: Use getconf_boolean. - -2006-07-25 Jean-Louis Martineau - * server-src/getconf.c: Don't print BUGGY. - * changer-src/chg-chio.pl.in: Don't parse BUGGY. - * changer-src/chg-iomega.pl.in: Don't parse BUGGY. - * changer-src/chg-zd-mtx.sh.in: Don't parse BUGGY. - * man/xml-source/amgetconf.8.xml: Don't parse BUGGY. - * server-src/amverifyrun.sh.in: Don't parse BUGGY. - * server-src/amverify.sh.in: Don't parse BUGGY. - -2006-07-25 Jean-Louis Martineau - * restore-src/restore.c: Cleanup. - * restore-src/amrestore.c: Don't fsf if the last read return 0. - -2006-07-25 Jean-Louis Martineau - * client-src/selfcheck.c: Fix bug found by klocwork. - * common-src/rsh-security.c: Fix bug found by klocwork. - * common-src/ssh-security.c: Fix bug found by klocwork. - * server-src/planner.c: Fix bug found by klocwork. - -2006-07-25 Jean-Louis Martineau - * tape-src/output-tape.c (tape_tape_open): mt is declared inside #ifdef. - -2006-07-25 Jean-Louis Martineau - * server-src/amcheck.c: Fix quoting. - -2006-07-25 Jean-Louis Martineau - * client-src/clientconf.c: client_getconf* validate the type. - * common-src/util.c (get_conftype_*): New function. - * common-src/util.h (get_conftype_*): Prototype. - * server-src/conffile.c: getconf* validate the type. - * server-src/conffile.h: Use get_conftype_* function. - -2006-07-25 Jean-Louis Martineau - * client-src/clientconf.c: New AMANDATES client config option. - * client-src/clientconf.h: New AMANDATES client config option. - * client-src/amandates.c: Use AMANDATES. - * client-src/amandates.h: Use AMANDATES. - * client-src/selfcheck.c: Use AMANDATES. - * client-src/sendbackup-gnutar.c: Use AMANDATES. - * client-src/sendsize.c:: Use AMANDATES. - * common-src/util.h : New CONF_AMANDATES. - * man/xml-source/amanda-client.conf.5.xml: Document it. - -2006-07-25 Jean-Louis Martineau - * client-src/clientconf.c: New GNUTAR_LIST_DIR client config option. - * client-src/clientconf.h: New GNUTAR_LIST_DIR client config option. - * client-src/selfcheck.c: Use GNUTAR_LIST_DIR. - * client-src/sendbackup-gnutar.c: Use GNUTAR_LIST_DIR. - * client-src/sendsize.c: Use GNUTAR_LIST_DIR. - * common-src/util.h: New CONF_GNUTAR_LIST_DIR. - * man/xml-source/amanda-client.conf.5.xml: Document it. - -2006-07-25 Jean-Louis Martineau - * client-src/calcsize.c, client-src/killpgrp.c, +2010-02-16 Jean-Louis Martineau + * server-src/amadmin.c: Set a config for version subcommand. + +2010-02-16 Jean-Louis Martineau + * common-src/amfeatures.c: New fe_amrecover_origsize_in_header. + * common-src/amfeatures.h: New fe_amrecover_origsize_in_header. + * common-src/fileheader.c: Parse/read 'ORIGSIZE=' in header. + * common-src/fileheader.h (dumpfile_t): Add orig_size. + * common-src/timestamp.c (get_time_from_timestamp): New function to + convert a char timestamp to time_t. + * common-src/timestamp.h (get_time_from_timestamp): Prototype. + * restore-src/restore.c: Check fe_amrecover_origsize_in_header. + * server-src/driver.c: Protoocl change to send orig_kb to taper. + * server-src/driverio.c: Protoocl change to send orig_kb to taper. + * server-src/find.c: Get orig_kb from log files. + * server-src/find.h (find_result_t): add orig_kb. + * server-src/holding.c (holding_set_origsize): New function to seti + 'ORIGSIZE' in an holding file. + * server-src/holding.h (holding_set_origsize): Prototype. + * server-src/infofile.c: '(char *)0' to NULL. + * server-src/taper.pl: Parse orig-kb in protocol, log it. + * perl/Amanda/DB/Catalog.pm: Set orig_kb. + * perl/Amanda/Logfile.swg (find_result_t): Add orig_kb. + * installcheck/Amanda_DB_Catalog.pl: Check orig-kb in taper stats. + * installcheck/taper.pl: Fix for orig-kb in protocol. + +2010-02-16 Jean-Louis Martineau + * recover-src/extract_list.c: Fix crash for non application restore. + +2010-02-16 Jean-Louis Martineau + * server-src/amcheckdump.pl: Less verbose, add --verbose option. + * man/xml-source/amcheckdump.8.xml: Document new --verbose option. + +2010-02-15 Jean-Louis Martineau + * server-src/taper.pl: Log 'no-tape' if the changer creation failed. + +2010-02-12 Jean-Louis Martineau + * application-src/ampgsql.pl: Put stderr of tar in the debug file. + +2010-02-12 Paul C. Mantz + * perl/Amanda/Report.pm: get per-tape info from L_PART instead of + L_INFO lines + * perl/Amanda/Report/human.pm: widen text field for tape usage + * installcheck/Amanda_Report.pl: installchecks + +2010-02-11 Jean-Louis Martineau + * common-src/conffile.c: Assert if a config is not set. + * common-src/amgetconf.pl, client-src/calcsize.c, + client-src/client_util.c, client-src/killpgrp.c, client-src/rundump.c, client-src/runtar.c, - client-src/selfcheck.c, client-src/sendbackup.c, - client-src/sendsize.c, common-src/amanda.h, - common-src/debug.c, oldrecover-src/amrecover.c, - recover-src/amrecover.c, restore-src/amfetchdump.c, - restore-src/amidxtaped.c, server-src/amadmin.c, - server-src/amcheck.c, server-src/amcleanupdisk.c, - server-src/amflush.c, server-src/amindexd.c, - server-src/amlabel.c, server-src/amlogroll.c, - server-src/amtape.c, server-src/amtrmidx.c, - server-src/amtrmlog.c, server-src/chunker.c, - server-src/driver.c, server-src/dumper.c, - server-src/getconf.c, server-src/planner.c, - server-src/reporter.c, server-src/taper.c: dbrename ot the config dir. - -2006-07-25 Jean-Louis Martineau - * common-src/amanda.h: Define DBG_SUBDIR_SERVER, DBG_SUBDIR_CLIENT - and DBG_SUBDIR_CLIENT. - * amandad-src/amandad.c, changer-src/chg-scsi.c, - changer-src/chg-scsi-chio.c, client-src/calcsize.c, - client-src/killpgrp.c, client-src/rundump.c, client-src/runtar.c, - client-src/selfcheck.c, client-src/sendbackup.c, + installcheck/Amanda_Debug.pl: Set a default config. + +2010-02-11 Jean-Louis Martineau + * common-src/conffile.c: New debug_days option. + * common-src/conffile.h: New debug_days option. + * man/xml-source/amanda-client.conf.5.xml: Document debug_days option. + * man/xml-source/amanda.conf.5.xml: Document debug_days option. + * common-src/debug.c: Don't do unlink in debug_open. + * common-src/Makefile.am: Fix for test program. + * common-src/amgetconf.pl: Correctly do dbopen and dbclose. + Call Amanda::Util::finish_application. + * perl/Amanda/Util.swg: Add get_pname, get_ptype and get_pcontext. + * perl/Amanda/Util.pod: Document. + * common-src/file.c, client-src/getfsent.c, + server-src/infofile.c: Call dbclose(); + * changer-src/chg-glue.pl, device-src/amdevcheck.pl, + device-src/amtapetype.pl, server-src/amcheckdump.pl, + server-src/amcleanup.pl, server-src/amfetchdump.pl, + server-src/amrestore.pl, server-src/amrmtape.pl, + server-src/amvault.pl, + server-src/taper.pl: Call Amanda::Util::finish_application. + +2010-02-11 Jean-Louis Martineau + * perl/Amanda/Taper/Scan/traditional.pm, + perl/Amanda/Taper/Scan.pm: user_msg_fn take a hash as argument. + * perl/Amanda/Recovery/Scan.pm: Fix doc. + * server-src/amcheck-device.pl: New user_msg_fn. + * server-src/amlabel.pl: New user_msg_fn. + * server-src/amtape.pl: New user_msg_fn. + * installcheck/amlabel.pl: Fix installcheck. + +2010-02-11 Dustin J. Mitchell + * xfer-src/xfer.c xfer-src/xfer-element.h: add + XFER_MECH_DIRECTTCP_CONNECT + * xfer-src/source-directtcp-connect.c: element that uses it + * xfer-src/dest-directtcp-listen.c: element that uses it + * xfer-src/element-glue.c: glue for it + * xfer-src/xfer-test.c: test it + * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg: SWIG it + * installcheck/Amanda_Xfer.pl: test it some more + * xfer-src/Makefile.am: new files + * xfer-src/dest-directtcp-connect.c: check addrs is not empty + * perl/amglue/directtcp.swg: handle empty address lists better + +2010-02-11 Dustin J. Mitchell + * installcheck/Makefile.am: don't run amidxtaped on + --without-restore + * installcheck/Installcheck/ClientService.pm + installcheck/amidxtaped.pl: kill amidxtaped on timeout + * restore-src/amidxtaped.c: don't call safe_fd after the + app has already started - it closes fd's in use by + system libraries for e.g., LDAP access + +2010-02-11 Jean-Louis Martineau + * perl/Amanda/Application.swg: Add read_magic_block and + write_magic_block. + * perl/Amanda/Application.pod: Document them. + +2010-02-10 Paul C. Mantz + * perl/Amanda/Report/human.pm: fixed columnspec code + +2010-02-10 Jean-Louis Martineau + * perl/Amanda/Recovery/Scan.pm: user_msg_fn take a hase as argument. + * server-src/amtape.pl: New user_msg_fn. + +2010-02-10 Jean-Louis Martineau + * perl/Amanda/Changer.pm: Document undef state. + * perl/Amanda/Changer/multi.pm: Set state to SLOT_UNKNOWN. + * perl/Amanda/Changer/single.pm: Set state to undef. + * perl/Amanda/Recovery/Scan.pm: Handle undef state. + +2010-02-10 Jean-Louis Martineau + * server-src/taper.pl: Log no-tape error if no available tape. + +2010-02-10 Dustin J. Mitchell + * installcheck/amidxtaped.pl: skip DirectTCP tests if + --without-ndmp + +2010-02-10 Dustin J. Mitchell + * restore-src/restore.c: fix double-free error + +2010-02-09 Dustin J. Mitchell + * installcheck/Makefile.pl installcheck/amidxtaped.pl: amidxtaped + tests + * amandad-src/amandad.c: comments + * common-src/amanda.h: comments + * restore-src/amidxtaped.c: don't check security when invoked with + 'installcheck' as argv[1] + +2010-02-09 Dustin J. Mitchell + * installcheck/Installcheck/ClientService.pm: utility to test + client services (noop, sendbackup, etc.) + * installcheck/Makefile.am installcheck/noop.pl: new test + * perl/Amanda/Util.pod perl/Amanda/Util.swg: new set_blocking + +2010-02-09 Jean-Louis Martineau + * restore-src/amidxtaped.c: Check from_amandad before + fe_recover_splits. + +2010-02-09 Jean-Louis Martineau + * man/xml-source/amanda.conf.5.xml: Fix note for tapecycle. + +2010-02-09 Paul C. Mantz + * perl/Amanda/Report/human.pm: renamed variables to be more descriptive + +2010-02-09 Jean-Louis Martineau + * man/xslt/expand-sambadoc.xsl: Define amkeyword, amtype and amdefault. + * man/xml-source/amanda-client.conf.5.xml, + man/xml-source/amanda.conf.5.xml: Use them. + +2010-02-09 Dan Locks + * amar-src/Makefile.am: add installperms stanza + +2010-02-08 Jean-Louis Martineau + * man/xml-source/amanda.conf.5.xml: Fix emphasis for keyword and type. + +2010-02-08 Jean-Louis Martineau + * client-src/client_util.c: New AMFEATURES application support option, + application_property_add_to_argv take a amfeatures argument. + * client-src/client_util.h: New protoype. + * client-src/selfcheck.c, client-src/sendbackup.c, client-src/sendsize.c, - oldrecover-src/amrecover.c, recover-src/amrecover.c, - restore-src/amfetchdump.c, restore-src/amidxtaped.c, - restore-src/amrestore.c, server-src/amadmin.c, - server-src/amcheck.c, server-src/amcleanupdisk.c, - server-src/amflush.c, server-src/amindexd.c, - server-src/amlabel.c, server-src/amlogroll.c, - server-src/amtape.c, server-src/amtrmidx.c, - server-src/amtrmlog.c, server-src/chunker.c, - server-src/diskfile.c, server-src/driver.c, - server-src/dumper.c, server-src/getconf.c, - server-src/infofile.c, server-src/planner.c, - server-src/reporter.c (dbopen): Use DBG_SUBDIR_SERVER, - DBG_SUBDIR_CLIENT or DBG_SUBDIR_CLIENT. - -2006-07-25 Jean-Louis Martineau - * client-src/calcsize.c: Get config on argument. - * client-src/killpgrp.c: Get config on argument. - * client-src/rundump.c: Get config on argument. - * client-src/runtar.c: Get config on argument. - * client-src/sendbackup.c: Call program with config as argument. - * client-src/sendbackup-dump.c: Call program with config as argument. - * client-src/sendbackup-gnutar.c: Call program with config as argument. - * client-src/sendbackup.h: Add global g_options. - * client-src/sendsize.c: Call program with config as argument. - -2006-07-23 Jean-Louis Martineau - * client-src/sendbackup-gnutar.c: Fix bug found by splint. - * client-src/sendsize.c: Fix bug found by splint. - -2006-07-22 Jean-Louis Martineau - * server-src/taper.c: Fix amfree(mem_splitbuf). - -2006-07-22 Jean-Louis Martineau - * server-src/diskfile.c, server-src/taper.c: Fix memory leak found - by coverity. - -2006-07-22 Jean-Louis Martineau - * server-src/taper.c: Fix split_buffer allocation problem. - -2006-07-22 Jean-Louis Martineau - * client-src/selfcheck.c, common-src/security-util.c, - restore-src/restore.c, server-src/diskfile.c: Fix memory leak found - by coverity. - -2006-07-20 Jean-Louis Martineau - * changer-src/chg-scsi.c, changer-src/scsi-changer-driver.c, - client-src/amandates.c, client-src/calcsize.c, - client-src/selfcheck.c, client-src/sendbackup.c, - client-src/sendsize.c, common-src/security-util.c, - recover-src/extract_list.c, restore-src/restore.c, - server-src/amindexd.c, server-src/diskfile.c, - server-src/driver.c, server-src/reporter.c, - server-src/tapefile.c, server-src/taper.c: Fix memory leak found - by coverity. - -2006-07-19 Jean-Louis Martineau - * client-src/selfcheck.c : Read client config file. - * client-src/sendbackup.c: Read client config file. - * client-src/sendsize.c : Read client config file. - -2006-07-19 Jean-Louis Martineau - * amandad-src/amandad.h (g_option_t): Add 'char *config'; - * amandad-src/amandad_util.c (parse_g_options): Parse 'config='. - * common-src/amfeatures.h (fe_req_options_config): New amfeature. - * common-src/amfeatures.c (am_init_feature_set): - set fe_req_options_config. - * server-src/amcheck.c: Send 'config=' in global options. - * server-src/dumper.c: Send 'config=' in global options. - * server-src/planner.c: Send 'config=' in global options. - -2006-07-19 Jean-Louis Martineau - * amandad-src/amandad.c: Call dbopen("amandad"). - * changer-src/chg-scsi.c: Call dbopen("server"). - * changer-src/chg-scsi-chio.c: Call dbopen("server"). - * client-src/calcsize.c: Call dbopen("client"). - * client-src/getfsent.c: Call dbopen(NULL). - * client-src/killpgrp.c: Call dbopen("client"). - * client-src/rundump.c: Call dbopen("client"). - * client-src/runstar.c: Call dbopen("client"). - * client-src/runtar.c: Call dbopen("client"). - * client-src/selfcheck.c: Call dbopen("client"). - * client-src/sendbackup.c: Call dbopen("client"). - * client-src/sendsize.c: Call dbopen("client"). - * common-src/amanda.h (dbopen, debug_open): Take a 'char * subdir' - argument. - * common-src/bsd-security.c: Call dbopen(NULL). - * common-src/debug.c (debug_open): Call debug_setup_1(subdir) - * common-src/debug.c (debug_setup_1): Take a subdir argument, - add it to dbgdir. - * common-src/file.c: Call dbopen(NULL). - * common-src/statfs.c: Call dbopen(NULL). - * common-src/token.c: Call dbopen(NULL). - * oldrecover-src/amrecover.c: Call dbopen("client"). - * recover-src/amrecover.c: Call dbopen("client"). - * restore-src/amfetchdump.c: Call dbopen("server"). - * restore-src/amidxtaped.c: Call dbopen("server"). - * restore-src/amrestore.c: Call dbopen("server"). - * server-src/amadmin.c: Call dbopen("server"). - * server-src/amcheck.c: Call dbopen("server"). - * server-src/amcleanupdisk.c: Call dbopen("server"). - * server-src/amflush.c: Call dbopen("server"). - * server-src/amindexd.c: Call dbopen("server"). - * server-src/amlabel.c: Call dbopen("server"). - * server-src/amlogroll.c: Call dbopen("server"). - * server-src/amtape.c: Call dbopen("server"). - * server-src/amtrmidx.c: Call dbopen("server"). - * server-src/amtrmlog.c: Call dbopen("server"). - * server-src/chunker.c: Call dbopen("server"). - * server-src/diskfile.c: Call dbopen("server"). - * server-src/driver.c: Call dbopen("server"). - * server-src/dumper.c: Call dbopen("server"). - * server-src/getconf.c: Call dbopen("server"). - * server-src/infofile.c: Call dbopen("server"). - * server-src/planner.c: Call dbopen("server"). - * server-src/reporter.c: Call dbopen("server"). - * server-src/taper.c: Call dbopen("server"). - -2006-07-17 Jean-Louis Martineau - * server-src/chunker.c: Fix rt computation. - * server-src/dumper.c: Fix dumptime computation. - * server-src/taper.c: Fix rt computation. - -2006-07-17 Jean-Louis Martineau - * NEWS: Klocwork defects fixed. - * NEWS: Coverity defect fixed. - -2006-07-14 Jean-Louis Martineau - * Makefile.am (pkgdata_DATA): add ReleaseNotes. - -2006-07-14 Jean-Louis Martineau - * Amanda 2.5.1b1 released. - * configure.in: Remove -Werror. - -2006-07-14 Jean-Louis Martineau - * client-src/sendsize.c: Use read/write to copy tar snapshot file. - * client-src/sendbackup-gnutar.c: Ditto. - -2006-07-13 Jean-Louis Martineau - * common-src/stream.c (stream_accept): Loop 5 times on select error. - -2006-07-13 Jean-Louis Martineau - * server-src/dumper.c: The datafd is not scheduled at start, - add test for it. - * common-src/stream.c (tcpm_recv_token): Set error_msg. - -2006-07-12 Jean-Louis Martineau - * common-src/util.c (free_new_argv): Move out of - #ifndef HAVE_LIBREADLINE. - -2006-07-12 Jean-Louis Martineau - * server-src/amadmin.c (tape): Report the number of new tapes instead - of "a new tape" for each tapes. - * server-src/reporter.c (output_tapeinfo): Ditto. - -2006-07-12 Jean-Louis Martineau - * server-src/taperscan.c (changer_taper_scan): Report error from - changer_find. - -2006-07-11 John Franks jrfranks@zmanda.com - * configure.in: Fix multiple definition of readline during cygwin - compile. - -2006-07-11 Paddy Sreenivasan - * common-src/pipespawn.c : Fixed compiler warning - -2006-07-11 Jean-Louis Martineau - * man/xml-source/amtapetype.8.xml: No default value for -e. - -2006-07-11 Jean-Louis Martineau - * common-src/util.c: Don't conftoken_ungetc(ch) if ch == EOF. - * server-src/reporter.c: Check tp == NULL. - -2006-07-11 Jean-Louis Martineau - * tape-src/tapetype.c: Make -e an needed argument. - * man/xml-source/amtapetype.8.xml: Update man page. - -2006-07-11 Jean-Louis Martineau - * changer-src/chg-zd-mtx.sh.in: Remove .conf from changerfile. - -2006-07-11 Jean-Louis Martineau - * recover-src/extract_list.c (check_file_overwrite): Renamed from - check_file_overwite. - * recover-src/extract_list.c (check_file_overwrite): Do the path check - in the correct order (from left ro right). - -2006-07-11 Jean-Louis Martineau - * common-src/file.c (debug_agets): Remove call to dbprintf. - -2006-07-10 Jean-Louis Martineau - * recover-src/extract_list.c (add_to_unlink_list, do_unlink_list, - free_unlink_list): New function to manage unlink_list. - * recover-src/extract_list.c (check_file_overwite): Check all - component of an EXTRACT_LIST_ITEM, if a component is not a - directory, add it to the unlink_list. - * recover-src/extract_list.c (extract_files): Call do_unlink_list and - free_unlink_list, rename buf to cwd. - -2006-07-10 Jean-Louis Martineau - * common-src/pipespawn.c (pipespawnv_passwd): Add prototype. - * common-src/pipespawn.c (pipespawn, pipespawn): Remove 2 NULL - parameters to the pipespawnv_passwd call. - * common-src/pipespawn.c (pipespawnv_passwd): Remove passwdvar and - passwdfd parameters, add passwdvar and local variable. - Don't use memcpy to set passwdfd. - * common-src/pipespawn.h (pipespawnv_passwd): Remove prototype. - -2006-07-07 Jean-Louis Martineau - * common-src/security-util.c (stream_read_sync_callback): Remove bogus - call of callback. - -2006-07-07 Kevin Till - * common-src/bsd-security.c: use STREAM_BUFSIZE instead of -1 - * common-src/bsdtcp-security.c: ditto - * common-src/krb4-security.c: ditto - * common-src/security-util.c: ditto - * restore-src/amidxtaped.c: ditto - -2006-07-07 Jean-Louis Martineau - * common-src/util.c (get_conftoken): Remove duplicate conftoken_ungetc. - -2006-07-07 Jean-Louis Martineau - * common-src/security-util.c: Validate and report big packet size. - -2006-07-07 Jean-Louis Martineau - * oldrecover-src/Makefile.am: Typo. - -2006-07-07 Jean-Louis Martineau - * client-src/sendsize.c: Typo. + recover-src/extract_list.c: Pass the server amfeatures as argument + to application_property_add_to_argv. + * common-src/amfeatures.c: New fe_sendbackup_noop. + * common-src/amfeatures.h: New fe_sendbackup_noop. + * server-src/dumper.c: Ignore "sendbackup: no-op' message. + +2010-02-08 Dustin J. Mitchell + * perl/Makefile.am perl/Amanda/Feature.pod perl/Amanda/Feature.swg: + SWIG amfeatures + * common-src/Makefile.am common-src/amfeatures.c: remove old hand-run + tests + * common-src/amfeatures.h: add SWIG conditionals + * installcheck/Makefile.am installcheck/Amanda_Feature.pl: test it + +2010-02-06 Dustin J. Mitchell + * perl/Amanda/Config.pod: document autolabel format + * perl/Amanda/Config.swg: don't use PL_sv_undef as a hash val + +2010-02-06 Jean-Louis Martineau + * common-src/conffile.c: Add autolabel config option. + * common-src/conffile.h: Add autolabel config option. + * man/xml-source/amanda.conf.5.xml: Document autolabel. + * perl/Amanda/Config.swg: Swig autolabel. + * perl/Amanda/Taper/Scan/traditional.pm, + perl/Amanda/Taper/Scan.pm: Use autolabel. + * installcheck/Amanda_Config.pl, installcheck/Amanda_Taper_Scan.pl, + installcheck/Amanda_Taper_Scan_traditional.pl, + installcheck/Installcheck/Dumpcache.pm, + installcheck/Installcheck/Run.pm, installcheck/amcheck-device.pl, + installcheck/amcheck.pl, installcheck/amdevcheck.pl, + installcheck/amdump.pl, installcheck/pp-scripts.pl, + installcheck/taper.pl: Fix to use autolabel. + +2010-02-05 Paul C. Mantz + * perl/Amanda/Device.pod, perl/Amanda/DB/Catalog.pm, + * perl/Amanda/Xfer.pod, perl/Amanda/Process.pm, + * perl/Amanda/BigIntCompat.pm, perl/Amanda/Cmdline.pod, + * perl/Amanda/Constants.pm.in, perl/Amanda/Logfile.pod, + * perl/Amanda/Tapelist.pod, perl/Amanda/Debug.pod: removed "API + STATUS" pod header + +2010-02-05 Paul C. Mantz + * perl/Amanda/Report/human.pm: made fixed appearance of per-level + column in output_stats + +2010-02-04 Jean-Louis Martineau + * application-src/amgtar.c: Fix crash in gnutar_listdir doesn't exist. + +2010-02-04 Jean-Louis Martineau + * perl/Makefile.am: Fix bad merge. + +2010-02-03 Paul C. Mantz + * perl/Amanda/Report/human.c: increased width of output_stats + fields + +2010-02-03 Jean-Louis Martineau + * server-src/amadmin.c: Use %jd for gint. + +2010-02-03 Jean-Louis Martineau + * server-src/amadmin.c: Add 'estimate' command'. + * man/xml-source/amadmin.8.xml: Document estimate command. + * server-src/planner.c, server-src/server_util.c, + server-src/server_util.h: Move internal_server_estimate and + server_can_do_estimate from planner.c to server_util.c + +2010-02-03 Jean-Louis Martineau + * perl/Amanda/Recovery/Clerk.pm: Use Amanda::Recovery::Scan + * installcheck/Amanda_Recovery_Clerk.pl: Test it. + +2010-02-03 Jean-Louis Martineau + * server-src/amfetchdump.pl: Use Amanda::Recovery::Scan. + +2010-02-03 Jean-Louis Martineau + * installcheck/Amanda_Recovery_Scan.pl: Test Amanda::Recovery::Scan + * installcheck/Makefile.am (server_tests): Add Amanda_Recovery_Scan. + * perl/Amanda/Changer/compat.pm: Print device_name. + * perl/Amanda/Interactive.pm: Base class for interactivity. + * perl/Amanda/Interactive/stdin.pm: Interactivity on stdin/stdout. + * perl/Amanda/Recovery/Scan.pm: Scan changers + * perl/Makefile.am: Add Amanda/Interactive.pm, + Amanda/Interactive/stdin.pm, Amanda/Recovery/Scan.pm. + * server-src/amcheckdump.pl: Use Amanda::Recovery::Scan. + * server-src/amtape.pl: Use Amanda::Recovery::Scan. + +2010-02-03 Dustin J. Mitchell + * installcheck/Installcheck/Run.pm: export $taperoot and $holdingdir + * installcheck/Installcheck/Dumpcache.pm: use new (much faster!) chg-disk + * installcheck/amdevcheck.pl: give an explicit device name, now that + tapedev is not set + +2010-02-03 Dustin J. Mitchell + * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h: + add debug_recovery + * perl/Amanda/Recovery/Clerk.pm: use it + * perl/Amanda/Recovery/Planner.pm: use it + +2010-02-03 Dustin J. Mitchell + * installcheck/Amanda_Recovery_Planner.pl: fix perl-5.6 bigint compat + +2010-02-03 Dustin J. Mitchell + * device-src/Makefile.am device-src/xfer-device.h + device-src/xfer-source-recovery.c device-src/xfer-source-taper.c + installcheck/Amanda_Xfer.pl perl/Amanda/Recovery/Clerk.pm + perl/Amanda/Xfer.pod perl/Amanda/XferServer.swg: rename + Amanda::Taper::Source to Amanda::Recovery::Source + +2010-02-03 Dustin J. Mitchell + * perl/Makefile.am: check all .pm files (some had been missed) + +2010-02-03 Dustin J. Mitchell + * perl/Amanda/Changer.pm: fix bogus POD + +2010-02-03 Jean-Louis Martineau + * application-src/amsamba.pl: Fix parsing of unc if disk is noti + defined. + +2010-02-03 Jean-Louis Martineau + * perl/Amanda/Changer.pm: Set $chg->{'chg_name'} + +2010-02-02 Dustin J. Mitchell + * man/xml-source/amtape.8.xml: add a suggestion to use -otpchanger= + +2010-02-02 Dustin J. Mitchell + * server-src/amfetchdump.pl: only output a filename with a partnum + when -n was given + +2010-02-02 Dustin J. Mitchell + * device-src/ndmp-device.c: fix failure to check for fatal errors, use + signed 'delta' + * device-src/tape-device.c: rewind correctly, even to the current file + * device-src/vfs-device.c: set in_file=FALSE on finish() + * installcheck/Amanda_Device.pl: check reading file header twice + +2010-02-02 Dustin J. Mitchell + * device-src/amtapetype.pl installcheck/Amanda_DB_Catalog.pl + installcheck/Amanda_Device.pl installcheck/Amanda_Recovery_Clerk.pl + installcheck/Amanda_Recovery_Planner.pl installcheck/Amanda_Xfer.pl + installcheck/amrestore.pl perl/Amanda/Recovery/Clerk.pm + perl/Amanda/Taper/Scribe.pm perl/Amanda/Xfer.pod server-src/amvault.pl + xfer-src/xfer-test.c: detect a finished xfer by XMSG_DONE, instead + of xfer_state == XFER_DONE + +2010-02-02 Dustin J. Mitchell + * man/xml-source/amanda-auth.7.xml: reduce circular references + +2010-02-01 Dustin J. Mitchell + * perl/Amanda/Changer.pm: add a :constants tag, clean up POD + +2010-01-31 Jean-Louis Martineau + * perl/Amanda/Changer/robot.pm: Never return SLOT_UNKNOWN. + +2010-01-30 Jean-Louis Martineau + * common-src/conffile.c: Allow multiple scripts on one line. + +2010-01-29 Dan Locks + * packaging/rpm/amanda.spec: move manpages to + defattr(644,root,root,..) section + +2010-01-29 Dustin J. Mitchell + * perl/Amanda/DB/Catalog.pm: inculde dumps on holding + * installcheck/Amanda_DB_Catalog.pl: tests + * perl/Amanda/Recovery/Planner.pm: plan for dumps on holding + * installcheck/Amanda_Recovery_Planner.pl: tests + * perl/Amanda/Recovery/Clerk.pm: recover from holding with + Amanda::Xfer::Source::Holding when appropriate + * installcheck/Amanda_Recovery_Clerk.pl: tests + * server-src/amfetchdump.pl: give better messaging when recovering + from holding, don't append partnum unless it's a multipart dump + * installcheck/amfetchdump.pl: tests + +2010-01-29 Dustin J. Mitchell + * man/xml-source/amfetchdump.8.xml: remove amfetchdump -s, -b, + and -w options + * restore-src/Makefile.am restore-src/amfetchdump.c: remove + * server-src/Makefile.am server-src/amfetchdump.pl: new version + of amfetchdump that uses Clerk and Planner + * installcheck/amfetchdump.pl: updates to tests (change 'tape' + to 'volume', no more -b, add quotes around labels + +2010-01-29 Dustin J. Mitchell + * perl/Makefile.am perl/Amanda/Recovery/Planner.pm: new package + * installcheck/Amanda_Recovery_Planner.pl + installcheck/Makefile.am: tests + +2010-01-29 Dustin J. Mitchell + * perl/Makefile.am perl/Amanda/Recovery/Clerk.pm: new perl module + * installcheck/Makefile.am installcheck/Amanda_Recovery_Clerk.pl: + tests + +2010-01-29 Dustin J. Mitchell + * installcheck/Amanda_MainLoop.pl: a call_after test that is more + stable when the system clock is stepping + * perl/Amanda/Util.pod perl/Amanda/Util.swg: add gettimeofday() + +2010-01-29 Dustin J. Mitchell + * installcheck/Amanda_Logfile.pl: note about checks + * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: SWIG it + * server-src/find.c server-src/find.h: add dynamic_disklit param + to search_holding_disk + +2010-01-28 Jean-Louis Martineau + * perl/Amanda/Changer/multi.pm: Fix current in inventory result. + * installcheck/Amanda_Changer_multi.pl: Test it. + +2010-01-27 Dustin J. Mitchell + * installcheck/amfetchdump.pl: don't use an END block for cleanup + +2010-01-27 Dustin J. Mitchell + * perl/Amanda/DB/Catalog.pm: also check dumpspecs for get_dumps + * installcheck/Amanda_DB_Catalog.pl: test it + * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: add match_level + +2010-01-27 Dustin J. Mitchell + * changer-src/chg-glue.pl: fix chg-glue to be more careful about + releasing the device first + +2010-01-27 Dustin J. Mitchell + * installcheck/Installcheck/Dumpcache.pm: add 'parts' and 'compress' + cached dumps + * installcheck/amfetchdump.pl: more/better tests + * man/xml-source/amfetchdump.8.xml: formatting + +2010-01-27 Dustin J. Mitchell + * perl/Amanda/Config.pod perl/Amanda/DB/Catalog.pm + perl/Amanda/Taper/Scribe.pm perl/Amanda/Xfer.pod: + fix typos + +2010-01-27 Paul C. Mantz + * perl/Amanda/Util.pm: added safe_overwrite_file + * installcheck/Amanda_Util.pl: installcheck + +2010-01-27 Jean-Louis Martineau + * perl/Amanda/Changer/single.pm: Undo bogus chunk from previous patch. + +2010-01-27 Jean-Louis Martineau + * perl/Amanda/Changer.pm: Document new inventory result. + * perl/Amanda/Changer/disk.pm, perl/Amanda/Changer/multi.pm, + perl/Amanda/Changer/ndmp.pm, perl/Amanda/Changer/rait.pm, + perl/Amanda/Changer/robot.pm, + perl/Amanda/Changer/single.pm: Generate new inventory result. + * installcheck/Amanda_Changer_disk.pl, + installcheck/Amanda_Changer_multi.pl, + installcheck/Amanda_Changer_ndmp.pl, + installcheck/Amanda_Changer_rait.pl, + installcheck/Amanda_Changer_robot.pl: Fix for new inventory result. + * server-src/amtape.pl: Use new inventory result. + +2010-01-26 Paul C. Mantz + * perl/Amanda/Util.swg: added slurp and burp subs + * installcheck/Amanda_Util.pl: installcheck for slurp and burp + * installcheck/Installcheck/Run.pm: use of slurp in production + +2010-01-26 Jean-Louis Martineau + * perl/Amanda/Report.pm: Add notes, time, dle. Many improvements. + * perl/Amanda/Report/human.pm: Many improvements. + * installcheck/Amanda_Report.pl: Fix for new data. + * perl/Makefile.am: Check AmandaReport_DATA. + +2010-01-26 Jean-Louis Martineau + * common-src/conffile.h: Add getconf_linenum. + * perl/Amanda/Config.swg: Add getconf_linenum. + * perl/Amanda/Config.pod: Document getconf_linenum. + * perl/Amanda/Changer.pm: Accept tapedev or tpchanger from command + line without setting the other to ''. + +2010-01-25 Dustin J. Mitchell + * perl/amglue/bigint.c: call SPAGAIN after loading + Math::BigInt, in case the stack base has moved + * perl/amglue/integers.swg: don't place a bigint on + the stack until the stack pointer has been restored + * perl/Amanda/Header.swg: use static + +2010-01-22 Dustin J. Mitchell + * installcheck/Amanda_DB_Catalog.pl: remove recursive links that + confuse old is_deeply implementations + +2010-01-22 Dustin J. Mitchell + * perl/Amanda/DB/Catalog.pm: Use the terms 'dump' and 'part' a bit + more carefully; add ability to query and sort dumps; use weak refs to + break reference loops + * installcheck/Amanda_DB_Catalog.pl: tests + * perl/Amanda/Util.pod perl/Amanda/Util.swg: add weaken_ref + * server-src/amvault.pl: update to match + * perl/Amanda/Logfile.pod perl/Amanda/Logfile.swg: add match_host, + match_disk, and match_datestamp, and document dumps_match_dumpspecs + +2010-01-21 Jean-Louis Martineau + * 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: Set volume_header with the written header + when opened in write mode. + +2010-01-21 Jean-Louis Martineau + * perl/Amanda/Report/human.pm: Many fix. + * server-src/amreport_new.pl: Many fix. + +2010-01-18 Jean-Louis Martineau + * ndmp-src/ndma_cops_backreco.c: Output "DATA SIZE" lines. + * server-src/dumper.c: Set dumpsize from origsize for DIRECTTCP + data path. + +2010-01-19 Paul C. Mantz + * installcheck/amreport.pl: made output checks ignore spacing + +2010-01-18 Dustin J. Mitchell + * ndmp-src/ndmpconnobj.c: even better logging for connection setup and + close + +2010-01-18 Dustin J. Mitchell + * ndmp-src/ndmp2_xmt.c ndmp-src/ndmp3_xmt.c ndmp-src/ndmp4_xmt.c + ndmp-src/ndmp9_xmt.c: fix sign-bit extension error in *_xdr_u_quad + +2010-01-18 Dustin J. Mitchell + * ndmp-src/Makefile.am: fix (apparently innocuous) Makefile typo + +2010-01-18 Dustin J. Mitchell + * perl/Amanda/Taper/Scribe.pm: add an xfer argument to start_dump, so + that the scribe can cancel a transfer in an error situation + * installcheck/Amanda_Taper_Scribe.pl: git it an xfer + * server-src/taper.pl: git it an xfer + +2010-01-18 Dustin J. Mitchell + * ndmp-src/ndma_tape_simulator.c: maintain a 'lock file' per device, + and return NDMP_DEVICE_BUSY_ERR on a collision + * device-src/ndmp-device.c: close the tape agent before switching + connections, and before closing a device, to avoid + NDMP_DEVICE_BUSY_ERR; do not set the record size when opening the + tape agent, as the mover may already be active + +2010-01-18 Dustin J. Mitchell + * restore-src/restore.c: add another htonl invocation for ipv4 address + +2010-01-17 Dustin J. Mitchell + * perl/Amanda/Xfer.pod: fix POD typo + +2010-01-17 Jean-Louis Martineau + * perl/Amanda/Changer/robot.pm: Set drive state to unknown. + +2010-01-17 Dustin J. Mitchell + * perl/Amanda/Changer/compat.pm: allow multiline responses + * installcheck/Amanda_Changer_compat.pl: test + +2010-01-17 Dustin J. Mitchell + * installcheck/Amanda_Curinfo.pl: remove spurious diag() + +2010-01-17 Dustin J. Mitchell + * gnulib/regenerate/regenerate: add regex module, for Mac OS X + compatibility; no change in gnulib version + * config/gnulib/* gnulib/*: resulting gnulib updates + +2010-01-17 Dustin J. Mitchell + * man/xml-source/amreport.8.xml: fix typo in manpage + +2010-01-17 Jean-Louis Martineau + * perl/Amanda/Changer.pm: $chg->load always read ther label. + * perl/Amanda/Changer/compat.pm, perl/Amanda/Changer/disk.pm, + * perl/Amanda/Changer/multi.pm, perl/Amanda/Changer/rait.pm, + * perl/Amanda/Changer/single.pm: $chg->load always read ther label. + * perl/Amanda/Taper/Scan/traditional.pm, perl/Amanda/Taper/Scribe.pm, + * server-src/amcheck-device.pl, server-src/amcheckdump.pl, + * server-src/amlabel.pl, server-src/amrestore.pl, + * server-src/amtape.pl, server-src/amvault.pl: Don't read the label. + +2010-01-15 Paul C. Mantz + * perl/Amanda/Report/human.pm: changed usage of 'constant' for perl + 5.6 compatibility + +2010-01-15 Jean-Louis Martineau + * installcheck/Amanda_Changer_robot.pl: Typo. + +2010-01-15 Jean-Louis Martineau + * amandad-src/amandad.c: iread errfd and close it on termination. + +2010-01-15 Jean-Louis Martineau + * perl/Amanda/Changer/multi.pm, perl/Amanda/Changer/robot.pm: Add + update '1-4=' syntax to mark slot as being in unknown state. + * man/xml-source/amanda-changers.7.xml: Document new syntax. + * installcheck/Amanda_Changer_multi.pl: Test new syntax. + * installcheck/Amanda_Changer_robot.pl: Test new syntax. + +2010-01-15 Jean-Louis Martineau + * server-src/diskfile.c (parse_diskline): Don't set todo to 0 for + skip disk. + * server-src/diskfile.c (disable_skip_disk): New function to set todo + to 0 for skip disk. + * server-src/diskfile.h (disable_skip_disk): Add prototype. + * server-src/amcheck.c, server-src/driver.c, server-src/planner.c + server-src/reporter.c: Call disable_skip_disk. + +2010-01-14 Jean-Louis Martineau + * perl/Makefile.am: typo. + +2010-01-14 Paul C. Mantz + * server-src/amreport_new.pl: amreport rewrite in perl + * perl/Amanda/Report.pm perl/Amanda/Report/human.pm + perl/Amanda/Report/xml.pm: factored out output formats and + added legacy format + * perl/Makefile.am server-src/Makefile.am: makefile changes + * contrib/amreport.rnc: amreport xml spec in RelaxNG + +2010-01-13 Dustin J. Mitchell + * device-src/device.c perl/Amanda/Device.pod perl/Amanda/Device.swg: + make device_listen and device_accept callable anywhere; be explicit + about conn refcount from accept + * device-src/ndmp-device.c: don't call device_use_connection, as + that method requires ACCESS_NULL + * restore-src/restore.c: fix typo + +2010-01-13 Dustin J. Mitchell + * server-src/taper.pl: fix taper writing status too quickly + +2010-01-13 Dustin J. Mitchell + * client-src/client_util.c: fix to send the --direct-tcp and + --data-path arguments to applications + * client-src/sendbackup.c: add a bit of debugging to sendbackup + +2010-01-13 Dustin J. Mitchell + * restore-src/restore.c: add missing htonl to restore.c for ipv4 + address; fix typo + +2010-01-13 Dustin J. Mitchell + * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: better debugging + messages, including a fancy connection ID to help debug problems + using the wrong NDMP connection at the wrong time + +2010-01-13 Dustin J. Mitchell + * device-src/ndmp-device.c: work around record_size bug in ndmjob + +2010-01-13 Dustin J. Mitchell + * installcheck/amfetchdump.pl: check restored files more closely + +2010-01-13 Dustin J. Mitchell + * installcheck/taper.pl: taper installcheck to run multiple dumps + on a spanned NDMP device + +2010-01-13 Dustin J. Mitchell + * installcheck/Installcheck/Dumpcache.pm: Add an 'ndmp' dumpcache + * installcheck/Installcheck/Mock.pm: add a way to revive it for + recovery tests + * installcheck/amfetchdump.pl: use it + +2010-01-13 Dustin J. Mitchell + * device-src/ndmp-device.c: correctly handle devices while they are + coming online after a load + +2010-01-13 Dustin J. Mitchell + * ndmp-src/scsiconst.h: fix typo in constant name + +2010-01-13 Dustin J. Mitchell + * perl/Amanda/Changer/robot.pm: don't mark unknown but loaded tapes as + 'blank', mark them as unknown + +2010-01-13 Dustin J. Mitchell + * perl/Amanda/Changer/ndmp.pm: use the first MTE found, in systems + with several + +2010-01-13 Dustin J. Mitchell + * perl/Amanda/Changer/ndmp.pm: add more SCSI error handling + +2010-01-13 Dustin J. Mitchell + * perl/Amanda/Changer/ndmp.pm: use scsi data dir 'none' for MOVE + MEDIUM + +2010-01-13 Dustin J. Mitchell + * device-src/ndmp-device.c: fix parsing of device node in ndmp-device + +2010-01-13 Dustin J. Mitchell + * device-src/ndmp-device.c: fix dangling reference + +2010-01-11 Dustin J. Mitchell + * common-src/Makefile.am common-src/fileheader-test.c: new test + * common-src/fileheader.c common-src/fileheader.h: validate a lot + of inputs; use g_debug; handle compressed/comp_suffix and + encrypted/encr_suffix in a sane way; remove unused encrypt_cmd; fix + bug in parsing empty heredoc + * device-src/amtapetype.pl: add 'program' to header + * installcheck/Amanda_Xfer.pl: add 'program' to header + * perl/Amanda/Header.pod perl/Amanda/Header.swg: remove encrypt_cmd + and document interrelationships of fields + +2010-01-08 Dustin J. Mitchell + * perl/Makefile.am: don't build useless static versions of perl libs + +2010-01-08 Dustin J. Mitchell + * device-src/xfer-source-taper.c: make element cancellation work + +2010-01-08 Dustin J. Mitchell + * perl/Amanda/Xfer.swg: allow xfer elements to be compared for + identity + +2010-01-08 Dustin J. Mitchell + * common-src/simpleprng.c common-src/simpleprng.h: add a method to + extract the current seed from the PRNG state + * xfer-src/source-random.c xfer-src/xfer-element.h: add get_seed() + * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg: SWIG it + +2010-01-07 Paul C. Mantz + * installcheck/Amanda_Curinfo.pl: fixed optional dependency on + Text::Diff + +2010-01-07 Paul C. Mantz + * perl/Amanda/Curinfo.pm: perl implementation of server-src/infofile.h + * perl/Amanda/Curinfo/Info.pm: container classes for Amanda::Curinfo + * installcheck/Amanda_Curinfo.pl: installcheck + * perl/Makefile.am installcheck/Makefile.am: makefile additions + +2010-01-06 Dustin J. Mitchell + * ndmp-src/ndma_tape.c: halt on media error + * ndmp-src/ndmp4_translate.c ndmp-src/ndmp4_enum_strs.c + ndmp-src/ndmp4.h ndmp-src/ndmp4.x: remove + NDMP4_MOVER_PAUSE_MEDIA_ERROR and add NDMP4_MOVER_HALT_MEDIA_ERROR + * ndmp-src/ndmp9.h ndmp-src/ndmp9.x: add + NDMP9_MOVER_HALT_MEDIA_ERROR + +2010-01-06 Jean-Louis Martineau + * perl/Makefile.am: add a dependency to run swig if the .pod is modified. + +2010-01-06 Jean-Louis Martineau + * perl/Amanda/NDMP.pod: fix %}. + +2010-01-06 Jean-Louis Martineau + * ndmp-src/amndma_tape_simulator.c: Ignore ftruncate error. + +2010-01-06 Dustin J. Mitchell + * perl/Amanda/NDMP.pod: typo + * perl/Amanda/NDMP.swg: actually include POD + +2010-01-05 Dustin J. Mitchell + * device-src/device.c device-src/device.h: remove conn argument from + read_to_connection and write_from_connection; check for ACCESS_NULL + * device-src/ndmp-device.c: remove conn argument, call use_connection + from accept_impl + * installcheck/Amanda_Device.pl installcheck/Amanda_Xfer.pl + perl/Amanda/Device.pod perl/Amanda/Device.swg restore-src/restore.c + device-src/xfer-dest-taper-directtcp.c: don't supply conn argument, + call use_connection at the appropriate time + +2010-01-05 Dustin J. Mitchell + * device-src/ndmp-device.c: add an eject() implementation + +2010-01-04 Dustin J. Mitchell + * ndmp-src/ndma_robot_simulator.c: increase logging levels, so that + ndmjob does not output logging info to stdout during installchecks + +2010-01-04 Dustin J. Mitchell + * perl/amglue/directtcp.swg: don't use inet_ntoa until in is + initialized + +2010-01-04 Dustin J. Mitchell + * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: remove singleton + pattern and the identifiers that supported it + * device-src/ndmp-device.c: don't worry about idents + * perl/Amanda/Changer/ndmp.pm: don't worry about idents + * perl/Amanda/NDMP.pod perl/Amanda/NDMP.swg: SWIG and document + * installcheck/Amanda_NDMP.pl: change tests + +2010-01-04 Dustin J. Mitchell + * device-src/device.c device-src/device.h: change can_use_connection + to the imperative use_connection + * device-src/ndmp-device.c: implement use_connection + * device-src/xfer-device.h device-src/xfer-dest-taper-directtcp.c + device-src/xfer-dest-taper-splitter.c device-src/xfer-dest-taper.c: + add a use_device method, start_part no longer needs a device + * perl/Amanda/Device.pod perl/Amanda/Device.swg perl/Amanda/Xfer.pod + perl/Amanda/XferServer.swg: SWIG it + * perl/Amanda/Taper/Scribe.pm: call new use_device and start_part + * installcheck/Amanda_Xfer.pl installcheck/taper.pl: test it + +2010-01-04 Dustin J. Mitchell + * installcheck/Makefile.am: conditionalize Amanda_Changer_ndmp tests + on WANT_NDMP + +2010-01-04 Dustin J. Mitchell + * perl/amglue/directtcp.swg: initialize the other struct in_addr by + member name, too (see 2009-12-29) + +2010-01-04 Dustin J. Mitchell + * ndmp-src/ndmpconnobj.c device-src/ndmp-device.c: debugging tweaks + * installcheck/Installcheck/Mock.pm: use chg-ndmp directly + * installcheck/mock/chg-ndmjob.pl: remove + * installcheck/Amanda_Changer_ndmp.pl: new test + * installcheck/Amanda_Device.pl installcheck/Amanda_NDMP.pl + installcheck/Amanda_Xfer.pl installcheck/Makefile.am + installcheck/amrestore.pl installcheck/taper.pl: use chg-ndmp for + tests via I::Mock + * perl/Amanda/Changer/ndmp.pm: open and close the scsi device every + time, process sense data correctly, use correct element addresses + for MOVE MEDIUM + +2010-01-04 Jean-Louis Martineau + * common-src/bsd-security.c, common-src/bsdtcp-security.c, + common-src/bsdudp-security.c: Check service != NULL. + +2010-01-04 Dustin J. Mitchell + * ndmp-src/ndma_comm_session.c ndmp-src/ndma_robot.c + ndmp-src/ndmagents.h ndmp-src/ndmlib.h ndmp-src/ndmos.h + ndmp-src/ndmos_common.c ndmp-src/Makefile.am + ndmp-src/ndma_robot_simulator.c: add robot simulator + * ndmp-src/ndmos_glib.h: use robot simulator + * ndmp-src/scsiconst.h: fix typo + +2009-12-29 Dustin J. Mitchell + * ndmp-src/ndma_tape.c: remove ndmta_belay + * ndmp-src/ndmagents.h ndmp-src/ndmos.h: use + NDMOS_MACRO_TAPE_AGENT_ADDITIONS for tape simulator + +2009-12-29 Dustin J. Mitchell + * perl/Amanda/Taper/Scan/traditional.pm: only open 'current' on the + scan + +2009-12-29 Dustin J. Mitchell + * perl/amglue/directtcp.swg: initialize struct in_addr by member name + +2009-12-29 Dustin J. Mitchell + * installcheck/Makefile.am: sort tests + * installcheck/=setupcache.pl: rename _setupcache so it sorts first + +2009-12-29 Dustin J. Mitchell + * perl/Amanda/Config.swg: fix return type for config_init + * perl/amglue/glib.swg: use PL_sv_yes and PL_sv_no for booleans + +2009-12-24 Charles Curley + * README: rewrite + +2009-12-23 Dustin J. Mitchell + * device-src/s3-device.c: don't set the throttling properties unless + they are nonzero + +2009-12-23 Dustin J. Mitchell + * perl/Makefile.am: only build chg-ndmp when WANT_NDMP + +2009-12-23 Dustin J. Mitchell + * perl/Amanda/Changer/ndmp.pm: set device authentication properties + * perl/Makefile.am: actually include ndmp.pm + * perl/Amanda/Device.pod: doc extended property_get + * man/xml-source/amanda-changers.7.xml: document properties + +2009-12-23 Dustin J. Mitchell + * common-src/fileheader.c: try to generate parsable headers + * perl/Amanda/Header.swg: add default values + * server-src/amrestore.pl: fix typo + * installcheck/amrestore.pl: ndmp-device test (not using directtcp + yet) + +2009-12-23 Dustin J. Mitchell + * device-src/s3.c: recent versions of curl switched from #define + to enum, so #ifdef no longer works; test specific versions + instead + +2009-12-23 Dustin J. Mitchell + * ndmp-src/ndma_ctrl_robot.c: show error messages + +2009-12-23 Dustin J. Mitchell + * installcheck/Amanda_NDMP.pl: work around perl-5.6's bad BigInt + +2009-12-22 Dustin J. Mitchell + * device-src/s3.c: remove debugging info + +2009-12-22 Dustin J. Mitchell + * device-src/s3.c: only including throttling code if the precompiler + symbols are present + +2009-12-22 Dustin J. Mitchell + * device-src/ndmp-device.c: fix TAPEEND handling in seek_file + * installcheck/Amanda_Device.pl: test it + +2009-12-22 Dustin J. Mitchell + * ndmp-src/Makefile.am: compile ndmp-src without warnings again - the + source generated with rpcgen contains constructs that cause + warnings for which earlier gcc's have no -Wno-xxx option + * configure.in: revert disabled warnings + +2009-12-22 Dustin J. Mitchell + * perl/Amanda/NDMP.swg: correct argument size to SWIG_AsCharPtrAndSize + +2009-12-22 Dustin J. Mitchell + * device-src/s3.c device-src/s3.h: add max send and receive speeds + * device-src/s3-device.c: add PROPERTY_MAX_SEND_SPEED and + PROPERTY_MAX_RECV_SPEED + * man/xml-source/amanda-devices.7.xml: document + +2009-12-21 Dustin J. Mitchell + * ndmp-src/Makefile.am configure.in: conditionalize warnings which + are not present on all gcc version + * ndmp-src/amndma_tape_simulator.c ndmp-src/ndma_tape_simulator.c + ndmp-src/ndmjob_main_util.c: fix warnings + * ndmp-src/ndmp9.h ndmp-src/ndmp9.x ndmp-src/ndmp9_xdr.c: unsigned + long long constant should end in 'ull' + +2009-12-21 Dustin J. Mitchell + * installcheck/Amanda_NDMP.pl: add auth parameter here too + +2009-12-21 Dustin J. Mitchell + * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add an auth + parameter with four options + * perl/Amanda/NDMP.pod perl/Amanda/NDMP.swg: SWIG it + * device-src/ndmp-device.c: add NDMP_AUTH property + * man/xml-source/amanda-devices.7.xml: doc it + * perl/Amanda/Changer/ndmp.pm: add NDMP-AUTH property + * man/xml-source/amanda-changers.7.xml: doc it + +2009-12-21 Dustin J. Mitchell + * ndmp-src/Makefile.am: skip some warnings that are endemic to ndmjob + * ndmp-src/*.c: fix warnings, mostly sign differences + +2009-12-21 Dustin J. Mitchell + * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add resid_count + return value to ndmp_connection_tape_mtio + * perl/Amanda/NDMP.pod perl/Amanda/NDMP.swg: SWIG it + * installcheck/Amanda_NDMP.pl: test it + * installcheck/Makefile.am: actually run Amanda_NDMP tests + * device-src/ndmp-device.c: compatible change + +2009-12-21 Dustin J. Mitchell + * man/xml-source/amanda.8.xml: remove amdd + +2009-12-21 Dustin J. Mitchell + + * changer-src/Makefile.am changer-src/chg-rait.sh + changer-src/chg-null.sh: restore deleted files + +2009-12-21 Dustin J. Mitchell + * man/xml-source/amanda-devices.7.xml: update NDMP Device docs + +2009-12-21 Dustin J. Mitchell + * autogen: do not use sed --in-place + +2009-12-20 Dustin J. Mitchell + * man/xml-source/amgetconf.8.xml: fix formatting error by putting + on its own line + +2009-12-18 Dustin J. Mitchell + * installcheck/Installcheck.pm: disable log_test_output on perl-5.6 + +2009-12-18 Dustin J. Mitchell + * perl/Makefile.am perl/Amanda/Changer/ndmp.pm: new changer + * man/xml-source/amanda-changers.7.xml: docs + * perl/Amanda/Changer.pm: better error handling + * perl/Amanda/Changer/robot.pm: changes for subclassing + +2009-12-18 Jean-Louis Martineau + * server-src/driver.c: Don't call validate_optionstr for flush dles. + +2009-12-18 Dustin J. Mitchell + * config/amanda/components.m4: AC_SUBST AMANDA_COMPONENTS + * perl/Amanda/Constants.pm.in: include AMANDA_COMPONENTS + * perl/Amanda/Util.pod perl/Amanda/Util.swg: add built_with_component + * installcheck/Amanda_Device.pl: add ndmp-only tests + * installcheck/Amanda_Xfer.pl: add server-only tests + * installcheck/Amanda_Device_ndmp.pl: remove + * installcheck/Amanda_Xfer_serveronly.pl: remove + * installcheck/Makefile.am: remove files + * installcheck/taper.pl: conditionalize ndmp tests + * perl/Makefile.am: link Amanda::NDMP to libndmlib and libamanda + +2009-12-18 Jean-Louis Martineau + * server-src/amtrmidx.c: Check index entry will all dles using the + same index directory. + +2009-12-17 Jean-Louis Martineau + * perl/Amanda/Changer.pm, perl/Amanda/Changer/compat.pm, + perl/Amanda/Changer/disk.pm, perl/Amanda/Changer/multi.pm, + perl/Amanda/Changer/robot.pm, perl/Amanda/Changer/single.pm, + perl/Amanda/Taper/Scan/traditional.pm, server-src/amtape.pl, + Split the 'inuse' code into 'driveinuse' and 'volinuse'. + * installcheck/Amanda_Changer_compat.pl, + installcheck/Amanda_Changer_disk.pl, + installcheck/Amanda_Changer_multi.pl, + installcheck/Amanda_Changer_rait.pl, + installcheck/Amanda_Changer_robot.pl, + installcheck/Amanda_Changer_single.pl: + Use 'driveinuse' and 'volinuse'. + +2009-12-17 Jean-Louis Martineau + * common-src/conffile.c: etimeout must be positive. + * common-src/protocol.c: Fix possible timeout of 0. + +2009-12-17 Jean-Louis Martineau + * server-src/amcleanup.pl: Use CONTEXT_CMDLINE to get a debug file. + Add a few debugging output. + +2009-12-17 Jean-Louis Martineau + * server-src/amcheckdump.pl: Call $res->release() with a callback. + +2009-12-17 Jean-Louis Martineau + * server-src/amcheck-device.pl, server-src/amcheckdump.pl, + server-src/amrestore.pl, + server-src/amvault.pl: Call $res->set_label after $dev->read_label. + +2009-12-16 Dustin J. Mitchell + * installcheck/Amanda_Changer_robot.pl: fix installchecks + +2009-12-16 Dustin J. Mitchell + * perl/Amanda/Changer/robot.pm: make chg-robot's Interface easier to + subclass + +2009-12-16 Dustin J. Mitchell + * man/xml-source/amanda-changers.7.xml: add docs for old chg-multi, + based on example/chg-multi.conf + +2009-12-15 Dustin J. Mitchell + * device-src/ndmp-device.c: use err_code, instead of err_msg, to + detect an NDMPConnection error + +2009-12-15 Dustin J. Mitchell + * device-src/ndmp-device.c: fix use of ndmp4_* enumerated types + +2009-12-15 Jean-Louis Martineau + * perl/Amanda/Changer/disk.pm: Keep track of pid, automatically remove + drive if the pid is dead. + +2009-12-15 Jean-Louis Martineau + * server-src/diskfile.c: Add validate_optionstr, optionstr and + xml_optionstr no longer do validation.. + * server-src/diskfile.h: Add validate_optionstr, change prototype for + optionstr and xml_optionstr. + * server-src/amadmin.c: Add missing case. + * server-src/amcheck.c, server-src/amindexd.c, server-src/planner.c: + Use validate_optionstr, Change for new *_optionstr prototype. + * server-src/driver.c: Use validate_optionstr. + * server-src/driverio.c: Change for new *_optionstr prototype. + * installcheck/amdump.pl: Check planner error from validate_optionstr. + +2009-12-15 Dustin J. Mitchell + * installcheck/Amanda_NDMP.pl device-src/ndmp-device.c + ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: return an object with + an error set instead of just returning an error from the constructor + * perl/Makefile.am perl/Amanda/NDMP.swg: SWIGging of ndmpconnobj + * perl/Amanda/NDMP.pod: docs for same + +2009-12-15 Dustin J. Mitchell + * ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: add ndmp_scsi_* + +2009-12-15 Dustin J. Mitchell + * perl/amglue/amglue.h: amglue_newSv[iu]64 requires special care + when used in an outgoing typemap, due to stack stomping + * perl/Amanda/Archive.swg perl/Amanda/Config.swg + perl/Amanda/Device.swg perl/Amanda/Util.swg perl/amglue/bigint.c + perl/amglue/integers.swg: exercise care as directed + +2009-12-15 Jean-Louis Martineau + * recover-src/extract_list.c: Wait to parse the header before + confirming destination directory. Unlink files only for GNUTAR + and amgtar. + * client-src/client_util.c: Parse RECOVER-PATH application support + result. + * client-src/client_util.h: Add recover_path_t. + +2009-12-14 Dustin J. Mitchell + * contrib/convert-zd-mtx-to-robot.sh: useful conversion script + * NEWS man/xml-source/amanda-changers.7.xml: mention conversion script + * perl/Amanda/Changer/robot.pm: allow spaces between times and units + +2009-12-14 Jean-Louis Martineau + * server-src/amtape.pl: Call $res->set_label after reading a label. + +2009-12-13 Dustin J. Mitchell + * server-src/taper.pl: put header socket in blocking mode + +2009-12-11 Jean-Louis Martineau + * perl/Amanda/Process.pm: Remove unneded 'use'. + * perl/Makefile.am: Build Amanda::Process on client. + +2009-12-11 Jean-Louis Martineau + * perl/Amanda/Changer/disk.pm: 'next' always set current_slot. + +2009-12-11 Jean-Louis Martineau + * perl/Amanda/Changer/multi.pm: New changer. + * perl/Makefile.am: Build Amanda::Changer::multi + * man/xml-source/amanda-changers.7.xml: Document Amanda::Changer::multi + * installcheck/Amanda_Changer_multi.pl: installcheck for multi. + * installcheck/Makefile.am: build and test Amanda_Changer_multi. + * perl/Amanda/Util.swg: Add is_pid_alive. + * perl/Amanda/Util.pod: Document is_pid_alive. + +2009-12-11 Jean-Louis Martineau + * server-src/amstatus.pl: Use wrong indice. + * server-src/driver.c: run POST_HOST_BACKUP scripts for all hosts. + +2009-12-11 Dustin J. Mitchell + * perl/Amanda/Taper/Scribe.pm server-src/taper.pl: support DirectTCP + * server-src/driverio.c: do not send datapath to taper + * installcheck/Amanda_Taper_Scribe.pl installcheck/taper.pl: test DirectTCP + * installcheck/amfetchdump.pl installcheck/amrestore.pl: handle + changed on-tape format + * installcheck/Amanda_Xfer_serveronly.pl: fix cleanup + * ndmp-src/ndma_tape.c: fix typos + * NEWS: document behavior changes + +2009-12-11 Jean-Louis Martineau + * server-src/chunker.c server-src/diskfile.c server-src/diskfile.h + server-src/driver.c server-src/driverio.c server-src/dumper.c + server-src/taper.pl: Change protocol between chunker/taper and dumper: + "PORT header_port data_host:data_port", and dumper sends the header + completely before sending the data + +2009-12-10 Dustin J. Mitchell + * ndmp-src/ndmpconnobj.c: fix uninitialized variable + +2009-12-10 Dustin J. Mitchell + * device-src/xfer-device.h device-src/xfer-dest-taper-directtcp.c + device-src/Makefile.am: new class + * perl/Amanda/Xfer.pod perl/Amanda/XferServer.swg: SWIG and document + * installcheck/Amanda_Xfer_serveronly.pl: tests + * perl/amglue/directtcp.swg: return undef for null addrs array + * xfer-src/xmsg.h xfer-src/xmsg.c perl/Amanda/Xfer.swg : add XMSG_READY + +2009-12-10 Dustin J. Mitchell + * device-src/ndmp-device.c: finish reading, writing, and directtcp implementation + * ndmp-src/ndmpconnobj.h ndmp-src/ndmpconnobj.c: add methods and args + * installcheck/Amanda_Device_ndmp.pl: new tests + +2009-12-10 Dustin J. Mitchell + * xfer-src/element-glue.c: element-glue shouldn't complain when the + xfer's already been cancelled + +2009-12-09 Dustin J. Mitchell + * ndmp-src/ndma_comm_dispatch.c ndmp-src/ndma_tape.c: set record_num + according to the spec (even though it's inconsistent) + +2009-12-09 Dustin J. Mitchell + * ndmp-src/ndma_comm_dispatch.c: follow the spec regarding window + offset+length = G_MAXUINT64 + +2009-12-09 Dustin J. Mitchell + * ndmp-src/ndma_tape.c: properly update bytes_moved when reading to + connection + +2009-12-09 Dustin J. Mitchell + * ndmp-src/ndma_comm_dispatch.c ndmp-src/ndma_tape.c + ndmp-src/ndmagents.h: make mover seek to correct block number + +2009-12-09 Dustin J. Mitchell + * common-src/simpleprng.c: better error message from simpleprng on + random number mismatch + * common-src/simpleprng.h: simpleprng_state_t is now a real struct + * xfer-src/dest-null.c: no need to give buffer offset anymore + +2009-12-08 Jean-Louis Martineau + * recover-src/extract_list.c: Fix for GNUTAR/DUMP. + * restore-src/restore.c: Fix DATA-PATH excahnge with amrecover for + reading from a holding disk. + +2009-12-08 Jean-Louis Martineau + * device-src/device.c, device-src/device.h: + Add device_unaliassed_name function. + * perl/Amanda/Device.swg: Add unaliassed_name function. + +2009-12-07 Jean-Louis Martineau + * restore-src/restore.c: Fix read_to_connection argument. + +2009-12-07 Dustin J. Mitchell + * ndmp-src/ndmagents.h: use PATH_MAX for drive_name; remove + unnecessary include + +2009-12-07 Dustin J. Mitchell + * common-src/directtcp.h: mention IP byte order + * perl/amglue/directtcp.swg device-src/device.c device-src/device.h + perl/Amanda/Device.swg: use guint64 instead of gsize for read/write + lengths; directtcp_supported is a boolean class attribute instead of a + method; listen takes a for_writing argument; SWIG directtcp methods + * perl/Amanda/Device.pod: document LEOM handling, new methods + * device-src/directtcp-connection.c: call parent's finalize + * restore-src/restore.c: pass correct for_writing to listen + +2009-12-07 Dustin J. Mitchell + * ndmp-src/ndma_tape_simulator.c: use g_strlcpy to be safe + * ndmp-src/ndmagents.h: expand drive_name to 256 bytes + +2009-12-07 Dustin J. Mitchell + * ndmp-src/Makefile.am ndmp-src/ndmpconnobj.c ndmp-src/ndmpconnobj.h: + new class to encapsulate all of the NDMP transactions without + requiring weird precompiler macros + +2009-12-07 Dustin J. Mitchell + * ndmp-src/ndma_tape_simulator.c: fix buffer overflow in NDMJOB code + triggered by long filenames in buildbots + +2009-12-07 Dustin J. Mitchell + * xfer-src/element-glue.c: one more uninitialized variable + +2009-12-07 Jean-Louis Martineau + * device-src/device.h, device-src/device.c, + man/xml-source/amanda-changers.7.xml, perl/Amanda/Device.pod + perl/Amanda/Device.swg: Add an eject method to the device-api. + * device-src/tape-device.c, device-src/tape-ops.h, + device-src/tape-posix.c, device-src/tape-uware.c, + device-src/tape-aix.c, + device-src/tape-xenix.c: Implement eject method. + * perl/Amanda/Changer/robot.pm: Use new eject method. + +2009-12-07 Dustin J. Mitchell + * device-src/dvdrw-device.c: fix uninitialized variable, don't use + G_DEFINE_DEVICE + +2009-12-07 Dustin J. Mitchell + * xfer-src/element-glue.c: fix uninitialized use of variable + +2009-12-07 Dustin J. Mitchell + * xfer-src/element-glue.c xfer-src/element-glue.h: full glue for + XFER_MECH_DIRECTTCP_LISTEN (source reorganized) + * xfer-src/xfer-test.c: tests for same + * xfer-src/dest-directtcp-connect.c perl/Amanda/Xfer.pod + perl/Amanda/Xfer.swg: new class + * xfer-src/source-directtcp-listen.c: bugfix + * xfer-src/xfer-element.c xfer-src/xfer-element.h xfer-src/xfer.c + xfer-src/xfer.h: reorganize xfer error handling, fix ref leaks + * common-src/testutils.c: support for leak-checking + * xfer-src/dest-buffer.c xfer-src/dest-null.c + server-src/xfer-source-holding.c device-src/xfer-dest-device.c + device-src/xfer-dest-taper-splitter.c device-src/xfer-source-device.c + device-src/xfer-source-taper.c: use revised error-handling + * perl/amglue/source.c: fix refcount problem + * xfer-src/Makefile.am: new files + +2009-12-07 Dustin J. Mitchell + * installcheck/mock/chg-ndmjob.pl installcheck/Installcheck/Mock.pm + installcheck/Makefile.am: new mock changer for ndmjob + * ndmp-src/ndma_tape_simulator.c ndmp-src/ndmagents.h + ndmp-src/ndmjob.h ndmp-src/ndmjob_args.c: add EOM (both LEOM and + PEOM) support to the tape simulator + +2009-12-07 Sam Couter + * AUTHORS: add Sam to AUTHORS + * device-src/device.c device-src/Makefile.am + device-src/dvdrw-device.c: new dvd-rw device + * configure.in config/amanda/dvdrw-device.m4: config + for it + * device-src/vfs-device.c device-src/vfs-device.h: enable + subclassing of VFS device + * man/xml-source/amanda-devices.7.xml: documentation + * server-src/amcheck-device.pl: add usage() sub + +2009-12-07 Sam Couter + * man/Makefile.am man/xml-source/*: fix documentation so out-of-tree + builds work + +2009-12-07 Jean-Louis Martineau + * client-src/calcsize.c: fix check_running_as. + +2009-12-06 Dustin J. Mitchell + * client-src/client_util.c: revert previous change + +2009-12-05 Sam Couter + * client-src/client_util.c: Free correct memory + +2009-12-05 Dustin J. Mitchell + * config/automake/scripts.am: remove unnecessary -T + * perl/Amanda/BigIntCompat.pm: remove unused $stringify + +2009-12-04 Jean-Louis Martineau + * server-src/amcheck.c: Give error if pre-host-backup or + post-host-backup are executed on client. + * man/xml-source/amanda.conf.5.xml: Document it. -2006-07-06 John Franks - * common-src/genversion.c: - Remove reference to error(). This causes a compile - error on cygwin. - -2006-07-06 Jean-Louis Martineau - Klocwork bug 128, 170, 182, 470, 517 - * changer-src/chg-scsi.c: Validate drivenum, check count_file. - * client-src/sendsize.c: Validate level. - * oldrecover-src/amrecover.c: Use tm. - * recover-src/amrecover.c: Use tm. - * server-src/infofile.c (delete_txinfofile): Use local variable. - -2006-07-06 Jean-Louis Martineau - * server-src/taper.c: Check for cur_filename. - * tape-src/output-file.c: Use vstrextend. - * tape-src/tapeio.c: Check for r. - -2006-07-06 Jean-Louis Martineau - Fix splint warning - * oldrecover-src/extract_list.c (clean_tape_list): Cleanup for splint. - * recover-src/extract_list.c (clean_tape_list): Cleanup for splint. - * server-src/amindexd.c: Add a /*@i@*/. - * server-src/conffile.c: Cast to off_t for conf_init_am64. - * server-src/driver.c: Cast to unsigned to print pid_t. - * server-src/find.c (strip_failed_chunks): Cleanup for splint. - -2006-07-06 Jean-Louis Martineau - Klocwork bug 114 - * server-src/amindexd.c: Free their_feature_string. - Klocwork bug 130 - * restore-src/amrestore.c: Test maximum value for rst_flags->blocksize. - Klocwork bug 294 - * common-src/genversion.c: Check NULL result of malloc. - Klocwork bug 294 - * client-src/selfcheck.c: Check NULL result of fdopen. - Klocwork bug 539, 542 - * oldrecover-src/extract_list.c: Fix pfn2->next = fn2. - * recover-src/extract_list.c : Ditto - Klocwork bug 268, 272, 543, 544 - * oldrecover-src/extract_list.c: Check for cmd != NULL. - * recover-src/extract_list.c : Ditto - Klocwork bug 510 - * restore-src/amidxtaped.c: Check for argv != NULL. - Klocwork bug 435 - * changer-src/scsi-linux.c: Make buffer one larger. - Klocwork bug 520 - * changer-src/scsi-changer-driver.c (OpenDevice): Validate parameters. - Klocwork bug 182 - * changer-src/chg-scsi.c (clean_tape): Check usagetime != NULL. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 551 - * regex-src/regcomp.c (allocset): Check for p->g->sets - and p->g->setbits - -2006-07-05 Jean-Louis Martineau - Klocwork bug 169, 170, 181 - * changer-src/chg-scsi.c: Validate input. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 282 - * common-src/file.c (rmpdir): Check for p == NULL. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 524 - * common-src/dgram.c (dgram_send_addr): Set addr_save earlier. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 495 - * server-src/taper.c (file_reader_side): Maximum value for - fallback_splitsize. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 532 - * recover-src/display_commands.c: Check for cmd != NULL. - * oldrecover-src/display_commands.c: Ditto - -2006-07-05 Jean-Louis Martineau - Klocwork bug 410 - * restore-src/restore.c (restore): Check for tmp_filename. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 234 - * server-src/driver.c: Check for h and activehd >= 0. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 338 and 390 - * server-src/reporter.c (handle_partial, handle_strange): Check result - of handle_success. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 558 - * client-src/selfcheck.c (check_options, check_disk): Check for - calcprog == NULL - -2006-07-05 Jean-Louis Martineau - Klocwork bug 521 - * client-src/clientconf.c (add_client_conf): Check result of realloc. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 447 and 449 - * restore-src/restore.c: Check for valid sendbackup request. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 407 - * restore-src/restore.c (restore): Set statinfo.st_size. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 189 - * common-src/file.c (sanitise_filename): Never return NULL. - -2006-07-05 Jean-Louis Martineau - * amandad-src/Makefile.am: Remove tape-src and libamtape. - * client-src/Makefile.am: Remove tape-src and libamtape. - * man/Makefile.am: Cleanup. - * oldrecover-src/Makefile.am: Remove tape-src and libamtape. - * recover-src/Makefile.am: Remove tape-src and libamtape. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 236 - * server-src/driver.c (handle_dumper_result): Check for - dumper->ev_read != NULL. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 553 - * restore-src/restore.c (search_a_tape): Check for desired_tape == NULL. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 556 and 557 - * common-src/security-util.c (bsd_recv_security_ok): Check result of - strtok, check service == NULL. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 161 - * client-src/calcsize.c (calc_load_file): Return NULL if fopen fail. - * client-src/calcsize.c (main): check NULL result from calc_load_file. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 84 - * server-src/amflush.c (main): Check return of lookup_disk. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 62, 85, 459, 463, 466, 469, 555, 559 - * common-src/security-util.c: Check result of fdopen. - * client-src/sendsize.c : Ditto. - * server-src/amcheck.c : Ditto. - * server-src/amflush.c : Ditto. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 159, 375, 377, 379, 508, 509, 513, 519 - * common-src/bsd-security.c: Replace malloc by alloc. - * common-src/bsdudp-security.c: Ditto - * common-src/genversion.c: Ditto - * recover-src/amrecover.c: Ditto - * restore-src/amidxtaped.c: Ditto - * server-src/reporter.c: Ditto - -2006-07-05 Jean-Louis Martineau - Klocwork bug 562 and 475 - * recover-src/set_commands.c (cd_dir): Check result of rindex. - * oldrecover-src/set_commands.c (cd_dir): ditto. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 552 - * restore-src/restore.c (load_manual_tape): Alloc space for cur_tapedev. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 406 - * restore-src/restore.c (restore): Check for final_filename. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 318 - * server-src/list_dir.c (add_dir_list_item): Check for cur_list->next. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 17, 32 - * server-src/amadmin.c (disklist_one): Check localtime return NULL. - * server-src/amadmin.c (info_one) : Ditto. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 2, 83, 128, 384, 478, 504, 505, 506, 517, 566, 567 - * server-src/amadmin.c (seqdatestr): Check localtime return NULL. - * common-src/util.c (construct_datestamp, construct_timestamp, - conf_print): Ditto. - * oldrecover-src/amrecover.c (main): Ditto. - * oldrecover-src/uscan.l (ll_parse_date): Ditto. - * recover-src/amrecover.c (main): Ditto. - * recover-src/uscan.l (ll_parse_date): Ditto. - * server-src/amflush.c (main): Ditto. - * server-src/reporter.c (handle_success): Ditto. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 470 - * client-src/sendsize.c (add_diskest): Check for level value. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 372 - * server-src/reporter.c (nicedate): Check month value. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 20 - * server-src/amadmin.c (tape): Limit nb_days to 10000. - -2006-07-05 Jean-Louis Martineau - Klocwork bug 21 - * server-src/amadmin.c (balance): Test 'later' after it is set. - -2006-07-05 Jean-Louis Martineau - * common-src/alloc.c (internal_vstralloc): Don't return NULL. - -2006-07-05 Jean-Louis Martineau - * server-src/infofile.c (open_txinfofile): Use local variable. - -2006-06-29 Jean-Louis Martineau - * restore-src/restore.c (label_of_current_slot): Close the tapefd if - the label mismatch. - -2006-06-29 Jean-Louis Martineau - * server-src/find.c (strip_failed_chunks): - - Get a **output_find as parameter. - - Check the label before remove a valid chunk. - - Memory management fix. - -2006-06-28 Jean-Louis Martineau - * common-src/security-util.c: Improve message for .amandahosts. - -2006-06-27 Ian Turner - * common-src/fileheader.c: Fix a bug where spanned dumps would - always fail. - -2006-06-27 Jean-Louis Martineau - * server-src/amcheck.c: Fix test for holdingdisk negative size. - -2006-06-27 Jean-Louis Martineau - * configure.in: Don't set DEFAULT_TAPE_DEVICE if it is not set. - * client-src/clientconf.c: Work DEFAULT_TAPE_DEVICE not set. - * common-src/genversion.c: Work DEFAULT_TAPE_DEVICE not set. - * recover-src/amrecover.c: Work DEFAULT_TAPE_DEVICE not set. - * server-src/getconf.c: Work DEFAULT_TAPE_DEVICE not set. - -2006-06-27 Jean-Louis Martineau - Patch by Paul Bijnens - * server-src/amcheck.c: Check for access(hdp->diskdir, X_OK). - -2006-06-27 Jean-Louis Martineau - * server-src/conffile.c (getconf_byname): Check for kt->keyword != NULL. - * client-src/clientconf.c (client_getconf_byname): Ditto - -2006-06-22 Jean-Louis Martineau - * recover-src/extract_list.c: check_file_overwite. - -2006-06-22 Jean-Louis Martineau - * recover-src/extract_list.c: Do the cleanup of the extract list - at the extraction time - * oldrecover-src/extract_list.c: Ditto. - -2006-06-22 Jean-Louis Martineau - * NEWS: Add new features. - * ReleasesNotes: New files. - -2006-06-22 Jean-Louis Martineau - * docs/Makefile.am (pkgdata_DATA): Add amaespipe.8.txt amcrypt.8.txt - amcrypt-asym-ossl.8.txt amcrypt-ossl.8.txt amfetchdump.8.txt - * docs/amaespipe.8.txt: New file. - * docs/amcrypt.8.txt: New file. - * docs/amcrypt-asym-ossl.8.txt: New file. - * docs/amcrypt-ossl.8.txt: New file. - * docs/amfetchdump.8.txt: New file. - -2006-06-22 Jean-Louis Martineau - * docs/Makefile.am (pkgdata_DATA): Add howto-auth.txt. - * docs/howto-auth: Documentation on auth. - * docs/*.txt: Update from xml-docs - -2006-06-22 Jean-Louis Martineau - * man/xml-source/amanda.conf.5.xml: Add notes about bsdudp and bsdtcp. - * man/xml-source/amanda-client.conf.5.xml: Ditto. - -2006-06-22 Jean-Louis Martineau - * recover-src/extract_list.c (is_empty_dir): New function. - * recover-src/extract_list.c: Print a warning if cwd is not empty. - -2006-06-22 Jean-Louis Martineau - * server-src/amadmin.c: Allow 'p' and 'P' in --sort argument. - -2006-06-22 Jean-Louis Martineau - * server-src/amadmin.c: Print errstr returned by match_disklist. - * server-src/amcheck.c: Print errstr returned by match_disklist. - * server-src/amflush.c: Print errstr returned by match_disklist. - * server-src/diskfile.c (match_disklist): Return an error str. - * server-src/diskfile.h (match_disklist): New prototype. - * server-src/planner.c: Print errstr returned by match_disklist. - * server-src/reporter.c: Accept host/disk as arguments. - -2006-06-22 Jean-Louis Martineau - * server-src/amindexd.c (uncompress_file): Set LC_ALL=C before - executing sort. - -2006-06-22 Jean-Louis Martineau - * server-src/driver.c (wait_children, kill_children): New function. - * server-src/driver.c (wait_for_children): Use wait_children and - kill_children. - * server-src/driver.c (main): Use wait_children. - * server-src/driverio.c (taper_cmd, chunker_cmd): Close socket on QUIT - or ABORT command. - -2006-06-22 Jean-Louis Martineau - * common-src/amfeatures.c (am_init_feature_set): Set - fe_amrecover_feedme_tape. - * common-src/amfeatures.h (fe_amrecover_feedme_tape): New amfeatures. - * common-src/fileheader.c (print_header): Fix. - * recover-src/extract_list.c: Use fe_amrecover_feedme_tape. - * restore-src/amfetchdump.c: Print error if get_lock == 0. - * restore-src/amidxtaped.c: Call send_message if get_lock == 0. - * restore-src/restore.c: Split search_tapes in 5 functions. - * restore-src/restore.h (send_message): prototype. - -2006-06-22 Jean-Louis Martineau - * man/xml-source/amfetchdump.8.xml: Document -O and new -o. - * restore-src/amfetchdump.c: Replace -o by -O - -2006-06-22 Jean-Louis Martineau - * client-src/clientconf.c (parse_client_conf): Fix segmentation fault. - * server-src/conffile.c (parse_server_conf): Fix segmentation fault. - -2006-06-21 Kevin Till - * changer-src/chg-juke.sh.in - * changer-src/chg-manual.sh.in - * changer-src/chg-mcutil.sh.in - * changer-src/chg-multi.sh.in - * changer-src/chg-mtx.sh.in - * changer-src/chg-rait.sh.in - * changer-src/chg-disk.sh.in - * changer-src/chg-zd-mtx.sh.in - * changer-src/chg-null.sh.in - * changer-src/chg-chs.sh.in - * client-src/patch-system.sh.in - * amplot/amplot.sh.in - * server-src/amcrypt-ossl.sh.in - * server-src/amrmtape.sh.in - * server-src/amcleanup.sh.in - * server-src/amverifyrun.sh.in - * server-src/amaespipe.sh.in - * server-src/amdump.sh.in - * server-src/amcrypt.sh.in - * server-src/amcrypt-ossl-asym.sh.in - * server-src/amcheckdb.sh.in - * server-src/amfreetapes.sh.in - * server-src/amverify.sh.in - change /bin/sh to @SHELL@ for configure to pick up the correct - shell. Sourceforge bug 1466655 - * man/xml-source/amcrypt-ossl-asym.8.xml: it's backup-privkey.pem - -2006-06-20 Kevin Till - * common-src/security-util.c: ignore EINTR in net_writev - patch by Jean-Louis Martineau. - -2006-06-20 John Franks - * server-src/conffile.c: - Remove Duplicate keyword table entries and alphabetize - to make future duplicates easier to spot... - - * server-src/taper.c: - Fix compiler warnings when no mmap function is present. - -2006-06-20 John Franks - * server-src/diskfile.c: - Default boolean values without parameters to yes if - no value is present in configuration file. This - maintains backward compatibility and is logical since - a value such as "index" reads as an assertion of fact. - -2006-06-19 Jean-Louis Martineau - * docs/wishlist.txt: Remove features done in 2.5.0/2.5.1 - -2006-06-19 Jean-Louis Martineau - * man/xml-source/amanda.conf.5.xml: amrecover_check_label and - amrecover_do_fsf default to yes. - * server-src/conffile (init_dumptype_defaults): DUMPTYPE_INDEX set to 1. - * server-src/diskfile.c (parse_diskline): index set from - dumptype_get_index. - -2006-06-16 Jean-Louis Martineau - * server-src/amstatus.pl.in: Match quotes in DONE line. - -2006-06-16 Kevin Till - * example/amanda-client.conf.in: - correct DEFAULT_TAPE_SERVER/DEFAULT_SERVER - * server-src/amcrypt-ossl-asym.sh.in: - set RANDFILE for openssl to place entropy file. - * server-src/amcrypt-ossl.sh.in: ditto - -2006-06-16 Jean-Louis Martineau - * amandad-src/amandad.c : Use strcasecmp to compare auth. - * client-src/selfcheck.c : Ditto - * client-src/sendbackup.c : Ditto - * restore-src/amidxtaped.c: Ditto - * server-src/amindexd.c : Ditto - -2006-06-16 Jean-Louis Martineau - * server-src/amindexd.c (reply, lreply, fast_lreply): Correct use - of arglist_start and arglist_end.. - * server-src/amindexd.c (lreply_backend): Remove function. - -2006-06-16 Jean-Louis Martineau - * common-src/bsd-security.c (stream_read_callback): Send error to the - callback. - -2006-06-16 Jean-Louis Martineau - * recover-src/extract_list.c: Typo. - * restore-src/restore.c: Typo. - -2006-06-16 Jean-Louis Martineau - * client-src/clientconf.c: Allow include. - * client-src/clientconf.c (read_confline): Don't crash. - * server-src/conffile.c (read_confline): Don't crash. - * recover-src/amrecover.c: Exit if error in conf file. - -2006-06-16 Jean-Louis Martineau - * common-src/arglist.h: Typo. - * recover-src/extract_list.c: handle MESSAGE from amidxtaped. - -2006-06-16 Jean-Louis Martineau - * common-src/amfeatures.c (am_init_feature_set): Set - fe_amrecover_message. - * common-src/amfeatures.h (am_feature_e): Add fe_amrecover_message. - * common-src/arglist.h (printf_arglist_function3): Prototype. - -2006-06-16 Jean-Louis Martineau - * restore-src/restore.c (send_message): New function that send message - to stderr and/or amrecover. - * restore-src/restore.c: Call send_message on some error path. - -2006-06-16 Jean-Louis Martineau - * common-src/event.c (event_loop_wait, event_wait): Take an - event_handle_t * as parameter. - * common-src/event.h: New prototype. - * common-src/bsd-security.c: Call event_wait(bs->ev_read). - * common-src/krb4-security.c: Call event_wait(ks->ev_read). - * common-src/krb5-security.c: Call event_wait(ks->ev_read). - * common-src/security-util.c: Call event_wait(ss->ev_read). - -2006-06-15 Kevin Till - * man/xml-source/amcrypt-ossl-asym.8.xml: it's .am_passphrase - * server-src/amcrypt-ossl-asym.sh.in: export PATH - * server-src/amcrypt-ossl.sh.in: export PATH - - -2006-06-15 Jean-Louis Martineau - * server-src/amcheck.c: -w doesn't change the test selection. - * man/xml-source/amcheck.8.xml - -2006-06-15 Jean-Louis Martineau - * server-src/planner.c: Log empty disklist and no DLE selected. - -2006-06-14 Jean-Louis Martineau - * common-src/bsd-security.c: Use %u to print in_port_t data. - * common-src/bsdudp-security.c: Ditto. - -2006-06-14 Jean-Louis Martineau - * changer-src/chg-disk.sh.in: Return the number of slot in output of - the -info command. - * changer-src/chg-zd-mtx.sh.in: Ditto. - -2006-06-14 Jean-Louis Martineau - * changer-src/chg-zd-mtx.sh.in: Accept changerfile that already - have the .conf suffix. - -2006-06-13 Jean-Louis Martineau - * amandad-src/amandad.c (s_ackwait): Resend the REP on receive of a - duplicate REQ. - -2006-06-13 Jean-Louis Martineau - * common-src/security-util.c (bsd_recv_security_ok): Set error only - if we get an error. - -2006-06-12 Jean-Louis Martineau - * server-src/driver.c: usetimestamps is a warning. - -2006-06-12 Kevin Till - * common-src/security-util.c: if host is 127.0.0.1 and either - localhost or localhost.domain is in .amandahost, hostmatch passes. - * common-src/security-util.h: update check_user_amandahosts prototype - -2006-06-12 Jean-Louis Martineau - * amandad-src/amandad.c (process_writenetfd): Close the pipe if the - security_stream is closed. - * recover-src/extract_list.c: Improve message if we don't get thei - FEATURE line from amidxtaped. - -2006-06-12 Jean-Louis Martineau - * recover-src/amrecover.c: Read amanda-client.conf and - /amanda-client.conf. - -2006-06-12 Jean-Louis Martineau - * common-src/security-util.c, common-src/tapelist.c, - restore-src/restore.c, server-src/amcheck.c, server-src/amindexd.c, - server-src/amtape.c, server-src/changer.c, server-src/driver.c, - server-src/planner.c, server-src/taper.c, - server-src/taperscan.c: Fix memory leak. - -2006-06-12 Jean-Louis Martineau - * restore-src/restore.c: Fix Adding at end of list. - -2006-06-12 Jean-Louis Martineau - * server-src/taper.c (syncpipe_putstr): Don't crash if str is NULL. - -2006-06-09 Jean-Louis Martineau - * server-src/holding.c (pick_datestamp): Fix reading user input. - -2006-06-09 Jean-Louis Martineau - * recover-src/amrecover.c (sigint_handler): Call send_command only if - amindexd is alive. - -2006-06-09 Jean-Louis Martineau - * common-src/util.c (connect_port): ETIMEDOUT is a fatal error. - -2006-06-09 Jean-Louis Martineau - * common-src/stream.c (stream_client_internal): Get errno set - correctly. - * server-src/driver.c (handle_chunker_result): Don't assert(0) on - receive of a TRYAGAIN from a chunker, but set - chunker->result. - * server-src/dumper.c: Try gethostbyname("localhost") before calling - stream_client and log appropriate message. - -2006-06-09 Jean-Louis Martineau - * server-src/amcheck.c: Report ERROR if gethostbyname("localhost") - doesn't succeed. - -2006-06-08 Jean-Louis Martineau - * client-src/clientconf.c (add_client_conf): New function to map - normal option to their - -o equivalent. - * client-src/clientconf.h (add_client_conf): Prototype. - * man/xml-source/amrecover.8.xml: Document -o. - * recover-src/amrecover.c: Also read /amanda-client.conf - -2006-06-08 Jean-Louis Martineau - * server-src/diskfile.c (parse_diskline): Only return 0 or -1. - -2006-06-08 Jean-Louis Martineau - * amandad-src/amandad.h (g_option_t): Add auth. - * amandad-src/amandad_util.c (init_g_options): Set auth to NULL. - * amandad-src/amandad_util.c (parse_g_options): Parse auth. - * amandad-src/amandad_util.c (free_g_options): Free auth. - * client-src/sendbackup.c: Get amandad_auth from command line and - compare with REQ packet. - * common-src/amfeatures.h (fe_amindexd_options_hostname, - fe_amindexd_options_features, - fe_amindexd_options_auth, - fe_amidxtaped_options_hostname, - fe_amidxtaped_options_features, - fe_amidxtaped_options_auth): New amfeatures. - * common-src/amfeatures.c (am_init_feature_set): Set new amfeatures. - * recover-src/amrecover.c: Send auth in OPTIONS of req packet. - * recover-src/extract_list.c: Send auth in OPTIONS of req packet. - * restore-src/amidxtaped.c: Parse amandad_auth from command line. - Get auth from OPTIONS line. - Compare them. - * server-src/amindexd.c: Parse amandad_auth from command line. - Get auth from OPTIONS line. - Compare them. - -2006-06-08 Jean-Louis Martineau - * common-src/util.c(connect_port): Return -2 on ECONNREFUSED error - from connect. - -2006-06-07 Jean-Louis Martineau - * amandad-src/amandad.c: exec the service with the auth as parameter. - * amandad-src/amandad.c(writebuf): Do no close fd. - * client-src/selfcheck.c: Read the auth for the command line and - compare with the option string. - * client-src/selfcheck.c(main): Do no close 0,1,2 fd. - -2006-06-07 Jean-Louis Martineau - * man/xml-source/amanda.8.xml(CONFIGURATION OVERWRITE): New section. - * man/xml-source/amadmin.8.xml, man/xml-source/amcheck.8.xml, - man/xml-source/amdump.8.xml, man/xml-source/amflush.8.xml, - man/xml-source/amgetconf.8.xml, man/xml-source/amlabel.8.xml, - man/xml-source/amreport.8.xml, - man/xml-source/amrestore.8.xml: Add -o option. - -2006-06-07 Jean-Louis Martineau - * common-src/util.c(get_conftoken): Merge from zmanda. - -2006-06-07 Jean-Louis Martineau - * common-src/util.c(get_conftoken): Remove a conftoken_ungetc. - -2006-06-07 Jean-Louis Martineau - * common-src/bsd-security.c (stream_read_callback): Merge with zmanda. - -2006-06-07 Jean-Louis Martineau - * amandad-src/amandad.c(process_writenetfd): Call security_stream_read - only if size > 0. - -2006-06-07 Jean-Louis Martineau - * server-src/conffile.c (lookup_interface): Fix merge error. - -2006-06-07 John Franks - * common-src/amanda.h: - Fix isnormal() replacement macro to indirectly - check if a floating point value is != 0.0. - This prevents compiler warnings. - -2006-06-07 John Franks - * common-src/util.c - Put in "/* NOTREACHED */" comments after error() calls. - * server-src/diskfile.c - Change disktype index default to yes for backward compatibility. - -2006-06-06 John Franks - * amandad-src/amandad.c common-src/bsd-security.c: - Correct fix for infinite amandad loop. - -2006-06-06 John Franks - * common-src/stream.c common-src/util.c: - Lint clean again. - * server-src/conffile.c: - Remove replicated line - -2006-06-06 Jean-Louis Martineau - * common-src/util.c (conftoken_ungetc): Return the character. - * common-src/util.c (get_conftoken): Merge to allow escape character. - * common-src/util.c (read_block): Allow STRING as IDENT. - * server-src/conffile.c (getconf_long, getconf_size): New function. - * server-src/conffile.c: Cleanup after Merge. - -2006-06-06 Jean-Louis Martineau - * server-src/amadmin.c, server-src/amcheck.c, server-src/amflush.c, - server-src/amlabel.c, server-src/amlogroll.c, server-src/amtrmidx.c, - server-src/amtrmlog.c, server-src/getconf.c, - server-src/reporter.c: Usage -o - * server-src/amflush.c, server-src/amlogroll.c, server-src/amtrmidx.c, - server-src/amtrmlog.c, server-src/chunker.c, server-src/driver.c, - server-src/dumper.c, server-src/getconf.c, server-src/planner.c, - server-src/reporter.c, - server-src/taper.c: Add call to report_bad_conf_arg. - * server-src/conffile.c(get_comprate, get_compress): Parse CONF_END. - -2006-06-06 John Franks - * configure.in: - Increase checking level from 1 to 2 for SUN lint. - * client-src/amandates.c client-src/clientconf.c - common-src/security-util.c recover-src/amrecover.c - recover-src/extract_list.c regex-src/regcomp.c server-src/amcheck.c - server-src/amlabel.c server-src/chunker.c server-src/conffile.c - server-src/conffile.h server-src/diskfile.c server-src/diskfile.h - server-src/driver.c server-src/holding.c server-src/reporter.c - server-src/tapefile.c server-src/taper.c tape-src/amdd.c: - Lint clean again. - * common-src/util.h common-src/util.c: - Lint clean again. - Add missing conftype size. - * common-src/bsd-security.c - Fix infinte loop which consumes all /tmp space and 1/2 - the CPU time when EOF is reached on socket. - -2006-06-05 Paddy Sreenivasan - * common-src/util.c: Fix warning - -2006-06-05 Jean-Louis Martineau - * restore-src/amfetchdump.c, server-src/amcheck.c, - server-src/amcheckdb.sh.in, server-src/amcleanup.sh.in, - server-src/amdump.sh.in, server-src/amflush.c, - server-src/amlabel.c, server-src/amlogroll.c, - server-src/amtrmidx.c, server-src/amtrmlog.c, - server-src/chunker.c, server-src/conffile.c, - server-src/diskfile.c, server-src/driver.c, - server-src/driverio.c, server-src/dumper.c, - server-src/getconf.c, server-src/planner.c, - server-src/reporter.c, server-src/taper.c, - server-src/taperscan.c: Allow -o options and some memory fix. - * server-src/conffile.c(lookup_dumptype, lookup_tapetype, - lookup_interface): Use strcasecmp. - -2006-06-02 Jean-Louis Martineau - * common-src/stream.c (stream_client_internal): Use connect_portrange. - * common-src/util.c (connect_portrange): First, try to connect with a - port already used. - * common-src/util.c (connect_port): Try to connect with a specific port. - * common-src/util.h: Cleanup. - -2006-06-02 Jean-Louis Martineau - * server-src/reporter.c: Remove empty if. - -2006-06-02 Jean-Louis Martineau - * common-src/util.c (read_block): Don't read CONF_NL aftre the '{'. - * server-src/conffile.c(get_holdingdisk, get_tapetype, get_interface): - Read a CONF_NL after the call to read_block. - * server-src/conffile.c(read_dumptype): Read a CONF_NL if we are not - called from diskfile. - * server-src/diskfile.c: Don't loop on empty line after read_dumptype. - -2006-06-01 Kevin Till - * server-src/amcrypt-ossl.sh.in: symmetric encrypt script using openSSL. - Thanks to Ben Slusky. - * server-src/amcrypt-ossl-asym.sh.in: public-ley encrypt script using openSSL. - * man/xml-source/amcrypt-ossl.8.xml: man page - * man/xml-source/amcrypt-ossl-asym.8.xml: man page - * configure.in: ditto - * man/Makefile.am: ditto - * man/entities/global.entities: ditto - * server-src/Makefile.am: ditto - -2006-06-01 John Franks - Eliminate Cygwin compile warnings. - * client-src/getfsent.c: Quiet unused parameter warnings. - * client-src/selfcheck.c: Quiet unused parameter warnings. - * common-src/security-util.h: Make hostname const char *. - -2006-06-01 Jean-Louis Martineau - * server-src/amcheck.c: holdingdisk_get_disksize() return an off_t. - * server-src/find.c: result should be ssize_t. - -2006-06-01 Jean-Louis Martineau - * common-src/amanda.h: Remove am64_t. - * client-src/clientconf.c, client-src/clientconf.h, common-src/util.c, - common-src/util.h, server-src/conffile.c, server-src/conffile.h: - Second pass of config cleanup, add function to parse -o argument. - * recover-src/amrecover.c: -o command argument. - * restore-src/restore.c: Use off_t instead of am64_t. - * server-src/amadmin.c: New config subcommand. -o command argument. - * server-src/amlabel.c: Fix memory leak. - * server-src/diskfile.c: Fix memory leak. - * server-src/diskfile.h: Rename no_hold to to_holdingdisk. - * server-src/driver.c: Many. - * server-src/planner.c: am64_t to off_t. - -2006-06-01 Jean-Louis Martineau - This is the first pass of a general rewrite of configuration file - parsing, It will now use array to store all options. - - * client-src/clientconf.c: - * client-src/clientconf.h: - * server-src/conffile.c: - * server-src/conffile.h: - * common-src/util.c: Many new functions. - * common-src/util.h: - - * restore-src/amidxtaped.c, server-src/amcheck.c, - server-src/amcleanupdisk.c, server-src/amlabel.c, - server-src/diskfile.c, server-src/driver.c, server-src/driverio.c, - server-src/find.c, server-src/holding.c, server-src/planner.c, - server-src/reporter.c, - server-src/taper.c: Use new macro to get configuration option. - -2006-06-01 Jean-Louis Martineau - * amandad-src/amandad.c, client-src/amandates.c, client-src/noop.c, - client-src/selfcheck.c, client-src/sendsize.c, - common-src/bsd-security.c, common-src/bsdtcp-security.c, - common-src/bsdudp-security.c, common-src/fileheader.c, - common-src/rsh-security.c, common-src/security-util.c, - common-src/security-util.h, common-src/ssh-security.c, - recover-src/extract_list.c, server-src/amcheck.c, - server-src/amindexd.c, server-src/amlogroll.c, - server-src/diskfile.c, server-src/driver.c, server-src/dumper.c, - server-src/find.c, server-src/logfile.c, server-src/planner.c, - server-src/reporter.c, - server-src/tapefile.c: Fix memory and fd leak. - -2006-06-01 Jean-Louis Martineau - * server-src/find.c (search_holding_disk): Take the datestamp from the - file, not the directory name, otherwise usetimestamps=no doesn't - work. - -2006-06-01 Jean-Louis Martineau - * common-src/stream.c (stream_server): New priv parameter if we want - a reserved port. Don't try to - get a reserved port if priv==0. - * common-src/stream.h (stream_server): New prototype. - * common-src/bsd-security.c: Call stream_server with priv==0. - * common-src/krb4-security.c: Call stream_server with priv==1. - * common-src/security-util.c: Call stream_server with priv==0. - * restore-src/amidxtaped.c: Call stream_server with priv==0. - * server-src/chunker.c: Call stream_server with priv==0. - * server-src/taper.c: Call stream_server with priv==0. - -2006-06-01 Jean-Louis Martineau - * server-src/diskfile.c: Return -1 if open of diskfile failed. - * server-src/driver.c: Change message if didn't get a DATE line. - * server-src/reporter.c: Ignore faillure in reading amanda.conf - disklist and tapelist. - -2006-05-29 Jean-Louis Martineau - * man/xml-source/amanda.8.xml: Documents service in .amandahosts. - -2006-05-29 Jean-Louis Martineau - Previous patch doesn't work because 'make -j2' will use fd 3. - * amandad-src/Makefile.am: Use a temporary file for output of - 'make listlibsrc'. - * changer-src/Makefile.am: Ditto. - * client-src/Makefile.am: Ditto. - * common-src/Makefile.am: Ditto. - * oldrecover-src/Makefile.am: Ditto. - * recover-src/Makefile.am: Ditto. - * restore-src/Makefile.am: Ditto. - * server-src/Makefile.am: Ditto. - * tape-src/Makefile.am: Ditto. - -2006-05-29 Jean-Louis Martineau - * amandad-src/Makefile.am: 'make listlibsrc' send it's ouput to fd 3. - * changer-src/Makefile.am: Ditto. - * client-src/Makefile.am: Ditto. - * common-src/Makefile.am: Ditto. - * oldrecover-src/Makefile.am: Ditto. - * recover-src/Makefile.am: Ditto. - * restore-src/Makefile.am: Ditto. - * server-src/Makefile.am: Ditto. - * tape-src/Makefile.am: Ditto. - -2006-05-28 Paddy Sreenivasan - * tape-src/tapeio.c : Fixed warnings - * tape-src/output-rait.c : Fixed warnings - * tape-src/output-null.c : Fixed warnings - * tape-src/output-file.c : Fiexed warnings - * recover-src/amrecover.c: Fixed warnings - * recover-src/extract_list.c : Fixed warnings - * server-src/amadmin.c : Fixed warnings - * server-src/driver.c : Fixed warnings - * server-src/infofile.c : Fixed warnings - -2006-05-26 Jean-Louis Martineau - * server-src/conffile.c (read_dumptype): Parse SSH_KEYS. - -2006-05-26 Jean-Louis Martineau - * common-src/security-util.c (udp_inithandle): Remove bad merge. - * server-src/amindexd.c: Improve error message. - * server-src/planner.c: Add a space in output. - -2006-05-26 Jean-Louis Martineau - * server-src/conffile.c: Set dpcur.no_hold correctly, - Fix for conffile program. - -2006-05-26 Jean-Louis Martineau - Allow many services to share the same tcp connection for - bsdtcp/ssh/rsh. - Add a security_close_connection to the security-api. - * amandad-src/amandad.c (wait_30s, exit_on_qlength): New variable to - control auth specific behaviour. - * common-src/bsd-security.c: Add sec_close_connection_none. - * common-src/bsdudp-security.c: Add sec_close_connection_none. - * common-src/krb4-security.c: Add sec_close_connection_none. - * common-src/krb5-security.c: Add sec_close_connection_none. - * common-src/security.h (security_close_connection): Prototype. - * common-src/security-util.h (sec_close_connection_none, - tcpm_close_connection): Prototype. - * common-src/security-util.h (struct tcp_conn): Add toclose. - * common-src/security-util.h (struct sec_stream): Add closed_by_me and - closed_by_network. - * common-src/security-util.c (sec_close_connection_none, - tcpm_close_connection): New function. - * common-src/security-util.c: Handle many services on one connection. - * common-src/bsdtcp-security.c: Handle many services on one connection. - * common-src/rsh-security.c: Handle many services on one connection. - * common-src/ssh-security.c: Handle many services on one connection. - * recover-src/amrecover.c: Add call security_close_connection. - * recover-src/extract_list.c: Add call security_close_connection. - * server-src/amcheck.c: Add call security_close_connection. - * server-src/dumper.c: Add call security_close_connection. - -2006-05-26 Jean-Louis Martineau - * common-src/security-util.c (bsd_prefix_packet): We need the username - of the getuid() user. - -2006-05-26 Jean-Louis Martineau - * common-src/fileheader.c: Parse datestamp on F_TAPEEND. - * restore-src/amrestore.c: Set read_result to the result of - read_file_header. - * restore-src/restore.c (read_file_header): Return a ssize_t. - Rename bytes_read by read_result. - Set read_result to the result of read_file_header. - * restore-src/restore.h (read_file_header): New prototype. - -2006-05-25 Jean-Louis Martineau - * server-src/taperscan.c: Replace bogus newvstralloc by vstrextend. - -2006-05-25 Jean-Louis Martineau - * client-src/getfsent.c (print_entry): Add prototype. - * common-src/token.c (main): Shut up compiler warning. - * server-src/infofile.c (dump_rec, dump_db): Add prototype. - -2006-05-25 Jean-Louis Martineau - * amandad-src/amandad.c, common-src/bsd-security.c, - common-src/bsdtcp-security.c, common-src/bsdudp-security.c, - common-src/event.c, common-src/krb5-security.c, - common-src/protocol.c, common-src/rsh-security.c, - common-src/security-util.c, common-src/ssh-security.c, - common-src/util.c, server-src/driver.c: comment debugging. - -2006-05-25 Jean-Louis Martineau - * common-src/security-util.c: typo. - * server-src/amcheck.c: Make sure all check are done. - -2006-05-25 Jean-Louis Martineau - Fix for program not compiled by default. - make bsdsecurity still not compile. - * common-src/bsd-security.c(bind_portrange): prototype change. - * common-src/Makefile.am (STANDARD_COMMON_STUFF_NOT_FILE): Add match.o. - * server-src/conffile.c: Many typo. - * tape-src/tapeio.c: Use OFF_T_FMT and SSIZE_T_FMT when needed, typo. +2009-12-03 Paul C. Mantz + * server-src/tapefile.c server-src/tapefile.h + perl/Amanda/Tapelist.swg installcheck/Amanda_Tapelist.pl: + added and swigged get_last_reusable_tape_label(). -2006-05-25 Jean-Louis Martineau - * common-src/fileheader.c (validate_datestamp): Works for 8 characters - datestamp. - * common-src/security-util.c (tcpm_send_token): netlength must be - uint32_t. - * common-src/security-util.c (bsd_prefix_packet): Fix typo. - * common-src/util.c (get_time): Don't do computation for starttime. - * server-src/conffile.c (read_dumptype): Do computation for starttime. - -2006-05-25 Jean-Louis Martineau - * common-src/krb5-security.c (krb5_sendpkt, krb5_stream_read_sync, - recv_token): Return ssize_t. - * common-src/krb5-security.c (krb5_accept, krb5_stream_accept,i - krb5_stream_auth): Shut up compiler. - * tape-src/output-file.c: Use SSIZE_MAX instead of SSIZE_T_MAX. - -2006-05-25 Jean-Louis Martineau - * configure.in(AM_INIT_AUTOMAKE): Fix. - -2006-05-25 John Franks - Pass user CFLAGS correctly to machine generated code and do not - enforce code quality checks on them. - * configure.in: - Put compiler code check flags into existing, but previously - unused, AM_CFLAGS for Makefiles to pick up. CFLAGS should - now only contain mandatory flags. - - * recover-src/Makefile.am oldrecover-src/Makefile.am: - Use CFLAGS for compiling C code generated from uparse.y and uscan.l - -2006-05-24 John Franks - Add support for binary path names on disk and in configuration files. - (Allow spaces in filenames.) - - Allow quoted strings for disklist entries. - - Lint clean code using sun lint, splint and strict GCC warnings. - Type / size clean, dead code removal, portibility checks, etc. - Many checks are still turned off. See configure.in for lint flags used. - - Increase debug output in /tmp/amanda/*debug files. - - Set SO_REUSEADDR on sockets help avoid running out of ports. - - * configure.in: - Added lint program discovery with specific targets for SUN lint and splint. - Check each compiler option to see if GCC supports it. - Enable more code quality warnings. - Change missing xsltproc to warning rather than error. - Define _GNU_SOURCES to build flags. - Make size_t and time_t printf format macros. - Check for isnormal() availability. - Don't install man pages if they are not built. - Fix man pages to not attempt build or install if - --without-built-manpages is set. - - * Makefile.am amandad-src/Makefile.am changer-src/Makefile.am - client-src/Makefile.am common-src/Makefile.am +2009-12-02 Jean-Louis Martineau + * perl/Amanda/Taper/Scan/traditional.pm: continue the scan on inuse + error. + +2009-12-02 Jean-Louis Martineau + * perl/Amanda/Taper/Scan/traditional.pm: Release reservation on error. + +2009-12-01 Jean-Louis Martineau + * perl/Amanda/Device.swg: #include "glib-util.h". + +2009-12-01 Jean-Louis Martineau + * common-src/conffile.c: Fix conf_init_data_path argument type. + * common-src/debug.c: Use gpointer. + * ndmp-src/ndmjob_main.c, ndmp-src/amndmjob_main.c: + #include "util.h" for set_pname prototype. + * ndmp-src/ndma_cops_backreco.c: Add prototype. + * ndmp-src/ndmjob.h, ndmp-src/ndmjob_args.c: + Rename version_info to ndmjob_version_info to avoid conflict. + +2009-12-01 Jean-Louis Martineau + * perl/Amanda/DB/Catalog.pm: Fix for new find_result_t api. + * installcheck/Amanda_Logfile.pl: Fix for perl-5.6. + * installcheck/Amanda_DB_Catalog.pl: Fix for perl-5.6. + +2009-12-01 Jean-Louis Martineau + * ndmp-src/Makefile.am: amndmjob_SOURCES = amndmjob_main.c + +2009-12-01 Jean-Louis Martineau + * server-src/find.c: Fix for older log entry. + * perl/Amanda/DB/Catalog.pm: Fix for new totalparts in find_result_t. + * perl/Amanda/Logfile.pod: Add totalparts. + * installcheck/Amanda_Logfile.pl: Fix for new totalparts in + find_result_t. + +2009-12-01 Jean-Louis Martineau + * installcheck/Amanda_Changer_single.pl: Fix for not fast searchable. + +2009-12-01 Jean-Louis Martineau + * perl/Amanda/Changer/single.pm: Use except_slot, + It is not fast searchable. + +2009-12-01 Jean-Louis Martineau + * server-src/find.h: Keep partnum and totalparts as int. + * server-src/find.c: Compute totalparts if -1. + * perl/Amanda/Logfile.swg: Change api. + * restore-src/amfetchdump.c, restore-src/restore.c, + server-src/amcheckdump.pl, server-src/amindexd.c: Use new api. + +2009-12-01 Jean-Louis Martineau + * ndmp-src/Makefile.am: Build ndmjob with original tape simulator. + Build amndmjob with modifier tape simulator. + * ndmp-src/amndma_tape_simulator.c: The modified tape simulator. + * ndmp-src/amndmjob_main.c: Main amndmjob program. + * ndmp-src/ndma_tape_simulator.c: The original tape simulator. + +2009-11-27 Jean-Louis Martineau + * server-src/amstatus.pl: Small fix. + +2009-11-27 Jean-Louis Martineau + * server-src/taper.pl: Fix quote_string use. + +2009-11-27 Jean-Louis Martineau + * server-src/amstatus.pl: Display % done on port-write. + * device-src/xfer-device.h: New get_part_bytes_written method in + XferDestTaperClass. + * device-src/xfer-dest-taper.c: new + xfer_dest_taper_get_part_bytes_written function. + * device-src/xfer-dest-taper-splitter.c: New + get_part_bytes_written_impl function. + * perl/Amanda/Taper/Scribe.pm: New get_bytes_written method. + * perl/Amanda/XferServer.swg: swig + xfer_dest_taper_get_part_bytes_written. + * server-src/taper.pl: Update status file every 5 seconds. + * perl/Amanda/Xfer.pod: Document get_part_bytes_written. + +2009-11-27 Dustin J. Mitchell + * installcheck/Amanda_Holding.pl: add one more unary + + +2009-11-27 Dustin J. Mitchell + * installcheck/Amanda_IPC_LineProtocol.pl: use , instead + of => when the left-hand-side shouldn't be quoted + +2009-11-27 Dustin J. Mitchell + * installcheck/Amanda_Config.pl installcheck/taper.pl + perl/Amanda/Config.swg server-src/amrestore.pl + server-src/taper.pl: handle older perls' bad conversions + from BigInt to integers or strings + +2009-11-27 Dustin J. Mitchell + * installcheck/Amanda_Holding.pl installcheck/amrestore.pl: + use unary + before the arguments to sort, since perl-5.6's + parser gets confused otherwise + +2009-11-27 Dustin J. Mitchell + * installcheck/Amanda_Taper_Scribe.pl: flatten changer errors + to strings, since older perls' Test::More::is_deeply do not + handle this well + +2009-11-27 Dustin J. Mitchell + * perl/Amanda/IPC/LineProtocol.pm: remove per-message callbacks + from the constructor, since => quotes its left-hand side + * installcheck/Amanda_IPC_LineProtocol.pl: don't use per-message + callbacks + +2009-11-27 Dustin J. Mitchell + * installcheck/Installcheck/Mock.pm: perl-5.6's abs_path + expects the path to point to a directory, not a file + +2009-11-27 Dustin J. Mitchell + * installcheck/Amanda_IPC_Binary.pl perl/Amanda/Changer/robot.pm + perl/Amanda/IPC/Binary.pod: perl-5.6 does not support use + constant with a hash of constants. + +2009-11-26 Jean-Louis Martineau + * application-src/*.pl: Remove $action from all function arguments. + * installcheck/pp-scripts.pl: Fix for new output of amlog-script. + * perl/Amanda/Application/Zfs.pm: Remove $action from all function + arguments. + * perl/Amanda/Script_App.pm: Set $self->{action}. + +2009-11-25 Jean-Louis Martineau + * restore-src/restore.c: Always do data_path exchange. + +2009-11-25 Dustin J. Mitchell + * client-src/calcsize.c: fix check_running_as + +2009-11-25 Jean-Louis Martineau + Patch by Dustin J. Mitchell + * server-src/amcheckdump.pl: Fix hang in MainLoop. + +2009-11-24 Jean-Louis Martineau + * server-src/amindexd.c: Reduce logging. + +2009-11-23 Jean-Louis Martineau + * perl/amglue/amglue.swg: Remove %begin section, we don't want to + require swig 1.3.39. + +2009-11-23 Jean-Louis Martineau + * device-src/s3-device.c: First include "amanda.h". + * perl/Amanda/Cmdline.swg: include "amanda.h". + * perl/amglue/amglue.h: include "../config/config.h" + * perl/amglue/amglue.swg: %begin include ../config/config.h" + +2009-11-20 Jean-Louis Martineau + * ndmp-src/ndml_bstf.c, ndmp-src/ndmlib.h: Use fseeko and ftello. + +2009-11-20 Dustin J. Mitchell + * common-src/stream.c common-src/util.c: use g_debug instead + of dbprintf + +2009-11-20 Jean-Louis Martineau + * Revert to previous gnulib, keep fseeko, ftello. + +2009-11-20 Dustin J. Mitchell + * ndmp-src/ndmjob_args.c: add "-o test-daemon" + * ndmp-src/ndma_comm_session.c: add a thread to kill the daemon + when stdin closes + * ndmp-src/ndmjob_main.c ndmp-src/ndmagents.h: change prototype + * installcheck/Installcheck/Mock.pm: use "-o test-daemon" to + automatically kill the daemon when the test finishes + +2009-11-19 Jean-Louis Martineau + * common-src/amanda.h: Remove define of _LARGE_FILES. + * ndmp-src/ndmlib.h: Remove define of _LARGE_FILES. + +2009-11-19 Dustin J. Mitchell + * perl/Amanda/MainLoop.swg perl/Amanda/Xfer.swg: fix refcounting for + callback_sv, and hang onto the src through the callback invocation + +2009-11-19 Jean-Louis Martineau + * gnulib/Makefile.am (EXTRA_DIST): Remove regenerate/.regenerate.swp + +2009-11-19 Jean-Louis Martineau + * gnulib/*, config/gnulib/*: Update gnulib + Use getopt-gnu instead of getopt + Add fseeko and ftello + Remove visibility + +2009-11-19 Dustin J. Mitchell + * config/amanda/progs.m4: require swig-1.3.32, as previous versions + don't handle empty C strings correctly + +2009-11-13 Dustin J. Mitchell + * perl/Amanda/Device.pod perl/Amanda/Device.swg + device-src/device.c device-src/device.h: add is_eom + * device-src/rait-device.c + device-src/s3-device.c device-src/tape-device.c + device-src/vfs-device.c device-src/null-device.c: set is_eom + and is_eof correctl + * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg xfer-src/xmsg.h: + add an eom attribute to XMsgs + * device-src/xfer-dest-taper-splitter.c: set the attribute + * perl/Amanda/Taper/Scribe.pm: handle EOM separately from !success + +2009-11-19 Jean-Louis Martineau + * application-src/amgtar.c, application-src/amstar.c: Print restore + and validate command with debug_executing. + * common-src/util.c: New debug_executing function. + * common-src/util.h: New debug_executing prototype. + +2009-11-18 Jean-Louis Martineau + * restore-src/amfetchdump.c: Small memory leak. + * restore-src/restore.c, restore-src/restore.h: Many change to fix + what was broken in previous patch. + +2009-11-18 Jean-Louis Martineau + * application-src/amgtar.c, + application-src/amstar.c: Fix if none of --disk or --device is set. + +2009-11-18 Jean-Louis Martineau + * server-src/tapefile.c: Fix if list_new_tapes return NULL. + +2009-11-18 Jean-Louis Martineau + * server-src/amcheck.c, server-src/driver.c, + server-src/planner.c: Do sanity check for DIRECT-TCP data-path. + +2009-11-18 Jean-Louis Martineau + * 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, application-src/amzfs-snapshot.pl: + They can get either --disk or --device or both. + +2009-11-18 Jean-Louis Martineau + * server-src/tapefile.c: New list_new_tapes function. + * server-src/tapefile.h: Prototype for list_new_tapes function. + * perl/Amanda/Tapelist.swg: swig of list_new_tapes. + +2009-11-18 Jean-Louis Martineau + * ndmp-src/ndmjob.h, ndmp-src/ndmjob_main.c, + ndmp-src/ndmjob_main_util.c: Use g_debug for logging. + +2009-11-18 Dustin J. Mitchell + * device-src/directtcp-target.c + device-src/directtcp-target.h: Removed files. + * device-src/device.c, + device-src/device.h: New device directtcp api. + * device-src/directtcp-connection.c, + device-src/directtcp-connection.h: directtcp_connection and + directtcp_connection_socket object. + * device-src/Makefile.am: Remove directtcp-target.* + Add directtcp-connection.* + * restore-src/restore.c, + restore-src/restore.h: Fix for new device directtcp api. + +2009-11-18 Jean-Louis Martineau + * server-src/chunker.c: Fix checking result of full_write. + +2009-11-18 Jean-Louis Martineau + * server-src/dumper.c, + common-src/security-util.c: Correctly report write error. + +2009-11-13 Dan Locks + * packaging/deb/control: update to use shlibs:Depends and + perl:Depends + * packaging/deb/rules: tweak build dirs for clarity, update shlibs + invocation, remove unneeded debhelper commands. + * packaging/deb/amanda-backup-server.substvars, + packaging/deb/amanda-backup-client.substvars: delete. These files + are generated at build time + +2009-11-13 Dan Locks + * packaging/deb/buildpkg: delete unused functions, detect and add + distro/release tag to version number changelog prior to build + +2009-11-12 Jean-Louis Martineau + * recover-src/extract_list.c: Enable DATA-PATH. + * restore-src/restore.c: Enable DATA-PATH. + * restore-src/restore.h: Enable DATA-PATH. + * common-src/amfeatures.c: Add fe_amidxtaped_datapath. + * common-src/amfeatures.h: Add fe_amidxtaped_datapath + * common-src/conffile.c: Improve error message. + * device-src/directtcp-target.h: Improve comment. + +2009-11-12 Jean-Louis Martineau + * client-src/client_util.c, common-src/util.c, + server-src/changer.c: Fix memory leak. + +2009-11-11 Jean-Louis Martineau + * ndmp-src/ndma_tape.c: Fix crash. + +2009-11-09 Dustin J. Mitchell + * perl/Amanda/Taper/Scribe.pm: assume that the filetype and totalparts + in the header are set by the caller + * server-src/taper.pl: set them + * installcheck/taper.pl: test that on-device headers are correct + +2009-11-09 Jean-Louis Martineau + * restore-src/restore.c: Handle directtcp device. + * restore-src/restore.h: Handle directtcp device. + * device-src/directtcp-target.h (read_to_connection): Fix comment. + +2009-11-09 Jean-Louis Martineau + * device-src/directtcp-target.c (directtcp_target_listen, + directtcp_target_accept): don't assert for !self->in_file or + self->access_mode == ACCESS_NULL. + +2009-11-06 Dustin J. Mitchell + * AUTHORS: add Ben Slusky + * common-src/amcrypt-ossl-asym.sh common-src/amcrypt-ossl.sh: change + to UMD license, with Ben's permission + +2009-11-05 Jean-Louis Martineau + * client-src/sendbackup-dump.c, client-src/sendsize.c: + Fix compiler error if VXDUMP or VDUMP is defined. + +2009-11-05 Jean-Louis Martineau + * client-src/client_util.c: close FILE instead of fd. + * client-src/selfcheck.c: fix fd leak with app_stderr. + +2009-11-05 Jean-Louis Martineau + * client-src/client_util.c (merge_property, merge_properties): + New functions. + * client-src/client_util.h: New prototypes. + * common-src/conffile.c (amandaify_property_name): New function. + * common-src/conffile.h (amandaify_property_name): New prototypes. + * recover-src/extract_list.c: Call merge_properties, it merge property + from amanda header with property set in amrecover. + Report the directory property if set. + * recover-src/set_commands.c: Call amandaify_property_name. + +2009-11-03 Dustin J. Mitchell + * device-src/xfer-dest-taper-splitter.c: make disk_cache_thread wait + to be un-paused before starting to cache a part + * xfer-src/dest-null.c: add additional debugging info + +2009-11-03 Dustin J. Mitchell + * device-src/Makefile.am device-src/directtcp-target.c + device-src/directtcp-target.h: add new DirectTCPTarget interface, for + use by devices supporting DirectTCP + +2009-11-03 Paul C. Mantz + * perl/Amanda/Report.pm: added state flags + * instalcheck/Amanda_Report.pl: tests + +2009-11-02 Dustin J. Mitchell + * common-src/testutils.c: fix uninitialized variable, only run one + test in non-fork mode + +2009-11-02 Dustin J. Mitchell + + * device-src/xfer-dest-taper-splitter.c: eliminate deadlock, take + 'first_device' and calculate slab size immediately instead of waiting + for start_part + * device-src/xfer-device.h: first_device parameter + * perl/Amanda/XferServer.swg: swig + * perl/Amanda/Xfer.pod: docs + * installcheck/Amanda_Xfer_serveronly.pl: send first_device properly + * perl/Amanda/Taper/Scribe.pm: send first_device properly + +2009-10-30 Satya Ganga + * application-src/amsuntar.pl: Validate include and exclude lists + before using them at restore time. + +2009-10-30 Dustin J. Mitchell + * common-src/testutils.c: do not fork if -n is given (aids debugging) + +2009-10-29 Dustin J. Mitchell + * perl/Amanda/Changer/robot.pm: add barcodes to reservations + * perl/Amanda/Changer.pm: document + * installcheck/Amanda_Changer_robot.pl: test + +2009-10-29 Dustin J. Mitchell + * ndmp-src/ndml_log.c: use static to eliminate unnecessary global + +2009-10-29 Satya Ganga + * application-src/amgtar.c,application-src/amstar.c: Correct validation + of directory property for existence and access. + +2009-10-29 Satya Ganga + * application-src/amsamba.pl: In command line use correct + application property names + +2009-10-29 Jean-Louis Martineau + * client-src/sendsize.c: Fix error reporting. + +2009-10-29 Satya Ganga + * ndmp-src/ndmos_glib.h: On Solaris platforms create platform specific + environment for NDMP + +2009-10-28 Jean-Louis Martineau + * common-src/conffile.c (free_property_t): not static. + * common-src/conffile.h (free_property_t): not static. + * recover-src/amrecover.c, recover-src/amrecover.h, + recover-src/help.c, recover-src/set_commands.c, + recover-src/uparse.y, + recover-src/uscan.l: New setproperty and listproperty commands. + * man/xml-source/amrecover.8.xml: Document setproperty and + listproperty commands. + +2009-10-27 Jean-Louis Martineau + * perl/Amanda/Application/Zfs.pm: Use diskname for the snapshot name. + +2009-10-27 Dustin J. Mitchell + * common-src/Makefile.am common-src/directtcp.h: new file to + handle common directtcp-related code + * perl/amglue/amglue.swg perl/amglue/directtcp.swg: amglue for + DirectTCPAddr + * xfer-src/Makefile.am + xfer-src/xfer-element.h: new XFER_MECH_DIRECTTCP_LISTEN + * xfer-src/source-directtcp-listen.c: new source element + implementing it + * xfer-src/element-glue.c: stubs - no glue yet for the new mech + * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg + perl/Makefile.am: SWIG new element + +2009-10-27 Jean-Louis Martineau + * client-src/client_util.c: Add data-path and directtcp argument to + application + * client-src/selfcheck.c: Check application support the requested + data-path + * client-src/sendsize.c: Check application support the requested + data-path + * common-src/amfeatures.h: Add fe_xml_data_path and + fe_xml_directtcp_list. + * common-src/amfeatures.c: Add fe_xml_data_path and + fe_xml_directtcp_list. + * common-src/amxml.c: Parse and tag. + * common-src/amxml.h (dle_t): Add data_path and directtcp_list. + * server-src/amcheck.c: Check client accpet datapath and directtcp tag + in xml. + * server-src/diskfile.c: Add datapath and directtcp tag + * server-src/diskfile.h (disk_t): Add directtcp_list. + * server-src/driver.c: Set dp->directtcp_list. + +2009-10-27 Jean-Louis Martineau + * 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: Handle directory, include-list + and exclude-list inrestore command. + * man/xml-source/amgtar.8.xml, man/xml-source/ampgsql.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: Document them. + * perl/Amanda/Application/Zfs.pm (zfs_set_value): Handle directory. + +2009-10-23 Jean-Louis Martineau + * client-src/client_util.c (backup_support_option): Parse DATA-PATH. + * client-src/client_util.h (backup_support_option_t): Add data_path_set + * common-src/conffile.h: (data_path_t): Change for bit value. + +2009-10-22 Dustin J. Mitchell + * device-src/xfer-dest-taper-splitter.c: slab_source_prebuffer is + now always called with the slab_mutex held; both invocations of + the function guarantee this. + +2009-10-22 Dustin J. Mitchell + * installcheck/Amanda_Device_ndmp.pl: use 127.0.0.1, not localhost + * installcheck/Installcheck.pm: close SOCK after using it + * installcheck/Installcheck/Mock.pm: handle kernel bug in getppid() + +2009-10-22 Jean-Louis Martineau + * perl/Amanda/Config.swg: Swig data_path_from_string. + * server-src/diskfile.c: Add dirrecti-tcp property to application. + * server-src/diskfile.h (disk_s): Add directtcp. + * server-src/driver.c: handle DIRECTTCP_PORT reply form taper. + * server-src/server_util.c (cmdstr): Add "DIRECTTCP-PORT". + * server-src/server_util.h: Add DIRECTTCP_PORT. + * server-src/taper.pl: Reply with DIRECTTCP-PORT. + +2009-10-22 Jean-Louis Martineau + * ndmp-src/Makefile.am: Add version info in libndmlib and libndmjob. + +2009-10-21 Jean-Louis Martineau + * common-src/alloc.c: Increase MAX_VSTRALLOC_ARGS. + * common-src/conffile.c: Add DATA-PATH config. + * common-src/conffile.h: Add DATA-PATH config. + * installcheck/taper.pl: Add AMANDA data-path. + * perl/Amanda/Config.swg: Add DATA-PATH config. + * server-src/amadmin.c (disklist_one): print data-path. + * server-src/diskfile.c: Add dp argument to xml_application. + * server-src/diskfile.h: New prototype for xml_application. + * server-src/amcheck.c: Use new xml_application. + * server-src/amindexd.c: Use new xml_application. + * server-src/driverio.c: Send data-path to the dumper and taper, + Use new xml_application. + * server-src/dumper.c: Parse data-path, handle DIRECTTCP_DATA_PATH. + * server-src/planner.c: Use new xml_application. + * server-src/taper.pl: Parse data-path in PORT-WRITE command. + +2009-10-21 Jean-Louis Martineau + * ndmp-src/ndma_cops_backreco.c, ndmp-src/ndma_ctrl_calls.c, + ndmp-src/ndmagents.h, ndmp-src/ndmjob.h, + ndmp-src/ndmjob_args.c, ndmp-src/ndmjob_job.c: + Add '-o tape-tcp=HOST:PORT' option. + +2009-10-21 Dustin J. Mitchell + * ndmp-src/Makefile.am ndmp-src/ndma_comm_proxy.c + ndmp-src/ndma_comm_session.c ndmp-src/ndmagents.h + ndmp-src/ndmp-proxy_main.c: remove ndmp-proxy + * common-src/ndmp-proxy.c common-src/ndmp-proxy.h + common-src/Makefile.am: remove ndmp-proxy.* + * man/xml-source/amanda.conf.5.xml perl/Amanda/Config.swg + common-src/conffile.h common-src/conffile.c: remove ndmp-proxy-port + * installcheck/Amanda_NDMP.pl installcheck/Makefile.am: remove test + * perl/Makefile.am perl/Amanda/NDMP.swg perl/Amanda/NDMP.pod: remove + module + +2009-10-21 Dustin J. Mitchell + * perl/Amanda/Taper/Scribe.pm: get a device before starting + the xfer + +2009-10-21 Jean-Louis Martineau + * ndmp-src/Makefile.am (amlib_LTLIBRARIES): Fix order. + +2009-10-21 Dustin J. Mitchell + * ndmp-src/Makefile.am: split ndmp-src into libndmjob.la and + libndmlib.la + * ndmp-src/ndml_conn.c: remove calls to libndmjob function + * device-src/Makefile.am: compile without strict prototypes + * device-src/ndmp-device.c: build against libndmlib, speaking + NDMP natively to the NDMP server instead of via the proxy + * installcheck/Amanda_Device_ndmp.pl: no need for a proxy + +2009-10-21 Dustin J. Mitchell + * device-src/Makefile.am device-src/xfer-dest-taper-splitter.c + device-src/xfer-dest-taper.c device-src/xfer-device.h: make + XferDestTaper an abstract base class, with XferDestTaperSplitter its + only subclass (for now) + * perl/Amanda/Xfer.swg: SWIG it + * perl/Amanda/XferServer.swg: SWIG it + * installcheck/Amanda_Xfer_serveronly.pl: adjust tests + * perl/Amanda/Taper/Scribe.pm: use subclass + +2009-10-20 Jean-Louis Martineau + * installcheck/Installcheck.pm: $0 in double quote "$0". + +2009-10-20 Jean-Louis Martineau + * installcheck/Amanda_Device_ndmp.pl: Remove set_pname call. + * installcheck/Amanda_Logfile.pl: Fix for changed name in log. + * installcheck/Installcheck.pm: Call set_pname($0) in INIT section. + * installcheck/amadmin.pl: Remove set_pname call. + +2009-10-20 Paul C. Mantz + * server-src/amrmtape.pl: added config override option + * installcheck/amrmtape.pl: regression test + +2009-10-20 Dustin J. Mitchell + * device-src/xfer-dest-taper.c: add detailed debugging + * perl/Amanda/IPC/LineProtocol.pm: add protocol debugging + * perl/Amanda/Taper/Scribe.pm: pass debugging flags around + * server-src/taper.pl: pass debugging flags around + +2009-10-20 Dustin J. Mitchell + * xfer-src/dest-buffer.c: fix Solaris cc compile errors + +2009-10-20 Dustin J. Mitchell + * xfer-src/xfer-element.h xfer-src/Makefile.am xfer-src/dest-buffer.c: + new element + * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg: SWIG it + * installcheck/Amanda_Xfer.pl: tests + * xfer-src/source-pattern.c: fix typo + +2009-10-19 Paul C. Mantz + * perl/Amanda/Report.pm: error handling for logfile reading. + * perl/Amanda/Logfile.pod: documentation of open_logfile error + behavior + +2009-10-19 Jean-Louis Martineau + * installcheck/Makefile.am (full_tests): Add amadmin. + * installcheck/amadmin.pl: Check diskname matching argument. + +2009-10-19 Jean-Louis Martineau + * common-src/match.c: Fix match_word function. + +2009-10-16 Dan Locks + * example/xinetd.amandaclient.in, example/xinetd.amandaserver.in: + replace IPv6 with IPv4 + +2009-10-16 Nikolas Coukouma + * amar-src/amar.c, amar-src/amar.h, amar-src/amarchiver.c, + 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, + changer-src/chg-glue.pl, common-src/amaespipe.sh, + common-src/amcryptsimple.pl, common-src/amgetconf.pl, + common-src/amgpgcrypt.pl, common-src/event-test.c, + common-src/glib-util.c, common-src/glib-util.h, + common-src/hexencode-test.c, common-src/ipc-binary.c, + common-src/ipc-binary.h, common-src/queueing-test.c, + common-src/queueing.c, common-src/queueing.h, + common-src/quoting-test.c, common-src/semaphore-test.c, + common-src/semaphore.c, common-src/semaphore.h, + common-src/simpleprng.c, common-src/simpleprng.h, + common-src/sockaddr-util.c, common-src/sockaddr-util.h, + common-src/testutils.c, common-src/testutils.h, + config/automake/scripts.am, config/automake/vars.am, + config/macro-archive/docbook-dtd.m4, + config/macro-archive/docbook-xslt-min.m4, + config/macro-archive/docbook-xslt.m4, + config/macro-archive/xsltproc.m4, device-src/amdevcheck.pl, + device-src/amtapetype.pl, device-src/device-queueing.c, + device-src/device-queueing.h, device-src/device.c, + device-src/device.h, device-src/ndmp-device.c, + device-src/null-device.c, device-src/property.c, + device-src/property.h, device-src/rait-device.c, + device-src/s3-device.c, device-src/s3-util.c, device-src/s3-util.h, + device-src/s3.c, device-src/s3.h, device-src/tape-aix.c, + device-src/tape-device.c, device-src/tape-device.h, + device-src/tape-ops.h, device-src/tape-posix.c, + device-src/tape-uware.c, device-src/tape-xenix.c, + device-src/vfs-device.c, device-src/vfs-test.c, + device-src/xfer-dest-device.c, device-src/xfer-dest-taper.c, + device-src/xfer-device.h, device-src/xfer-source-device.c, + device-src/xfer-source-taper.c, installcheck/Amanda_Archive.pl, + installcheck/Amanda_Changer.pl, installcheck/Amanda_Changer_compat.pl, + installcheck/Amanda_Changer_disk.pl, + installcheck/Amanda_Changer_null.pl, + installcheck/Amanda_Changer_rait.pl, + installcheck/Amanda_Changer_robot.pl, + installcheck/Amanda_Changer_single.pl, installcheck/Amanda_Cmdline.pl, + installcheck/Amanda_Config.pl, installcheck/Amanda_DB_Catalog.pl, + installcheck/Amanda_Debug.pl, installcheck/Amanda_Device.pl, + installcheck/Amanda_Device_ndmp.pl, installcheck/Amanda_Disklist.pl, + installcheck/Amanda_Header.pl, installcheck/Amanda_Holding.pl, + installcheck/Amanda_IPC_Binary.pl, + installcheck/Amanda_IPC_LineProtocol.pl, + installcheck/Amanda_Logfile.pl, installcheck/Amanda_MainLoop.pl, + installcheck/Amanda_NDMP.pl, installcheck/Amanda_Process.pl, + installcheck/Amanda_Report.pl, installcheck/Amanda_Tapelist.pl, + installcheck/Amanda_Taper_Scan.pl, + installcheck/Amanda_Taper_Scan_traditional.pl, + installcheck/Amanda_Taper_Scribe.pl, installcheck/Amanda_Util.pl, + installcheck/Amanda_Xfer.pl, installcheck/Amanda_Xfer_serveronly.pl, + installcheck/Installcheck.pm, + installcheck/Installcheck/Application.pm, + installcheck/Installcheck/Changer.pm, + installcheck/Installcheck/Config.pm, + installcheck/Installcheck/Dumpcache.pm, + installcheck/Installcheck/Mock.pm, installcheck/Installcheck/Run.pm, + installcheck/_setupcache.pl, installcheck/amarchiver.pl, + installcheck/amcheck-device.pl, installcheck/amcheck.pl, + installcheck/amcheckdump.pl, installcheck/amdevcheck.pl, + installcheck/amdump.pl, installcheck/amfetchdump.pl, + installcheck/amgetconf.pl, installcheck/amgtar.pl, + installcheck/amlabel.pl, installcheck/ampgsql.pl, + installcheck/amraw.pl, installcheck/amreport.pl, + installcheck/amrestore.pl, installcheck/amrmtape.pl, + installcheck/amservice.pl, installcheck/amstatus.pl, + installcheck/amtape.pl, installcheck/amtapetype.pl, + installcheck/bigint.pl, installcheck/mock/mtx.pl, + installcheck/mock_mtx.pl, installcheck/pp-scripts.pl, + installcheck/taper.pl, ndmp-src/ndma_comm_proxy.c, + packaging/rpm/amanda.spec, perl/Amanda/Application.pod, + perl/Amanda/Application.swg, perl/Amanda/Application/Zfs.pm, + perl/Amanda/Archive.pod, perl/Amanda/Archive.swg, + perl/Amanda/BigIntCompat.pm, perl/Amanda/Changer.pm, + perl/Amanda/Changer/compat.pm, perl/Amanda/Changer/disk.pm, + perl/Amanda/Changer/null.pm, perl/Amanda/Changer/rait.pm, + perl/Amanda/Changer/robot.pm, perl/Amanda/Changer/single.pm, + perl/Amanda/Cmdline.pod, perl/Amanda/Cmdline.swg, + perl/Amanda/Config.pod, perl/Amanda/Config.swg, + perl/Amanda/Constants.pm.in, perl/Amanda/Debug.pod, + perl/Amanda/Debug.swg, perl/Amanda/Device.pod, perl/Amanda/Device.swg, + perl/Amanda/Disklist.pod, perl/Amanda/Disklist.swg, + perl/Amanda/Header.pod, perl/Amanda/Header.swg, + perl/Amanda/Holding.pm, perl/Amanda/IPC/Binary.pod, + perl/Amanda/IPC/Binary.swg, perl/Amanda/IPC/LineProtocol.pm, + perl/Amanda/Logfile.pod, perl/Amanda/Logfile.swg, + perl/Amanda/MainLoop.pod, perl/Amanda/MainLoop.swg, + perl/Amanda/NDMP.pod, perl/Amanda/NDMP.swg, perl/Amanda/Paths.pm.in, + perl/Amanda/Process.pm, perl/Amanda/Report.pm, perl/Amanda/Script.pm, + perl/Amanda/Script_App.pm, perl/Amanda/Tapelist.pod, + perl/Amanda/Tapelist.swg, perl/Amanda/Taper/Scan.pm, + perl/Amanda/Taper/Scan/traditional.pm, perl/Amanda/Taper/Scribe.pm, + perl/Amanda/Tests.pod, perl/Amanda/Tests.swg, perl/Amanda/Util.pod, + perl/Amanda/Util.swg, perl/Amanda/Xfer.pod, perl/Amanda/Xfer.swg, + perl/Amanda/XferServer.pod, perl/Amanda/XferServer.swg, + perl/amglue/amglue.h, perl/amglue/amglue.swg, perl/amglue/bigint.c, + perl/amglue/constants.swg, perl/amglue/dumpspecs.swg, + perl/amglue/exports.swg, perl/amglue/filehandles.swg, + perl/amglue/gerror.c, perl/amglue/ghashtable.c, perl/amglue/glib.swg, + perl/amglue/integers.swg, perl/amglue/objwrap.c, perl/amglue/source.c, + perl/amglue/xferwrap.c, perl/make_html.pl, server-src/amaddclient.pl, + server-src/amcheck-device.pl, server-src/amcheckdump.pl, + server-src/amcleanup.pl, server-src/amlabel.pl, + server-src/amrestore.pl, server-src/amrmtape.pl, + server-src/amserverconfig.pl, server-src/amtape.pl, + server-src/amvault.pl, server-src/cmdline.c, server-src/cmdline.h, + server-src/taper.pl, server-src/xfer-server.h, + server-src/xfer-source-holding.c, xfer-src/amxfer.h, + xfer-src/dest-fd.c, xfer-src/dest-null.c, xfer-src/element-glue.c, + xfer-src/element-glue.h, xfer-src/filter-process.c, + xfer-src/filter-xor.c, xfer-src/source-fd.c, + xfer-src/source-pattern.c, xfer-src/source-random.c, + xfer-src/xfer-element.c, xfer-src/xfer-element.h, + xfer-src/xfer-test.c, xfer-src/xfer.c, xfer-src/xfer.h, + xfer-src/xmsg.c, xfer-src/xmsg.h: correct address in copyright headers + +2009-10-16 Dustin J. Mitchell + * common-src/hexencode-test.c: avoid compiler warnings and a potential + crash on test failure + +2009-10-16 Jean-Louis Martineau + * application-src/amsamba.pl: fix restore. + +2009-10-15 Nikolas Coukouma + * application-src/ampgsql.pl, common-src/Makefile.am, + common-src/hexencode-test.c, common-src/util.c, common-src/util.h, + installcheck/Amanda_Util.pl, perl/Amanda/Archive.swg, + perl/Amanda/Util.pod, perl/Amanda/Util.swg, perl/Makefile.am, + perl/amglue/amglue.h, perl/amglue/gerror.c: move URL-style hex encoding + and decoding functions into C. SWIG, document, and test them. Also add + exception-generating typemap for GErrors. + +2009-10-14 Nikolas Coukouma + * perl/Amanda/Changer.pm: forgot to import function + +2009-10-14 Jean-Louis Martineau + Dustin J. Mitchell + * ndmp-src/ndma_comm_proxy.c: Use NDMP_PROXY_CMD_NOOP command. + * ndmp-src/ndma_tape_simulator.c: Allow rewind mtio command. + * device-src/ndmp-device.c: Keep track if a device is openned, don't + close the connection to the proxy in ndmp_device_finish(). + * installcheck/Amanda_Device_ndmp.pl: More check. + * installcheck/Installcheck/Mock.pm: tapefile based on pid number. + * common-src/ndmp-proxy.c: Use NDMP_PROXY_CMD_NOOP. + * common-src/ndmp-proxy.h: Define NDMP_PROXY_CMD_NOOP. + +2009-10-13 Nikolas Coukouma + * perl/Amanda/Config.pod, perl/Amanda/Config.swg, + installcheck/Amanda_Config.pl: SWIG string_to_boolean, document, + and test it + * application-src/ampgsql.pl, perl/Amanda/Changer.pm: + use string_to_boolean + * perl/Amanda/MainLoop.pod: correct spelling + +2009-10-09 Jean-Louis Martineau + Revert previous patch. + +2009-10-09 Jean-Louis Martineau + * common-src/alloc.c: Increae to MAX_VSTRALLOC_ARGS to 40. + * common-src/conffile.c: Add data_path + * common-src/conffile.h: Add data-path + * common-src/ndmp-proxy.c: Improve. + * common-src/ndmp-proxy.h: Improve. + * device-src/device.c (device_start_dump, device_finish_dump + device_write_from_data_path) New method. + * device-src/device.h (device_start_dump, device_finish_dump + device_write_from_data_path) New method. + * device-src/ndmp-device.c: Improve + * device-src/xfer-dest-taper.c: data-path + * device-src/xfer-device.h: data-path + * ndmp-src/Makefile.am (ndmp_proxy_SOURCES): Add files. + * ndmp-src/ndma_comm_proxy.c: Improve. + * ndmp-src/ndma_comm_session.c: #include "ndmjob.h" + * ndmp-src/ndmjob_main.c: Open debug file. + * ndmp-src/ndml_log.c: Check for deliver.. + * perl/Amanda/Config.swg: Add data-path + * perl/Amanda/Device.swg: Add new device api + * perl/Amanda/Taper/Scribe.pm: data-path + * perl/Amanda/XferServer.swg: data-path + * server-src/amadmin.c: print data-path + * server-src/amcheck.c: data-path and xml_application change + * server-src/amindexd.c: xml_application change + * server-src/diskfile.c: new xml_application + * server-src/diskfile.h: xml_application prototype change. + * server-src/driver.c: data-path + * server-src/driverio.c: data-path + * server-src/driverio.h (taper_device): new global variable. + * server-src/dumper.c: data-path + * server-src/planner.c: xml_application change + * server-src/taper.pl: data-path + +2009-10-08 Dustin J. Mitchell + * perl/Amanda/IPC/Binary.pod: finish docs + +2009-10-08 Dustin J. Mitchell + * common-src/ipc-binary.h common-src/ipc-binary.c: many fixes + * perl/Makefile.am perl/Amanda/IPC/Binary.swg: perl interface to + ipc-binary + * installcheck/Makefile.am installcheck/Amanda_IPC_Binary.pl: checks + * perl/Amanda/IPC/Binary.pod: stub documentation + * perl/Amanda/IPC/LineProtocol.pm: whitespace + +2009-10-08 Dustin J. Mitchell + * device-src/ndmp-device.c ndmp-src/ndma_comm_proxy.c + ndmp-src/ndmjob_args.c: tweaks suggested by Nikolas Coukouma + + +2009-10-08 Dustin J. Mitchell + * common-src/ndmp-proxy.c common-src/ndmp-proxy.h: separate use and + pass parameters + * device-src/ndmp-device.c: bugfixes; open and close the conneciton + for each service request, to avoid deadlocking the proxy + * installcheck/Amanda_Device_ndmp.pl: check the NDMP device against the + ndmjob tape simulator + * installcheck/Installcheck/Mock.pm: add run_ndmjob + * installcheck/Makefile.am: new checks + * ndmp-src/ndma_comm_proxy.c: formulate the agent string better + * ndmp-src/ndma_comm_session.c ndmp-src/ndmagents.h: daemon should take a port + * ndmp-src/ndmjob.h: p_port + * ndmp-src/ndmjob_args.c: add -p PORT + * ndmp-src/ndmjob_main.c: use -p PORT + * ndmp-src/ndmp-proxy_main.c: listen for more than one incoming + connection + +2009-10-07 Dan Locks + * packaging/deb/control: add mailx|bsd-mailx (also missing + |gnuplot-nox) + +2009-10-07 Jean-Louis Martineau + * server-src/diskfile.c: Fix initialization of xml_app.result. + +2009-10-06 Dustin J. Mitchell + * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h: + remove ndmp-proxy-log-file and ndmp-proxy-debug-level + * man/xml-source/amanda.conf.5.xml: document ndmp-proxy-port + * common-src/ipc-binary.h: don't recommend static allocation + * common-src/ndmp-proxy.c common-src/ndmp-proxy.h: start the proxy on + demand; it will shut down when all of the connections are closed + * installcheck/Amanda_NDMP.pl: check Amanda::NDMP + * installcheck/Installcheck.pm: add get_unused_port() + * installcheck/Makefile.am: new check + * ndmp-src/Makefile.am ndmp-src/ndma_comm_proxy.c + ndmp-src/ndma_comm_session.c ndmp-src/ndmagents.h ndmp-src/ndmjob.h + ndmp-src/ndmjob_args.c ndmp-src/ndmjob_job.c ndmp-src/ndmjob_main.c + ndmp-src/ndmjob_main_util.c ndmp-src/ndmp-proxy_main.c: split the NDMP + proxy into a different executable, and reference count the connections + to it + * perl/Makefile.am perl/Amanda/NDMP.swg: rename and SWIG the new interface + * perl/Amanda/NDMP.pod: add POD + * server-src/amlabel.pl server-src/amcheck-device.pl: remove + ndmp_stop_proxy() + +2009-10-06 Paul C. Mantz + * perl/Amanda/Reporter.pm: added log handling of amdump and + amflush + * installcheck/Amanda_Report.pl: regression tests + +2009-10-06 Jean-Louis Martineau + * installcheck/amraw.pl: Use File::Path::mkpath. + +2009-10-05 Jean-Louis Martineau + * application-src/Makefile.am (SCRIPTS_PERL): Add amraw. + * application-src/amraw.pl: New application. + * installcheck/Makefile.am (client_tests): Add amraw. + * installcheck/amraw.pl: Check amraw functionnality. + * man/Makefile.am (CLIENT_MAN_PAGES): Add amraw.8. + * man/xml-source/amanda-applications.7.xml: Add amraw.8. + * man/xml-source/amanda.8.xml: Add amraw.8. + * man/xml-source/amraw.8.xml: New man page for amraw application. + * perl/Amanda/Constants.pm.in: Add DD. + +2009-10-05 Paul C. Mantz + * server-src/reporter.c: exit code 0 with no output format + specified, fixed default output destination + +2009-10-02 Jean-Louis Martineau + * common-src/debug.c (msg_timestamp): Print time in human readable + format. + +2009-10-01 Dustin J. Mitchell + * device-src/ndmp-device.c: remove some includes, remove recycle and + erase, streaming desired, close the tape service on finish(), rewind + less, and be more careful about setting errors exactly once + * man/xml-source/amanda-devices.7.xml: document the device + +2009-10-01 Paul C. Mantz + * server-src/reporter.c: no report made unless destination + argument given + +2009-10-01 Jean-Louis Martineau + * application-src/amgtar.c (build_re_table, add_type_table, + add_list_table): Remove function. + * application-src/amstar.c: Use NORNAL, IGNORE and STRANGE properties. + * client-src/client_util.c (build_re_table, add_type_table, + add_list_table): Add function. + * client-src/client_util.h (build_re_table, add_type_table, + add_list_table): Add prototype. + * client-src/client_util.h (dmpline_t, amregex_t, AM_*_RE): + Add declaration. + * client-src/sendbackup.h (dmpline_t, amregex_t, AM_*_RE): + Remove declaration. + * client-src/sendsize.c: Rename 'struct regex_s' to + 'struct regex_scale_s'. + * man/xml-source/amstar.8.xml: Document new NORNAL, IGNORE and STRANGE + properties. + +2009-10-01 Jean-Louis Martineau + * common-src/security-util.c (bsd_prefix_packet): Use geteuid login + name. + +2009-10-01 Jean-Louis Martineau + * application-src/amgtar.c: Add --no-wildcards argument to gtar extract + command. + * restore-src/amidxtaped.c: Set rst_flags->header_to_fd to -1. + +2009-09-30 Dustin J. Mitchell + * server-src/dumper.c: runs setuid root + * common-src/local-security.c: drop root privs + * common-src/rsh-security.c: drop root privs + * common-src/ssh-security.c: drop root privs + +2009-09-29 Dustin J. Mitchell + * amandad-src/amandad.h common-src/amanda.h: move constants + to amanda.h + * common-src/util.c common-src/util.h: add openbsd_fd_inform, to + inform the OpenBSD pthread library about high-numbered fd's created + by amandad + * client-src/noop.c client-src/selfcheck.c client-src/sendbackup.c + client-src/sendsize.c restore-src/amidxtaped.c server-src/amindexd.c: + use openbsd_fd_infom + +2009-09-28 Dustin J. Mitchell + * common-src/util.h: fix comment + * server-src/planner.c: planner runs setuid, so tell check_running_as + +2009-09-28 Nikolas Coukouma + * device-src/s3.c: fix day of the week in Date header + +2009-09-25 Dustin J. Mitchell + * common-src/amflock.c: set the return value + * device-src/xfer-dest-taper.c: lock the slab mutex when prebuffering + * perl/Amanda/Changer.pm: check for locking errors in Changer.pm + * perl/Amanda/Changer/robot.pm: handle the lru driveorder better, and + handle configurations where no tape device is specified better + * server-src/amtape.pl: handle the case where loaded_in == 0 + +2009-09-25 Nikolas Coukouma + * ndmp-src/ndmlib.h: apply Amanda's "force large file support" to NDMP + +2009-09-24 Dustin J. Mitchell + * man/xml-source/amanda-devices.7.xml: fix typo + +2009-09-24 Paul C. Mantz + * perl/Amanda/Report.pm: added accessor functions + * installcheck/Amanda_Report.pl: tests + +2009-09-24 Dustin J. Mitchell + * device-src/property.c: remove old property instance + +2009-09-24 Dustin J. Mitchell + * man/xml-source/amanda-devices.7.xml: update property documentation + and rename READ_BUFFER_SIZE to READ_BLOCK_SIZE + * perl/Amanda/Changer.pm restore-src/restore.c restore-src/restore.h + device-src/property.c device-src/property.h device-src/device.c + man/xml-source/amanda-changers.7.xml: rename property + * device-src/tape-device.c: accept old and new property names + * installcheck/Amanda_Device.pl: tests + +2009-09-10 Jean-Louis Martineau + * application-src/amgtar.c: accept INCLUDE-LIST, EXCLUDE-LIST, and + DIRECTORY properties on restore + +2009-09-09 Dustin J. Mitchell + * installcheck/Amanda_Device.pl: fix skip count + +2009-09-09 Dustin J. Mitchell + * common-src/util.c common-src/util.h: allow to drop root privs + entirely + * common-src/pipespawn.c: drop root + * amandad-src/amandad.c: check effective userid + * common-src/krb5-security.c: check effective userid + * server-src/amcheck.c: check effective userid + +2009-09-08 Dustin J. Mitchell + * device-src/s3-device.c: handle EOT correctly + * installcheck/Amanda_Device.pl: check for it + +2009-09-08 Dustin J. Mitchell + * changer-src/chg-glue.pl common-src/amgetconf.pl + common-src/conffile.c common-src/conffile.h device-src/amdevcheck.pl + device-src/amtapetype.pl installcheck/Amanda_Config.pl + installcheck/amcheck-device.pl perl/Amanda/Cmdline.pod + perl/Amanda/Config.pod perl/Amanda/Config.swg recover-src/amrecover.c + restore-src/amfetchdump.c server-src/amadmin.c + server-src/amcheck-device.pl server-src/amcheck.c + server-src/amcheckdump.pl server-src/amcleanup.pl server-src/amflush.c + server-src/amlabel.pl server-src/amlogroll.c server-src/amrestore.pl + server-src/amservice.c server-src/amtape.pl server-src/amtrmidx.c + server-src/amtrmlog.c server-src/amvault.pl server-src/chunker.c + server-src/driver.c server-src/dumper.c server-src/planner.c + server-src/reporter.c server-src/taper.pl: change "config_overwrite" + to "config_override" + +2009-09-05 Dustin J. Mitchell + * server-src/amvault.pl: use destination volume filenums in amvault + +2009-09-04 Dustin J. Mitchell + * common-src/util.c: setuid(0) initially, so that we can release + and acquire root privs + +2009-09-03 Jean-Louis Martineau + * device-src/ndmp-device.c: Include "ndmp-proxy.h". + +2009-09-03 Dustin J. Mitchell + * common-src/ipc-binary.c common-src/ipc-binary.h: new, generic + binary communication protocol + * common-src/ipc-binary-test.c: tests for same + * common-src/ndmp-protocol.h: removed + * common-src/ndmp-proxy.c common-src/ndmp-proxy.h: code to interact + with ndmp-proxy, including protocol + * common-src/util.c common-src/util.h: remove ndmp-proxy stuff + * common-src/Makefile.am: rename/add files + * ndmp-src/ndma_comm_proxy.c ndmp-src/ndma_comm_session.c + ndmp-src/ndmagents.h perl/Amanda/Ndmp.swg device-src/ndmp-device.c: + use new protocol + +2009-09-03 Dustin J. Mitchell + * installcheck/Amanda_Header.pl: remove reference to Amanda::Cmdline + +2009-09-03 Dustin J. Mitchell + * device-src/ndmp-device.c: remove spurious #include of stream.c + +2009-09-02 Jean-Louis Martineau + * common-src/debug.c: Improve debugging. + * restore-src/restore.h (rst_flags_t): Add header_to_fd. + * restore-src/amidxtaped.c: set header_to_fd to 1. + * restore-src/restore.c: Write header to header_to_fd. + * restore-src/amfetchdump.c: Add --header-fd and --header-file + arguments. + * man/xml-source/amfetchdump.8.xml: Document new --header-fd and + --header-file argument. + +2009-09-02 Dustin J. Mitchell + * perl/Amanda/Header.swg: remove spurious references to cmdline.h + +2009-09-02 Dustin J. Mitchell + * ndmp-src/Makefile.am: fix dumb typos + +2009-08-31 Dustin J. Mitchell + * man/entities/global.entities.in 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/amflush.8.xml man/xml-source/amgetconf.8.xml + man/xml-source/amlabel.8.xml man/xml-source/amreport.8.xml + man/xml-source/amrestore.8.xml man/xml-source/amservice.8.xml + man/xml-source/amtape.8.xml man/xml-source/amtapetype.8.xml + man/xml-source/amvault.8.xml: use entities to represent config + overwrites consistently + +2009-08-31 Dustin J. Mitchell + * perl/Amanda/Cmdline.swg perl/Amanda/Header.swg: don't depend on + cmdline.h in a client-only package + * perl/Amanda/Cmdline.pod perl/Amanda/Header.pod: adjust docs + * installcheck/Amanda_Cmdline.pl installcheck/Amanda_Header.pl: adjust + tests + +2009-08-31 Dan Locks + * packaging/rpm/amanda.spec: add amstar and amgtar to suid section of + %files for server. + +2009-08-31 Jean-Louis Martineau + * config/amanda/dumpers.m4: Give only a warning if user specified path + is not correct for gtar and star. + +2009-08-28 Dustin J. Mitchell + * perl/Amanda/Device.pod: be explicit: finish_file is not for read + mode + +2009-08-26 Paul C. Mantz + * xfer-src/filter-process.c: fixed write warnings which were + breaking Ubuntu builds + +2009-08-26 Paul C. Mantz + * perl/Amanda/Logfile.swg: added four previously omitted program + types + * installcheck/Amanda_Logfile.pl: regression tests for the program + types + +2009-08-26 Jean-Louis Martineau + * config/amanda/dumpers.m4 (AMANDA_PROG_STAR): New macro to find star. + * configure.in: Use AMANDA_PROG_STAR. + +2009-08-25 Jean-Louis Martineau + * config/amanda/components.m4: Fix --with-amrecover=yes + +2009-08-25 Jean-Louis Martineau + * ndmp-src/ndmp-protocol.h: Remove file. + * ndmp-src/Makefile.am (noinst_HEADERS): Remove ndmp-protocol.h. + * common-src/Makefile.am (noinst_HEADERS): Add ndmp-protocol.h. + +2009-08-25 Jean-Louis Martineau + * config/amanda/ndmp-device.m4: Add AMANDA_NDMP_DEVICE. + * configure.in: Use AMANDA_NDMP_DEVICE. + * common-src/conffile.c: Add ndmp_proxy_port, ndmp_proxy_debug_file + andndmp_proxy_debug_level. + * common-src/conffile.h: CNF_NDMP_PROXY_PORT, CNF_NDMP_PROXY_DEBUG_FILE + and CNF_NDMP_PROXY_DEBUG_LEVEL + * common-src/ndmp-protocol.h: Define protocol between amanda and + ndmp-proxy. + * common-src/util.c (start_ndmp_proxy, stop_ndmp_proxy, + connect_to_ndmp_proxy): New functions. + * common-src/util.h: Add prototype for new functions. + * device-src/Makefile.am: Build ndmp-device. + * device-src/device.c: Use ndmp-device. + * device-src/ndmp-device.c: New ndmp device. + * device-src/tape-device.c: Small fix. + * ndmp-src/ndma_comm_proxy.c: Convert to network byte order. + * perl/Amanda/Config.swg: Export new CNF_* constants. + * perl/Amanda/Ndmp.swg: New module for ndmp function. + * perl/Amanda/Util.pod: Document Amanda::Util::finish_application. + * perl/Amanda/Util.swg: New finish_application function. + * perl/Makefile.am: Build Amanda::Ndmp + * server-src/amcheck-device.pl, server-src/amlabel.pl: Call + stop_ndmp_proxy and finish_application. + +2009-08-25 Jean-Louis Martineau + * man/xml-source/amfetchdump.8.xml: Document -h option. + * restore-src/amfetchdump.c: Document -h option, pass the server + feature set to search_tapes. + +2009-08-24 Paul C. Mantz + * perl/Amanda/Report.pm: Module for abstracting amreport data + * perl/Makefile.am: compile the module + * installcheck/Amanda_Report.pl: test for Amanda::Report + * installcheck/Makefile.am: add the test to installcheck + +2009-08-21 Dustin J. Mitchell + * man/xml-source/amgtar.8.xml: changes suggested by Christopher + + +2009-08-20 Jean-Louis Martineau + * ndmp-src/ndma_comm_proxy.c: include "ipc-protocol.h" + * ndmp-src/Makefile.am: Link with libamanda + * ndmp-src/ndmos_glib.h: Use strtoll. + +2009-08-20 Jean-Louis Martineau + * ndmp-src/*: Import of ndmjob + ndmp-proxy. + * common-src/ndmp-protocol.h: Protocol between amanda and ndmp-proxy. + * configure.in: AMANDA_PROG_RPCGEN, build ndmp-src. + * config/amanda/progs.m4: AMANDA_PROG_RPCGEN. + * config/amanda/components.m4: AMANDA_WITHOUT_NDMP. + * Makefile.am: Build ndmp-src. + +2009-08-20 Jean-Louis Martineau + * common-src/ipc-binary.c: New protocol + * common-src/ipc-binary.h: New protocol header + * common-src/Makefile.am: Compile it. + +2009-08-20 Jean-Louis Martineau + * man/xml-source/amanda-changers.7.xml: Typo. + +2009-08-20 Dustin J. Mitchell + * man/xml-source/amanda-devices.7.xml: tweak + * perl/Amanda/Changer.pm: fix configuration to also include device + alias configuration + * perl/Amanda/Device.pod: deprecate $dev->configure() + * man/xml-source/amanda-changers.7.xml: better documentation + of device configuration via changers + +2009-08-18 Dustin J. Mitchell + * restore-src/Makefile.am restore-src/amrestore.c: remove + * common-src/fileheader.c common-src/fileheader.h: add + summarize_header + * common-src/match.c: fix match_level bugs + * installcheck/Amanda_Header.pl: test matches_dumpspecs + * server-src/Makefile.am server-src/amrestore.pl: new perl version + * installcheck/amrestore.pl: remove TODO's, don't expect -p to go + on to the next dumpfile + * man/xml-source/amrestore.8.xml: update docs + * perl/Amanda/Cmdline.pod: typo + * perl/Amanda/Header.pod perl/Amanda/Header.swg: add summary and + matches_dumpspec + * installcheck/Amanda_Util.pl: test sanitise_filename + * perl/Amanda/Util.pod: add sanitise_filename + +2009-08-18 Dustin J. Mitchell + * xfer-src/filter-process.c: new xfer element + * xfer-src/xfer-element.h: declare it + * perl/Amanda/Xfer.swg: SWIG it + * perl/Amanda/Xfer.pod: doc it + * xfer-src/Makefile.am: build it + * installcheck/Amanda_Xfer.pl: test it + +2009-08-18 Dustin J. Mitchell + * perl/Amanda/Xfer.pod perl/Amanda/Xfer.swg: add a callback argument + to start(), and make the get_source method "low-level" + * perl/Amanda/Taper/Scribe.pm installcheck/Amanda_Xfer.pl + installcheck/Amanda_Xfer_serveronly.pl server-src/amvault.pl + device-src/amtapetype.pl: don't use get_source + * perl/Amanda/MainLoop.pod: documentation tweak + +2009-08-17 Dustin J. Mitchell + * perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm + perl/Amanda/Changer/rait.pm perl/Amanda/Changer/robot.pm + perl/Amanda/Changer/single.pm: set $self->{'device'} to undef in + release() + * server-src/amcheck-device.pl: fix stupid bug + +2009-08-14 Dan Locks + * example/Makefile.am: split example into server and client + installperms statements. + +2009-08-14 Dustin J. Mitchell + * server-src/amlabel.pl: handle error in Amanda::Changer->new + +2009-08-14 Dustin J. Mitchell + * installcheck/amrestore.pl installcheck/Makefile.am: new installcheck + * installcheck/Installcheck/Dumpcache.pm installcheck/_setupcache.pl: + add a 'multi' dumpcache and refactor Dumpcache.pm + * installcheck/Installcheck/Run.pm: better diagnostics, better access + to stderr from successful runs + +2009-08-12 Dustin J. Mitchell + * installcheck/taper.pl: add a check for taper startup err + * server-src/taper.pl: properly send a startup err instead of die()ing + * perl/Amanda/IPC/LineProtocol.pm: fix typos + +2009-08-05 Dustin J. Mitchell + * man/xml-source/amdevcheck.8.xml: manpage tweaks + +2009-08-05 Dan Locks + * Thanks to Jim Barber for pointing out these bugs. + * packaging/deb/amanda-backup-client.postinst, packaging/deb/rules, + packaging/deb/amanda-backup-server.postinst: replace all instances + of AMHOMEDIR with AMANDAHOMEDIR, install .am_passphrase 0600. + * packaging/deb/control: add build-depends for libglib2.0-dev + +2009-08-04 Dustin J. Mitchell + * installcheck/amcheck.pl: fix typo + +2009-08-04 Dustin J. Mitchell + * installcheck/amcheck.pl: put options before args for old getopts + * installcheck/Makefile.am: only run amcheck check on full install + +2009-08-04 Dustin J. Mitchell + * installcheck/Makefile.am installcheck/amcheck.pl: new tests + * server-src/amcheck.c: fix usage message + +2009-08-04 Dustin J. Mitchell + * server-src/amlabel.pl: do not call exit() from inside a MainLoop callback + +2009-08-04 Dustin J. Mitchell + * server-src/amcheck.c: initialize success properly + * installcheck/mock/mtx.pl: another workaround for bad perl parser + +2009-08-04 Dustin J. Mitchell + * installcheck/amlabel.pl: update tests for new messages + * server-src/Makefile.am server-src/amlabel.c server-src/amlabel.pl: + rewrite amlabel in perl to use new changer API + * man/xml-source/amlabel.8.xml: overhaul manpage + * perl/Amanda/Util.pod perl/Amanda/Util.swg: add version_opt + +2009-08-04 Dustin J. Mitchell + * server-src/amlabel.c server-src/amcheck.c: remove include of + taperscan.h + +2009-08-04 Dustin J. Mitchell + * server-src/Makefile.am server-src/amcheck-device.pl + server-src/amcheck.c: break out device-checking into a perl script + invoked from amcheck + * installcheck/Makefile.am installcheck/amcheck-device.pl: check new + script + * perl/Amanda/Taper/Scan/traditional.pm: be willing to overwrite + volumes explicitly marked as blank (timestamp="X") + * server-src/taperscan.c server-src/taperscan.h: remove + +2009-08-04 Dustin J. Mitchell + * device-src/device.h: remove some comments that are now redundant + * perl/Amanda/Device.pod: put primary Device documentation here, + centralizing what used to be in the header file and on the wiki + +2009-08-04 Dustin J. Mitchell + * installcheck/Installcheck/Mock.pm: change syntax that perl-5.8.0 finds + confusing + +2009-08-04 Dustin J. Mitchell + * installcheck/amlabel.pl installcheck/Makefile.am: new unit tests + +2009-08-03 Dustin J. Mitchell + * device-src/tape-posix.c: use g_debug instead of dbprintf + +2009-08-03 Dustin J. Mitchell + * perl/Amanda/Taper/Scan/traditional.pm: don't try a particular slot + more than once in a scan object's lifetime + * man/xml-source/amanda-taperscan.7.xml: document this + +2009-08-03 Dustin J. Mitchell + * server-src/Makefile.am server-src/amtape.c server-src/amtape.pl: + rewrite amtape in perl + * NEWS: describe changes + * man/xml-source/amtape.8.xml: document behavior + * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm + perl/Amanda/Changer/robot.pm perl/Amanda/MainLoop.swg + perl/Amanda/Taper/Scan.pm perl/Amanda/Taper/Scan/traditional.pm: add + user_msg_fn + * installcheck/Amanda_Changer_compat.pl installcheck/amtape.pl: update + tests to match new behavior + +2009-08-03 Dustin J. Mitchell + * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm + perl/Amanda/Changer/disk.pm perl/Amanda/Changer/rait.pm + perl/Amanda/Changer/robot.pm perl/Amanda/Changer/single.pm: add + except_slots, to allow slot scanning + * installcheck/Amanda_Changer_compat.pl + installcheck/Amanda_Changer_disk.pl + installcheck/Amanda_Changer_rait.pl + installcheck/Amanda_Changer_robot.pl: test each implementation + +2009-08-03 Dustin J. Mitchell + * perl/Makefile.am perl/Amanda/Changer/robot.pm: + new changer + * example/amanda.conf.in: adjust to correspond to new changers + * installcheck/Amanda_Changer_robot.pl installcheck/Makefile.am: tests + * installcheck/Installcheck/Mock.pm: add $mock_mtx_path + * man/xml-source/amanda-changers.7.xml: documentation for new changer + * perl/Amanda/Changer.pm: POD tweak + +2009-07-31 Dan Locks + * packaging/deb/control, packaging/rpm/amanda.spec: add native + package names to conflict list + +2009-07-30 Dan Locks + * example/Makefile.am: separates client from server example, + label, and template files. + +2009-07-30 Dustin J. Mitchell + * device-src/Makefile.am device-src/xfer-source-taper.c + device-src/xfer-device.h: new xfer element + * device-src/xfer-source-device.c: typos + * xfer-src/xmsg.h: XMSG_PART_DONE is used by XferSourceTaper, too + * perl/Amanda/XferServer.swg: SWIG it + * perl/Amanda/Xfer.pod: docs + * installcheck/Amanda_Xfer_serveronly.pl: test it + +2009-07-30 Jean-Louis Martineau + * application-src/amsuntar.pl: Fix open of fd3. + +2009-07-30 Dustin J. Mitchell + * device-src/xfer-dest-taper.c: open disk cache twice instead of + incorrectly relying on dup(); use a local variable to stop the + disk cacher for sure at the end of each part + +2009-07-29 Dustin J. Mitchell + * perl/Amanda/Changer.pm: add an inventory() method + * perl/Amanda/Changer/disk.pm: implement + * perl/Amanda/Changer/rait.pm: implement + * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl + installcheck/Amanda_Changer_disk.pl + installcheck/Amanda_Changer_rait.pl: test + +2009-07-29 Dustin J. Mitchell + * perl/Amanda/Changer.pm: do not release() reservations automatically + when they go out of scope + * server-src/amrmtape.pl installcheck/Amanda_Changer.pl + installcheck/Amanda_Changer_compat.pl installcheck/Amanda_Changer_disk.pl + installcheck/Amanda_Changer_null.pl installcheck/Amanda_Changer_rait.pl + installcheck/Amanda_Changer_single.pl: don't depend on auto-release + +2009-07-29 Dustin J. Mitchell + * installcheck/mock/mtx.pl: mock fixes - count IE slots in 'Slots', + shuffle vtapes instead of linking, and support 'nobarcode' + * installcheck/mock_mtx.pl: test it + +2009-07-28 Nikolas Coukouma + * installcheck/Installcheck.pm: Add a function for including Test::More + messages in debug logs (and document it). Move mkpath($TMP) into an + INIT block. + * installcheck/Amanda_Changer.pl, installcheck/Amanda_Changer_compat.pl, + installcheck/Amanda_Changer_disk.pl, + installcheck/Amanda_Changer_null.pl, + installcheck/Amanda_Changer_rait.pl, + installcheck/Amanda_Changer_single.pl, installcheck/Amanda_Config.pl, + installcheck/Amanda_Debug.pl, installcheck/Amanda_Device.pl, + installcheck/Amanda_Header.pl, installcheck/Amanda_Holding.pl, + installcheck/Amanda_IPC_LineProtocol.pl, + installcheck/Amanda_Process.pl, installcheck/Amanda_Taper_Scan.pl, + installcheck/Amanda_Taper_Scan_traditional.pl, + installcheck/Amanda_Taper_Scribe.pl, installcheck/Amanda_Xfer.pl, + installcheck/Amanda_Xfer_serveronly.pl, + installcheck/amrmtape.pl, installcheck/amtape.pl, + installcheck/taper.pl: use Installcheck::log_test_output() + +2009-07-27 Dustin J. Mitchell + * perl/Amanda/Changer.pm: add a get_boolean_property helper method + +2009-07-27 Dustin J. Mitchell + * config/amanda/defaults.m4: remove --with-changer-device + * common-src/conffile.c: make NULL the default + * example/amanda.conf.in: remove reference to the default + * NEWS: note that option is no longer available + +2009-07-27 Dustin J. Mitchell + * config/automake/scripts.am: remove the CHECK_FOO vs. SCRIPTS_FOO + variables, and just syntax-check everything + * amar-src/Makefile.am application-src/Makefile.am + changer-src/Makefile.am client-src/Makefile.am common-src/Makefile.am + device-src/Makefile.am installcheck/Makefile.am xfer-src/Makefile.am: + adjust makefiles to match + * perl/Amanda/Changer/rait.pm: fix some warnings + +2009-07-24 Jean-Louis Martineau + * amandad-src/amandad.c: Fix fd allocation. + +2009-07-21 Dan Locks + * example/Makefile.am: add missing trailing slash + +2009-07-18 Dustin J. Mitchell + * installcheck/taper.pl: one more check for the taper's DONE + +2009-07-17 Dustin J. Mitchell + * installcheck/taper.pl: add a check for the taper's DONE + +2009-07-17 Dustin J. Mitchell + * server-src/xfer-source-holding.c: fix a race condition with + self->dest_taper + +2009-07-17 Dustin J. Mitchell + * server-src/Makefile.am: fix to distribute taper.pl + +2009-07-17 Dustin J. Mitchell + * installcheck/Amanda_Taper_Scribe.pl: fix test + +2009-07-17 Nikolas Coukouma + * installcheck/taper.pl: remove cruft + * server-src/Makefile.am: remove cruft + * server-src/taper.pl: fix copyright statement + +2009-07-17 Dustin J. Mitchell + * server-src/taper.pl: new taper (in perl) + * installcheck/taper.pl: update tests + * server-src/Makefile.am server-src/taper-disk-port-source.c + server-src/taper-disk-port-source.h server-src/taper-file-source.c + server-src/taper-file-source.h server-src/taper-mem-port-source.c + server-src/taper-mem-port-source.h server-src/taper-port-source.c + server-src/taper-port-source.h server-src/taper-source-test.c + server-src/taper-source.c server-src/taper-source.h + server-src/taper.c: deleted + +2009-07-17 Dustin J. Mitchell + * perl/Makefile.am perl/Amanda/Taper/Scribe.pm: new package + * installcheck/Makefile.am installcheck/Amanda_Taper_Scribe.pl: tests + +2009-07-16 Dustin J. Mitchell + * server-src/diskfile.c: add missing _() + +2009-07-16 Dustin J. Mitchell + * man/Makefile.am man/xml-source/amanda.8.xml + man/xml-source/amanda-compatibility.7.xml: add new manpage describing + inter-version compatibility + * man/xml-source/amanda-taperscan.7.xml: fix use of &A; + +2009-07-16 Jean-Louis Martineau + * changer-src/chg-lib.sh.in: Fix MESSAGE parsing for Solaris sed. + +2009-07-15 Dustin J. Mitchell + * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm + perl/Amanda/Changer/disk.pm perl/Amanda/Changer/null.pm + perl/Amanda/Changer/rait.pm perl/Amanda/Changer/single.pm: + remove $res->{'next_slot'} in favor of $chg->load(relative_slot + => 'next', slot => $slot) + * perl/Amanda/Taper/Scan/traditional.pm changer-src/chg-glue.pl + server-src/amvault.pl: use new form + * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl + installcheck/Amanda_Changer_disk.pl + installcheck/Amanda_Changer_rait.pl: test it + +2009-07-15 Dustin J. Mitchell + * common-src/conffile.h common-src/conffile.c: remove 'rawtapedev' + * NEWS: describe removed keyword + * installcheck/Amanda_Config.pl: don't test for it anymore + +2009-07-15 Dustin J. Mitchell + * perl/Amanda/Changer.pm: new with_locked_state method to help + subclasses access a locked statefile + * installcheck/Amanda_Changer.pl: test new method + * perl/Amanda/Changer/disk.pm: use new method + +2009-07-15 Dustin J. Mitchell + * common-src/amflock.h common-src/amflock.c: new fcntl-based + file locking support + * common-src/amflock-test.c: test them + * perl/Amanda/Util.pod perl/Amanda/Util.swg: SWIG them + * installcheck/Amanda_Util.pl: test that too + +2009-07-15 Dustin J. Mitchell + * gnulib/regenerate/regenerate: add ftruncate and lseek modules + * config/config.rpath config/gnulib/* gnulib/*: new modules + +2009-07-14 Dustin J. Mitchell + * perl/Amanda/DB/Catalog.pm: sort numeric values numerically + * installcheck/Amanda_DB_Catalog.pl: test same + +2009-07-14 Jean-Louis Martineau + * server-src/driverio.c: Print strerror if update of infofile failed. + +2009-07-14 Jean-Louis Martineau + * config/automake/scripts.am: Fix *.nouselib creation. + +2009-07-13 Dustin J. Mitchell + * perl/Amanda/Changer.pm: use 'relative_slot' for 'next' and 'current' + * perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm + perl/Amanda/Changer/rait.pm perl/Amanda/Taper/Scan/traditional.pm: + implement + * changer-src/chg-glue.pl installcheck/Amanda_Changer.pl + installcheck/Amanda_Changer_compat.pl + installcheck/Amanda_Changer_disk.pl + installcheck/Amanda_Changer_null.pl + installcheck/Amanda_Changer_rait.pl + installcheck/Amanda_Changer_single.pl + server-src/amvault.pl: use new key + +2009-07-13 Jean-Louis Martineau + * application-src/amsamba.pl: Fix parsing domain in amandapass. + +2009-07-11 Dustin J. Mitchell + * example/Makefile.am: fix typo (lbtempl vs. lbltempl) + +2009-07-10 Nikolas Coukouma + * device-src/s3-device.c: fix calls to erase() before start() + * installcheck/data/aws-bundle.crt: use a larger certificate bundle + * installcheck/Amanda_Device.pl: test operations on s3.amazonaws.com + with custom certificate bundle, test erase() before start(), + try to do more with an invalid certificate bundle + +2009-07-10 Dustin J. Mitchell + * configure.in: don't generate all of the example/ files here + * example/Makefile.am: generate them here + * example/chg-mcutil.conf.in: removed + * example/config.site: removed + +2009-07-09 Dustin J. Mitchell + * installcheck/Amanda_Taper_Scan_traditional.pl: use 'data' symlink + instead of 'current', as required by previous change + +2009-07-09 Alan Hodgson + * application-src/amgtar.c: add ACLS, SELINUX, and XATTRS properties + * man/xml-source/amgtar.8.xml: document them + +2009-07-09 Dustin J. Mitchell + * common-src/util.c common-src/util.h: add quote_string_always + * common-src/conffile.c: use it to quote strings on output from config + +2009-07-09 Dustin J. Mitchell + * config/amanda/version.m4: deprecate --with-suffix and AC_DEFINE + VERSION_MAJOR, _MINOR, etc. + * common-src/version.h: remove everything but version_info + * client-src/versionsuffix.c client-src/Makefile.am: remove + versionsuffix app + * configure.in: remove versuff.c + * perl/Amanda/Constants.pm.in man/xml-source/amgetconf.8.xml: remove + USE_VERSION_SUFFIXES + * other source files: change version() to VERSION, remove + versionsuffix() calls, remove unnecessary #include "version.h", + and remove other uses of suffixes + +2009-07-09 Dustin J. Mitchell + * perl/Amanda/Changer/disk.pm: use a symlink named 'data' instead + of 'current', so the vtape root works as a device + * man/xml-source/amanda-changers.7.xml: document + +2009-07-09 Dustin J. Mitchell + * amandad-src/amandad.c: conditionalize UID checks + +2009-07-09 Dustin J. Mitchell + * perl/Amanda/Config.swg perl/Amanda/Config.pod common-src/conffile.c: + prefer 'application' and 'script' to 'application-tool' and + 'script-tool', but accept both + * common-src/amgetconf.pl: accept both + * installcheck/Installcheck/Config.pm: add_text() + * installcheck/Amanda_Config.pl: test changes + * installcheck/amgetconf.pl: test changes + * man/xml-source/amanda-client.conf.5.xml: document + * man/xml-source/amanda.conf.5.xml: document + +2009-07-09 Dustin J. Mitchell + * AUTHORS: update, add notes about contribution licensing + +2009-07-06 Dustin J. Mitchell + * changer-src/chg-glue.pl: unref the device, in hopes it will + close the open file descriptor so that tape devices can be used + from the process that invoked chg-glue + +2009-07-03 Dustin J. Mitchell + * man/xml-source/amanda.8.xml: add link to amanda-taperscan(7) + +2009-06-30 Dustin J. Mitchell + * perl/Makefile.am: change "Scribe.pm" to "Scan.pm" + +2009-06-30 Dustin J. Mitchell + * perl/Amanda/Taper/Scan.pm perl/Amanda/Taper/Scan/traditional.pm + perl/Makefile.am: add Perl implementation of the traditional taperscan + algorithm + * installcheck/Amanda_Taper_Scan.pl + installcheck/Amanda_Taper_Scan_traditional.pl + installcheck/Makefile.am: test + * perl/Amanda/Changer/disk.pm: test support tweak + * man/Makefile.am man/xml-source/amanda-taperscan.7.xml: new manpage + with a full description of the traditional algo + * man/xml-source/amanda-changers.7.xml: mention which changers are fast-search + +2009-06-30 Dustin J. Mitchell + * perl/Amanda/MainLoop.swg: add synchronized() + * perl/Amanda/MainLoop.pod: document it + * installcheck/Amanda_MainLoop.pl: test it + * perl/Amanda/Changer/compat.pm: and use it + +2009-06-29 Nikolas Coukouma + * device-src/s3.c, installcheck/Amanda_Device.pl: + Don't allow dots in bucket names, for compatability with + libcurl built against NSS. + +2009-06-29 Nikolas Coukouma + * Amanda_Device.pl, Makefile.am, data/aws-bundle.crt: + Test using a certificate bundle with the S3 device + +2009-06-26 Jean-Louis Martineau + * common-src/conffile.c: New ORDER keyword in script section. + * common-src/conffile.h: New ORDER keyword in script section. + * man/xml-source/amanda.conf.5.xml: Document ORDER keyword. + * perl/Amanda/Config.swg: Bing ORDER keyword. + * application-src/amlog-script.pl: Add --text parameter. + * installcheck/pp-scripts.pl: Check execution order. + +2009-06-26 Jean-Louis Martineau + * restore-src/amfetchdump.c, restore-src/amrestore.c, + restore-src/restore.c: Add debugging. + +2009-06-22 Jean-Louis Martineau + * server-src/amlabel.c: Relabel VOLUME_ERROR tape if -f. + +2009-06-19 Dan Locks + * packaging/deb/rules, packaging/rpm/amanda.spec: apply "quiet" + changes to packages. + +2009-06-19 Dan Locks + * packaging/deb/server/control, packaging/deb/client/control: update + depends to list libcurl3 or 4. + +2009-06-19 Dustin J. Mitchell + * perl/Amanda/Tapelist.swg: add tapes at the beginning and be + explicit about maintaining tape order with a stable sort + * perl/Amanda/Tapelist.pod: document it + * man/xml-source/tapelist.5.xml: manpages too + * installcheck/Amanda_Tapelist.pl: test it + * installcheck/Makefile.am: sort alphabetically + +2009-06-19 Dustin J. Mitchell + * perl/Amanda/Util.swg: expose get_fs_usage in perl + * installcheck/Amanda_Util.pl: test it + * perl/Amanda/Util.pod: document it + +2009-06-19 Jean-Louis Martineau + * server-src/reporter.c: Use the filenum from the PART line. + Keep the filenum of the first part. + +2009-06-19 Nikolas Coukouma + * amar-src/amar.c, amar-src/amar.h, amar-src/amarchiver.c, + application-src/amlog-script.pl, application-src/ampgsql.pl, + application-src/amsamba.pl, application-src/amsuntar.pl, + application-src/amzfs-sendrecv.pl, application-src/amzfs-snapshot.pl, + application-src/script-email.pl, changer-src/chg-glue.pl, + common-src/amaespipe.sh, common-src/amcryptsimple.pl, + common-src/amgetconf.pl, common-src/amgpgcrypt.pl, + common-src/event-test.c, common-src/glib-util.c, + common-src/glib-util.h, common-src/queueing-test.c, + common-src/queueing.c, common-src/queueing.h, + common-src/quoting-test.c, common-src/semaphore-test.c, + common-src/semaphore.c, common-src/semaphore.h, + common-src/simpleprng.c, common-src/simpleprng.h, + common-src/sockaddr-util.c, common-src/sockaddr-util.h, + common-src/testutils.c, common-src/testutils.h, + config/automake/scripts.am, config/automake/vars.am, + config/macro-archive/docbook-dtd.m4, + config/macro-archive/docbook-xslt-min.m4, + config/macro-archive/docbook-xslt.m4, + config/macro-archive/xsltproc.m4, device-src/amdevcheck.pl, + device-src/amtapetype.pl, device-src/device-queueing.c, + device-src/device-queueing.h, device-src/device.c, + device-src/device.h, device-src/null-device.c, device-src/property.c, + device-src/property.h, device-src/rait-device.c, + device-src/s3-device.c, device-src/s3-util.c, device-src/s3-util.h, + device-src/s3.c, device-src/s3.h, device-src/tape-aix.c, + device-src/tape-device.c, device-src/tape-device.h, + device-src/tape-ops.h, device-src/tape-posix.c, + device-src/tape-uware.c, device-src/tape-xenix.c, + device-src/vfs-device.c, device-src/vfs-test.c, + device-src/xfer-dest-device.c, device-src/xfer-dest-taper.c, + device-src/xfer-device.h, device-src/xfer-source-device.c, + installcheck/Amanda_Archive.pl, installcheck/Amanda_Changer.pl, + installcheck/Amanda_Changer_compat.pl, + installcheck/Amanda_Changer_disk.pl, + installcheck/Amanda_Changer_null.pl, + installcheck/Amanda_Changer_rait.pl, + installcheck/Amanda_Changer_single.pl, installcheck/Amanda_Cmdline.pl, + installcheck/Amanda_Config.pl, installcheck/Amanda_DB_Catalog.pl, + installcheck/Amanda_Debug.pl, installcheck/Amanda_Device.pl, + installcheck/Amanda_Disklist.pl, installcheck/Amanda_Header.pl, + installcheck/Amanda_Holding.pl, + installcheck/Amanda_IPC_LineProtocol.pl, + installcheck/Amanda_Logfile.pl, installcheck/Amanda_MainLoop.pl, + installcheck/Amanda_Process.pl, installcheck/Amanda_Tapelist.pl, + installcheck/Amanda_Util.pl, installcheck/Amanda_Xfer.pl, + installcheck/Amanda_Xfer_serveronly.pl, installcheck/Installcheck.pm, + installcheck/Installcheck/Application.pm, + installcheck/Installcheck/Changer.pm, + installcheck/Installcheck/Config.pm, + installcheck/Installcheck/Dumpcache.pm, + installcheck/Installcheck/Mock.pm, installcheck/Installcheck/Run.pm, + installcheck/_setupcache.pl, installcheck/amarchiver.pl, + installcheck/amcheckdump.pl, installcheck/amdevcheck.pl, + installcheck/amdump.pl, installcheck/amfetchdump.pl, + installcheck/amgetconf.pl, installcheck/amgtar.pl, + installcheck/ampgsql.pl, installcheck/amreport.pl, + installcheck/amrmtape.pl, installcheck/amservice.pl, + installcheck/amstatus.pl, installcheck/amtape.pl, + installcheck/amtapetype.pl, installcheck/bigint.pl, + installcheck/mock/mtx.pl, installcheck/mock_mtx.pl, + installcheck/pp-scripts.pl, installcheck/taper.pl, + perl/Amanda/Application.pod, perl/Amanda/Application.swg, + perl/Amanda/Application/Zfs.pm, perl/Amanda/Archive.pod, + perl/Amanda/Archive.swg, perl/Amanda/BigIntCompat.pm, + perl/Amanda/Changer.pm, perl/Amanda/Changer/compat.pm, + perl/Amanda/Changer/disk.pm, perl/Amanda/Changer/null.pm, + perl/Amanda/Changer/rait.pm, perl/Amanda/Changer/single.pm, + perl/Amanda/Cmdline.pod, perl/Amanda/Cmdline.swg, + perl/Amanda/Config.pod, perl/Amanda/Config.swg, + perl/Amanda/Constants.pm.in, perl/Amanda/DB/Catalog.pm, + perl/Amanda/Debug.pod, perl/Amanda/Debug.swg, perl/Amanda/Device.pod, + perl/Amanda/Device.swg, perl/Amanda/Disklist.pod, + perl/Amanda/Disklist.swg, perl/Amanda/Header.pod, + perl/Amanda/Header.swg, perl/Amanda/Holding.pm, + perl/Amanda/IPC/LineProtocol.pm, perl/Amanda/Logfile.pod, + perl/Amanda/Logfile.swg, perl/Amanda/MainLoop.pod, + perl/Amanda/MainLoop.swg, perl/Amanda/Paths.pm.in, + perl/Amanda/Process.pm, perl/Amanda/Script.pm, + perl/Amanda/Script_App.pm, perl/Amanda/Tapelist.pod, + perl/Amanda/Tapelist.swg, perl/Amanda/Tests.pod, + perl/Amanda/Tests.swg, perl/Amanda/Util.pod, perl/Amanda/Util.swg, + perl/Amanda/Xfer.pod, perl/Amanda/Xfer.swg, + perl/Amanda/XferServer.pod, perl/Amanda/XferServer.swg, + perl/amglue/amglue.h, perl/amglue/amglue.swg, perl/amglue/bigint.c, + perl/amglue/constants.swg, perl/amglue/dumpspecs.swg, + perl/amglue/exports.swg, perl/amglue/filehandles.swg, + perl/amglue/ghashtable.c, perl/amglue/glib.swg, + perl/amglue/integers.swg, perl/amglue/objwrap.c, perl/amglue/source.c, + perl/amglue/xferwrap.c, perl/make_html.pl, server-src/amaddclient.pl, + server-src/amcheckdump.pl, server-src/amcleanup.pl, + server-src/amrmtape.pl, server-src/amserverconfig.pl, + server-src/amvault.pl, server-src/cmdline.c, server-src/cmdline.h, + server-src/taper-disk-port-source.c, + server-src/taper-disk-port-source.h, server-src/taper-file-source.c, + server-src/taper-file-source.h, server-src/taper-mem-port-source.c, + server-src/taper-mem-port-source.h, server-src/taper-port-source.c, + server-src/taper-port-source.h, server-src/taper-source.c, + server-src/taper-source.h, server-src/taperscan.c, + server-src/taperscan.h, server-src/xfer-server.h, + server-src/xfer-source-holding.c, xfer-src/amxfer.h, + xfer-src/dest-fd.c, xfer-src/dest-null.c, xfer-src/element-glue.c, + xfer-src/element-glue.h, xfer-src/filter-xor.c, xfer-src/source-fd.c, + xfer-src/source-pattern.c, xfer-src/source-random.c, + xfer-src/xfer-element.c, xfer-src/xfer-element.h, + xfer-src/xfer-test.c, xfer-src/xfer.c, xfer-src/xfer.h, + xfer-src/xmsg.c, xfer-src/xmsg.h: + update/correct copyright notice years + +2009-06-17 Dustin J. Mitchell + * config/automake/scripts.am: support scripts with subdirs + +2009-06-17 Dustin J. Mitchell + * installcheck/mock/mtx.pl: new "mock" mtx for testing + * installcheck/mock_mtx.pl: test the test mtx + * installcheck/Installcheck/Mock.pm: support for using mtx + * installcheck/Installcheck/Run.pm: don't apply sbindir if there + are any slashes in the app name + * installcheck/Makefile.am: new files + +2009-06-16 Jean-Louis Martineau + * server-src/planner.c: Fix for bump from level 9 to 10. + +2009-06-13 Dustin J. Mitchell + * installcheck/Amanda_Changer_compat.pl: add test case for concurrent + calls to chg-compat's info() (tests the fix committed 2009-06-01) + +2009-06-12 Dustin J. Mitchell + * config/amanda/flags.m4: fix --enable-werror macro + +2009-06-12 Jean-Louis Martineau + * server-src/planner.c: Print how tape_length is computed. + +2009-06-12 Jean-Louis Martineau + * amandad-src/amandad.c: Fix for configured with CLIENT_LOGIN=root + * man/xml-source/amanda-client.conf.5.xml: Typo. + * man/xml-source/amanda.conf.5.xml: Add ssh_keys. + +2009-06-11 Nikolas Coukouma + * amar-src/amar.c, amar-src/amar.h, amar-src/amarchiver.c, + common-src/glib-util.c, common-src/glib-util.h, common-src/queueing.c, + common-src/queueing.h, common-src/semaphore-test.c, + common-src/semaphore.c, common-src/semaphore.h, + config/automake/scripts.am, config/automake/vars.am, + device-src/device-queueing.c, device-src/device-queueing.h, + device-src/device.c, device-src/device.h, device-src/null-device.c, + device-src/property.c, device-src/property.h, + device-src/rait-device.c, device-src/s3-device.c, + device-src/s3-util.c, device-src/s3-util.h, device-src/s3.c, + device-src/s3.h, device-src/tape-aix.c, device-src/tape-device.c, + device-src/tape-device.h, device-src/tape-ops.h, + device-src/tape-posix.c, device-src/tape-uware.c, + device-src/tape-xenix.c, device-src/vfs-device.c, + device-src/vfs-test.c, device-src/xfer-dest-device.c, + device-src/xfer-dest-taper.c, device-src/xfer-device.h, + device-src/xfer-source-device.c, perl/Amanda/Application.pod, + perl/Amanda/Application.swg, perl/Amanda/Application/Zfs.pm, + perl/Amanda/Archive.pod, perl/Amanda/Archive.swg, + perl/Amanda/BigIntCompat.pm, perl/Amanda/Changer.pm, + perl/Amanda/Changer/compat.pm, perl/Amanda/Changer/disk.pm, + perl/Amanda/Changer/null.pm, perl/Amanda/Changer/rait.pm, + perl/Amanda/Changer/single.pm, perl/Amanda/Cmdline.pod, + perl/Amanda/Cmdline.swg, perl/Amanda/Config.pod, + perl/Amanda/Config.swg, perl/Amanda/Constants.pm.in, + perl/Amanda/Debug.pod, perl/Amanda/Debug.swg, perl/Amanda/Device.pod, + perl/Amanda/Device.swg, perl/Amanda/Disklist.pod, + perl/Amanda/Disklist.swg, perl/Amanda/Header.pod, + perl/Amanda/Header.swg, perl/Amanda/Holding.pm, + perl/Amanda/IPC/LineProtocol.pm, perl/Amanda/Logfile.pod, + perl/Amanda/Logfile.swg, perl/Amanda/MainLoop.pod, + perl/Amanda/MainLoop.swg, perl/Amanda/Paths.pm.in, + perl/Amanda/Process.pm, perl/Amanda/Script.pm, + perl/Amanda/Script_App.pm, perl/Amanda/Tapelist.pod, + perl/Amanda/Tapelist.swg, perl/Amanda/Tests.pod, + perl/Amanda/Tests.swg, perl/Amanda/Util.pod, perl/Amanda/Util.swg, + perl/Amanda/Xfer.pod, perl/Amanda/Xfer.swg, + perl/Amanda/XferServer.pod, perl/Amanda/XferServer.swg, + perl/amglue/amglue.h, perl/amglue/amglue.swg, perl/amglue/bigint.c, + perl/amglue/constants.swg, perl/amglue/dumpspecs.swg, + perl/amglue/exports.swg, perl/amglue/filehandles.swg, + perl/amglue/ghashtable.c, perl/amglue/glib.swg, + perl/amglue/integers.swg, perl/amglue/objwrap.c, perl/amglue/source.c, + perl/amglue/xferwrap.c, server-src/taper-disk-port-source.c, + server-src/taper-disk-port-source.h, server-src/taper-file-source.c, + server-src/taper-file-source.h, server-src/taper-mem-port-source.c, + server-src/taper-mem-port-source.h, server-src/taper-port-source.c, + server-src/taper-port-source.h, server-src/taper-source.c, + server-src/taper-source.h, server-src/xfer-server.h, + server-src/xfer-source-holding.c, xfer-src/amxfer.h, + xfer-src/dest-fd.c, xfer-src/dest-null.c, xfer-src/element-glue.c, + xfer-src/element-glue.h, xfer-src/filter-xor.c, xfer-src/source-fd.c, + xfer-src/source-pattern.c, xfer-src/source-random.c, + xfer-src/xfer-element.c, xfer-src/xfer-element.h, xfer-src/xfer.c, + xfer-src/xfer.h, xfer-src/xmsg.c, xfer-src/xmsg.h: + relincense LGPL files under the GPL + +2009-06-10 Paul C. Mantz + * perl/Amanda/Application.pod: moved from .swg file + * perl/Amanda/Application.swg: removed pod documentation + * perl/Amanda/Archive.pod: moved from .swg file + * perl/Amanda/Archive.swg: removed pod documentation + * perl/Amanda/Cmdline.pod: moved from .swg file + * perl/Amanda/Cmdline.swg: removed pod documentation + * perl/Amanda/Config.pod: moved from .swg file + * perl/Amanda/Config.swg: removed pod documentation + * perl/Amanda/Debug.pod: moved from .swg file + * perl/Amanda/Debug.swg: removed pod documentation + * perl/Amanda/Device.pod: moved from .swg file + * perl/Amanda/Device.swg: removed pod documentation + * perl/Amanda/Disklist.pod: moved from .swg file + * perl/Amanda/Disklist.swg: removed pod documentation + * perl/Amanda/Header.pod: moved from .swg file + * perl/Amanda/Header.swg: removed pod documentation + * perl/Amanda/Logfile.pod: moved from .swg file + * perl/Amanda/Logfile.swg: removed pod documentation + * perl/Amanda/MainLoop.pod: moved from .swg file + * perl/Amanda/MainLoop.swg: removed pod documentation + * perl/Amanda/Tapelist.pod: moved from .swg file + * perl/Amanda/Tapelist.swg: removed pod documentation + * perl/Amanda/Tests.pod: moved from .swg file + * perl/Amanda/Tests.swg: removed pod documentation + * perl/Amanda/Util.pod: moved from .swg file + * perl/Amanda/Util.swg: removed pod documentation + * perl/Amanda/Xfer.pod: moved from .swg file + * perl/Amanda/Xfer.swg: removed pod documentation + * perl/Amanda/XferServer.pod: moved from .swg file + * perl/Amanda/XferServer.swg: removed pod documentation + * perl/Makefile.am: added pod files to tar dist + +2009-06-05 Nikolas Coukouma + * installcheck/Amanda_Device.pl: test device named just "s3:" + +2009-06-03 Dustin J. Mitchell + * config/amanda/dumpers.m4: fix more quoting, thanks again to Eric + Olsen + +2009-06-03 Dustin J. Mitchell + * config/amanda/dumpers.m4: fix quoting for shell portability + +2009-06-02 Nikolas Coukouma + * device-src/s3.c: retry S3 uploads on DNS failure + +2009-06-01 Dustin J. Mitchell + * installcheck/Installcheck/Config.pm: add remove_param + * installcheck/Makefile.am installcheck/amtape.pl: new installcheck + +2009-06-01 Dustin J. Mitchell + * perl/Amanda/Header.swg: add :constant tag + * server-src/amvault.pl: use it + +2009-06-01 Dustin J. Mitchell + * device-src/s3-device.c: start delete at file 1 + +2009-06-01 Dustin J. Mitchell + * perl/Amanda/Changer/compat.pm: handle concurrent calls to _get_info + +2009-06-01 Dustin J. Mitchell + * installcheck/Amanda_IPC_LineProtocol.pl: make children wait for a + message before existing; fixes problems on OS X + +2009-05-28 Jean-Louis Martineau + * server-src/amindexd.c: fix sscanf. + +2009-05-28 Jean-Louis Martineau + * server-src/reporter.c: Print only the first 100 lines in FAiL and + STRANGE detail section. + +2009-05-27 Jean-Louis Martineau + * common-src/match.c: Match UNC name diskname. + * man/xml-source/amanda.8.xml: Document UNC matcher. + +2009-05-27 Jean-Louis Martineau + * client-src/client_util.c: Improve error reporting. + * client-src/sendsize.c: Typo + * client-src/selfcheck.c: Execute application with --calcsize even if + it not the first estimate. + * application-src/amgtar.c: Check calcsize binary. + * application-src/amstar.c: Check calcsize binary. + * server-src/planner.c: log sendsize error as warning if a server + estimate is available. + +2009-05-26 Jean-Louis Martineau + * application-src/amgtar.c: Set MAX_LEVEL to 399. + * common-src/amanda.h: Set DUMP_LEVELS to 400. + * client-src/amandates.h: Remove DUMP_LEVELS. + * server-src/infofile.h: Remove DUMP_LEVELS + * server-src/amtrmidx.c: Fix for level with more than one digit. + * server-src/amindexd.c, server-src/find.c + server-src/reporter.c: Use DUMP_LEVELS. + +2009-05-25 Dustin J. Mitchell + * device-src/xfer-dest-taper.c: make the pointers, not the objects, + volatile + +2009-05-25 Jean-Louis Martineau + * common-src/fileheader.c: use %zu for a size_t argument. + +2009-05-25 Jean-Louis Martineau + * configure.in: Use AMANDA_WERROR_FLAGS and AMANDA_SWIG_ERROR. + * perl/Makefile.am: Add AMANDA_SWIG_PERL_CFLAGS to AM_CFLAGS. + * config/amanda/flags.m4: New AMANDA_WERROR_FLAGS and AMANDA_SWIG_ERROR. + +2009-05-24 Dustin J. Mitchell + * perl/Makefile.am perl/Amanda/IPC/LineProtocol.pm: new package + * perl/Amanda/Util.swg: add split_quoted_strings + * common-src/util.c: handle NULL string correctly + * installcheck/Amanda_IPC_LineProtocol.pl installcheck/Amanda_Util.pl + installcheck/Makefile.am: tests for all + +2009-05-24 Dustin J. Mitchell + * installcheck/amservice.pl: call $testconfig->write(); + +2009-05-24 Dustin J. Mitchell + * device-src/xfer-dest-taper.c: make sure max_slabs >1; improve slab + size heuristic; handle the case where extra slabs are still in memory + when rewinding a disk-cached part; add 'volatile' and make memory + access safer; use a cache directory, not file + * device-src/xfer-device.h: use a cache directory, not file + * installcheck/Amanda_Xfer_serveronly.pl: use cache directory + * perl/Amanda/Xfer.swg: use cache directory + * perl/Amanda/XferServer.swg: use cache directory + +2009-05-23 Dustin J. Mitchell + * common-src/fileheader.c: use %zd for a size_t argument + +2009-05-23 Dustin J. Mitchell + * common-src/fileheader.c: don't automatically call dump_fileheader_t + in build_header + * server-src/dumper.c server-src/holding.c server-src/taper.c + server-src/chunker.c: add debug messages as necessary + +2009-05-23 Dustin J. Mitchell + * device-src/amdevcheck.pl: move from server-src/ + * device-src/Makefile.am server-src/Makefile.am: move script + +2009-05-23 Dustin J. Mitchell + * perl/Amanda/Changer/compat.pm: run a full manual scan on update() + * installcheck/Amanda_Changer_compat.pl: test it + +2009-05-23 Dustin J. Mitchell + * amandad-src/Makefile.am application-src/Makefile.am oldrecover-src/Makefile.am recover-src/Makefile.am - restore-src/Makefile.am server-src/Makefile.am tape-src/Makefile.am: - Add lint target. - - * common-src/amanda.h common-src/dgram.c common-src/stream.c - common-src/util.c: - Keep checking for ports on all bind errors. - Delay and retry a few times if all ports are busy. - Retry bind failures after all methods fail. - increase bind checking timeout to 30 minutes. - - * client-src/amandad.c - Issue wait when any child exits. (Get rid of defunct processes) - Stat() index file before using system command. - (shell is not reporting failure if index is not present) - - * recover-src/extract_list.c: - Fix problem of 'add *' not adding directories. - Fix problem of freeing pointer not obtained through malloc. - Touch up file addition to actually use the file names - retrieved when adding a directory and not the directory itself. - - * server-src/taper.c - Strenghten error recovery for broken syncpipes and writer errors. - - * changer-src/chg-scsi-chio.c client-src/amandates.c - client-src/client_util.c client-src/findpass.c client-src/getfsent.c - client-src/selfcheck.c client-src/sendbackup-gnutar.c - client-src/sendbackup-star.c client-src/sendbackup.c - client-src/sendsize.c common-src/bsd-security.c common-src/file.c - common-src/krb5-security.c server-src/amcheck.c server-src/amindexd.c - server-src/diskfile.c server-src/driver.c server-src/dumper.c - server-src/holding.c server-src/infofile.c server-src/logfile.c - server-src/tapefile.c: - allow empty lines in input streams. - - * recover-src/uparse.y - print message when input is garbage. - - * server-src/getconf.c: - Define HOSTNAME_INSTANCE if it was not already defined - for Kerberos. - - * configure.in: Make readline warning less specific. Readline is - used by all input from terminal now. - -2006-05-24 Kevin Till - * client-src/sendbackup.c: ignore SIGINT - * common-src/ssh-security.c: add to total only when n > 0 - * common-src/ssh-security.c: add ssh to error, - retry writev when EINTR, EAGAIN is seen - to STDOUT. exit when options is chosen in template mode. - * server-src/driver.c: make sure timestamp is not null - * amanda/configure.in: remove template.d/amanda.conf which is a dup - of amanda-harddisk.conf - * example/Makefile.am: add template.d/README - * amanda-harddisk.conf.in: set tapedev - * recover-src/amrecover.c: aclose socket before exit. - * recover-src/extract_list.c: ditto - * amanda_enterprise.spec: remove template.d/amanda.conf, add template.d/README - in the failure cases. <> user input field. - * server-src/amcheck.c: no quoted text is a warning - * server-src/driver.c: no need to amfree qname - argument. Search mtx in PATH too. - * example/template.d/advanced.conf.in: fix comment for autoflush - * example/template.d/advanced.conf.in: add usetimestamps - * server-src/diskfile.c: to catch unsupported compress-encryption - combination and abort amdump gracefully. - * man/xml-source/amanda.conf.5.xml: fix syntax, add - dumptype references. - * man/xml-source/amanda.8.xml: fix syntax - * configure.in: ditto - * man/Makefile.am: ditto - * example/amanda.conf.in: tidy up - * man/xml-source/amaespipe.8.xml: add uuencode as requirement - * man/xml-source/amcrypt.8.xml: add uuencode as requirement - * server-src/amcheck.c: catch dumptype misconfiguration - * server-src/diskfile.c: ditto - * server-src/driverio.c: ditto - * server-src/planner.c: ditto - * server-src/conffile.c: check includefile before calling - read_conffile_recursively - * example/amanda.conf.in: add public-key encryption dumptype example - * man/xml-source/amanda.8.xml: fix some formatting - * server-src/planner.c: adjust setuid() calling sequences so that ssh can work - * server-src/dumper.c: ditto - * configure.in: add LOW_TCPPORTRANGE for amrecover - * common-src/stream.c: use LOW_TCPPORTRANGE - * server-src/amdump.sh.in: check if config is supplied - * man/xml-source/amrestore.8.xml: add notes on "-f" option - -2006-05-24 Ian Turner - * configure.in: Properly document --without-xsltproc as itself, - and not the (nonexistant) option --without-built-manpages. - -2006-05-16 John Franks - * amandad-src/amandad.c client-src/clientconf.c common-src/bsd-security.c - common-src/bsdudp-security.c common-src/dgram.c common-src/krb4-security.c - common-src/krb5-security.c common-src/match.c common-src/packet.c - common-src/security-util.c common-src/security-util.h - common-src/security.h common-src/util.c oldrecover-src/Makefile.am - oldrecover-src/set_commands.c recover-src/amrecover.c - recover-src/extract_list.c server-src/conffile.c server-src/driver.c - server-src/dumper.c server-src/planner.c server-src/reporter.c: - Minimal changes to get tree to compile along with some more - debugging output. - -2006-05-15 Jean-Louis Martineau - * server-src/amadmin.c (disklist_one): print spindle. - -2006-05-12 Jean-Louis Martineau - * commmon-src/bsd-security.c: Typo. - -2006-05-12 Jean-Louis Martineau - * common-src/Makefile.am (noinst_HEADERS): Add security-util.h. - -2006-05-12 Jean-Louis Martineau - Build a big tok_t enum for server and client config. - * client-src/clientconf.c: Move many things to util.c. - * client-src/clientconf.h: Remove extern variable. - * common-src/util.c: Add common part of clientconf.c and conffile.c - * common-src/util.h: Prototype. - * server-src/conffile.c: Move many things to util.c. - * server-src/diskfile.c(disk_parserror): Rename from parserror. - * server-src/taper.c: Make many variable static. - -2006-05-12 Jean-Louis Martineau - * restore-src/restore.c: Fix use of possibly NULL input. - -2006-05-12 Jean-Louis Martineau - * common-src/ssh-security.c (ssh_connect): Retrieve ssh_keys from - configuration. - * server-src/amadmin.c(disklist_one): Print ssh_keys. - * server-src/conffile.c(SSH_KEYS): Parse new dumptype option. - * server-src/conffile.h(dumptype_t): Add ssh_keys. - * server-src/diskfile.c(parse_diskline): Copy new field. - * server-src/diskfile.h(disk_t) Add ssh_keys. - * server-src/driverio.c(dumper_cmd): Send dp->ssh_keys in a PORT_DUMP - command to the dumper. - * server-src/dumper.c: Parse ssh_keys in a PORT_DUMP command. - * server-src/dumper.c(dumper_get_security_conf): Return the ssh_keys. - * server-src/server_util.c(amhost_get_security_conf): Return the - ssh_keys. - -2006-05-12 Jean-Louis Martineau - * amandad-src/amandad.c: Set allow_many_services to 0 if auth=bsdtcp. - * common-src/bsd-security.c: Use security-util.c. - * common-src/bsdtcp-security.c: New security-api. - * common-src/bsdudp-security.c: New secutity-api. - * common-src/krb4-security.c: Use security-util.c. - * common-src/krb5-security.c: Use security-util.c. - * common-src/Makefile.am (libamanda_la_SOURCES): Add bsdtcp-security.c, - bsdtcp-security.c - and security-util.c. - * common-src/protocol.c: Debuging cleanup. - * common-src/rsh-security.c Use security-util.c. - * common-src/security.c: Use bsdtcp_security_driver - and bsdudp_security_driver. - * common-src/security.h(accept): New prototype. - * common-src/security-util.c: Many common function for security-api. - * common-src/security-util.h: many prototype for security-api. - * common-src/ssh-security.c Use security-util.c. - * common-src/stream.c (stream_client_internal): Call connect_portrange. - * common-src/util.c (make_socket): Make a socket. - * common-src/util.c (connect_portrange): Make a socket, bind it and - connect. - * common-src/util.h (connect_portrange): Prototype. - * configure.in: new --with-bsdtcp-security and --with-bsdudp-security. - -2006-05-10 Jean-Louis Martineau - Patch by - * man/xml-source/amrecover.8.xml: Document listhost command. - -2006-05-08 Jean-Louis Martineau - Patch by - * server-src/amindexd.c: new LISTHOST command. - * recover-src/set_commands.c (list_host): New function. - * recover-src/amrecover.h (list_host): Prototype. - * recover-src/help.c (list_host): Print help. - * recover-src/uscan.l: Parse listhost command. - * recover-src/uparse.y: LISTHOST command. - * oldrecover-src/set_commands.c (list_host): New function. - * oldrecover-src/amrecover.h (list_host): Prototype. - * oldrecover-src/help.c (list_host): Print help. - * oldrecover-src/uscan.l: Parse listhost command. - * oldrecover-src/uparse.y: LISTHOST command. - -2006-05-08 Ian Turner - * server-src/amcheck.c: Make it an error when the expected new - tape cannot be found. Thanks to Paul Bijnens - for the patch and to Jason L - Tibbitts III for noticing this problem. - -2006-05-08 Jean-Louis Martineau - * driverio.h (shed_s): Add est_nsize, est_csize, degr_nsize, degr_csize - for nativa and compressed estimate size. - * planner.c: Send the native and compressed estimate size to the driver. - * driver.c: log with L_STATS the estimate of a successful dump. - * reporter.c: Parse the L_STATS. - * reporter.c(generate_bad_estimate): New function that will put in the - NOTES section all bad estimate. - -2006-05-08 Jean-Louis Martineau - * configure.in (AC_CONFIG_FILES): Add oldrecover-src/Makefile. - * Makefile.am (RECOVER_SUBDIRS): Add oldrecover-src. - * oldrecover-src/amrecover.c: Copy of old recover-src/amrecover.c - * oldrecover-src/amrecover.h: Copy of old recover-src/amrecover.h - * oldrecover-src/display_commands.c: Copy of old - recover-src/display_commands.c - * oldrecover-src/extract_list.c: Copy of old recover-src/extract_list.c - * oldrecover-src/help.c: Copy of old recover-src/help.c - * oldrecover-src/Makefile.am: Copy of old recover-src/Makefile.am - * oldrecover-src/set_commands.c: Copy of old recover-src/set_commands.c - * oldrecover-src/uparse.y: Copy of old recover-src/uparse.y - * oldrecover-src/uscan.l: Copy of old recover-src/uscan.l - * recover-src/amrecover.c: Works with security-api. - * recover-src/amrecover.h: Works with security-api. - * recover-src/extract_list.c: Works with security-api. - -2006-05-08 Jean-Louis Martineau - * amandad-src/amandad.c: Fixup. - -2006-05-08 Jean-Louis Martineau - * common-src/packet.h: pkt_t.body is now a char*. - * common-src/packet.c (pkt_init): Return an alloced pkt.body. - * common-src/packet.c (pkt_cat): Increade pkt.body size if needed. - * common-src/protocol.c: Free allocated pkt.body. - * common-src/dgram.c (dgram_cat): Return int. - * common-src/dgram.h (dgram_cat): New prototype. - * common-src/krb5-security.c: Work with dynamicaly allocated packet - body. - * common-src/rsh-security.c: Work with dynamicaly allocated packet - body. - * common-src/ssh-security.c: Work with dynamicaly allocated packet - body. - * amandad-src/amandad.c: Work with dynamicaly allocated packet body. - * server-src/amcheck.c: Don't limit packet size. - * server-src/planner.c: Don't limit packet size. - -2006-05-08 Jean-Louis Martineau - * amandad-src/amandad.c (service_new): Apply the correct patch. - -2006-05-08 Jean-Louis Martineau - * server-src/taper.c: Fix compiler warning. - * common-src/match.c: Many function get const parameters. - * common-src/amanda.h: Prototype change. - -2006-05-07 Jean-Louis Martineau - * amandad-src/amandad.c (service_new): Make sur that the 3 data_read[] - and the 3 data_write[] fd are not in the range DATA_FD_OFFSET to - DATA_FD_OFFSET+DATA_FD_COUNT-1. - -2006-05-05 Jean-Louis Martineau - * common-src/tapelist.c (append_to_tapelist): Remove bad amfree. - -2006-05-05 Nikhil Bandiwadekar - * server-src/conffile.c: fix to correctly handle am64 datatype - -2006-05-04 Jean-Louis Martineau - * server-src/taper.c: Write the slot number in the - 'taper: wrote label' line. - * server-src/amverifyrun.sh.in: Parse that line. - -2006-05-02 Jean-Louis Martineau - * amstatus.pl.in: Limit characters for hostname in setup_estimate line. - -2006-04-27 Jean-Louis Martineau - * common-src/rsh-security.c: Pass "amdump amindexd amidxtaped" option - to amandad. - * common-src/ssh-security.c: Ditto. - -2006-04-27 Jean-Louis Martineau - * amandad-src/amandad.c: Accept a list of services on the command line. - -2006-04-27 Jean-Louis Martineau - * common-src/tapelist.c (append_to_tapelist): Fix memory leak. - -2006-04-27 Jean-Louis Martineau - * amandad-src/amandad.c: Fix memory leak. - * amandad-src/amandad.h (free_g_options): Prototype. - * amandad-src/amandad_util.c (free_g_options): New function to free a - g_option_t. - * server-src/amcleanupdisk.c: Fix memory leak. - * server-src/reporter.c: Fix memory leak. - * server-src/tapefile.c: Fix memory leak. - * server-src/taperscan.c: Put message in error_message. - -2006-04-26 Jean-Louis Martineau - * server-src/amcheck.c (start_server_check): Memory leak. - -2006-04-26 Jean-Louis Martineau - * amandad-src/Makefile.am (noinst_HEADERS): Add amandad.h. - * client-src/Makefile.am (noinst_HEADERS): Add clientconf.h. - -2006-04-26 Jean-Louis Martineau - * man/xml-source/amanda-client.conf.5.xml: New file. - -2006-04-26 Jean-Louis Martineau - * common-src/amanda.h (check_user_ruserok, check_user_amandahosts): - Remove prototype. - * common-src/bsd-security.c: Pass the service name across check_user* - function and validate it from the .amandahosts file. - -2006-04-26 Jean-Louis Martineau - * restore-src/amidxtaped.c: Can be launched by amandad. - * server-src/Makefile.am (INCLUDES): Add -I$(top_srcdir)/amandad-src - * server-src/Makefile.am (amidxtaped__LDADD): Link with libamandad. - * restore-src/restore.c: Fix indentation. - -2006-04-26 Jean-Louis Martineau - * server-src/amindexd.c: Can be launched by amandad - * server-src/Makefile.am (INCLUDES): Add -I$(top_srcdir)/amandad-src - * server-src/Makefile.am (amindexd_LDADD): Link with libamandad. - -2006-04-26 Jean-Louis Martineau - * amandad-src/amandad.c: New file. - * amandad-src/amandad.h: New file. - * amandad-src/amandad_util.c: New file, add function init_g_options - parse_g_options. - * amandad-src/Makefile.am: New file. - * client-src/amandad.c: Removed file. - * client-src/amandad.h: Removed file. - * client-src/client_util.c (init_g_options, parse_g_options): Remove. - * client-src/client_util.h (init_g_options, parse_g_options): Remove. - * client-src/Makefile.am (INCLUDES): -I$(top_srcdir)/amandad-src - * client-src/Makefile.am (libexec_PROGRAMS): Remove amandad. - * client-src/Makefile.am (LDADD): Add - ../amandad-src/libamandad.$(LIB_EXTENSION). - * client-src/selfcheck.c: #include "amandad.h". - * client-src/sendsize.c: #include "amandad.h". - * configure.in (AC_CONFIG_FILES): amandad-src/Makefile. - * Makefile.am (SUBDIRS): amandad-src. - -2006-04-26 Jean-Louis Martineau - * docs/security-api.txt: Document security_read_sync. - * common-src/security.h: Typo. - -2006-04-26 Jean-Louis Martineau - * client-src/amandad.c (service_new): Pass the "amandad" argument to - the service. - -2006-04-26 Jean-Louis Martineau - * common-src/bsd-security.c: Allow to run many services on the same - client. Cleanup. - * common-src/rsh-security.c: Ditto. - * common-src/ssh-security.c: Ditto. - -2006-04-26 Jean-Louis Martineau - * common-src/security.h (security_stream_read_sync): Prototype. - * common-src/bsd-security.c (bsd_stream_read_sync): New function. - * common-src/krb4-security.c (krb4_stream_read_sync): New function. - * common-src/krb5-security.c (krb5_stream_read_sync): New function. - * common-src/rsh-security.c (rsh_stream_read_sync): New function. - * common-src/ssh-security.c (ssh_stream_read_sync): New function. - -2006-04-26 Jean-Louis Martineau - * client-src/amandad.c: Open pipe in both direction to the services. - * client-src/sendbackup.c: Deal with the newer pipe. - -2006-04-26 Jean-Louis Martineau - * client-src/clientconf.c: New file to read the client configuration - file. - * client-src/clientconf.h: Header. - * client-src/Makefile.am: Link clientconf into libamclient. - * configure.in (AC_CONFIG_FILES): example/amanda-client.conf. - * docs/amanda-client.conf.5.txt: New documentation. - * docs/Makefile.am (pkgdata_DATA): amanda-client.conf.5.txt. - * example/amanda-client.conf.in: exemple. - * example/Makefile.am (noinst_DATA): amanda-client.conf. - * man/entities/global.entities: amclientconf. - * man/Makefile.am (COMMON_MAN5_PAGES): amanda-client.conf.5. - * man/xml-source/amanda.8.xml (SEE ALSO): amanda-client.conf(5). - * man/xml-source/amanda.conf.5.xml (SEE ALSO): amanda-client.conf(5). - * man/xml-source/amrecover.8.xml (SEE ALSO): amanda-client.conf(5). - -2006-04-26 K. K. George - * server-src/reporter.c: Fix to untaint the mailto parameter. - * server-src/amcheck.c: Fix to untaint the mailto parameter - * changer-src/chg-scsi.c: Fix to untaint the mailto parameter. - * changer-src/chg-scsi-chio.c: Fix to untaint the mailto parameter. - * common-src/util.h: Added function to check if the mailto - parameter is untainted - * common-src/util.c: Added function to check if the mailto - parameter is untainted - -2006-04-26 Jean-Louis Martineau - * common-src/event.c(event_wait): New function. - * common-src/event.h(event_wait): prototype. - * docs/eventapi.txt: Document event_wait. - -2006-04-24 Jean-Louis Martineau - * server-src/planner.c: Fix divide by zero if runtapes==0. - -2006-04-24 K. K. George - * server-src/reporter.c: Fix to make the mailto parameter in - amanda.conf optional. Added two more commandline options - -i & -Maddress. - * server-src/amcheck.c: Fix to make the mailto parameter in - amanda.conf optional. - * man/xml-source/amreport.8.xml: Modified to document the - -i & -Maddress commandline parameters - * docs/amreport.8.txt: Modified to document the - -i & -Maddress commandline parameters - * changer-src/chg-scsi.c: Fix to make the mailto parameter in - amanda.conf optional. - * changer-src/chg-scsi-chio.c: Fix to make the mailto parameter in - amanda.conf optional. - -2006-04-23 Jean-Louis Martineau - * server-src/driver.c (handle_chunker_result): make sure that - est_size > act-size. - -2006-04-21 Jean-Louis Martineau - * server-src/changer.c (changer_command): Make sure fd[0] != 1. - -2006-04-19 Jean-Louis Martineau - * restore-src/amidxtaped.c: Cleanup. - -2006-04-19 Ian Turner - * tape-src/output-tape.c: Do a more thourough check to ensure - that we actually got a tape device, before proceeding to use - it. - -2006-04-18 Ian Turner - * changer-src/chg-disk.sh.in: Check that the virtual device is a - directory with proper permissions. - * server-src/changer.c: Do the right thing (failure) if there is - a problem with the changer. - -2006-04-18 Ian Turner - * recover-src/uscan.l: Accept setdate of the form - yyyy-MM-dd-hh-mm in addition to yyyy-MM-dd-hh-mm-ss. - * man/xml-source/amrecover.8.xml: Document this change. - -2006-04-14 Jean-Louis Martineau - * recover-src/help.c: Document setdate YYYY-MM-DD-HH-MM-SS format. - * man/xml-source/amrecover.8.xml: Ditto. - -2006-04-14 Jean-Louis Martineau - * client-src/amandad.c: Use %p to printf pointer. - -2006-04-14 Jean-Louis Martineau - * server-src/amtape.c: Add update command. - -2006-04-11 Jean-Louis Martineau - * server-src/taper.c: log_add(L_WARNING) the output of taper_scan if - no valid tape are found. - -2006-04-11 Jean-Louis Martineau - * server-src/amcheck.c: Call taper_scan with - (..., FILE_taperscan_output_callback,outf) arguments. - * server-src/amtape.c: Call taper_scan with - (..., FILE_taperscan_output_callback,stderr) arguments. - * server-src/taper.c: Call taper_scan with - (..., CHAR_taperscan_output_callback, &error_msg) arguments. - * server-src/taperscan.h(FILE_taperscan_output_callback, - CHAR_taperscan_output_callback): Protoype. - * server-src/taperscan.h(taper_scan): New protoype, remove - error_message arg, add taperscan_output_callback and data arg. - * server-src/taperscan.c(FILE_taperscan_output_callback): Callback - that print the msg to it's arg, which is FILE*. - * server-src/taperscan.c(CHAR_taperscan_output_callback): Callback - that append the msg to it's arg, which is char*. - * server-src/taperscan.c(taper_scan): Fix for new arguments. - * server-src/taperscan.c(changer_taper_scan): Fix for new arguments. - -2006-04-11 Jean-Louis Martineau - * man/xml-source/amanda.conf.5.xml: Document amandad_path and - client_username dumptype option. - -2006-04-11 Jean-Louis Martineau - * common-src/krb4-security.c: Increase timeout to 60 seconds. - * common-src/rsh-security.c: Increase timeout to 60 seconds. - * common-src/ssh-security.c: Increase timeout to 60 seconds. - -2006-04-07 Jean-Louis Martineau - * server-src/conffile.c: New configuration option usetimestamps. - * server-src/conffile.h: New configuration option usetimestamps. - * example/amanda.conf.in: Document new usetimestamps options. - * man/xml-source/amanda.conf.5.xml: Document new usetimestamps options. - * server-src/amflush.c: Use datestamp or timestamp depending of - usetimesstamps. - * server-src/planner.c: Use datestamp or timestamp depending of - usetimesstamps. - * server-src/driver.c: Log an ERROR if many run a day and - usetimestamps us set to no. - -2006-04-07 Ian Turner - * server-src/changer.c: Don't crash if we go to taperscan "Plan - B". - -2006-04-07 Ian Turner - * server-src/changer.c: Only print changer debug messages if - there was a problem. - -2006-04-07 Ian Turner - * recover-src/amrecover.c: Print a more helpful command if mount - point autodetection fails. - * recover-src/display_commands.c: Print a more helpful message - if the user tries to ls without having setdisk earlier. - -2006-04-07 Jean-Louis Martineau - * server-src/amadmin.c: Fix use of datestamp as int. - * server-src/find.c: Ditto. - * server-src/reporter.c: Ditto. - * server-src/tapefile.c: Ditto. - -2006-04-07 Jean-Louis Martineau - * common-src/Makefile.am: Fix dependency between genversion and - versuff.o. - -2006-04-07 Jean-Louis Martineau - * recover-src/amrecover.c: Change initialization of server_name and - tape_server_name. - -2006-04-07 Jean-Louis Martineau - * restore-src/amrestore.c: reset count_error to 0 on a restore. - -2006-04-06 Kevin Till - * server-src/Makefile.am: always install planner/dumper setuid-root - * server-src/amcheck.c: check planner/dumper for setuid-root - * server-src/dumper.c: drop privilege asap. Switch between bsd - and ssh auth is now possible with the same installation. - * server-src/planner.c: ditto - -2006-04-06 Jean-Louis Martineau - * server-src/taperscan.c (changer_taper_scan): Pass a pointer to the - changer_loadslot call. - -2006-04-06 Jean-Louis Martineau - * server-src/tapefile.c (lookup_last_reusable_tape): Fix a datestamp - test with an int. - -2006-04-06 Ian Turner - * recover-src/amrecover.c (main): Check AMANDA_SERVER and - AMANDA_TAPE_SERVER environment variables before falling back - to compiled-in defaults. Document this new behavior. Thanks to - Malcolm Locke for the idea and patch. - -2006-04-06 Jean-Louis Martineau - * server-src/reporter.c (handle_chunk): CHUNK line always have the - datestamp. - -2006-04-05 Jean-Louis Martineau - * server-src/krb5-security.c: Fix for krb5_connect call in - open_callback. - -2006-04-05 Jean-Louis Martineau - * server-src/driver.c (start_some_dumps): Recover correctly if the - chunker reply with something that is not a PORT command. - * server-src/driver.c (dump_to_tape): remove duplicate free_serial. - * server-src/driverio.c: Improve debugging. - -2006-04-05 Jean-Louis Martineau - * common-src/tapelist.c(unmarshal_tapelist_str): Fix - "value computed is not used" compiler warning. - -2006-04-05 Jean-Louis Martineau - * common-src/bsd-security.c (bsd_connect): New datap argument. - * common-src/krb4-security.c (krb4_connect): New datap argument. - * common-src/krb5-security.c (krb5_connect): New datap argument. - * common-src/rsh-security.c (rsh_connect): New datap argument, - retrieve amanda_path and client_username from configuration. - * common-src/ssh-security.c (ssh_connect): New datap argument, - retrieve amanda_path and client_username from configuration. - * common-src/protocol.c: Pass new datap argument to security_connect. - * common-src/security.h(connect): New prototype. - * common-src/security.h(security_connect): Add datap to macro. - * server-src/amadmin.c(disklist_one): Print amandad_path and - client_username. - * server-src/conffile.c(AMANDAD_PATH, CLIENT_USERNAME): Parse new - dumptype option. - * server-src/conffile.h(dumptype_t): Add amandad_path and - client_username. - * server-src/diskfile.c(parse_diskline): Copy new field. - * server-src/diskfile.h(disk_t) Add amandad_path and client_username. - * server-src/driverio.c(dumper_cmd): Send dp->amandad_path and - dp->client_username in a PORT_DUMP command to the dumper. - * server-src/dumper.c: Parse amandad_path and client_username in a - PORT_DUMP command. - * server-src/dumper.c(dumper_get_security_conf): New function to return - configuration option to the security-api. - * server-src/dumper.c: Use dumper_get_security_conf for the callback - to protocol_sendreq. - * server-src/planner.c Use amhost_get_security_conf for the callback - to protocol_sendreq. - * server-src/amcheck.c: Use amhost_get_security_conf for the callback - to protocol_sendreq. - * server-src/server_util.c(amhost_get_security_conf): New function to - return configuration option to the security-api, - it expect an am_host_t arg. - * server-src/server_util.h(amhost_get_security_conf): Prototype. - -2006-04-05 Jean-Louis Martineau - * server-src/amstatus.pl.in: Remove duplicate instruction. - -2006-04-05 Jean-Louis Martineau - * server-src/amindexd.c: Remove all code that set str_buffer_size, - rename str_buffer_size to reply_buffer_size, - rename buf to reply_buffer, - * server-src/amindexd.c(reply, lreply_backend): Increase reply_buffer - size if required. - -2006-04-05 Jean-Louis Martineau - * common-src/amfeatures.h: Add fe_amrecover_timestamp amfeature. - * common-src/amfeatures.c (am_init_feature_set): - Add fe_amrecover_timestamp. - * server-src/amindexd.c(opaque_ls_one): New function. - * server-src/amindexd.c(disk_history_list,opaque_ls_one): Send only a - datestamp if client doesn't have fe_amrecover_timestamp. - -2006-04-05 Jean-Louis Martineau - * recover-src/uscan.l: Parse "setdate YYYY-MM-DD-HH-MM-SS". - * server-src/amindexd.c (cmp_date): New function to cmp datestamp with - timestamp, use it where needed. - * server-src/amindexd.c (amindexd_nicedate): Fix for timestamp. - * server-src/amtrmidx.c: Fix for timestamp. - * server-src/disk_history.h (DUMP_ITEM): Increase size of date. - -2006-04-05 Jean-Louis Martineau - * server-src/amflush.c: Send DATE line to driver, use timestamp. - * server-src/amindex.c (getindexfname): Increase datebuf size. - * server-src/amtrmlog.c: Fix bug with date_keep computation if - dumpcycle is INF. - * server-src/amtrmlog.c: rotate timestamped log file. - * server-src/chunker.c: Receive START cmd, use timestamp. - * server-src/driver.c: Receive DATE line, send START cmd to chunker, - use timestamp. - * server-src/driverio.c (startup_dump_processes): Send START cmd to - dumper. - * server-src/driverio.c (dumper_cmd, chunker_cmd): Send START command. - * server-src/driverio.h (startup_dump_processes): Prototype change, - need the timestamp. - * server-src/dumper.c: Receive START cmd, use timestamp. - * server-src/find.c (find_nicedate): Fix for timestamp. - * server-src/planner.c: Send DATE line to driver, use timestamp. - * server-src/server_util.c (cmdstr): Add START. - * server-src/server_util.h (cmd_t): Add START. - * server-src/taper.c: Get timestamp from TAPER_START command. - -2006-04-05 Jean-Louis Martineau - * server-src/amindexd.c (amindexd_nicedate): New function. - * server-src/find.h (struct find_result_s): Remove datestamp and - datestamp_aux field, only timestamp will be used. - * restore-src/amfetchdump.c: Convert datestamp to 'char *'. - * restore-src/restore.c: Convert datestamp to 'char *'. - * server-src/amindexd.c: Convert datestamp to 'char *'. - * server-src/amlabel.c: Convert datestamp to 'char *'. - * server-src/amtrmidx.c: Convert datestamp to 'char *'. - * server-src/find.c: Convert datestamp to 'char *'. - * server-src/reporter.c: Convert datestamp to 'char *'. - * server-src/tapefile.c: Convert datestamp to 'char *'. - * server-src/tapefile.h: Convert datestamp to 'char *'. - * server-src/taper.c: Convert datestamp to 'char *'. - -2006-04-05 Jean-Louis Martineau - * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.1b1). - -2006-04-05 Jean-Louis Martineau - * server-src/driver.c: Change expression to remove overflow. - -2006-03-29 Jean-Louis Martineau - * client-src/calcsize.c: Don't use declaration after instruction, - older compiler don't accept it. - -2006-03-23 Jean-Louis Martineau - * Amanda 2.5.0 released. - * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.0). - * NEWS: Update for 2.5.0 - -2006-03-22 Jean-Louis Martineau - * server-src/dumper.c: wait for compress/index/encryp subprocess. - -2006-03-22 Jean-Louis Martineau - * server-src/amstatus.pl.in: Parse PARTIAL reply. - -2006-03-22 Jean-Louis Martineau - * server-src/driver.c: Put '#define HOLD_DEBUG' in comment. - -2006-03-21 Jean-Louis Martineau - * server-src/chunker.c: Don't loop on startup_chunker. - * server-src/dumper.c: Don't wait for all children, some process (ssh) - might not terminate. - -2006-03-17 Ian Turner - * server-src/taper.c (read_file): When finished flushing a - chunked dump, print information about the whole dump, not just - the last chunk. Also, fix some memory leaks. - -2006-03-16 Kevin Till - * server-src/amverify.sh.in: check for EOI. amrestore only - reports EOI for some tapetypes. - -2006-03-15 Jean-Louis Martineau - * server-src/conffile.c: Fix heritage of auth. - -2006-03-14 Kevin Till - * example/amanda.conf.in: add dumptype custom-compress. - add ssh,krb5 as valid input for auth. - * man/xml-source/amanda.conf.5.xml: give reference to - custom-compress, encrypt-fast dumptypes. - -2006-03-14 Jean-Louis Martineau - * common-src/amfeatures.h: Rename fe_amidxtaped_FEEDME to - fe_amrecover_FEEDME - * common-src/amfeatures.c (am_init_feature_set): Set - fe_amrecover_FEEDME. - * restore-src/restore.h (search_tapes): Add their_features parameter. - * restore-src/amfetchdump.c: Add NULL pointer to search_tapes call. - * restore-src/amidxtaped.c: Add their_features to search_tapes call. - * restore-src/restore.c (search_tapes): Send FEEDME only if client - support it. - -2006-03-11 Jean-Louis Martineau - * server-src/driverio.c : Fix errors found using Coverity tools. - -2006-03-10 Jean-Louis Martineau - * server-src/taperscan.c: Fix Coverity fix. - -2006-03-10 Jean-Louis Martineau - * changer-src/scsi-changer-driver.c: - Fix errors found using Coverity tools. - * server-src/diskfile.c: Fix errors found using Coverity tools. - * server-src/planner.c: Fix errors found using Coverity tools. - * server-src/taperscan.c: Fix errors found using Coverity tools. - -2006-03-10 Jean-Louis Martineau - * server-src/driverio.c: Undo my bad fix. - * server-src/infofile.c: Fix errors found using Coverity tools. - * tape-src/tapetype.c: Fix errors found using Coverity tools. - -2006-03-09 Jean-Louis Martineau - * restore-src/restore.c: Fix errors found using Coverity tools. - -2006-03-09 Jean-Louis Martineau - * server-src/holding.c: Fix errors found using Coverity tools. - -2006-03-09 Jean-Louis Martineau - * server-src/driverio.c: Fix errors found using Coverity tools. - * server-src/planner.c: Fix errors found using Coverity tools. - -2006-03-09 John Franks - * changer-src/chg-scsi.c: Fix errors found using Coverity tools. - * changer-src/scsi-changer-driver.c: - Fix errors found using Coverity tools. - * changer-src/sense.c: Fix errors found using Coverity tools. - * client-src/sendbackup-dump.c: Fix errors found using Coverity tools. - * client-src/sendbackup.c: Fix errors found using Coverity tools. - * recover-src/display_commands.c:Fix errors found using Coverity tools. - * regex-src/regcomp.c: Fix errors found using Coverity tools. - * restore-src/restore.c: Fix errors found using Coverity tools. - * server-src/amindexd.c: Fix errors found using Coverity tools. - * server-src/diskfile.c: Fix errors found using Coverity tools. - * server-src/driver.c: Fix errors found using Coverity tools. - * server-src/driverio.c: Fix errors found using Coverity tools. - * server-src/infofile.c: Fix errors found using Coverity tools. - * server-src/planner.c: Fix errors found using Coverity tools. - * server-src/taper.c: Fix errors found using Coverity tools. - * server-src/taperscan.c: Fix errors found using Coverity tools. - * server-src/conffile.c: Change report default to use at least - one space between every column. - -2006-03-08 Jean-Louis Martineau - * client-src/amandad.c: Fix coverity bug. - * client-src/calcsize.c: Fix coverity bug. - * client-src/client_util.c: Fix coverity bug. - * client-src/sendbackup.c: Fix coverity bug. - * client-src/sendsize.c: Fix coverity bug. - * common-src/bsd-security.c: Fix coverity bug. - * common-src/file.c: Fix coverity bug. - * common-src/fileheader.c: Fix coverity bug. - * common-src/pipespawn.c: Fix coverity bug. - * recover-src/extract_list.c: Fix coverity bug. - * restore-src/restore.c: Fix coverity bug. - * server-src/amindexd.c: Fix coverity bug. - * server-src/conffile.c: Fix coverity bug. - * server-src/diskfile.c: Fix coverity bug. - * server-src/driverio.c: Fix coverity bug. - * server-src/dumper.c: Fix coverity bug. - * server-src/planner.c: Fix coverity bug. - * server-src/reporter.c: Fix coverity bug. - -2006-03-07 Paddy Sreenivasan - * man/xml-source/amanda.8.xml: added amaespipe and amcrypt. - -2006-03-07 Jean-Louis Martineau - * server-src/taper.c: Don't log a multi-line message in no-tape case. - -2006-03-06 John Franks - * recover-src/extract_list.c: - 1) Don't add '.' directory twice to tar extract list. - 2) Don't prepend extra '/' to extract patterns starting with '/'. - 3) Convert "/" extract pattern to "*" equivalent. - -2006-03-06 Jean-Louis Martineau - * server-src/taperscan.c (scan_slot): append slotstr to - ct->error_message. - * server-src/taperscan.c: Add a '\n' after each slot error message. - -2006-03-06 Jean-Louis Martineau - * server-src/reporter.c (handle_error): Handle error from taper. - -2006-03-06 Jean-Louis Martineau - * server-src/taper.c (label_tape): Set errstr and return 0 if no - valid tape are available. - -2006-03-03 Ian Turner - * common-src/amanda.h: New macros MAX_TAPE_LABEL_LEN and - MAX_TAPE_LABEL_BUF. - * common-src/amfeatures.h: New amfeature fe_amidxtaped_FEEDME - * recover-src/extract_list.c: Accept port number with CONNECT; - implement fe_amidxtaped_FEEDME. - * restore-src/amidxtaped.c: Introduce port number with CONNECT. - (closes SF bug 1431623) - * restore-src/restore.c: Implement fe_amidxtaped_FEEDME. - (closes SF bug 1421433) - * restore-src/restore.h: Properly name rst_flags. - -2006-02-28 Jean-Louis Martineau - * common-src/bsd-security.c (bsd_connect, netfd_read_callback, main): - Set bh->proto_handle to NULL after allocating bh. - * common-src/bsd-security.c (bsd_close): Donothing if - bh->proto_handle == NULL. - -2006-02-28 Jean-Louis Martineau - * common-src/protocol.c (s_repwait): Decrease p->timeout on receive - of a PREP. - -2006-02-28 Jean-Louis Martineau - * server-src/driver.c: Print dumper TRY_AGAIN message. - -2006-02-28 Jean-Louis Martineau - * server-src/planner.c: Don't print estimate size if estimate failed. - -2006-02-25 Ian Turner - * man/Makefile.am: Don't use static patterns (as they are not - portable), use implicit rules instead. - -2006-02-20 Kevin Till - * common-src/krb4-security.c: changes needed for krb4/5 to compile. Thanks to - Orion Poplawski. - * common-src/krb5-security.c: ditto. - -2006-02-16 Kevin Till - * example/amanda.conf.in: dumptype option is "encrypt" - * man/xml-source/amanda.conf.5.xml: ditto - * server-src/holding.c: util.h is include'd twice - * common-src/ssh-security.c: set correct debug print - -2006-02-10 Kevin Till - * man/xml-source/amanda.8.xml: replace informaltable with literallayout - -2006-02-13 John Franks - * server-src/driver.c: Pring a more precise message when taper - returns an error. Include error message from taper in log. - Print out "protocol error" if taper returns a bogus command. - -2006-02-10 Kevin Till - * man/xml-source/amanda.conf.5.xml: add note about first character of a - tapetype string must be alphabet - -2006-02-10 John Franks - * server-src/taper.c: Call error() if an invalid string is read - by syncpipe_getstr(). - -2006-02-09 John Franks - * Makefile.am, */Makefile.am: Corrections generated by David Braun - dustybird@users.sourceforge.net to properly set source directories - for remote (VPATH) builds. - * man/Makefile.am: Fixed man page builds to use proper source and - build paths. - * autogen: Force rebuilding everything and print only syntax errors. - (Errors are seen occasionally in system autogen files...) - * configure.in: Eliminate possibility of empty string in shell tests. - fix quoting of '[' and ']' characters in help messages. - Fix default value for DUMPER_DIR to pick up EPREFIX correctly. - -2006-02-08 Ian Turner - * server-src/driver.c (handle_taper_result): Properly handle - SPLIT_NEEDNEXT case. Thanks to Josef Wolf for finding this bug. - Also reindent. - -2006-02-06 Kevin Till - * restore-src/restore.c: fix comment formatting on version 1.2.1 - -2006-02-06 Kevin Till - * configure.in: Bug 1423731, SSH_SECURITY set only when --with-ssh-security used - * server-src/Makefile.am:: not to install planner/dumper setuid-root --with-ssh-security - * server-src/amcheck.c: ditto - * server-src/dumper.c: ditto - * restore-src/restore.c: add missing "}" - -2006-02-06 Ian Turner - * restore-src/amidxtaped.c: Properly handle changers, - tape-label checking, and tape prompting in amrecover, - amindexd, and amidextaped. Thanks to Paul Bijnens - for the patch. - * restore-src/restore.c: ditto. - * server-src/amindexd.c: ditto. - -2006-02-04 Paddy Sreenivasan - * man/xml-source/amfetchdump.8.xml - * man/xml-source/amcrypt.8.xml - * man/xml-source/amanda.conf.5.xml - * man/xml-source/amanda.8.xml - * man/xml-source/amaespipe.8.xml - * man/entities/global.entities: Merged changes from xml-docs tree - -2006-02-03 John Franks - * server-src/taper.c: Fix null string printout in CHUNKERSUCCESS log line. - -2006-02-03 Ian Turner - * server-src/amadmin.c (main): Don't free conf_tapelist too - early. Thanks to Cédric Lucantis - for the patch. - -2006-02-02 Kevin Till - * man/xml-source/amanda.8.xml: fix formatting. problem - to be fixed. - * man/xml-source/amrecover.8.xml: add note on client-encrypted tapes. - -2006-02-02 Ian Turner - * recover-src/extract_list.c (extract_files_child): Run tar with - --numeric-owner if we are extracting a non-sambafied tar file. - Thanks to Paul Bijnens for - the patch. Thanks also to Mark Schaefer for suggesting this - change. - -2006-02-01 Jean-Louis Martineau - * restore-src/restore.c: Use OFF_T_FMT to printf off_t variable, - cast size_t to am64_t and use AM64_FMT to printf them. - -2006-01-31 Jean-Louis Martineau - * server-src/driver.c (dumper_result): Reset sched(dp)->attempted to 0 - before adding it to tapeq. - -2006-01-27 Ian Turner - * configure.in: Add new option --without-xsltproc (and - --with-xsltproc), which turns off (or forces) the use of xsltproc to - build manpages. Thanks to Paul Bijnens - for suggesting this feature. - -2006-01-27 Ian Turner - * restore-src/amfetchdump.c: Properly clean up logfiles. Also, - run as user amanda even if we are started as some other user. - Thanks to Paul Bijnens for the - patch. - -2006-01-25 Paddy Sreenivasan - * common-src/amanda.h: Removed unnecessary header include files. - -2006-01-25 Kevin Till - * server-src/amadmin.c: fix for sourceforge bug 1412698 - add missing parameters to "amadmin x disklist" - * server-src/amstatus.pl.in: untaint user input, enforce known path. - * server-src/amoverview.pl.in: untaint user input (bug 1353481) - -2006-01-25 Kevin Till - * man/xml-source/amanda.conf.5.xml: fix formatting ( is not compatible - with some tag) add supported auth types. - -2006-01-25 Kevin Till - * common-src/bsd-security.c: move check_security to bsd_security.c, - fix faulty return - Thanks to Paul Bijnens - * restore-src/amidxtaped.c: ditto - * server-src/amindexd.c: ditto and no need to tell client - about reason for denial - * common-src/amanda.h: add proto of check_security - * server-src/conffile.c: don't list CRYPT in the summary report - for now - * restore-src/restore.c: set outfd correctly for amfetchdump cases - Thanks to Paul Bijnens - -2006-01-24 Ian Turner - * man/xml-source/amanda.conf.5.xml: Put documentation of - split-dump options in the right place. Thanks to Paul Bijnens - for the fix. - * man/xml-source/amanda.8.xml: ditto. - -2006-01-23 Ian Turner - * server-src/taperscan.c (find_brand_new_tape_label): Start - brand new tape labels at 1 instead of 0. Thanks to Paul - Bijnens for the fix. - -2006-01-18 Jean-Louis Martineau - * Amanda 2.5.0b2 released. - * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.0b2). - * NEWS: Update for 2.5.0b2 - -2006-01-15 Jean-Louis Martineau - * server-src/disk_history.c: Fix memory leak. - -2006-01-15 Jean-Louis Martineau - * common-src/bsd-security.c: Fix memory leak. - * common-src/tapelist.c: Fix memory leak. - * restore-src/amidxtaped.c: Fix memory leak. - * restore-src/restore.c: Fix memory leak. - * server-src/amindexd.c: Fix memory leak. - * server-src/conffile.c: Fix memory leak. - * server-src/disk_history.c: Fix memory leak. - * server-src/find.c: Fix memory leak. - -2006-01-13 John Franks - * client-src/amandad.c: Remove SO_LINGER and TCP_NDELAY. - Loop on I/O if EINTR or EAGAIN. - * client-src/noop.c: Loop on I/O if EINTR or EAGAIN. - * client-src/sendbackup.c: Remove SIGPIPE handler. - Loop on I/O if EINTR or EAGAIN. - Check for EPIPE on writes. - * common-src/bsd-security.c: Loop on I/O if EINTR or EAGAIN. - * common-src/stream.c: Remove SO_LINGER and TCP_NDELAY. - * common-src/util.c: Loop on I/O if EINTR or EAGAIN. - * recover-src/amrecover.c: Write commanda atomically in sigint handler - * recover-src/extract_list.c:Remove SIGPIPE handler. - Loop on I/O if EINTR or EAGAIN. - Check for EPIPE on writes. - Remove shutdown functions. - * restore-src/amfetchdump.c: Remove SIGPIPE handler. - * restore-src/amidxtaped.c: Remove SO_LINGER and TCP_NDELAY. - Remove SIGPIPE handler. - read_file_header does not return if it - Fix infinite loop on EOF or error and - fail if memory reallocation failure in - get_client_line_fd. - * restore-src/restore.c: Remove SIGPIPE handler. - Loop on I/O if EINTR or EAGAIN. - Remove shutdown functions. - Simplify read loop. - * restore-src/restore.h: Change read_file_header to return void - * server-src/amcheck.c: Use fullread() to handel EINTR etc. - Remove unused variable. - * server-src/changer.c: Remove SO_LINGER and TCP_NDELAY. - Use fullwrite on socket. - * server-src/driverio.c: Remove SO_LINGER and TCP_NDELAY. - * server-src/taper.c: Use fullwrite() to write data. - Use fullread() to read data. - * tape-src/output-file.c; Use fullwrite() to write data. - -2006-01-13 Jean-Louis Martineau - * server-src/amcheck.c (start_server_check): Remove unused variable - errstr. - * restore-src/restore.c (restore): Remove unused variable s, l and - dataeof. - -2006-01-12 Jean-Louis Martineau - * recover-src/extract_list.c (send_to_tape_server): Do only on write. - * restore-src/amidxtaped.c (get_client_line_fd): New function to read - one complete line from an fd. - -2006-01-09 John Franks - * common-src/amanda.h: Include tcp.h - * client-src/amandad.c: Set TCP_NODELAY and SO_LINGER on sockets. - * common-src/dgram.c: No linger on datagrams - * common-src/stream.c: Set TCP_NODELAY and SO_LINGER on sockets. - * common-src/util.c: Fix fullwrite to return # of bytes written - before failure. - * example/amanda.conf.in: Cleanup exclude list template. - Use configure directlries instead of /usr/local - * recover-src/extract_list.c: Cleanup read loops. - Use real fullwrite instead of inline versions. - Remove extra setting of LINGER on socket. - * restore-src/amidxtaped.c: Set TCP_NODELAY and SO_LINGER on sockets. - * restore-src/restore.c:Use real fullwrite instead of inline versions. - * server-src/changer.c: Set TCP_NODELAY and SO_LINGER on sockets. - * server-src/chunker.c: Use real fullwrite instead of inline versions. - * server-src/driverio.c:Set TCP_NODELAY and SO_LINGER on sockets. - * server-src/dumper.c: Use real fullwrite instead of inline versions. - -2006-01-09 Ian Turner - * changer-src/scsi-changer-driver.c: If there is a problem opening - the device during GenericRewind, don't retry for 201 minutes; give - up after only 200 seconds. - -2006-01-09 Ian Turner - * server-src/taperscan.c: When doing taper-scan algorithm, properly - accept new tapes. - -2006-01-09 Ian Turner - * tape-src/tapeio.c: Generate a more reasonable message when - reading an empty tape label on brand-new tapes. - -2006-01-09 Ian Turner - * server-src/amcheck.c: Actually do what the documentation for - amcheck -w says; that is, overwrite labels on tapes. - -2006-01-06 Kevin Till - * server-src/amcheck.c: check if encrypt or compress program is - executable. Check encrypt/compress configuration. - * server-src/dumper.c: kill encrypt child when dump is stopped - * server-src/amcrypt.sh.in: check for aespipe - * server-src/amaespipe.sh.in: adjust PATH - * man/xml-source/amtapetype.8.xml: fix format problem. - -2006-01-06 Jean-Louis Martineau - * recover-src/extract-list.c: Remove 'U' argument for gtar extraction. - -2006-01-06 Jean-Louis Martineau - * restore-src/restore.c (flush_open_outputs): Another shutdown is - required. - -2006-01-05 John Franks - * recover-src/extract_list.c: Extend linger timeouts to 60 seconds. - Use shutdown() on sockets. - Retry reads in case of EINTR or EAGAIN. - * common-src/stream.c: set linger on correct socket. - Extend linger timeouts to 60 seconds. - * restore-src/restore.c: Fix compiler warnings. - * Call shutdown in more cases. - -2006-01-05 John Franks - * client-src/amandad.c: Set SO_LINGER on sockets. - * common-src/dgram.c: Set SO_LINGER on sockets. - * common-src/stream.c: Set SO_LINGER on sockets. - * common-src/util.c: Return any bytes already read on error or EOF. - * recover-src/extract_list.c: Set SO_LINGER on data socket. - Fix printf of unterminated string data. - Check return codes on socket header reads. - * restore-src/amidxtaped.c: Set SO_LINGER on sockets. - Check return codes on socket header reads. - * restore-src/restore.c: - Flush newline after operator prompt. - * common-src/debug.c: - Fix memory leak when debug file name already exists. - Print error text upon hard open() error. - Allow group members read only access to log files. - -2006-01-05 Kevin Till - * restore-src/restore.c: handle sigpipe. Some program (e.g. bzip2) closes reading pipe - early when it sees trailing garbage after EOF. - -2006-01-02 Jean-Louis Martineau - * common-src/amanda.h: Add a FD_COPY macro. - * recover-src/extract_list.c (writer_intermediary): Don't use - writer_intermediary, do the select locally. - -2006-01-02 Jean-Louis Martineau - * restore-src/restore.c (flush_open_outputs): Call shutdown before - close. - -2005-12-30 John Franks - * recover-src/extract_list.c: - Fix double clearing of buffer during normal read path. - * restore-src/amidxtaped.c - Actually initialize changer if it is needed. (Set use_changer - before checking it...) - * Fix control messages being sent down the data pipe when - restoring to client that does not support split dumps. - * Print error and exit if a split dump is needed during restore - and client can not handle it. - -2005-12-30 Ian Turner - * common-src/fileheader.c: Remove xx/UNKNOWN split-dump header - syntax, in favor of xx/-1. - -2005-12-29 John Franks - * recover-src/display_commands.c - Fix list deletion which did not update list root with NULL pointer. - Make free_dir_item() a non-recursive function to prevent stack bloat. - Fix list insertion code which inserts item in list initializes entry. - * recover-src/extract_list.c - Fix to initialize lditem before using it... - Prevent multiple frees of cmd string. - Do not free err which is only initialized with static string pointers. - Fix typo which caused newstralloc() to free the wrong memory. - * server-src/amindexd.c - Fix Compiler warning of unused variable. - * server-src/taperscan.c - Fix Compiler warning of bogus format specifier. - -2005-12-29 Kevin Till - * man/xml-source/amcrypt.8.xml: add new amcrypt man page - * man/xml-source/amaespipe.8.xml: add new amaespipe man page - -2005-12-29 Ian Turner - * man/xml-source/amanda.conf.5.xml: Document label_new_tapes - config option. - -2005-12-28 Ian Turner - * recover-src/amrecover.h: Use dynamic strings in struct DIR_ITEM. - * recover-src/display_commands.c: ditto - * recover-src/extract_list.c: ditto. Also use dynamic strings in - struct EXTRACT_LIST and struct EXTRACT_LIST_ITEM. - -2005-12-28 Ian Turner - * common-src/amfeatures.h: Add three new amfeatures: - fe_amindexd_marshall_in_OLSD, fe_amindexd_marshall_in_ORLD, - fe_amindexd_marshall_in_DHST. - * common-src/amfeatures.c: ditto. - * server-src/amindexd.c: Talk well to older clients. - -2005-12-23 Ian Turner - * server-src/taperscan.c: Don't crash if find_brand_new_tape_label - returns NULL. Also, don't return NULL from - find_brand_new_tape_label without a good excuse. - -2005-12-23 Kevin Till - * client-src/client_util.c: change server_decrypt_option to - server-decrypt-option - * client-src/sendbackup.c: change client_decrypt_option to - client-decrypt-option - * server-src/dumper.c: ditto - * common-src/amfeatures.c: add crypt related amfeaturs - * common-src/amfeatures.h: ditto - * server-src/diskfile.c: amfeatures checking and warns on - mis-configuration - -2005-12-23 Paddy Sreenivasan - * restore-src/restore.c: - * server-src/amtape.c: - * server-src/taperscan.c : Make scan_init static function - -2005-12-23 John Franks - * server-src/taper.c: Reduce I/O's system call overhead by 30% - in main read / write loop. - -2005-12-23 John Franks - * recover-src/restore.c Remove inapproriate aclose which caused - broken restore pipe. - * recover-src/extract_list.c Fix and cleanup read_buffer() - mainly to fix hole that drops parital buffer of data if end - of file is reached or an error occured.. Touched up calling - functions to make sure EOF/timeouts are handled correctly. - Increased normal path read timeout value from on second to - whatever READ_TIMEOUT is set to. - -2005-12-22 Jean-Louis Martineau - - * restore-src/restore.c (restore): Remova an aclose. - -2005-12-22 Jean-Louis Martineau - - * restore-src/amidxtaped.c (cleanup): Function registered with atexit - to remove the log file. - -2005-12-20 Jean-Louis Martineau - - * server-src/Makefile.am (noinst_HEADERS): Add taperscan.h. - -2005-12-20 John Franks - - * restore-src/restore.c: Remove unused variables. - Fix uninitialize reference to bytes_read. - * server-src/amcheck.c: Remove unused variables. - Include taperscan.h for missing prototype. - * server-src/amtape.c: Remove unused variables. - Include taperscan.h for missing prototype. - * server-src/taper.c: Remove unused variables. - Minor indenting changes. - * server-src/taperscan.c:Remove unused variables. - Fix typo which assigns NULL rather than - checks for NULL. - Commented out reference to auto_pos which - is assigned but never used... - -2005-12-20 Jean-Louis Martineau - - * common-src/fileheader.c (parse_file_header): Parse '/' in part. - * common-src/fileheader.c (build_header): Add space ' ' before "part". - -2005-12-20 Jean-Louis Martineau - - * server-src/reporter.c: Fix report of output size. - -2005-12-19 Ian Turner - * server-src/taperscan.c: Check that automatic tape labels satisfy - the labelstr. - -2005-12-19 Ian Turner - * server-src/fileheader.c: Fix broken split-dump file headers. - -2005-12-18 Jean-Louis Martineau - Patch by Paul Bijnens - - * server-src/amcheck.c: Tapelist file is regular file. - -2005-12-17 Jean-Louis Martineau - - * restore-src/restore.c (get_block): Return a ssize_t. - * restore-src/restore.c: convert ssize_t to long for printing. - * restore-src/restore.c (restore>): Remove unused variable, outpipe, - outpipe2, i. - -2005-12-17 John R. Franks - - * restore-src/restore.h (read_file_header, restore): Return a ssize_t - instead of using a global variable bytes_read. - * restore-src/restore.c: Use local variable instead of global - bytes_read. Many memory management fixe. Fixe pipe handling, - * restore-src/amrestore.c: Use new read_file_header and restore. - * restore-src/amfetchdump.c: Use new read_file_header and restore. - -2005-12-17 Jean-Louis Martineau - With Kevin Till - - * common-src/fileheader.c (parse_file_header): Fix parsing of first - line. - * common-src/fileheader.c (build_header): Print crypt after programi - and only if it is needed. - -2005-12-14 Ian Turner - - * common-src/alloc.c: Add new function vstrextend, which extends an - existing string. - * common-src/amanda.h: Define vstrextend. - * example/amanda.conf.in: Document new option - label_new_tapes. Change default labelstr. - * man/xml-source/amcheck.8.xml: Emphasize the destructiveness of - amcheck -w. - * restore-src/restore.c: Use the new changer_find interface. - * server-src/Makefile.am: Add new file taperscan.c - * server-src/amcheck.c: Use the taper-scan algorithm in taperscan.c, - instead of the previous separate amcheck implementation. - * server-src/amtape.c: Use the taper-scan algorithm in taperscan.c, - instead of the previous separate amtape implementation. Also, use - the new changer_find interface for other kinds of tape finding. - * server-src/changer.c: Eliminate changer_scan. Change the API to - changer_find, so that callers can pass a user-data object, instead - of using globals. - * server-src/changer.h: Declare and document new changer_find - interface. - * server-src/conffile.c: Add new config option label_new_tapes. - * server-src/conffile.h: ditto. - * server-src/taper.c: Use the taper-scan algorithm in taperscan.c, - instead of the previous separate taper implementation. Also, - combine tape-label-reading for ZFTAPE and non-ZFTAPE drives (the - difference only matters on writing). - * server-src/taperscan.c: Refactor the taper-scan algorithm from - taper, amtape, and amcheck. Implement label_new_tapes feature. - * server-src/taperscan.h: Declare and document new taperscan - interface. - * tape-src/tapeio.c: Notice the difference between a non-Amanda tape - and some other tape-reading problem. - * tape-src/tapeio.h: New declarations. - -2005-12-13 Jean-Louis Martineau - - * server-src/reporter.c (handle_success): On a taper line, the outsize - should only count dump to tape, not flush. - -2005-12-13 Jean-Louis Martineau - - * server-src/amstatus.pl.in: Parse chunker DONE line to set output size. - -2005-12-09 John Franks - - * client-src/Makefile.am: Do not include tape library if - configuring with --without-server option. - * recover-src/Makefile.am: Do not include tape library if - configuring with --without-server option. - -2005-12-08 Jean-Louis Martineau - - * configure.in: Move the size detection after detection of large - file support. That change the size of off_t. - -2005-12-08 Jean-Louis Martineau - - * common-src/amanda.h: Set OFF_T_FMT to printf format of a off_t. - * server-src/taper.c: Use OFF_T_FMT. - -2005-12-08 Jean-Louis Martineau + restore-src/Makefile.am: remove LIB_EXTENSION + * config/amanda/defaults.m4 config/amanda/devprefix.m4 + config/amanda/dumpers.m4 config/amanda/flags.m4 config/amanda/ipv6.m4 + config/amanda/lfs.m4 config/amanda/libs.m4 config/amanda/progs.m4 + config/amanda/ps.m4 config/amanda/swig.m4 config/amanda/syshacks.m4 + config/amanda/tape.m4 config/amanda/userid.m4 configure.in: use + AC_CANONICAL_HOST, rather than AC_CANONICAL_TARGET (which is for + compilers!) + +2009-05-22 Jean-Louis Martineau + * restore-src/amfetchdump.c: Fix sort_needed_tapes_by_write_timestamp. + +2009-05-22 Jean-Louis Martineau + * client-src/sendbackup.c: Compatibity with 2.4.2 server. + +2009-05-22 Dustin J. Mitchell + * device-src/vfs-device.c: close the tapelabel file after reading it + +2009-05-21 Jean-Louis Martineau + * server-src/planner.c: Fix for 'estimate calcsize server' with older + client. + +2009-05-21 Jean-Louis Martineau + * common-src/queueing.c: set queue_fd->errmsg. + * restore-src/restore.c: report queue_fd.errmsg + * server-src/amcheckdump.pl: report $queue_fd->{errmsg} + Check validation status before reporting status. + + +2009-05-21 Dustin J. Mitchell + * changer-src/chg-zd-mtx.sh: make -search errors non-fatal + +2009-05-20 Jean-Louis Martineau + * restore-src/restore.c: Report error. + +2009-05-20 Dustin J. Mitchell + * perl/Amanda/Changer.pm: check for tpchanger="" even if getconf_seen + is true; same for tapedev + +2009-05-20 Dustin J. Mitchell + * server-src/changer.c: revert a change (from 2009-02-20) which caused + taperscan to not do a sequential scan if stage one fails + +2009-05-20 Dustin J. Mitchell + * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm + perl/Amanda/Changer/disk.pm perl/Amanda/Changer/null.pm + perl/Amanda/Changer/rait.pm perl/Amanda/Changer/single.pm: + add a fast_search info key + * installcheck/Amanda_Changer_compat.pl + installcheck/Amanda_Changer_disk.pl + installcheck/Amanda_Changer_null.pl + installcheck/Amanda_Changer_rait.pl + installcheck/Amanda_Changer_single.pl: test it + * changer-src/chg-glue.pl: and use it to reflect searchability to old + changer API users + +2009-05-20 Dustin J. Mitchell + * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm + perl/Amanda/Changer/disk.pm perl/Amanda/Changer/null.pm + perl/Amanda/Changer/rait.pm perl/Amanda/Changer/single.pm: + changers return full devices, not just device names, and + configure those devices based on device_property parameters + specified in 'changer' configuration sections + * changer-src/chg-glue.pl: return the device_name from the device + (thereby losing the config info) + * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h: + add changer properties and device_properties + * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl + installcheck/Amanda_Changer_disk.pl + installcheck/Amanda_Changer_null.pl + installcheck/Amanda_Changer_rait.pl + installcheck/Amanda_Changer_single.pl installcheck/Amanda_Config.pl + installcheck/amrmtape.pl: test changer changes + * server-src/amrmtape.pl server-src/amcheckdump.pl: do not instantiate + device manually + +2009-05-19 Dustin J. Mitchell + * perl/Amanda/MainLoop.swg: Solaris doesn't return async_read errors + * installcheck/Amanda_MainLoop.pl: ..so don't test it + +2009-05-19 Dustin J. Mitchell + * perl/Makefile.am: revert -Werror change - SWIG output is invalid C + in many cases + +2009-05-19 Jean-Louis Martineau + * common-src/conffile.c: Add reapply_config_overwrites. + * common-src/conffile.h: Add prototype of reapply_config_overwrites. + * perl/Amanda/Config.swg: Add reapply_config_overwrites. + * recover-src/amrecover.c: Call reapply_config_overwrites. + +2009-05-18 Dustin J. Mitchell + * perl/Amanda/MainLoop.swg: new high-level call_after, + call_on_child_termination, async_read, async_write; POD for new functions; and + description of good async style + * installcheck/Amanda_MainLoop.pl: test new functions + * perl/amglue/filehandles.swg: use SvIOK + +2009-05-18 Dustin J. Mitchell + * perl/Makefile.am: add -Werror on gcc + +2009-05-15 Jean-Louis Martineau + * server-src/driver.c: Fix crash in amflush. + +2009-05-15 Dustin J. Mitchell + * man/xml-source/amgtar.8.xml perl/Amanda/Changer.pm + perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm + perl/Amanda/Changer/null.pm perl/Amanda/Changer/rait.pm + perl/Amanda/Changer/single.pm perl/Amanda/Disklist.swg + perl/Amanda/Holding.pm perl/make_html.pl: documentation cleanup + +2009-05-15 Dustin J. Mitchell + * installcheck/Installcheck.pm:always create $Installcheck::TMP; + package returns 1 + * installcheck/Installcheck/Run.pm: export run_expect + * installcheck/amarchiver.pl: quote a path + +2009-05-15 Dustin J. Mitchell + * perl/Amanda/Changer/compat.pm: qualify one last debug message + +2009-05-15 Dustin J. Mitchell + * perl/Amanda/XferServer.swg: include xfer-server.h + +2009-05-15 Dustin J. Mitchell + * common-src/debug.c common-src/debug.h: refactor set_logerr + and erroutput_type into a more flexible amanda_log_handler system + * server-src/logfile.c server-src/logfile.h: provide + amanda_log_trace_log + * perl/Amanda/Debug.swg perl/Amanda/Logfile.swg: SWIG it + * installcheck/Amanda_Debug.pl installcheck/Amanda_Logfile.pl: test it + * amandad-src/amandad.c application-src/amgtar.c + application-src/amstar.c client-src/calcsize.c client-src/selfcheck.c + client-src/sendbackup.c client-src/sendsize.c + restore-src/amfetchdump.c restore-src/amrestore.c server-src/amadmin.c + server-src/amcheck.c server-src/amflush.c server-src/amlabel.c + server-src/amlogroll.c server-src/amservice.c server-src/amtape.c + server-src/chunker.c server-src/driver.c server-src/dumper.c + server-src/planner.c server-src/reporter.c server-src/taper.c: use new + system + +2009-05-15 Jean-Louis Martineau + * common-src/debug.c: Fix memory leak. + +2009-05-13 Dustin J. Mitchell + * perl/Amanda/Changer/rait.pm: better handling of "ERROR", small + refactoring + * installcheck/Amanda_Changer_rait.pl: update tests to expect it + +2009-05-13 Dustin J. Mitchell + * perl/Amanda/Device.swg: parse string values for properties + * installcheck/Amanda_Device.pl: test + +2009-05-12 Jean-Louis Martineau + * changer-src/chg-glue.pl: Fix typo Amanda:Changer::Error + +2009-05-08 Dustin J. Mitchell + * perl/Amanda/Logfile.swg: add log_add + * installcheck/Amanda_Logfile.pl: test it + +2009-05-08 Jean-Louis Martineau + * server-src/dumper.c: Fix for clnt_decrypt_opt == NULL. + +2009-05-07 Chris Hoogendyk + * man/xml-source/amanda-auth.7.xml: explain default for amandahosts + "service" + +2009-05-07 Dustin J. Mitchell + * server-src/changer.c: remove unused variable + +2009-05-07 Dustin J. Mitchell + Jean-Louis Martineau + * common-src/debug.c: do not use a mutex in debug_printf + * client-src/sendbackup.c common-src/pipespawn.c server-src/changer.c: + do not call debug_printf after fork() + +2009-05-06 Dustin J. Mitchell + * server-src/taper.c: check for division by zero and don't print 'nan' + for kbps + * installcheck/taper.pl: don't expect 'nan' + +2009-05-04 Nikolas Coukouma + * server-src/amrmtape.pl: try loading disklist before erasing, + before amadmin tries (and possibly fails) + +2009-05-04 Jean-Louis Martineau + * man/xml-source/amdevcheck.8.xml: Document exit code. + * server-src/amdevcheck.pl: change exit code. + +2009-05-04 Dustin J. Mitchell + * installcheck/Makefile.am installcheck/taper.pl: new installcheck for + taper + * installcheck/Installcheck/Config.pm: cleanup + * installcheck/Installcheck/Run.pm: cleanup + +2009-05-04 Dustin J. Mitchell + * server-src/taper-mem-port-source.c + server-src/taper-disk-port-source.c: continue reading from the port + after the cache is exhausted, instead of terminating the part abruptly + (which can lead to insertion of spurious zeros into the dumpfile); + also remove some unnecessary assertions (g_return_val_if_fail) + * server-src/taper-file-source.c: use correct unit on part size; + correctly calculate estimated number of parts + * server-src/taper-port-source.c: replace assertion with 'if' + +2009-05-04 Jean-Louis Martineau + * server-src/amdevcheck.pl: Add '--label' option. + * man/xml-source/amdevcheck.8.xml: Document '--label' option. + +2009-05-04 Nikolas Coukouma + * application-src/ampgsql.pl: accept gnutar-path option; + use absolute path when calling unlink() + +2009-05-04 Jean-Louis Martineau + * server-src/taper.c: do not include a partial part in the size + calculation + +2009-04-30 Jean-Louis Martineau + * server-src/driver.c: Fix deadlock. + +2009-04-30 Jean-Louis Martineau + * application-src/amgtar.c, application-src/amstar.c: Validate if + binary not available. + +2009-04-30 Jean-Louis Martineau + * application-src/amstar.c: Compile pattern once. + Remove a superfluous '\n'. + +2009-04-30 Jean-Louis Martineau + * application-src/amstar.c: Handle hard link. + +2009-04-29 Jean-Louis Martineau + * server-src/changer.c: s/execve/execv + +2009-04-29 Jean-Louis Martineau + * server-src/changer.c: Pass command override to chg-glue. + * changer-src/chg-glue.pl: Parse command override. + +2009-04-28 Jean-Louis Martineau + * server-src/amadmin.c: Fix error reporting in find subcommand. + +2009-04-28 Jean-Louis Martineau + * recover-src/amrecover.h: Change prototype. + * recover-src/extract_list.c: merge_path, abort if cd_* failed. + * recover-src/set_commands.c: Many functions return 0 or 1. + +2009-04-28 Jean-Louis Martineau + * application-src/amsuntar.pl: Fix redirection in validate command. + +2009-04-28 Jean-Louis Martineau + * man/xml-source/amcheck.8.xml, man/xml-source/amfetchdump.8.xml, + man/xml-source/amflush.8.xml, + man/xml-source/amrestore.8.xml: Fix order of -o argument. + * restore-src/amfetchdump.c, restore-src/amrestore.c, + server-src/amcheck.c, + server-src/amflush.c: Fix order of -o argument in usage function. + +2009-04-28 Jean-Louis Martineau + * man/xml-source/amanda.8.xml: Document [...] and [!...] in host & disk + expression section. + +2009-04-28 Nikolas Coukouma + * application-src/ampgsql.pl: remove checks for PG-DATADIR + +2009-04-27 Nikolas Coukouma + * application-src/ampgsql.pl: lowercase property names when accessing them + +2009-04-27 Nikolas Coukouma + * application-src/ampgsql.pl: fix debug printing of property names, + add parent directory checks to selfcheck command, + check psql binary path, fix whitespace + * perl/Amanda/Application.swg: update usage docs + * installcheck/Installcheck/Application.pm: fix formatting tags + remove 'level' argument from selfcheck command + * installcheck/ampgsql.pl: test selfcheck command a bit + +2009-04-27 Jean-Louis Martineau + * server-src/amcheck.c: Remove "Usage of fully qualified hostname + recommended for Client" warning. + +2009-04-27 Jean-Louis Martineau + * application-src/amsamba.pl: Use device if specified. + +2009-04-27 Jean-Louis Martineau + * client-src/sendbackup.c: Fix dbprintf statements. + +2009-04-24 Jean-Louis Martineau + * application-src/amsuntar.pl: Add LANG property. + * man/xml-source/amsuntar.8.xml: Document LANG property. + +2009-04-23 Jean-Louis Martineau + * application-src/amsuntar.pl: Fix order of $ext_attrib and $ext_header, + add strange regex for UTF-8, estimate fail only if an output match + an error regex or if an output match nothing. + +2009-04-23 Dustin J. Mitchell + * server-src/amcheckdump.pl: request tapes manually when using + Amanda::Changer::single + +2009-04-23 Jean-Louis Martineau + * application-src/amsuntar.pl: Fix validate command. + +2009-04-22 Jean-Louis Martineau + * server-src/amcheckdump.pl: Wait for an input before reading tape. + +2009-04-22 Jean-Louis Martineau + * application-src/amsamba.pl: Parse username ending with '%'. + +2009-04-22 Sam Couter + * changer-src/chg-glue.pl: return a helpful error message when + Amanda::Changer->new() fails + +2009-04-22 Jean-Louis Martineau + * server-src/amstatus.pl: Print percentage done when writing to tape. + +2009-04-21 Dustin J. Mitchell + * server-src/Makefile.am server-src/xfer-server.h + server-src/xfer-source-holding.c: new module reading from holding + files + * perl/Makefile.am perl/Amanda/Xfer.swg perl/Amanda/XferDevice.swg + perl/Amanda/XferServer.swg: rename XferDevice to XferServer; add + Amanda::Xfer::Source::Holding + * device-src/xfer-dest-taper.c: make class macros public; ignore + cache_inform when part_size == 0 + * device-src/xfer-device.h: xfer-dest-taper class macros + * xfer-src/amxfer.h: include element-glue.h + * installcheck/Amanda_Xfer_serveronly.pl: updated tests + +2009-04-21 Jean-Louis Martineau + * server-src/diskfile.c: Typo. + +2009-04-21 Jean-Louis Martineau + * server-src/diskfile.c: Print ", quoting may not be correct". + +2009-04-21 Jean-Louis Martineau + * man/xml-source/amanda-devices.7.xml: Add 'FSF_AFTER_FILEMARK' + property to 'tape:' driver. + * device-src/tape-device.c: Add code for new 'FSF_AFTER_FILEMARK' + property, set is_eof to FLASE where needed. + * device-src/tape-device.h: Add fsf_after_filemark to _TapeDevice. + * device-src/tape-aix.c, device-src/tape-uware.c, + device-src/tape-xenix.c, device-src/tape-posix.c: Set default value + for FSF_AFTER_FILEMARK. + * config/amanda/defaults.m4: Find default value for 'FSF_AFTER_FILEMARK' + property. + * xfer-src/dest-null.c: Remove bogus assert. + * device-src/amtapetype.pl: New -p option to discover driver properties, + it can find value for the 'FSF_AFTER_FILEMARK' property. + * man/xml-source/amtapetype.8.xml: Document -p options + +2009-04-20 Jean-Louis Martineau + * client-src/sendsize.c: Typo + * server-src/planner.c: Don't log failed estimate message. + +2009-04-20 Jean-Louis Martineau + * device-src/tape-device.c: handle EROFS in open. + +2009-04-20 Jean-Louis Martineau + * changer-src/chg-zd-mtx.sh: Improve error message. + +2009-04-20 Dustin J. Mitchell + * device-src/tape-device.c: improve error messages on reading/writing + +2009-04-17 Nikolas Coukouma + * device-src/device.c: fix error message for unparsable property + * installcheck/Amanda_Device.pl: test error message + +2009-04-17 Jean-Louis Martineau + * server-src/cmdline.c: host, disk and timestamp argument are not regex + +2009-04-17 Jean-Louis Martineau + * server-src/amcheckdump.pl: Print 'volume image' if it doesn't match. + +2009-04-16 Jean-Louis Martineau + * application-src/amsuntar.pl: New NORMAL, IGNORE, STRANGE and ERROR + properties. + * man/xml-source/amsuntar.8.xml: Document them. + +2009-04-16 Dustin J. Mitchell + * perl/Amanda/MainLoop.swg: get call_later order right, more useful + sub names + * installcheck/Amanda_MainLoop.pl: tests for same + +2009-04-16 Jean-Louis Martineau + * server-src/amcheckdump.pl: Fix three typos. + +2009-04-16 Nikolas Coukouma + * server-src/amcheckdump.pl: Print per-image status messages, + with detailed error info + +2009-04-15 Jean-Louis Martineau + * application-src/amsamba.pl: Fix parsing of username... + +2009-04-15 Jean-Louis Martineau + * server-src/amcheckdump.pl: Validate image if all part are available. + +2009-04-15 Jean-Louis Martineau + * client-src/sendsize.c: Don't report "can't estimate level" error. + +2009-04-15 Jean-Louis Martineau + * server-src/taperscan.c: Make find_brand_new_tape_label return an + error message instead of printing it to stderr. Make scan_read_label + use the error message from find_brand_new_tape_label. + +2009-04-15 Dustin J. Mitchell + * restore-src/amfetchdump.c: keep the order of tapes within a + particular run of Amanda + +2009-04-15 Nikolas Coukouma + * perl/Amanda/MainLoop.swg: add make_cb to make callbacks easier to use + and more pleasant to debug. + * installcheck/Amanda_Changer.pl, + installcheck/Amanda_Changer_compat.pl, + installcheck/Amanda_Changer_disk.pl, + installcheck/Amanda_Changer_null.pl, + installcheck/Amanda_Changer_rait.pl, + installcheck/Amanda_Changer_single.pl, + perl/Amanda/Changer.pm, + perl/Amanda/Changer/compat.pm, + perl/Amanda/Changer/disk.pm, + perl/Amanda/Changer/null.pm, + perl/Amanda/Changer/rait.pm, + perl/Amanda/Changer/single.pm, + perl/Amanda/MainLoop.swg, + server-src/amrmtape.pl, + server-src/amvault.pl: use make_cb, expect callbacks to be wrapped in it + +2009-04-14 Jean-Louis Martineau + * application-src/amsamba.pl: Default amandapass file is + CONFIG_DIR/amandapass. + +2009-04-14 Jean-Louis Martineau + * common-src/conffile.c: Fix inheriting properties. + * installcheck/Amanda_Config.pl: Test it. + +2009-04-14 Jean-Louis Martineau + * amandad-src/amandad.c: Improve error message. + +2009-04-14 Jean-Louis Martineau + * server-src/amstatus.pl: Remove spurious debug message. + +2009-04-14 Jean-Louis Martineau , + Satya Ganga + * application-src/amzfs-sendrecv.pl: Use complete compress ratio. + +2009-04-14 Jean-Louis Martineau , + Dustin J. Mitchell + Bug found by Gene Heskett. + * server-src/planner.c: Set dp before using it. + +2009-04-11 Jean-Louis Martineau + * application-src/amsamba.pl: Add ALLOW-ANONYMOUS property. + Allow '\' in diskname and amandapass. + * man/xml-source/amsamba.8.xml: Document ALLOW-ANONYMOUS property. + +2009-04-11 Jean-Louis Martineau + * application-src/amsuntar.pl: Exit gracefully if suntar exit with != 0 + Parse hard link in index. + * server-src/amstatus.pl: Fix amstatus for partial chunker. + * installcheck/amstatus.pl: Test it. + * installcheck/Installcheck/Run.pm: export an $exit_code variable. + +2009-04-10 Dustin J. Mitchell + * common-src/conffile.c: fix handling of double-backslash in quoted + strings + +2009-04-09 Ray Tracer + * application-src/amgtar.c: add missing 'break' + +2009-04-09 Dustin J. Mitchell + * common-src/conffile.c: store properties in lower-case + * perl/Amanda/Config.swg: document data formats for config values + * installcheck/Amanda_Config.pl: test case-sensitivity + +2009-04-09 Dustin J. Mitchell + * device-src/rait-device.c: add rait_device_new_from_children + * device-src/device.h: prototype + * perl/Amanda/Device.swg: wrap into perl + * installcheck/Amanda_Device.pl: test + +2009-04-08 Dustin J. Mitchell + * device-src/tape-device.c: fix typo to get device_name right + +2009-04-08 Nikolas Coukouma , Dustin J. Mitchell + * man/xml-source/amanda-devices.7.xml: clarify meaning of s3_bucket location + +2009-04-08 Dustin J. Mitchell + * common-src/fileheader.c: fix early return if PROGRAM not given + * perl/Amanda/Disklist.swg: do not free the C disklist + * perl/Makefile.am perl/Amanda/Holding.pm: new pure-perl package with + functionality similar to server-src/holding.[ch] + * server-src/holding.h: clarify comments + * installcheck/Amanda_Holding.pl installcheck/Installcheck/Config.pm + installcheck/Makefile.am: tests + +2009-04-08 Dustin J. Mitchell + * device-src/xfer-dest-taper.c: fix uninitialized-value warnings + +2009-04-07 Dustin J. Mitchell + * installcheck/Amanda_Xfer_serveronly.pl: unmerged test tweaks + +2009-04-07 Dustin J. Mitchell + * device-src/xfer-dest-taper.c: new xfer element to handle splitting + dumpfiles over multiple volumes, with retry of failed split parts + * device-src/Makefile.am: new file + * device-src/xfer-device.h: new prototype + * installcheck/Amanda_Xfer_serveronly.pl: new tests + * installcheck/Installcheck/Run.pm: increase default vtape size + * perl/Amanda/Xfer.swg: POD for new element + * perl/Amanda/XferDevice.swg: wrap new element + * xfer-src/xmsg.h xfer-src/xmsg.c: add XMSG_PART_DONE + +2009-04-07 Jean-Louis Martineau + * client-drc/sendbackup.c: Init result. + +2009-04-07 Jean-Louis Martineau + * server-src/taper-source.c (default_taper_source_seek_to_part_start): + returns FALSE on not splitted dump. + * server-src/driverio.c: info.last_level should not be set on error + if level >= info.last_level. + * server-src/driver.c: Rename update_failed_dump_to_tape to + update_failed_dump. + Call update_failed_dump on failed dump to holding disk. + * application-src/amgtar.c: Don't update statefile if the backup failed. + * client-drc/sendbackup.c: Don't update amandates if backup failed. + +2009-04-07 Jean-Louis Martineau + * man/xml-source/amanda-changers.7.xml: Document changerfile for + chg-disk. + +2009-04-03 Dustin J. Mitchell + * perl/Amanda/Changer/compat.pm: always configure devices while + scanning + * server-src/amcheckdump.pl: configure devices returned from the + changer + +2009-04-03 Jean-Louis Martineau + * application-src/amsamba.pl: Allow empty username. + * man/xml-source/amsamba.8.xml: Document empty username and password. + +2009-04-03 Jean-Louis Martineau + * common-src/security-util.c: Fix isdigit use. + +2009-04-03 Jean-Louis Martineau + * common-src/conffile.c: New client_port option. + * common-src/conffile.h: New client_port option. + * man/xml-source/amanda-auth.7.xml, + man/xml-source/amanda-client.conf.5.xml, + man/xml-source/amanda.conf.5.xml: New client_port option. + * perl/Amanda/Config.swg: Add CNF_CLIENT_PORT and DUMPTYPE_CLIENT_PORT. + * common-src/bsd-security.c, + common-src/bsdtcp-security.c, + common-src/bsdudp-security.c: Use client_port option. + * common-src/security-util.c: New find_port_for_service function. + * common-src/security-util.h: Prototype for find_port_for_service. + * installcheck/Amanda_Config.pl: Check reaad_int_or_str function. + * recover-src/amrecover.c: Remove amindexd_client_get_security_conf. + * recover-src/extract_list.c: Remove amidxtaped_client_get_security_conf + * server-src/amadmin.c (disklist_one): Print client_port. + * server-src/amcheck.c: Fix remote_errors; + * server-src/diskfile.h (disk_t): Add client_port. + * server-src/diskfile.c: Set client_port. + * server-src/driverio.c: Send client_port to dumper. + * server-src/dumper.c: Parse client_port. + * server-src/server_util.c: return client_port. + +2009-04-03 Nikolas Coukouma + * device-src/s3-device.c, installcheck/Amanda_Device.pl: + don't require location-compatible name for ignored value + +2009-04-03 Jean-Louis Martineau + * application-src/amsamba.pl: Allow empty password. + * perl/Amanda/Util.swg: Small fix in skip_quoted_string. + * installcheck/Amanda_Util.pl: Check skip_quoted_string fix. + +2009-04-02 Jean-Louis Martineau + * server-src/amstatus.pl: prefix error message with "backup failed:" + if a dump to holding disk failed. + +2009-04-02 Jean-Louis Martineau + * server-src/amstatus.pl: Print a taper status. + * server-src/taper.c: Quote TAPE-ERROR reply. + +2009-04-02 Dustin J. Mitchell + * man/xml-source/amsamba.8.xml: clarify "CIFS host" vs. "client" + +2009-04-02 Jean-Louis Martineau + * application-src/amsamba.pl: Typo. + +2009-04-01 Dustin J. Mitchell + * device-src/s3-device.c: always send errors from setup_handle + +2009-04-01 Nikolas Coukouma + * device-src/s3-device.c: don't clobber errors from setup_handle + +2009-04-01 Nikolas Coukouma + * NEWS: Note change to Amazon S3, add ampgsql + +2009-03-31 Jean-Louis Martineau + * server-src/amcheck.c: Set l on error path. + +2009-03-31 Nikolas Coukouma + * device-src/s3.c: don't send empty location constraint, + allocate error messages, fix constraint check in case of wildcard + * installcheck/Amanda_Device.pl: actually test location constraints + +2009-03-31 Nikolas Coukouma + * application-src/ampgsql.pl: add newline to end of index entry + +2009-03-31 Jean-Louis Martineau + * application-src/amsamba.pl: Set $self->{mesgout} before calling + method that use it. + +2009-03-31 Jean-Louis Martineau + * application-src/Makefile.am: Remove amgtar_perl. + * application-src/amgtar_perl.pl: Remove file. + +2009-03-30 Jean-Louis Martineau + * man/xml-source/amsamba.8.xml: Document amandapass file location. + +2009-03-30 Jean-Louis Martineau + * application-src/amsamba.pl: allow relative AMANDAPASS property. + * man/xml-source/amsamba.8.xml: Document amandapass file location. + * ReleaseNotes: amsamba + +2009-03-30 Jean-Louis Martineau + * server-src/amcheck.c: exit(1) if match_disklist() return an error. + * server-src/planner.c: Better logging if match_disklist() return an + error. + +2009-03-30 Jean-Louis Martineau + * server-src/planner.c: Use new one_est_t, + print warning for server guessed estimate. + +2009-03-29 Dan Locks + * packaging/rpm/amanda.spec: change a number of %if conditionals to + macros which expand if they are defined. + +2009-03-29 Nikolas Coukouma + * man/xml-source/amanda-devices.7.xml: add more notes + +2009-03-27 Nikolas Coukouma + * device-src/s3.c, installcheck/Amanda_Device.pl: + ignore s3_bucket_location if set to "", pass "*" as "" (wildcard), + pass others as-is + +2009-03-27 Dustin J. Mitchell + * installcheck/Amanda_Util.pl: fix warning + * perl/Amanda/Util.swg: fix typos + +2009-03-27 Nikolas Coukouma + * application-src/ampgsql.pl, installcheck/ampgsql.pl: + use a different dummy entry - * configure.in: Set LL_FMT correctly. - * server-src/conffile.c: Use LL_FMT. +2009-03-27 Jean-Louis Martineau + * recover-src/extract_list.c: Add --level argument to application. -2005-12-08 Jean-Louis Martineau +2009-03-27 Jean-Louis Martineau + * application-src/amsuntar.pl: Check for 'symbolic link' in index. - * server-src/conffile.c: Maxdumpsize is a AM64. - * server-src/planner.c: conf_maxdumpsize, total_size, tape_length and - tape_mark are am64_t. +2009-03-27 Dustin J. Mitchell + * installcheck/Amanda_Device.pl: counting Amanda_Device tests is hard. -2005-12-08 Jean-Louis Martineau +2009-03-26 Nikolas Coukouma + * installcheck/Amanda_Device.pl: fix test counts + * installcheck/Amanda_Util.pl: fix shadow variable warning - * configure.in: Check for sizeof of many type. Check printf format of - a 64-bit integers. - * common-src/amanda.h: Typedef am64_t to a 64 bits signed type,i - set AM64_FMT to the printf format of a am64_t variable. - * server-src/conffile.c: New AM64 type. - * server-src/conffile.h(getconf_am64): Prototype. +2009-03-26 Nikolas Coukouma + * device-src/s3.c: ignore empty s3_user_token + * installcheck/Amanda_Device.pl: test empty s3_user_token -2005-12-08 Jean-Louis Martineau +2009-03-26 Dustin J. Mitchell + * man/xml-source/amanda.conf.5.xml: document new estimate changes made + 2009-02-04 - * client-src/Makefile.am: Remove amqde. - * client-src/sendsize.c: Remove code to call amqde. - * client-src/amqde.c: Remove file. - * configure.in: Remove '--with-qde' option. +2009-03-26 Jean-Louis Martineau + * server-src/planner.c: Remove logging of guessed estimate. -2005-12-05 Jean-Louis Martineau - - * server-src/amindexd.c (reply, lreply, fast_lreply): Must use - str_buffer_sizebuf instead of sizeof(bug). - -2005-12-05 Jean-Louis Martineau - - * server-src/planner.c: Print the time in the FINISH line. - * server-src/reporter.c: The estimate time is based on the planner - FINISH line. - -2005-12-05 Jean-Louis Martineau - - * common-src/Makefile.am (bsdsecurity_LDADD): Add ssh-security. - -2005-12-05 Jean-Louis Martineau - - * server-src/holding.c (scan_holdingdisk): Static function. - * server-src/taper.c (signal_handler, install_signal_handlers): Ditto. - * server-src/reporter.c (output_strange,do_postscript_output): Ditto. - -2005-12-04 Jean-Louis Martineau - - * server-src/logfile.c (logtype_str): Add important ','. - -2005-12-03 Jean-Louis Martineau - - * server-src/planner.c (setup_estimate): Fix wrong order for argument. - -2005-12-03 Jean-Louis Martineau - - * server-src/driver.c (start_some_dumps): Don't test for - cur_idle == NOT_IDLE. - -2005-12-03 Jean-Louis Martineau - - * server-src/driverio.c (check_unfree_serial): New fonction to check - unfreed serial number. - * server-src/driverio.c (free_serial_dp): Set stable[s].dp to NULL. - * server-src/driverio.h (check_unfree_serial): Prototype. - * server-src/driver.c (main): Call check_unfree_serial. - -2005-12-02 Jean-Louis Martineau - Patch by Franz Fischer - - * config/acinclude.m4i: Fix for __alpha. - -2005-12-02 Jean-Louis Martineau - - * common-src/util.c: Debug must end with '\n'. - -2005-12-01 Jean-Louis Martineau - - * configure.in: Amanda support x86_64-unknown-linux-gnu. - -2005-11-30 Jean-Louis Martineau - - * common-src/rsh-security.c (rsh_sendpkt): buf is a char array. - * common-src/ssh-security.c (rsh_sendpkt): buf is a char array. - * config/acinclude.m4i (AX_CREATE_STDINT_H): Newer macro. - -2005-11-30 Jean-Louis Martineau - - * client-src/rundump.c: undef USE_RUNDUMP before define. - -2005-11-30 Jean-Louis Martineau - Patch by Franz Fischer - - * client-src/amqde.c: Fix compiler warning. - -2005-11-30 Jean-Louis Martineau - Patch by Franz Fischer - - * common-src/event.h: Fix compiler warning. - * server-src/conffile.h: Fix compiler warning. - -2005-11-30 Kevin Till - - * client-src/client_util.c add server-side, client-side encryption - as well as custom compression. Custom compression patch is - orginally created by Matthieu Lochegnies. - * client-src/client_util.h Ditto - * client-src/selfcheck.c Ditto - * client-src/sendbackup-dump.c Ditto - * client-src/sendbackup-gnutar.c Ditto - * client-src/sendbackup.c Ditto - * client-src/sendbackup.h Ditto - * common-src/fileheader.c Ditto - * common-src/fileheader.h Ditto - * common-src/util.h Ditto - * example/amanda.conf.in Ditto - * man/xml-source/amanda.conf.5.xml Ditto - * restore-src/amrestore.c Ditto - * restore-src/restore.c Ditto - * server-src/conffile.c Ditto - * server-src/conffile.h Ditto - * server-src/diskfile.c Ditto - * server-src/diskfile.h Ditto - * server-src/dumper.c Ditto - -2005-11-29 Jean-Louis Martineau - - * config/libtool.m4i: libtool 1.5.20 - * config/ltmain.sh: libtool 1.5.20 - -2005-11-29 Jean-Louis Martineau - Patch by Franz Fischer - - * common-src/fileheader.c (build_header): Declation before instruction. - * restore-src/amfetchdump.c: Don't use C++ style comment. - * restore-src/restore.c: Don't use C++ style comment. - * server-src/amindexd.c (reply, lreply, fast_lreply): buf must be - dynamicaly allocated. - * server-src/logfile.h: Don't use C++ style comment. - * server-src/taper.c (free_split_buffer): Test splitbuf against NULL. - -2005-11-22 Paddy Sreenivasan - * common-src/rsh-security.c: Fix x86_64 compile warnings. - * common-src/ssh-security.c: Fix x86_64 compile warnings. - * man/Makefile.am: Added EXTRA_XML files. - * man/xml-source/amanda.8.xml: Added spanning patch variables. - * man/xml-source/amrecover.8.xml: Added amfetchdump to SEE ALSO. - * xslt/global.entities: Removed file. - -2005-11-20 Jean-Louis Martineau - Patch by Jon H. LaBadie - - * changer-src/chg-disk.sh.in: Check permission on file access. - -2005-11-17 Paddy Sreenivasan - * man/entities/global.entities: New file. Added man page entities. - * man/entities/xinclude.dtd: New file. - * man/xslt/man.xsl: Correct include path for settings.xsl. - -2005-11-15 John R. Franks - * changer-src/scsi-changer-driver.c: Fix IA-64 compile warnings. - * common-src/rsh-security.c: Fix IA-64 compile warnings. - * common-src/ssh-security.c: Fix IA-64 compile warnings. - * regex-src/engine.c: Fix IA-64 compile warnings. - * regex-src/regexec.c: Fix IA-64 compile warnings. - -2005-11-15 Paddy Sreenivasan - - * configure.in: Changed defaults for tape_dev and nr_tape_dev. - * example/amanda.conf.in: Leave only changerfile definition - uncommented. - * man/xml-source/amanda.conf.5.xml: Updated defaults for - tapedev and rawtapedev - -2005-11-10 Jean-Louis Martineau - - * server-src/planner.c: Fix incronly. - -2005-11-05 Jean-Louis Martineau - - * man/Makefile.am: Set man_MANS, - -2005-11-03 Jean-Louis Martineau - - * man/Makefile.am: Set man5_MANS and man8_MANS, - install-data-hook use them. - -2005-11-03 Jean-Louis Martineau - Patch by Olivier Cherrier - - * man/Makefile.am (install-data-hook): Set protection correclty - for man5 and man8. - -2005-10-29 Jean-Louis Martineau - - * common-src/util.c (bind_portrange): Increase port in all case. - -2005-10-27 Jean-Louis Martineau - - * server-src/conffile.c: Allow runtapes==0. - * server-src/driver.c: Use a global conf_runtapes. Don't start a - taper if runtapes==0. - * server-src/reporter.c: Don't print The next tapes if runtapes==0. - - -2005-10-24 Jean-Louis Martineau - - * Amanda 2.5.0b1 released. - * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.0b1). - * NEWS: Update for 2.5.0b1. - -2005-10-25 Ian Turner - - * man/Makefile.am: include amfetchdump.8. - * man/xml-source/amadmin.8.xml: Add spanning-patch documentation. - * man/xml-source/amanda.8.xml: ditto - * man/xml-source/amrecover.8.xml: ditto - * man/xml-source/amfetchdump.8.xml: ditto (new file) - * man/xslt/global.entities: Add myself, Zmanda Inc. - -2005-10-24 Jean-Louis Martineau - - * client-src/sendsize.c (getsize_wrapper): Add a NULL at the end of - the argvchild array. - -2005-10-20 Jean-Louis Martineau - - * server-src/server_util.c (getcmd): Print DEBUG to stderr. - -2005-10-20 Ian Turner - - * configure.in: Check for xsltproc. - * man/Makefile.am: Properly build, clean, and distribute generated - manpages from XML source. - * man/amadmin.8: Remove from CVS - * man/amanda.8: Remove from CVS - * man/amanda.conf.5: Remove from CVS - * man/amcheck.8: Remove from CVS - * man/amcheckdb.8: Remove from CVS - * man/amcleanup.8: Remove from CVS - * man/amdd.8: Remove from CVS - * man/amdump.8: Remove from CVS - * man/amflush.8: Remove from CVS - * man/amgetconf.8: Remove from CVS - * man/amlabel.8: Remove from CVS - * man/ammt.8: Remove from CVS - * man/amoverview.8: Remove from CVS - * man/amplot.8: Remove from CVS - * man/amrecover.8: Remove from CVS - * man/amreport.8: Remove from CVS - * man/amrestore.8: Remove from CVS - * man/amrmtape.8: Remove from CVS - * man/amstatus.8: Remove from CVS - * man/amtape.8: Remove from CVS - * man/amtapetype.8: Remove from CVS - * man/amtoc.8: Remove from CVS - * man/amverify.8: Remove from CVS - * man/amverifyrun.8: Remove from CVS - * man/xml-source/amadmin.8.xml: Add from xml-docs - * man/xml-source/amanda.8.xml: Add from xml-docs - * man/xml-source/amanda.conf.5.xml: Add from xml-docs - * man/xml-source/amcheck.8.xml: Add from xml-docs - * man/xml-source/amcheckdb.8.xml: Add from xml-docs - * man/xml-source/amcleanup.8.xml: Add from xml-docs - * man/xml-source/amdd.8.xml: Add from xml-docs - * man/xml-source/amdump.8.xml: Add from xml-docs - * man/xml-source/amflush.8.xml: Add from xml-docs - * man/xml-source/amgetconf.8.xml: Add from xml-docs - * man/xml-source/amlabel.8.xml: Add from xml-docs - * man/xml-source/ammt.8.xml: Add from xml-docs - * man/xml-source/amoverview.8.xml: Add from xml-docs - * man/xml-source/amplot.8.xml: Add from xml-docs - * man/xml-source/amrecover.8.xml: Add from xml-docs - * man/xml-source/amreport.8.xml: Add from xml-docs - * man/xml-source/amrestore.8.xml: Add from xml-docs - * man/xml-source/amrmtape.8.xml: Add from xml-docs - * man/xml-source/amstatus.8.xml: Add from xml-docs - * man/xml-source/amtape.8.xml: Add from xml-docs - * man/xml-source/amtapetype.8.xml: Add from xml-docs - * man/xml-source/amtoc.8.xml: Add from xml-docs - * man/xml-source/amverify.8.xml: Add from xml-docs - * man/xml-source/amverifyrun.8.xml: Add from xml-docs - * man/xslt/expand-sambadoc.xsl: Add from xml-docs - * man/xslt/global.entities: Add from xml-docs - * man/xslt/man.xsl: Add from xml-docs - * man/xslt/settings.xsl: Add from xml-docs - -2005-10-20 Jean-Louis Martineau - - * server-src/amstatus.pl.in: a FLUSH command can't be in an estimate - phase. - * server-src/driver.c: Start autoflush while waiting for estimate. - * server-src/planner.c: Write FLUSH line before estimate. - -2005-10-17 Jean-Louis Martineau - Patch by John R. Franks - - * server-src/taper.c (create_split_buffer): Should not use sizeof(). - -2005-10-17 Jean-Louis Martineau - - * server-src/taper.c (read_file): Move the putresult(DONE) to the - right place, some cleanup. - -2005-10-17 Jean-Louis Martineau - - * server-src/planner.c: Increase DEFAULT_DUMPRATE to 1024 K/s. - -2005-10-17 Ian Turner - - * Changelog: Fix line breaks. - * restore-src/restore.c: Give more useful FSF error messages. - * recover-src/extract_list.c: Do better error checking on passed port - number. - * common-src/tapelist.c: Do proper memory management of strings. - Otherwise really bad stuff happens. - -2005-10-17 Jean-Louis Martineau - - * server-src/taper.c: Set SIGPIPE to SIG_IGN, the code already - handle it correctly. - -2005-10-16 Jean-Louis Martineau - - * server-src/taper.c (signal_handler): Don't REMOVE_SHARED_MEMORY, it - is done by exit. - -2005-10-16 Jean-Louis Martineau - - * server-src/driverio.c (serial2disk): Print str if error. - -2005-10-15 Paddy Sreenivasan - - * server-src/taper.c: Shared memory need not be removed in normal paths. - Done as part of atexit. - -2005-10-15 Jean-Louis Martineau - Patch by John R. Franks - - * changer-src/scsi-aix.c: calls to open/openx guages success by - checking for a file descriptor greater than 0. 0 is also a valid - descriptor so the check should be >= 0. - Calls to SCSI_OpenDevice does not check for error return. - Calls to SCSI_OpenDevice does not check for error return. - Calls to SCSI_OpenDevice does not check for error return. - Call to opendir() does not check for error. - * changer-src/scsi-hpux_new.c: Ditto. - * changer-src/scsi-irix.c: Ditto. - * changer-src/scsi-linux.c: Ditto. - * changer-src/scsi-solaris.c: Ditto. - * client-src/selfcheck.c: Call to open() does not check for error. - * client-src/sendbackup.c: Call to freopen() does not check for error. - * client-src/sendsize.c: Call to open() does not check for error. - * common-src/bsd-security.c: Call to open() does not check for error. - * common-src/file.c: Call to open() does not check for error. - * restore-src/amrestore.c: Calls to tape_open() do not always check - return code. open() is called with open flags set to 0 - (Call always fails with an EINVAL) - * restore-src/restore.c: fopen() return error check is "fopen() < 0". - fopen returns a pointer and the proper check should be - "fopen() == NULL". - Call to open() does not check for error. - * tape-src/tapeio.c: tape_open() is called here and other places with a - variable number of arguments, and yet is not defined as a varargs - function... - * tape-src/tapeio.h: Prototype for tape_open. - -2005-10-15 Jean-Louis Martineau - Patch by Paddy Sreenivasan - - * client-src/sendsize.c: Log message changes. - * server-src/taper.c: And an atexit function to detach shared memory. - Trap some signal and detach shared memory. - -2005-10-14 Jean-Louis Martineau - - * regex-src/regcomp.c (findmust): Initialized start to NULL. - -2005-10-14 Jean-Louis Martineau - Patch by John R. Franks - - * regex-src/cclass.h: Fixed to add missing braces and reformat long - strings to fix in 80 columns. - * regex-src/cname.h: Fixed by adding braces and tidying up code a bit. - * regex-src/regcomp.c (p_ere): Initialized prevback and prevfwd to 0. - ifdef out unused mcsub, mcin and mcfind functions. - (findmust) Initialized newstart to NULL. - * regex-src/regerror.c: Adds missing braces. - * regex-src/regexec.c (nope): Use only in assert, so it is not only - defined if NDEBUG is not defined. - -2005-10-14 Jean-Louis Martineau - Patch by John R. Franks - - * common-src/krb4-security.c (krb4_security_dummy): Rename from dummy, - it is not static int. - * common-src/krb5-security.c (krb5_security_dummy): Rename from dummy, - it is not static int. - -2005-10-13 Jean-Louis Martineau - - * common-src/util.c (bind_portrange): New argument proto. - Check for reserved port. - * common-src/util.h (bind_portrange): New prototype. - * common-src/bsd-security.c (bind_portrange): New prototype. - * common-src/dgram.c: Add "udp" as argument to bind_portrange. - * common-src/stream.c: Add "tcp" as argument to bind_portrange. - -2005-10-12 Jean-Louis Martineau - - * restore-src/amidxtaped.c (check_security_buffer): i is a socklen_t. - * restore-src/amidxtaped.c (main): Remove i, fd, amrestore_path, pid, - isafile, stat_tape, tapename, s, fp, ch and errstr variable. - -2005-10-11 Ian Turner - Patch by Jean-Louis Martineau - - * restore-src/amfetchdump.c: Remove unused variable debug. - * restore-src/amidxtaped.c: Remove lock_logfile(), which is also - in restore.c. - * restore-src/Makefile.am: Include libamanda twice, to fix build - on some machines. - -2005-10-11 Jean-Louis Martineau - - * restore-src/Makefile (noinst_HEADERS): Add restore.h. - * restore-src/restore.c (search_tapes): Add the fourth argument to - read_file_header. - -2005-10-11 Jean-Louis Martineau - - * server-src/conffile.c: dpcur.s_split_diskbuffer must be initialize - to 0. - * server-src/reporter.c (handle_partial): Set repdata to the result - of handle_success. - * server-src/taper.c: Set the first-file. - -2005-10-11 Jean-Louis Martineau - - * client-src/client_util.c, server-src/amcheck.c, - server-src/reporter.c: Add missing type for arguments. - -2005-10-11 Jean-Louis Martineau - - * server-src/taper.c (tape_writer_side): detach_buffers on normal exit. - -2005-10-10 Ian Turner - - * server-src/amtape.h: Apply tape-spanning patch by John Stange - as ported to 2.5.0 by Ian Turner, with - contributions by Christopher Pascoe . - * configure.in: Ditto - * amplot/Makefile.am: Ditto - * changer-src/Makefile.am: Ditto - * client-src/Makefile.am: Ditto - * common-src/Makefile.am: Ditto - * common-src/amanda.h: Ditto - * common-src/amfeatures.c: Ditto - * common-src/amfeatures.h: Ditto - * common-src/fileheader.c: Ditto - * common-src/fileheader.h: Ditto - * common-src/match.c: Ditto - * common-src/tapelist.c: Ditto - * common-src/tapelist.h: Ditto - * example/amanda.conf.in: Ditto - * man/Makefile.am: Ditto - * recover-src/amrecover.c: Ditto - * recover-src/amrecover.h: Ditto - * recover-src/display_commands.c: Ditto - * recover-src/extract_list.c: Ditto - * restore-src/Makefile.am: Ditto - * restore-src/amfetchdump.c: Ditto - * restore-src/amfetchdump.h: Ditto - * restore-src/amidxtaped.c: Ditto - * restore-src/amrestore.c: Ditto - * restore-src/restore.c: Ditto - * restore-src/restore.h: Ditto - * server-src/Makefile.am: Ditto - * server-src/amadmin.c: Ditto - * server-src/amindexd.c: Ditto - * server-src/amoverview.pl.in: Ditto - * server-src/amtoc.pl.in: Ditto - * server-src/amverify.sh.in: Ditto - * server-src/changer.c: Ditto - * server-src/conffile.c: Ditto - * server-src/conffile.h: Ditto - * server-src/disk_history.c: Ditto - * server-src/disk_history.h: Ditto - * server-src/diskfile.c: Ditto - * server-src/diskfile.h: Ditto - * server-src/driver.c: Ditto - * server-src/driverio.c: Ditto - * server-src/find.c: Ditto - * server-src/find.h: Ditto - * server-src/holding.c: Ditto - * server-src/holding.h: Ditto - * server-src/logfile.c: Ditto - * server-src/logfile.h: Ditto - * server-src/planner.c: Ditto - * server-src/reporter.c: Ditto - * server-src/server_util.c: Ditto - * server-src/server_util.h: Ditto - * server-src/taper.c: Ditto - -2005-10-07 Jean-Louis Martineau - - * server-src/taper.c: Change message: on new tape due to - -2005-10-06 Jean-Louis Martineau - Patch by John R. Franks - - * common-src/amflock.c (main): Don't call safe_fd, it's not needed - during configure. - * configure.in: '#include ' in the check - 'for Linux like scsi support (sg)' - -2005-10-02 Jean-Louis Martineau - - * client-src/amandad.c (writebuf): Call waitpid in the parent. - -2005-10-02 Jean-Louis Martineau - - * client-src/amandad.c (service_delete): Remove call to sleep. - * common-src/bsd-security.c: Add bsdprintf. Add more debug. - The handle is used as a string, instead of 2 int. - -2005-10-02 Jean-Louis Martineau - - * common-src/rsh-security.c: rshprintf should call dbprint. - * common-src/ssh-security.c: rshprintf should call dbprint, add many - rshprintf. - * common-src/event.c: Add eventprintf, use it. Add debug_prefix_time - to the log. - -2005-10-02 Jean-Louis Martineau - - * common-src/stream.c: len is a socklen_t. - * server-src/amindexd.c: Add socklen as a socklen_t. - * restore-src/amidxtaped.c: Add socklen as a socklen_t. - * tape-src/tapetype.c: Change printf format. - * server-src/amlabel.c: Add a variable isa_zftape. init fd to -1. - * server-src/dumper.c: Init outfd to -1. - * common-src/file.c (areads_getbuf): First argument is const. - -2005-10-01 Jean-Louis Martineau - - * server-src/reporter.c: Don't trunk hostname/diskname in - 'FAILURE AND STRANGE DUMP SUMMARY' section. - -2005-10-01 Jean-Louis Martineau - - * server-src/chunker.c (main): Remove outfd. - -2005-09-30 Jean-Louis Martineau - - * server-src/conffile.c, server-src/diskfile.c, server-src/infofile.c, - client-src/getfsent.c, common-src/statfs.c, common-src/token.c - (main): Remove fd declaration. - -2005-09-30 Jean-Louis Martineau - - * client-src/runtar.c: 'e' and 'bdf' are only needed if GNUTAR. - -2005-09-30 Jean-Louis Martineau - - * common-src/sl.c (insert_sort_sl). Typo. - -2005-09-30 Jean-Louis Martineau - - * config/config.guess: Update from automake 1.9.5. - * config/config.sub: Update from automake 1.9.5. - * config/depcomp: Update from automake 1.9.5. - * config/install-sh: Update from automake 1.9.5. - * config/missing: Update from automake 1.9.5. - * config/mkinstalldirs: Update from automake 1.9.5. - * config/ltmain.sh: Update from libtool-1.5.16. - * config/libtool.m4i: Update from libtool-1.5.16. - -2005-09-30 Jean-Louis Martineau - - * common-src/bsd-security.c: Fix small bug. - -2005-09-22 John R. Jackson - - * configure.in: If --without-server is specified, either on the - command line or via config.site, make sure --without-restore - is also in effect. Avoids compilation errors if mismatched. - * example/config.site: Document above. - -2005-09-21 John R. Jackson - - * server-src/getconf.c: Allow CLIENT_LOGIN to be retrieved via - "amgetconf build.CLIENT_LOGIN". - -2005-09-21 John R. Jackson - - * server-src/amlabel.c: 'int fd' is only needed if HAVE_LINUX_ZFTAPE_H - is defined. - -2005-09-21 Jean-Louis Martineau - - * server-src/amlabel.c: 'int fd' is needed. - -2005-09-20 John R. Jackson - - * server-src/reporter.c: Fix minor typo noticed by Scott R. Burns - . - -2005-09-20 John R. Jackson - - * common-src/file.c: Create safe_fd() to do common file descriptor - safety operations at the start of every program. In addition - to closing everything from three on up that used to be done - with explicit code, make sure stdin, stdout and stderr are - open per a potential (but unlikely) security report from Ben - Schwarz . - * common-src/amanda.h: Ditto. - * client-src/amandad.c: Ditto. - * client-src/calcsize.c: Ditto. - * client-src/getfsent.c: Ditto. - * client-src/killpgrp.c: Ditto. - * client-src/rundump.c: Ditto. - * client-src/runtar.c: Ditto. - * client-src/selfcheck.c: Ditto. - * client-src/sendbackup.c: Ditto. - * client-src/sendsize.c: Ditto. - * client-src/versionsuffix.c: Ditto. - * common-src/amflock.c: Ditto. - * common-src/rsh-security.c: Ditto. - * common-src/ssh-security.c: Ditto. - * common-src/statfs.c: Ditto. - * common-src/token.c: Ditto. - * recover-src/amrecover.c: Ditto. - * restore-src/amidxtaped.c: Ditto. - * restore-src/amrestore.c: Ditto. - * server-src/amadmin.c: Ditto. - * server-src/amcheck.c: Ditto. - * server-src/amcleanupdisk.c: Ditto. - * server-src/amflush.c: Ditto. - * server-src/amindexd.c: Ditto. - * server-src/amlabel.c: Ditto. - * server-src/amlogroll.c: Ditto. - * server-src/amtape.c: Ditto. - * server-src/amtrmidx.c: Ditto. - * server-src/amtrmlog.c: Ditto. - * server-src/chunker.c: Ditto. - * server-src/conffile.c: Ditto. - * server-src/diskfile.c: Ditto. - * server-src/driver.c: Ditto. - * server-src/getconf.c: Ditto. - * server-src/infofile.c: Ditto. - * server-src/planner.c: Ditto. - * server-src/reporter.c: Ditto. - * server-src/taper.c: Ditto. - * server-src/dumper.c: Ditto plus remove incorrect chdir to hard - coded "/tmp/amanda". - -2005-09-20 John R. Jackson - - * client-src/calcsize.c: Fix format string. - * server-src/diskfile.c: Fix compiler warnings. - * server-src/planner.c: Fix compiler warnings. - -2005-09-20 John R. Jackson - - * common-src/amanda.h: Add dbreopen() so debug file can be closed - and then reopened if needed. - * common-src/debug.c: Ditto. - * client-src/runtar.c: Close the debug file (fd 10) around the - exec of GNU tar. Newer versions complain about stray file - descriptors. - * server-src/getconf.c: Use dbreopen() to create the debug file. - Do not try to open config file unless needed (allows clients to - use build.XXX/dbopen.XXX/dbclose.XXX). - -2005-09-20 John R. Jackson - - * client-src/sendbackup-dump.c: Ignore a new message from Solaris - vxdump. - -2005-09-20 Jean-Louis Martineau - - * common-src/bsd-security.c: Generate a unique event_id, thei - proto_handle is not always unique. - -2005-09-15 Jean-Louis Martineau - - * server-src/amverify.sh.in: Don't check for EOI, it's buggy. - -2005-09-12 Jean-Louis Martineau - - * server-src/driverio.c: Don't save history with size < 0. - -2005-09-12 Jean-Louis Martineau - Patch by Geert Uytterhoeven - - * server-src/planner.c: Don't use history with size < 0. - -2005-09-07 Jean-Louis Martineau - Patch Paul Bijnens - - * server-src/planner.c(delay_dumps): Delay incremental dump also - larger than tape. - -2005-09-07 Jean-Louis Martineau - Patch by Orion Poplawski - - * server-src/amoverview.pl.in: Add options -last, -num0 and -togo0. - * man/amoverview.8: Document -last, -num0 and -togo0. - -2005-09-07 Jean-Louis Martineau - Patch by Orion Poplawski - - * server-src/driver.c: Make tape_length and tape_left unsigned long. - -2005-07-11 Jean-Louis Martineau - Patch by Stefan G. Weichinger - - * client-src/sendbackup-gnutar.c: Added RE for new Samba-releases. - -2005-07-11 Jean-Louis Martineau - - Bug found by John E Hein . - * server-src/amadmin.c: Fix of by one with NB_HISTORY. - * server-src/infofile.c:x: Fix of by one with NB_HISTORY. - -2005-06-08 Jean-Louis Martineau - Patch by Jay Fenlason - - * client-src/sendsize.c: Fix dbprintf call. - -2005-06-03 Jean-Louis Martineau - Stefan G. Weichinger - - * example/amanda.conf.in: edited the default-value for the - holdingdisk-usage to "use -100 Mb". - The old value "use 290 Mb" didn't make much - sense anymore. - -2005-06-03 Jean-Louis Martineau - - * server-src/amverifyrun.sh.in: Remove buggy space. - -2005-05-17 Jean-Louis Martineau - - * server-src/amadmin.c: Add [--days ] argument to tape subcommand. - -2005-05-13 Jean-Louis Martineau - - * example/amanda.conf.in: Update from 2.4.5. - -2005-05-13 Jean-Louis Martineau - - * docs/*: New documentation from xml-docs. - * docs/Makefile.am (pkgdata_DATA): Update for new files. - -2005-05-13 Jean-Louis Martineau - - * man/Makefile.am (COMMON_MAN_PAGES): Add amanda.conf.5. - -2005-05-13 Jean-Louis Martineau - - * man/*: Use man pages form xml-docs. - * configure.in (AC_CONFIG_FILES): Remove all man pages. - * man/Makefile.am (EXTRA_DIST): Add amadmin.8 amanda.8 amanda.conf.5 - amcheck.8 amcheckdb.8 amcleanup.8 amdump.8 amflush.8 amgetconf.8 - amlabel.8 amoverview.8 amreport.8 amrecover.8 amrmtape.8 amstatus.8 - amtapetype.8 amtoc.8 amverify.8 amverifyrun.8 - -2005-05-05 Jean-Louis Martineau - - * common-src/rsh-security.c (net_read_fillbuf): Read only a packet, - nothing more. - * common-src/ssh-security.c (net_read_fillbuf): Read only a packet, - nothing more. - * common-src/rsh-security.c (conn_put): Don't kill the process, only do - a wait with WNOHANG. - * common-src/ssh-security.c (conn_put): Don't kill the process, only do - a wait with WNOHANG. +2009-03-26 Jean-Louis Martineau + * client-src/sendsize.c: Typo. -2005-04-14 Jean-Louis Martineau +2009-03-25 Jean-Louis Martineau + * application-src/ampgsql.pl: Add command_validate. + * application-src/amgtar_perl.pl, application-src/amsamba.pl, + application-src/amsuntar.pl: Sanity check for command_validate. + * perl/Amanda/Application.swg: Add a default_validate function. + * perl/Amanda/Script_App.pm: Execute defulat_validate if + command_validate is not defined. + +2009-03-25 Dustin J. Mitchell + * perl/Amanda/Changer.pm: add a 'cmp' operator for + Amanda::Changer::Error objects, to make testing easier + +2009-03-25 Dustin J. Mitchell + * perl/Amanda/Changer.pm: add Amanda::Changer::Error + class to give more detail in changer errors + * perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm + perl/Amanda/Changer/null.pm perl/Amanda/Changer/rait.pm + perl/Amanda/Changer/single.pm: use it + * changer-src/chg-glue.pl: handle new errors + * installcheck/Makefile.am installcheck/Installcheck/Changer.pm: + (chg_err_like) utility function + * installcheck/Amanda_Changer.pl + installcheck/Amanda_Changer_compat.pl + installcheck/Amanda_Changer_disk.pl + installcheck/Amanda_Changer_null.pl + installcheck/Amanda_Changer_rait.pl + installcheck/Amanda_Changer_single.pl: change tests + +2009-03-25 Dustin J. Mitchell + * perl/Amanda/Changer.pm: remove unused import() and export() + +2009-03-25 Dustin J. Mitchell + * device-src/s3.c: fix segfault in s3_make_bucket with location + constraint + +2009-03-25 Dustin J. Mitchell + * perl/Amanda/Util.swg: add full_read and full_write + * installcheck/Amanda_Util.pl: test 'em + +2009-03-25 Jean-Louis Martineau + * application-src/amsuntar.pl: Generate valid index stream. + +2009-03-24 Nikolas Coukouma + * man/xml-source/amanda-applications.7.xml, + man/xml-source/amanda.8.xml: add missing references to applications + +2009-03-24 Nikolas Coukouma + * application-src/ampgsql.pl: older versions of perl don't like + mixing functions and export tags + +2009-03-24 Nikolas Coukouma + * application-src/ampgsql.pl, installcheck/ampgsql.pl: + generate more-complete index, improve debugging and error handling + +2009-03-24 Jean-Louis Martineau + * common-src/conffile.c: Fix line counting, Remove check for plugin. + * server-src/diskfile.c: Add check for plugin. + +2009-03-24 Jean-Louis Martineau + * server-src/planner.c: Default server estimate not larger than half + a tape. log a warning. + +2009-03-24 Jean-Louis Martineau + * application-src/amsamba.pl: Fix typo and check if smbclient is set. + +2009-03-24 Jean-Louis Martineau + * application-src/amgtar.c, application-src/amstar.c: + Do sanity check if required arguments are not provided. + +2009-03-23 Nikolas Coukouma + * AUTHORS: remove "active" status if not committed in over 2 years + * ChangeLog: clean up some messiness + * contrib/changelog_parse.pl: simple parser for ChangeLog + +2009-03-23 Jean-Louis Martineau + * application-src/amgtar.c: Add NO-UNQUOTE to restore. + +2009-03-23 Jean-Louis Martineau + * application-src/amgtar.c, application-src/amgtar_perl.pl, + client-src/sendbackup-gnutar.c, client-src/sendsize.c, + recover-src/extract_list.c: Undo: '--no-unquote' to gtar arguments. + * application-src/amgtar.c: add NO-UNQUOTE property. + * man/xml-source/amgtar.8.xml: Document NO-UNQUOTE property. - * changer-src/chg-zd-mtx.sh.in: Improve handling of - "Unknown Storage Element Loaded". +2009-03-23 Nikolas Coukouma + * application-src/ampgsql.pl, installcheck/ampgsql.pl: + fix ampgsql installchecks -2005-04-06 Jean-Louis Martineau - - https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=144052 +2009-03-23 Jean-Louis Martineau + * application-src/amgtar.c, application-src/amgtar_perl.pl, + client-src/sendbackup-gnutar.c, client-src/sendsize.c, + recover-src/extract_list.c: Add '--no-unquote' to gtar arguments. + +2009-03-23 Jean-Louis Martineau + * application-src/amgtar.c, application-src/amstar.c, + client-src/client_util.c, client-src/client_util.h, + client-src/selfcheck.c, client-src/sendbackup-gnutar.c, + client-src/sendbackup.c, client-src/sendsize.c, + common-src/conffile.c, common-src/conffile.h, + common-src/util.c, oldrecover-src/extract_list.c, + recover-src/extract_list.c, + server-src/server_util.c: Use GPtrArray instead of my_argv[]. + +2009-03-23 Jean-Louis Martineau + * man/xml-source/amanda.conf.5.xml, man/xml-source/disklist.5.xml: + Document the fact that: The { must appear at the end of a line, + and the } on its own line. + +2009-03-21 Jean-Louis Martineau + * common-src/security-util.c: Fix sec_tcp_conn_get ot not always match. + +2009-03-20 Jean-Louis Martineau + * recover-src/Makefile.am: Add dependencies for uscan.o and uparse.o + * recover-src/amrecover.h: Add verbose to many prototype. + * recover-src/extract_list.c: Allow to use path for many command. + * recover-src/set_commands.c: Add verbose to many function. + * recover-src/uparse.y, recover-src/uscan.l: Improve parser. + +2009-03-19 Dustin J. Mitchell + (thanks to Peter Kunst ) + * common-src/Makefile.am: don't include genversion.h in distribution + tarballs + +2009-03-19 Jean-Louis Martineau + * man/Makefile.am: Add .SECONDARY target. + +2009-03-19 Dustin J. Mitchell + * man/xslt/expand-sambadoc.xsl: + * man/entities/global.entities.in + man/xml-source/*.xml: add a handy tag and a tag + for 'SEE ALSO' sections + * man/xml-source/amanda.conf.5.xml: remove bogus unicode "times" + symbol; tweak tapecycle description + +2009-03-19 Dustin J. Mitchell + * xfer-src/Makefile.am: add -release to libamxfer + +2009-03-18 Nikolas Coukouma + * server-src/amrmtape.pl, installcheck/amrmtape.pl: + re-label tapes if we --erase them and --keep-label is present + +2009-03-18 Jean-Louis Martineau + * installcheck/Amanda_Process.pl: Fix for OS return perl. + +2009-03-18 Jean-Louis Martineau + * perl/Amanda/Process.pm: Better match of argument. + Match 'perl' to any process name. + +2009-03-18 Jean-Louis Martineau + * installcheck/Amanda_Process.pl: Check second argument if first + argument start with a dash. + * perl/Amanda/Process.pm: The process name is now returned, not perl. + +2009-03-18 Jean-Louis Martineau + * man/xml-source/amrmtape.8.xml: Fix. + * perl/Amanda/Process.pm: Find the process name if it is a perl script. + * server-src/amrmtape.pl: Check and create the "log" file if --erase. + +2009-03-18 Nikolas Coukouma + * application-src/ampgsql.pl: fix numerous bugs, improve debug info + +2009-03-17 Jean-Louis Martineau + * application-src/amgtar.c: fix typo causing check-device to be + interpreted incorrectly + +2009-03-17 Dustin J. Mitchell + * perl/Amanda/Changer.pm: introduce info_key and info_setup to ease + implementation of the info() method + * perl/Amanda/Changer/compat.pm perl/Amanda/Changer/disk.pm + perl/Amanda/Changer/null.pm perl/Amanda/Changer/rait.pm + perl/Amanda/Changer/single.pm: use them + * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_rait.pl: + test the results + +2009-03-17 Jean-Louis Martineau + * server-src/amlabel.c: give correct exit status on failure + +2009-03-13 Jean-Louis Martineau + * server-src/amstatus.pl: dump in "writing to tape" mode should also + be included in the "dumped" summary. + +2009-03-13 Jean-Louis Martineau + * server-src/find.c: Fix listing of partial dump in holding disk. + +2009-03-12 Jean-Louis Martineau + * installcheck/amreport.pl: New file. + +2009-03-12 Jean-Louis Martineau + * common-src/columnar.c: New defaults, allow precision to be set. + * man/xml-source/amanda.conf.5.xml: Document new columnspec format. + * installcheck/Installcheck/Config.pm: Always set org to "DailySet1". + * installcheck/Makefile.am: add amreport. + * installcheck/amreport.pl: Check different value of columnspec. + * installcheck/Amanda_Config.pl: Check with dumporder instead of org. + +2009-03-12 Jean-Louis Martineau + * server-src/planner.c: Log quoted qname. + +2009-03-11 Dustin J. Mitchell + * device-src/amtapetype.pl: do not produce broken 'bytes' units + * installcheck/amtapetype.pl: test changes + * man/xml-source/amanda.conf.5.xml: tapetype:length is not in bytes! + * common-src/conffile.c: fix default for tapetype:length + +2009-03-11 Dustin J. Mitchell + * common-src/amfeatures.c: improve error handling in + am_string_to_feature, return NULL on error + * amandad-src/amandad_util.c recover-src/amrecover.c + server-src/amcheck.c server-src/amindexd.c server-src/chunker.c + server-src/driver.c server-src/dumper.c server-src/planner.c: always + terminate the string passed to am_string_to_feature + +2009-03-10 Jean-Louis Martineau + * server-src/taper.c: return DONE if input file is partial. + +2009-03-10 Jean-Louis Martineau + * application-src/amgtar.c, application-src/amstar.c: Validate YES/NO + value for boolean properties. + +2009-03-10 Jean-Louis Martineau + * server-src/amstatus.pl: Print "failed: process terminated while" for + dead run. Change "wait for" for "waiting for". + +2009-03-10 Jean-Louis Martineau + * application-src/amstar.c: ONE-FILE-SYSTEM is deprecated. + * man/xml-source/amstar.8.xml: Document it. + +2009-03-10 Dustin J. Mitchell + * common-src/conffile.c: Set default TAPETYPE_FILEMARK to 1. + +2009-03-09 Nikolas Coukouma + * man/xslt/html.xsl.in: use UTF-8 when generating man page HTML + +2009-03-09 Nikolas Coukouma + * application-src/ampgsql.pl: + set environment variables when running psql (from selfcheck) + +2009-03-07 Nikolas Coukouma + * application-src/ampgsql.pl: add selfcheck to ampgsql + +2009-03-06 Dustin J. Mitchell + * perl/Amanda/Changer/rait.pm: replace die() with a proper error + return + +2009-03-06 Dustin J. Mitchell + * Makefile.am config/libtool.m4 config/ltmain.sh config/ltoptions.m4 + config/ltsugar.m4 config/ltversion.m4 config/lt~obsolete.m4 + configure.in: upgrade to libtool-2.2.4 + +2009-03-06 Dustin J. Mitchell + * restore-src/restore.c: remove incorrect assertion + +2009-03-06 Dustin J. Mitchell + * common-src/amfeatures.c: fix am_string_to_feature to fail correctly + on a bad feature string + +2009-03-06 Dustin J. Mitchell + * Makefile.am: always build xfer-src, on client or server + * xfer-src/Makefile.am xfer-src/xfer-element.h device-src/Makefile.am + device-src/xfer-device.h device-src/xfer-dest-device.c + device-src/xfer-source-device.c: move device-specific xfer elts to + device-src + * perl/amglue/amglue.h perl/amglue/objwrap.c perl/amglue/xferwrap.c: + generic glue + * perl/Makefile.am perl/Amanda/Xfer.swg perl/Amanda/XferDevice.swg: + only import server-specific symbols if they are available + * installcheck/Makefile.am installcheck/Amanda_Xfer.pl + installcheck/Amanda_Xfer_serveronly.pl: split into general and + server-specific checks + +2009-03-05 Nikolas Coukouma + * application-src/ampgsql.pl: use older-style ( + * installcheck/Amanda_Device.pl: only perform property tests when we + have a working S3 device; and get test counts right + +2009-03-05 Dustin J. Mitchell , Nikolas Coukouma + * man/xml-source/amanda.conf.5.xml, + man/xml-source/amanda-devices.7.xml, + installcheck/Amanda_Config.pl, + installcheck/Amanda_Device.pl, + common-src/util.c, + common-src/glib-util.c, + common-src/conffile.c, + common-src/conffile.h: + be consistent in the various names for 'true' and 'false' we allow, + specifically in device properties + +2009-03-05 Nikolas Coukouma + * application-src/ampgsql.pl: call pg_stop_backup() if a problem occurs + while backing up data dir + +2009-03-05 Nikolas Coukouma + * application-src/ampgsql.pl, man/xml-source/ampgsql.8.xml: + make ampgsql use runtar (so it can access PostgreSQL's files) + +2009-03-04 Dustin J. Mitchell + * perl/Amanda/Changer/rait.pm: add a slot-name shorthand + * installcheck/Amanda_Changer_rait.pl: test it + * man/xml-source/amanda-changers.7.xml: document it + +2009-03-04 Dustin J. Mitchell + * device-src/rait-device.c: fix failure when parity (last) child + has failed + * installcheck/Amanda_Device.pl: test the fix + +2009-03-04 Dustin J. Mitchell + * changer-src/chg-glue.pl: add debugging + * perl/Amanda/Changer/compat.pm: add debugging + +2009-03-03 Nikolas Coukouma + * application-src/ampgsql.pl: don't hang if .backup file never appears + +2009-03-02 Nikolas Coukouma + * example/amanda-client-postgresql.conf.in: + update example and make it more complete + +2009-03-02 Nikolas Coukouma + * application-src/ampgsql.pl, + man/xml-source/ampgsql.8.xml: cleanup old WAL files + +2009-03-02 Nikolas Coukouma + * installcheck/amrmtape.pl, + server-src/amrmtape.pl: zero datestamp with --keep-label + +2009-03-01 Nikolas Coukouma + * server-src/amrmtape.pl: send messages to log file regardless of verbosity flag + +2009-02-27 Jean-Louis Martineau + * application-src/amgtar.c: Fix parsing of EXIT-HANDLING property. + +2009-02-27 Dustin J. Mitchell + * perl/Amanda/Constants.pm.in: publish $MT and $MTX, too + +2009-02-26 Dustin J. Mitchell + * restore-src/restore.c: if the changer does not provide a device, + use the configured tapedev + +2009-02-26 Dan Locks + * packaging/rpm/amanda.spec: update detection for sles11, opensuse11.1 + rpm builds will be broken for a bit longer in trunk + +2009-02-26 Nikolas Coukouma + * application-src/amgtar_perl.pl, + application-src/amlog-script.pl, + application-src/ampgsql.pl, + application-src/amsamba.pl, + application-src/amsuntar.pl, + application-src/amzfs-sendrecv.pl, + application-src/amzfs-snapshot.pl, + application-src/script-email.pl, + perl/Amanda/Application.swg, + perl/Amanda/Script.pm, + perl/Amanda/Script_App.pm: + load config-name/amanda-client.conf as well as amanda-client.conf + +2009-02-26 Nikolas Coukouma + * application-src/ampgsql.pl, + installcheck/amgtar.pl, + installcheck/ampgsql.pl: use $@ to get eval errors (not $!) + +2009-02-25 Nikolas Coukouma + * application-src/amoracle.pl, + application-src/ampgsql.pl, + example/amanda-client-oracle.conf.in, + example/amanda-client-postgresql.conf.in, + installcheck/ampgsql.pl, + man/xml-source/ampgsql.8.xml: bring amoracle and ampgsql properties + in line with conventions + +2009-02-24 Jean-Louis Martineau + * amandad-src/amandad.c, application-src/amgtar.c, + changer-src/scsi-changer-driver.c, client-src/client_util.c, + common-src/conffile.c, device-src/s3-device.c, + oldrecover-src/set_commands.c, recover-src/set_commands.c, + server-src/amindexd.c, server-src/planner.c, + server-src/reporter.c: Replace all occurences of index by strchr, + Replace all occurences of rindex by strrchr. + +2009-02-24 Nikolas Coukouma + * device-src/s3.c: make s3_list_keys use its own buffer + +2009-02-24 Nikolas Coukouma + * device-src/s3.c: fix error buffer handling of overflow data + +2009-02-24 Dustin J. Mitchell + * man/xml-source/amanda-devices.7.xml: specify behavior of VERBOSE + property + +2009-02-24 Nikolas Coukouma + * man/xml-source/ampgsql.8.xml, + man/xml-source/amsamba.8.xml, + man/xml-source/amstar.8.xml, + man/xml-source/amsuntar.8.xml: + document the mapping of configure options to default application + property values + +2009-02-23 Dustin J. Mitchell + * device-src/rait-device.c: actually *report* mismatched child + labels/timestamps; correctly detect the 'first' device; and free old + device label/time + +2009-02-23 Dustin J. Mitchell + * server-src/driver.c: improve confusing out-of-tapes error message + +2009-02-20 Jean-Louis Martineau + * server-src/changer.c: if changer_find is used to search for a + specific tape, do not try a redundant manual scan after the + search fails + +2009-02-20 Dustin J. Mitchell + * installcheck/Installcheck/Run.pm: create a purpose-specific 'junk' + directory to test dumps + +2009-02-20 Dustin J. Mitchell + * installcheck/Amanda_Archive.pl installcheck/Amanda_Changer_compat.pl + installcheck/Amanda_Changer_disk.pl + installcheck/Amanda_Changer_rait.pl installcheck/Amanda_Device.pl + installcheck/Amanda_Logfile.pl installcheck/Amanda_Process.pl + installcheck/Amanda_Xfer.pl installcheck/Installcheck.pm + installcheck/Installcheck/Config.pm + installcheck/Installcheck/Dumpcache.pm + installcheck/Installcheck/Run.pm installcheck/Makefile.am + installcheck/amarchiver.pl installcheck/amfetchdump.pl + installcheck/amgetconf.pl installcheck/amgtar.pl + installcheck/ampgsql.pl installcheck/amservice.pl + installcheck/amstatus.pl installcheck/pp-scripts.pl: use a + subdirectory of AMANDA_TMPDIR for installcheck temporary files + +2009-02-20 Dustin J. Mitchell + * installcheck/Amanda_MainLoop.pl: report "timeout" on a timeout + * amar-src/amar-test.c common-src/amflock-test.c + common-src/event-test.c common-src/queueing-test.c + common-src/quoting-test.c common-src/semaphore-test.c + device-src/vfs-test.c xfer-src/xfer-test.c: increase timeouts + drastically + +2009-02-20 Dustin J. Mitchell + * common-src/conffile.c: change the default changerfile to + $CONFIG_DIR/changer + +2009-02-20 Dustin J. Mitchell + * device-src/property.c device-src/property.h: add PROPERTY_COMMENT + * device-src/device.c: support PROPERTY_COMMENT + * installcheck/Amanda_Device.pl: test it + * man/xml-source/amanda-devices.7.xml: document it + +2009-02-20 Jean-Louis Martineau + * common-src/conffile.c: Add t, tb, tera, ... suffix. + * man/xml-source/amanda.conf.5.xml: Document it. - * server-src/amverifyrun.sh.in: Filter changer log file. +2009-02-19 Nikolas Coukouma + * example/amanda-client-postgresql.conf.in, + example/Makefile.am, + man/Makefile.am, + man/xml-source/ampgsql.8.xml, + configure.in, + application-src/Makefile.am, + application-src/ampgsql.pl, + installcheck/Makefile.am, + installcheck/ampgsql.pl: add PostgreSQL plugin/application (ampgsql) + * installcheck/Installcheck/Application.pm: + fix property names in case of underscores + * installcheck/Installcheck/Run.pm: + if application starts with /, don't assume it's in sbin + +2009-02-19 Dustin J. Mitchell + * perl/Amanda/Util.swg: move POD to the top of the file, refomat + +2009-02-19 Dustin J. Mitchell + * common-src/util.h common-src/util.c: remove unneeded needs_quotes + +2009-02-19 Dustin J. Mitchell + * installcheck/Amanda_Types.pl + installcheck/Amanda_Header.pl: rename Amanda::Types to + Amanda::Header, add to_string and from_string methods + * common-src/fileheader.c: fix bug in returned size + * device-src/amtapetype.pl installcheck/Amanda_Device.pl + installcheck/Amanda_Xfer.pl installcheck/Makefile.am + perl/Amanda/Device.swg perl/Amanda/Header.swg perl/Amanda/Tests.swg + perl/Amanda/Types.swg perl/Makefile.am server-src/amvault.pl: use + Amanda::Header + +2009-02-19 Dustin J. Mitchell + * common-src/Makefile.am common-src/queue.h: remove file + * amandad-src/amandad.c common-src/alloc.c + common-src/bsdtcp-security.c common-src/krb5-security.c + common-src/local-security.c common-src/rsh-security.c + common-src/security-util.c common-src/security-util.h + common-src/ssh-security.c: remove includes and replace TAILQ with + GSList + +2009-02-18 Jean-Louis Martineau + * config/amanda/krb4-security.m4: Remove file + * common-src/krb4-security.c: Remove file. + * example/config.site, example/amanda.conf.in, + client-src/client_util.c, amandad-src/amandad.c, + man/xml-source/amanda-client.conf.5.xml, + man/xml-source/amanda.conf.5.xml, + man/xml-source/amgetconf.8.xml, + configure.in, server-src/dumper.c, + server-src/diskfile.c, perl/Amanda/Constants.pm.in, + installcheck/Amanda_Config.pl, common-src/amfeatures.h, + common-src/security.c, common-src/security.h, + common-src/genversion.c, common-src/amgetconf.pl, + common-src/conffile.c, common-src/Makefile.am, + common-src/amfeatures.c: Remove krb4 support. + +2009-02-18 Dustin J. Mitchell + * perl/Amanda/Debug.swg: correctly check $^S in _my_die() + +2009-02-18 Dustin J. Mitchell + * common-src/debug.h common-src/debug.c: add ability to supporess + tracebacks + * perl/Amanda/Debug.swg: fix typo and suppress traceback on die() + +2009-02-18 Dustin J. Mitchell + * perl/Makefile.am: actually install Amanda::Change::rait + +2009-02-18 Dustin J. Mitchell + * common-src/util.c: add missing 'const' + +2009-02-18 Dustin J. Mitchell + * common-src/util.c common-src/util.h device-src/rait-device.c + perl/Amanda/Util.swg installcheck/Amanda_Util.pl: move + expand_braced_alternates and collapse_braced_alternates out of + rait-device.c and into util.c, and make them available from Perl + * perl/Amanda/Changer/null.pm perl/Amanda/Changer/rait.pm + perl/Makefile.am: new changers + * installcheck/Amanda_Changer_null.pl + installcheck/Amanda_Changer_rait.pl installcheck/Makefile.am: test new + changers + * changer-src/Makefile.am changer-src/chg-null.sh + changer-src/chg-rait.sh: remove old scripts + * man/xml-source/amanda-changers.7.xml + man/xml-source/amanda-devices.7.xml: update documentation + +2009-02-18 John Hein + * common-src/dgram.c: set the send buffer size when creating a new + socket + +2009-02-18 Dustin J. Mitchell + * common-src/conffile.c common-src/conffile.h perl/Amanda/Config.swg: + change PP_SCRIPT to SCRIPT, to match the name of the config param + * server-src/diskfile.c installcheck/Amanda_Config.pl: + use new symbols + +2009-02-18 Dustin J. Mitchell + * installcheck/Amanda_Config.pl: installchecks for nested pp_scripts + and applications + +2009-02-18 Dustin J. Mitchell + * common-src/conffile.c common-src/conffile.h: use a simple + identlist_t for pp_scripts + * server-src/amadmin.c server-src/diskfile.c server-src/diskfile.h + server-src/server_util.c: use identlist_t's + +2009-02-18 Dustin J. Mitchell + * perl/Amanda/Config.swg: perl bindings + +2009-02-18 Jean-Louis Martineau + * common-src/conffile.c common-src/conffile.h: Change + DUMPTYPE_APPLICATION to give a string val_t; remove the + pointer-to-application val_t subtype; also fix many + memory leaks and simplify memory management + * server-src/amadmin.c server-src/amcheck.c server-src/amindexd.c + server-src/diskfile.c server-src/diskfile.h server-src/driverio.c + server-src/planner.c: use new val_t result correctly + +2009-02-18 Jean-Louis Martineau + * client-src/selfcheck.c: Do dle check without disk. + * common-src/amxml.c: Accept a dle without a disk. + * perl/Amanda/Application/Zfs.pm, application-src/amgtar.c, + application-src/amgtar_perl.pl, + application-src/amsamba.pl, application-src/amstar.c, + application-src/amsuntar.pl, application-src/amzfs-sendrecv.pl, + application-src/amzfs-snapshot.pl: Do minimal test in selfcheck if + a disk is not provided. + +2009-02-18 Jean-Louis Martineau + patch by glowkrantz + * application-src/amzfs-sendrecv.pl: Use compression ratio for + compressed filesystem. + +2009-02-18 Jean-Louis Martineau + * server-src/amdump.sh: Check if planner/driver are executable and + log error. + +2009-02-17 Dustin J. Mitchell + * restore-src/amfetchdump.c: remove unintended debugging messages + +2009-02-17 Jean-Louis Martineau + * changer-src/chg-manual.sh: make messages clearer + * perl/Amanda/Changer/compat.pm: use _run_tpchanger directly from + _manual_scan + * server-src/amcheckdump.pl: handle errors better + +2009-02-17 Dustin J. Mitchell + * changer-src/chg-manual.sh: make messages clearer + * perl/Amanda/Changer/compat.pm: use _run_tpchanger directly from + _manual_scan + * server-src/amcheckdump.pl: handle errors better + +2009-02-17 Jean-Louis Martineau + * recover-src/extract_list.c: Set all_level with level_t. + +2009-02-17 Dustin J. Mitchell + * config/amanda/syshacks.m4: add Mac OS X Leopard on advice from + Jose Hales-Garcia + +2009-02-12 Jean-Louis Martineau + * config/amanda/tape.m4: Define DEFAULT_TAPE_NON_BLOCKING_OPEN. + * device-src/tape-device.c: Use DEFAULT_TAPE_NON_BLOCKING_OPEN and + NONBLOCKING_OPEN property. + * device-src/tape-device.h (TapeDevice): Add nonblocking_open. + * man/xml-source/amanda-devices.7.xml: Document tape NONBLOCKING_OPEN + property. + * server-src/amdevcheck.pl: Call $device->configure(1). + +2009-02-11 Dustin J. Mitchell + * changer-src/chg-rait.sh: get directory handling right (patch from + Jim.pennino on wiki.zmanda.com) + * changer-src/chg-glue.pl: produce a debug log, add do_clean, fix + do_eject + * perl/Amanda/Changer.pm: Add a new chg->eject method, to eject a + volume that's not currently reserved + * perl/Amanda/Changer/compat.pm: fix release(), don't load 'current' + after cleaning or ejecting + * installcheck/Amanda_Changer_compat.pl: updated tests + +2009-02-11 Dustin J. Mitchell + * perl/Makefile.am: add a version number to libamglue + +2009-02-10 Dustin J. Mitchell + * restore-src/restore.c: fix incorrect assertion + +2009-02-10 Dustin J. Mitchell + * config/amanda/debugging.m4: fix --disable-syntax-checks + +2009-02-09 Dustin J. Mitchell + * config/amanda/debugging.m4: add --disable-syntax-checks + * config/automake/scripts.am: disable them + * configure.in: call AMANDA_DISABLE_SYNTAX_CHECKS + +2009-02-09 Dustin J. Mitchell + * man/xml-source/amanda.conf.5.xml: remove TODO + +2009-02-07 Dustin J. Mitchell + * common-src/event.c: use built-in child watch source on FreeBSD + +2009-02-06 Jean-Louis Martineau + * server-src/dumper.c: options is already unquoted. + * common-src/util.c: argument should not be quoted when added to argv. + +2009-02-06 Dustin J. Mitchell + * installcheck/Amanda_Changer_compat.pl: remove debugging code + +2009-02-06 Jean-Louis Martineau + patch by Yoshihiro Ishikawa + * recover-src/extract_list.c: Handle application-api. + +2009-02-06 Dustin J. Mitchell + * installcheck/Amanda_Changer_compat.pl: support 'eject' + * perl/Amanda/Changer.pm: change release/do_relase relationship + * perl/Amanda/Changer/compat.pm: same + * perl/Amanda/Changer/disk.pm: same + * perl/Amanda/Changer/single.pm: same + +2009-02-04 Jean-Louis Martineau + * common-src/conffile.h: Add ES_ES. + * common-src/conffile.c: Handle ES_ES in switch. + * server-src/amadmin.c: Handle ES_ES in switch. + * client-src/sendsize.c: Works with many multiple estimate method. + * server-src/planner.c: Works with many multiple estimate method. + +2009-02-04 Jean-Louis Martineau + * application-src/amgtar.c, application-src/amgtar_perl.pl, + application-src/amsamba.pl, application-src/amstar.c, + application-src/amsuntar.pl, + application-src/amzfs-sendrecv.pl: Output a "CLIENT-ESTIMATE" line. + * client-src/client_util.c: Parse "CLIENT-ESTIMATE" line. + * client-src/client_util.h: New field to keep its value. + +2009-02-04 Jean-Louis Martineau + * common-src/amfeatures.c, + common-src/amfeatures.h: And fe_xml_level_server amfeature. + * common-src/amxml.c: parse tag in level tag. + * server-src/planner.c: Send tag, + Move estimate server calculation to its own function. + +2009-02-04 Jean-Louis Martineau + * client-src/client_util.c, client-src/sendbackup-gnutar.c, + client-src/sendbackup.c, client-src/sendbackup-dump.c, + client-src/sendsize.c, + client-src/selfcheck.c, recover-src/extract_list.c, + common-src/amxml.c, + common-src/amxml.h: Change Change dle->level for dle->levellist, + each element is a level_t struct. + +2009-02-04 Jean-Louis Martineau + * amplot/amplot.awk: Set term to x11. + +2009-02-04 Jean-Louis Martineau + * common-src/amfeatures.h: Add fe_xml_estimatelist feature. + * common-src/amfeatures.c: Add fe_xml_estimatelist feature. + * common-src/amxml.c: Parse multiple estimate value. + * common-src/amxml.h: Change estimate for estimatelist in dle_t. + * server-src/diskfile.h (xml_estimate): Protoype. + * server-src/diskfile.c (xml_estimate): New function. + * server-src/amcheck.c: Use xml_estimate. + * server-src/planner.c: Use xml_estimate. + * client-src/sendbackup.c, client-src/sendsize.c, + client-src/selfcheck.c: Use first estimate in estimatelist. + +2009-02-02 Jean-Louis Martineau + * common-src/conffile.c: Correctly copy pp_scriptlist. + +2009-02-02 Jean-Louis Martineau + * server-src/amstatus.pl: Remove a bogus line. + +2009-01-30 Dustin J. Mitchell + * man/xml-source/amrmtape.8.xml: clarify meaning of --erase + +2009-01-30 Jean-Louis Martineau + * recover-src/amrecover.c: Always print error. + * server-src/amindexd.c: read stderr of uncompress and sort process, + put the result in a GPtrArray, send the complete array to amrecover. + +2009-01-30 Jean-Louis Martineau + * common-src/conffile.c: Typo. + +2009-01-30 Jean-Louis Martineau + * common-src/conffile.c, common-src/conffile.h, + server-src/diskfile.h, server-src/amcheck.c, + server-src/planner.c, server-src/amadmin.c, + server-src/diskfile.c, perl/Amanda/Config.swg, + installcheck/Amanda_Config.pl: Use a list of estimate. -2005-04-06 Jean-Louis Martineau +2009-01-30 Jean-Louis Martineau + * common-src/conffile.c, common-src/conffile.h, + server-src/amcheck.c, server-src/holding.c, + server-src/driver.c, perl/Amanda/Config.swg, + installcheck/Amanda_Config.pl: 'define' keyword is use only to define + an holding disk, you must use 'holdisgdisk' without 'define' if you + want to use it. + +2009-01-29 Dustin J. Mitchell + * config/config.guess config/config.sub: new updates from FSF + +2009-01-29 Benjamin Lewis + * autogen: fix quoting error + * config/amanda/dumpers.m4: use a hostname we're more confident + doesn't exist + +2009-01-28 Dustin J. Mitchell + * installcheck/Installcheck/Config.pm perl/Amanda/Archive.swg + perl/Amanda/DB/Catalog.pm perl/Amanda/MainLoop.swg + perl/Amanda/Tapelist.swg perl/Amanda/Xfer.swg: fix POD typos + +2009-01-28 Dustin J. Mitchell + * common-src/conffile.c: support "." as a config name, indicating + "this directory" + * changer-src/chg-lib.sh.in: use that support to run amdevcheck in + old-school changer shell scripts + * man/xml-source/amanda.8.xml: docs + * perl/Amanda/Config.swg: docs + +2009-01-28 Nikolas Coukouma + * installcheck/Makefile.am: do not run client software checks --without-client + +2009-01-28 Jean-Louis Martineau + * config/automake/scripts.am: Fix another get line numbers right when + syntax-checking perl scripts + +2009-01-27 Nikolas Coukouma + * installcheck/Installcheck/Application.pm: make sure all data is read + * installcheck/amgtar.pl: check if GNU tar is present, + avoid using atime-preserve, make sure reported and actual size match + +2009-01-27 Dustin J. Mitchell + * installcheck/amgtar.pl: fix typo + +2009-01-27 Nikolas Coukouma + * installcheck/Installcheck/Application.pm: Add Installcheck::Application + harness for running things via the Application API + * installcheck/amgtar.pl: Add installchecks for amgtar + * installcheck/Makefile.am: Add files to build and distribution + +2009-01-26 Dustin J. Mitchell + * config/automake/scripts.am: get line numbers right when + syntax-checking perl scripts + +2009-01-26 Satya Ganga + * xml-source/amsuntar.8.xml : Update man page with RBAC info + * application-src/amsuntar.pl : Adding support for estimate + +2009-01-23 Dustin J. Mitchell + * common-src/fileheader.h common-src/fileheader.c: add F_NOOP header, + used by the tape device + * device-src/tape-device.c: enable appending, using F_NOOP when + necessary to avoid writing a double filemark + * installcheck/Amanda_Device.pl: new tests + +2009-01-22 Dustin J. Mitchell + * common-src/fileheader.c common-src/fileheader.h + device-src/device.c device-src/device.h: make header- + building more flexible, allowing varying sizes + * device-src/s3-device.c: use the new flexibility to write only the + header data necessary to S3 + * device-src/tape-device.c device-src/vfs-device.c + restore-src/restore.c server-src/chunker.c server-src/dumper.c + server-src/holding.c: use new function signatures, without changing + functionality + +2009-01-22 Jean-Louis Martineau + * man/xml-source/amstar.8.xml: Typo. + +2009-01-21 Jean-Louis Martineau + * server-src/driver.c: Add call to short_dump_state(). + +2009-01-21 Jean-Louis Martineau + * server-src/reporter.c: Set exit_status to STATUS_TAPE if taper crash. + +2009-01-21 Jean-Louis Martineau , + Dustin J. Mitchell + * common-src/fileheader.c: Remove strquotedstr function. + * common-src/quoting-test.c: Test strquotedstr function. + * common-src/util.c: Add prototype for strquotedstr function. + * common-src/util.h: Add new strquotedstr function. + +2009-01-21 Jean-Louis Martineau + * application-src/Makefile.am: Typo + +2009-01-21 Dustin J. Mitchell + Patch suggested by Ingo Schaefer + * packaging/rpm/amanda.spec: detect and properly support suse11.1, + with a temporary hack to support suse11, too + +2009-01-21 Jean-Louis Martineau + * server-src/amstatus.pl: Fix use of %free and %qlen keys. + +2009-01-20 Dan Locks + * packaging/rpm/amanda.spec: add missing BuildRequires, conditionalize + libtermcap.so.2 for fedora, change tar requirement to %{tarver} + +2009-01-20 Dan Locks + * packaging/rpm/amanda.spec: add %{PERLSITELIB} to %files section to + install perl for the client package add "directory mode" to defattr + statements where appropriate. + +2009-01-19 Jean-Louis Martineau + * server-src/diskfile.c: Use dp->hostnext to scan dles of a host. + +2009-01-19 Satya Ganga + * application-src/amsuntar.pl : New amsuntar application + * application-src/Makefile.am : Make file updates to include amsuntar + * man/entities/global.entities.in : Add to gsat to the name list + * man/Makefile.am man/xml-source/amsuntar.8.xml : add new man amsuntar man page + +2009-01-19 Dustin J. Mitchell + * device-src/vfs-device.c: remove bogus locking stubs that are + making syscalls like close(-1); fix error handling in read_label + if check_is_dir fails() + +2009-01-19 Jean-Louis Martineau + * device-src/vfs-device.c: robust_open can return fd 0. + +2009-01-19 Tom Robinson + * server-src/amoverview.pl: fix parsing of filenames containing colons + +2009-01-19 Jean-Louis Martineau + * application-src/amzfs-sendrecv.pl: Handle incremental, + new KEEP-SNAPSHOT property. + * man/xml-source/amzfs-sendrecv.8.xml: Document it. + * application-src/teecount.c: New program. + * application-src/Makefile.am: Add teecount. + * perl/Amanda/Application/Zfs.pm: Work with 'current' snapshot. + * common-src/amanda.h: include "safe-read.h" + +2009-01-17 Jean-Louis Martineau + * server-src/amstatus.pl: Don't add 'dump to tape' in the 'dumped' + result. + +2009-01-16 Dan Locks + * packaging/rpm/amanda.spec: fix the fedora 10 fix for other distros + +2009-01-16 Jean-Louis Martineau + * packaging/rpm/amanda.spec: Fix for fedora 10. + +2009-01-16 Dustin J. Mitchell + * device-src/vfs-device.c: don't cache the dir_handle, as + such caching does not work on some network filesystems + +2009-01-16 Dustin J. Mitchell + * man/xml-source/amanda.conf.5.xml: add documentation + of inheritance for config sections + +2009-01-16 Dustin J. Mitchell + * device-src/amtapetype.pl: add a 'config' parameter + * man/xml-source/amtapetype.8.xml: documentation + * installcheck/amtapetype.pl: test with a small vtape + +2009-01-16 Jean-Louis Martineau + * server-src/driver.c: Use bitwise NOT for taper_state. + +2009-01-16 Jean-Louis Martineau + * server-src/taper.c: Go to next tape if device_start_file fail. + * device-src/tape-device.c: write a filemark when a file is finished. + * device-src/tape-device.h (TapeDevice): Remove first_file. + +2009-01-16 Jean-Louis Martineau + * client-src/sendbackup.c: Fix for no index with application. + * application-src/amstar.c: Improve error reporting. + * application-src/amgtar.c: Improve error reporting. + +2009-01-14 Jean-Louis Martineau + * application-src/amgtar.c: Add TAR-BLOCKSIZE property. + * man/xml-source/amgtar.8.xml; document TAR-BLOCKSIZE property. + +2009-01-13 Dustin J. Mitchell + * perl/Amanda/Paths.pm.in: add $localstatedir + * server-src/amserverconfig.pl: remove extraneous / + +2009-01-13 Jean-Louis Martineau + * man/xml-source/amanda.conf.5.xml: Accept 'define' keyword for + defining an holdingdisk. + * common-src/conffile.c: Document it. + +2009-01-13 Jean-Louis Martineau + * server-src/amcheck.c: Check fallback_splitsize is smaller than + physmem_total(). + * server-src/taper-mem-port-source.c: Dont; check physmem_available. + +2009-01-12 Jean-Louis Martineau + * server-src/server_util.c: New get_pending_cmd function. + * server-src/server_util.h: get_pending_cmd prototype. + * server-src/driver.c: Send message to dumper in ABORT command. + * server-src/driverio.c: Send message to dumper in ABORT command. + * server-src/dumper.c: Check for ABORT cmd. + * server-src/reporter.c: Don't log duplicate + 'Not enough holding disk space' error + +2009-01-12 Jean-Louis Martineau + * server-src/driver.c: Fix result_argv subscript. + +2009-01-08 Jean-Louis Martineau + * restore-src/amfetchdump.c: Write to stderr. + +2009-01-06 Jean-Louis Martineau , + Dustin J. Mitchell + * device-src/tape-device.c (tape_device_seek_file): Set is_eof to FALSE + after it is use. + * installcheck/Amanda_Device.pl: Add more tape check. + +2009-01-06 Jean-Louis Martineau + * server-src/taper.c: Don't call changer_label() if a changer is not + in use. + +2009-01-06 Jean-Louis Martineau + * server-src/driverio.c: Set *result_argv to NULL on EOF. + * server-src/taper-mem-port-source.c: Set an error if the memory can't + be allocated for the memory buffer. + +2009-01-05 Dustin J. Mitchell + * client-src/runtar.c: remove unnecessary check for existence of + CLIENT_LOGIN + +2009-01-05 Jean-Louis Martineau + * perl/Amanda/Archive.swg, perl/Amanda/Device.swg, + perl/Amanda/Xfer.swg: Fix compiler warning. + +2009-01-05 Jean-Louis Martineau + * config/automake/scripts.am: Remove 'use lib' line before doing check. + +2008-12-22 Paul Yeatman + * man/entities/global.entities.in: added author/email entity for me + * man/xml-source/amanda-auth.7.xml: newly added man page + * man/Makefile.am: added amanda-auth to section 7 + * man/xml-source/amanda.conf.5.xml: removed details on auth parameter + and added link to amanda-auth man page + * man/xml-source/amanda.conf.5.xml: moved AUTHORIZATION section to + amanda-auth and added link to amanda-auth man page + +2008-12-22 Nikolas Coukouma + * device-src/s3.c: retry on CURLE_GOT_NOTHING (52) to handle "connection reset by peer" + +2008-12-22 Dustin J. Mitchell + * device-src/s3.c: translate error code 0 to "None", not NULL + +2008-12-22 Dustin J. Mitchell + * application-src/amgtar.c, + application-src/amstar.c: Use sizeof(line) for argument to fgets. + +2008-12-22 Jean-Louis Martineau + * man/xml-source/amarchiver.8.xml: amanda-archive-format man page is + in section 5. + +2008-12-22 Dustin J. Mitchell + * installcheck/Installcheck/Dumpcache.pm + installcheck/Installcheck/Run.pm installcheck/amdump.pl + installcheck/pp-scripts.pl: move amdump_diag to Installcheck::Run, fix + it, and use it in amdump and pp-scripts + * application-src/amlog-script.pl: don't pretend to be script-email + * man/Makefile.am: amanda-archive-format should be section 5 + * man/xml-source/amanda-archive-format.5.xml: small tweaks + * man/xml-source/amanda-changers.7.xml: fix authorship + * man/xml-source/amanda.8.xml: add link to amvault(8) + * man/xml-source/amvault.8.xml: enumerate limitations of this version + * perl/Amanda/Config.swg: fix mem leak in config_dir_relative wrapper + +2008-12-22 Dustin J. Mitchell + * config/amanda/dirs.m4: add --with-amdatadir + * example/Makefile.am: use it for examples and templates + * perl/Amanda/Paths.pm.in: add $amdatadir + * server-src/amserverconfig.pl: use it + * packaging/deb/rules packaging/rpm/amanda.spec: packaging changes + so that built packages still put examples and templates in + /var/lib/amanda + +2008-12-22 Jean-Louis Martineau + * application-src/amstar.c: Use fgets to read star output. + * application-src/amgtar.c: Use fgets to read gtar output. + +2008-12-22 Jean-Louis Martineau , + Dustin J. Mitchell + * common-src/util.c: Convert underscore in application and script + property name to dash. + * device-src/property.c: Make underscore and dash equal in device + property name. + * installcheck/Amanda_Device.pl: Check device property name with + mixed case and dash. + * installcheck/pp-scripts.pl: Check property name with underscore. + +2008-12-22 Jean-Louis Martineau + * server-src/reporter.c: Fix reporting of FLUSH. + +2008-12-21 Dustin J. Mitchell + * device-src/s3-device.c: use devpay if the user token property is + given; otherwise, regular S3 + * installcheck/Amanda_Device.pl: adjust tests to correspond + +2008-12-19 Nikolas Coukouma , Dustin J. Mitchell + * device-src/s3-device.c, device-src/s3.c, device-src/s3.h: + Reset read and write when retrying a failed request + +2008-12-19 Dustin J. Mitchell + * installcheck/Amanda_Device.pl: if SSL is not supported, don't try + to test the SSL_CA_INFO property + +2008-12-19 Jean-Louis Martineau + * server-src/holding.c (holding_get_file_chunks): Set fullpaths to 1. + +2008-12-18 Jean-Louis Martineau + * common-src/security-util.c: Don't free 'rc'. + +2008-12-18 Jean-Louis Martineau + * man/xml-source/amgtar.8.xml: Improve documentation of regex. + +2008-12-18 Jean-Louis Martineau + * common-src/conffile.h (anonymous_value): New prototype. + * common-src/conffile.c (anonymous_value): New function. + * common-src/conffile.c: Use anonymous_value. + * server-src/diskfile.c: Use anonymous_value. + +2008-12-17 Jean-Louis Martineau + * perl/Amanda/Script_App.pm: Fix infinite loop. + * perl/Amanda/Application/Zfs.pm: Fix for freebsd. + +2008-12-17 Jean-Louis Martineau + * server-src/planner.c: Run script only if todo is set. + +2008-12-17 Jean-Louis Martineau + * installcheck/amfetchdump.pl: chdir() before rmtree(). + +2008-12-17 Jean-Louis Martineau + * installcheck/amarchiver.pl: chdir() before rmtree(). + +2008-12-17 Dustin J. Mitchell + * man/xml-source/amgtar.8.xml: atime_preserve -> atime-preserve + * installcheck/pp-scripts.pl: add atime-preserve property + +2008-12-16 Dustin J. Mitchell + * man/xslt/html.xsl.in: add
for the benefit + of amanda.css. + +2008-12-16 Dan Locks + * config/amanda/changer.m4: update AC_CHECK_HEADERS to get rid of + "present but cannot be compiled" warning during debian packaging. + +2008-12-16 Jean-Louis Martineau + * common-src/security-util.c: Don't close if it's not open. + +2008-12-16 Jean-Louis Martineau + * application-src/Makefile.am: Add amlog-script. + * application-src/amlog-script.pl: New scripts. + * server-src/amcheck.c , server-src/planner.c, + server-src/server_util.c, server-src/server_util.h, + server-src/driver.c: Add level argument to run_server_scripts(). + The script is executed with that level argument. + * installcheck/pp-scripts.pl: Check scripts. + * installcheck/Makefile.am: Add pp-scripts. + +2008-12-16 Dustin J. Mitchell + * man/Makefile.am man/xml-source/amanda-changers.7.xml + man/xml-source/amanda-devices.7.xml man/xml-source/amanda.8.xml + man/xml-source/amanda.conf.5.xml: new documentation + * perl/Amanda/Changer.pm: not finished yet! + * perl/Amanda/Changer/compat.pm: fix error message + * server-src/changer.c changer-src/chg-glue.pl: + better error handling + +2008-12-15 Jean-Louis Martineau + * amandad-src/amandad.c: Set wait_30s to 0 for local auth. + +2008-12-15 Dustin J. Mitchell + * installcheck/Amanda_Config.pl: work around buggy sort() in perl-5.6 + * installcheck/Amanda_DB_Catalog.pl installcheck/Amanda_Logfile.pl: + stringify bigints in is_deeply arguments + * perl/Amanda/Archive.swg: grok_number is not in perl-5.6 + * perl/Amanda/BigIntCompat.pm: additional overloads and methods for + BigIntCompat for perl-5.6 compatibility + +2008-12-15 Nikolas Coukouma + * perl/Makefile.am, + perl/amglue/amglue.swg, + perl/amglue/filehandles.swg: add typemap to convert perl file handles + to int file descriptors + * installcheck/Amanda_Device.pl: update usage + * perl/Amanda/Device.swg, + perl/Amanda/Archive.swg, + perl/Amanda/MainLoop.swg: update docs, make typemap apply + +2008-12-15 Nikolas Coukouma + * installcheck/Amanda_Device.pl: simplify S3 installcheck, removing + ability to test well with just DevPay credentials + +2008-12-14 Dustin J. Mitchell + * man/Makefile.am: change manpage build process + * man/entities/global.entities.in: generate with config.status + * man/xslt/html.xsl.in: new templates to handle authors + * man/xslt/man.xsl.in: new templates to handle authors + * man/xml-source/*.xml: change specification of authors + * man/xml-source/amanda-applications.7.xml: add links to apps + * man/xml-source/amanda-scripts.7.xml: add links to scripts + +2008-12-12 Jean-Louis Martineau + * man/xml-source/amanda.conf.5.xml: Fix use of , it must + always be at the beginning of the line. + +2008-12-12 Jean-Louis Martineau + * application-src/amgtar.c: Fix coredump if GNUTAR is not set. + +2008-12-12 John Hein + * server-src/amdump.sh: fix Open3 invocation to work on + FreeBSD-4.x + +2008-12-12 Nikolas Coukouma + * device-src/s3-device.c, + device-src/s3.c, + device-src/s3.h, + installcheck/Amanda_Device.pl, + man/xml-source/amanda-devices.7.xml: add SSL_CA_INFO property + +2008-12-12 Dustin J. Mitchell + * client-src/sendbackup-dump.c: fix previous commit to not use + precompiler directives in the middle of a macro invocation + +2008-12-12 Jean-Louis Martineau + * NEWS, ReleaseNotes: Add amzfs-sendrecv. + * client-src/sendbackup.c: Fix indexd test. + * man/Makefile.am: Add amzfs-sendrecv.8. + * man/xml-source/amzfs-snapshot.8.xml: Add DLE format example. + * man/xml-source/amanda-applications.7.xml: Add amzfs-sendrecv.8. + * man/xml-source/amanda.8.xml: Add amzfs-sendrecv.8. + * man/xml-source/amzfs-sendrecv.8.xml: New man page. + * application-src/amzfs-sendrecv.pl: New application. + * application-src/amzfs-snapshot.pl: Fix to use + Amanda::Application::Zfs + * application-src/Makefile.am: Add amzfs-sendrecv. + * perl/Amanda/Script_App.pm: Exit instead of die. + * perl/Amanda/Application/Zfs.pm: New perl module for zfs. + * perl/Makefile.am: Add Amanda/Application and + Amanda/Application/Zfs.pm + +2008-12-12 Jean-Louis Martineau + * recover-src/extract_list.c: Wait to read at least one byte from the + data stream before forking the child. + +2008-12-12 Jun Kuriyama , Göran Löwkran + * changer-src/chg-zd-mtx.sh: fix bashisms + * client-src/sendbackup-dump.c: use -L on systems that support it + +2008-12-11 Dan Locks + * packaging/rpm/amanda.spec: add detection for SLES11 (Beta) + +2008-12-11 Jean-Louis Martineau + * NEWS, ReleaseNotes: Add amsamba. + +2008-12-11 Jean-Louis Martineau + * server-src/driver.c: Check start_t before doing a dump to tape. + +2008-12-10 Dustin J. Mitchell + * installcheck/Makefile.am: distribute Dumpcache.pm + +2008-12-10 Dustin J. Mitchell + * installcheck/Installcheck/Dumpcache.pm: cache amdump runs + * installcheck/Installcheck/Config.pm: add cleanup() + * installcheck/Installcheck/Run.pm: call I::C::cleanup() + * installcheck/Makefile.am: add _seupcache + * installcheck/_setupcache.pl: set up the amdump cache first thing + * installcheck/amcheckdump.pl installcheck/amdevcheck.pl + installcheck/amdump.pl installcheck/amfetchdump.pl + installcheck/amrmtape.pl: use dumpcache + +2008-12-10 Nikolas Coukouma + * device-src/s3.c: Generate date header independently of locale + +2008-12-10 Dustin J. Mitchell + * perl/Amanda/Disklist.swg: remove ref cycles and weakrefs + * installcheck/Amanda_Disklist.pl: fix tests + +2008-12-09 C R Ritson. + * server-src/reporter.c: Add threshold to small and big estimate. + +2008-12-09 Jean-Louis Martineau + * client-src/client_util.c: Parse RECOVER-MODE application support. + * client-src/client_util.h (backup_support_option_t): + Add smb_recover_mode. + * client-src/sendsize.c: Fix size. + * man/Makefile.am: Add amsamba.8. + * man/xml-source/amsamba.8.xml: New man page. + * man/xml-source/amanda-applications.7.xml: List amsamba. + * man/xml-source/amanda.8.xml: List amsamba. + * application-src/Makefile.am (CHECK_PERL): Add amsamba + * application-src/amsamba.pl: New application. + * recover-src/extract_list.c: Get support option from application + and set --recover-mode if needed. + * recover-src/amrecover.h: Remove some "#ifdef SAMBA_CLIENT". + * recover-src/set_commands.c: Remove some "#ifdef SAMBA_CLIENT". + * perl/Amanda/Paths.pm.in: Add $sysconfdir. + * perl/Amanda/Util.swg: Add skip_quoted_string. + +2008-12-09 Jean-Louis Martineau + * man/xml-source/amstar.8.xml: Typo. + +2008-12-09 Jean-Louis Martineau + * man/xml-source/amanda.conf.5.xml: Fix plugin location. + +2008-12-09 Nikolas Coukouma + * installcheck/amrmtape.pl, + man/xml-source/amrmtape.8.xml, + server-src/amrmtape.pl: add --cleanup option to amrmtape + alphabetize command-line options + +2008-12-08 Dustin J. Mitchell + * perl/Amanda/Disklist.swg: return a value from + read_disklist_internal + +2008-12-08 Dustin J. Mitchell + * common-src/conffile.c common-src/conffile.h + installcheck/Amanda_Disklist.pl perl/Amanda/Config.swg + perl/Amanda/Disklist.swg server-src/amadmin.c server-src/amcheck.c + server-src/diskfile.c server-src/diskfile.h server-src/driverio.c + server-src/planner.c: change DUMPTYPE_SECURITY_DRIVER to + DUMPTYPE_AUTH, with related changes to disk_t + +2008-12-08 Dustin J. Mitchell + * perl/Makefile.am installcheck/Amanda_Disklist.pl + perl/Amanda/Disklist.swg installcheck/Makefile.am: + new module + tests + * man/xml-source/amanda.conf.5.xml: 'starttime' is a dump-specific + parameter + * common-src/conffile.h: tag host-related parameters + * perl/Amanda/Config.swg: POD typo + * server-src/diskfile.h: comments + +2008-12-08 Nikolas Coukouma + * installcheck/amrmtape.pl, + man/xml-source/amrmtape.8.xml, + server-src/amrmtape.pl: add --keep-label option to amrmtape + +2008-12-07 Dustin J. Mitchell + * server-src/Makefile.am server-src/amvault.pl: new, experimental + script to copy data from secondary to tertiary volumes + * common-src/fileheader.c: strip spurious ' ' from headers + * man/Makefile.am man/xml-source/amvault.8.xml: docs + * perl/Amanda/DB/Catalog.pm: add kbps calculation + * perl/Amanda/Device.swg: add volume_header() method + +2008-12-05 Dustin J. Mitchell + * server-src/taper.c: remove dead code that can cause compiler errors + +2008-12-05 Nikolas Coukouma + * device-src/device.c, + device-src/vfs-device.c, + installcheck/Amanda_Device.pl: fix erase() for VFS device + * server-src/amrmtape.pl: fix rollback, erase() call setup + +2008-12-05 Jean-Louis Martineau + * server-src/driverio.c: Send a message with NO-NEW-TAPE. + * server-src/driver.c: Generate message for NO-NEW-TAPE, call + start_degraded_mode when sending NO-NEW-TAPE, Fix a subscript error + for INPUT-ERROR and TAPE-ERROR + * server-src/taper.c: Get message from NO-NEW-TAPE command and log it. + +2008-12-05 Nikolas Coukouma + * server-src/amrmtape.pl: + man/xml-source/amrmtape.8.xml, + installcheck/amrmtape.pl: add --empty and --changer options for erasing media + +2008-12-04 Nikolas Coukouma + * device-src/device.c, device-src/device.h, perl/Amanda/Device.swg: + Add erase method to the device class + * device-src/property.c, device-src/property.h: + Add FULL_DELETION property so devices can indicate if they implement erase + * xml-source/amanda-devices.7.xml: document FULL_DELETION property + * device-src/null-device.c, device-src/rait-device.c: + Indicate that these do not implement erase (via FULL_DELETION) + * device-src/s3-device.c, device-src/vfs-device.c: Implementation of erase + * device-src/s3-device.c: Add delete_all_files helper. + Return FALSE on error in one place. + * installcheck/Amanda_Device.pl: Test erase and FULL_DELETION + * device-src/s3.c, device-src/s3.h: Add s3_delete_bucket. + Don't usually retry when bucket is missing + +2008-12-04 Nikolas Coukouma + * device-src/device.c, + device-src/s3-util.c, + device-src/device.h, + device-src/s3-util.h, + device-src/null-device.c, + device-src/s3-device.c, + device-src/property.c, + device-src/s3.c, + device-src/tape-device.c, + device-src/property.h, + device-src/s3.h, + device-src/vfs-device.c, + device-src/rait-device.c: strip trailing whitespace + +2008-12-04 Dustin J. Mitchell + * perl/Amanda/Changer/compat.pm: only call '-label' on chg-zd-mtx if + the changer is not seekable (hack to make slotinfofile work) + +2008-12-04 Dustin J. Mitchell + * changer-src/chg-glue.pl: add labelling support + * perl/Amanda/Changer/compat.pm: call -label even for non-searchable + changers + * changer-src/chg-zd-mtx.sh: provide optional slotinfofile mapping + slots to labels on a best-information-available basis + +2008-12-03 Nikolas Coukouma + * server-src/Makefile.am, server-src/amrmtape.pl, server-src/amrmtape.sh: + convert amrmtape to perl + * installcheck/Makefile.am, installcheck/amrmtape.pl: installchecks for amrmtape + * man/xml-source/amrmtape.8.xml: document new long options + +2008-12-03 Satya Ganga + * changer-src/chg-lib.sh.in: Remove dependency on ggrep and use mtx offline + command instead of "eject" which is not supported on solaris. + +2008-12-03 Jean-Louis Martineau + * man/xml-source/amanda.conf.5.xml: Provide default unit. + +2008-12-03 Jean-Louis Martineau + * server-src/amcheckdump.pl: Use GNUTAR to validate smbclient image. + +2008-12-01 Satya Ganga + * server-src/amdevcheck.pl: add ability to print device properties + * man/xml-source/amdevcheck.8.xml: new docs + * installcheck/amdevcheck.pl: new tests + * installcheck/Installcheck/Run.pm + installcheck/Amanda_Changer_compat.pl: vtape_dir() gives vtape root + +2008-12-01 Nikolas Coukouma + * device-src/s3.c: fix signedness + +2008-12-01 Dustin J. Mitchell + * common-src/util.c: fix mishandling of trailing backslash in + unquote_string + +2008-12-01 Jean-Louis Martineau + * packaging/deb/changelog, packaging/deb/rules, packaging/deb/buildpkg, + packaging/rpm/buildpkg, packaging/rpm/amanda.spec, + configure.in: Change version to 2.6.2alpha. + +2008-12-01 Nikolas Coukouma + * device-src/s3.c, device-src/s3.h: Fix segmentation fault within s3_make_bucket + by adding some "null-op" read and write functions. + +2008-11-27 Jean-Louis Martineau + * server-src/amstatus.pl: Correctly parse degraded size. + +2008-11-26 Jean-Louis Martineau + * client-src/sendbackup.c: Set application in extraction command. + +2008-11-25 Jean-Louis Martineau + * configure.in: AM_INIT_AUTOMAKE(amanda, "2.6.1b1") + * ReleaseNotes: Release notes for 2.6.1b1. + * NEWS: News for 2.6.1b1. + * packaging/deb/rules, packaging/deb/buildpkg, + packaging/rpm/buildpkg, + packaging/rpm/amanda.spec: Change version to 2.6.1b1. + +2008-11-25 Jean-Louis Martineau + * config/amanda/bsd-security.m4: Fix. + * config/amanda/bsdtcp-security.m4: Enable --with-bsdtcp-secutiy by + default. + * config/amanda/ssh-security.m4: Enable --with-ssh-security by default. + +2008-11-25 Dustin J. Mitchell + * changer-src/Makefile.am changer-src/chg-glue.pl: + add new c-to-perl glue script + * server-src/changer.c: interface with new script + * server-src/amtape.c man/xml-source/amtape.8.xml: + remove 'slot last' and 'slot prev' + * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm + perl/Amanda/Changer/disk.pm perl/Amanda/Changer/single.pm: updates to + new Changer API + * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_compat.pl + installcheck/Amanda_Changer_disk.pl installcheck/Amanda_Changer_single.pl + installcheck/Makefile.am: tests for all of it + +2008-11-25 Dustin J. Mitchell + * example/template.d/advanced.conf.in: don't imply that + maxdumpsize is in bytes + +2008-11-21 Nikolas Coukouma + * device-src/s3.c: work around a bug in Amazon's HTTP implementation + by avoiding HEAD requests. + +2008-11-21 Jean-Louis Martineau + * server-src/diskfile.c (clean_dle_str_for_client): Return NULL if + argument is NULL. + * restore-src/restore.c: Also check for F_EMPTY. + +2008-11-21 Jean-Louis Martineau + * amandad-src/amandad.c: Wait up to 5 seconds dwfor only for process + that should terminate. + +2008-11-21 Dustin J. Mitchell + * restore-src/restore.c: Continue if setting PROPERTY_READ_BUFFER_SIZE + fail. + +2008-11-20 Jean-Louis Martineau + * server-src/server_util.c: Skip one field in parsing INFO pid line. + +2008-11-20 Jean-Louis Martineau + * oldrecover-src/extract_list.c: Use config. + * server-src/dumper.c: Check dle_str for NULL. + +2008-11-20 Jean-Louis Martineau + * server-src/amdump.sh: Run amreport if the 'log' file already exist. + +2008-11-20 Urs Schurer + * server-src/amindexd.c: remove unnecessary stralloc()/free() calls + in process_ls_dump + +2008-11-19 Satya Ganga + * example/inetd.conf.amandaserver.in: Add serverconfig file + * configure.in,example/Makefile.am: Include inetd.conf.amandaserver + +2008-11-18 Dan Locks + * packaging/rpm/amanda.spec: removed conditionals around + perl(ExtUtils::Embed) so that buildrequires applies to all platforms + +2008-11-18 Satya Ganga + * device-src/tape-device.c: Remove O_NONBLOCK flag from all tape open calls. + +2008-11-18 Jean-Louis Martineau + * application-src/amstar.c: Free qdisk after the loop. + * application-src/amgtar.c: Free qdisk after the loop. + +2008-11-17 Jean-Louis Martineau + * man/xml-source/amgtar.8.xml: Update for ATIME-PRESERVE default. + +2008-11-17 Jean-Louis Martineau + * server-src/taper.c: Fix formating. + +2008-11-17 Jean-Louis Martineau + * server-src/amstatus.pl: Parse "taper: using label ..." line. + * server-src/driver.c: Print tape size. + * server-src/amtoc.pl: Fix for new log format. + * server-src/reporter.c: Increase field width. + * server-src/taper.c: Print number of kbytes written to each tape. + +2008-11-14 Dustin J. Mitchell + * device-src/s3-device.c: eliminate an extra buffer copy in the + common case where the caller supplies a large enough buffer + * device-src/s3.h: tweak a comment + +2008-11-14 Jean-Louis Martineau + * server-src/holding.h: Improve comment. + * server-src/reporter.c: Print holding disk size in displyaunit. + +2008-11-14 Jean-Louis Martineau + * client-src/client_util.c: Get stderr of scripts and send it to + server. + * client-src/client_util.h: Add err in client_script_result_t. + * client-src/sendbackup.c: Call run_client_scripts with mesgstream. + * client-src/sendsize.c: Fix. + * server-src/planner.c: Get WARNING line from client. + * server-src/reporter.c: Don't mark the dumper as FAILED if the + planner FAILED. + * common-src/amfeatures.h (fe_sendsize_rep_warning): New amfeature + * common-src/amfeatures.c: Add fe_sendsize_rep_warning. + +2008-11-12 Dustin J. Mitchell + * man/xml-source/amfetchdump.8.xml: fix ugly HTML formatting + +2008-11-11 Jean-Louis Martineau + * amandad-src/amandad.c: Check that something is ready to be read + before calling errfd_recv. + +2008-11-11 Dustin J. Mitchell + * changer-src/chg-manual.sh: fix typo + +2008-11-11 Dan Locks + * packaging/rpm/amanda.spec: add fedora 9 detection, add + BuildRequires: perl(ExtUtils::Embed), fix %{dist}=unknown when + undetected instead of at all times + +2008-11-11 Dustin J. Mitchell + * installcheck/Makefile.am installcheck/amfetchdump.pl: build all + active test scripts; add a DLE in the amfetchdump installcheck + +2008-11-11 Dustin J. Mitchell + * config/macro-archive/ac_perl_module_version.m4: new macro + * config/amanda/swig.m4: check for ExtUtils::Embed + +2008-11-11 Dustin J. Mitchell + * installcheck/amarchiver.pl: quote $sbindir from regexp + interpretation + +2008-11-11 Jean-Louis Martineau + * perl/Makefile.am: Don't add Amanda/Script_App.pm and Amanda/Script.pm + to DISTCLEANFILES. + +2008-11-11 Jean-Louis Martineau + * installcheck/amdump.pl: Set property "ATIME-PRESERVE" to "NO" in + amgtar application. + +2008-11-11 Jean-Louis Martineau + * client-src/selfcheck.c: fix. + * amandad-src/amandad.c: Read stderr of server and report it to server. + * server-src/planner.c: Keep first line only. + +2008-11-10 Dustin J. Mitchell + * amar-src/amarchiver.c: fix filesize printf conversion + +2008-11-10 Jean-Louis Martineau + * client-src/sendbackup.c, client-src/selfcheck.c: Check return + value of pipe. + +2008-11-10 Dustin J. Mitchell + * installcheck/Installcheck/Run.pm: change default DLEs + * installcheck/amcheckdump.pl: add DLE explicitly + * installcheck/amdevcheck.pl: add DLE explicitly + * installcheck/amdump.pl: use the amgtar application in a dump + +2008-11-10 Dustin J. Mitchell + * installcheck/Makefile.am: only test amfetchdump if it was built + * installcheck/amfetchdump.pl: use arguments in the right order + +2008-11-10 Dustin J. Mitchell + * perl/Amanda/Archive.swg amar-src/amar.c amar-src/amar.h: bugfixes + * man/Makefile.am man/xml-source/amarchiver.8.xml + amar-src/Makefile.am amar-src/amarchiver.c: new application + * installcheck/Makefile.am installcheck/amarchiver.pl: tests + +2008-11-10 Dustin J. Mitchell + * installcheck/Installcheck/Run.pm: add Expect support + * installcheck/Makefile.am installcheck/amfetchdump.pl: amfetchdump + installcheck, using Expect support + +2008-11-10 Dustin J. Mitchell + * common-src/amgetconf.pl: don't setup_application() in dbclose + +2008-11-10 Jean-Louis Martineau + * perl/Makefile.am: Build Amanda::Application only if WANT_CLIENT. + +2008-11-08 Dustin J. Mitchell + * perl/Amanda/Changer.pm perl/Amanda/Changer/compat.pm + perl/Amanda/Changer/disk.pm perl/Amanda/Changer/single.pm + perl/Makefile.am: entirely new perl-based changer API + * perl/Amanda/Config.swg common-src/conffile.c common-src/conffile.h: + add changer subsections + * man/xml-source/amanda.conf.5.xml: document them + * server-src/amcheckdump.pl: use the new changer API + * installcheck/Amanda_Changer.pl installcheck/Amanda_Changer_Compat.pl + installcheck/Amanda_Changer_Single.pl installcheck/Amanda_Config.pl + installcheck/Installcheck/Config.pm installcheck/Makefile.am + installcheck/Amanda_Changer_Disk.pl: new/updated tests + +2008-11-07 Jean-Louis Martineau + * application-src/amstar.c: fix. + +2008-11-07 Jean-Louis Martineau + * perl/Amanda/Application.swg: Remove %init. + +2008-11-07 Jean-Louis Martineau + * application-src/amgtar.c, application-src/amgtar_perl.pl, + application-src/amstar.c: Write backup image to fd3 and index to fd4. + * perl/Amanda/Script_App.pm: Use $self->{mesgout}. + * recover-src/extract_list.c: Add more check. + * client-src/client_util.c (backup_support_option): Get stderr of + application and put it in errarray, + * client-src/client_util.h (backup_support_option): New prototype. + * client-src/selfcheck.c, client-src/sendbackup.c, + client-src/sendsize.c: Get stderr of application and send it to + server. + * server-src/dumper.c: Log the first error message. + * server-src/planner.c: Log the first error message. + * server-src/reporter.c: Don't print some error in report. + +2008-11-07 Jean-Louis Martineau + * client-src/client_util.c: Parse CALCSIZE and MULTI-ESTIMATE. + * client-src/client_util.c (run_calcsize): New function. + * client-src/client_util.h (run_calcsize): Prototype. + * client-src/sendbackup.c: Update amandates. + * client-src/sendsize.c: Handling of calcsize and multi-estimate. + * client-src/selfcheck.c: Check calcsize for application. + * application-src/amgtar_perl.pl, application-src/amstar.c, + * application-src/amgtar.c: handling of calcsize and multi-estimate. + * perl/Amanda/Script_App.pm: Add a check. + * perl/Amanda/Application.swg: Add run_calcsize. + * perl/Amanda/Application.pm: Delete + * perl/Makefile.am: Built from Application.swg + * client-src/calcsize.c: Handling of STAR program. + +2008-11-06 Jean-Louis Martineau + * man/xml-source/amgtar.8.xml: Document new properties. + * application-src/amgtar.c: Remove ifdef IGNORE_TAR_ERRORS. + +2008-11-06 Jean-Louis Martineau + * changer-src/chg-zd-mtx.sh: Return first line of mtx output if mtx + exit with a status != 0. + * server-src/amtape.c: Display changer error. + +2008-11-06 Jean-Louis Martineau + * application-src/amgtar.c: Add exit-handling property. + +2008-11-06 Jean-Louis Martineau + * application-src/amgtar.c: Add normal, ignore and strange property. + +2008-11-04 Jean-Louis Martineau + * server-src/amcheck.c: Check tape_splitsize < tape length. + +2008-10-30 Dustin J. Mitchell + * server-src/find.c server-src/find.h man/xml-source/amadmin.8.xml: + add new sort key, 'w', for write_timestamp + * server-src/amadmin.c: use it + * server-src/amindexd.c restore-src/amfetchdump.c: use 'w' to prefer + the oldest-written copy of a dump + +2008-10-30 Jean-Louis Martineau + * application-src/amgtar_perl.pl, application-src/amstar.c, + application-src/amgtar.c: Implement validate command. + * server-src/amcheckdump.pl: Execute the validate command of an + application. + * perl/Amanda/Script_App.pm (print_to_server): Add validate. + * perl/Amanda/Application.pm (known_commands): Add validate. + * common-src/security-util.c: Fix typo. + +2008-10-29 Dustin J. Mitchell + * man/xml-source/amanda.conf.5.xml + man/xml-source/amanda-devices.7.xml: improve device property + documentation + +2008-10-29 Dustin J. Mitchell + * man/xml-source/amanda.conf.5.xml: taperflush params can be + greater than 100% + +2008-10-27 Jean-Louis Martineau + * common-src/fileheader.c (dumpfile_free_data): New function. + * common-src/fileheader.h (dumpfile_free_data): New prototype. + * server-src/cmdline.c, server-src/dumper.c, + server-src/planner.c, server-src/amadmin.c, + server-src/amflush.c, server-src/holding.c, + server-src/driver.c, server-src/find.c, + server-src/taper-source.c, server-src/taper-file-source.c + server-src/taper.c: Call dumpfile_free or dumpfile_free_data. + +2008-10-27 Dustin J. Mitchell + * common-src/glib-util.c: check library version at runtime + +2008-10-27 Jean-Louis Martineau + * perl/Amanda/Device.swg (start_file): Remove const for jobInfo. + +2008-10-24 Dustin J. Mitchell + * installcheck/Amanda_Archive.pl: fix to also test for identity of + $user_data on perls that recognize such things + +2008-10-24 Dustin J. Mitchell + * amar-src/amar-test.c: don't ignore the return value of write() + +2008-10-24 Nikolas Coukouma + Jean-Louis Martineau + * amar-src/amar.c: fix mis-aligned memory accesses + * amar-src/amar-test.c: fix test_pipe + +2008-10-24 Jean-Louis Martineau + * perl/Amanda/Script_App.pm: New base module for script and application. + * perl/Amanda/Script.pm: New base module for script. + * perl/Amanda/Application.pm: New base module for application. + * perl/Makefile.am: Add Amanda::Script_app, Amanda::Script And + Amanda::Application. + * application-src/generic-dumper.pl: Remove file. + * application-src/generic-script.pl: Remove file. + * application-src/script-email.pl: Use Amanda::Script. + * application-src/amgtar_perl.pl: Use Amanda::Application. + * application-src/amzfs-snapshot.pl: Use Amanda::Script. + * application-src/Makefile.am: Remove generic-*.pl files. + +2008-10-24 Dustin J. Mitchell + * perl/Amanda/Archive.swg perl/Makefile.am: add a Perl interface to + libamar + * installcheck/Amanda_Archive.pl installcheck/Makefile.am: test it. + +2008-10-24 Dustin J. Mitchell + * */Makefile.am: change @AMLINT@ to $(AMLINT), similarly for + $(AMLINTFLAGS), and strip $(EXEEXT) from program names when running + lint + * config/amanda/libs.m4: put GLIB_CFLAGS in AMANDA_CPPFLAGS + +2008-10-23 Dustin J. Mitchell + * amar-src/Makefile.am: add amar.h to noinst_HEADERS + +2008-10-23 Dustin J. Mitchell + * configure.in Makefile.am amar-src/Makefile.am: new directory + * amar-src/amar.c amar-src/amar.h: amanda archive library + * amar-src/amar-test.c: tests for library + * common-src/security-util.c common-src/security-util.h + common-src/util.c common-src/util.h: move net_writev to + util.c, rename to full_writev + * man/Makefile.am man/xml-source/amanda-archive-format.7.xml + man/xml-source/amanda.8.xml: new manpage to describe the format + +2008-10-20 Nikolas Coukouma + * configure.in: add tests for more headers, plus some defines + for the presence of Amanda's headers + * device-src/s3-util.c, device-src/s3-util.h: Use defines to switch between + POSIX regex API and a GRegex (PCRE) call-compatability layer. + * device-src/s3.c, device-src/s3.h: Add a curl progress callback. + Use callbacks to write and read data. Provide callbacks for + memory buffers and files. The callbacks for files are currently + Windows-specific. + * device-src/s3-device.c: update to use new API + +2008-10-20 Dustin J. Mitchell + * perl/Makefile.am: remove spurious variables + +2008-10-17 Jean-Louis Martineau + * changer-src/chg-multi.sh: Check permission on the statefile and its + directory. + +2008-10-17 Jean-Louis Martineau + * server-src/planner.c: Set i to 0. + +2008-10-17 Jean-Louis Martineau + * server-src/amcheck.c, server-src/dumper.c + server-src/planner.c: Don't send appliaciton-api request if the + client doesn't use the xml protocol. + +2008-10-15 Jean-Louis Martineau + * server-src/reporter.c: print space instead of N/A, dumper stats are + set to "FLUSH" if it is a flush. + +2008-10-13 Dustin J. Mitchell + * device-src/vfs-device.c: re-open the dir handle on every + device start or read label + * installcheck/Amanda_Device.pl: adjust tests to degrade the + VFS device *after* it is started + +2008-10-13 Jean-Louis Martineau + * perl/Makefile.am: Moce EXTRA_DIST out of conditionals. + +2008-10-13 Jean-Louis Martineau + * installcheck/Makefile.am: revert previous commit. + * config/automake/scripts.am: Check for a server perl module. + +2008-10-13 Jean-Louis Martineau + * installcheck/Makefile.am: SCRIPTS_PERL = $(tests). + +2008-10-13 Jean-Louis Martineau + * perl/Makefile.am: Don't check Amanda/Config files. + +2008-10-11 Jean-Louis Martineau + * perl/Makefile.am: Check file in top_srcdir if they are not + in top_builddir. + +2008-10-10 Jean-Louis Martineau + * common-src/amgetconf.pl: remove 'use Amanda::Device qw( :constants);' + +2008-10-10 Jean-Louis Martineau + * perl/Makefile.am: test for libConfig.so before doing check. + +2008-10-10 Jean-Louis Martineau + * config/automake/scripts.am: Check perl scripts on compilation. + Add -I... to 'make check' to access perl module in build tree. + Add installcheck rules to check perl scripts with installed perl + modules. + * application-src/amstar_perl.pl: Remove file. + * device-src/Makefile.am, application-src/Makefile.am, + server-src/Makefile.am, installcheck/Makefile.am, + common-src/Makefile.am: Move most perl scripts to CHECK_PERL. + * installcheck/Makefile.am: + Add "CHECK_PERL_FLAGS=-I$(top_srcdir)/installcheck". + * perl/Makefile.am: Add rules to check all .pm files for check-local. + * device-src/amtapetype.pl, server-src/amaddclient.pl, + common-src/amgetconf.pl: Fix syntax errors. + +2008-10-10 Jean-Louis Martineau + * application-src/amzfs-snapshot.pl, application-src/amoracle.pl + application-src/script-email.pl, application-src/amgtar_perl.pl: + fix typos. + +2008-10-10 Nick Smith + * application-src/amzfs-snapshot.pl: fix typos + +2008-10-08 Dustin J. Mitchell + * perl/Amanda/DB/Catalog.pm: manage the tapelist internally + * perl/Amanda/Tapelist.swg: fix error message, re-read C tapelist + after writing + * server-src/amcheckdump.pl: don't read tapelist + * installcheck/Amanda_DB_Catalog.pl: don't read tapelist first + +2008-10-08 Nick Smith + * server-src/driver.c: set degr_mesg to NULL when not degraded + +2008-10-06 Jean-Louis Martineau + * application-src/amzfs-snapshot.pl: Accept execute-where argument. + * application-src/script-email.pl: Accept execute-where argument. + * client-src/client_util.c: Send execute-where argument to script. + * server-src/server_util.c: Send execute-where argument to script. + +2008-10-06 Jean-Louis Martineau + * application-src/amzfs-snapshot.pl: Add PFEXEC-PATH and PFEXEC + properties. + * man/xml-source/amzfs-snapshot.8.xml: Document new properties. + +2008-10-03 Dustin J. Mitchell + * perl/Amanda/Util.swg: add Amanda::Util::generate_timestamp + * common-src/timestamp.c: add comment + +2008-10-02 Dustin J. Mitchell + * perl/Amanda/DB/Catalog.pm: add rudimentary ability to read logfiles + * installcheck/Amanda_DB_Catalog.pl: test it + * perl/Amanda/Logfile.swg: fix typo + +2008-10-01 Nikolas Coukouma + * device-src/s3-device.c, device-src/s3.c, device-src/s3.h: + Add new property, S3_SSL, to control the use of SSL/TLS when + connecting to Amazon S3 + * man/xml-source/amanda-devices.7.xml: + document S3_SSL and S3_BUCKET_LOCATION + +2008-10-01 Nikolas Coukouma + * device-src/s3-util.c: Re-implement s3_hex_encode() to avoid OpenSSL weirdness. + +2008-10-01 Dustin J. Mitchell + * common-src/amanda.h common-src/conffile.c + oldrecover-src/extract_list.c recover-src/extract_list.c + server-src/amcheck.c server-src/amflush.c server-src/planner.c: + use g_ascii_isspace, as we assume ASCII (for now) and isspace() + is affected by locale and encoding settings. Thanks to Michael + Reuland for helping track this down. + +2008-09-30 Jean-Louis Martineau + * server-src/diskfile.h (xml_optionstr): New prototype. + * server-src/diskfile.h (clean_dle_str_for_client): Prototype. + * server-src/amindexd.c: Pass 0 to new argument of xml_optionstr. + * server-src/amcheck.c: Pass 0 to new argument of xml_optionstr. + * server-src/planner.c: Pass 0 to new argument of xml_optionstr. + * server-src/driverio.c: Pass 1 to new argument of xml_optionstr. + * server-src/dumper.c: Call clean_dle_str_for_client. + * server-src/diskfile.c (xml_optionstr): Work for ENCRYPT_SERV_CUST. + * server-src/diskfile.c (clean_dle_str_for_client): New function. + * restore-src/restore.c: Call clean_dle_str_for_client. + * common-src/amxml.c: Fix parsing. + * common-src/amanda.h (match_no_newline): Prototype. + * common-src/match.c (match_no_newline): New function. + +2008-09-30 Dustin J. Mitchell + * restore-src/restore.c: set data.flags for use by the changer_find + callback + +2008-09-30 Dustin J. Mitchell + * perl/Amanda/MainLoop.swg: add call_later() + * installcheck/Amanda_MainLoop.pl: test it + +2008-09-30 Dustin J. Mitchell + * device-src/rait-device.c: fix typos + +2008-09-30 Dustin J. Mitchell + * common-src/semaphore.h: fix typo + * device-src/rait-device.c: add a private threadpool-like + implementation for old glibs, where GThreadPool is susceptible to + deadlock + +2008-09-29 Dustin J. Mitchell + * device-src/device.c device-src/device.h device-src/null-device.c + device-src/property.c device-src/property.h device-src/rait-device.c + device-src/s3-device.c device-src/tape-aix.c device-src/tape-device.c + device-src/tape-device.h device-src/tape-ops.h device-src/tape-posix.c + device-src/tape-uware.c device-src/tape-xenix.c + device-src/vfs-device.c: add a 'configure' method to the Device API; + revamp device property handling to add source and surety and make + implementation easier + * device-src/rait-device.h device-src/rait-device.c: make RAIT device + calculate block sized based on child devices, if they were configured + explicitly. + * man/xml-source/amanda-devices.7.xml: note that common properties are + not implemented on all devices + * common-src/glib-util.c common-src/glib-util.h: add helpers for + case-insensitive hashes + * changer-src/scsi-changer-driver.c installcheck/Amanda_Device.pl + perl/Amanda/Device.swg restore-src/restore.c server-src/amcheck.c + server-src/amlabel.c server-src/amtape.c server-src/taper.c + server-src/taperscan.c: use new API + +2008-09-29 Dustin J. Mitchell + * server-src/find.c: handle find_result->label == NULL + * perl/Amanda/DB/Catalog.pm: filter out bogus results with NULL label + +2008-09-26 Dustin J. Mitchell + * perl/amglue/ghashtable.c: #include conffile.h, not conffile.c (!) + +2008-09-26 Jean-Louis Martineau + * server-src/driver.c: Parse dumpsize from taper result. + +2008-09-26 Jean-Louis Martineau + * client-src/selfcheck.c: Set qdevice on common_exit path. + +2008-09-25 Dustin J. Mitchell + * common-src/fileheader.c: fix headers_are_equal + +2008-09-25 Dustin J. Mitchell + * common-src/fileheader.c common-src/fileheader.h: allow blocksize=0 + * device-src/device.c device-src/device.h: set blocksize in tape + header + * device-src/null-device.c device-src/s3-device.c + device-src/tape-device.c device-src/vfs-device.c: set blocksize + in headers when starting files + * device-src/rait-device.c: duplicate headers for child devices, since + they are no longer const + * server-src/dumper.c: set blocksize on holding-disk files to + DISK_BLOCK_BYTES + +2008-09-25 Dustin J. Mitchell + * device-src/tape-device.c: mark device as non-appendable temporarily, + since file numbers are incorrect when appending + * installcheck/Amanda_Device.pl: handle non-appendable devices + +2008-09-24 Jean-Louis Martineau + * server-src/driverio.c (dumper_cmd, chunker_cmd): Take new mesg + argument. + * server-src/server_util.h (dumper_cmd, chunker_cmd): New prototype. + * server-src/chunker.c: Get mesg from ABORT cmd and log it. + * server-src/driver.c: Add the mesg argument to all dumper_cmd and + chunker_cmd. + +2008-09-24 Jean-Louis Martineau + * server-src/planner.c: Set degr_mesg and send it to driver. + * server-src/driverio.h (sched_t): Add degr_mesg field. + * server-src/driver.c: Parse message if no degraded estimate. + +2008-09-23 Dustin J. Mitchell + * common-src/conffile.c common-src/conffile.h: store a struct + containing both filename and line number for each parameter, and use + it when reporting errors and warnings + +2008-09-23 Dustin J. Mitchell + * device-src/device.c: make 'unimplemented method' an assertion + +2008-09-23 Dustin J. Mitchell + * device-src/s3.c: use max_keys, instead of maximum body size (which + doesn't work) to limit the number of keys listed + +2008-09-22 Jean-Louis Martineau + * common-src/fileheader.c (fh_init): Set default type to F_EMPTY. + * changer-src/chg-zd-mtx.sh: Allow to remove barcode from barcode file. + * server-src/taperscan.c: Check type != F_EMPTY. + * server-src/taper.c: Call changer_label(). + * server-src/amlabel.c: iCheck type != F_EMPTY. Call changer_label(). + +2008-09-22 Jean-Louis Martineau + * device-src/device.c: Don't g_value_unset a bzero value. + +2008-09-22 Jean-Louis Martineau + * server-src/driver.c: Set result_argv=NULL, Fix typo. + +2008-09-22 Dustin J. Mitchell + * config/amanda/ps.m4: give up on runtime detection and just special- + case the 'ps' arguments for various systems + * perl/Amanda/Constants.pm.in: add $PS + * perl/Amanda/Process.pm: use $PS + +2008-09-19 Jean-Louis Martineau + * server-src/reporter.c (addline): Done it constant time. + +2008-09-19 Dustin J. Mitchell + * common-src/Makefile.am common-src/quoting-test.c: new tests + * common-src/token.c common-src/token.h: removed + * common-src/util.c common-src/util.h: new home for quoting functions + * configure.in: don't check for shquote + * man/xml-source/amanda.conf.5.xml: info on quoting + * perl/Amanda/Config/Server.pm: note about incompatibility + * server-src/amcheck.c server-src/amindexd.c server-src/chunker.c + server-src/driver.c server-src/driverio.c server-src/driverio.h + server-src/dumper.c server-src/infofile.c server-src/server_util.c + server-src/server_util.h server-src/taper-file-source.c + server-src/taper-port-source.c server-src/taper.c: use new/updated + quoting functions + +2008-09-19 Nick Smith + * example/amanda.conf.in: fix incorrect execute_on examples + +2008-09-18 Jean-Louis Martineau + * server-src/dumper.c: Call security_close_connection before + checking if pkt == NULL. + +2008-09-18 Jean-Louis Martineau + Patch by Nick Smith + * server-src/diskfile.c: Fix vstrextend use, Patch by Nick Smith. + * server-src/diskfile.c: Init xml_app.result to stralloc(""). + +2008-09-16 Dan Locks + * packaging/rpm/amanda.spec: Added detection of CentOS 4 and 5 as + suggested by dswartz. added graceful failure when Distro/version is + not detected correctly + +2008-09-15 Dustin J. Mitchell + * common-src/conffile.c: uninit apps, pp_scripts, and device_configs + +2008-09-14 Dustin J. Mitchell + * server-src/tapefile.c server-src/tapefile.h: add comments to + tapelist + * perl/Amanda/Tapelist.swg: perl tapelist parser, too + * installcheck/Amanda_Tapelist.pl: tests + * man/xml-source/tapelist.5.xml: docs + * server-src/amlabel.c: no initial comments when labeling + * server-src/taper.c: maintain comment when relabeling + +2008-09-12 Jean-Louis Martineau + * amandad-src/amandad.c: Fix typo: authetication -> authentication. + +2008-09-05 Dustin J. Mitchell + * man/xml-source/amanda.conf.5.xml: fix inequalities; thanks to + Mike McConnell for spotting these + +2008-09-05 Dustin J. Mitchell + * server-src/taper.c: improve handling of device errors in taper + +2008-09-02 Jean-Louis Martineau + * restore-src/amrestore.c: Load a default server config. + +2008-08-29 Dustin J. Mitchell + * autogen: revert glib's configure-time requirement for + pkg-config-0.16 + +2008-08-28 Dustin J. Mitchell + * device-src/tape-device.c: use the correct blocksize while reading + * device-src/rait-device.c: fix typo + * installcheck/Amanda_Device.pl: use the VFS device in RAIT tests, not + the tape device + +2008-08-28 Jean-Louis Martineau + * server-src/dumper.c: Reset the MESG buffer for a new dump. + +2008-08-27 Dustin J. Mitchell + * server-src/amcheck.c: make the check for tapelist result in a NOTE, + not a failure + * server-src/tapefile.c: make a missing tapelist equivalent to an + empty one + +2008-08-27 Dustin J. Mitchell + * config/amanda/types.m4: always include sys/types.h, if it exists, + before trying other headers (fixes builds of FreeBSD-4.x); thanks + to John Hein + * perl/Amanda/MainLoop.swg server-src/driverio.h: include amanda.h + before event.h + +2008-08-22 Dustin J. Mitchell + * perl/amglue/bigint.c: add #include "stdint.h" + +2008-08-22 Dustin J. Mitchell + * config/amanda/ps.m4: search multiple ps invocations; thanks + to John Hein + +2008-08-22 Jean-Louis Martineau + * server-src/amadmin.ci (tape): Correctly print next tape to use. + * server-src/tapefile.c (print_new_tapes): New function to print new + tapes. + * server-src/tapefile.h (print_new_tapes): Prototype. + * server-src/reporter.c: Correctly print next tape to use. + +2008-08-22 Dustin J. Mitchell + * common-src/conffile.c common-src/conffile.h perl/Amanda/Config.swg: + add new 'define device' config section + * perl/Makefile.am perl/Amanda/Config/Server.pm + perl/Amanda/Config/Server/Devices.pm + perl/Amanda/Config/Server/Grammar: ditto + * device-src/device.c device-src/device.h: configure devices from + device definitions, with better error handling + * device-src/rait-device.c: handle child devices better + * installcheck/Amanda_Config.pl installcheck/Amanda_Config_Server.pl + installcheck/Amanda_Xfer.pl installcheck/Installcheck/Config.pm + installcheck/amgetconf.pl: new tests, modifications to work with the + new system + * man/xml-source/amanda-devices.7.xml + man/xml-source/amanda.conf.5.xml: corresponding documentation updates + * perl/Amanda/Changer.pm perl/Amanda/Device.swg + restore-src/amrestore.c restore-src/restore.c server-src/amcheck.c + server-src/amcheckdump.pl server-src/amdevcheck.pl + server-src/amlabel.c server-src/amtape.c server-src/taper.c + server-src/taperscan.c: remove calls to + set_startup_properties_from_config + * device-src/vfs-test.c: load config before trying to use a device + * common-src/conffile.c: fix use of uninitialized variable + +2008-08-22 Dustin J. Mitchell + * changer-src/chg-disk.sh: replace == with = + * changer-src/chg-lib.sh.in: fix sed invocation for BSD's sed + +2008-08-22 Jean-Louis Martineau + * server-src/reporter.c: Fix computation of compression ratio. + +2008-08-22 Jean-Louis Martineau + * client-src/sendbackup.h: Add DMP_IGNORE and AM_IGNORE_RE. + * application-src/amgtar.c, application-src/amgtar_perl.pl: + Ignore "Directory is new" and "Directory has been renamed". + +2008-08-21 Jean-Louis Martineau + * common-src/krb5-security.c: Fix security_seterror use. + +2008-08-19 Dustin J. Mitchell + * configure.in: check for getgrgid_r and getpwuid_r + * common-src/security-util.c: conditionalize on checks + +2008-08-18 Dustin J. Mitchell + * common-src/version.h: remove #include of config.h + * device-src/vfs-device.c: #include amanda.h first + +2008-08-18 Dustin J. Mitchell + * device-src/Makefile.am device-src/amtapetype.pl: new perl amtapetype + * installcheck/Installcheck/Run.pm: report exit status + * installcheck/Makefile.am installcheck/amtapetype.pl: new test + * man/xml-source/amtapetype.8.xml: updated manpage + * device-src/s3-device.c device-src/vfs-device.c + device-src/tape-device.c: add compression property + * perl/Amanda/Xfer.swg: add POD for the cancel() method + * xfer-src/dest-device.c: add a default for max_memory + +2008-08-18 Dustin J. Mitchell + * common-src/conffile.c: make find_multiplier case-insensitive + * device-src/device.c: reorder assertions + * device-src/tape-device.c: don't set access_mode twice, but + set in_file = FALSE in start + * device-src/s3-device.c: fix property registration + * perl/Amanda/MainLoop.swg: remove attach() from example + * perl/Amanda/Xfer.swg: more detail in POD + * xfer-src/source-pattern.c: operate byte-for-byte, like the random + source, instead of using lots of memcpys and reallocs + * xfer-src/source-random.c: remove redundant check + +2008-08-18 Dustin J. Mitchell + * configure.in Makefile.am tape-src/*: remove tape-src + * changer-src/Makefile.am: don't link with libamtape + * changer-src/chg-scsi.c: don't use libamtape + * changer-src/scsi-changer-driver.c: don't use libamtape + * config/amanda/tape.m4: fix comment + * example/amanda.conf.in example/template.d/tapetypes: fix outdated + comments + * man/Makefile.am man/xml-source/amdd.8.xml man/xml-source/ammt.8.xml: + remove amdd and ammt manpages + * restore-src/Makefile.am: remove refs to tape-src/ + * server-src/Makefile.am: remove refs to tape-src/ + +2008-08-18 Dustin J. Mitchell + * common-src/krb4-security.c common-src/krb5-security.c + config/amanda/tape.m4 common-src/amanda.h: remove + --with-maxtapeblocksize + * common-src/conffile.c: deprecate file-pad + * device-src/device-queueing.c device-src/device-queueing.h + device-src/device.c device-src/device.h device-src/null-device.c + device-src/property.c device-src/property.h device-src/rait-device.c + device-src/s3-device.c device-src/tape-device.c + device-src/tape-device.h device-src/vfs-device.c server-src/amcheck.c + server-src/taper.c tape-src/tapeio.c xfer-src/dest-device.c + xfer-src/source-device.c perl/Amanda/Device.swg: devices have + {min,max,current} block sizes; remove the short_block parameter from + device_write_block; fix property initialization; rename + PROPERTY_MEDIUM_TYPE to PROPERTY_MEDIUM_ACCESS_TYPE + * device-src/rait-device.c: set child block sizes explicitly + * installcheck/Amanda_Device.pl: tests; better S3 test count + calculations + * installcheck/Amanda_Xfer.pl: tests + * man/xml-source/amanda-devices.7.xml: update block sizes + documentation + * man/xml-source/amanda.conf.5.xml: refer to block size properties + * restore-src/amrestore.c: use set_restore_device_read_buffer_size + * restore-src/restore.h restore-src/restore.c: add + set_restore_device_read_buffer_size + +2008-08-16 Dustin J. Mitchell + * server-src/driver.c: handle taper_{input,tape}_error memory + correctly, and add taper_tape_error to the trace log + +2008-08-16 Dustin J. Mitchell + * application-src/amzfs-snapshot.pl application-src/script-email.pl: + remove unnecessary 'use Amanda::Device' + +2008-08-16 Dustin J. Mitchell + * common-src/amgetconf.pl: use filename-safe characters for $appname + * installcheck/amgetconf.pl: test it + +2008-08-16 Dustin J. Mitchell + * man/entities/global.entities: add manpage refs + * packaging/rpm/amanda_enterprise.spec + packaging/rpm/amanda_enterprise_client.spec + man/xml-source/disklist.5.xml man/xml-source/tapelist.5.xml + man/Makefile.am: add disklist(5), tapelist(5) + * man/xml-source/amaddclient.8.xml man/xml-source/amadmin.8.xml + man/xml-source/amanda-client.conf.5.xml man/xml-source/amanda.8.xml + man/xml-source/amanda.conf.5.xml man/xml-source/amcheck.8.xml + man/xml-source/amcheckdb.8.xml man/xml-source/amdevcheck.8.xml + man/xml-source/amflush.8.xml man/xml-source/amlabel.8.xml + man/xml-source/amrecover.8.xml man/xml-source/amrmtape.8.xml: + - remove references to "output drivers" in favor of "device drivers" + - add more inter-page references + - fix typos + - add client_login to amanda-client.conf(5) + - reformat informaltables, which don't render well in HTML or nroff, + into variablelists, with fixes for bad xml->man conversion + - fix funky replacement entities in HTML output + * perl/Amanda/DB/Catalog.pm: mention $dump->{kb} and ->{sec} + * perl/Amanda/Device.swg: fix typo + * perl/Amanda/MainLoop.swg: add hints for writing async functions + * perl/Amanda/Types.swg: fix bad POD + * perl/Amanda/Util.swg: POD fix: use $CONTEXT_* rather than strings + * perl/Amanda/Xfer.swg: tweaks + * server-src/taper.c: fix typo + * server-src/taperscan.c: remove "(previously non-amanda)", as Amanda + will no longer overwrite such tapes + +2008-08-16 Dustin J. Mitchell + * common-src/debug.c: lock debug logging on a per-line basis + +2008-08-16 Dustin J. Mitchell + * device-src/rait-device.c: parse RAIT names with internal {..} + * installcheck/Amanda_Device.pl: light testing + +2008-08-15 Dustin J. Mitchell + * common-src/debug.c: include backtraces on fatal errors + * config/amanda/debugging.m4: look for glibc's backtrace support + * configure.in: ditto + +2008-08-14 Dustin J. Mitchell + * device-src/tape-aix.c device-src/tape-ops.h device-src/tape-uware.c + device-src/tape-xenix.c: bring non-POSIX tape-ops implementations up + to date with function signatures + +2008-08-14 Dustin J. Mitchell , + Nikolas Coukouma + * xfer-src/*: add support for asynchronous cancellation of transfers + and use it for error-handling + * perl/Amanda/Xfer.swg: reflect into perl + * installcheck/Amanda_Xfer.pl: test cancellation + +2008-08-12 Dustin J. Mitchell + * common-src/Makefile.am: clean up svn-info.h on maintainer-clean + * man/Makefile.am: remove config.log after running config.status + +2008-08-07 Nikolas Coukouma + * common-src/conffile.c: cleaner fix for signed compared to unsigned + errors on older versions of GCC. + +2008-08-06 Dustin J. Mitchell + * common-src/Makefile.am: second fix + +2008-08-06 Dustin J. Mitchell + * common-src/Makefile.am: don't syntax-check amgetconf, since + it uses Amanda::* modules + +2008-08-06 Nikolas Coukouma + * server-src/amgetconf.pl, common-src/amgetconf.pl: + Add --execute-where=client|server and --client options + to make amgetconf query the client configuration + instead. Move from server-src to common-src. + * man/xml-source/amgetconf.8.xml: Document the new options. + * installcheck/amgetconf.pl: Test the new options. + * server-src/Makefile.am, common-src/Makefile.am: + Updated Makefiles for move. + * packaging/deb/amanda-enterprise-backup-client.install, + packaging/sun-pkg/i386/client/prototype: + Add amgetconf to client packages. + +2008-08-04 Dan Locks + * packaging/rpm/amanda.spec: add %{tarver} macro and set the correct + minimum version per distro (Thanks to Jesse Angell for the rhel4 tip) + +2008-08-04 Dustin J. Mitchell + * common-src/conffile.c: workaround gcc<4.1.0 problems with long + constants, don't use G_MAXINT64 in precompiler expressions + +2008-08-03 Dustin J. Mitchell + * server-src/amrmtape.sh: use shell redirection with shell functions + +2008-08-03 Dustin J. Mitchell + * common-src/util.c: if !WORKING_IPV6, request AF_INET, not AF_NATIVE + * common-src/dgram.c: address family debugging + * common-src/stream.c: address family debugging + +2008-08-03 Dustin J. Mitchell + * common-src/amanda.h common-src/conffile.c common-src/conffile.h + installcheck/Amanda_Config.pl perl/Amanda/Config.swg + server-src/planner.c: replace am64 type with gint64; also replace + some uses of off_t + +2008-08-01 Nikolas Coukouma + * perl/Amanda/BigIntCompat.pm: Add a module to make 'Math::BigInt's + stringify consistently (no '+' prefixing positive numbers). + * perl/Makefile.am: Add Amanda/BigIntCompat.pm for installation, etc. + * installcheck/bigint.pl, perl/amglue/bigint.c: + Use Amanda::BigIntCompat everywhere we use bigint. + +2008-08-01 Nikolas Coukouma + * common-src/match.c: Correct array index to be within bounds + +2008-08-01 Nikolas Coukouma + * config/amanda/flags.m4: Rename AMANDA_TEST_GCC_WARNING_FLAG to + AMANDA_TEST_GCC_FLAG and use AMANDA_ENABLE_GCC_WARNING where + appropriate. Add AMANDA_DISABLE_GCC_FEATURE. Disable strict-aliasing + (which causes errors). + +2008-07-30 Dustin J. Mitchell + * installcheck/Amanda_Config.pl: add + to avoid perl-5.6.0 parsing bug + * installcheck/amgetconf.pl: ditto + +2008-07-29 Dan Locks + * packaging/rpm/amanda.spec: Merged fixes from enterprise .spec for + parsing redhat-release for fedora versions correctly. + +2007-07-28 Nikolas Coukouma + * config/amanda/flags.m4: Add proper detection of flags for GCC 4.3+ + +2007-07-28 Nikolas Coukouma + * device-src/s3.c: Calculate and send the MD5 hash when uploading data. + Also check the returned ETag to make sure it matches the sent MD5 hash. + Use simpler s3_base64_encode() instead of base64_encode(). + Correct the use of character classes in several regular expressions. + * device-src/s3-util.h, device-src/s3-util.c: Add utility functions + s3_base64_encode(), s3_hex_encode(), and s3_compute_md5_hash() as well + as some constants. Move regexec_wrap() into this and rename it to + s3_regexec_wrap(). + * device-src/Makefile.am: add s3-util.c and s3-util.h + +2008-07-28 Dustin J. Mitchell + * installcheck/Installcheck/Config.pm: don't set default tapetype + unless not set explicitly. + * installcheck/Amanda_Config.pl: test changes + * man/xml-source/amanda-client.conf.5.xml + man/xml-source/amanda.conf.5.xml: encourage, but don't require, + quoted identifiers + +2008-07-28 Dustin J. Mitchell + * server-src/amserverconfig.pl: apply perltidy, factor some common + code, and create the config dir and changer conf only after the check + for mtx is performed + +2008-07-28 Dustin J. Mitchell + * device-src/tests/semaphore-test.c: move function call out of + variable initialization + +2008-07-25 Dan Locks + * packaging/deb/control: added alternative dependency of libssl0.9.8 for + Ubuntu 8.x builds. Added build dependencies for debhelper, fakeroot, + libcurl-dev, libssl-dev. Updated server and client dependency for curl + to libcurl3 + +2008-07-18 Dan Locks + * configure.in: add format-security to gcc compile flags + * server-src/amindexd.c, + server-src/dumper.c, + server-src/reporter.c, + restore-src/restore.c, + common-src/security-util.c, + common-src/bsd-security.c: replacemented unquoted strings in + function arguments with "%s", arg. jrfranks's suggestion, dustin provided + syntax for the fix. + +2008-07-17 Dan Locks + * packaging/debian/amanda-enterprise-backup-*.install: added entries for + applications and devices man pages. + +2008-07-17 Jean-Louis Martineau + * man/Makefile.am: Add amzfs-snapshot.8 + * man/xml-source/amzfs-snapshot.8.xml: New man page. + * man/xml-source/amanda.8.xml: Add amzfs-snapshot.8 + * man/xml-source/amanda-scripts.7.xml: Add amzfs-snapshot.8 + * application-src/amzfs-snapshot.pl: New script + * application-src/Makefile.am: Add amzfs-snapshot + * perl/Amanda/Util.swg: Add sanitise_filename. + +2008-07-17 Jean-Louis Martineau + * amandad-src/amandad.c: amandad must be run by root for krb5 auth. + +2008-07-16 Jean-Louis Martineau + * server-src/driver.c: Improve message in failure to dump in degraded + mode. + +2008-07-16 Dan Locks + * packaging/deb/control, + packaging/rpm/amanda.spec: added explicit dependency on openssl, and a + build dependency for openssl and curl development files. + +2008-07-15 Dustin J. Mitchell + * example/xinetd.amandaserver.in example/xinetd.amandaclient.in: + specifying both IPv{4,6} does not work; remove IPv4 + +2008-07-15 Jean-Louis Martineau + * man/Makefile.am: Add new man pages. + * man/xml-source/script-email.8.xml: New man page. + * man/xml-source/amanda.8.xml: List new man pages. + * man/xml-source/amanda-scripts.7.xml: New man page. + +2008-07-15 Dustin J. Mitchell + * configure.in: generate (x)inetd files + * example/inetd.conf.amandaclient.in example/xinetd.amandaclient.in + example/xinetd.amandaserver.in: give appropriate path for amandad, + from configure (fixes builds on 64-bit machines) +2008-07-15 Dustin J. Mitchell + * client-src/client_util.c: #include "glib-util.h" + * common-src/glib-util.c: New g_ptr_array_foreach fucntion. + * common-src/glib-util.h: Prototype of g_ptr_array_foreach. + * device-src/rait-device.c: Remove g_ptr_array_foreach. + +2008-07-15 Jean-Louis Martineau + * client-src/client_util.c: Read stdout of scripts. + * client-src/client_util.h: New prototype for run_client_scripts, + New client_script_result_t struct. + * client-src/sendbackup.c: Send scripts properties to application. + * client-src/sendsize.c: Send scripts properties to application. + * client-src/selfcheck.c: Send scripts properties to application. + * recover-src/extract_list.c: Send scripts properties to application. + * common-src/amxml.h (script_t) Add field to keep result of script. + * common-src/amxml.c: Set script->result to NULL. + +2008-07-14 Dan Locks + * packaging/rpm/amanda.spec: fix macro detection of fedora version + +2008-07-14 Dan Locks + * packaging/rpm/amanda.spec: fix distribution detection, add + activate-devpay to server files list + +2008-07-11 Dustin J. Mitchell + * installcheck/Amanda_Changer.pl: set up and parse a config, now that + Amanda::Changer needs one + +2008-07-11 Dustin J. Mitchell + * perl/Amanda/Changer.pm: set device properties when testing device + labels in the changer + +2008-07-11 Jean-Louis Martineau + * application-src/amgtar.c: Add a DIRECTORY property. + * man/xml-source/amgtar.8.xml: Document DIRECTORY property. + +2008-07-11 Dustin J. Mitchell + * changer-src/chg-lib.sh.in: remove bogus Log() invocations + +2008-07-11 Dustin J. Mitchell + * man/xml-source/amanda.8.xml: fix amanda(8) formatting and add links + to new manpages + +2008-07-11 Dustin J. Mitchell + * installcheck/Amanda_Device.pl: be more liberal in the flags that are + accepted from S3's read_label; this will reduce false failures + +2008-07-11 Jean-Louis Martineau + * client-src/client_util.c: Remove unused output_tool_property function. + * client-src/client_util.h: Remove output_tool_property prototype. + * man/xml-source/amanda-client.conf.5.xml: Add application and script + sections. + * man/xml-source/amanda.conf.5.xml: Improve application and script + sections. + * device-src/device.c: Fix for new property_t. + * server-src/diskfile.h: Change prototype for xml_application and + xml_scripts. + * server-src/diskfile.c: Add tag if client support it. + * server-src/amindexd.c: Fix call to xml_application. + * server-src/amcheck.c: Fix call to xml_application. + * server-src/planner.c: Fix call to xml_application. + * server-src/driverio.c: Fix call to xml_application. + * server-src/server_util.c: Remove code to write property to stdin of + script. + * perl/Amanda/Config.swg: Fix for new property_t. + * perl/amglue/amglue.h: Prototype for g_hash_table_to_hashref_property. + * perl/amglue/ghashtable.c: New g_hash_table_to_hashref_property + function. + * installcheck/Amanda_Config.pl: Fix for new property_t. + * common-src/util.c: Remove unused output_tool_proplist fucntion, + Fix for new property_t. + * common-src/util.h: Remove output_tool_proplist prototype. + * common-src/amxml.c:Fix for new property_t, parse priority of property. + * common-src/conffile.c: Parse priority of a property, + Add application and script to amanda-client.conf. + * common-src/conffile.h: New property_t struct. + * common-src/amfeatures.h: New fe_xml_property_priority amfeature. + * common-src/amfeatures.c: New fe_xml_property_priority amfeature. + +2008-07-11 Jean-Louis Martineau + * man/entities/global.entities: Add ENTITY email.jlm. + * man/Makefile.am (CLIENT_MAN_PAGES): Set to amanda-applications.7, + amgtar.8 and amstar.8. + * man/xml-source/amanda.conf.5.xml: Fix , it must be + at the begining of a line. + * man/xml-source/amanda-applications.7.xml: New page. + * man/xml-source/amgtar.8.xml: New page. + * man/xml-source/amstar.8.xml: New page. + +2008-07-09 Ian Turner + * device-src/device.h: Clarify documentation of device_read_label(). + * device-src/s3-device.c, device-src/tape-device.c, + device-src/vfs-device.c (device_read_label): Always clear volume + labels, even if device is in error. + * device-src/rait-device.c: Ditto; also properly handle properties + that change device labels. + +2007-07-09 Nikolas Coukouma + * man/xml-source/amanda-devices.7.xml: Document the S3_BUCKET_LOCATION + property (for setting location constraints). + +2008-07-08 Dustin J. Mitchell + * device-src/vfs-device.c device-src/tape-device.c: do not autofinish + when EOF occurs on writing + +2008-07-08 Dustin J. Mitchell , + Nikolas Coukouma , + Ian Turner , + Jean-Louis Martineau + Amanda has been analyzed with Klocwork source code analysis, the most + accurate and comprehensive tool for finding critical programming + errors and security vulnerabilities. + * amandad-src/amandad.c changer-src/chg-scsi.c + client-src/client_util.c client-src/selfcheck.c + client-src/sendbackup.c client-src/sendsize.c common-src/amfeatures.c + common-src/bsd-security.c common-src/fileheader.c + common-src/local-security.c common-src/queueing.c + common-src/security-util.c device-src/property.c + device-src/rait-device.c device-src/tape-device.c + device-src/vfs-device.c recover-src/set_commands.c + restore-src/amidxtaped.c restore-src/amrestore.c restore-src/restore.c + server-src/amadmin.c server-src/amcheck.c server-src/amindexd.c + server-src/changer.c server-src/chunker.c server-src/cmdline.c + server-src/driver.c server-src/holding.c server-src/logfile.c + server-src/reporter.c server-src/server_util.c + server-src/taper-file-source.c: fix many issues identified + by Klockwork, ranging in severity from stylistic to minor. + - many memory leaks in error paths and application shutdown + - better handling of incorrect commandline arguments + - better resource management (file descriptors, etc.) + +2008-07-07 Nikolas Coukouma + * device-src/Makefile.am: conditionalize activate-devpay on + WANT_S3_DEVICE + +2007-07-06 Nikolas Coukouma + * device-src/s3-device.c, device-src/s3.c, device-src/s3.h, + device-src/activate-devpay.c, device-src/Makefile.am: + Allow both regular S3 and S3-with-DevPay to be used in + the same installation. Remove WANT_DEVPAY macro. + * device-src/s3-device.c: Added a flag, is_devpay, to the device + and handled divergent cases. Removed useless device_error_set calls. + * device-src/s3.c: Use DevPay authentication iff user_token is set. + Replaced some if statements about non-NULL pointers with assertions. + * config/amanda/s3-device.m4, device-src/Makefile.am: + remove devpay flag and WANT_DEVPAY definition. + * installcheck/Amanda_Device.pl: add tests for DevPay, refactor + other S3 tests. + +2007-07-06 Nikolas Coukouma + * device-src/s3.c: wait for bucket to appear after creation, treat + missing bucket as temporary error, increase retries from 5 to 14 + (about 3min), explicitly handle HTTP verbs as libcurl expects. + * installcheck/Amanda_Device.pl: remove (now-irrelvant) note about + buckets taking too long to appear. + +2008-07-06 Dan Locks + * packaging/deb/amanda-backup-server.postrm + packaging/deb/amanda-backup-client.postrm: removed unused + code + * packaging/deb/postrm: fixed typo in deluser command + * packaging/deb/rules: added specific preinst and postrm scripts for + client and server. + +2008-07-03 Dustin J. Mitchell + * man/Makefile.am man/amanda.css man/index.php man/xslt/html.xsl.in: + new files for HTML output + * man/xslt/man.xsl.in: substitute XSLT_VERS + * man/xml-source/amanda-devices.7.xml: tweaks + * man/xml-source/amanda.8.xml: tweaks + * man/xml-source/amanda.conf.5.xml: tweaks + * man/xml-source/amgetconf.8.xml: tweaks + * man/xml-source/amtoc.8.xml: tweaks + +2008-07-03 Dustin J. Mitchell + * common-src/genversion.c: correctly represent available amflock + implementations + +2008-07-03 Jean-Louis Martineau + * perl/Amanda/Xfer.swg: #include "glib-util.h" + +2008-07-02 Dustin J. Mitchell + * device-src/rait-device.c: don't use self->device_name in open_device + +2008-07-02 Dustin J. Mitchell + * installcheck/amgetconf.pl: supply a plugin for scripts + +2008-07-02 Jean-Louis Martineau + * server-src/diskfile.c: Check an application is set if + program == "APPLICATION". + * common-src/amxml.c: Check plugin is set for application and script. + * common-src/conffile.c: Check plugin is set for application and script + +2008-07-02 Jean-Louis Martineau + * server-src/amstatus.pl: Fix printing of config path on error. + +2008-07-02 Dustin J. Mitchell + * installcheck/Amanda_Device.pl: test that start(READ) without first + reading the label doesn't cause errors + * device-src/s3-device.c: call s3_device_read_label directly + +2008-07-02 Ian Turner + * man/xml-source/amanda.8.xml: Document how to override device + properties. + +2008-07-02 Ian Turner + Dustin J. Mitchell contributed code and thoughts + to this patch. + * man/xml-source/amanda-devices.7.xml: Document new ERROR flag + to start RAIT device in degraded mode. + * device/device.c: Be a little more forgiving of NULL devices. + * device-src/vfs-device.c: Fix a bug where vfs_device_start() + would sometimes throw an erroneous assertion. + * device-src/rait-device.c: Be much more robust in error handling; + new feature to start a RAIT device in degraded mode. + * installcheck/Amanda_Device.pl: Enable more RAIT device tests. + +2008-07-02 Dustin J. Mitchell + * common-src/amanda.h: remove unused #include + +2008-07-02 Dustin J. Mitchell + * device-src/tape-device.c: add "user" and "good" to feature flags + * man/xml-source/amanda-devices.7.xml: document it + +2008-07-01 Dustin J. Mitchell + * device-src/device.h: fix comments to reflect removal of + autofinishing + * device-src/tape-device.c: remove autofinishing + +2008-07-01 Dustin J. Mitchell + * changer-src/chg-lib.sh.in: also handle bare tape dev names + +2008-07-01 Dustin J. Mitchell + * changer-src/chg-lib.sh.in: fix tape_device_filename to not use perl + * changer-src/chg-zd-mtx.sh: always use the unqualified hostname to + open the debug file + +2008-06-30 Dustin J. Mitchell + * common-src/match.c: fix multiple bugs in match_datestamp + +2008-06-29 Dustin J. Mitchell + * perl/Amanda/Changer.pm perl/Amanda/Cmdline.swg + perl/Amanda/Config.swg perl/Amanda/DB/Catalog.pm + perl/Amanda/Device.swg perl/Amanda/Logfile.swg + perl/Amanda/Util.swg: POD cleanup + * perl/Makefile.am: new files, rules to make HTML + * perl/amperl.css: CSS file for online POD + * perl/make_html.pl: make online POD + +2008-06-29 Dustin J. Mitchell + * installcheck/Makefile.am installcheck/amstatus.pl: new check + +2008-06-27 Ian Turner + * server-src/taper.c: fix printing a NULL pointer in the error path + +2008-06-27 Dustin J. Mitchell + * device-src/device.c: check for and fail on multiple + short writes to the same file + * 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: do not autofinish files + * installcheck/Amanda_Device.pl installcheck/Amanda_Xfer.pl: don't + expect devices to autofinish anymore + * server-src/taper.c xfer-src/dest-device.c: finish files explicitly + * device-src/device-queueing.c: comments + * xfer-src/xfer-element.h: comments + +2008-06-27 Nikolas Coukouma + * device-src/s3.c device-src/s3.h device-src/s3-device.c installcheck/Amanda_Device.pl: + Add support for bucket location constraints + * device-src/s3-device.c: Add S3_BUCKET_LOCATION device property + * device-src/s3.c device-src/s3.h device-src/s3-device.c: + Checks for libcurl and bucket name compatability with location constraints + * device-src/s3.c: make s3_init() threadsafe, + refactor regex compilation and calling, + refactor perform_request() functions to construct URL later, + use GString to tidy string generation + * installcheck/Amanda_Device.pl: Add tests for location constraints + +2008-06-27 Ian Turner + * device-src/rait-device.c: Fix a memory corruption issue on the last + block of a file. + +2008-06-27 Ian Turner + * device-src/rait-device.c: Fix a memory corruption issue on the last + block of a file. + +2008-06-27 Ian Turner + * device-src/rait-device.c: Track file numbers properly when child + devices change them (that is, in rait_device_start_file() and + rait_device_seek_file()). + * installcheck/Amanda_Device.pl: Enable primary set of RAIT tests. + +2008-06-27 Jean-Louis Martineau + * device-src/s3-device.c (s3_device_read_label): Don't set + volume_header if nothing is read. + +2008-06-27 Jean-Louis Martineau + * device-src/device.c: Don't log is flag is DEVICE_STATUS_SUCCESS. + +2008-06-27 Dustin J. Mitchell + * device-src/tape-posix.c: return DEVICE_ERROR|DEVICE_BUSY on EIO + * changer-src/chg-lib.sh.in: keep waiting for a device if it *might* + be busy or offline + +2008-06-26 Jean-Louis Martineau + * application-src/amstar.c: Use local start_time variable. + * application-src/amgtar.c: Use local start_time variable. + * common-src/clock.h: Remove times_zero and start_time extern. + * common-src/clock.c: Remove times_zero. + +2008-06-25 Jean-Louis Martineau + * server-src/diskfile.c: Don't send encryption in xml req packet for + server encryption. + +2008-06-25 Dustin J. Mitchell + * application-src/amgtar.c: revert --atime-preserve change + +2008-06-22 Dustin J. Mitchell + * application-src/amgtar.c: change --atime-preserve=system to + --atime-preserve + +2008-06-20 Dustin J. Mitchell + * installcheck/amdump.pl: fix checks to refresh the test configuration + +2008-06-20 Dustin J. Mitchell , Ian Turner + * server-src/amdump.sh: correctly handle error exits from planner + * server-src/planner.c: fail if planning fails + * installcheck/amdump.pl: test changes + +2008-06-20 Dan Locks + * packaging/rpm/amanda.spec: typo amanda-devices.7.gz + +2008-06-20 Dan Locks + * packaging/rpm/amanda.spec: added %{MANDIR}/man7/amanda-device.7.gz + +2008-06-20 Jean-Louis Martineau + * client-src/client_util.c: Call check_access() only + if getuid() == geteuid(). + * application-src/amgtar.c: check_dir(argument->dle.device, R_OK) + +2008-06-19 Jean-Louis Martineau + * server-src/amcleanup.pl: Correctly rename amdump files. + +2008-06-19 Dustin J. Mitchell , Ian Turner + * man/Makefile.am man/xml-source/amanda-devices.7.xml: new manpage + * man/entities/global.entities: emails for dustin and ian + * man/xml-source/amanda.8.xml: refer to new manpage + * man/xml-source/amanda.conf.5.xml: refer to new manpage + * man/xml-source/amrecover.8.xml: refer to new manpage + * server-src/amcheck.c: fix message regarding WORM media + +2008-06-19 Dustin J. Mitchell + * server-src/amgetconf.pl: fail on bad parameters or subsections, but + not empty values or subsection lists + * perl/Amanda/Config.swg: publish a list of subsections + * installcheck/amgetconf.pl: test it + +2008-06-19 Dustin J. Mitchell + * example/template.d/amanda-single-tape.conf.in + example/template.d/amanda-harddisk.conf.in + example/template.d/amanda-tape-changer.conf.in + example/template.d/dumptypes example/template.d/amanda-S3.conf.in: + use application amgtar instead of program GNUTAR + +2008-06-19 Dustin J. Mitchell + * config/amanda/net.m4: AC_SUBST port ranges; update comments + +2008-06-19 Satya Ganga + * example/template.d/amanda-single-tape.conf.in + example/template.d/advanced.conf.in: update displayunit to "g" and + remove chg-manual for single tape configurations. + +2008-06-19 Ian Turner + * device-src/rait-device.c (rait_device_start): Check for consistent + volume label on all child devices, fail with + DEVICE_STATUS_DEVICE_ERROR otherwise. + * installcheck/Amanda_Device.pl: Test for foregoing. + +2008-06-19 Paddy Sreenivasan + * device-src/s3.h: use "https://ls.amazonaws.com/" as STS endpoint + +2008-06-19 Dustin J. Mitchell + * installcheck/Makefile.am: remove test_utils from SCRIPTS_PERL + * config/automake/scripts.am: explain why + +2008-06-18 Jean-Louis Martineau + * changer-src/chg-manual.sh: Make it interruptible. + +2008-06-18 Jean-Louis Martineau + * application-src/amgtar.c: Remove check for amandates file. + +2008-06-18 Jean-Louis Martineau + * common-src/amanda.h: Fix skip_quoted_string for "\\". + * common-src/file.c: Fix debug_agets for "\\". + +2008-06-18 Jean-Louis Martineau + * server-src/amstatus.pl: Report size of PART taped on 'dump to tape'. + +2008-06-18 Jean-Louis Martineau + * client-src/sendsize.c: Report error from application to server. + * application-src/amgtar.c: Report exit status of tar. + +2008-06-16 Dustin J. Mitchell + * perl/Amanda/Xfer.swg xfer-src/Makefile.am xfer-src/xfer-element.h + xfer-src/dest-device.c xfer-src/source-device.c: new elements + Amanda::Xfer:{Dest,Source}::Device + * perl/Amanda/Xfer.swg: POD fix for Amanda::Xfer:Filter::Xor + * installcheck/Amanda_Xfer.pl: tests for new elements + +2008-06-16 Dustin J. Mitchell + * installcheck/amservice.pl: add invocations of selfcheck for GNUTAR + and amgtar + * installcheck/amservice.pl: put -f switches first + +2008-06-15 Dustin J. Mitchell + * installcheck/Amanda_Config.pl: test config overwrites + * common-src/conffile.c: don't segfault applying config overwrites + after config_init(0, NULL) + +2008-06-13 Jean-Louis Martineau + * client-src/sendbackup.c: Run compression and encryption for + application-api. + +2008-06-13 Jean-Louis Martineau + * perl/Amanda/Util.swg: Expose get_original_cwd. + * application-src/amgtar_perl.pl, application-src/amoracle.pl: + chdir(get_original_cwd()) before restore. + +2008-06-13 Dustin J. Mitchell + * device-src/property.c device-src/property.h: remove tape properties + * device-src/tape-device.c device-src/tape-device.h: add tape + properties + +2008-06-12 Dan Locks + * packaging/rpm/amanda_enterprise.spec, + packaging/rpm/amanda_enterprise_client.spec, + packaging/deb/rules: install amgtar and amstar suid root + +2008-06-12 Jean-Louis Martineau + * client-src/selfcheck.c: Typo. + +2008-06-11 Jean-Louis Martineau + * client-src/sendsize.c: Check MAX-LEVEL from application. + * server-src/planner.c: Ask for estimate even if SERVER, estimate is + valid if client return -1 and invelid if client return -2. + * common-src/amfeatures.h: New fe_xml_estimate amfeature. + * common-src/amxml.c: Parse tag. + * common-src/amxml.h (dle_t): New estimate field. + * common-src/amfeatures.c: Set fe_xml_estimate. + +2008-06-11 Jean-Louis Martineau + * client-src/client_util.c (application_property_add_to_argv): + Add include and exclude. + * client-src/client_util.h (application_property_add_to_argv): + New prototype. + * client-src/sendbackup.c, client-src/sendsize.c, + client-src/selfcheck.c, recover-src/extract_list.c: + Add bsu param to application_property_add_to_argv. + * client-src/selfcheck.c: Check if application support includ/exclude. + * application-src/amgtar_perl.pl: Don't support include/exclude. + * application-src/amgtar.c: Support include-optional and + exclude-optional. + * common-src/amxml.c: Fix include/exclude parsing. + +2008-06-11 Jean-Louis Martineau + * application-src/Makefile.am: Install amgtar and amstar suid root. + +2008-06-11 Jean-Louis Martineau + * client-src/selfcheck.c: Print cmdline before execing the application. + * application-src/generic-dumper.pl: Cleanup. + * application-src/script-oracle.pl: Cleanup. + * application-src/script-email.pl: Cleanup. + * application-src/amgtar_perl.pl: Cleanup. + * application-src/generic-script.pl: Cleanup. + * application-src/Makefile.am: Remove all scripts from CHECK_PERL. + * perl/Amanda/Debug.swg: Typo. + +2008-06-10 Dustin J. Mitchell + * common-src/Makefile.am: don't use $(builddir), fix comparison + * installcheck/Makefile.am: don't use $(builddir) + +2008-06-10 Ian Turner + * common-src/fileheader.c: Silence a compiler warning. + * device-src/rait-device.c: ditto. + +2008-06-10 Dustin J. Mitchell + * device-src/rait-device.c: hack around glib bug in versions <2.10.2 + using the precompiler macro instead of glib_check_version, which + doesn't exist in every version of glib + +2008-06-10 Dan Locks + * packaging/rpm/amanda.spec: Replaced individual SBINDIR/am... entries + with SBINDIR/am* in %%files + +2008-06-10 Jean-Louis Martineau + * man/xml-source/amanda.conf.5.xml: Add pre&post recover scripts. + +2008-06-09 Dan Locks + * packaging/rpm/buildpkg: added "|| exit 1" to any command which should + cause the script to fail. + +2008-06-09 Dan Locks + * packaging/rpm/amanda.spec: Changed individual SBINDIR/am... entries to + use a single SBINDIR/am* entry in %files + +2008-06-09 Dustin J. Mitchell + * common-src/fileheader.c: correctly free dle_str + * device-src/device.c device-src/device.h: add volume_header Device + attributes + * device-src/rait-device.c device-src/s3-device.c + device-src/tape-device.c device-src/vfs-device.c: populate + volume_header + * server-src/amlabel.c: use volume_header to detect a non-empty tape + and require a force (-f) to overwrite it + * server-src/taperscan.c: use volume_header to detect a non-empty tape + and require 'amlabel -f' to overwrite it + * device-src/tape-device.c device-src/vfs-device.c: fix read_label + return values and remove useless chain-up calls + +2008-06-09 Jean-Louis Martineau + * server-src/amservice.c: Open input file in read mode, prepend + get_original_cwd() to relative path. + * installcheck/Makefile.am: Check amservice only on server. + +2008-06-09 Dustin J. Mitchell + * installcheck/Amanda_Device.pl: skip all RAIT tests temporarily + +2008-06-09 Dustin J. Mitchell + * man/xml-source/amanda.8.xml: add links to amservice + +2008-06-07 Dustin J. Mitchell + * config/amanda/ipv6.m4: remove redundant AC_SOCKADDR_STORAGE + * configure.in: don't call AC_SOCKADDR_STORAGE + +2008-06-07 Dustin J. Mitchell + * installcheck/Amanda_Xfer.pl: make AMANDA_TMPDIR if it doesn't exist + +2008-06-07 Dustin J. Mitchell + * installcheck/Installcheck/Run.pm: fix Installcheck::Run vtape + handling so that checks can load/unload vtapes "manually" + +2008-06-07 Dustin J. Mitchell + * server-src/amdevcheck.pl: apply config_overwrites before printing + config errors + +2008-06-07 Dustin J. Mitchell + * application-src/amgtar_perl.pl application-src/amstar_perl.pl + application-src/generic-dumper.pl application-src/generic-script.pl + application-src/script-email.pl server-src/amgetconf.pl: add GPL + notice + +2008-06-06 Jean-Louis Martineau + * server-src/amservice.c: Exit with 1 if the connection fail. + * man/xml-source/amservice.8.xml: Document exit code. + +2008-06-06 Dustin J. Mitchell + * device-src/device.c: make device_set_error bulletproof to NULLs + * device-src/tape-posix.c: fix compilation error when GMT_ONLINE is + not defined + +2008-06-06 Jean-Louis Martineau + * man/Makefile.am: Add amservice.8. + * man/xml-source/amservice.8.xml: New man page for amservice. + * server-src/amservice.c: New program to execute an amanda service + on a client. + * server-src/Makefile.am: Add amservice + * installcheck/amservice.pl: New check for amservice program. + * installcheck/Makefile.am: Add amservice + +2008-06-06 Jean-Louis Martineau + * server-src/dumper.c: Don't quote dle_str. + * common-src/fileheader.c: DLE= in header is like heredoc. + +2008-06-06 Dustin J. Mitchell + * device-src/*: major overhaul: + - add device_set_error to set error status and message for Device + - every error return from a device API method sets error status + - device_status_error is now threadsave + - a device in an error state will not perform further operations + - ensure Device attributes are set correctly by member functions + - device_open never returns NULL, but may return a null device with + error status set + - clearly define $device_name="$device_type:$device_node" + - send RAIT logging to the debug log + - vfs, tape devices don't touch the device until read_label or start + - on out-of-space in write, set is_eof, finish the file, and return + FALSE + - use accessor functions in Amanda::Device + - move device-specific properties to live with their devices + - change g_return_val_if_fail to g_assert or explicit checks + - remove most default Device methods, as they were more confusing + than helpful + - misc. other cleanup + * device-src/null-device.h device-src/rait-device.h + device-src/s3-device.h device-src/vfs-device.h: removed to make most + device class declarations local to the source file + * perl/Amanda/Device.swg: new error handling + * perl/Amanda/Changer.pm restore-src/amrestore.c restore-src/restore.c + server-src/amcheck.c server-src/amcheckdump.pl + server-src/amdevcheck.pl server-src/amlabel.c server-src/amtape.c + server-src/taperscan.c: use new device error-handling + * server-src/taper-file-source.c server-src/taper-port-source.c + server-src/taper-source.c: rename GObject constants (typo) + * server-src/taper-source.h: + * server-src/taper.c: handle opening devices better, log on EOM + * common-src/glib-util.c: g_english_strjoinv: handle one-element lists + correctly + * installcheck/amdevcheck.pl: volume-unlabeled message has changed + * installcheck/Amanda_Device.pl perl/Amanda/Tests.swg: test all device + classes + * configure.in device-src/tests/: removed + * device-src/vfs-test.c: moved from device-src/tests/ + +2008-06-06 Jean-Louis Martineau + * client-src/sendbackup.c: Don't write the uncompression program if + it is not client compressed. + +2008-06-05 Jean-Louis Martineau + * server-src/taper.c: Log no-tape line. + +2008-06-05 Jean-Louis Martineau + * server-src/reporter.c: Improve formating. + +2008-06-05 Jean-Louis Martineau + * server-src/driver.c: start the degraded mode if it receive + NO-NEW-TAPE from taper. + +2008-06-05 Jean-Louis Martineau + * server-src/amcheckdump.pl: Check log fiels in directory if find_log + find no log for the timestamps. + +2008-06-05 Dustin J. Mitchell + * common-src/conffile.c common-src/conffile.h: expose config_add_error + * server-src/diskfile.c server-src/diskfile.h: use config_add_error + to send diskfile errors to conffile's error-handling mechanism + * restore-src/amfetchdump.c server-src/amadmin.c server-src/amcheck.c + server-src/amcleanupdisk.c server-src/amflush.c server-src/amindexd.c + server-src/amtrmidx.c server-src/amtrmlog.c server-src/driver.c + server-src/planner.c: parse disklist along with config + +2008-06-04 Jean-Louis Martineau + And Dustin J. Mitchell + * man/xml-source/amanda-client.conf.5.xml: Document property. + * installcheck/Amanda_Config.pl: Add test for client property. + * common-src/conffile.c (client_var): Add CONF_PROPERTY. + +2008-06-03 Jean-Louis Martineau + * perl/Amanda/Types.swg: Add dle_str to dumpfile_t. + * common-src/fileheader.c: Don't print NULL dle_str. + +2008-06-03 Jean-Louis Martineau + * common-src/amfeatures.h: Rename fe_amrecover_dle to fe_amindexd_DLE, + add fe_amrecover_dle_in_header. + * common-src/amfeatures.c: Set fe_amrecover_dle_in_header. + * recover-src/set_commands.c: Use fe_amindexd_DLE. + * server-src/dumper.c: Set dle_str and add it to the header. + * restore-src/restore.c: Remove dle_str is client doesn't have + fe_amrecover_dle_in_header. + * common-src/fileheader.c: Parse and set dle_str from header. + * common-src/fileheader.h: Add dle_str in dumpfile_t. + +2008-06-03 Jean-Louis Martineau + * man/xml-source/amdump.8.xml, man/xml-source/amreport.8.xml, + man/xml-source/amcheck.8.xml, man/xml-source/amflush.8.xml, + man/xml-source/amstatus.8.xml: Add "EXIT CODE" section". + +2008-06-03 Jean-Louis Martineau + * common-src/conffile.c (parm_key_info): Don't fold '-' to '_' in + subsec_name. + * installcheck/amgetconf.pl: Fix and add more tests. + +2008-06-03 Dustin J. Mitchell + * common-src/amxml.c: give parse error on an empty "disk" element + * server-src/diskfile.c: give parse error on an empty "disk" element + +2008-05-30 Jean-Louis Martineau + * common-src/security-util.c: Remove unneeded pointer cast. + * common-src/stream.c: Fix compiler error. - * server-src/amcheck.c: Improve messages. +2008-05-30 Dustin J. Mitchell + * installcheck/Installcheck/Config.pm: fix subsection inheritance -2005-04-06 Jean-Louis Martineau - - * client-src/sendsize.c (generic_calc_estimates): Use amname instead - of dirname in message. - -2005-03-29 Jean-Louis Martineau - - * server-src/conffile.h: Rename getcont_unit_divisor to - getconf_unit_divisor. - * server-src/amadmin.c: Use getconf_unit_divisor. - * server-src/amcheck.c: Use getconf_unit_divisor. - * server-src/conffile.c: Use getconf_unit_divisor. - * server-src/conffile.c (unit_divisor): Init to 1. - * server-src/reporter.c: Use getconf_unit_divisor. The mb macro always - divide by 1024. Add the du macro. Use mb or du where appropriate. - -2005-03-16 Jean-Louis Martineau - - * server-src/infofile.h (history_t): Add secs field. - * server-src/infofile.c (read_txinfofile): Parse info file with secs - in history. - * server-src/infofile.c (write_txinfofile): Write secs in history. - * server-src/driverio.c (update_info_dumper): Update secs in history. - -2005-03-16 Jean-Louis Martineau - - * server-src/planner.c: Improve server estimate. - * server-src/planner.c: Write server estimate like others estimate. - -2005-02-14 Jean-Louis Martineau - - * server-src/amstatus.pl.in: last_level is negative, on new disk. - -2005-02-09 Jean-Louis Martineau - - * server-src/amstatus.pl.in: Use '-?' to match negative values - instead of '-*'. - -2005-02-09 Jean-Louis Martineau - Patch by Orion Poplawski - - * server-src/amoverview.pl.in: Print the total number of level 0 - dumps for each disk and the number of runs until the last level 0 - dump will be overwritten. - -2005-02-09 Jean-Louis Martineau - Patch by Phil Homewood - - * server-src/amoverview.pl.in: Add -skipmissed option. - -2005-02-09 Jean-Louis Martineau - - * server-src/driver.c: Print the chunksize to the log. - -2005-02-09 Jean-Louis Martineau - - * client-src/calcsize.c: Print estimate to STDERR. - * client-src/sendsize.c (generic_calc_estimates): Read calcsize result, - and send it to amandad. Write debuging message. - -2005-02-09 Jean-Louis Martineau - Patch by Franz G. Fischer - - * server-src/conffile.c: Adds a value type LONG and a val_t.l long - union member and changes get_number() to return long and - get_simple() to fill val_t.l if called for a long value. The - get_simple() calls have been changed to LONG for typetype_t.blocksize - typetype_t.length, typetype_t.filemark, holdingdisk_t.disksize and - holdingdisk_t.chunksize. - -2005-02-09 Jean-Louis Martineau - - * server-src/amdump.sh.in: Redirect in append mode. - * server-src/driver.c: Set stdout and stderr to not buffered. - * server-src/planner.c: Set stderr to not buffered. - Print 'setup_estimate:' on one line. - * server-src/amstatus.pl.in: Parse new 'setup_estimate:' line. - -2005-02-09 Jean-Louis Martineau - - * client-src/calcsize.c: Improve estimate for sparse file and count - space for filenames. - -2005-02-09 Jean-Louis Martineau - - * server-src/planner.c: Improve message if no incremental estimate. - -2004-12-21 Jean-Louis Martineau - Patch by Christopher Pascoe - - * common-src/match.c (match_glob, match_tar): Don't amfree(regex) - before calling error(). - -2004-11-22 Jean-Louis Martineau - - * server-src/driver.c (startaflush): Use ALGO_SMALLEST if nothing fit. - -2004-11-22 Jean-Louis Martineau - - * server-src/driver.c: Typo. - -2004-11-19 Jean-Louis Martineau - - * restore-src/amrestore.c: Should now work correctly with empty file. - * server-src/amverify.sh.in: Parse "End-of-Information detected." - message from amrestore. - -2004-11-19 Jean-Louis Martineau - - * server-src/driver.c: tape_left should not become negative. - -2004-11-19 Jean-Louis Martineau - Patch by Orion Poplawski - - * server-src/diskfile.c: Parse negative spindle (-1). - -2004-11-19 Jean-Louis Martineau - - * server-src/amadmin.c: Balance subcommand use displayunit. - * server-src/amcheck.c: Small cleanup. - -2004-11-19 Jean-Louis Martineau - - * restore-src/amrestore.c: Undo patch from 2004-11-11, it break - the file: dirver. - -2004-11-19 Jean-Louis Martineau - - * server-src/amstatus.pl.in: Remove trace. - -2004-11-16 Jean-Louis Martineau - - * server-src/diskfile.c: Compilation fix. - -2004-11-16 Jean-Louis Martineau - - * server-src/conffile.c: Parse displayunit, - new fonction getcont_unit_divisor(). - * server-src/conffile.h: Prototype of getcont_unit_divisor(). - * server-src/amcheck.c: Use displayunit to display holding disk size. - * server-src/amstatus.pl.in: Use displayunit to display dump size. - * server-src/reporter.c: use displayunit to display dump size. - * Document displayunit. - -2004-11-16 Jean-Louis Martineau - - * server-src/reporter.c: Change 'Daily' for 'Incr.'. - -2004-11-15 Jean-Louis Martineau - - * server-src/amstatus.pl.in Fix for level -1. - -2004-11-15 Jean-Louis Martineau - Patch by Daniel Widyono - - * changer-src/chg-zd-mtx.sh.in: Fix for library with barcode. - -2004-11-11 Jean-Louis Martineau - - * restore-src/amrestore.c: Read empty file. - -2004-11-10 Jean-Louis Martineau - - * tape-src/tapetype.c: Use new tape. - -2004-11-08 Jean-Louis Martineau - - * server-src/amstatus.pl.in: Display partial estimate. - -2004-11-08 Jean-Louis Martineau - - * server-src/diskfile.c (read_diskline): A spindle must be numerical. - -2004-10-21 Jean-Louis Martineau - - * server-src/holding.c (rename_tmp_holding): Always rename files. - -2004-10-21 Jean-Louis Martineau - - * server-src/driver.c: Print message when too many retry. - * server-src/amstatus.pl.in: Detect a failed dump after too many retry. - * amplot/amplot.awk: Parse these message. - -2004-10-21 Jean-Louis Martineau - - * server-src/driver.c (dump_to_tape): Don't retry a dump indefinitely - if dumper returns DONE and taper returns TRYAGAIN. - -2004-10-21 Jean-Louis Martineau - - * server-src/driver.c (dump_to_tape): Don't retry a dump indefinitely - if dumper returns TRYAGAIN and taper returns DONE. - -2004-10-20 Jean-Louis Martineau - - * server-src/amflush.c: Don't start a driver if nothing to flush. - -2004-10-14 Jean-Louis Martineau - Patch by Eric Siegerman - - * example/3hole.ps: Fix for multiple tape. - -2004-10-04 Jean-Louis Martineau - - * server-src/amverify.sh.in: Terminate if no tape online. - -2004-09-17 Jean-Louis Martineau - - * server-src/amadmin.c (main): Call check_dumpuser() as soon as posible. - -2004-09-17 Jean-Louis Martineau - - * server-src/conffile.c (getconf_byname): Special case for typ == BOOL. - -2004-09-17 Jean-Louis Martineau - - * server-src/planner.c (promote_hills): Use dumpcycle instead of - tapecycle. - * example/amanda.conf.in: Remove warning for tapecyle set to inf. - -2004-09-17 Jean-Louis Martineau - - * server-src/amadmin.c (balance): Don't core dump if DUMPCYLE is too - big. - -2004-09-15 Jean-Louis Martineau - - * tape-src/tapetype.c: New -o option, doesn't overwrite amanda - tape without -o. - * man/amtapetype.8.in: Document new -o option. - -2004-09-15 Jean-Louis Martineau - - * server-src/amstatus.pl.in: Works with failed dump to tape. - -2004-08-31 Jean-Louis Martineau - - * client-src/sendbackup-gnutar.c (end_backup): Write warning message - in not fatal error. - * server-src/dumper.c (process_dumpline): Parse warning message. - * server-src/reporter.c (handle_strange): Print warning message in - the STRANGE summary. - -2004-08-31 Jean-Louis Martineau - - * server-src/driverio.c (free_serial): Set stable[s].dp to NULL. - * server-src/driverio.c (disk2serial): Check that stable[s].dp == NULL. - -2004-08-31 Jean-Louis Martineau - Patch by Joe Rhett - - * common-src/alloc.c (safe_env): Keep SYSTEMROOT if __CYGWIN__. - -2004-08-31 Jean-Louis Martineau - Patch by Orion Poplawski - - * server-src/conffile.c (copy_dumptype): Copy maxpromoteday. - -2004-08-12 Jean-Louis Martineau - - * client-src/selfcheck.c (check_disk): More check for CALCSIZE. - -2004-08-11 Jean-Louis Martineau - - * common-src/amfeatures.h (fe_selfcheck_calcsize): New feature. - * common-src/amfeatures.c (am_init_feature_set): Set - fe_selfcheck_calcsize. - * client-src/selfcheck.c: Check if calcsize binary is available if - it is needed. - * server-src/amcheck.c (start_host): Call selfcheck with CALCSIZE - if it support fe_selfcheck_calcsize. - -2004-08-05 Jean-Louis Martineau - - * man/amanda.8.in: Document 'estimate' dumptype option. - -2004-08-04 Jean-Louis Martineau - - * server-src/amrmtape.sh.in: Understand history info. - -2004-08-03 Jean-Louis Martineau - - * server-src/driver.c: Typo. - -2004-08-03 Jean-Louis Martineau - - * server-src/amstatus.pl.in: Parse CONTINUE and RQ-MORE-DISK line, - print if a dump is waiting for holding disk space (roomq). - -2004-08-03 Jean-Louis Martineau - - * server-src/driver.c (handle_dumper_result, handle_chunker_result): - Don't call free_serial(). - * server-src/driver.c (dumper_result): Call free_serial_dp(dp). - * server-src/driverio.c (dumper_cmd): Remove CONTINUE cmd. - * server-src/driverio.c (chunker_cmd): Print serial number for CONTINUE - command. - * server-src/driverio.c (disk2serial): Try to find a 'dp' before - allocating a new serial. - * server-src/driverio.c (free_serial_dp): New function to remove the - serial for a dp. - * server-src/driverio.h (free_serial_dp): Prototype. - * server-src/chunker.c (databuf_flush): Read serial number for CONTINUE - command. - -2004-08-03 Jean-Louis Martineau - - * server-src/planner.c (getsize): Do SERVER estimate, call sendsize with - CALCSIZE estimate. - -2004-08-03 Jean-Louis Martineau - - * client-src/calcsize.c: Support exclude and include like gnutar, - change in program argument. - * client-src/sendsize.c: Execute calcsize as requested. - * common-src/amfeatures.h (fe_calcsize_estimate): New feature. - * common-src/amfeatures.c (am_init_feature_set): set - fe_calcsize_estimate. - * server-src/amcheck.c (start_host): Check if client support CALCSIZE - estimate. - -2004-08-03 Jean-Louis Martineau - - * server-src/conffile.h (ES_CLIENT, ES_SERVER, ES_CALCSIZE): New define - for estimate type. - * server-src/conffile.h (dumptype_t): Add 'estimate' and 's_estimate' - * server-src/conffile.c (get_estimate): New function to parse estimate - type, .... - * server-src/diskfile.c (read_diskline): Copy 'estimate'. - * server-src/diskfile.h (disk_t): Add 'estimate'. - * server-src/amadmin.c (disklist_one): Print estimate type. - -2004-08-02 Jean-Louis Martineau - - * common-src/match.c (match_tar, tar_to_regex): New fonction similar - to the exclude option of tar. - * common-src/amanda.h (match_tar, tar_to_regex): Prototype. - -2004-08-02 Jean-Louis Martineau - - * server-src/infofile.h (history_t): new struct. - * server-src/infofile.h (info_t): Add a history_t. - * server-src/infofile.c (read_txinfofile): Parse history data. - * server-src/infofile.c (write_txinfofile): Print history data. - * server-src/amadmin.c (export_one): export history data. - * server-src/amadmin.c (import_one): import history data. - * server-src/driverio.c (update_info_dumper): update history data. - -2004-05-10 Jean-Louis Martineau - Patch by Paul Bijnens - - * server-src/planner.c: Log L_DISK for autoflush disk. - -2004-05-03 Jean-Louis Martineau - - * server-src/planner.c (handle_result): Add dp to pestq at the - correct place. - -2004-04-30 Jean-Louis Martineau - - * common-src/amanda.h: #include "amanda-int.h" only if !CONFIGURE_TEST. - -2004-04-29 Jean-Louis Martineau - - * config/acinclude.m4i (AX_CREATE_STDINT_H) : New macro. - * configure.in: Use AX_CREATE_STDINT_H(common-src/amanda-int.h). - * common-src/amanda.h: include "common-src/amanda-int.h". - * changer-src/scsi-cam.c: Change u_int32_t for uint32_t. - -2004-04-27 Jean-Louis Martineau - - * configure.in: Fix for automake 1.8.4. - * config/acinclude.m4i: Fix for automake 1.8.4. - -2004-04-26 Jean-Louis Martineau - - * configure.in: Result of autoupdate. - -2004-04-26 Jean-Louis Martineau - - * config/config.guess: Update from automake 1.8. - * config/config.sub: Update from automake 1.8. - * config/depcomp: Update from automake 1.8. - * config/install-sh: Update from automake 1.8. - * config/missing: Update from automake 1.8. - * config/mkinstalldirs: Update from automake 1.8. - * config/ltmain.sh: Update from libtool-1.5.6. - * config/libtool.m4i: Update from libtool-1.5.6. - -2004-04-26 Marc Mengel - - * tape-src/output-rait.c: Verify reads correctly. - -2004-04-26 Jean-Louis Martineau - - * server-src/driver.c (continue_dumps): Fix deadlock if holding disk - fill up when in degraded mode. - -2004-04-23 Eric Siegerman - - Bug fix: amflush would run, and consume a tape, even if there - were no Amanda directories waiting to be flushed: - * common-src/sl.c (is_empty_sl): New function to test - whether a list is empty. - * common-src/sl.h (is_empty_sl): Prototype. - * server-src/amflush.sh (main): Use is_empty_sl(), - rather than ==NULL, to test emptiness of datestamp_list. - -2004-04-23 Jean-Louis Martineau - - * server-src/planner.c (setup_estimate): Typo. - -2004-04-22 Jean-Louis Martineau - - Allow bumpsize, bumppercent, bumpdays and bumpmult to be in a dumptype. - * server-src/conffile.c: Parse. - * server-src/conffile.h: Define. - * server-src/amadmin.c (disklist_one): Use. - * server-src/diskfile.c (read_diskline): Initialize. - * server-src/diskfile.h: Define. - * server-src/planner.c: Use. - * man/amanda.8.in: Document. - -2004-04-22 Jean-Louis Martineau - Fix by Paul Bijnens - - * server-src/planner.c (setup_estimate): Only ask for level 0 estimate - if strategy is noinc. - -2004-04-21 Jean-Louis Martineau - Documentation from Paul Bijnens - - * man/amoverview.8.in: Document results. - -2004-04-21 Jean-Louis Martineau - Patch by Paul Bijnens - - * server-src/amoverview.pl.in: Print last two characters. - -2004-04-16 Jean-Louis Martineau - - * changer-src/chg-disk.sh.in: Fix for sh compatibility. - -2004-04-14 Jean-Louis Martineau - Fix by John Koyle - - * common-src/dgram.c: Fix EAGAIN on Linux. - -2004-04-06 Jean-Louis Martineau - - * server-src/amadmin.c (bumpsize): Typo. - -2004-04-06 Jean-Louis Martineau - - New bumppercent global option. - * example/amanda.conf.in: Document it. - * man/amanda.8.in: Document it. - * server-src/amadmin.c (bumpsize): Write it. - * server-src/conffile.c: Parse it. - * server-src/conffile.h: Define It. - * server-src/planner.c (bump_thresh): New size_level_0 parameter, - use the new bumppercent option. - -2004-04-05 Jean-Louis Martineau - - * server-src/amadmin.c: Rename host_t to amhost_t. - * server-src/amcheck.c: Ditto. - * server-src/amindexd.c: Ditto. - * server-src/diskfile.c: Ditto. - * server-src/diskfile.h: Ditto. - * server-src/driver.c: Ditto. - * server-src/planner.c: Ditto. - -2004-03-26 Jean-Louis Martineau - - * amplot/amplot.awk: Parse "driver: tape size" line. - -2004-03-22 Stefan G. Weichinger - - * server-src/amcheck.c (start_host): Added warning for hostname - localhost. - * docs/TOP-TEN-QUESTIONS: added note about localhost-warning. - -2004-03-19 Jean-Louis Martineau - - * docs/Makefile.am (pkgdata_DATA): Add TOP-TEN-QUESTIONS. - -2004-03-18 Stefan G. Weichinger - - * docs/TOP-TEN-QUESTIONS: New file. - -2004-03-17 Jean-Louis Martineau - - * server-src/reporter.c (handle_success): Set stats[i].coutsize - correctly. - * server-src/taper.c: Do not subtract tt_blocksize_kb from filesize. - -2004-03-16 Jean-Louis Martineau - - * common-src/ssh-security.c: New ssh security driver. - * common-src/Makefile.am (libamanda_la_SOURCES): Add ssh-security.c. - * common-src/security.c: Add ssh security driver. - * configure.in: Add --with-ssh-security. Define SSH_SECURITY. - -2004-03-16 Jean-Louis Martineau - - * server-src/amcheck.c: Do labelstr check in correct order. - -2004-03-10 Jean-Louis Martineau - - Use only one time event for all dumpers, no wait event. - start_some_dumps is called everytime a dumper or taper finish. - * server-src/driver.c (dumpers_ev_time): New global event. - * server-src/driver.c (start_some_dumps): Remove dumper argument, - can start many dump. - * server-src/driver.c (dumper_result): Call start_some_dumps instead - of event_wakeup. - * server-src/driver.c (handle_idle_wait): Remove function. - * server-src/driver.c (handle_dumpers_time): new handle for - dumpers_ev_time, it call start_some_dumps. - * server-src/driverio.h (dumper_t): Remove ev_wait. - * server-src/driverio.c (startup_dump_process): Don't set ev_wait. - -2004-03-09 Jean-Louis Martineau - - * common-src/fileheader.c (print_header): Fix fprintf use. - * client-src/amqde.c (parse_exclude_path): Fix = by ==. - * common-src/protocol.c (s_repwait): Fix compiler warning. - * common-src/rsh-security.c (runrsh): Fix compiler warning. - -2004-03-05 Jean-Louis Martineau - - * common-src/pipespawn.c (pipespawn): Remove passwdvar and passwdfd. - -2004-02-13 Jean-Louis Martineau - Reported by Allen Liu - - * server-src/amverifyrun.sh.in: Replace '-e' test by '-f'. - -2004-02-13 Jean-Louis Martineau - - * server-src/amcheck.c: Verify the tape is listed in the tapelist file. - * server-src/taper.c: Ditto - -2004-02-13 Jean-Louis Martineau - - * server-src/driver.c (dump_schedule): Print complete name. - -2004-02-13 Jean-Louis Martineau - - The estimate send a PREP (partial REP) packet after each estimate. - * client-src/amandad.c: Send PREP packet if sendsize. - * common-src/amfeatures.c (am_init_feature_set): Add - fe_partial_estimate. - * common-src/amfeatures.h (am_feature_e): Add fe_partial_estimate. - * common-src/packet.c (pktypes[]): Add PREP. - * common-src/packet.h (pktype_t): Add P_PREP. - * common-src/protocol.c (action_t): Add A_CONTPEND. - * common-src/protocol.c: Handle P_PREP packet. - * server-src/amstatus.pl.in: Parse "got partial result" line. - * server-src/planner.c: Handle P_PREP packet. - -2004-02-13 Jean-Louis Martineau - Reported by Jason Brooks - - * server-src/reporter.c: Remove duplicate setting of cd to - &ColumnData[Level]. - -2004-02-12 Jean-Louis Martineau - Patch by Philippe Charnier - - * server-src/amtrmidx.c: Add '\n'. - -2004-02-11 Jean-Louis Martineau - - * recover-src/set_commands.c (cd_glob): Fix memory leak. - -2004-02-11 Jean-Louis Martineau - - * recover-src/set_commands.c (cd_dir, set_directory): Fix memory leak. - * recover-src/uscan.l: Fix double amfree. - -2004-02-02 Jean-Louis Martineau - - * server-src/driver.c: Build holding disk name with timestamp. - * server-src/holding.c (is_datestr): Check also for timestamp. - * server-src/planner.c: Flush today's dump with autoflush. - * server-src/find.c: Find holding disk with timestamp. - * server-src/find.h (find_result_t): Add timestamp field. - -2004-02-02 Jean-Louis Martineau - - * changer-src/chg-zd-mtx.sh.in: Works if all slot and tape are full. - -2004-02-02 Jean-Louis Martineau - - * server-src/amverifyrun.sh.in: Do not execute amverify if no tape - to verify. - -2004-02-02 Jean-Louis Martineau - - * server-src/amdump.sh.in: Do not redirect to /dev/null. - -2004-02-02 Jean-Louis Martineau - - * config/acinclude.m4i: Define CF_WAIT_INT. - * configure.in: Call CF_WAIT_INT. - * common-src/amanda.h: Try to make waitpid doesn't warn. - -2004-01-29 Jean-Louis Martineau - - * Makefile.am (EXTRA_DIST): Add contrib/mkamandisk. - -2004-01-29 Christoph Pospiech - - * configure.in (AC_CONFIG_FILES): Add changer-src/chg-iomega.pl. - * changer-src/Makefile.am (libexec_SCRIPTS) Add chg-iomega. - * changer-src/chg-iomega.pl.in: New changer script. - * docs/TAPE.CHANGERS: Document chg-iomega. - * contrib/mkamandisk: Script to format iomega disk. - -2004-01-29 Jean-Louis Martineau - - * restore-src/amidxtaped.c (scan_init): Remove the log file if it exit. - -2004-01-26 Jean-Louis Martineau - - * configure.in: Set GNUTAR_LISTED_INCREMENTAL_DIRX. - * example/amanda.conf.in: Update record documentation. - * man/amanda.8.in: Update record documentation. - -2004-01-14 Stefan G. Weichinger - - * docs/INSTALL: Add config for xinetd. - -2004-01-07 Jean-Louis Martineau - - * server-src/planner.c (handle_result): Detect bad estimate (-1). - * server-src/planner.c (analyze_estimate): Don't schedule level - if the estimate is bad. - -2003-12-16 Jean-Louis Martineau - - * docs/HOWTO-FILE-DRIVER: New file. - * docs/TAPE.CHANGERS: Explain chg-disk. - * docs/Makefile.am (pkgdata_DATA): add HOWTO-FILE-DRIVER. - -2003-12-02 Jean-Louis Martineau - - * docs/SYSTEM.NOTES: Add a note about sendsize coredump on AIX. - -2003-11-28 Jean-Louis Martineau - Patch by Jean-Christian SIMONETTI - - * changer-src/chg-disk.sh.in: New changer script. - * changer-src/Makefile.am (libexec_SCRIPTS): Add chg-disk. - * configure.in (AC_CONFIG_FILES): Add changer-src/chg-disk.sh. - -2003-11-28 Jean-Louis Martineau - - * tape-src/tapetype.c: extern int optind. - * tape-src/tapeio.c: extern int optind. - -2003-11-28 Jean-Louis Martineau - Patch by C.Scheeder - - * changer-src/sense.c (SenseType): Add "DAT AutoChanger" and "C1537A". - -2003-11-27 Jean-Louis Martineau - - * server-src/driver.c: Print the tape size. - * server-src/amstatus.pl.in: print % of tape use. - -2003-11-26 Jean-Louis Martineau - - * server-src/conffile.c (copy_dumptype): Copy in/exclude only if seen. - -2003-11-26 Jean-Louis Martineau - - * server-src/reporter.c (output_tapeinfo): Fix printing of new tape. - -2003-11-25 Jean-Louis Martineau - - * server-src/amcheck.c (taperscan_slot): Deal with label not in - tapelist case. - * server-src/amtape.c (taperscan_slot): Ditto. - * server-src/taper.c (taperscan_slot): Ditto. - -2003-11-24 Jean-Louis Martineau - - * server-src/driver.c (handle_taper_result): Always call - continue_dumps() in TRYAGAIN case. - -2003-11-21 Jean-Louis Martineau - - * changer-src/chg-chio.pl.in (getTapeStatus): Set $drives[$num] to 0 - if no tape in drive. - -2003-11-20 Jean-Louis Martineau - - * docs/Makefile.am (pkgdata_DATA): Add HOWTO-AFS. - -2003-11-18 Jean-Louis Martineau - Patch by Mitch Collinsworth - - * client-src/selfcheck.c: Skip accessibility check for AFS entries. - * docs/HOWTO-AFS: New file. - -2003-11-07 Jean-Louis Martineau - - * server-src/amadmin.c (tape): Display the next new tapes. - * server-src/reporter.c (output_tapeinfo): Ditto. - -2003-10-31 Jean-Louis Martineau - - * docs/Makefile.am (pkgdata_DATA): Add chg-scsi.notes. - -2003-10-31 Jean-Louis Martineau - - * server-src/amcheck.c (taperscan_slot): Set found=3 if new tape. - * server-src/amcheck.c (taper_scan): Handle found==3. - * server-src/amtape.c (taperscan_slot): Set found=3 if new tape. - * server-src/amtape.c (taper_scan): Handle found==3. - * server-src/taper.c (taperscan_slot): Set found=3 if new tape. - * server-src/taper.c (taper_scan): Handle found==3. - -2003-10-30 Jean-Louis Martineau - - * server-src/amcheck.c: Use stralloc(optarg). - * tape-src/ammt.c: Use stralloc(optarg). - * tape-src/tapetype.c: Use stralloc(optarg). - -2003-10-30 Jean-Louis Martineau - Patch by Jay Fenlason - - * server-src/dumper.c: Don't set SIGCHLD to SIG_IGN. - -2003-10-30 Jean-Louis Martineau - Patch by Andrew Rucker Jones - - * client-src/sendbackup-gnutar.c (AM_SIZE_RE): Fix regex for samba3. - -2003-10-27 Jean-Louis Martineau - - * server-src/amadmin.c (find): Call find_dump to allow dynamic disklist. - * server-src/amindexd.c: Call find_dump to allow dynamic disklist. - * server-src/amtrmidx.c: Call find_dump to allow dynamic disklist. - * server-src/diskfile.c (add_disk): Set device and todo. - * server-src/find.c: Build disklist dynamicaly from log files. - * server-src/find.h (find_dump): New prototype. - -2003-10-27 Jean-Louis Martineau - - * server-src/amlogroll.c: set_pname("amlogroll"). - -2003-10-24 Todd M. Kover - - * add amqde for "quick and dirty estimates" under gnutar (program - that will traverse the filesystem rather than invoke gnutar). - controlled via configure option --with-qde. This really wants to - be configured in the server. - -2003-10-24 Jean-Louis Martineau - - * server-src/amverify.sh.in: Fix usage message. - * common-src/fileheader.c (print_header): fprintf to outf. - * server-src/tapefile.c (lookup_last_reusable_tape): Check for - tp->datestamp > 0. - * server-src/amadmin.c (disklist_one): Don't print ':' on device line. - -2003-10-23 Todd Kover - - * make amrecover link against readline rather than libamanda so - only amrecover would require the shared library (if it's found) - -2003-10-22 Jean-Louis Martineau - Patch by Paul Bijnens - - * client-src/amandates.c (finish_amandates): Call error() if the - close of amdf fail. - * common-src/amflock.c (create_lock): Return -1 if the close of f fail. - * common-src/amflock.c (read_lock): Don't set f to NULL if the close - fail. - * server-src/tapefile.c (write_tapelist): Return 1 if the close of - tapef fail. - -2003-10-14 John R. Jackson (jrj@purdue.edu) - - * docs/SYSTEM.NOTES: Add FreeBSD 5.1 note about setting the UDP packet - size, compliments of Nicolas Ecarnot . - -2003-10-14 John R. Jackson (jrj@purdue.edu) - - * client-src/sendsize.c: Handle case where PID's get re-used. - -2003-10-14 John R. Jackson (jrj@purdue.edu) - - * configure.in: Need to check for sys/gscdds.h on AIX to enable - SCSI changer. - -2003-10-07 Jean-Louis Martineau - - * common-src/genversion.c (prundefvar): New function to print an - undefined variable. - * common-src/genversion.c: Print undefined variable. - * server-src/amcheck.c: Improve message for no LPRCMD defined. - -2003-07-08 Jean-Louis Martineau - - * restore-src/amidxtaped.c: Don't clea re_label before checking - for the changer. - -2003-07-07 Jean-Louis Martineau - Patch by Scott Mcdermott - - * changer-src/chg-zd-mtx.sh.in (initial_poll_delay): New config - variable to add a pause after a tape loading. - -2003-07-07 Jean-Louis Martineau - Fix by John E. Hein - - * changer-src/chg-manual.sh.in: Quote @EGREP@. - * changer-src/chg-null.sh.in: Quote @EGREP@. - -2003-07-07 Jean-Louis Martineau - - * amplot/amplot.sh.in: Remove files before runnig amplot.awk. - * amplot/amplot.awk: Parse 'flush line', fix tape_wait line. - * server-src/driver.c (read_flush): Write a 'flush size' to the - debug file. - -2003-07-07 Jean-Louis Martineau - - * changer-src/chg-chio.pl.in: Fix next/prev command. - -2003-07-02 Jean-Louis Martineau - patch by Paul Bijnens - - * client-src/client_util.c (add_include): Count include with 2 /, - Fix descriptor leak. - -2003-06-25 Jean-Louis Martineau - - * server-src/amstatus.pl.in: Fix print spacing for idle dumpers. - -2003-06-20 Jean-Louis Martineau - - * server-src/holding.c: Fix compiler error. - * server-src/planner.c: Use snprintf. - -2003-06-20 Jean-Louis Martineau - patch by Paul Bijnens - - * tape-src/tapetype.c: Avoid a numerical overflow for large tape - capacities. - -2003-06-20 Jean-Louis Martineau - - * server-src/amstatus.pl.in: Fix to failed tape. - -2003-06-18 Jean-Louis Martineau - - * server-src/planner.c (delay_dumps): Delay not delay forced full - before forced full. - -2003-06-18 Jean-Louis Martineau - - * changer-src/chg-zd-mtx.sh.in: Log the changer file used. - -2003-06-11 Jean-Louis Martineau - - * server-src/amverify.sh.in: Do not advance to next tape. - -2003-06-10 Jean-Louis Martineau - patch by Eric Siegerman - - * server-src/planner.c: Make promote_hills() honour maxpromotedays. - -2003-06-05 Jean-Louis Martineau - - * changer-src/scsi-bsd.c: Use pDev[DeviceFD].fd instead of DeviceFD. - * changer-src/scsi-hpux_new.c:Use pDev[DeviceFD].fd instead of DeviceFD. - * changer-src/scsi-linux.c: Use pDev[ip].fd instead of DeviceFD. - -2003-06-05 Jean-Louis Martineau - - * client-src/noop.c: #include "util.h". - -2003-06-05 Jean-Louis Martineau - - * server-src/amflush.c: Implement new -b and -s options. - * man/amflush.8.in: Document it. - -2003-06-05 Jean-Louis Martineau - - * server-src/driver.c (dump_to_tape): Don't go in degraded mode if - taper reply DONE. - -2003-06-05 Jean-Louis Martineau - - * tape-src/output-rait.c: Don't call waitpid if we didn't fork. - -2003-06-04 Jean-Louis Martineau - - * server-src/amverify.sh.in: Use @MAXTAPEBLOCKSIZE@ instead of 32. - -2003-06-03 Jean-Louis Martineau - Bug reported by Sven Rudolph - - * server-src/holding.c (mkholdingdir): New function to create a holding - directory. - * server-src/holding.h (mkholdingdir): Prototype. - * server-src/driver.c: Use mkholdingdir; - * server-src/chunker.c: Call mkholdingdir before opening a file for - writing. - -2003-06-02 Jean-Louis Martineau - Patch by Paul Bijnens - - * server-src/amstatus.pl.in: Fix for missing amdump.1 or amflush.1. - -2003-06-02 Jean-Louis Martineau - Patch by Paul Bijnens - - * server-src/amstatus.pl.in: If nothing is active, it now gives the - status of the last run (amdump or amflush). - * man/amstatus.8.in: Document it. - -2003-05-29 Jean-Louis Martineau - - * tape-src/output-file.c (check_online): Write error if opendir failed. - -2003-05-29 Jean-Louis Martineau - Patch by Paul Bijnens - - * server-src/amoverview.pl.in: Use 'amadmin disklist' instead - of parsing the disklist file. - -2003-05-27 Jean-Louis Martineau - - * server-src/tapefile.c (read_tapelist,parse_tapeline): Fix for - previous patch. - -2003-05-20 Jean-Louis Martineau - - * common-src/versuff.c.in: Use @VERSION_SUFFIX@. - -2003-05-16 Jean-Louis Martineau - - * example/amanda.conf.in: Add more amrecover_changer doc. - * man/amanda.8.in: Add more amrecover_changer doc. - * man/amrecover.8.in: Add more amrecover_changer doc. - -2003-05-12 Jean-Louis Martineau - - * server-src/tapefile.c (read_tapelist): Ignore blank line. - * server-src/tapefile.c (parse_tapeline): Newer status parameter, set - it to '1' when reading blank line. - -2003-04-28 Jean-Louis Martineau - - * configure.in (AC_CHECK_HEADERS): Enleve linux/ftape-header-segment.h, - linux/ftape-vendors.h et linux/ftape.h. - -2003-04-28 Jean-Louis Martineau - Patch by Darin Dugan - - * server-src/amcheck.c: Change subject in email if no error. - -2003-04-26 Jean-Louis Martineau - - * common-src/error.c (output_error_message): Always prepend program - name. - -2003-04-15 Jean-Louis Martineau - - * server-src/amstatus.pl.in: Fix for estimate disk. - -2003-04-14 Jean-Louis Martineau - - * server-src/taper.c: Read holding file correctly if blocksize != 32k. - -2003-04-13 Jean-Louis Martineau - New file by Robert C Dege - - * configure.in: Find mcutil binary. - * configure.in (AC_CONFIG_FILES): Add changer-src/chg-mcutil.sh and - example/chg-mcutil.conf. - * changer-src/Makefile (libexec_SCRIPTS): Add chg-mcutil. - * changer-src/chg-mcutil.sh.in: New file. - * example/Makefile (EXTRA_DIST): Add chg-mcutil.conf - * example/chg-mcutil.conf.in: New file. - -2003-04-08 Jean-Louis Martineau - - * man/amanda.8.in (blocksize): Document the --with-maxtapeblocksize - configure option. - -2003-04-02 Jean-Louis Martineau - - * server-src/amverifyrun.sh.in: Run the amverify command. - -2003-04-02 Jean-Louis Martineau - Patch by Paul Bijnens - - * server-src/reporter.c: Get the filenumber correct. - -2003-04-01 Jean-Louis Martineau - Patch by Paul Bijnens - - * server-src/reporter.c: Print a postscript label for each tape used. - -2003-03-18 Jean-Louis Martineau - - * configure.in (*-sco3.2v4*): It is not like *-sco3.2v5*, - define DEV_PREFIX and RDEV_PREFIX. - -2003-03-17 Jean-Louis Martineau - - * configure.in: Typo. - -2003-03-17 Jean-Louis Martineau - Patch by Gert Doering - - * client-src/getfsent.c (get_fstab_nextentry): Compile on *-sco3.2v4*. - -2003-03-17 Jean-Louis Martineau - - * configure.in: Compile on *-sco3.2v4* - -2003-03-17 Jean-Louis Martineau - - * configure.in: Use '=' instead of '=='. - -2003-03-14 Jean-Louis Martineau - - * recover-src/set_commands.c (set_tape): Recognize null:, rait:, - file: and tape: as driver, not host name. - -2003-03-14 Jean-Louis Martineau - - * server-src/amrmtape.sh.in: Print better output. - -2003-03-13 Jean-Louis Martineau - - * changer-src/Makefile.am (libexec_SCRIPTS): Missing \. - -2003-03-08 Jean-Louis Martineau - - * client-src/client_util.c (add_include): If include contain 2 '/' then - use at asis, don't try to match it. - -2003-03-07 Jean-Louis Martineau - - * server-src/changer.h (changer_label): Return an int. - * server-src/changer.h (changer_label): First parameter is char *. - -2003-03-07 Jean-Louis Martineau - - * file tape-src/output-rait.c (rait_open): Call tapefd_set_master_fd(); - * file tape-src/tapeio.c (struct tape_info): Add master_fd field. - * file tape-src/tapeio.c (tape_info_init): Set master_fd to -1; - * file tape-src/tapeio.c (tapefd_getinfo_host, tapefd_getinfo_disk, - tapefd_getinfo_level): Return info of master_fd. - * file tape-src/tapeio.c (tapefd_set_master_fd): New function to set - master_fd. - * file tape-src/tapeio.h (tapefd_set_master_fd): Prototype. - -2003-03-06 Jean-Louis Martineau - - * tape-src/output-file.c (file_tapefd_can_fork): New function that - return 1 if the file: can be run under a forked process. - * tape-src/output-file.h (file_tapefd_can_fork): Prototype. - * tape-src/output-null.c (null_tapefd_can_fork): New function that - return 1 if the null: can be run under a forked process. - * tape-src/output-null.h (null_tapefd_can_fork): Prototype. - * tape-src/output-rait.c (rait_close, rait_tapefd_ioctl): Fork only if - * tapefd_can_fork() return 1. - * tape-src/output-rait.c (rait_tapefd_can_fork): New function that - return 1 if the rait: can be run under a forked process. - * tape-src/output-rait.h (rait_tapefd_can_fork): Prototype. - * tape-src/output-tape.c (tape_tapefd_can_fork): New function that - return 1 if the tape: can be run under a forked process. - * tape-src/output-tape.h (tape_tapefd_can_fork): Prototype. - * tape-src/tapeio.c (struct virtualtape): Add xxx_tapefd_can_fork and - initialize vtable[]; - * tape-src/tapeio.c (tapefd_can_fork): New function to can the driver - xxx_tapefd_can_fork function. - * tape-src/tapeio.h (tapefd_can_fork): Prototype. - -2003-03-05 Jean-Louis Martineau - - * tape-src/output-file.c (file_tapefd_write): Call file_release(fd) - before opening the file for writing. - -2003-03-04 Jean-Louis Martineau - - * changer-src/chg-zd-mtx.sh.in: Default for driveslot is 0. - -2003-03-04 Jean-Louis Martineau - - * amplot/amplot.sh.in: New -b option for b/w postscript. - * amplot/amplot.awk: Add 'color' to command if bw is set. - * amplot/amplot.g: Change line 6 to line 8. - * man/amplot.8: Document -b option. - -2003-03-04 Jean-Louis Martineau - - * recover-src/extract_list.c: Fix the name of the - amidxtaped..debug file. - -2003-02-28 Jean-Louis Martineau - Patch by Eric Doutreleau - - * restore-src/amidxtaped.c: Use the device sent by the changer. - -2003-02-28 Jean-Louis Martineau - - * restore-src/amidxtaped.c: Remove lock 'unlink(conf_logfile)' on - all failure path. - -2003-02-28 Jean-Louis Martineau - - * server-src/changer.c: Sync with 2.4.4. - -2003-02-21 Jean-Louis Martineau - - * client-src/client_util.c: Print error except ENOENT for - exclude/include files. - -2003-02-20 Jean-Louis Martineau - - * tape-src/tapetype.c: Use %ld to print some variable. - -2003-02-20 Jean-Louis Martineau - - * server-src/conffile.c (init_defaults): conf_printer.s must be set - with stralloc(""). - -2003-02-12 Jean-Louis Martineau - Patch by Paul Bijnens - - * tape-src/tapetype.c: Document -c option. - -2003-02-12 Jean-Louis Martineau - - * changer-src/chg-zd-mtx.sh.in:Print "are you sure your drive slot is n" - -2003-02-12 Jean-Louis Martineau - - * server-src/tapefile.c (read_tapelist): return 1 if can't open the - tapelist file. - -2003-02-12 Jean-Louis Martineau - - * man/amtapetype.8.in: Add doc from a mail by John R. Jackson. - -2003-02-11 Jean-Louis Martineau - - * server-src/amcheck.c: New -a option. - * man/amcheck.8.in: Document it. - -2003-02-11 Jean-Louis Martineau - - * server-src/amindexd.c (build_disk_table): Compare the level. - -2003-02-10 Jean-Louis Martineau - Patch by Paul Bijnens - - * tape-src/tapetype.c: New -c argument to do only the compression test. - Better detection of compression. - * man/amtapetype.8.in: Document -c argument. - -2003-02-09 John R. Jackson (jrj@purdue.edu) - - * tape-src/tapetype.c: Allocate the I/O buffers on page boundaries. - This helps performance on some OS's. - -2003-02-08 John R. Jackson (jrj@purdue.edu) - - * restore-src/amrestore.c: Clean up strtol() argument processing. - -2003-02-08 John R. Jackson (jrj@purdue.edu) - - * docs/INSTALL: Clean up supporting package versions and URL's. - -2003-02-06 Jean-Louis Martineau - - * docs/Makefile.am (pkgdata_DATA): Add HOWTO-CYGWIN.html. - -2003-02-04 Jean-Louis Martineau - Patch by Christophe Kalt - - * client-src/sendbackup-dump.c: New AM_SIZE_RE for NetApp. - * client-src/sendsize.c: New re_size for NetApp. - -2003-02-04 Jean-Louis Martineau - Fix by Colin Henein - - * common-src/amanda.h: Fix for the where S_ISDIR is not defined. - -2003-02-03 Jean-Louis Martineau - Patch by Doug Kingston - - * configure.in (NEED_SETUID_CLIENT): Set to false on *-pc-cygwin. - * configure.in (WANT_SETUID_CLIENT): Set if NEED_SETUID_CLIENT != false. - * client-src/Makefile.am: Don't chmod u+s if WANT_SETUID_CLIENT. - -2003-02-03 Jean-Louis Martineau - Patch by Andrew Rucker Jones - - * man/amtapetype.8.in: Fix example. - -2003-01-31 Jean-Louis Martineau - - * common-src/amanda.h: #define S_ISDIR if not already defined. - -2003-01-31 Jean-Louis Martineau - File from Doug Kingston - - * docs/HOWTO-CYGWIN.html: New file. - -2003-01-30 Jean-Louis Martineau - - * configure.in: Define WANT_RUNTIME_PSEUDO_RELOC on cygwin - * client-src/Makefile.am: AM_LDFLAGS="-Wl,-enable-runtime-pseudo-reloc" - if WANT_RUNTIME_PSEUDO_RELOC. - * recover-src/Makefile.am: Ditto. - -2003-01-28 Jean-Louis Martineau - - * tape-src/output-rait.h: #define stralloc strdup - * tape-src/output-rait.c: Revert patch of 2003-01-26, we don't have - vstralloc in standalone. - -2003-01-27 Jean-Louis Martineau - Reported by Doug Kingston - - * recover-src/Makefile.am: Set AM_YFLAGS instead of YFLAGS. - -2003-01-26 Jean-Louis Martineau - - * tape-src/output-rait.c (tapeio_next_devname): Use vstralloc. - -2003-01-26 Jean-Louis Martineau - - * changer-src/chg-scsi-chio.c: Change strdup to stralloc. - * changer-src/chg-scsi.c: Ditto. - * changer-src/scsi-aix.c: Ditto. - * changer-src/scsi-bsd.c: Ditto. - * changer-src/scsi-cam.c: Ditto. - * changer-src/scsi-changer-driver.c: Ditto. - * changer-src/scsi-hpux_new.c: Ditto. - * changer-src/scsi-irix.c: Ditto. - * changer-src/scsi-linux.c: Ditto. - * changer-src/scsi-solaris.c: Ditto. - * changer-src/sense.c: Ditto. - * tape-src/output-rait.c: Ditto. - -2003-01-26 Jean-Louis Martineau - - * server-src/taper.c (read_file): Don't count header in filesize. - -2003-01-25 John R. Jackson (jrj@purdue.edu) - - * tape-src/tapeio.c: Fix tape_access() and tape_stat() problem caused - by indeterminate compiler order of evaluation. - -2003-01-25 John R. Jackson (jrj@purdue.edu) - - * restore-src/amidxtaped.c: Log errno when tape_stat fails. - * restore-src/amrestore.c: Ditto. - * tape-src/output-rait.c: Ditto. - -2003-01-24 Jean-Louis Martineau - - * server-src/amstatus.pl.in: print an usage by tape. - -2003-01-23 Jean-Louis Martineau - - * recover-src/extract_list.c (add_extract_item, delete_extract_item): - Check also for level when comparing label. - -2003-01-17 Jean-Louis Martineau - - Do not build chg-scsi-chio, it is buggy. - * changer-src/Makefile.am (libexec_PROGRAMS): remove $(CHIO_SCSI). - * changer-src/Makefile.am (EXTRA_PROGRAMS): add $(CHIO_SCSI). - -2003-01-16 Jean-Louis Martineau - - * configure.in: disable amrestore if --without-server is set. - -2003-01-04 Jean-Louis Martineau - - * client-src/amandad.c: Use the dbfd macro instead of the external - variable db_fd. - * client-src/selfcheck.c: Ditto. - * client-src/sendbackup.c: Ditto. - * client-src/sendsize.c: Ditto. - * client-src/sendbackup-gnutar.c: Use save_errno instead of errno. - * common-src/debug.c: Move most declaration inside #ifdef DEBUG_CODE. - * server-src/amindexd.c: dup db_fd() to stderr. - * server-src/conffile.c: Don't call error() if the config file does not - exist, just write to stderr and set got_parserror. - -2003-01-03 Jean-Louis Martineau - - * recover-src/amrecover.c: Fix memory leak. - -2003-01-03 Jean-Louis Martineau - - Add new maxpromoteday option in a dumptype. - * example/amanda.conf.in: Give an example - * man/amanda.8.in: Document it. - * server-src/amadmin.c: Print it in the disklist subcommand. - * server-src/conffile.c: read it. - * server-src/conffile.h (dumptype_t): Add maxpromoteday and - s_maxpromoteday. - * server-src/diskfile.c (read_diskline): Copy maxpromoteday from - dumptype_t to disk_t. - * server-src/diskfile.h (disk_t): Add maxpromoteday. - * server-src/planner.c (promote_highest_priority_incr): Don't promote - a disk if est(dp)->next_level0 > dp->maxpromoteday. - -2003-01-02 Jean-Louis Martineau - Reported by Josh More - - * client-src/client_util.c (add_exclude, add_include): Remove the - need for MAXPATHLEN. - -2003-01-02 Jean-Louis Martineau - Fix by Josh More - - * tape-src/output-tape.c: Add a ; after f = MT_UNLOAD - -2003-01-01 Jean-Louis Martineau - Undo patch of 2002-11-27. That doesn't work well for the planner. - - * common-src/amanda.h (days_diff): Revert to old macro. - * server-src/amadmin.c: Undo Fix for newer days_diff. - * server-src/planner.c: Undo Fix for newer days_diff. - -2003-01-01 Jean-Louis Martineau - - * client-src/client_util.c: Fix memory leak reported by valgrind. - * client-src/selfcheck.c: Ditto. - * client-src/sendbackup.c: Ditto. - * client-src/sendsize.c: Ditto. - * common-src/amfeatures.c: Ditto. - * common-src/debug.c: Ditto. - * recover-src/amrecover.c: Ditto. - * recover-src/extract_list.c: Ditto. - * recover-src/set_commands.c: Ditto. - * recover-src/uparse.y: Ditto. - * recover-src/uscan.l: Ditto. - * server-src/amindexd.c: Ditto. - * server-src/amlabel.c: Ditto. - * server-src/amtape.c: Ditto. - * server-src/amtrmidx.c: Ditto. - * server-src/amtrmlog.c: Ditto. - * server-src/changer.c: Ditto. - * server-src/conffile.c: Ditto. - * server-src/driver.c: Ditto. - * server-src/driverio.c: Ditto. - * server-src/dumper.c: Ditto. - * server-src/find.c: Ditto. - * server-src/holding.c: Ditto. - * server-src/logfile.c: Ditto. - * server-src/planner.c: Ditto. - * server-src/reporter.c: Ditto. - * server-src/tapefile.c: Ditto. - * server-src/taper.c: Ditto. - -2002-12-30 Jean-Louis Martineau - - * amplot/amplot.awk: Many fix. - -2002-12-30 Jean-Louis Martineau - - * server-src/planner.c (promote_highest_priority_incremental): Promote - a disk > balanced size if no full today. Do not promote a disk it's - the only disk due that day and no full today. - -2002-12-30 Jean-Louis Martineau - Patch by Brad Roberts - - * server-src/amflush.c: Remove 2 redundant amfree call after remove_sl. - * server-src/holding.c (get_flush): Ditto. - -2002-12-27 Jean-Louis Martineau - - * server-src/conffile.c: New taperalgo configuration keyword. - * server-src/conffile.h: Ditto. - * man/amanda.8.in: Document it. - * server-src/driver.c (startaflush): New function to start a flush to - tape. - -2002-12-27 Jean-Louis Martineau - - * server-src/diskfile.c (parse_diskline): Allow skip in dumptype. - -2002-12-23 Jean-Louis Martineau - - * server-src/amstatus.pl.in: Parse features from PORT-WRITE line. - -2002-12-19 Jean-Louis Martineau - - Don't use the G flag for samba backup restore by tar. - * recover-src/extract_list.c (enum dumptypes): Add IS_SAMBA_TAR. - * recover-src/extract_list.c (extract_files_child): Set dumptype to - IS_SAMBA_TAR if it's a SAMBA backup. Don't pass the G flag to tar - if it's IS_SAMBA_TAR. - -2002-12-18 Jean-Louis Martineau - - * amplot/amplot.awk: Parse line with features, parse ENDFLUSH line. - -2002-12-17 Jean-Louis Martineau - - * server-src/planner.c (promote_highest_priority_incremental): Newer - algorithm that reduce the number of level 0 by hosts on a single day. - -2002-12-17 Jean-Louis Martineau - - * amplot/amplot.awk: Parse newer log lines. - -2002-12-11 Jean-Louis Martineau - * server-src/reporter.c (output_stats): Typo. - -2002-12-09 Jean-Louis Martineau - - * server-src/reporter.c: Print an usage by tape. - -2002-12-05 Jean-Louis Martineau - - * tape-src/tapeio.c (do_read): Init count to 0. - -2002-12-05 Jean-Louis Martineau - - * tape-src/Makefile.am: Install tapetype program as amtapetype. - * docs/TAPETYPES: Change for amtapetype. - * man/amtapetype.8.in: New man page - * man/Makefile.am: Install it. - * configure.in (AC_CONFIG_FILES): Add man/amtapetype.8. - -2002-12-03 Jean-Louis Martineau - - * tape-src/ammt.c (optind): Add prototype. - * tape-src/amdd.c (optind): Add prototype. - -2002-12-03 Jean-Louis Martineau - - * common-src/arglist.h (printf_arglist_function, - printf_arglist_function1, printf_arglist_function2): Define if - STDC_HEADERS is not defined. - -2002-12-03 Jean-Louis Martineau - - * server-src/amstatus.pl.in: New --date option to display datestamp. - * server-src/amstatus.pl.in: Increase some field size. - * server-src/amstatus.pl.in: The host field adjust it's length to the - largest. - -2002-11-27 Jean-Louis Martineau - - * common-src/amanda.h (days_diff): Don't add a half day. - * server-src/amadmin.c: Fix for newer days_diff. - * server-src/planner.c: Fix for newer days_diff. - -2002-11-26 Jean-Louis Martineau - - * client-src/amandad.c: Fix compiler warning. - * common-src/Makefile.am (bsdsecurity): Link with file.o. - * common-src/bsd-security.c: Fix compiler warning. - * common-src/bsd-security.c (construct_datestamp, construct_timestamp): - Add function if TEST. - * server-src/chunker.c: Fix compiler warning. - * server-src/dumper.c: Fix compiler warning. - -2002-11-26 Jean-Louis Martineau - - * tape-src/tapetype.c: Cast time_t to long for printing. - -2002-11-26 Jean-Louis Martineau - - * server-src/amflush.c: Write a "amflush: start at ???" line. - * server-src/amstatus.pl.in: parse the "amflush: start at ???" line. - -2002-11-25 Jean-Louis Martineau - - * server-src/planner.c (delay_dumps): Use snprintf. - -2002-11-25 Jean-Louis Martineau - - * common-src/debug.c: Most of the code must in #ifdef DEBUG_CODE. - * client-src/client_util.c: Use AMANDA_TMPDIR instead of AMANDA_DBGDIR. - -2002-11-24 Jean-Louis Martineau - - * docs/TAPE.CHANGERS: Sync with 2.4.3. - -2002-11-24 Jean-Louis Martineau - - * server-src/amadmin.c: Cleanup. - -2002-11-23 Jean-Louis Martineau - - * man/amadmin.8.in: Document new --days option of balance subcommand. - -2002-11-23 Jean-Louis Martineau - - * server-src/amadmin.c (days_diff): Make next_level0 more acurate. - * server-src/amadmin.c (balance): Improve output. - -2002-11-23 Jean-Louis Martineau - - * recover-src/extract_list.c: Add Retry and Skip command to amrecover. - -2002-11-23 Jean-Louis Martineau - - * tape-src/output-tape.c (tape_tapefd_fsf): Must not be static. - -2002-11-19 Jean-Louis Martineau - - * server-src/reporter.c: Fix for LPRCMD not defined. - -2002-11-14 Marc Mengel - - New changer scripts for use with rait: code, run several other - changers in tandem and return a rait: tape device. Makes fake - amanda.conf files under AMANDA_DEBUGDIR for each changer used, - then cleans up. - - * changer-src/chg-rait.sh.in: New file. Multi-changer script. - * changer-src/chg-null.sh.in: New File. Null-device changer script. - * docs/TAPE.CHANGERS: Descriptions of above. - * configure.in: added above files. - * changer-src/Makefile.am: Likewise. - -2002-11-14 Jean-Louis Martineau - Patch by Orion Poplawski - - * server-src/planner.c (delay_dumps): Add the estimate size to all call - of delay_one_dump. - -2002-11-13 Jean-Louis Martineau - - * server-src/reporter.c: Increase width of some field. - -2002-11-12 Jean-Louis Martineau - - * changer-src/scsi-solaris.c (SCSI_ExecuteCommand): Init ret to 0. - -2002-11-12 Jean-Louis Martineau - - * recover-src/extract_list.c (delete_file): j is int. - * changer-src/scsi-defs.h (B, B1): Check if already defined. - * server-src/taper.c: Some cast to int. - * tape-src/amdd.c (read_func, write_func): Complete prototype. - * tape-src/tapeio.h (tapefd_read, tapefd_write): return ssize_t, - third argument is size_t. - * tape-src/tapeio.c: Ditto. - * tape-src/output-file.h (file_tapefd_read, file_tapefd_write): return - ssize_t, third argument is size_t. - * tape-src/output-file.c: Ditto. - * tape-src/output-null.h (null_tapefd_read, null_tapefd_write): return - ssize_t, third argument is size_t. - * tape-src/output-null.c: Ditto. - * tape-src/output-rait.h (rait_read, rait__write): return ssize_t, - third argument is size_t. - * tape-src/output-rait.c: Ditto. - * tape-src/output-tape.h (tape_tapefd_read, tape_tapefd_write): return - ssize_t, third argument is size_t. - * tape-src/output-tape.c: Ditto. - -2002-11-12 Jean-Louis Martineau - - * configure.in: socklen_t default to int. - * common-src/dgram.c (dgram_recv): addrlen is socklen_t. - * common-src/stream.c (stream_server): len is socklen_t. - * recover-src/extract_list.c (add_file): j is int. - -2002-11-12 Jean-Louis Martineau - - * client-src/client_util.c (test_name_len) Remove variable. - * common-src/match.c (len_prefix): Change type to int. - * server-src/taper.c: Use %p to print pointer. - * tape-src/amdd.c (read_func, write_func):Change return type to ssize_t. - * tape-src/amdd.c (debug): Renamed to debug_amdd. - * tape-src/ammt.c (debug): Renamed to debug_ammt. - -2002-11-11 Jean-Louis Martineau - - * restore-src/amidxtaped.c: Fix restore from file. - -2002-11-07 Jean-Louis Martineau - - * restore-src/amidxtaped.c: Fix newline in string literal. - -2002-11-07 Jean-Louis Martineau - - * server-src/conffile.c (maxdumpsize): New option. - * server-src/conffile.h: Ditto. - * server-src/planner.c: Use maxdumpsize if set. - * example/amanda.conf.in: Document it. - * man/amanda.8.in: Document it. - -2002-11-06 Jean-Louis Martineau - - * common-src/amfeatures.h (fe_amidxtaped_fsf, fe_amidxtaped_label, - fe_amidxtaped_device, fe_amidxtaped_host, fe_amidxtaped_disk, - fe_amidxtaped_datestamp, fe_amidxtaped_header, fe_amidxtaped_nargs, - fe_amidxtaped_config): New features. - * common-src/amfeatures.c (am_init_feature_set): Set new features. - * recover-src/extract_list.c: Send new protocol data to amidxtaped. - * restore-src/Makefile.am: amidxtaped.c need libamserver. - * restore-src/amidxtaped.c: Read new protocol data from amrecover. - * restore-src/amidxtaped.c: Use new configuration options. - * server-src/conffile.c (conf_amrecover_do_fsf, - conf_amrecover_check_label, conf_amrecover_changer): New config. - * server-src/conffile.h: New config options. - * example/amanda.conf.in: Document them. - * man/amanda.8.in: Document them. - -2002-11-05 Jean-Louis Martineau - - * autogen: touch config/config.h.in - * configure.in: Patch from autoupdate-2.53 and LIBOBJS. - * common-src/Makefile.am: Build versuff.o before version.o - * recover-src/Makefile.am: Remove work around for automake-1.2 - -2002-11-04 Jean-Louis Martineau - - * configure.in: Remove --disable-libtool. - * */Makefile.am: Remove WANT_LIBTOOL. - -2002-11-04 Jean-Louis Martineau - - * changer-src/chg-scsi.c (config_name, config_dir): Remove declaration. - * server-src/amadmin.c: Ditto. - * server-src/amcheck.c: Ditto. - * server-src/amcleanupdisk.c: Ditto. - * server-src/amflush.c: Ditto. - * server-src/amindexd.c: Ditto. - * server-src/amlabel.c: Ditto. - * server-src/amlogroll.c: Ditto. - * server-src/amtape.c: Ditto. - * server-src/amtrmidx.c: Ditto. - * server-src/amtrmlog.c: Ditto. - * server-src/chunker.c: Ditto. - * server-src/diskfile.c: Ditto. - * server-src/driver.c: Ditto. - * server-src/dumper.c: Ditto. - * server-src/getconf.c: Ditto. - * server-src/planner.c: Ditto. - * server-src/reporter.c: Ditto. - * server-src/taper.c: Ditto. - * server-src/conffile.c (config_name, config_dir): Add declaration. - -2002-11-03 Jean-Louis Martineau - - * man/amrestore.8: Amrestore doesn't use a changer. - -2002-11-01 Jean-Louis Martineau - - * configure.in (SHELL): Don't set it, libtool do it. - -2002-10-31 Jean-Louis Martineau - - * config/ltmain.sh, config/libtool.m4i: Update from libtool 1.4.3. - -2002-10-30 Jean-Louis Martineau - - * restore-src/amrestore.c: New '-l