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