+2008-05-13 Dan Locks <dwlocks@zmanda.com>
+ * packaging/deb/buildpkg: modified build script to create unsigned
+ packages
+
+2008-05-12 Jean-Louis Martineau <martineau@zmanda.com>
+ Patch by Orion Poplawski
+ * server-src/planner.c: Warn about overwrite of last level 1, and
+ force backup of level 1 if overwrite on this run.
+
+2008-05-12 Dustin J. Mitchell <dustin@zmanda.com>
+ * server-src/dumper.c server-src/server_util.c
+ server-src/infofile.c server-src/amtrmlog.c common-src/debug.c
+ common-src/file.c: Always call mkpdir without the 02000 bit set,
+ as it is not needed and causes problems on MacOS X.
+
+2008-05-08 Jean-Louis Martineau <martineau@zmanda.com>
+ * packaging/deb/buildpkg packaging/rpm/buildpkg: AMVER=amanda-2.6.0p1
+ * packaging/deb/changelog: amanda (2.6.0p1-1)
+ * packaging/deb/rules: AMVER=2.6.0p1
+ * packaging/rpm/amanda.spec: amanda_version 2.6.0p1, amanda_release 1
+ * NEWS: Update for 2.6.0p1
+ * configure.in: AM_INIT_AUTOMAKE(amanda, "2.6.0p1")
+
+2008-05-08 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/conffile.c: Define default tapetype.
+
+2008-05-07 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/conffile.c: Check the tapetype is defined.
+
+2008-05-07 Jean-Louis Martineau <martineau@zmanda.com>
+ * device-src/tape-device.c: Allow user to set "read_buffer_size"
+ property.
+ * restore-src/amrestore.c: Don't limit blocksize to
+ --with-maxtapeblocksize.
+ * common-src/conffile.c: Increase readblocksize to blocksize.
+ blocksize and readblocksize can be bigger than
+ --with-maxtapeblocksize.
+
+2008-05-02 Dan Locks <dwlocks@zmanda.com>
+ * packaging/rpm/amanda.spec: Replace ${ with %{ where applicable.
+
+2008-04-23 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/security-util.c: Typo.
+
+2008-04-23 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/driver.c: Always sent a FAILED to taper if dumper failed.
+
+2008-04-23 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/planner.c: Fix vstrextend use.
+
+2008-04-16 Dan Locks <dwlocks@zmanda.com>
+ * Fixes to debian package reported by daniel_P
+ * packaging/deb/preinst: remove spaces near ${amanda_group}
+ * packaging/deb/amanda-backup-server.dirs
+ packaging/deb/amanda-backup-client.dirs: added var/amanda and
+ usr/share/lintian/overrides
+ * packaging/deb/rules: added logic to find PERLSITELIB and append that
+ to amanda-backup-server.install, removed broken brace expansion
+ * packaging/deb/buildpkg: removed extraneous configure step
+ * packaging/deb/amanda-backup-server.postinst: added check for correct
+ permissions on /tmp/amanda
+
+2008-04-16 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amadmin.c: Improve message.
+ * man/xml-source/amanda.conf.5.xml: Fix man page.
+ * server-src/planner.c: Fix DS_INCRONLY and FORCE_FULL
+
+2008-04-16 Dustin J. Mitchell <dustin@zmanda.com>
+ * config/amanda/dumpers.m4: continue searching for gnutar if we
+ find a binary claiming to be gnu tar that is not. This gets
+ around serious breakage on Ubuntu, where star is installed as
+ /bin/gnutar, but /bin/tar is actually GNU Tar.
+
+2008-04-15 Dustin J. Mitchell <dustin@zmanda.com>
+ * common-src/file.c(mk1dir): fix reversed conditional to handle
+ a race condition
+
+2008-04-15 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/debug.c (debug_logging_handler, debug_printf): Don't print
+ msg_timestamp() to stderr.
+
+2008-04-15 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/find.c (dumps_match_dumpspecs): New function to only keep
+ dumps that match a dumpspecs, using it simplify amfetchdump.
+ * server-src/find.h (dumps_match_dumpspecs): Prototype.
+ * restore-src/amrestore.c: Add a first_restored_file to
+ search_a_tape(), to allow restore ot stop after the first image.
+ * restore-src/restore.c: Set first_restored_file, it was never set,
+ it's needed to stop after the first image.
+ * restore-src/restore.c (restore_from_tapelist): break if piping to
+ stdout.
+ * restore-src/amfetchdump.c: Use dumps_match_dumpspecs.
+ * restore-src/amfetchdump.c: If -p, the keep only one dump.
+ * perl/Amanda/Logfile.swg (dumps_match_dumpspecs): New prototype.
+ * perl/Amanda/Cmdline.swg: cmdline_parse_dumpspecs.
+ * perl/amglue/dumpspecs.swg: Map dumpspecs to perl.
+ * perl/Makefile.am (AMGLUE_SWG): Add amglue/dumpspecs.swg.
+
+2008-04-15 Jean-Louis Martineau <martineau@zmanda.com>
+ * tape-src/tapetype.c: Initialize an default config.
+
+2008-04-15 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/util.c (connect_portrange, connect_port, bind_portrange):
+ Return the latest errno reported.
+
+2008-04-04 Jean-Louis Martineau <martineau@zmanda.com>
+ * man/xml-source/*.xml: Use ulink tag to link to wiki.zmanda.com.
+
+2008-04-04 Jean-Louis Martineau <martineau@zmanda.com>
+ * restore-src/restore.c: Check last_header->type != F_UNKNOWN.
+
+2008-03-31 Dan Locks <dwlocks@zmanda.com>
+ * packaging/deb/buildpkg
+ packaging/rpm/buildpkg: added -p to cp to preserve file timestamps.
+
+2008-03-31 Dan Locks <dwlocks@zmanda.com>
+ * packaging/Makefile.am: add deb subdirectory.
+
+2008-03-27 Jean-Louis Martineau <martineau@zmanda.com>
+ * device-src/activate-devpay.c (parse_commandline): Always return.
+
+2008-03-25 Jean-Louis Martineau <martineau@zmanda.com>
+ * config/amanda/readline.m4: Don't add READLINE_LIBS to LIBS.
+ * oldrecover-src/Makefile.am (LDAAD): Add READLINE_LIBS.
+ * recover-src/Makefile.am (LDAAD): Add READLINE_LIBS.
+ * config/amanda/swig.m4: AM_CONDITIONAL(WANT_CYGWIN_COPY_PERL_DLL)
+ * config/amanda/swig.m4: Add library to PERLEXTLIBS on cygwin.
+ * config/amanda/syshacks.m4: Add '-no-undefined' to AMANDA_ADD_LDFLAGS.
+ * amandad-src/Makefile.am,
+ * client-src/Makefile.am, device-src/Makefile.am,
+ server-src/Makefile.am, server-src/server_util.c,
+ tape-src/Makefile.am: Add library to many *_LIBADD.
+ * perl/Makefile.am (install-data-hook): Copy cygwin ddl if
+ WANT_CYGWIN_COPY_PERL_DLL.
+
+2008-03-25 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/reporter.c: Check difference between origsize and outsize
+ to find if the image is compressed.
+
+2008-03-25 Jean-Louis Martineau <martineau@zmanda.com>
+ Greg Troxel reported the bug and possible solution.
+ * common-src/stream.c (stream_server): New family argument, it is used
+ to create the socket.
+ * common-src/stream.h (stream_server): New prototype.
+ * server-src/chunker.c, server-src/taper.c: Call stream_server with
+ family of 'localhost', it's the name dumper use to contact them.
+ * restore-src/amidxtaped.c: Call stream_server with AF_INET.
+ * common-src/bsd-security.c, common-src/security-util.c: Call
+ stream_server with family of incoming packet.
+
+2008-03-25 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/security-util.c (show_stat_info): Use getpwuid_r
+ and getgrgid_r.
+
+2008-03-25 Dustin J. Mitchell <dustin@zmanda.com>
+ * config/amanda/swig.m4: fix the fix to the fix for FreeBSD systems'
+ peculiar linking of threading libraries.
+
+2008-03-20 Dan Locks <dwlocks@zmanda.com>
+ * packaging/deb/control: removed grep dependency
+ * packaging/deb/amanda-backup-client.postinst
+ packaging/deb/amanda-backup-server.postinst
+ packaging/deb/amanda-backup-server.postrm
+ packaging/deb/amanda-backup-client.postrm: removed call to
+ ldconfig to satisfy lintian
+ * packaging/deb/amanda-backup-server.lintian
+ packaging/deb/amanda-backup-client.lintian: sorted and added new
+ overrides
+ * packaging/deb/amanda-backup-client.dirs: removed var/amanda
+
+2008-03-18 Jean-Louis Martineau <martineau@zmanda.com>
+ * Amanda 2.6.0 released.
+ * configure.in: AM_INIT_AUTOMAKE(amanda, "2.6.0")
+ * packaging/rpm/amanda.spec: %define amanda_version 2.6.0
+ * packaging/rpm/buildpkg: AMVER=amanda-2.6.0
+
+2008-03-17 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/diskfile.c: Correctly check if two hosts map to the same
+ name.
+
+2008-03-14 Dan Locks <dwlocks@zmanda.com>
+ * packaging/deb/*: Initial debian package release. This package is
+ based on Bdale Garbee's work as the official debian maintainer for
+ amanda.
+
+2008-03-13 Dan Locks <dwlocks@zmanda.com>
+ * packaging/rpm/amanda.spec: changed the PKG_CONFIG_PATH macro so that
+ it works with rpm versions earlier than 4.4
+
+2008-03-12 Dan Locks <dwlocks@zmanda.com>
+ * packaging/rpm/buildpkg: made the script quieter, simplified its
+ usage by creating the required tarball on the fly.
+ * packaging/rpm/amanda.spec: fixed a number of complaints from rpmlint,
+ added --quiet to the configure invocation
+
+2008-03-10 Jean-Louis Martineau <martineau@zmanda.com>
+ * device-src/tests/semaphore-test.c,
+ device-src/tests/vfs_test.c: Call amanda_thread_init(NULL).
+
+2008-03-07 Jean-Louis Martineau <martineau@zmanda.com>
+ * Amanda 2.6.0b3 released.
+ * configure.in: AM_INIT_AUTOMAKE(amanda, "2.6.0b3")
+ * packaging/rpm/amanda.spec: %define amanda_version 2.6.0b3
+ * packaging/rpm/buildpkg: AMVER=amanda-2.6.0b3
+
+2008-03-06 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/Makefile.am: dest=$(amlibexecdir).
+
+2008-03-06 Jean-Louis Martineau <martineau@zmanda.com>
+ * changer-src/Makefile.am: Rename SCRIPTSDATA to SCRIPTS_INCLUDE,
+ Add chg-lib.sh.in to EXTRA_DIST.
+ * dumper-src/Makefile.am: Rename SCRIPTSDATA to SCRIPTS_INCLUDE,
+ Add generic-dumper.pl to EXTRA_DIST.
+ * common-src/Makefile.am: Add amanda-sh-lib.sh to SCRIPTS_INCLUDE,
+ Add amanda-sh-lib.sh.in to EXTRA_DIST.
+
+2008-03-05 Jean-Louis Martineau <martineau@zmanda.com>
+ * changer-src/Makefile.am: Move chg-lib.sh to SCRIPTSDATA.
+ * dumper-src/Makefile.am: Move generic-dumper to SCRIPTSDATA.
+
+2008-03-05 Jean-Louis Martineau <martineau@zmanda.com>
+ * config/amanda/swig.m4: Check for *freebsd[123456]*
+
+2008-03-05 Jean-Louis Martineau <martineau@zmanda.com>
+ * changer-src/chg-scsi-chio.c: Compile fix.
+ * changer-src/scsi-chio.c: Compile fix.
+ * config/amanda/changer.m4: Check for linux/chio.h
+
+2008-03-05 Jean-Louis Martineau <martineau@zmanda.com>
+ * packaging/rpm/amanda.spec: Give CFLAGS after ./configure
+
+2008-03-05 Dustin J. Mitchell <dustin@zmanda.com>
+ * config/amanda/swig.m4: With many thanks to John E. Hein
+ <jhein@timing.com>, fix the comment and make the change committed
+ yesterday apply to all FreeBSD < 7.0.
+
+2008-03-05 Dustin J. Mitchell <dustin@zmanda.com>
+ * config/amanda/summary.m4: quote all warning messages that will be
+ included in heredocs, to avoid spurious interpretation of backquotes
+
+2008-03-05 Jean-Louis Martineau <martineau@zmanda.com>
+ * packaging/rpm/amanda.spec: Add %{PERLSITELIB} in %files sections.
+
+2008-03-05 Jean-Louis Martineau <martineau@zmanda.com>
+ * restore-src/amidxtaped: Use default config if amrecover doesn't send a config name. (amoldrecover doesn't send a config).
+ * restore-src/restore.c: amrecover from 2.4.5 doesn't send the filenum, so desired_tape->numfiles == 0.
+ If amidxtaped is launched directly from xinetd, then
+ flags->pipe_to_fd == STDOUT_FILENO, but this test should only
+ succeed for amrestore of amfetchdump.
+
+2008-03-05 Jean-Louis Martineau <martineau@zmanda.com>
+ * device-src/tape-device.c: Set d_self->is_eof to FALSE.
+
+2008-03-04 Dustin J. Mitchell <dustin@zmanda.com>
+ * perl/Makefile.am config/amanda/swig.m4: add a special case for
+ FreeBSD-6.2: include -lpthread in the linking of each perl
+ extension, because libgthread does not pull in libpthread as
+ it does on other platforms.
+
+2008-03-03 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/security-util.c: getnameinfo return != 0 on error.
+
+2008-03-03 Jean-Louis Martineau <martineau@zmanda.com>
+ * config/amanda/dumpers.m4: Typo.
+
+2008-03-03 Jean-Louis Martineau <martineau@zmanda.com>
+ * device-src/tests/vfs_test.c: Fix ignoring
+ return value of 'pipe', declared with attribute warn_unused_result.
+
+2008-02-29 Dustin J. Mitchell <dustin@zmanda.com>
+ * common-src/amanda.h: add <stdint.h>
+
+2008-02-29 Dustin J. Mitchell <dustin@zmanda.com>
+ * installcheck/Amanda_Config.pl: fix Amanda_Config's use of the
+ missing Amanda::Tests
+
+2008-02-29 Dustin J. Mitchell <dustin@zmanda.com>
+ * installcheck/Makefile.am: remove Amconfig.pm from EXTRA_DIST, as it
+ is a generated file.
+
+2008-02-28 Dustin J. Mitchell <dustin@zmanda.com>
+ Thanks to John E. Hein <jhein@timing.com> for identifying this problem
+ * installcheck/Amanda_Config.pl: use a properly-sized constant to
+ check parsing of large configuration values
+
+2008-02-28 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amindexd.c: Compute maxpart, call clean_dump.
+ * server-src/disk_history.h (DUMP_ITEM): Add maxpart field.
+ * server-src/disk_history.h (add_dump): New prototype,
+ add maxpart argument.
+ * server-src/disk_history.c (add_dump): Remove a DUMP_ITEM if the
+ previous part is not already added.
+ * server-src/disk_history.c (clean_dump): New function to remove
+ DUMP_ITEM if all part are not added.
+ * common-src/tapelist.h (tapelist_t): Add partnum field.
+ * common-src/tapelist.h (append_to_tapelist): New prototype,
+ add partnum argument.
+ * common-src/tapelist.c (append_to_tapelist): New partnum argument.
+ * restore-src/amfetchdump.c: Use new append_to_tapelist prototype.
+
+2008-02-27 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/find.c: Use sort_key in switch statement.
+
+2008-02-26 Jean-Louis Martineau <martineau@zmanda.com>
+ * NEWS, ReleaseNotes: Document --with-amlibdir.
+ * config/amanda/dirs.m4: Add AS_HELP_STRING for --without-amlibdir and
+ --without-amlibexecdir,
+ Set AMPERLLIB to $amlibdir/perl.
+
+2008-02-26 Dustin J. Mitchell <dustin@zmanda.com>
+ * perl/Makefile.am config/amanda/dirs.m4 config/amanda/summary.m4:
+ add --with-amperldir, --without-amperldir, and install perl modules
+ in Perl's installsitearch by default; thanks to Orion Poplawski
+ <orion@cora.nwra.com> for help and suggestions.
+
+2008-02-26 Jean-Louis Martineau <martineau@zmanda.com>
+ * client-src/getfsent.c: Don't fail if stat of mount point fail.
+
+2008-02-26 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/util.c: Don't log a note if CLIENT_LOGIN == dumpuser for
+ RUNNING_AS_DUMPUSER_PREFERRED.
+
+2008-02-25 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/reporter.c: Report size of data on holding disk.
+
+2008-02-20 Jean-Louis Martineau <martineau@zmanda.com>
+ * config/amanda/dirs.m4: Add --with-amlibdir and --with-amlibexecdir.
+ * NEWS, ReleaseNotes: Document it.
+
+2008-02-20 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amcheck.c, server-src/dumper.c,
+ server-src/planner.c: Call waitpid to cleanup defunct process.
+
+2008-02-20 Dustin J. Mitchell <dustin@zmanda.com>
+ * device-src/tape-posix.c: keep ioctl error message in
+ debug log
+
+2008-02-19 Jean-Louis Martineau <martineau@zmanda.com>
+ * device-src/device.c, device-src/null-device.c,
+ device-src/s3.c, device-src/tape-device.c,
+ device-src/queueing.h, device-src/s3.h,
+ device-src/vfs-device.c, device-src/rait-device.c,
+ server-src/taper-source-test.c, server-src/server_util.c,
+ server-src/taper-disk-port-source.c, perl/Amanda/Device.swg,
+ perl/amglue/integers.swg, restore-src/restore.c,
+ common-src/glib-util.c: Fix solaris compiler warning.
+
+2008-02-19 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/util.c (quote_string): Quote single quote (').
+ * server-src/find.c:Correctly compute length of diskname.
+
+2008-02-15 Dustin J. Mitchell <dustin@zmanda.com>
+ * configure.in config/amanda/progs.m4 config/amanda/flags.m4:
+ use AC_PROG_EGREP instead of the Amanda version
+ * server-src/find.c: fix compiler warning on Solaris 8
+
+2008-02-15 Jean-Louis Martineau <martineau@zmanda.com>
+ * packaging/rpm/amanda.spec: Fix typo.
+
+2008-02-15 Jean-Louis Martineau <martineau@zmanda.com>
+ * oldrecover-src/Makefile.am: Build all files in the build directory.
+ * recover-src/Makefile.am: Build all files in the build directory.
+ * config/amanda/config.m4: Use $srcdir to buld common-src/svn-info.h
+ * configure.in: execute AMANDA_GET_SVN_INFO after AC_OUTPUT because
+ AC_OUTPUT create the common-src directory.
+
+2008-02-15 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amadmin.c: Use 'long long' and '%lld' to sscanf.
+ * file server-src/infofile.c: Use %jd to print intmax_t value.
+ * file server-src/driver.c: Use 'long long' and '%lld' to sscanf.
+
+2008-02-15 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amdump.sh: Don't use 'date -d', use sed.
+
+2008-02-13 Dan Locks <dwlocks@zmanda.com>
+ * packaging/rpm/amanda.spec: added a check for PKG_CONFIG_PATH in the
+ build environment as well as if provided on rpmbuild commandline.
+ Conditionalized this var to handle cross compiling on FC8.
+
+2008-02-12 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/dumper.c: Fail if no header or no data.
+
+2008-02-12 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amstatus.pl: Report failure if dumper succeed and
+ chunker failed.
+
+2008-02-07 Jean-Louis Martineau <martineau@zmanda.com>
+ * NEWS, ReleaseNotes: Add notes about rsh/ssh and amandad_path.
+
+2008-02-07 Jean-Louis Martineau <martineau@zmanda.com>
+ * Amanda 2.6.0b2 released.
+ * configure.in: AM_INIT_AUTOMAKE(amanda, "2.6.0b2")
+ * packaging/rpm/amanda.spec: %define amanda_version 2.6.0b2
+ * packaging/rpm/buildpkg: AMVER=amanda-2.6.0b2
+
+2008-02-07 Jean-Louis Martineau <martineau@zmanda.com>
+ * recover-src/amrecover.c: Use tapedev from server if it is not set
+ in amanda.client.conf
+ * example/amanda-client.conf.in: Document it.
+
+2008-02-07 Jean-Louis Martineau <martineau@zmanda.com>
+ * device-src/tape-device.c (tape_device_init): Init min_block_size
+ and fixed_block_size to 32768.
+
+2008-02-07 Jean-Louis Martineau <martineau@zmanda.com>
+ * device-src/tape-posix.c (tape_is_ready): Don't use GMT_ONLINE.
+
+2008-02-07 Dustin J. Mitchell <dustin@zmanda.com>
+ * man/xml-source/amcheckdump.8.xml: add -o option
+ * man/Makefile.am: build amcheckdump manpage
+ * server-src/amdevcheck.pl: tweak @ARGV parsing
+ * server-src/amcheckdump.pl installcheck/Installcheck/Run.pm
+ installcheck/amcheckdump.pl: significant rewrite to catch more errors
+ and not loop for ever on some errors.
+
+2008-02-01 Dan Locks <dwlocks@zmanda.com>
+ * packaging/rpm/amanda.spec: added amdumpcheck.8.gz to the %files list
+ for both client and server, removed amplot from client, added missing
+ directory %{SYSCONFDIR}/amanda
+
+2008-01-29 Dan Locks <dwlocks@zmanda.com>
+ * packaging/rpm/amanda.spec: changed %{SYSCONFDIR} to %{LOCALSTATEDIR}
+ where amanda/amandates is concerned. also added %{LOCALSTATEDIR} to
+ the %files list.
+
+2008-01-29 Dan Locks <dwlocks@zmanda.com>
+ * man/xml-src/*: added wiki.zmanda.com to "see also" section of all
+ man pages.
+
+2008-01-29 Jean-Louis Martineau <martineau@zmanda.com>
+ * client-src/sendbackup.c: Check for g_options.
+ * client-src/sendsize.c: Check for g_options.
+ * client-src/selfcheck.c: Check for g_options.
+ * amandad-src/amandad_util.c (free_g_options): Check g_options != NULL.
+
+2008-01-28 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amstatus.pl: Fix "Use of uninitialized value in string".
+
+2008-01-28 Dustin J. Mitchell <dustin@zmanda.com>
+ * installcheck/Amanda_Config.pl common-src/conffile.c: uppercase
+ displayunit, and add a unit test to be sure.
+
+2008-01-28 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amstatus.pl: handle lowercase displayunit.
+
+2008-01-28 Dustin J. Mitchell <dustin@zmanda.com>
+ * configure.in config/amanda/ipv6.m4 common-src/amanda.h: check
+ for netinet/in.h and in_port_t, and define the latter if
+ necessary. Thanks to Craig Dewick <cdewick@lios.apana.org.au>
+ for the suggestion.
+
+2008-01-28 Paddy Sreenivasan <paddy@zmanda.com>
+ * man/xml-source/amanda.8.xml: Update amanda(8) to reflect 2.6.0
+ status
+
+2008-01-28 Jean-Louis Martineau <martineau@zmanda.com>
+ * amandad-src/amandad.c: Send service stderr to amandad debug file,
+ Wait for service termination and send error message to server.
+
+2008-01-28 Jean-Louis Martineau <martineau@zmanda.com>
+ * device-src/device.c: Set PROPERTY_BLOCK_SIZE with a G_TYPE_INT
+ Set PROPERTY_READ_BUFFER_SIZE with a G_TYPE_UINT
+
+2008-01-22 Dustin J. Mitchell <dustin@zmanda.com>
+ * man/Makefile.am man/xml-source/amcheckdump.8.xml: new manpage
+ * server-src/amcheckdump.pl: fix usage message
+
+2008-01-22 Dustin J. Mitchell <dustin@zmanda.com>
+ * configure.in config/amanda/userid.m4: add --with-single-userid
+
+2008-01-22 Dustin J. Mitchell <dustin@zmanda.com>
+ * perl/amglue/amglue.h perl/amglue/bigint.c: Include integer limits
+ for all amglue files where they are missing from glib headers
+
+2008-01-22 Dustin J. Mitchell <dustin@zmanda.com>
+ * installcheck/Makefile.am: condition installchecks on the selected
+ components
+
+2008-01-22 Dustin J. Mitchell <dustin@zmanda.com>
+ * installcheck/Makefile.am Makefile.am: distribute
+ installcheck/Installcheck scripts, make sure enough parameters
+ are passed along to distcheck for it to succeed, and also clean
+ up properly after tests are run.
+
+2008-01-22 Dustin J. Mitchell <dustin@zmanda.com>
+ * config/amanda/dumpers.m4: eliminate strange warning when
+ --without-smbclient is given
+
+2008-01-16 Dustin J. Mitchell <dustin@zmanda.com>
+ * installcheck/Makefile.am: Require user to specify
+ CLOBBER_MY_CONFIG=OK when running installchecks
+
+2008-01-16 Jean-Louis Martineau <martineau@zmanda.com>
+ * packaging/rpm/amanda.spec: Don't set PKG_CONFIG_PATH.
+
+2008-01-16 Jean-Louis Martineau <martineau@zmanda.com>
+ * oldrecover-src/extract_list.c, client-src/sendbackup.c,
+ client-src/sendsize.c, client-src/selfcheck.c,
+ recover-src/extract_list.c, server-src/changer.c,
+ server-src/amflush.c, server-src/driverio.c,
+ common-src/pipespawn.c: Call safe_fd before exec*.
+
+2008-01-15 Jean-Louis Martineau <martineau@zmanda.com>
+ * packaging/rpm/amanda.spec: Remove build_host.
+
+2008-01-15 Dustin J. Mitchell <dustin@zmanda.com>
+ * perl/Amanda/Types.swg perl/Amanda/Config.swg perl/Amanda/Device.swg
+ perl/amglue/integers.swg: fix typos and compiler warnings
+
+2008-01-15 Jean-Louis Martineau <martineau@zmanda.com>
+ * packaging/Makefile.am: New file.
+ * packaging/README: New file.
+ * packaging/rpm/buildpkg: New file.
+ * packaging/rpm/amanda.spec: New file.
+ * configure.in
+ * config/amanda/dirs.m4 (AMANDA_WITH_DUMPERDIR): Give a warning if used.
+ * config/amanda/dirs.m4 (AMANDA_EXPAND_DIRS): Expand DUMPER_DIR to
+ ${amlibexecdir}/application
+ * Makefile.am (SUBDIRS): Add packaging.
+ * amanda.spec: Remove file.
+
+2008-01-15 Jean-Louis Martineau <martineau@zmanda.com>
+ * device-src/Makefile.am (AM_CFLAGS): Set to $(AMANDA_WARNING_CFLAGS)
+ * device-src/tape-device.c, device-src/tape-posix.c,
+ device-src/vfs-device.c: include "util.h"
+ * device-src/rait-device.c: fix compiler warning.
+
+2008-01-14 Dustin J. Mitchell <dustin@zmanda.com>
+ * perl/amglue/bigint.c: fix the range-checking mechanics for large
+ integers, since the precompiler seems to get confused by large
+ constants.
+
+2008-01-14 Dustin J. Mitchell <dustin@zmanda.com>
+ * config/amanda/krb5-security.m4: abort configure run if krb5
+ is requested by libraries aren't found
+
+2008-01-13 Dustin J. Mitchell <dustin@zmanda.com>
+ * man/xml-source/amanda.conf.5.xml: use × instead of ×
+
+2008-01-11 Paddy Sreenivasan <paddy@zmanda.com>
+ * device-src/Makefile.am: Don't install queueing.h and device.h
+
+2008-01-11 Dustin J. Mitchell <dustin@zmanda.com>
+ * perl/Amanda/Config.swg perl/Amanda/Debug.swg: complete documentation
+
+2008-01-11 Jean-Louis Martineau <martineau@zmanda.com>
+ * amandad-src/Makefile.am: Install amandad in $libexecdir/amanda
+ * installcheck/amgetconf.pl: usetimestamps defaults to yes.
+ * NEWS, ReleaseNotes: Notes about make installcheck.
+
+2008-01-11 Jean-Louis Martineau <martineau@zmanda.com>
+ * NEWS: Add amcryptsimple, amgpgcrypt, amserverconfig and amaddclient.
+ * ReleaseNotes: Ditto.
+
+2008-01-11 Jean-Louis Martineau <martineau@zmanda.com>
+ * ReleaseNotes: Update for amanda-2.6.0
+ * News: Update for amanda-2.6.0
+ * configure.in: AM_INIT_AUTOMAKE(amanda, "2.6.0b1")
+ * Makefile.am (pkgdata_DATA): Add NEWS, ChangeLog and amanda.spec
+ * amanda.spec: %{!?amanda_version: %define amanda_version 2.6.0b1}
+
+2008-01-10 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/conffile.c (usetimestamps): Default ot yes.
+ * man/xml-source/amanda.conf.5.xml (usetimestamps): Document it.
+
+2008-01-10 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amverifyrun.sh, server-src/amverify.sh,
+ tape-src/ammt.c, tape-src/amdd.c: Write deprecated message.
+
+2008-01-10 Jean-Louis Martineau <martineau@zmanda.com>
+ * config/amanda/defaults.m4: Set amandates to $localstatedir/amanda/amandate
+
+2008-01-10 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amfreetapes.sh: Use amlibexecdir.
+
+2008-01-10 Jean-Louis Martineau <martineau@zmanda.com>
+ * config/amanda/dirs.m4: Set amlibexecdir to $libexecdir/amanda.
+ * amandad-src/amandad.c, amplot/amplot.sh,
+ amplot/Makefile.am, changer-src/chg-chs.sh,
+ changer-src/chg-disk.sh, changer-src/chg-juke.sh,
+ changer-src/chg-lib.sh.in, changer-src/chg-manual.sh,
+ changer-src/chg-mcutil.sh, changer-src/chg-mtx.sh,
+ changer-src/chg-multi.sh, changer-src/chg-null.sh,
+ changer-src/chg-rait.sh, changer-src/chg-rth.pl,
+ changer-src/chg-zd-mtx.sh, changer-src/Makefile.am,
+ client-src/Makefile.am, client-src/patch-system.sh,
+ client-src/selfcheck.c, client-src/sendbackup-dump.c,
+ client-src/sendbackup-gnutar.c, client-src/sendsize.c,
+ common-src/amaespipe.sh, common-src/amanda-sh-lib.sh.in,
+ common-src/amcrypt-ossl-asym.sh, common-src/amcrypt-ossl.sh,
+ common-src/amcrypt.sh, common-src/genversion.c,
+ common-src/local-security.c, common-src/Makefile.am,
+ common-src/rsh-security.c, common-src/ssh-security.c,
+ dumper-src/amgtar.pl, example/xinetd.amandaclient,
+ example/xinetd.amandaserver, installcheck/amgetconf.pl,
+ perl/Amanda/Changer.pm, perl/Amanda/Paths.pm.in,
+ restore-src/Makefile.am, server-src/amcheck.c,
+ server-src/amcheckdb.sh, server-src/amcleanup.sh,
+ server-src/amdump.sh, server-src/amflush.c,
+ server-src/amoverview.pl, server-src/amrmtape.sh,
+ server-src/amverifyrun.sh, server-src/amverify.sh,
+ server-src/changer.c, server-src/driver.c,
+ server-src/getconf.c, server-src/Makefile.am,
+ tape-src/Makefile.am: Use amlibexecdir.
+
+2008-01-10 Jean-Louis Martineau <martineau@zmanda.com>
+ * config/amanda/flags.m4 (AMANDA_STATIC_FLAGS):
+ Set AMANDA_STATIC_LDFLAGS to '-static' if set.
+ * configure.in: Call AMANDA_STATIC_FLAGS.
+ * amandad-src/Makefile.am, changer-src/Makefile.am,
+ client-src/Makefile.am, common-src/Makefile.am,
+ dumper-src/Makefile.am, oldrecover-src/Makefile.am,
+ recover-src/Makefile.am, restore-src/Makefile.am,
+ server-src/Makefile.am,
+ tape-src/Makefile.am(AM_LDFLAGS): Set to AMANDA_STATIC_LDFLAGS.
+
+2008-01-09 Jean-Louis Martineau <martineau@zmanda.com>
+ * configure.in (AC_CONFIG_FILES): Add example/template.d/amanda-S3.conf
+ * example/Makefile.am (dist_template_DATA): Add
+ template.d/amanda-S3.conf
+
+2008-01-09 Jean-Louis Martineau <martineau@zmanda.com>
+ * changer-src/scsi-solaris.c: Cleanup.
+
+2008-01-09 Ian Turner <ian@zmanda.com>
+ * changer-src/chg-zd-mtx.sh.in: Don't write a corrupt changerfile
+ when a tape has no barcode label.
+
+2008-01-08 Dustin J. Mitchell <dustin@zmanda.com>
+ * server-src/amcheckdump.pl: call critical() rather than
+ using die().
+
+2008-01-08 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amcheckdump.pl: Parse 'amflush: starttime' and
+ 'planner: timestamp' line.
+ * server-src/amflush.c: Print correct starttime line.
+
+2008-01-08 Ian Turner <ian@zmanda.com>
+ Most of this work was done by Dustin J. Mitchell
+ <dustin@zmanda.com>, with contributions by Ian Turner <ian@zmanda.com>.
+ * example/template.d/amanda-S3.conf.in: Example configuration
+ using Amazon S3.
+ * device-src/device.c: Register the S3 device.
+ * device-src/tests/get-activation-key.pl: Tool to retrieve
+ a DevPay activation key.
+ * device-src/s3-device.c, device-src/s3-device.h: S3 device driver.
+ * device-src/s3.c, device-src/s3.h: Network support for S3 driver.
+ * device-src/property.c, device-src/property.h: Register S3
+ authentication properties.
+ * device-src/activate-devpay.c: Tool to convert a devpay
+ activation key into user tokens.
+ * device-src/Makefile.am: Support all these new files.
+ * configure.in: Check S3 prerequesites.
+ * config/amanda/s3-device.m4: Check if the S3 device should be
+ built.
+ * config/amanda/libs.m4: Code to check for libcurl version and
+ features.
+ * common-src/util.c: Use libcurl header.
+
+2008-01-08 Dustin J. Mitchell <dustin@zmanda.com>
+ * server-src/amcheckdump.pl: call critical() rather than
+ using die().
+
+2008-01-08 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/local-security.c: New 'local' security driver.
+ * common-src/security.c (drivers): Add local_security_driver
+ * common-src/Makefile.am (libamanda_la_SOURCES): Add local-security.c
+ * man/xml-source/amanda.conf.5.xml,
+ man/xml-source/amanda-client.conf.5.xml,
+ example/amanda-client.conf.in,
+ example/template.d/dumptypes: Document 'local' security driver.
+
+2008-01-08 Dustin J. Mitchell <dustin@zmanda.com>
+ * server-src/amcheckdump.pl perl/Amanda/Util.swg: don't use
+ the C safe_fd, which kills the Perl debugger; just check
+ that fd's 0-2 are open
+
+2008-01-08 Dustin J. Mitchell <dustin@zmanda.com>
+ * perl/Amanda/Types.swg perl/Makefile.am: add new Amanda::Types module
+ to contain data structures common to several other modules.
+ * perl/Amanda/Device.swg: move dumpfile_t to Amanda::Types
+ * installcheck/Amanda_Types.pl installcheck/Makefile.am: simple tests
+ for the new module
+ * common-src/fileheader.c common-src/fileheader.h: build_header
+ now takes a precise size, not a minimum.
+
+2008-01-08 Jean-Louis Martineau <martineau@zmanda.com>
+ * recover-src/amrecover.c: Call apply_config_overwrites before
+ config_init(CONFIG_INIT_EXPLICIT_NAME ...)
+
+2008-01-07 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/util.c (strquotedstr, hexdump): Remove function.
+ * common-src/util.h (strquotedstr, hexdump): Remove prototype.
+ * common-src/fileheader.c (strquotedstr, hexdump): Add function.
+ * common-src/fileheader.c (strquotedstr): Fix.
+
+2008-01-07 Jean-Louis Martineau <martineau@zmanda.com>
+ * perl/Amanda/Changer.pm: Use Amanda::Config::get_config_dir().
+
+2008-01-07 Jean-Louis Martineau <martineau@zmanda.com>
+ * config/automake/scripts.am: Don't set CHECK_PERL.
+ * changer-src/Makefile.am: Set CHECK_PERL.
+ * client-src/Makefile.am: Set CHECK_PERL.
+ * dumper-src/Makefile.am: Set CHECK_PERL.
+ * common-src/Makefile.am: Set CHECK_PERL.
+
+2008-01-07 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/krb5-security.c: Fix argument to resolve_hostname.
+ * config/amanda/krb4-security.m4: Check .a or .so lib.
+ * config/amanda/krb5-security.m4: Check .a or .so lib.
+
+2008-01-07 Jean-Louis Martineau <martineau@zmanda.com>
+ * device-src/Makefile.am: Merge typo.
+ * example/Makefile.am: Merge Typo.
+
+2007-12-27 Dustin J. Mitchell <dustin@zmanda.com>
+ * configure.in config/amanda/printf.m4: remove unused
+ configure checks
+
+2007-12-27 Paddy Sreenivasan <paddy@zmanda.com>
+ * server-src/reporter.c: Check for NULL mailto
+
+2007-12-27 Satya Ganga <gsat@zmanda.com>
+ * server-src/amserverconfig.pl: holding disk will be created
+ only if we have at least 1G free space in the Amanda home dir
+
+2007-12-27 Ian Turner <ian@zmanda.com>
+ * server-src/taperscan.c server-src/taper.c: only print error_message
+ if it is non-NULL
+
+2007-12-27 Dustin J. Mitchell <dustin@zmanda.com>
+ * server-src/amrmtape.sh: remove @DB_EXT@, which no longer
+ exists (since 2007-10-09).
+
+2007-12-26 Dustin J. Mitchell <dustin@zmanda.com>
+ * server-src/amverify.sh: fix multiple non-portable shell
+ techniques
+
+2007-12-23 Dustin J. Mitchell <dustin@zmanda.com>
+ Large-scale merge of perl interface to Amanda, along with
+ a fleet of related changes. Patch authors are given for
+ changes not made by Dustin.
+
+ * perl/Makefile.am config/amanda/swig.m4: use
+ ExtUtils::Embed::perl_inc() to get the include directory
+ and let Amanda's compiler/linker flags and libtool take
+ care of the rest
+ * perl/Amanda/Config.swg: use accessors for config_name,
+ config_filename, and config_dir
+ * server-src/amcheckdump.pl server-src/amdevcheck.pl
+ perl/Amanda/Util.swg installcheck/Amanda_Config.pl: use
+ new accessors
+ * perl/Amanda/Util.swg common-src/amanda.h: use a .-relative
+ path in two #include directives to avoid accidentally
+ including perl's headers of the same name; this is a temporary
+ hack until a larger-scale overhaul of Amanda's headers is done.
+ * config/amanda/swig.m4: error out if shared libraries are disabled
+ * server-src/amcheckdump.pl: Use timestamp from latest
+ amdump.1 or amflush.1 log file. (Jean-Louis Martineau
+ <martineau@zmanda.com>)
+ * server-src/amcheckdump.pl: Output partnum. (Jean-Louis
+ Martineau <martineau@zmanda.com>)
+ * server-src/amcheckdump.pl: Add a '/' after the config name.
+ (Jean-Louis Martineau <martineau@zmanda.com>)
+ * perl/Amanda/Logfile.swg perl/Amanda/Device.swg perl/Makefile.am
+ perl/amglue/integers.swg perl/amglue/amglue.h
+ perl/amglue/amglue.swg perl/amglue/glib.swg
+ perl/amglue/bigint.c: Always use Math::BigInt to convert numeric
+ quantities from C to Perl, to avoid integer overflow and automatic
+ promotion to double.
+ * perl/Amanda/Debug.swg client-src/versionsuffix.c
+ common-src/util.c common-src/util.h common-src/debug.c
+ common-src/debug.h common-src/conffile.c
+ common-src/conffile.h common-src/file.c common-src/file.h:
+ - move get_/set_pname to util.c
+ - rename RunningAsWho to running_as_flags
+ - cache original cwd before changing it in safe_cd, and use the
+ cached value in conffile
+ * server-src/logfile.c: call set_logerror in open_log
+ * client-src/runtar.c common-src/debug.c common-src/amanda.h
+ common-src/file.c common-src/file.h: replace client_uid,
+ client_gid globals with functions, to eliminate the need
+ for initialization
+ * server-src/logfile.c: Update warning about globals
+ * server-src/find.c: Update search_logfile to possibly search
+ all tapes in a logfile. Also, other miscellaneous
+ refactoring. (Ian Turner <ian@zmanda.com>)
+ * server-src/find.h: Document new interface.
+ * server-src/amindexd.c, server-src/amadmin.c,
+ server-src/amtrmidx.c, restore-src/amfetchdump.c: Use new
+ find_dump interface.
+ * common-src/util.c, common-src/util.h: New function
+ compare_possibly_null_strings, which is like strcmp() but
+ orders NULL pointers before non-null strings.
+ * Makefile.am: reflect BINARY_OWNER into distcheck-triggered
+ ./configure
+ * common-src/conffile.c common-src/conffile.h: completely
+ new API, almost complete rewrite
+ * common-src/columnar.c common-src/columnar.h
+ common-src/Makefile.am: new files, extracted from
+ conffile.[ch]
+ * oldrecover-src/amrecover.c oldrecover-src/extract_list.c
+ changer-src/chg-scsi-chio.c changer-src/chg-scsi.c
+ client-src/sendbackup.c client-src/sendsize.c
+ client-src/selfcheck.c amandad-src/amandad.c
+ device-src/device.c recover-src/amrecover.c
+ recover-src/extract_list.c server-src/diskfile.h
+ server-src/logfile.c server-src/amlogroll.c
+ server-src/amindexd.c server-src/amcheck.c
+ server-src/dumper.c server-src/planner.c
+ server-src/chunker.c server-src/amadmin.c
+ server-src/amtape.c server-src/amcleanupdisk.c
+ server-src/getconf.c server-src/amflush.c
+ server-src/amtrmlog.c server-src/driverio.c
+ server-src/holding.c server-src/driverio.h
+ server-src/driver.c server-src/reporter.c server-src/taper.c
+ server-src/find.c server-src/amindex.c server-src/amtrmidx.c
+ server-src/diskfile.c server-src/amlabel.c
+ perl/Amanda/Config.swg config/amanda/defaults.m4
+ restore-src/amidxtaped.c restore-src/amrestore.c
+ restore-src/restore.c restore-src/amfetchdump.c
+ common-src/util.h common-src/glib-util.c tape-src/tapeio.c
+ common-src/amanda.h tape-src/tapeio.h: use new conffile API
+ * installcheck/Makefile.am installcheck/Amconfig.pm.in
+ installcheck/Installdirs.pm.in installcheck/Amanda_Config.pl
+ installcheck/Amanda_Changer.pl installcheck/Amanda_Cmdline.pl
+ installcheck/Amanda_Logfile.pl installcheck/amcheckdump.pl
+ installcheck/amdevcheck.pl installcheck/amgetconf.pl:
+ new unit tests for new modules, applications
+ * server-src/amdevcheck.pl server-src/amcheckdump.pl: new pure-
+ Perl applications; amcheckdump.pl is by Ian Turner
+ <ian@zmanda.com>
+ * perl/Amanda perl/Makefile.am perl/Amanda/Paths.pm.in
+ perl/Amanda/Logfile.swg perl/Amanda/Changer.pm
+ perl/Amanda/Config.swg perl/Amanda/Debug.swg
+ perl/Amanda/Tapefile.swg perl/Amanda/Cmdline.swg
+ perl/Amanda/Util.swg perl/Amanda/Device.swg: new directory
+ containing perl interfaces to Amanda modules
+ * perl/amglue perl/amglue/integers.swg perl/amglue/amglue.h
+ perl/amglue/exports.swg perl/amglue/ghashtable.c
+ perl/amglue/amglue.swg perl/amglue/constants.swg
+ perl/amglue/glib.swg perl/amglue/bigint.c: functions and
+ macros to glue Amanda to perl
+
+2007-12-21 Satya Ganga <gsat@zmanda.com>
+ * server-src/amserverconfig.pl: correct holding disk size
+ validation logic so that it works on solaris too
+
+2007-12-21 Satya Ganga <gsat@zmanda.com>
+ * server-src/amserverconfig.pl: amserverconfig needs to create a empty
+ changer.conf file
+
+2007-12-21 Jean-Louis Martineau <martineau@zmanda.com>
+ Bug reported by Tim Bunnell.
+ * client-src/getfsent.c (dev2rdev): Do it only for block device.
+
+2007-12-21 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/taper.c: Unquote holding_disk_file.
+
+2007-12-20 Dustin J. Mitchell <dustin@zmanda.com>
+ * common-src/debug.h: fix (cosmetic, but confusing) typo
+
+2007-12-19 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/util.c (quote_string): Quote ':'.
+
+2007-12-19 Ian Turner <ian@zmanda.com>
+ * server-src/taper.c: Don't crash if there is a problem writing a
+ brand new tape.
+
+2007-12-19 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/planner.c: Correctly set planner_timestamp if
+ usetimestamps is set to no.
+
+2007-12-18 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/driverio.c (childstr): Check dumper->chunker.
+
+2007-12-14 Ian Turner <ian@zmanda.com>
+ * device-src/tape-device.c: Try to open tape devices as O_NONBLOCK
+ at first; if the device is not ready, we will let the changer script
+ retry, instead of having the kernel do it for us.
+ * device-src/tape-ops.h, device-src/tape-aix.c,
+ device-src/tape-uware.c, device-src/tape-xenix.c,
+ device-src/tape-posix.c: Add new tape_is_ready() function.
+
+2007-12-14 Jean-Louis Martineau <martineau@zmanda.com>
+ * config/amanda/dumpers.m4: Don't set STAR in AMANDA_PROG_SAMBA_CLIENT.
+
+2007-12-14 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/find.c (search_logfile): Parse taper result line before
+ merging part_find.
+
+2007-12-14 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/find.c (find_log): Result should not have duplicate
+ logfile.
+
+2007-12-10 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amstatus.pl: Parse NEW-TAPE line
+ * server-src/taper.c: Add the handle in NEW-TAPE result.
+ * server-src/driver.c: Check number of arguments in NEW-TAPE result.
+
+2007-12-10 Jean-Louis Martineau <martineau@zmanda.com>
+ * config/amanda/progs.m4: Define AMLINT To 'echo;false' to no lint
+ are found.
+
+2007-12-10 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/bsdudp-security.c: Loop over all address until a bind
+ is successful.
+ * common-src/bsd-security.c: Loop over all address until a bind
+ is successful.
+ * common-src/stream.c: Loop over all address until a connect is
+ successful.
+
+2007-12-07 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amindexd.c: Don't use duplicate part.
+
+2007-12-07 Jean-Louis Martineau <martineau@zmanda.com>
+ * restore-src/amfetchdump.c: Don't use duplicate part.
+
+2007-12-07 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/holding.c (holding_get_all_datestamps): Don't add
+ duplicate datestamp.
+
+2007-12-07 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amcheck.c: Don't complain about correct unlabeled
+ volumes.
+
+2007-12-06 Jean-Louis Martineau <martineau@zmanda.com>
+ * client-src/sendbackup.c, client-src/sendsize.c,
+ client-src/selfcheck.c, client-src/calcsize.c,
+ amandad-src/amandad.c, device-src/device.c,
+ device-src/vfs-device.c, server-src/changer.c,
+ server-src/dumper.c, server-src/planner.c,
+ server-src/chunker.c, server-src/server_util.c,
+ server-src/taperscan.c, server-src/driver.c,
+ server-src/taper.c, server-src/find.c,
+ server-src/diskfile.c, common-src/pipespawn.c,
+ common-src/util.c, common-src/conffile.c: Fix memory leak.
+
+2007-12-06 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/find.c (search_logfile): Parse PARTPARTIAL line.
+
+2007-12-06 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/taper.c: Use g_strdup if pointer can be NULL.
+
+2007-12-05 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/taperscan.c: Don't output the latest changer result.
+
+2007-12-05 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/util.c (resolve_hostname): Take a new socktype argument.
+ * common-src/util.h (resolve_hostname): New prototype.
+ * common-src/bsd-security.c, common-src/bsdtcp-security.c,
+ common-src/bsdudp-security.c, common-src/krb5-security.c,
+ common-src/rsh-security.c, common-src/security-util.c,
+ common-src/ssh-security.c, common-src/stream.c,
+ recover-src/set_commands.c, server-src/amcheck.c,
+ server-src/dumper.c: Call resolve_hostname with socktype argument.
+
+2007-12-05 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/util.c (resolve_hostname): Don't return V4MAPPED address.
+ * common-src/amanda.h (AI_V4MAPPED, AI_ALL): Don't define.
+
+2007-12-04 Ian Turner <ian@zmanda.com>
+ * server-src/taperscan.c, server-src/taperscan.h: Support persistence
+ between invocations of taper_scan(), so that you can get second-best
+ and further tapes.
+ * server-src/amcheck.c, server-src/amtape.c: Use the new taperscan
+ interface.
+ * server-src/taper.c: Do the right thing if there is an error writing
+ the tape label.
+
+2007-12-04 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amtape.c: Correctly output the result of taper scan.
+
+2007-12-04 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amcheck.c, server-src/dumper.c
+ server-src/planner.c: Don't crash is securoty driver is not found.
+
+2007-12-04 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/changer.c: Print better message if the changer script
+ has no output.
+
+2007-12-03 Jean-Louis Martineau <martineau@zmanda.com>
+ * man/xml-source/amserverconfig.8.xml: Fix indentation.
+
+2007-11-30 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/taper-mem-port-source.c, server-src/taper-file-source.c
+ server-src/taper.c: Cast guint64 to uintmax_t and use %ju to print.
+
+2007-11-30 Jean-Louis Martineau <martineau@zmanda.com>
+ * man/xml-source/amanda.conf.5.xml: Improve documentation.
+ * example/amanda.conf.in: Ditto.
+
+2007-11-30 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/server_util.c (cmdstr): Remove SPLIT-NEEDNEXT
+ and SPLIT-CONTINUE
+ * server-src/server_util.h (cmd_t): Remove SPLIT_NEEDNEXT
+ and SPLIT_CONTINUE.
+ * server-src/taper.c: Send part_kbyte in PARTDONE result.
+ * server-src/amstatus.pl: Parse part_kbyte in PARTDONE result line.
+ Parse REQUEST-NEW_TAPE line.
+ * common-src/conffile.h: CONF_FLUSH_THRESHOLD_DUMPED,
+ CONF_FLUSH_THRESHOLD_SCHEDULE, CONF_TAPERFLUSH.
+ * common-src/conffile.c: CNF_FLUSH_THRESHOLD_DUMPED,
+ CNF_FLUSH_THRESHOLD_SCHEDULE, CNF_TAPERFLUSH.
+ * server-src/driverio.h: Add Many globals.
+ * server-src/driver.c: Split runq in runq and directq.
+ Implement flush-threshold-*/taperflush.
+ * example/amanda.conf.in: Example for flush-threshold-* and taperflush.
+ * man/xml-source/amanda.conf.5.xml: Document flush-threshold-*
+ and taperflush.
+
+2007-11-30 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/taperscan.c: Fix output formating.
+
+2007-11-30 Jean-Louis Martineau <martineau@zmanda.com>
+ * recover-src/set_commands.c: Add a terminating '/' in cd_regex.
+ Never add it in cd_dir.
+
+2007-11-30 Jean-Louis Martineau <martineau@zmanda.com>
+ * config/automake/scripts.am: Build of the scripts also depend on
+ $(top_builddir)/config.status
+
+2007-11-30 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amdump.sh: Pass a --startime argument to planner.
+ * server-src/planner.c: Get the --starttime command line argument.
+
+2007-11-30 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amstatus.pl: New --locale-independent-date-format option.
+ * man/xml-source/amstatus.8.xml: Document it.
+ * server-src/amflush.c: Output a "starttime-locale-independent" line.
+ * server-src/amdump.sh: Output a "starttime-locale-independent" line.
+
+2007-11-30 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/find.c: Remove seen_chunk_of function.
+
+2007-11-28 Jean-Louis Martineau <martineau@zmanda.com>
+ * config/macro-archive/docbook-dtd.m4: Check return code of 5.
+
+2007-11-28 Dustin J. Mitchell <dustin@zmanda.com>
+ * installcheck/Amconfig.pm.in: fix quoting error leading to
+ directories named '"'
+
+2007-11-28 Dustin J. Mitchell <dustin@zmanda.com>
+ * common-src/file.c: only chown new directories when running as root
+
+2007-11-28 Dustin J. Mitchell <dustin@zmanda.com>
+ * config/automake/installperms.am: strip directory names from build
+ filenames when setting permissions; fixes errors from examples/
+ install
+
+2007-11-28 Dustin J. Mitchell <dustin@zmanda.com>
+ * man/Makefile.am: Allow installs, but not tarballs, without
+ manpages
+
+2007-11-27 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/planner.c: Check dp->todo before using (est)->dp.
+
+2007-11-27 Jean-Louis Martineau <martineau@zmanda.com>
+ * device-src/device.c (default_device_start): Overwrite label only
+ if mode == ACCESS_WRITE.
+
+2007-11-20 Ian Turner <ian@zmanda.com>
+ * device-src/device.c, device-src/device.h
+ device-src/tape-device.c, device-src/rait-device.c: Change API
+ semantics with respect to label reading. This patch makes it
+ possible to open and read a volume with properties while only
+ reading its label once. Thanks to Jean-Louis Martineau
+ <martineau@zmanda.com> for suggesting this change.
+
+2007-11-20 Ian Turner <ian@zmanda.com>
+ * device-src/vfs-device.c: Be more thourough about updating volume
+ usage statistics.
+
+2007-11-20 Ian Turner <ian@zmanda.com>
+ * changer-src/chg-lib.sh.in: Use a more robust check for MT path.
+ * server-src/amverify.sh.in: Use amrestore instead of amdd/ammt.
+
+2007-11-09 Ian Turner <ian@zmanda.com>
+ * server-src/taperscan.c: Fix a memory allocation bug and be a little
+ more paranoid.
+
+2007-11-06 Ian Turner <ian@zmada.com>
+ * server-src/taperscan.c: Print a proper message if there is
+ only one flag from device_read_label().
+
+2007-11-26 Dustin J. Mitchell <dustin@zmanda.com>
+ * configure.in config/amanda/config.m4 common-src/genversion.c
+ common-src/Makefile.am: explicitly generate svn info at configure
+ time, rather than relying on svn keywords
+
+2007-11-26 Ian Turner <ian@zmanda.com>
+ * server-src/Makefile.am: Move amdevcheck from libexec/ to sbin/.
+ Thanks to Satya Ganga <gsat@zmanda.com> for noticing this problem.
+
+2007-11-26 John Franks <jrfranks@zmanda.com>
+ * common-src/debug.c For cygwin builds: change to
+ close and reopen log file handle on successful rename.
+ This is to ensure that Windows has no possibility of
+ preventing access to the original file name if processes
+ collide.
+
+2007-11-23 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amflush.c: Send config option (-o) to child process.
+
+2007-11-23 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/planner.c: Don't set est(dp)->state before testing it.
+
+2007-11-23 Jean-Louis Martineau <martineau@zmanda.com>
+ * config/amanda/readline.m4: Include termcap, curses or ncurese in LIBS.
+
+2007-11-23 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/diskfile.c (match_disklist): Fix for disk not found.
+
+2007-11-23 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/driver.c: Don't release taper_ev_read in
+ start_degraded_mode.
+
+2007-11-20 Paddy Sreenivasan <paddy@zmanda.com>
+ * amanda.spec: Added calls to Zmanda
+ * example/amanda-client.conf.in: Switch to bsdtcp
+
+2007-11-14 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amstatus.pl: Handle taper FAILED message.
+
+2007-11-14 Jean-Louis Martineau <martineau@zmanda.com>
+ * config/amanda/userid.m4: Use $enableval in AC_ARG_ENABLE.
+
+2007-11-07 Paddy Sreenivasan <paddy@zmanda.com>
+ * server-src/amserverconfig.pl server-src/amaddclient.pl:
+ new configuration tools
+ * common-src/amgpgcrypt.pl common-src/amcryptsimple.pl:
+ new encryption plugins
+ * man/xml-source/amaddclient.8.xml man/xml-source/amgpgcrypt.8.xml
+ man/xml-source/amcryptsimple.8.xml
+ man/xml-source/amserverconfig.8.xml: man pages for new tools
+ * example/template.d/* - Configuration file templates
+ * example/amanda-client.conf.in: Updated amanda configuration file
+ * example/Makefile.am man/Makefile.am server-src/Makefile.am
+ common-src/Makefile.am: Added amserverconfig, amaddclient,
+ amgpgcrypt and amcryptsimple
+ * device-src/Makefile.am: Fixed libamdevice version
+ * configure.in: Added template files
+ * amanda.spec: Updated spec file for new utilities
+
+2007-11-01 Dustin J. Mitchell <dustin@zmanda.com>
+ * config/automake/installperms.am: new method of specifying
+ permissions on installed files
+ * config/amanda/userid.m4 configure.in: add --disable-installperms
+ to disable any permsisions settings (useful for packaging builds)
+ * oldrecover-src/Makefile.am example/Makefile.am
+ changer-src/Makefile.am amplot/Makefile.am
+ client-src/Makefile.am amandad-src/Makefile.am man/Makefile.am
+ dumper-src/Makefile.am recover-src/Makefile.am
+ server-src/Makefile.am restore-src/Makefile.am
+ Makefile.am support/Makefile.am common-src/Makefile.am
+ tape-src/Makefile.am: use installperms.am
+
+2007-11-01 Dustin J. Mitchell <dustin@zmanda.com>
+ Suggested by Jon LaBadie
+ * config/automake/precompile.am: new rule to make
+ precompiler output files; useful for debugging
+ * */Makefile.am: include precompile.am
+
+2007-11-01 Jean-Louis Martineau <martineau@zmanda.com>
+ * AUTHORS: Add Dustin J. Mitchell.
+
+2007-10-31 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
+ * most C files, amanda.h: Switch to using the g_printf family, which
+ supports a consistent set of %-conversions, including the 'z'
+ (size_t) and 'j' (intmax_t) size specifiers. Convert various
+ printf format strings accordingly.
+
+2007-10-31 Dustin J. Mitchell <dustin@zmanda.com>
+ * common-src/genversion.c common-src/Makefile.am: fix BUILD_REV
+ and BUILD_BRANCH to work even when packages are built from
+ distribution tarballs
+
+2007-10-31 Ian Turner <ian@zmanda.com>
+ * server-src/taperscan.c: Don't segfault if there is an error opening
+ a device during taperscan.
+
+2007-10-30 Dustin J. Mitchell <dustin@zmanda.com>
+ * docs autogen INSTALL UPGRADING configure.in
+ DEVELOPING Makefile.am: remove docs/ directory in favor of
+ manpages and online reference; most docs/* were outdated
+
+2007-10-29 Dustin J. Mitchell <dustin@zmanda.com>
+ * changer-src/chg-zd-mtx.sh: fix typo
+
+2007-10-29 Ian Turner <ian@zmanda.com>
+ * restore-src/restore.c: Don't mention slot numbers when running
+ without a changer.
+
+2007-10-29 Ian Turner <ian@zmanda.com>
+ * man/xml-source/amfetchdump.8.xml: Remove documentation for
+ amfetchdump -i.
+
+2007-10-26 Dustin J. Mitchell <dustin@zmanda.com>
+ Add support for post-install tests, which can be more thorough than
+ unit tests.
+ * configure.in Makefile.am installcheck/*: new directory
+ * installcheck/amgetconf.pl: test some of amgetconf's functionality
+ * docs/developing.txt: notes on various test mechanisms
+ * config/automake/scripts.am: add CHECK_PERL_FLAGS
+ * common-src/debug.c: only try to chown debug files if running as root
+
+2007-10-25 Dustin J. Mitchell <dustin@zmanda.com>
+ * config/mkinstalldirs config/depcomp config/config.guess
+ config/ltmain.sh config/config.sub config/missing
+ config/install-sh config/ylwrap: update files with automake-1.10,
+ libtool-1.5.24
+ * autogen: don't call automake with --add-missing, as it stomps all
+ over the working copy
+
+2007-10-25 Dustin J. Mitchell <dustin@zmanda.com>
+ * gnulib/* config/*: updated to latest gnulib
+ * gnulib/regenerate/regenerate: update gnulib date
+ * gnulib/regenerate/getaddrinfo-cygwin.patch: update to patch new
+ getaddrinfo.c
+ * device-src/tests/vfs_test.c: mkdtemp.h no longer exists
+
+2007-10-24 Jean-Louis Martineau <martineau@zmanda.com>
+ * client-src/Makefile.am: Remove duplicate entry for
+ libamclient_la_SOURCES.
+
+2007-10-23 Dustin J. Mitchell <dustin@zmanda.com>
+ * config/automake/scripts.am: rules to build (substitute) scripts
+ * config/automake/vars.am: define empty variables for later appending
+ * config/automake/check-perl.am config/automake/check-shell.pm:
+ removed
+ * changer-src/Makefile.am amplot/Makefile.am client-src/Makefile.am
+ dumper-src/Makefile.am server-src/Makefile.am
+ common-src/Makefile.am: Use new include files
+ * configure.in: remove now-unnecessary AC_CONFIG_FILES
+ * *.sh.in *.pl.in *.awk.in: renamed
+
+2007-10-20 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/reporter.c: Always call sort_disks.
+
+2007-10-20 Jean-Louis Martineau <martineau@zmanda.com>
+ * man/xml-source/amanda.conf.5.xml: Correctly document portrange.
+ * common-src/conffile.c: Fix portrange.
+
+2007-10-20 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/conffile.c: Allow reserved-udp-port and reserved-tcp-port
+ in amanda-client.conf.
+
+2007-10-17 Dustin J. Mitchell <dustin@zmanda.com>
+ * common-src/amanda.h: remove amflock cruft
+
+2007-10-16 Dustin J. Mitchell <dustin@zmanda.com>
+ * config/amanda/defaults.m4: Change EXAMPLE_TAPEDEV to use the 'tape:'
+ syntax, and to indicate "you need to change this!" more explicitly
+
+2007-10-16 Ian Turner <ian@zmanda.com>
+ * common-src/glib-util.c: Allow use of units in parsing GValues; in
+ particular, this allows use of units when specifying device
+ properties in the configuration file.
+ * common-src/conffile.c, common-src/conffile.h: Make unit suffixes
+ available outside of conffile.c.
+
+2007-10-16 Ian Turner <ian@zmanda.com>
+ * device-src/device.c: Fix a compilation error in
+ device_set_startup_properties_from_config().
+
+2007-10-16 Ian Turner <ian@zmanda.com>
+ * man/xml-source/amanda.conf.5.xml, server-src/taper.c,
+ common-src/conffile.c, common-src/conffile.h: Add new
+ configuration directive device_output_buffer_size to replace
+ tapebufs.
+
+2007-10-15 Ian Turner <ian@zmanda.com>
+ * device-src/device.c: Don't complain about problems setting
+ MAX_VOLUME_USAGE; do complain about problems setting
+ READ_BUFFER_SIZE.
+
+2007-10-16 Jean-Louis Martineau <martineau@zmanda.com>
+ * client-src/sendbackup-gnutar.c: Use GNUTAR.
+
+2007-10-15 Dustin J. Mitchell <dustin@zmanda.com>
+ * device-src/device.c: do not fall back to tape:/foo if the tape
+ device is not available (WANT_TAPE_DEVICE is not set)
+
+2007-10-12 Dustin J. Mitchell <dustin@zmanda.com>
+ * changer-src/chg-mtx.sh.in changer-src/chg-zd-mtx.sh.in
+ changer-src/chg-multi.sh.in: add missing definition of prefix
+
+2007-10-12 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/protocol.c (s_repwait): return PA_FINISH on P_NAK.
+
+2007-10-11 Dustin J. Mitchell <dustin@zmanda.com>
+ * config/amanda/tape.m4: fix typo (have_MTIOCTOP -> HAVE_MTIOCTOP)
+
+2007-10-10 Dustin J. Mitchell <dustin@zmanda.com>
+ * common-src/amflock-test.c common-src/amflock-lnlock.c: don't use
+ AMANDA_TMPDIR during build-time testing
+
+2007-09-14 Dustin J. Mitchell <dustin@zmanda.com>
+ * recover-src/uscan.l recover-src/extract_list.c
+ recover-src/uparse.y recover-src/amrecover.h
+ recover-src/help.c recover-src/set_commands.c: deprecate
+ 'settape', add 'setdevice'
+ * man/xml-source/amrecover.8.xml: corresponding doc update
+ * example/amanda.conf.in: update comments in example config,
+ change default value of amrecover_changer from the confusing
+ "/dev/null"
+
+2007-10-09 Dustin J. Mitchell <dustin@zmanda.com>
+ * common-src/amflock-test.c: lock files in the cwd, rather than /tmp,
+ and pay attention to errors from unlink()
+
+2007-10-09 Dustin J. Mitchell <dustin@zmanda.com>
+ * gnulib/regenerate/regenerate gnulib/mkdtemp.c gnulib/mkdtemp.h
+ gnulib/gettimeofday.c gnulib/sys_time_.h gnulib/tempname.c
+ gnulib/tempname.h gnulib/stat_.h gnulib/Makefile.am
+ device-src/tests/vfs_test.c config/gnulib/mkdtemp.m4
+ config/gnulib/sys_time_h.m4 config/gnulib/tempname.m4
+ config/gnulib/gnulib-comp.m4 config/gnulib/sys_stat_h.m4
+ config/gnulib/gnulib-cache.m4 config/gnulib/gettimeofday.m4:
+ add 'mkdtemp' gnulib module, use it in vfs_test.c
+
+2007-10-09 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/util.c (portable_readdir): Don't use reentrant function.
+
+2007-10-08 Dustin J. Mitchell <dustin@zmanda.com>
+ * autogen configure.in config/macro-archive/*.m4
+ config/amanda/*.m4 config/libtool/*.m4: move most autoconf
+ checks to macros in .m4 files. Hilights of changes along the way:
+ - use AC_REQUIRES to enforce check ordering
+ - Add a post-configure summary of important results
+ - use AM_CONDITIONAL to control conditional compilation of whole
+ files, instead of preprocessor macros
+ - correct spelling of PRINCIPLE -> PRINCIPAL
+ - remove support for dbmalloc (we use valgrind, coverity, etc. now)
+ - remove support for infofiles in anything but text format
+ - change DONT_SUID_ROOT to !WANT_SETUID_ROOT
+ - remove unused --with-broken-fsf
+ - remove multiple unused function and header checks, the defines
+ from which do not appear in any source file
+ - remove LTLIBOBJS cruft based on
+ http://www.delorie.com/gnu/docs/autoconf/autoconf_165.html
+ - remove unused LTALLOCA definition based on
+ http://www.delorie.com/gnu/docs/libtool/libtool_30.html
+ - use autoconf macro archive's
+ AC_DEFINE_DIR to expand $prefix, etc. in directory variables
+ - do not *require* --with-{user,group}; this allows 'make distcheck'
+ to run successfully
+ * docs/developing.txt: describe how to update gnulib, libtool, and
+ gettext
+ * po/reautopoint.patch po/reautopoint: script to update gettext,
+ parallel to gnulib/regenerate/regenerate
+ * amandad-src/amandad.c 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-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 client-src/calcsize.c client-src/getfsent.c
+ client-src/selfcheck.c client-src/sendbackup.c
+ client-src/sendsize.c common-src/alloc.c common-src/amanda.h
+ common-src/conffile.c common-src/debug.c common-src/file.c
+ common-src/genversion.c common-src/krb4-security.c
+ common-src/writev.c device-src/tape-posix.c server-src/amadmin.c
+ server-src/amcheck.c server-src/amlabel.c server-src/amlogroll.c
+ server-src/amtape.c server-src/amtrmidx.c server-src/amtrmlog.c
+ server-src/changer.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/infofile.h server-src/planner.c
+ server-src/reporter.c tape-src/output-tape.c: changes corresponding
+ to simplifications and fixes in autoconf
+ * gnulib/regenerate/no-error.patch gnulib/regenerate/regenerate: no
+ need to create gnulib.m4i anymore
+
+2007-10-08 Kevin Till <ktill@zmanda.com> (merged by dustin@zmanda.com)
+ * example/amanda.conf.in: add segate LTO tapetype
+
+2007-10-08 Paddy Sreenivasan <paddy@zmanda.com>
+ * changer-src/chg-lib.sh.in
+ changer-src/chg-null.sh.in changer-src/chg-disk.sh.in
+ changer-src/chg-juke.sh.in changer-src/chg-rait.sh.in
+ changer-src/chg-chs.sh.in changer-src/chg-mcutil.sh.in
+ amplot/amplot.sh.in client-src/patch-system.sh.in
+ server-src/amcheckdb.sh.in server-src/amverifyrun.sh.in
+ server-src/amrmtape.sh.in server-src/amverify.sh.in
+ server-src/amfreetapes.sh.in server-src/amcleanup.sh.in
+ server-src/amdump.sh.in common-src/amanda-sh-lib.sh.in
+ common-src/amcrypt-ossl-asym.sh.in common-src/amcrypt.sh.in
+ common-src/amaespipe.sh.in common-src/Makefile.am
+ common-src/amcrypt-ossl.sh.in: move amanda-sh-lib.sh from
+ $libexecdir/amanda to just $libexecdir
+
+2007-10-04 Dustin J. Mitchell <dustin@zmanda.com>
+ * device-src/tests/Makefile.am device-src/tests/vfs_test.c: add a test
+ for the vfs device
+ * device-src/property.c device-src/vfs-device.c: add
+ PROPERTY_FREE_SPACE
+
+2007-10-04 Dan Locks <dwlocks@zmanda.com>
+ * amanda.spec: add .spec file Zmanda uses for community builds
+
+2007-10-04 Dustin J. Mitchell <dustin@zmanda.com>
+ * device-src/device.c device-src/Makefile.am configure.in: add
+ WANT_TAPE_DEVICE conditional, for machines that have no tape
+ support whatsoever (Mac OS X)
+
+2007-10-03 Dan Locks <dwlocks@zmanda.com>
+ * configure.in: Added /opt/local/bin AC_PATH_PROG(PKG_CONFIG.. for
+ mac osx and macports
+
+2007-10-03 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/driver.c: Go in degraded mode after out of tape.
+
+2007-10-02 Jean-Louis Martineau <martineau@zmanda.com>
+ * man/xml-source/amanda.conf.5.xml: Fix indentation.
+
+2007-10-02 Dustin J. Mitchell <dustin@zmanda.com>
+ * server-src/amcheck.c: Fix typo in merge found by
+ martineau@zmanda.com
+
+2007-10-01 Ian Turner <ian@zmanda.com>
+ * device-src/rait-device.c, device-src/queueing.c,
+ device-src/tests/device_test.c, device-src/device.h,
+ device-src/device.c: Remove device_is_eof() function in favor of
+ accessing is_eof member directly.
+
+2007-10-01 Dustin J. Mitchell <dustin@zmanda.com>
+ Coverity bug #237
+ * amandad-src/amandad.c: fix a use-after-free
+
+2007-10-01 Ian Turner <ian@zmanda.com>
+ * device-src/device.c: Automatically register the CANONICAL_NAME
+ property for all devices.
+
+2007-10-01 Ian Turner <ian@zmanda.com>
+ * device-src/tape-posix.c: Use MTEOD on systems that have it but not
+ MTEOM.
+
+2007-10-01 Ian Turner <ian@zmanda.com>
+ * device-src/device.c, device-src/vfs-device.c,
+ device-src/rait-device.c: Use g_strdup() instead of strdup().
+
+2007-10-01 Ian Turner <ian@zmanda.com>
+ * changer-src/chg-lib.sh.in: Fix some compilation problems on
+ Solaris 10.
+
+2007-09-25 Dan Locks <dwlocks@zmanda.com>
+ * common-src/util.c: cast uid_t to long long for printf formatting
+
+2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
+ * 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 common-src/Makefile.am
+ tape-src/Makefile.am: replace -I../config with
+ -I$(top_builddir)/config
+ * device-src/tests/Makefile.am: Replace -I.. with
+ -I$(top_srcdir)/device-src
+
+2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
+ * client-src/sendsize.c: change "smbclient" to SAMBA_CLIENT to allow
+ configurable name
+
+2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
+ * common-src/amflock-flock.c common-src/amflock-posix.c
+ common-src/amflock-lockf.c common-src/amflock-lnlock.c
+ common-src/amflock.c: use G_GNUC_UNUSED to avoid compiler
+ warnings
+
+2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
+ * common-src/amanda.h common-src/file.h: move declaration of
+ canonicalize_pathname to file.h
+
+2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
+ * common-src/util.c common-src/util.h: only check euid==uid
+ if not RUNNING_AS_UID_ONLY; set_root_privs() checks that euid=0
+ * client-src/runstar.c client-src/noop.c client-src/runtar.c
+ client-src/sendbackup.c client-src/killpgrp.c
+ client-src/sendsize.c client-src/selfcheck.c
+ client-src/rundump.c amandad-src/amandad.c
+ server-src/amlogroll.c server-src/amindexd.c
+ server-src/amcheck.c server-src/dumper.c server-src/planner.c
+ server-src/chunker.c server-src/amadmin.c server-src/amtape.c
+ server-src/amcleanupdisk.c server-src/amflush.c
+ server-src/amtrmlog.c server-src/amdevcheck.c
+ server-src/driver.c server-src/reporter.c server-src/taper.c
+ server-src/amtrmidx.c server-src/amlabel.c
+ restore-src/amidxtaped.c restore-src/amfetchdump.c:
+ remove RUNNING_WITHOUT_SETUID and change RUNNING_AS_SETUID_ROOT
+ to RUNNING_AS_UID_ONLY (with corresponding checks for root-ness)
+ * client-src/calcsize.c: drop root privs immediately, and only
+ regain them for stat() and opendir() operations
+
+2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
+ * device-src/property.c device-src/property.h: create VERBOSE property
+
+2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
+ * device-src/device.h device-src/queueing.h: expand comments
+ * tape-src/output-rait.h tape-src/output-null.c
+ tape-src/output-null.h tape-src/output-file.c
+ tape-src/output-file.h tape-src/output-tape.c
+ tape-src/output-tape.h tape-src/output-rait.c: add deprecation
+ comment
+
+2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
+ * changer-src/chg-zd-mtx.sh.in: Don't pass stripped device names back
+ to Amanda.
+
+2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
+ * changer-src/chg-mtx.sh.in, changer-src/chg-manual.sh.in,
+ changer-src/chg-zd-mtx.sh.in, changer-src/chg-juke.sh.in,
+ changer-src/chg-chs.sh.in, changer-src/chg-multi.sh.in: Don't use
+ ammt for anything; use system mt and only for device operations that
+ require it.
+ * changer-src/chg-lib.sh.in: Support for above change.
+
+2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
+ * device-src/tape-device.c: Fix a border case bug where
+ tape_device_robust_read() would abort when called with a buffer
+ exactly equal to the minimum read size.
+
+2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
+ * device-src/tape-device.c: Use g_strdup() instead of strdup().
+
+2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
+ * device-src/vfs-device.h, device-src/fd-device.c,
+ device-src/tape-device.c, device-src/Makefile.am,
+ device-src/fd-device.h, device-src/tape-device.h,
+ device-src/vfs-device.c: Delete the FdDevice and make TapeDevice
+ and VfsDevice direct descendants of Device. Also, correct all
+ reading and writing of volume and part labels for both drivers.
+ * server-src/amcheck.c: Unlabeled tapes are OK, at least with
+ label_new_tapes_option.
+
+2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
+ * server-src/taperscan.c: Fix the order of arguments to
+ scan_read_label(). Patch by Dustin J. Mitchell <dustin@zmanda.com>.
+
+2007-09-25 Jean-Louis Martineau <martineau@zmanda.com> (merged by dustin@zmanda.com)
+ * restore-src/restore.c: Change "no tapedev specified" message.
+
+2007-09-25 Jean-Louis Martineau <martineau@zmanda.com> (merged by dustin@zmanda.com)
+ * server-src/amtape.c: changer_label should be called only on success.
+
+2007-09-25 Jean-Louis Martineau <martineau@zmanda.com> (merged by dustin@zmanda.com)
+ * restore-src/restore.c: init cur_tapedev.
+
+2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
+ * gnulib/regenerate/regenerate gnulib/* config/gnulib/*: add
+ gnulib module 'fsusage'
+ * common-src/statfs-test.c common-src/statfs.c
+ common-src/statfs.h common-src/Makefile.am: remove old statfs
+ * client-src/selfcheck.c client-src/calcsize.c
+ server-src/amcheck.c server-src/driver.c: use fsusage instead of
+ statfs
+
+2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
+ * common-src/alloc.c: Do away with debug_amfree(), which makes invalid
+ assumptions about the way system malloc() works.
+ * common-src/amanda.h: Update definition of amtable_free() accordingly.
+
+2007-09-25 Jean-Louis Martineau <martineau@zmanda.com> (merged by dustin@zmanda.com)
+ * server-src/amadmin.c: Allow 'f' sort order.
+ * server-src/find.c: Fix parsing of log files.
+ * server-src/find.h (DEFAULT_SORT_ORDER): Set to "hkdlpbf".
+
+2007-09-25 Jean-Louis Martineau <martineau@zmanda.com> (merged by dustin@zmanda.com)
+ * server-src/driverio.h (sched_t): Split attempted in dump_attempted
+ and taper_attempted.
+ * server-src/driver.c: Split attempted in dump_attempted
+ and taper_attempted.
+ * server-src/driver.c (file_taper_result): Retry dump if INPUT-ERROR.
+
+2007-09-25 Jean-Louis Martineau <martineau@zmanda.com> (merged by dustin@zmanda.com)
+ * server-src/dumper.c (add_msg_data): Remove bogus handling of "
+ in mesg stream.
+
+2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
+ * server-src/taper-file-source.c: If there's a problem reading the
+ holding disk, log the error as we get it from the OS.
+
+2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
+ * server-src/taper-source.c, server-src/taper.c: Do the right thing
+ if the connection to dumper is severed before we recieve a header.
+
+2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
+ * server-src/taper-source.c, server-src/taper-source.h,
+ server-src/taper-source-test.c, server-src/taper-port-source.c,
+ server-src/taper-port-source.h: Don't have TaperPortSource track
+ the control FD, and make it responsible for closing the data FD.
+ * server-src/taper.c: ditto, plus close control socket correctly.
+
+2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
+ * server-src/vfs-device.c: Fix a bug where all VFS device volumes
+ were thought unlabeled. Also do the right thing when there are
+ extra files in the VFS volume directory.
+ * server-src/amlabel.c: Fail if there is a problem re-reading the
+ volume label.
+
+2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
+ * device-src/device.c: Set the device name before reading the label.
+ * device-src/fd-device.c: An invalid header indicates an unlabeled
+ volume, not a volume error.
+ * device-src/taper-device.c: Insufficient buffer space causes
+ ENOMEM, not ENOSPC, at least on Linux.
+ * server-src/amlabel.c: Correctly handle the case where
+ device_read_label() returns exactly 1 set bit.
+
+2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
+ * server-src/taper-source.c, server-src/taper-disk-port-source.c,
+ server-src/taper.c: Be careful not to use strings from getcwd()
+ past the next invocation of getcwd().
+
+2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
+ * device-src/vfs-device.c: Use old VFS device specification.
+
+2007-09-25 Ian Turner <ian@zmanad.com> (merged by dustin@zmanda.com)
+ * server-src/amlabel.c: Don't dump core on successful labeling.
+
+2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
+ * device-src/tests/semaphore-test.c device-src/tests/Makefile.am:
+ test semaphore module
+ * device-src/semaphore.c: bugfixes, optimizations
+ * device-src/semaphore.h: inline documentation
+
+2007-09-25 Nikhil Bandiwadekar <nikhil@zmanda.com> (merged by dustin@zmanda.com)
+ * server-src/driver.c: Added quoting to directory name while logging
+ in statistics section
+ * server-src/reporter.c: Handled quoted string for directory name in
+ statistics section
+
+2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
+ * device-src/device.c, device-src/device.h, device-src/s3-device.c,
+ device-src/fd-device.c, device-src/tape-device.c,
+ device-src/vfs-device.c, device-src/rait-device.c: Implement new,
+ more nuanced device_read_label() interface.
+ * server-src/amcheck.c, server-src/amtape.c, server-src/taperscan.c,
+ server-src/amlabel.c, restore-src/amrestore.c,
+ restore-src/restore.c: Use new interface.
+ * common-src/glib-util.c, common-src/glib-util.h: New Flags->string
+ interface.
+ * server-src/amdevcheck.c: New tool to check device/volume status.
+ * man/xml-source/amdevcheck.8.xml: Document it.
+ * server-src/Makefile.am: Add amdevcheck
+ * man/Makefile.am: Add amdevcheck.8
+
+2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
+ * device-src/s3-device.c: adjust glib logging calls to match debug.h's
+ definitions.
+ * common-src/debug.c: typo
+ * common-src/debug.h: add definitions for g_info() and g_debug() if
+ they are missing
+
+2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
+ Thanks to Pavel Pragin <ppragin@zmanda.com> for finding these issues.
+ * server-src/amtape.c: Update the changer database in 'amtape update'.
+ Thanks to Dustin J. Mitchell <dustin@zmanda.com> for this fix.
+ * server-src/taperscan.c: Update the changer database during the
+ taper scan algorithm.
+
+2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
+ Thanks to Jean-Louis Martineau <martineau@zmanda.com> for these fixes:
+ * server-src/dumper.c: Log packet to debug file.
+ * server-src/planner.c: Improve quoting.
+ * server-src/driver.c: Don't call free_serial if we still need it.
+ * server-src/driver.c: Wait for dumper result if taper fail.
+ * server-src/amstatus.pl.in: Improve parsing of initial schedule.
+
+2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
+ * device-src/tape-device.c: Use the right default block size for
+ reading.
+
+2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
+ * device-src/vfs-device.c: add forgotten device_add_property() call
+
+2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
+ * server-src/taper.c: Remove an erroneous assertion. Thanks to
+ Jean-Louis Martineau <martineau@zmanda.com> for noticing this issue.
+
+2007-09-25 Patch by Jean-Louis Martineau <martineau@zmanda.com> (merged by dustin@zmanda.com)
+ * server-src/driverio.h server-src/driver.c: Record
+ information from first PARTDONE result. Remove duplicate
+ update_info_dumper. Call update_info_taper as needed.
+
+2007-09-25 Jean-Louis Martineau <martineau@zmanda.com> (merged by dustin@zmanda.com)
+ * restore-src/restore.c: Don't send text to prompt_out if amidxtaped.
+
+2007-09-25 Jean-Louis Martineau <martineau@zmanda.com> (merged by dustin@zmanda.com)
+ * restore-src/amfetchdump.c: Fix a bug where amfetchdump will never
+ try to use the changer.
+
+2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
+ * restore-src/amfetchdump.c: Fix a bug where amfetchdump will
+ still try to use the changer even with the -d parameter.
+
+2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
+ * man/xml-source/amadmin.8.xml server-src/amadmin.c: add an
+ 'outd' column to 'amadmin CONF holding list -l', indicating
+ an "outdated" dump, and a '-d' option to list only outdated
+ holding disk files. Outdated dumps are described in the
+ amadmin documentation.
+
+2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
+ * client-src/sendsize.c configure.in server-src/getconf.c
+ restore-src/amrestore.c restore-src/amfetchdump.c
+ common-src/util.c common-src/genversion.c common-src/util.h
+ common-src/debug.c common-src/error.c common-src/amanda.h
+ common-src/Makefile.am:
+ - support the glib logging infrastructure by feeding messages
+ into debug logs
+ - merge the error module into the debug module
+ - document debug.h with verbose comments
+ - call g_critical() for error() and g_error() for errordump()
+ - remove double dgettext() call in debug_printf
+ - remove --without-debugging (so debugging is always on)
+ - remove mostly unused debug prefix support
+ - remove onerror(), replacing its few uses with alternatives
+
+2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
+ * device-src/tests/device_test.c configure.in
+ recover-src/extract_list.c recover-src/uparse.y
+ server-src/amlogroll.c server-src/dumper.c server-src/reporter.c
+ common-src/conffile.c common-src/amanda.h common-src/getcwd.c
+ common-src/getcwd.h common-src/Makefile.am: Replace calls
+ to safe_getcwd with calls to g_get_current_dir(), which
+ has the same signature and semantics.
+
+2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
+ * restore-src/restore.c: Fix a bug where amfetchdump would not
+ restore anything when given the -p option. Thanks to Jean-Louis
+ Martineau <martineau@zmanda.com> for help in the development of
+ this patch.
+
+2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
+ * man/xml-source/amanda.conf.5.xml: note that includefile can
+ take relative paths
+ * server-src/amcleanupdisk.c: fix local variable shadowing
+ config_dir
+
+2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
+ * server-src/holding.c (holding_walk_file): amfree(filename).
+
+2007-09-25 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
+ * man/Makefile.am: fixes for conditional compiles
+
+2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
+ * common-src/conffile.c: Clean up some bad warning suppression and
+ obselete unused code.
+
+2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
+ * example/config.site man/xml-source/amanda.conf.5.xml
+ device-src/device.c device-src/device.h device-src/property.c
+ device-src/fd-device.c device-src/tape-device.c
+ device-src/property.h device-src/tape-device.h
+ device-src/tape-ops.h server-src/amcheck.c server-src/amtape.c
+ server-src/taperscan.c server-src/taper.c server-src/amlabel.c
+ restore-src/amrestore.c restore-src/restore.c:
+ This patch adds a new property READ_BUFFER_SIZE which is used
+ only by the tape device. The VFS device still uses BLOCK_SIZE
+ for reading; other devices don't need the property.
+
+2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
+ * server-src/amcheck.c: remove debugging message
+ * device-src/tape-posix.c: fix compilation
+ errors when MTCOMPRESSION is not defined
+
+2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
+ * Makefile.am config/Makefile.am config/ax_create_stdint_h.m4i
+ autogen configure.in: remove AX_CREATE_STDINT_H
+ * configure.in: add system-specific glib configuration
+ * changer-src/scsi-cam.c device-src/device.c
+ device-src/device.h device-src/tests/device_test.c
+ device-src/rait-device.c server-src/amcheck.c
+ server-src/taper.c server-src/amlabel.c
+ restore-src/amrestore.c restore-src/restore.c
+ common-src/glib-util.c common-src/security-util.c
+ common-src/amanda.h common-src/krb4-security.c:
+ replace references to stdint types and defines with glib
+ equivalents
+
+2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
+ * device-src/s3.c, device-src/tape-device.c,
+ device-src/rait-device.c: Fix a number of compiler warnings, some
+ legimate, others not. Thanks to Dustin J. Mitchell
+ <dustin@zmanda.com> and Jean-Louis Martineau <martineau@zmanda.com>
+ for help identifying warnings that need fixing.
+
+2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
+ * man/xml-source/amcleanup.8.xml server-src/amcleanupdisk.c
+ server-src/amcleanup.sh.in: add -v option for verbose output
+ * server-src/holding.c server-src/holding.h: rewrite
+ implementation of the holding API to use functors
+ * server-src/driver.c: modifications to holding API changes
+
+2007-09-24 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
+ * device-src/device.c: Suppress a compiler warning.
+
+2007-09-24 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
+ * device-src/device.h, device-src/device.c, device-src/fd-device.c,
+ device-src/tape-device.c, device-src/vfs-device.c,
+ device-src/rait-device.c: Update the seek_file API skip missing
+ files. Thanks to Dustin J. Mitchell <dustin@zmanda.com> and
+ Jean-Louis Martineau <martineau@zmanda.com> for help with this patch.
+ * restore-src/restore.c: Use the new API.
+
+2007-09-24 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
+ * client-src/Makefile.am, device-src/tests/Makefile.am,
+ device-src/Makefile.am, configure.in, common-src/Makefile.am,
+ tape-src/Makefile.am: Use AM_CFLAGS and LDFLAGS when
+ compiling. These changes by Dustin J. Mitchell <dustin@zmanda.com>.
+ * device-src/device.c, device-src/null-device.c,
+ device-src/device.c, device-src/queueing.c, device-src/property.c,
+ device-src/fd-device.c, device-src/s3-device.c,
+ device-src/semaphore.h, device-src/property.h,
+ device-src/vfs-device.c: Fix compiler warnings revealed by above
+ change. Thanks to Jean-Louis Martineau Jean-Louis Martineau
+ <martineau@zmanda.com> for help with these fixes.
+
+2007-09-24 Dustin J. Mitchell <dustin@zmanda.com>
+ * restore-src/restore.c restore-src/restore.h:
+ Allow NULLs in arguments to dump_match(); make it a static
+ function.
+
+2007-09-24 Dustin J. Mitchell <dustin@zmanda.com>
+ * device-src/device.c device-src/vfs-device.h
+ device-src/rait-device.h device-src/device.h
+ device-src/null-device.c device-src/tape-aix.c
+ device-src/tape-uware.c device-src/null-device.h
+ device-src/tape-xenix.c device-src/queueing.c
+ device-src/semaphore.c device-src/property.c
+ device-src/fd-device.c device-src/tape-device.c
+ device-src/queueing.h device-src/semaphore.h
+ device-src/property.h device-src/tape-posix.c
+ device-src/fd-device.h device-src/tape-device.h
+ device-src/vfs-device.c device-src/rait-device.c
+ device-src/tape-ops.h common-src/glib-util.c
+ common-src/glib-util.h: restrict to GPLv2
+
+2007-09-24 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
+ * Correct Cygwin build errors:
+ common-src/Makefile.am
+ common-src/amanda.h
+
+2007-09-24 Dustin J. Mitchell <dustin@zmanda.com>
+ * server-src/cmdline.c server-src/planner.c server-src/amadmin.c
+ server-src/amcleanupdisk.c server-src/amflush.c
+ server-src/holding.c server-src/holding.h server-src/driver.c
+ server-src/find.c common-src/glib-util.c common-src/glib-util.h:
+ remove 'verbose' flag, remove holding directories from API (they
+ will be gone soon anyway), and rework the holding module to use
+ glib data structures
+
+2007-09-24 Dustin J. Mitchell <dustin@zmanda.com>
+ * gnulib/regenerate/regenerate gnulib/Makefile.am
+ device-src/tests/Makefile.am device-src/Makefile.am
+ server-src/taper-mem-port-source.c server-src/taper.c
+ config/gnulib/gnulib-comp.m4 config/gnulib/gnulib-cache.m4
+ config/gnulib.m4i common-src/physmem.c common-src/physmem.h
+ common-src/amanda.h common-src/base64.c common-src/Makefile.am
+ common-src/base64.h: move base64, physmem into gnulib and set
+ device API to include libgnu.
+
+2007-09-24 Dustin J. Mitchell <dustin@zmanda.com>
+ * common-src/Makefile.am: remove redundant use of EXTRA_DIST
+
+2007-09-24 Dustin J. Mitchell <dustin@zmanda.com>
+ * device-src/device.c device-src/tests/device_test.c
+ device-src/rait-device.c server-src/amcheck.c
+ server-src/amtape.c server-src/taperscan.c server-src/taper.c
+ server-src/amlabel.c restore-src/restore.c: device_open() no
+ longer free()s the device name it is given.
+
+2007-09-24 Dustin J. Mitchell <dustin@zmanda.com>
+ * restore-src/restore.c: fix uninitialized value error
+
+2007-09-24 Dustin J. Mitchell <dustin@zmanda.com>
+ * server-src/changer.c server-src/amindexd.c
+ restore-src/amidxtaped.c common-src/debug.c common-src/amanda.h
+ common-src/alloc.c: fix support for builds without --with-debugging
+
+2007-09-24 Dustin J. Mitchell <dustin@zmanda.com>
+ * device-src/tests/queue_test.c: simplify signal handling to
+ be more portable
+
+2007-09-24 Dustin J. Mitchell <dustin@zmanda.com>
+ * server-src/cmdline.c server-src/cmdline.h:
+ Optionally parse datestamps and levels
+ * server-src/amadmin.c: pass flags to cmdline functions
+ * server-src/find.c restore-src/amidxtaped.c
+ restore-src/amrestore.c restore-src/restore.c
+ restore-src/restore.h restore-src/amfetchdump.c:
+ Use cmdline module in amrestore, amidxtaped, and amfetchdump
+
+2007-09-24 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
+ * restore-src/amrestore.c: Fix a segmentation fault that occurs
+ when the user specifies hostname, diskname, and date. Thanks to
+ Jean-Louis Martineau <martineau@zmanda.com> for finding and
+ fixing this bug.
+
+2007-09-24 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
+ * device-src/device.c (device_set_startup_properties_from_config):
+ Use tapetype parameters as well as device_property directives.
+ * device-src/device.h: ditto.
+ * common-src/conffile.c: Use a new macro DEFAULT_TAPE_LENGTH
+ as default tapetype length.
+ * common-src/conffile.h: ditto.
+ * restore-src/amrestore.c: Use new interface to
+ devic_set_startup_properties_from_config().
+ * restore-src/restore.c: ditto.
+ * server-src/amcheck.c: ditto.
+ * server-src/amlabel.c: ditto.
+ * server-src/amtape.c: ditto.
+ * server-src/taper.c: ditto.
+ * server-src/taperscan.c: ditto.
+
+2007-09-24 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
+ * server-src/amcheck.c: Return 0 if everything is good with the
+ tape. Thanks to Dustin Mitchell <dustin@zmanda.com> for
+ reporting this issue, and to Jean-Louis Martineau
+ <martineau@zmanda.com> for suggesting the form of the fix.
+
+2007-09-24 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
+ * server-src/restore.c: Only restore files matching requested
+ disknames. Report and patch by Jean-Louis Martineau
+ <martineau@zmanda.com>.
+
+2007-09-24 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
+ * server-src/restore.c: Drop some globals, use data types
+ responsibly.
+
+2007-09-24 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
+ * server-src/taper.c: Be slightly more rigorous in sanity-checking
+ the expected number of splits.
+ * server-src/taper-file-source.c: Correctly predict the number
+ of splits.
+
+2007-09-24 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
+ * device-src/vfs-device.c: Accept device names without a
+ terminating '/'.
+
+2007-09-24 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
+ Merge in new Device API. Thanks to Jean-Louis and Dustin for their
+ code contributions to this patch.
+
+2007-09-20 Dustin J. Mitchell <dustin@zmanda.com>
+ * oldrecover-src/extract_list.c recover-src/extract_list.c:
+ change stralloc2 to newstralloc2 to avoid possible memory
+ leak (coverity bug #214)
+
+2007-09-17 Jean-Louis Martineau <martineau@zmanda.com>
+ * client-src/client_util.c: Parse kencrypt in option string.
+ * client-src/sendbackup.c: Send KENCRYPT keyword in REP packet.
+ * client-src/client_util.h: Add kencrypt field in option_t.
+ * amandad-src/amandad.c: Enable kencrypt.
+ * server-src/dumper.c: Enable kencrypt.
+ * common-src/security.h (accept): New prototype, add conf_fn and datap.
+ * common-src/bsdtcp-security.c (bsdtcp_accept): Use new param.
+ * common-src/ssh-security.c (ssh_connect): Set rh->rc->conf_fn and
+ rh->rc->datap
+ * common-src/security-util.c (sec_accept): Set rc->conf_fn and
+ rc->datap
+ * common-src/amanda.h (kencrypt_type): New enum.
+ * common-src/bsdudp-security.c (bsdudp_accept): Use new param.
+ * common-src/security-util.h (sec_accept): New prototype.
+ * common-src/krb5-security.c: encryption enabled based on kencrypt.
+ * common-src/bsd-security.c (bsd_accept): Use new param.
+
+2007-09-14 Dustin J. Mitchell <dustin@zmanda.com>
+ * common-src/util.c common-src/util.h: add euid checks to
+ check_running_as
+ * client-src/runstar.c client-src/noop.c client-src/runtar.c
+ client-src/sendbackup.c client-src/killpgrp.c
+ client-src/sendsize.c client-src/selfcheck.c
+ client-src/rundump.c client-src/calcsize.c
+ amandad-src/amandad.c configure.in server-src/amlogroll.c
+ server-src/amindexd.c server-src/dumper.c server-src/planner.c
+ server-src/chunker.c server-src/amadmin.c server-src/amtape.c
+ server-src/amcleanupdisk.c server-src/amflush.c
+ server-src/amtrmlog.c server-src/amdevcheck.c
+ server-src/driver.c server-src/reporter.c server-src/taper.c
+ server-src/amtrmidx.c server-src/amlabel.c
+ restore-src/amidxtaped.c restore-src/amfetchdump.c: use them
+ * common-src/krb5-security.c: remove unused variable
+
+2007-09-14 Dustin J. Mitchell <dustin@zmanda.com>
+ * server-src/getconf.c: Don't check running_as in amgetconf, as
+ it may not have a configuration file (e.g., for build params)
+
+2007-09-12 Dustin J. Mitchell <dustin@zmanda.com>
+ Bug identified by Satya Ganga <gsat@zmanda.com>
+ * common-src/util.c: handle bad call to check_running_as correctly
+
+2007-09-11 Dustin J. Mitchell <dustin@zmanda.com>
+ Bug reported by Bill Bartlett; patch by Jean-Louis Martineau
+ <martineau@zmanda.com>
+ * common-src/statfs.c: fix error in available-space calculations
+
+2007-09-10 Dustin J. Mitchell <dustin@zmanda.com>
+ * server-src/amcheck.c: quiet compiler warnings when SINGLE_USERID is
+ defined
+
+2007-09-10 Dustin J. Mitchell <dustin@zmanda.com>
+ * configure.in: change FORCE_USERID to CHECK_USERID, add SINGLE_USERID
+ (when all of Amanda runs as the same userid) and WANT_SETUID_CLIENT
+ (clint binaries should be setuid-root), currently only used on
+ Cygwin.
+ * common-src/util.c common-src/util.h: utility functions for userid
+ checks and manipulations
+ * oldrecover-src/amrecover.c client-src/runstar.c
+ client-src/noop.c client-src/runtar.c client-src/sendbackup.c
+ client-src/killpgrp.c client-src/sendsize.c
+ client-src/selfcheck.c client-src/rundump.c
+ client-src/calcsize.c amandad-src/amandad.c
+ recover-src/amrecover.c server-src/amlogroll.c
+ server-src/amindexd.c server-src/amcheck.c server-src/dumper.c
+ server-src/planner.c server-src/chunker.c server-src/amadmin.c
+ server-src/amtape.c server-src/amcleanupdisk.c
+ server-src/getconf.c server-src/amflush.c server-src/amtrmlog.c
+ server-src/amdevcheck.c server-src/driver.c
+ server-src/reporter.c server-src/taper.c server-src/amdump.sh.in
+ server-src/amtrmidx.c server-src/amlabel.c common-src/genversion.c
+ restore-src/amidxtaped.c restore-src/amfetchdump.c
+ common-src/bsdtcp-security.c common-src/bsdudp-security.c
+ common-src/krb5-security.c common-src/krb4-security.c
+ common-src/bsd-security.c: use utility functions to check userids.
+
+2007-09-07 Dustin J. Mitchell <dustin@zmanda.com>
+ Change by Paul Bijnens
+ * man/xml-source/amanda.conf.5.xml: Clarify 'etimeout'
+
+2007-09-07 Dustin J. Mitchell <dustin@zmanda.com>
+ * gnulib/regenerate/no-error.patch gnulib/Makefile.am: remove
+ spurious sign-compare warnings from gnulib
+
+2007-09-05 Dustin J. Mitchell <dustin@zmanda.com>
+ Bug identified downstream in Debian packaging
+ * changer-src/chg-null.sh.in: fix typo
+
+2007-08-29 Dustin J. Mitchell <dustin@zmanda.com>
+ * common-src/genversion.c common-src/Makefile.am: add subversion revision
+ and branch info to 'amadmin x version'
+
+2007-08-23 Dustin J. Mitchell <dustin@zmanda.com>
+ sf bug #1775316 reported by joerg <altix@users.sourceforge.net>
+ * configure.in: use 'sed' instead of shell substitutions to C-quote
+ ssh arguments
+
+2007-08-22 Dustin J. Mitchell <dustin@zmanda.com>
+ * common-src/Makefile.am: adjust dependencies so that 'make dist' can
+ run without a 'make all'
+
+2007-08-20 Dustin J. Mitchell <dustin@zmanda.com>
+ * client-src/sendbackup-gnutar.c client-src/sendsize.c: use
+ sanitized, canonicalized, and quoted filenames where necessary
+ * server-src/driver.c: quote diskname in logfile
+ * common-src/amanda.h common-src/file.c: Add ':' to the list
+ of characters sanitised when constructing filenames from
+ disknames; add canonicalize_pathname()
+
+2007-08-14 Dustin J. Mitchell <dustin@zmanda.com>
+ * common-src/amanda.h common-src/util.h: move readline headers
+ out of amanda.h and into util.h, since the corresponding
+ functions are in util.c
+ * common-src/util.c: comments
+ * configure.in: check for both headers and libraries and define
+ HAVE_READLINE if both are found; add new --with-readline
+ to require readline and --without-readline to not search
+ for it at all.
+ * oldrecover-src/Makefile.am recover-src/Makefile.am: remove explicit
+ use of READLINE_LIBS
+
+2007-08-09 Dustin J. Mitchell <dustin@zmanda.com>
+ Patch by C R Ritson <c.r.ritson@newcastle.ac.uk>
+ * server-src/amverifyrun.sh.in: "lock" the logfile by creating a
+ symlink.
+
+2007-08-06 Dustin J. Mitchell <dustin@zmanda.com>
+ * example/DLT-A4.ps example/Makefile.am: add new template contributed
+ by Terry Burton <tez@terryburton.co.uk>.
+
+2007-08-01 Dustin J. Mitchell <dustin@zmanda.com>
+ Patch by Satya Ganga <gsat@zmanda.com>
+ * server-src/amcleanup.sh.in: shell-compatibility fixes for bash-2.03
+ (Solaris 8)
+
+2007-07-31 Dustin J. Mitchell <dustin@zmanda.com>
+ * common-src/statfs-test.c common-src/statfs.c common-src/statfs.h
+ common-src/Makefile.am: Add a statfs-test to make sure that
+ statfs works on target systems.
+
+2007-07-27 Ian Turner <ian@zmanda.com>
+ * restore-src/amfetchdump.c: Check for required arguments in
+ all cases.
+
+2007-07-27 Dustin J. Mitchell <dustin@zmanda.com>
+ * config/automake/check-perl.am: new automake fragment to check perl scripts
+ * config/automake/check-shell.am: new automake fragment to check shell scripts
+ * configure.in changer-src/Makefile.am client-src/Makefile.am dumper-src/Makefile.am
+ server-src/Makefile.am common-src/Makefile.am: use new checks
+ * changer-src/chg-lib.sh.in: add newline for Solaris's 'bash'
+ * changer-src/chg-chs.sh.in changer-src/chg-mcutil.sh.in: fix errors found by
+ new checks
+
+2007-07-26 Ian Turner <ian@zmanda.com>
+ * restore-src/restore.c: If tpchanger is not defined, then (duh)
+ don't use the changer. This patch by Jean-Louis Martineau
+ <martineau@zmanda.com>.
+
+2007-07-24 Dustin J. Mitchell <dustin@zmanda.com>
+ * changer-src/chg-lib.sh.in common-src/amanda-sh-lib.sh.in
+ configure.in common-src/Makefile.am: new general-purpose
+ shell-script library
+ * configure.in: check for prog 'gettext'
+ * changer-src/chg-null.sh.in
+ changer-src/chg-manual.sh.in changer-src/chg-disk.sh.in
+ changer-src/chg-juke.sh.in changer-src/chg-rait.sh.in
+ changer-src/chg-chs.sh.in changer-src/chg-mcutil.sh.in
+ amplot/amplot.sh.in client-src/patch-system.sh.in
+ server-src/amcheckdb.sh.in server-src/amverifyrun.sh.in
+ server-src/amrmtape.sh.in server-src/amverify.sh.in
+ server-src/amfreetapes.sh.in server-src/amcleanup.sh.in
+ server-src/amdump.sh.in common-src/amcrypt-ossl-asym.sh.in
+ common-src/amcrypt.sh.in common-src/amaespipe.sh.in
+ common-src/amcrypt-ossl.sh.in: use new library to function
+ correctly even when gettext is missing.
+
+2007-07-23 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/conffile.c: Set MaxWidth for numerical value
+ * server-src/reporter.c: Calculate the size if a numerical value.
+
+2007-07-20 Jean-Louis Martineau <martineau@zmanda.com>
+ Patch by Dimitri Gorokhovik
+ * changer-src/chg-multi.sh.in: Typo.
+
+2007-07-18 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
+ * changer-src/chg-lib.sh.in, changer-src/chg-zd-mtx.sh.in: Correctly
+ accept the use of tape:/dev/nst0 notation in chg-zd-mtx.
+
+2007-07-18 Dustin J. Mitchell <dustin@zmanda.com>
+ * server-src/reporter.c: fix reporting of STRANGE messages
+
+2007-07-16 Dustin J. Mitchell <dustin@zmanda.com>
+ * changer-src/chg-zd-mtx.sh.in: check for validity of 'mt' and 'mtx'
+ binaries early, and produce appropriate error messages
+
+2007-07-13 Dustin J. Mitchell <dustin@zmanda.com>
+ * configure.in: add /usr/sfw/bin to SYSPATH for Solaris 10
+
+2007-07-13 Jean-Louis Martineau <martineau@zmanda.com>
+ * changer-src/chg-lib.sh.in: Remoce duplicate amdd, add ammt.
+
+2007-07-12 Dustin J. Mitchell <dustin@zmanda.com>
+ * autogen config/Makefile.am config/ax_compare_version.m4i
+ Makefile.am: new m4 file
+ * config/docbook-xslt-min.m4i config/docbook-dtd.m4i
+ config/docbook-xslt.m4i: major bug fixing
+
+2007-07-11 Dustin J. Mitchell <dustin@zmanda.com>
+ * recover-src/amrecover.c recover-src/extract_list.c: Add detailed
+ logging of the amrecover user conversation.
+
+2007-07-11 Jean-Louis Martineau <martineau@zmanda.com>
+ Patch by Paul Bijnens
+ * changer-src/chg-multi.sh.in: Typo.
+
+2007-07-10 Dustin J. Mitchell <dustin@zmanda.com>
+ * configure.in: an empty 'MAILER' is no longer an error, just a
+ warning
+ * changer-src/chg-manual.sh.in changer-src/chg-scsi-chio.c
+ changer-src/chg-scsi.c server-src/amverify.sh.in
+ server-src/getconf.c common-src/genversion.c: conditionalize
+ references to MAILER, to handle the situation when it is not
+ set.
+
+2007-07-09 Dustin J. Mitchell <dustin@zmanda.com>
+ Documentation patch as suggested by Chris Hoogendyk and Olivier
+ Nicole.
+ * man/xml-source/amanda.8.xml: add better documentation about the
+ -o command-line option for configuration override.
+
+2007-07-09 Jean-Louis Martineau <martineau@zmanda.com>
+ * restore-src/restore.c: Don't do superfluous fsf,
+ improve error handling.
+
+2007-07-05 Dustin J. Mitchell <dustin@zmanda.com>
+ * server-src/amadmin.c: correct misalignment of 'amadmin x balance'
+ output, as reported by Stefan G. Weichinger <sgw@amanda.org>.
+
+2007-07-03 Dustin J. Mitchell <dustin@zmanda.com>
+ * common-src/amanda.h common-src/amflock.c: remove unused
+ CONFIGURE_TEST conditionals
+
+2007-06-28 Dustin J. Mitchell <dustin@zmanda.com>
+ * common-src/security-util.c: Change authorization error message to
+ "Please add the line "HOST USER SERVICE" to AMANDAHOSTS on the client"
+ as suggested by Paddy Sreenivasan <paddy@zmanda.com>.
+
+2007-06-28 Dustin J. Mitchell <dustin@zmanda.com>
+ * configure.in common-src/amflock-flock.c
+ common-src/amflock-posix.c common-src/amanda.h
+ common-src/amflock-lockf.c common-src/amflock-test.c
+ common-src/amflock-lnlock.c common-src/amflock.c
+ common-src/amflock.h common-src/Makefile.am:
+ refactor file locking support into multiple implementations,
+ only test for availability (not functionality) at configure
+ time, and add a 'make check' test script. Fixes a bug reported
+ by Paul Crittenden. Chris Hoogendyk, Jon LaBadie, and Jean-Louis
+ Martineau helped track it down.
+
+2007-06-27 Dustin J. Mitchell <dustin@zmanda.com>
+ * autogen config/ax_create_stdint_h.m4i config/acinclude.m4i
+ Makefile.am: use updated version of ax_create_stdint_h.m4
+ from http://autoconf-archive.cryp.to/ax_create_stdint_h.html.
+ Original by Guido U. Draheim <guidod@gmx.de>, patched locally
+ to avoid spurious "command not found" on Solaris 10.
+ * config/Makefile.am: add ax_create_stdint_h.m4i
+
+2007-06-25 Dustin J. Mitchell <dustin@zmanda.com>
+ * server-src/cmdline.c server-src/cmdline.h server-src/taperscan.c
+ server-src/taperscan.h config/docbook-dtd.m4i
+ config/docbook-xslt-min.m4i config/docbook-xslt.m4i
+ config/xsltproc.m4i common-src/sockaddr-util.c
+ common-src/sockaddr-util.h common-src/amaespipe.sh.in:
+ restrict to GPLv2
+
+2007-06-25 Dustin J. Mitchell <dustin@zmanda.com>
+ * client-src/sendbackup.c client-src/killpgrp.c
+ client-src/sendsize.c client-src/selfcheck.c
+ server-src/amcheck.c server-src/reporter.c common-src/util.c
+ common-src/util.h common-src/security-util.c: add str_exit_status()
+ to interpret the status resulting from wait(), use it throughout
+ the codebase.
+
+2007-06-20 Dustin J. Mitchell <dustin@zmanda.com>
+ * server-src/planner.c common-src/bsdudp-security.c
+ common-src/krb5-security.c common-src/bsd-security.c:
+ remove dead/unused code
+
+2007-06-20 Dustin J. Mitchell <dustin@zmanda.com>
+ * client-src/sendsize.c: call dbfn(), not debug_fn()
+ * common-src/amanda.h: make dbfn() return a meaningful string
+ when debugging is disabled
+
+2007-06-19 Dustin J. Mitchell <dustin@zmanda.com>
+ * tape-src/tapetype.c: close and re-open tape after rewind
+ (patch from Franz Fischer <amanda@franz-fischer.de>, modified
+ by Jean-Louis Martineau <martineau@zmanda.com>)
+
+2007-06-06 Jean-Louis Martineau <martineau@zmanda.com>
+ * restore-src/restore.c: accept all header with size >= DISK_BLOCK_BYTES
+
+2007-06-18 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amstatus.pl.in: Set and use chunk_time.
+
+2007-06-07 Dustin J. Mitchell <dustin@zmanda.com>
+ * server-src/amcleanupdisk.c: don't try to clean up holding disks
+ if they are empty.
+
+2007-06-06 Dustin J. Mitchell <dustin@zmanda.com>
+ * client-src/sendbackup.c: remove bogus check for unknown program
+
+2007-06-07 Jean-Louis Martineau <martineau@zmanda.com>
+ Christopher McCrory found the cause of the problem.
+ * server-src/find.c: Send ouput to stderr.
+
+2007-06-07 Jean-Louis Martineau <martineau@zmanda.com>
+ * configure.in: detect GNU tar's 'backup' and ignore it. Thanks
+ to Jeanna Geier <jeanna@webteam.net> for spotting this.
+
+2007-06-05 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/util.c: Don't use -w flags for od execution.
+
+2007-06-05 Dustin J. Mitchell <dustin@zmanda.com>
+ * client-src/selfcheck.c: fix formatting typo
+ * common-src/security.h: fix prototypes in comments
+ * common-src/security-util.c common-src/util.c: fix
+ vstralloc errors
+ * common-src/debug.c common-src/amanda.h: remove
+ debug_prefix_time
+ * changer-src/scsi-linux.c changer-src/chg-scsi-chio.c
+ changer-src/scsi-cam.c client-src/calcsize.c
+ recover-src/amrecover.c server-src/driver.c
+ client-src/sendbackup-gnutar.c server-src/find.c
+ server-src/diskfile.c : format string / i18n tweaks
+ * common-src/amcrypt-ossl.sh.in: fix shell quoting
+
+2007-06-04 Dustin J. Mitchell <dustin@zmanda.com>
+ * changer-src/sense.c server-src/driver.c server-src/reporter.c
+ server-src/amadmin.c server-src/amtape.c common-src/amanda.h:
+ use T_() instead of _T() as the macro flagging static strings
+ in need of translation; fixes compilation error on Mac OS X, where
+ _T is defined in the system headers.
+
+2007-06-04 Dustin J. Mitchell <dustin@zmanda.com>
+ * changer-src/chg-zd-mtx.sh.in changer-src/chg-multi.sh.in:
+ use chg-lib.sh fully, fix i18n problems.
+
+2007-06-04 Dustin J. Mitchell <dustin@zmanda.com>
+ * common-src/krb5-security.c common-src/bsdtcp-security.c
+ common-src/security-util.c: check results from getnameinfo()
+ correctly
+
+2007-06-04 Dustin J. Mitchell <dustin@zmanda.com>
+ * server-src/amstatus.pl.in: use perl flags -Tw
+
+2007-06-04 Dustin J. Mitchell <dustin@zmanda.com>
+ * common-src/debug.c common-src/error.c: fix compilation errors
+ on strict platforms.
+
+2007-06-04 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/bsd-security.c common-src/bsdudp-security.c:
+ Make bsd, bsdudp open an IPv4 and an IPv6 socket; fixes bug reported
+ by Marc Muehlfeld.
+
+2007-06-04 Dustin J. Mitchell <dustin@zmanda.com>
+ * oldrecover-src/Makefile.am changer-src/Makefile.am
+ amplot/Makefile.am client-src/Makefile.am
+ amandad-src/Makefile.am dumper-src/Makefile.am
+ recover-src/Makefile.am restore-src/Makefile.am
+ tape-src/Makefile.am: add quotes to allow spaces in user
+ and group names
+
+2007-06-04 Dustin J. Mitchell <dustin@zmanda.com>
+ * changer-src/chg-scsi.c: use long int for tape sleep time
+ * client-src/selfcheck.c: error out if no calcsize program is found
+ * server-src/amindexd.c: run 'sort' in the C locale
+ * server-src/amcheck.c: flag localhost not resolving as an error
+ * server-src/diskfile.c: improve error handling
+ * common-src/amcrypt.sh.in common-src/amcrypt-ossl-asym.sh.in
+ common-src/amcrypt-ossl.sh.in: search /opt/csw/bin for openssl
+ binaries; improve error handling
+
+2007-06-04 Dustin J. Mitchell <dustin@zmanda.com>
+ * server-src/planner.c server-src/amcleanupdisk.c
+ server-src/amflush.c server-src/holding.c server-src/holding.h:
+ do not assume anything about the names of holding
+ directories; use holding disk files themselves to discover
+ dump time/datestamps
+
+2007-06-04 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/krb5-security.c: Typo.
+
+2007-06-01 Ian Turner <ian@zmanda.com>
+ * restore-src/restore.c: Set flags->fsf = 0 by default.
+
+2007-05-29 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/driver.c: Check dumper->down.
+ * server-src/dumper.c (sendbackup_response): Only call
+ security_close_connection if pkt != NULL.
+
+2007-05-29 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amstatus.pl.in: Use compressed size.
+
+2007-05-29 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/planner.c: Don't report overwrite if no label.
+
+2007-05-29 Jean-Louis Martineau <martineau@zmanda.com>
+ * changer-src/chg-manual.sh.in: Don't reset the slot to 0 on eject.
+
+2007-05-25 Kevin Till <ktill@zmanda.com>
+ * example/amanda.conf.in: ditto
+ * man/xml-source/amanda.conf.5.xml: ditto
+ * common-src/conffile.c: ditto
+
+2007-05-24 Dustin J. Mitchell <dustin@zmanda.com>
+ * changer-src/scsi-changer-driver.c changer-src/scsi-cam.c
+ client-src/sendbackup.c client-src/selfcheck.c
+ recover-src/extract_list.c server-src/amindexd.c
+ server-src/amcheck.c server-src/driver.c server-src/dumper.c
+ server-src/planner.c server-src/amadmin.c server-src/diskfile.c
+ contrib/set_prod_link.pl common-src/krb5-security.c
+ common-src/bsd-security.c common-src/security-util.c
+ common-src/conffile.c common-src/bsdudp-security.c:
+ trivial changes to add _(), etc. -- harmonization of branch
+ divergence caused by manual resolution of merge conflicts
+
+2007-05-24 Satya Ganga <gsat@zmanda.com> (merged by dustin@zmanda.com)
+ * server-src/amcleanup.sh.in: rewrite to find all the active
+ process/children for a given configuration
+
+2007-05-24 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
+ * common-src/fileheader.c:
+ Remove ".exe" extension from program name is tape header.
+
+2007-05-24 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
+ * config/gettext-macros/gettext.m4
+ config/gettext-macros/inttypes-pri.m4:
+ Change name gl_HEADER_INTTYPES_H to gl_AC_HEADER_INTTYPES_H
+
+2007-05-24 Dustin J. Mitchell <dustin@zmanda.com>
+ * configure.in: add configure.in recognition for Mac OS X
+
+2007-05-24 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
+ * configure.in: IPV6 on cygwin only partially works.
+ Force WORKING_IPV6 to false.
+
+2007-05-24 Kevin Till <ktill@zmanda.com> (merged by dustin@zmanda.com)
+ * server-src/driver.c: use amanda text domain in driver
+
+2007-05-24 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
+ * config/libtool.m4i:
+ Fix to pass loader variables correctly on Solaris systems
+ with a gcc that does not use -static or -shared.
+
+2007-05-24 Kevin Till <ktill@zmanda.com> (merged by dustin@zmanda.com)
+ * server-src/amstatus.pl.in: parse directory and holding_disk_dir with
+ space correctly
+
+2007-05-24 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
+ * client-src/sendbackup.c client-src/sendsize.c client-src/sendbackup-star.c
+ configure.in server-src/amindexd.c server-src/taper.c server-src/diskfile.c
+ config/acinclude.m4i common-src/amanda.h common-src/util.c
+ common-src/security-util.c:
+ Fix compilation problems using GCC on solaris.
+
+2007-05-24 Jean-Louis Martineau <martineau@zmanda.com> (merged by dustin@zmanda.com)
+ * server-src/reporter.c: Split FAILED and STRANGE section.
+
+2007-05-23 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
+ * common-src/conffile.c: Fix windows compilation warning.
+
+2007-05-23 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
+ * po/Makefile.am changer-src/scsi-changer-driver.c changer-src/sense.c
+ client-src/unctime.c server-src/amadmin.c server-src/amtape.c
+ server-src/driver.c server-src/reporter.c common-src/amanda.h
+ tape-src/tapeio.h tape-src/tapetype.c:
+ Change _() gettext macro to call gettext()
+ Create _T() to allow gettext translation of static strings.
+ * common-src/security.c: Create larger buffers for error messages.
+
+2007-05-23 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
+ * configure.in: Prevent annoying lint usage message from
+ being displayed in configure console output.
+
+2007-05-23 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
+ * autogen:
+ Fix problem of not generating po/Makefile.in on fresh checkout.
+ * server-src/logfile.c:
+ Always output to logfile in "C" locale.
+ * amandad-src/amandad.c changer-src/chg-scsi-chio.c
+ changer-src/chg-scsi.c client-src/calcsize.c client-src/getfsent.c
+ client-src/killpgrp.c client-src/noop.c client-src/rundump.c
+ client-src/runstar.c client-src/runtar.c client-src/selfcheck.c
+ client-src/sendbackup.c client-src/sendsize.c
+ client-src/versionsuffix.c common-src/amfeatures.c
+ common-src/amflock.c common-src/file.c common-src/genversion.c
+ common-src/statfs.c common-src/token.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 server-src/taper.c
+ tape-src/amdd.c tape-src/ammt.c tape-src/tapeio.c tape-src/tapetype.c:
+ Change back to always run in "C" locale.
+
+2007-05-23 Jean-Louis Martineau <martineau@zmanda.com> (merged by dustin@zmanda.com)
+ * changer-src/chg-manual.sh.in: Fix quoting; fix gettext usage.
+
+2007-05-23 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
+ * configure.in:
+ New gettext routines.
+ * server-src/amcheckdb.sh.in server-src/amcleanup.sh.in
+ server-src/amverifyrun.sh.in server-src/amrmtape.sh.in
+ server-src/amverify.sh.in server-src/amdump.sh.in
+ server-src/amfreetapes.sh.in amplot/amplot.sh.in
+ changer-src/chg-mtx.sh.in changer-src/chg-null.sh.in
+ changer-src/chg-manual.sh.in changer-src/chg-zd-mtx.sh.in
+ changer-src/chg-disk.sh.in changer-src/chg-juke.sh.in
+ changer-src/chg-rait.sh.in changer-src/chg-scsi.c
+ changer-src/chg-chs.sh.in changer-src/chg-multi.sh.in
+ changer-src/chg-mcutil.sh.in client-src/patch-system.sh.in
+ common-src/amcrypt.sh.in common-src/amaespipe.sh.in
+ common-src/amcrypt-ossl-asym.sh.in common-src/amcrypt-ossl.sh.in:
+ Internationalize shell messages
+ * autogen config/gettext-macros/nls.m4
+ config/gettext-macros/lib-link.m4:
+ Update for autoconf version 2.6 autogen
+ * oldrecover-src/amrecover.c recover-src/amrecover.c
+ server-src/amflush.c server-src/logfile.c server-src/amtrmlog.c
+ server-src/amlogroll.c server-src/amindexd.c server-src/amcheck.c
+ server-src/driver.c server-src/dumper.c server-src/chunker.c
+ server-src/planner.c server-src/reporter.c server-src/amadmin.c
+ server-src/amtape.c server-src/taper.c server-src/server_util.c
+ client-src/versionsuffix.c client-src/runtar.c
+ server-src/amtrmidx.c server-src/amcleanupdisk.c
+ server-src/getconf.c server-src/diskfile.c
+ changer-src/chg-scsi-chio.c client-src/noop.c server-src/infofile.c
+ server-src/amlabel.c client-src/sendbackup.c client-src/getfsent.c
+ client-src/killpgrp.c client-src/sendsize.c client-src/selfcheck.c
+ client-src/rundump.c client-src/calcsize.c restore-src/amidxtaped.c
+ restore-src/amrestore.c restore-src/amfetchdump.c Makefile.am
+ amandad-src/amandad.c common-src/genversion.c common-src/debug.c
+ common-src/error.c common-src/statfs.c common-src/amflock.c
+ common-src/file.c common-src/token.c common-src/security-util.c
+ common-src/conffile.c common-src/amanda.h common-src/amfeatures.c
+ tape-src/ammt.c tape-src/amdd.c tape-src/tapeio.c
+ tape-src/tapetype.c:
+ Use amanda domain for LC_MESSAGES.
+
+2007-05-22 Maitreyee Karmarkar <maitreyee@zmanda.com> (merged by dustin@zmanda.com)
+ * server-src/amcheck.c : Changed some amcheck messages
+ * common-src/conffile.c : Changed some amcheck messages
+
+2007-05-22 Maitreyee Karmarkar <maitreyee@zmanda.com> (merged by dustin@zmanda.com)
+ * client-src/selfcheck.c, server-src/changer.c, server-src/amcheck.c,
+ server-src/taperscan.c, server-src/diskfile.c,
+ common-src/conffile.c:
+ Change in some amcheck error messages
+
+2007-05-22 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
+ * common-src/krb5-security.c common-src/security-util.c
+ server-src/taper.c server-src/taperscan.c:
+ Fix botched *vstrallocf conversions.
+ * oldrecover-src/extract_list.c server-src/amlogroll.c
+ server-src/chunker.c server-src/driver.c server-src/dumper.c
+ server-src/getconf.c server-src/holding.c server-src/planner.c
+ server-src/reporter.c server-src/taper.c:
+ Add errno text when printing getcwd() error message.
+
+2007-05-22 Kevin Till <ktill@zmanda.com> (merged by dustin@zmanda.com)
+ * configure.in: move crypt scripts to common-src since they are needed
+ by both server and client
+ * common-src/Makefile.am: ditto
+ * server-src/Makefile.am: ditto
+
+2007-05-17 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
+ * configure.in oldrecover-src/amrecover.c
+ oldrecover-src/extract_list.c oldrecover-src/display_commands.c
+ oldrecover-src/help.c oldrecover-src/set_commands.c
+ recover-src/amrecover.c recover-src/extract_list.c
+ recover-src/display_commands.c recover-src/help.c
+ recover-src/set_commands.c server-src/amflush.c
+ server-src/changer.c server-src/taperscan.c server-src/logfile.c
+ server-src/amtrmlog.c server-src/driverio.c
+ server-src/amlogroll.c server-src/tapefile.c
+ server-src/amindexd.c server-src/driver.c server-src/amcheck.c
+ server-src/dumper.c server-src/chunker.c server-src/planner.c
+ server-src/reporter.c server-src/server_util.c
+ server-src/amadmin.c server-src/amtape.c server-src/taper.c
+ server-src/amcleanupdisk.c server-src/find.c
+ server-src/amtrmidx.c server-src/getconf.c
+ server-src/diskfile.c server-src/infofile.c
+ server-src/amlabel.c changer-src/scsi-linux.c
+ changer-src/chg-scsi-chio.c changer-src/scsi-chio.c
+ changer-src/scsi-hpux.c changer-src/scsi-changer-driver.c
+ changer-src/scsi-cam.c changer-src/chg-scsi.c
+ changer-src/scsi-bsd.c changer-src/scsi-irix.c
+ changer-src/scsi-solaris.c changer-src/sense.c
+ changer-src/scsi-aix.c changer-src/scsi-hpux_new.c
+ autogen client-src/unctime.c client-src/versionsuffix.c
+ client-src/noop.c client-src/client_util.c client-src/runtar.c
+ client-src/sendbackup-gnutar.c client-src/getfsent.c
+ client-src/sendbackup.c client-src/sendbackup-dump.c
+ client-src/killpgrp.c client-src/sendsize.c
+ client-src/selfcheck.c client-src/rundump.c
+ client-src/calcsize.c client-src/amandates.c
+ restore-src/amidxtaped.c restore-src/amrestore.c
+ restore-src/restore.c restore-src/amfetchdump.c Makefile.am
+ amandad-src/amandad_util.c amandad-src/amandad.c
+ common-src/rsh-security.c common-src/pipespawn.c
+ common-src/security.c common-src/krb5-security.c
+ common-src/util.c common-src/genversion.c
+ common-src/bsdtcp-security.c common-src/debug.c
+ common-src/fileheader.c common-src/dgram.c
+ common-src/stream.c common-src/match.c
+ common-src/protocol.c common-src/ssh-security.c
+ common-src/statfs.c common-src/krb4-security.c
+ common-src/amflock.c common-src/bsd-security.c
+ common-src/file.c common-src/token.c common-src/event.c
+ common-src/security-util.c common-src/conffile.c
+ common-src/amanda.h common-src/bsdudp-security.c
+ common-src/alloc.c common-src/clock.c common-src/amfeatures.c
+ tape-src/ammt.c tape-src/amdd.c tape-src/output-file.c
+ tape-src/tapeio.c tape-src/tapeio.h tape-src/output-tape.c
+ tape-src/tapetype.c tape-src/output-rait.c:
+ o First stage of internationalization.
+ - Add GNU gettext to configuration.
+ - Add _() macro to flag translatable strings and modify
+ code to use it. Macros like SSIZE_T_FMT are included in
+ this call, even though xgettext will not parse them; this
+ will be fixed later.
+ - Add plural() function for selecting singular or plural form
+ of string and modify code to use it.
+ - Add amanda.po target to Makefile.
+
+2007-05-17 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amcheck.c: Remove bogus amfree(newtapefile).
+
+2007-05-17 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amcheck.c: Check all tapelist filename.
+
+2007-05-17 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/dumper.c (read_datafd): Reset timeout after the write.
+
+2007-05-17 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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-17 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/diskfile.c: Fix double free.
+
+2007-05-17 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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-17 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/amanda.h: Define AI_V4MAPPED and AI_ALL.
+
+2007-05-17 Jean-Louis Martineau <martineau@zmanda.com>
+ * util.c (cmp_sockaddr): un-map V4mapped address before comparison.
+ * common-src/security-util.c: add debugging.
+
+2007-05-17 Dustin J. Mitchell <dustin@zmanda.com> (merged by dustin@zmanda.com)
+ * common-src/amanda.h: fix typo (missing 'extern') in erroutput_type
+
+2007-05-16 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
+ * oldrecover-src/amrecover.c oldrecover-src/extract_list.c
+ oldrecover-src/display_commands.c oldrecover-src/set_commands.c
+ recover-src/amrecover.c recover-src/extract_list.c
+ recover-src/display_commands.c recover-src/set_commands.c
+ server-src/changer.c server-src/taperscan.c
+ server-src/amtrmlog.c server-src/amindexd.c server-src/driver.c
+ server-src/amcheck.c server-src/dumper.c server-src/chunker.c
+ server-src/planner.c server-src/reporter.c server-src/taper.c
+ server-src/amtrmidx.c changer-src/scsi-linux.c
+ changer-src/chg-scsi-chio.c changer-src/scsi-chio.c
+ changer-src/scsi-hpux.c changer-src/scsi-cam.c
+ changer-src/scsi-changer-driver.c changer-src/chg-scsi.c
+ changer-src/scsi-bsd.c changer-src/scsi-irix.c
+ changer-src/scsi-solaris.c changer-src/sense.c
+ changer-src/scsi-aix.c changer-src/scsi-hpux_new.c
+ client-src/client_util.c client-src/runtar.c
+ client-src/sendbackup-gnutar.c client-src/sendbackup.c
+ client-src/sendbackup-dump.c client-src/killpgrp.c
+ client-src/sendsize.c client-src/selfcheck.c
+ client-src/rundump.c client-src/calcsize.c
+ client-src/amandates.c restore-src/amidxtaped.c
+ restore-src/restore.c amandad-src/amandad_util.c
+ amandad-src/amandad.c common-src/rsh-security.c
+ common-src/sockaddr-util.c common-src/pipespawn.c
+ common-src/security.c common-src/krb5-security.c
+ common-src/util.c common-src/util.h common-src/bsdtcp-security.c
+ common-src/tapelist.c common-src/debug.c common-src/fileheader.c
+ common-src/error.c common-src/dgram.c common-src/stream.c
+ common-src/protocol.c common-src/ssh-security.c
+ common-src/krb4-security.c common-src/bsd-security.c
+ common-src/event.c common-src/security-util.c
+ common-src/conffile.c common-src/amanda.h
+ common-src/bsdudp-security.c common-src/security-util.h
+ common-src/alloc.c tape-src/output-file.c tape-src/tapeio.c
+ tape-src/output-tape.c:
+ - Change dbprintf() to use __VA_ARGS__. (Remove extra parens)
+ - Prepend program name and nano second accuracy time stamp
+ to each line in debug file.
+ - Emove any resulting duplicate timestamps from functions that
+ inserted them in each dbprintf() line.
+ - Fix dballoc compilation.
+ - Fix dbmalloc compilation.
+ - Fix amfree() to report file and line # of amfree line during
+ errors.
+ - Add vstrallocf() and newvstrallocf() functions. These are
+ the same as vstralloc() and newvstralloc() except they use
+ printf style format strings. (Required to eliminate
+ untranslateable string concatenations in messages.)
+ - Change files to use *allocf() functions where it seemed
+ appropriate..
+ - Fix kerberos 4 compilation.
+ - Fix kerberos 5 compilation.
+
+2007-05-16 Jean-Louis Martineau <martineau@zmanda.com> (merged by dustin@zmanda.com)
+ * common-src/debug.c (debug_rename): Fix for cygwin: rename
+ will not overwrite an existing file
+
+2007-05-15 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
+ * client-src/sendbackup.c common-src/dgram.c common-src/event.c
+ server-src/changer.c server-src/driverio.c:
+ Cast FD_SETSIZE to int to avoid compilation problems.
+
+2007-05-15 Kevin Till <ktill@zmanda.com> (merged by dustin@zmanda.com)
+ * common-src/debug.c: dbrename patch by Jean-Louis Martineau to
+ unlink the target of the rename operation before renaming.
+
+2007-05-15 Dustin J. Mitchell <dustin@zmanda.com>
+ * client-src/sendsize.c: fix parsing of include/excludes for
+ old clients
+
+2007-05-11 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amcrypt-ossl-asym.sh.in: Use CLIENT_LOGIN.
+ * server-src/amcrypt-ossl.sh.in: Use CLIENT_LOGIN.
+
+2007-05-08 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/krb5-security.c: Fix compilation.
+
+2007-05-09 Dustin J. Mitchell <dustin@zmanda.com>
+ * common-src/stream.c: add errno's to stream_client_internal
+
+2007-05-09 Dustin J. Mitchell <dustin@zmanda.com>
+ * server-src/amadmin.c server-src/infofile.c
+ common-src/security-util.c common-src/krb5-security.c:
+ fix type-punning warnings
+
+2007-05-09 Dustin J. Mitchell <dustin@zmanda.com>
+ * recover-src/set_commands.c server-src/amcheck.c
+ server-src/dumper.c common-src/rsh-security.c
+ common-src/krb5-security.c common-src/util.c common-src/util.h
+ common-src/bsdtcp-security.c common-src/stream.c
+ common-src/ssh-security.c common-src/bsd-security.c
+ common-src/security-util.c common-src/bsdudp-security.c
+ common-src/security-util.h: Add IPv6-savvy resolve_hostname() and use it
+ everywhere
+
+2007-05-08 Jean-Louis Martineau <martineau@zmanda.com>
+ * config/Makefile.am (EXTRA_DIST): Add docbook-dtd.m4i,
+ docbook-xslt.m4i, docbook-xslt-min.m4i and xsltproc.m4i.
+
+2007-05-07 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/stream.c: pass correct sockaddr size to bind()
+
+2007-05-07 Pieter Bowman <bowman@math.utah.edu>
+ * common-src/file.c: reverse the order of chown/chmod to correctly
+ create temporary files.
+
+2007-05-07 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/krb5-security.c: Fix compilation.
+
+2007-05-04 Dustin J. Mitchell <dustin@zmanda.com>
+ * server-src/cmdline.c server-src/holding.c server-src/holding.h
+ server-src/amadmin.c server-src/amcleanupdisk.c: remove
+ holding_file_read_header()
+
+2007-05-04 Dustin J. Mitchell <dustin@zmanda.com>
+ * common-src/sockaddr-util.h common-src/bsdtcp-security.c common-src/security-util.c
+ common-src/krb5-security.c common-src/stream.c: add and use a copy_sockaddr() macro
+
+2007-05-04 Dustin J. Mitchell <dustin@zmanda.com>
+ * configure.in common-src/rsh-security.c common-src/bsdtcp-security.c
+ common-src/ssh-security.c common-src/bsdudp-security.c
+ common-src/krb5-security.c common-src/krb4-security.c common-src/bsd-security.c
+ common-src/Makefile.am: use AM_CONDITIONAL to select security modules to compile
+
+2007-05-04 Dustin J. Mitchell <dustin@zmanda.com>
+ * autogen man/Makefile.am configure.in config/acinclude.m4i
+ config/docbook-xslt-min.m4i config/docbook-dtd.m4i config/docbook-xslt.m4i
+ config/xsltproc.m4i Makefile.am: detect xsltproc, docbook xslt, and docbook
+ dtd versions better, to ensure proper creation of manpages.
+
+2007-05-04 Dustin J. Mitchell <dustin@zmanda.com>
+ * server-src/amindexd.c common-src/sockaddr-util.c common-src/sockaddr-util.h
+ common-src/util.c common-src/security-util.c common-src/amanda.h
+ common-src/dgram.c common-src/stream.c common-src/Makefile.am: add new
+ sockaddr-util.[ch] containing sockaddr-related functions.
+
+2007-05-04 Jean-Louis Martineau <martineau@zmanda.com>
+ * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.3alpha)
+
+2007-05-03 Jean-Louis Martineau <martineau@zmanda.com>
+ * docs/*.txt: Update from xml-docs.
+
+2007-05-03 Jean-Louis Martineau <martineau@zmanda.com>
+ * man/xml-source/amrecover.8.xml: Fix space.
+
+2007-05-03 Jean-Louis Martineau <martineau@zmanda.com>
+ * Amanda 2.5.2 released.
+ * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.2).
+
+2007-05-02 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * amandad-src/amandad.c: Improve 'invalid service' message.
+
+2007-05-01 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * common-src/security-util.c (tcp1_stream_client): Set rh->rc->driver.
+
+2007-04-27 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <dustin@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * server-src/amcheck.c: Fix infobad setting.
+
+2007-04-26 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amcheck.c: Set *bad on error.
+
+2007-04-26 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <dustin@zmanda.com>
+ * configure.in common-src/ssh-security.c: allow build-time configuration of SSH options
+
+2007-04-23 Paddy Sreenivasan <paddy@zmanda.com>
+ * changer-src/scsi-solaris.c common-src/protocol.c: changes to build on Solaris
+
+2007-04-20 Dustin J. Mitchell <dustin@zmanda.com>
+ * configure.in: remove unused AMANDA_C_VOLATILE
+ * config/acinclude.m4: remove unused AMANDA_C_VOLATILE
+
+2007-04-20 Dustin J. Mitchell <dustin@zmanda.com>
+ * autogen: silence unnecessary warnings about GNU make, return exit status
+
+2007-04-20 Dustin J. Mitchell <dustin@zmanda.com>
+ * common-src/stream.c: retry socket creation if OS does not support IPv6
+ at runtime
+
+2007-04-20 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * client-src/sendbackup.c: Improve tar argument in amanda header for
+ extraction.
+
+2007-04-18 Dustin J. Mitchell <dustin@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * changer-src/chg-disk.sh.in: Send error message to stdout.
+
+2007-04-17 Dustin J. Mitchell <dustin@zmanda.com>
+ * changer-src/chg-zd-mtx.sh.in: fix more typos (thanks to
+ "Stefan G. Weichinger" <sgw@amanda.org>)
+
+2007-04-17 Jean-Louis Martineau <martineau@zmanda.com>
+ * restore-src/restore.c: Fix restoration of split and encrypted backup.
+
+2007-04-13 Dustin J. Mitchell <dustin@zmanda.com>
+ * changer-src/chg-zd-mtx.sh.in: fix typo in error message
+
+2007-04-13 Jean-Louis Martineau <martineau@zmanda.com>
+ * Amanda 2.5.2b1 released.
+ * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.2b1).
+
+2007-04-13 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <dustin@zmanda.com>
+ * server-src/dumper.c: use fullwrite() instead of write()
+
+2007-04-12 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * server-src/amcheck.c: Remove duplicate test.
+ * server-src/dumper.c: Use newvstralloc.
+
+2007-04-12 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/reporter.c: Take value from chunker if it succeed and
+ taper fail.
+
+2007-04-10 Jean-Louis Martineau <martineau@zmanda.com>
+ * configure.in: Use krb5 shared library.
+
+2007-04-10 Dustin J. Mitchell <dustin@zmanda.com>
+ * changer-src/chg-zd-mtx.sh.in: remove configurability of mt, mtx paths
+
+2007-04-10 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/krb5-security.c: Initialize rc->gss_context.
+
+2007-04-09 Dustin J. Mitchell <dustin@zmanda.com>
+ * changer-src/chg-zd-mtx.sh.in: fix bugs in configuration for mt, mtx paths
+
+2007-04-06 Dustin J. Mitchell <dustin@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * server-src/taper.c: Limit splitsize to 1G in PORT-WRITE.
+
+2007-04-06 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/krb5-security.c: Report client hostname.
+
+2007-04-06 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/tapelist.c (append_to_tape): Don't call dump_tapelist.
+
+2007-04-05 Dustin J. Mitchell <dustin@zmanda.com>
+ * contrib/macosx/org.amanda.amandad.bsd*.plist: updated to use username
+ 'amandabackup'
+
+2007-04-05 Dustin J. Mitchell <dustin@zmanda.com>
+ * 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 <dustin@zmanda.com>
+ * 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 <dustin@zmanda.com>
+ * 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 <dustin@zmanda.com>
+ * server-src/dumper.c server-src/chunker.c: remove assumed ENOSPC
+ error in static write_tapeheader functions
+
+2007-04-03 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/security-util.c: Remove buggy &.
+
+2007-04-03 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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.
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ 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 <dustin@zmanda.com>
+ * 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 <dustin@zmanda.com>
+ * common-src/file.c: remove unused amanda_setup()
+
+2007-03-30 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/amanda.h: Define a _() macro.
+
+2007-03-28 Dustin J. Mitchell <dustin@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * common-src/krb5-security.c: Compile with heimdal kerberos.
+
+2007-03-27 Jean-Louis Martineau <martineau@zmanda.com>
+ 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 <martineau@zmanda.com>
+ Merge from zmanda EXT.
+
+2007-03-27 Jean-Louis Martineau <martineau@zmanda.com>
+ * Makefile.am (EXTRA_DIST): Remove contrib/gnulib-update-current.
+
+2007-03-27 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/reporter.c: Ouput quoted diskname in "DUMP SUMMARY"
+ section.
+
+2007-03-23 Jean-Louis Martineau <martineau@zmanda.com>
+ * changer-src/chg-zd-mtx.sh.in: Exit with a message if the
+ configuration file doesn't exist.
+
+2007-03-23 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/conffile.c: Fix error message.
+
+2007-03-23 Jean-Louis Martineau <martineau@zmanda.com>
+ * amandad-src/amandad.c: Fix segfault.
+
+2007-03-23 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/security-util.c: Use SS_LEN.
+ * common-src/util.c: Use SS_LEN.
+
+2007-03-21 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * common-src/bsd-security.c: Always retry getaddrinfo if INET6 failed.
+ * common-src/bsdudp-security.c: Ditto.
+
+2007-02-22 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/debug.c: Remove old file in current directory.
+
+2007-02-22 Jean-Louis Martineau <martineau@zmanda.com>
+ * changer-src/chg-chio.pl.in: Typo.
+
+2007-02-21 Jean-Louis Martineau <martineau@zmanda.com>
+ * recover-src/extract_list.c: Remove match for path_on_disk_slash.
+
+2007-02-20 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/stream.c, common-src/util.c: Pass exact socklen_t to
+ bind and connect call.
+
+2007-02-20 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * amandad-src/amandad.c: Fix compilation with --without-ipv6.
+
+2007-02-19 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amverify.sh.in: Remove bogus fi.
+
+2007-02-16 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * server-src/taper.c: Don't call free_server_config.
+
+2007-02-15 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * common-src/security-util.c: Add "on the client" message.
+
+2007-02-13 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amstatus.pl.in: fix for chunk and displayunit.
+
+2007-02-13 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/dumper.c: Fix if krb4 is compiled but another auth is
+ used.
+
+2007-02-13 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/alloc.c (safe_env): Remove LANG and LC_* only if we are
+ priviledged process.
+
+2007-02-13 Jean-Louis Martineau <martineau@zmanda.com>
+ * dumper-src/amgtar.pl.in: Replace -t options by -T.
+ * dumper-src/Makefile.am: Remove perl -t options.
+
+2007-02-12 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/Makefile.am (STANDARD_COMMON_STUFF_NOT_FILE): Add sl.
+ * common-src/statfs.c: Fix scale function.
+
+2007-02-12 Jean-Louis Martineau <martineau@zmanda.com>
+ * client-src/sendsize.c: Fix PARAM_HONOR_NODUMP.
+
+2007-02-09 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/reporter.c: Fix postscript crash.
+
+2007-02-09 Jean-Louis Martineau <martineau@zmanda.com>
+ * changer-src/chg-manual.sh.in: Add tty, email, tty_email request mode.
+
+2007-02-07 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amindexd.c: Use dbfd.
+
+2007-02-06 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * common-src/clock.c (timesub): The result must always be positive.
+
+2007-02-05 Jean-Louis Martineau <martineau@zmanda.com>
+ * changer-src/chg-zd-mtx.sh.in: Fix for sed and IMPORT/EXPORT.
+
+2007-02-05 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amcheck.c: Add parentheses.
+
+2007-02-02 Jean-Louis Martineau <martineau@zmanda.com>
+ * contrib/gnulib-update-current: New file.
+ * Makefile.am (EXTRA_DIST): Add contrib/gnulib-update-current.
+
+2007-02-02 Jean-Louis Martineau <martineau@zmanda.com>
+ * man/Makefile.am: Use http://docbook.sourceforge.net
+ * man/xml-source/amadmin.8.xml, man/xml-source/amaespipe.8.xml,
+ man/xml-source/amanda.8.xml, man/xml-source/amanda-client.conf.5.xml,
+ man/xml-source/amanda.conf.5.xml, man/xml-source/amcheck.8.xml,
+ man/xml-source/amcrypt.8.xml, man/xml-source/amdump.8.xml,
+ man/xml-source/amfetchdump.8.xml, man/xml-source/amflush.8.xml,
+ man/xml-source/amgetconf.8.xml, man/xml-source/amlabel.8.xml,
+ man/xml-source/ammt.8.xml, man/xml-source/amrecover.8.xml,
+ man/xml-source/amreport.8.xml,
+ man/xml-source/amtape.8.xml: Fix for xmllint.
+ * man/xslt/man.xsl: Remove bogus code.
+
+2007-02-01 Jean-Louis Martineau <martineau@zmanda.com>
+ * changer-src/chg-zd-mtx.sh.in: Support IMPORT/EXPORT slot.
+
+2007-02-01 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amdump.sh.in: Output a starttime line.
+ * server-src/amflush.c: Output a starttime line.
+ * server-src/amstatus.pl.in: parse the starttime line.
+
+2007-01-26 Jean-Louis Martineau <martineau@zmanda.com>
+ * configure.in: Fix --with-ipv6 option.
+
+2007-01-26 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amdump.sh.in: Exit with a status.
+
+2007-01-26 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/diskfile.c: Use hostnext pointer.
+
+2007-01-26 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/reporter.c: Exit with a status.
+
+2007-01-26 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amstatus.pl.in: Exit with a status.
+
+2007-01-26 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amstatus.pl.in: Detect failed dump to tape.
+
+2007-01-25 Jean-Louis Martineau <martineau@zmanda.com>
+ * configure.in: Add --with-ipv6 option.
+
+2007-01-25 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/changer.c (changer_command): Send stderr to dbfd().
+
+2007-01-25 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/diskfile.c: Check hostname have same case.
+
+2007-01-25 Jean-Louis Martineau <martineau@zmanda.com>
+ * changer-src/chg-zd-mtx.sh.in: Check if MT and MTX exists.
+
+2007-01-25 Jean-Louis Martineau <martineau@zmanda.com>
+ * changer-src/chg-zd-mtx.sh.in: Set CHANGER environment variable.
+
+2007-01-24 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/conffile.c: Cleanup conf_print function.
+
+2007-01-24 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/conffile.c: Check for duplicate -o options.
+ * recover-src/amrecover.c: Change precedence of option.
+
+2007-01-24 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/diskfile.c: Fix compiler warning.
+
+2007-01-23 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/security-util.c (tcpm_recv_token): Check size < 0.
+
+
+2007-01-23 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/diskfile.c: Check duplicate DLE with match_host and
+ match_disk.
+
+2007-01-18 Jean-Louis Martineau <martineau@zmanda.com>
+ * client-src/selfcheck.c: Improve check if /etc/dumpdates in not there.
+
+2007-01-18 Jean-Louis Martineau <martineau@zmanda.com>
+ * restore-src/amfetchdump.c: Set arg_state to ARG_GET_HOST.
+
+2007-01-18 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amcheck.c: Check tape_access.
+ * server-src/taper.c: Improve message.
+
+2007-01-16 Jean-Louis Martineau <martineau@zmanda.com>
+ * configure.in: Define GCC_COMPILER.
+ * gnulib/Makefile.am: Add -Wno-error to AM_CFLAGS if GCC_COMPILER.
+
+2007-01-16 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/getconf.c: Fix segfault in parameter parsing.
+
+2007-01-15 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * common-src/conffile.c Set default length/filemark correctly.
+ * man/xml-source/amanda.conf.5.xml: Document they are in kbytes.
+
+2007-01-10 Jean-Louis Martineau <martineau@zmanda.com>
+ * config/gnulib/gnulib-common.m4: New file.
+ * config/gnulib.m4i: Load config/gnulib/gnulib-common.m4.
+
+2007-01-10 Jean-Louis Martineau <martineau@zmanda.com>
+ * amandad-src/amandad.c (do_sendpkt): Send packet if handle != NULL.
+
+2007-01-10 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/conffile.c, common-src/conffile.h,
+ server-src/diskfile.c: Keep different list for exclude file and list.
+
+2007-01-10 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/taper.c (read_file): Don't count first header twice.
+
+2007-01-05 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amstatus.pl.in: Fix split-dump accounting.
+
+2007-01-04 Jean-Louis Martineau <martineau@zmanda.com>
+ * restore-src/restore.c: Use prompt_in.
+
+2007-01-04 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * server-src/driver.c: Don't repport error for many run in a day if
+ it's amflush.
+
+2006-12-27 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/util.c (quote_string): Escape '\' character.
+
+2006-12-22 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * changer-src/chg-disk.sh.in: LASTSLOT in a changerfile for chg-disk.
+
+2006-12-22 Jean-Louis Martineau <martineau@zmanda.com>
+ * client-src/sendsize.c: Compilation fix.
+
+2006-12-18 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * common-src/conffile.c: Print nothing if the list is emtpy.
+
+2006-12-14 Jean-Louis Martineau <martineau@zmanda.com>
+ * restore-src/restore.c: Fix filename for output file.
+
+2006-12-12 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * server-src/amindexd.c: Use fgets to read index file because they
+ are not quoted.
+
+2006-12-12 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 </note> tag to beginning of line
+
+2006-12-08 Jean-Louis Martineau <martineau@zmanda.com>
+ * changer-src/chg-rait.sh.in: Fix typo for -reset.
+
+2006-12-07 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * common-src/util.c (str_sockaddr): Use host byte order for port.
+
+2006-12-04 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amtape.h: Remove file.
+
+2006-12-04 Jean-Louis Martineau <martineau@zmanda.com>
+ 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 <martineau@zmanda.com>
+ * client-src/sendbackup.c: Kill dump process on error.
+
+2006-11-29 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * client-src/sendbackup.c: Ignore tar exit with status 1.
+
+2006-11-29 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amindexd.c (clean_backslash): New function use to unescape
+ '\' characters in index files.
+
+2006-11-29 Jean-Louis Martineau <martineau@zmanda.com>
+ * restore-src/restore.c (search_tapes): Fix prompt_out setting.
+
+2006-11-28 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * config/Makefile.am (EXTRA_DIST): Add gnulib.m4i.
+
+2006-11-27 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/util.c (copy_file): Fix compilation error.
+
+2006-11-27 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/stream.c: Fix compilation error.
+
+2006-11-27 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * common-src/security-util.c (tcpm_recv_token): amanda protocol
+ packet can be larger than NETWORK_BLOCK_BYTES
+
+2006-11-21 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/stream.c: Fix compiler error.
+
+2006-11-21 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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.
+
+2006-11-20 Jean-Louis Martineau <martineau@zmanda.com>
+ * client-src/sendsize.c: Open the amandates file after the
+ <config>/amanda-client.conf file is loaded.
+
+2006-11-20 Jean-Louis Martineau <martineau@zmanda.com>
+ * client-src/sendsize.c: Fix compiler error on boris.
+ * server-src/driver.c: Fix compiler error on rocky.
+
+2006-11-20 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/security-util.c, server-src/amcheck.c,
+ * server-src/driver.c, server-src/dumper.c,
+ * server-src/planner.c, tape-src/output-file.c: Lint cleanup.
+
+2006-11-20 Ian Turner <ian@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * client-src/selfcheck.c: Work for estimate calcsize and
+ program "DUMP".
+
+2006-11-13 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amcheck.c: Don't ouput an warning if holdingdisk 'use'
+ is set to 0.
+
+2006-11-09 Jean-Louis Martineau <martineau@zmanda.com>
+ * man/xml-source/amgetconf.8.xml: Document --list.
+
+2006-11-09 Jean-Louis Martineau <martineau@zmanda.com>
+ * changer-src/chg-scsi.c: Don't remove '_' from "generic_changer".
+
+2006-11-08 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * server-src/amstatus.pl.in: Improve error message.
+
+2006-11-07 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/security-util.c: Fix coverity bug 170.
+ * server-src/diskfile.c: Fix coverity bug 147.
+
+2006-11-07 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/conffile.c (validate_chunksize): Check chunksize is >=
+ 2*DISK_BLOCK_KB
+
+2006-11-06 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/amanda.h: Define OFF_T_STRTOL.
+ * configure.in: Check for strtol and strtoll.
+
+2006-11-02 Ian Turner <ian@zmanda.com>
+ * common-src/amanda.h: Use atol if atoll is missing.
+
+2006-11-02 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/security-util.c: Better message on invalid size.
+
+2006-11-02 Jean-Louis Martineau <martineau@zmanda.com>
+ * configure.in: List bsdudp as a udp transport.
+
+2006-11-01 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/diskfile.c: Don't use 0 for NULL.
+
+2006-11-01 Jean-Louis Martineau <martineau@zmanda.com>
+ 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * common-src/amanda.h: Define dbrename if !DEBUG_CODE.
+ * restore-src/amidxtaped.c: Declare i if !DEBUG_CODE.
+
+2006-10-30 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <ian@zmanda.com>
+ This was reported as debian bug 394796. Thanks to Damyan Ivanov
+ <dam@modsoftsys.com> for reporting and to Bdale Garbee
+ <bdale@gag.com> 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 <martineau@zmanda.com>
+ Patch by Jay Fenlason
+ * common-src/rsh-security.c: Fix.
+
+2006-10-24 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * server-src/taper.c: Fix allocation problem on tapedev.
+
+2006-10-20 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * server-src/taper.c (free_split_buffer): Correct free.
+
+2006-10-20 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * man/xml-source/amanda.conf.5.xml: Fix formating.
+
+2006-10-19 Jean-Louis Martineau <martineau@zmanda.com>
+ * client-src/calcsize.c, client-src/sendsize.c: Remove bogus fseek.
+
+2006-10-19 Jean-Louis Martineau <martineau@zmanda.com>
+ * client-src/calcsize.c: Quote amname.
+
+2006-10-19 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * common-src/Makefile.am (libamanda_la_LIBADD) Remove @LTLIBOBJS@.
+
+2006-10-11 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * common-src/Makefile.am: Remove all reference to our regex
+ * common-src/match.c: #include <regex.h>, 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * server-src/driver.c (wait_children): Don't crash if dumper->chunker
+ is NULL
+
+2006-10-04 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * server-src/amoverview.pl.in: Fix parsing of time field from amadmin.
+
+2006-10-03 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * common-src/bsdtcp-security.c: Add logging on error.
+
+2006-09-29 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * common-src/conffile.c (client_keytab): Add DEBUG_*.
+ * oldrecover-src/amrecover.c: Call read_clientconf.
+
+2006-09-27 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ Patch by Orion Poplawski <orion@cora.nwra.com>
+ * server-src/planner.c: Add a skip_quoted_line() on error.
+
+2006-09-23 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ Patch by William Jojo
+ * client-src/sendsize.c: Fix #endif for AIX.
+
+2006-09-22 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * server-src/amcheck.c: Don't assert if holding use is set to 0.
+
+2006-09-19 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/find.c (search_logfile): Count 'PARTIAL taper line'.
+
+2006-09-19 Jean-Louis Martineau <martineau@zmanda.com>
+ Patch by Paul Bijens
+ * server-src/amcheck.c: Print "tapelist" instead of "tapefile".
+
+2006-09-19 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/dgram.c (dgram_bind): Remove unused variables.
+
+2006-09-19 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * common-src/dgram.c (dgram_bind): Don't set SO_REUSEADDR on socket.
+
+2006-09-19 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/util.c (connect_port): Make EHOSTUNREACH and ENETUNREACH
+ fatal error.
+
+2006-09-18 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * amandad-src/amandad.c: Correct order of close/dup.
+
+2006-09-12 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/bsdtcp-security.c: Use AMANDA_SERVICE_NAME.
+
+2006-09-12 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amstatus.pl.in: Check that $dumpers_active is defined.
+
+2006-09-12 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/util.c (conftoken_getc): Return an int.
+
+2006-09-11 Jean-Louis Martineau <martineau@zmanda.com>
+ * client-src/sendbackup-dump.c: Works if rundump is not used.
+
+2006-09-05 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * server-src/dumper.c: Typo in error message.
+
+2006-08-29 Jean-Louis Martineau <martineau@zmanda.com>
+ * client-src/selfcheck.c: Print error message to stdout before
+ calling error().
+
+2006-08-28 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/dumper.c (log_msgout): Seek to begining of file.
+
+2006-08-28 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/reporter.c: Report if a dump was successfully retried.
+
+2006-08-28 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amstatus.pl.in: Correct size for retried dump.
+
+2006-08-25 Jean-Louis Martineau <martineau@zmanda.com>
+ * client-src/runtar.c: Check that strcmp(argv[3], "--create") == 0.
+
+2006-08-24 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/statfs.c (scale): Macro replaced by a function.
+
+2006-08-24 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <maitreyee.zmanda.com>
+ * man/xml-source/amcheck.8.xml: amcheck xml man page change
+
+2006-08-23 Kevin Till <ktill@zmanda.com>
+ * server-src/driver.c: fix typo
+
+2006-08-23 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * restore-src/restore.c (restore): Set bytes_read to the return value
+ of read_file_header.
+
+2006-08-22 Jean-Louis Martineau <martineau@zmanda.com>
+ * tape-src/output-tape.c: Works if EOVERFLOW is not defined.
+
+2006-08-21 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * example/amanda.conf.in: Typo.
+
+2006-08-21 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/driverio.c: Fix bogus "(unsigned long)-1".
+
+2006-08-21 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/driver.c (start_some_dumps): Remove bogus free_assignedhd.
+
+2006-08-21 Maitreyee Karmarkar <maitreyee.zmanda.com>
+ * server-src/amcheck.c: Check specific clients
+ * man/amcheck.8: add the multiple client check format
+
+2006-08-18 Ian Turner <ian@zmanda.com>
+ * tape-src/amtapetype.c: Don't crash on exit
+
+2006-08-17 Paddy Sreenivasan <paddy@zmanda.com>
+ * 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 <ktill@zmanda.com>
+ * common-src/stream.c: Loop 5 times (ntries > 5) on select error
+
+2006-08-14 Paddy Sreenivasan <paddy@zmanda.com>
+ * client-src/sendsize.c: Fix warning
+ * server-src/reporter.c: Fix warnings
+
+2006-07-28 Jean-Louis Martineau <martineau@zmanda.com>
+ * Amanda 2.5.1b2 released.
+ * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.1b2).
+
+2006-07-28 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/driver.c (find_diskspace): Make sure size > 0.
+
+2006-07-28 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/planner.c: Don't check new disk.
+
+2006-07-28 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/planner.c: Always log if full size estimate is larger
+ than the available tape space.
+
+2006-07-28 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/planner.c: Always log if the latest full dump will be
+ overwritten soon.
+
+2006-07-27 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/clock.c (timesub): Don't make a negative time.
+
+2006-07-27 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * NEWS: for 2.5.1b2.
+
+2006-07-26 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * client-src/selfcheck.c: Fix bug found by coverity.
+ * common-src/debug.c: Fix bug found by coverity.
+
+2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amflush.c: Typo.
+
+2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amflush.c: Correct test for driver_stream.
+
+2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * restore-src/restore.c: Cleanup.
+ * restore-src/amrestore.c: Don't fsf if the last read return 0.
+
+2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * tape-src/output-tape.c (tape_tape_open): mt is declared inside #ifdef.
+
+2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amcheck.c: Fix quoting.
+
+2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * client-src/calcsize.c, client-src/killpgrp.c,
+ client-src/rundump.c, client-src/runtar.c,
+ client-src/selfcheck.c, client-src/sendbackup.c,
+ client-src/sendsize.c, 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 <martineau@zmanda.com>
+ * common-src/amanda.h: Define DBG_SUBDIR_SERVER, DBG_SUBDIR_CLIENT
+ and DBG_SUBDIR_CLIENT.
+ * amandad-src/amandad.c, changer-src/chg-scsi.c,
+ changer-src/chg-scsi-chio.c, client-src/calcsize.c,
+ client-src/killpgrp.c, client-src/rundump.c, client-src/runtar.c,
+ client-src/selfcheck.c, client-src/sendbackup.c,
+ client-src/sendsize.c,
+ oldrecover-src/amrecover.c, recover-src/amrecover.c,
+ restore-src/amfetchdump.c, restore-src/amidxtaped.c,
+ restore-src/amrestore.c, server-src/amadmin.c,
+ server-src/amcheck.c, server-src/amcleanupdisk.c,
+ server-src/amflush.c, server-src/amindexd.c,
+ server-src/amlabel.c, server-src/amlogroll.c,
+ server-src/amtape.c, server-src/amtrmidx.c,
+ server-src/amtrmlog.c, server-src/chunker.c,
+ server-src/diskfile.c, server-src/driver.c,
+ server-src/dumper.c, server-src/getconf.c,
+ server-src/infofile.c, server-src/planner.c,
+ server-src/reporter.c (dbopen): Use DBG_SUBDIR_SERVER,
+ DBG_SUBDIR_CLIENT or DBG_SUBDIR_CLIENT.
+
+2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * server-src/taper.c: Fix amfree(mem_splitbuf).
+
+2006-07-22 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/diskfile.c, server-src/taper.c: Fix memory leak found
+ by coverity.
+
+2006-07-22 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/taper.c: Fix split_buffer allocation problem.
+
+2006-07-22 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * NEWS: Klocwork defects fixed.
+ * NEWS: Coverity defect fixed.
+
+2006-07-14 Jean-Louis Martineau <martineau@zmanda.com>
+ * Makefile.am (pkgdata_DATA): add ReleaseNotes.
+
+2006-07-14 Jean-Louis Martineau <martineau@zmanda.com>
+ * Amanda 2.5.1b1 released.
+ * configure.in: Remove -Werror.
+
+2006-07-14 Jean-Louis Martineau <martineau@zmanda.com>
+ * client-src/sendsize.c: Use read/write to copy tar snapshot file.
+ * client-src/sendbackup-gnutar.c: Ditto.
+
+2006-07-13 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/stream.c (stream_accept): Loop 5 times on select error.
+
+2006-07-13 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * common-src/util.c (free_new_argv): Move out of
+ #ifndef HAVE_LIBREADLINE.
+
+2006-07-12 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <paddy@zmanda.com>
+ * common-src/pipespawn.c : Fixed compiler warning
+
+2006-07-11 Jean-Louis Martineau <martineau@zmanda.com>
+ * man/xml-source/amtapetype.8.xml: No default value for -e.
+
+2006-07-11 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * tape-src/tapetype.c: Make -e an needed argument.
+ * man/xml-source/amtapetype.8.xml: Update man page.
+
+2006-07-11 Jean-Louis Martineau <martineau@zmanda.com>
+ * changer-src/chg-zd-mtx.sh.in: Remove .conf from changerfile.
+
+2006-07-11 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * common-src/file.c (debug_agets): Remove call to dbprintf.
+
+2006-07-10 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * common-src/security-util.c (stream_read_sync_callback): Remove bogus
+ call of callback.
+
+2006-07-07 Kevin Till <ktill@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * common-src/util.c (get_conftoken): Remove duplicate conftoken_ungetc.
+
+2006-07-07 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/security-util.c: Validate and report big packet size.
+
+2006-07-07 Jean-Louis Martineau <martineau@zmanda.com>
+ * oldrecover-src/Makefile.am: Typo.
+
+2006-07-07 Jean-Louis Martineau <martineau@zmanda.com>
+ * client-src/sendsize.c: Typo.
+
+2006-07-06 John Franks <jrfranks@zmanda.com>
+ * common-src/genversion.c:
+ Remove reference to error(). This causes a compile
+ error on cygwin.
+
+2006-07-06 Jean-Louis Martineau <martineau@zmanda.com>
+ 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ 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 <martineau@zmanda.com>
+ 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 <martineau@zmanda.com>
+ Klocwork bug 551
+ * regex-src/regcomp.c (allocset): Check for p->g->sets
+ and p->g->setbits
+
+2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
+ Klocwork bug 169, 170, 181
+ * changer-src/chg-scsi.c: Validate input.
+
+2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
+ Klocwork bug 282
+ * common-src/file.c (rmpdir): Check for p == NULL.
+
+2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
+ Klocwork bug 524
+ * common-src/dgram.c (dgram_send_addr): Set addr_save earlier.
+
+2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
+ Klocwork bug 495
+ * server-src/taper.c (file_reader_side): Maximum value for
+ fallback_splitsize.
+
+2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
+ Klocwork bug 532
+ * recover-src/display_commands.c: Check for cmd != NULL.
+ * oldrecover-src/display_commands.c: Ditto
+
+2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
+ Klocwork bug 410
+ * restore-src/restore.c (restore): Check for tmp_filename.
+
+2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
+ Klocwork bug 234
+ * server-src/driver.c: Check for h and activehd >= 0.
+
+2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
+ Klocwork bug 338 and 390
+ * server-src/reporter.c (handle_partial, handle_strange): Check result
+ of handle_success.
+
+2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
+ Klocwork bug 558
+ * client-src/selfcheck.c (check_options, check_disk): Check for
+ calcprog == NULL
+
+2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
+ Klocwork bug 521
+ * client-src/clientconf.c (add_client_conf): Check result of realloc.
+
+2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
+ Klocwork bug 447 and 449
+ * restore-src/restore.c: Check for valid sendbackup request.
+
+2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
+ Klocwork bug 407
+ * restore-src/restore.c (restore): Set statinfo.st_size.
+
+2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
+ Klocwork bug 189
+ * common-src/file.c (sanitise_filename): Never return NULL.
+
+2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ Klocwork bug 236
+ * server-src/driver.c (handle_dumper_result): Check for
+ dumper->ev_read != NULL.
+
+2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
+ Klocwork bug 553
+ * restore-src/restore.c (search_a_tape): Check for desired_tape == NULL.
+
+2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
+ 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 <martineau@zmanda.com>
+ 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 <martineau@zmanda.com>
+ Klocwork bug 84
+ * server-src/amflush.c (main): Check return of lookup_disk.
+
+2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
+ 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 <martineau@zmanda.com>
+ 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 <martineau@zmanda.com>
+ 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 <martineau@zmanda.com>
+ Klocwork bug 552
+ * restore-src/restore.c (load_manual_tape): Alloc space for cur_tapedev.
+
+2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
+ Klocwork bug 406
+ * restore-src/restore.c (restore): Check for final_filename.
+
+2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
+ Klocwork bug 318
+ * server-src/list_dir.c (add_dir_list_item): Check for cur_list->next.
+
+2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
+ 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 <martineau@zmanda.com>
+ 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 <martineau@zmanda.com>
+ Klocwork bug 470
+ * client-src/sendsize.c (add_diskest): Check for level value.
+
+2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
+ Klocwork bug 372
+ * server-src/reporter.c (nicedate): Check month value.
+
+2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
+ Klocwork bug 20
+ * server-src/amadmin.c (tape): Limit nb_days to 10000.
+
+2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
+ Klocwork bug 21
+ * server-src/amadmin.c (balance): Test 'later' after it is set.
+
+2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/alloc.c (internal_vstralloc): Don't return NULL.
+
+2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/infofile.c (open_txinfofile): Use local variable.
+
+2006-06-29 Jean-Louis Martineau <martineau@zmanda.com>
+ * restore-src/restore.c (label_of_current_slot): Close the tapefd if
+ the label mismatch.
+
+2006-06-29 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * common-src/security-util.c: Improve message for .amandahosts.
+
+2006-06-27 Ian Turner <ian@zmanda.com>
+ * common-src/fileheader.c: Fix a bug where spanned dumps would
+ always fail.
+
+2006-06-27 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amcheck.c: Fix test for holdingdisk negative size.
+
+2006-06-27 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ Patch by Paul Bijnens
+ * server-src/amcheck.c: Check for access(hdp->diskdir, X_OK).
+
+2006-06-27 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * recover-src/extract_list.c: check_file_overwite.
+
+2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * NEWS: Add new features.
+ * ReleasesNotes: New files.
+
+2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * server-src/amadmin.c: Allow 'p' and 'P' in --sort argument.
+
+2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * server-src/amindexd.c (uncompress_file): Set LC_ALL=C before
+ executing sort.
+
+2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <ktill@zmanda.com>
+ * 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 <ktill@zmanda.com>
+ * common-src/security-util.c: ignore EINTR in net_writev
+ patch by Jean-Louis Martineau.
+
+2006-06-20 John Franks <jrfranks@zmanda.com>
+ * 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 <jrfranks@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * docs/wishlist.txt: Remove features done in 2.5.0/2.5.1
+
+2006-06-19 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * server-src/amstatus.pl.in: Match quotes in DONE line.
+
+2006-06-16 Kevin Till <ktill@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * common-src/bsd-security.c (stream_read_callback): Send error to the
+ callback.
+
+2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
+ * recover-src/extract_list.c: Typo.
+ * restore-src/restore.c: Typo.
+
+2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * common-src/arglist.h: Typo.
+ * recover-src/extract_list.c: handle MESSAGE from amidxtaped.
+
+2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <ktill@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * server-src/amcheck.c: -w doesn't change the test selection.
+ * man/xml-source/amcheck.8.xml
+
+2006-06-15 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/planner.c: Log empty disklist and no DLE selected.
+
+2006-06-14 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * changer-src/chg-zd-mtx.sh.in: Accept changerfile that already
+ have the .conf suffix.
+
+2006-06-13 Jean-Louis Martineau <martineau@zmanda.com>
+ * amandad-src/amandad.c (s_ackwait): Resend the REP on receive of a
+ duplicate REQ.
+
+2006-06-13 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/security-util.c (bsd_recv_security_ok): Set error only
+ if we get an error.
+
+2006-06-12 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/driver.c: usetimestamps is a warning.
+
+2006-06-12 Kevin Till <ktill@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * recover-src/amrecover.c: Read amanda-client.conf and
+ <conf>/amanda-client.conf.
+
+2006-06-12 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * restore-src/restore.c: Fix Adding at end of list.
+
+2006-06-12 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/taper.c (syncpipe_putstr): Don't crash if str is NULL.
+
+2006-06-09 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/holding.c (pick_datestamp): Fix reading user input.
+
+2006-06-09 Jean-Louis Martineau <martineau@zmanda.com>
+ * recover-src/amrecover.c (sigint_handler): Call send_command only if
+ amindexd is alive.
+
+2006-06-09 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/util.c (connect_port): ETIMEDOUT is a fatal error.
+
+2006-06-09 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * server-src/amcheck.c: Report ERROR if gethostbyname("localhost")
+ doesn't succeed.
+
+2006-06-08 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <config>/amanda-client.conf
+
+2006-06-08 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/diskfile.c (parse_diskline): Only return 0 or -1.
+
+2006-06-08 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * common-src/util.c(connect_port): Return -2 on ECONNREFUSED error
+ from connect.
+
+2006-06-07 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * common-src/util.c(get_conftoken): Merge from zmanda.
+
+2006-06-07 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/util.c(get_conftoken): Remove a conftoken_ungetc.
+
+2006-06-07 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/bsd-security.c (stream_read_callback): Merge with zmanda.
+
+2006-06-07 Jean-Louis Martineau <martineau@zmanda.com>
+ * amandad-src/amandad.c(process_writenetfd): Call security_stream_read
+ only if size > 0.
+
+2006-06-07 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/conffile.c (lookup_interface): Fix merge error.
+
+2006-06-07 John Franks <jrfranks@zmanda.com>
+ * 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 <jrfranks@zmanda.com>
+ * 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 <jrfranks@zmanda.com>
+ * amandad-src/amandad.c common-src/bsd-security.c:
+ Correct fix for infinite amandad loop.
+
+2006-06-06 John Franks <jrfranks@zmanda.com>
+ * common-src/stream.c common-src/util.c:
+ Lint clean again.
+ * server-src/conffile.c:
+ Remove replicated line
+
+2006-06-06 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <jrfranks@zmanda.com>
+ * 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 <paddy@zmanda.com>
+ * common-src/util.c: Fix warning
+
+2006-06-05 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * server-src/reporter.c: Remove empty if.
+
+2006-06-02 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <ktill@zmanda.com>
+ * 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 <jfranks@zmanda.com>
+ 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * man/xml-source/amanda.8.xml: Documents service in .amandahosts.
+
+2006-05-29 Jean-Louis Martineau <martineau@zmanda.com>
+ 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 <martineau@zmanda.com>
+ * 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 <paddy@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * server-src/conffile.c (read_dumptype): Parse SSH_KEYS.
+
+2006-05-26 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * server-src/conffile.c: Set dpcur.no_hold correctly,
+ Fix for conffile program.
+
+2006-05-26 Jean-Louis Martineau <martineau@zmanda.com>
+ 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 <martineau@zmanda.com>
+ * common-src/security-util.c (bsd_prefix_packet): We need the username
+ of the getuid() user.
+
+2006-05-26 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * server-src/taperscan.c: Replace bogus newvstralloc by vstrextend.
+
+2006-05-25 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * common-src/security-util.c: typo.
+ * server-src/amcheck.c: Make sure all check are done.
+
+2006-05-25 Jean-Louis Martineau <martineau@zmanda.com>
+ Fix for program not compiled by default.
+ make bsdsecurity still not compile.
+ * common-src/bsd-security.c(bind_portrange): prototype change.
+ * common-src/Makefile.am (STANDARD_COMMON_STUFF_NOT_FILE): Add match.o.
+ * server-src/conffile.c: Many typo.
+ * tape-src/tapeio.c: Use OFF_T_FMT and SSIZE_T_FMT when needed, typo.
+
+2006-05-25 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * configure.in(AM_INIT_AUTOMAKE): Fix.
+
+2006-05-25 John Franks <jrfranks@zmanda.com>
+ 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 <jrfranks@zmanda.com>
+ Add support for binary path names on disk and in configuration files.
+ (Allow spaces in filenames.)
+
+ Allow quoted strings for disklist entries.
+
+ Lint clean code using sun lint, splint and strict GCC warnings.
+ Type / size clean, dead code removal, portibility checks, etc.
+ Many checks are still turned off. See configure.in for lint flags used.
+
+ Increase debug output in /tmp/amanda/*debug files.
+
+ Set SO_REUSEADDR on sockets help avoid running out of ports.
+
+ * configure.in:
+ Added lint program discovery with specific targets for SUN lint and splint.
+ Check each compiler option to see if GCC supports it.
+ Enable more code quality warnings.
+ Change missing xsltproc to warning rather than error.
+ Define _GNU_SOURCES to build flags.
+ Make size_t and time_t printf format macros.
+ Check for isnormal() availability.
+ Don't install man pages if they are not built.
+ Fix man pages to not attempt build or install if
+ --without-built-manpages is set.
+
+ * Makefile.am amandad-src/Makefile.am changer-src/Makefile.am
+ client-src/Makefile.am common-src/Makefile.am
+ oldrecover-src/Makefile.am recover-src/Makefile.am
+ restore-src/Makefile.am server-src/Makefile.am tape-src/Makefile.am:
+ Add lint target.
+
+ * common-src/amanda.h common-src/dgram.c common-src/stream.c
+ common-src/util.c:
+ Keep checking for ports on all bind errors.
+ Delay and retry a few times if all ports are busy.
+ Retry bind failures after all methods fail.
+ increase bind checking timeout to 30 minutes.
+
+ * client-src/amandad.c
+ Issue wait when any child exits. (Get rid of defunct processes)
+ Stat() index file before using system command.
+ (shell is not reporting failure if index is not present)
+
+ * recover-src/extract_list.c:
+ Fix problem of 'add *' not adding directories.
+ Fix problem of freeing pointer not obtained through malloc.
+ Touch up file addition to actually use the file names
+ retrieved when adding a directory and not the directory itself.
+
+ * server-src/taper.c
+ Strenghten error recovery for broken syncpipes and writer errors.
+
+ * changer-src/chg-scsi-chio.c client-src/amandates.c
+ client-src/client_util.c client-src/findpass.c client-src/getfsent.c
+ client-src/selfcheck.c client-src/sendbackup-gnutar.c
+ client-src/sendbackup-star.c client-src/sendbackup.c
+ client-src/sendsize.c common-src/bsd-security.c common-src/file.c
+ common-src/krb5-security.c server-src/amcheck.c server-src/amindexd.c
+ server-src/diskfile.c server-src/driver.c server-src/dumper.c
+ server-src/holding.c server-src/infofile.c server-src/logfile.c
+ server-src/tapefile.c:
+ allow empty lines in input streams.
+
+ * recover-src/uparse.y
+ print message when input is garbage.
+
+ * server-src/getconf.c:
+ Define HOSTNAME_INSTANCE if it was not already defined
+ for Kerberos.
+
+ * configure.in: Make readline warning less specific. Readline is
+ used by all input from terminal now.
+
+2006-05-24 Kevin Till <ktill@@zmanda.com>
+ * 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 <ian@zmanda.com>
+ * configure.in: Properly document --without-xsltproc as itself,
+ and not the (nonexistant) option --without-built-manpages.
+
+2006-05-16 John Franks <jrfranks@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * server-src/amadmin.c (disklist_one): print spindle.
+
+2006-05-12 Jean-Louis Martineau <martineau@zmanda.com>
+ * commmon-src/bsd-security.c: Typo.
+
+2006-05-12 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/Makefile.am (noinst_HEADERS): Add security-util.h.
+
+2006-05-12 Jean-Louis Martineau <martineau@zmanda.com>
+ 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 <martineau@zmanda.com>
+ * restore-src/restore.c: Fix use of possibly NULL input.
+
+2006-05-12 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ Patch by <amanda@inventivetechnology.at>
+ * man/xml-source/amrecover.8.xml: Document listhost command.
+
+2006-05-08 Jean-Louis Martineau <martineau@zmanda.com>
+ Patch by <amanda@inventivetechnology.at>
+ * 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 <ian@zmanda.com>
+ * server-src/amcheck.c: Make it an error when the expected new
+ tape cannot be found. Thanks to Paul Bijnens
+ <paul.bijnens@xplanation.com> for the patch and to Jason L
+ Tibbitts III <tibbs@math.uh.edu> for noticing this problem.
+
+2006-05-08 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * amandad-src/amandad.c: Fixup.
+
+2006-05-08 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * amandad-src/amandad.c (service_new): Apply the correct patch.
+
+2006-05-08 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * common-src/tapelist.c (append_to_tapelist): Remove bad amfree.
+
+2006-05-05 Nikhil Bandiwadekar <nikhil@zmanda.com>
+ * server-src/conffile.c: fix to correctly handle am64 datatype
+
+2006-05-04 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * amstatus.pl.in: Limit characters for hostname in setup_estimate line.
+
+2006-04-27 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/rsh-security.c: Pass "amdump amindexd amidxtaped" option
+ to amandad.
+ * common-src/ssh-security.c: Ditto.
+
+2006-04-27 Jean-Louis Martineau <martineau@zmanda.com>
+ * amandad-src/amandad.c: Accept a list of services on the command line.
+
+2006-04-27 Jean-Louis Martineau <martineau@zmanda.com>
+ * common-src/tapelist.c (append_to_tapelist): Fix memory leak.
+
+2006-04-27 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * server-src/amcheck.c (start_server_check): Memory leak.
+
+2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
+ * amandad-src/Makefile.am (noinst_HEADERS): Add amandad.h.
+ * client-src/Makefile.am (noinst_HEADERS): Add clientconf.h.
+
+2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
+ * man/xml-source/amanda-client.conf.5.xml: New file.
+
+2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * docs/security-api.txt: Document security_read_sync.
+ * common-src/security.h: Typo.
+
+2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
+ * client-src/amandad.c (service_new): Pass the "amandad" argument to
+ the service.
+
+2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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<kkg@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * server-src/planner.c: Fix divide by zero if runtapes==0.
+
+2006-04-24 K. K. George<kkg@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * server-src/driver.c (handle_chunker_result): make sure that
+ est_size > act-size.
+
+2006-04-21 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/changer.c (changer_command): Make sure fd[0] != 1.
+
+2006-04-19 Jean-Louis Martineau <martineau@zmanda.com>
+ * restore-src/amidxtaped.c: Cleanup.
+
+2006-04-19 Ian Turner <ian@zmanda.com>
+ * 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 <ian@zmanda.com>
+ * 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 <ian@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * client-src/amandad.c: Use %p to printf pointer.
+
+2006-04-14 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amtape.c: Add update command.
+
+2006-04-11 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * man/xml-source/amanda.conf.5.xml: Document amandad_path and
+ client_username dumptype option.
+
+2006-04-11 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <ian@zmanda.com>
+ * server-src/changer.c: Don't crash if we go to taperscan "Plan
+ B".
+
+2006-04-07 Ian Turner <ian@zmanda.com>
+ * server-src/changer.c: Only print changer debug messages if
+ there was a problem.
+
+2006-04-07 Ian Turner <ian@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * common-src/Makefile.am: Fix dependency between genversion and
+ versuff.o.
+
+2006-04-07 Jean-Louis Martineau <martineau@zmanda.com>
+ * recover-src/amrecover.c: Change initialization of server_name and
+ tape_server_name.
+
+2006-04-07 Jean-Louis Martineau <martineau@zmanda.com>
+ * restore-src/amrestore.c: reset count_error to 0 on a restore.
+
+2006-04-06 Kevin Till <ktill@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * server-src/taperscan.c (changer_taper_scan): Pass a pointer to the
+ changer_loadslot call.
+
+2006-04-06 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/tapefile.c (lookup_last_reusable_tape): Fix a datestamp
+ test with an int.
+
+2006-04-06 Ian Turner <vectro@vectro.org>
+ * 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 <malc@hoodee.co.uk> for the idea and patch.
+
+2006-04-06 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/reporter.c (handle_chunk): CHUNK line always have the
+ datestamp.
+
+2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/krb5-security.c: Fix for krb5_connect call in
+ open_callback.
+
+2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * common-src/tapelist.c(unmarshal_tapelist_str): Fix
+ "value computed is not used" compiler warning.
+
+2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * server-src/amstatus.pl.in: Remove duplicate instruction.
+
+2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.1b1).
+
+2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/driver.c: Change expression to remove overflow.
+
+2006-03-29 Jean-Louis Martineau <martineau@zmanda.com>
+ * client-src/calcsize.c: Don't use declaration after instruction,
+ older compiler don't accept it.
+
+2006-03-23 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * server-src/dumper.c: wait for compress/index/encryp subprocess.
+
+2006-03-22 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/amstatus.pl.in: Parse PARTIAL reply.
+
+2006-03-22 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/driver.c: Put '#define HOLD_DEBUG' in comment.
+
+2006-03-21 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <ian@zmanda.com>
+ * 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 <ktill@zmanda.com>
+ * server-src/amverify.sh.in: check for EOI. amrestore only
+ reports EOI for some tapetypes.
+
+2006-03-15 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/conffile.c: Fix heritage of auth.
+
+2006-03-14 Kevin Till <ktill@@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * server-src/driverio.c : Fix errors found using Coverity tools.
+
+2006-03-10 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/taperscan.c: Fix Coverity fix.
+
+2006-03-10 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * restore-src/restore.c: Fix errors found using Coverity tools.
+
+2006-03-09 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/holding.c: Fix errors found using Coverity tools.
+
+2006-03-09 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <jrfranks@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <paddy@zmanda.com>
+ * man/xml-source/amanda.8.xml: added amaespipe and amcrypt.
+
+2006-03-07 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/taper.c: Don't log a multi-line message in no-tape case.
+
+2006-03-06 John Franks <jrfranks@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * server-src/reporter.c (handle_error): Handle error from taper.
+
+2006-03-06 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/taper.c (label_tape): Set errstr and return 0 if no
+ valid tape are available.
+
+2006-03-03 Ian Turner <ian@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * common-src/protocol.c (s_repwait): Decrease p->timeout on receive
+ of a PREP.
+
+2006-02-28 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/driver.c: Print dumper TRY_AGAIN message.
+
+2006-02-28 Jean-Louis Martineau <martineau@zmanda.com>
+ * server-src/planner.c: Don't print estimate size if estimate failed.
+
+2006-02-25 Ian Turner <ian@zmanda.com>
+ * man/Makefile.am: Don't use static patterns (as they are not
+ portable), use implicit rules instead.
+
+2006-02-20 Kevin Till <ktill@zmanda.com>
+ * 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 <ktill@zmanda.com>
+ * 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 <ktill@zmanda.com>
+ * man/xml-source/amanda.8.xml: replace informaltable with literallayout
+
+2006-02-13 John Franks <jrfranks@zmanda.com>
+ * 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 <ktill@zmanda.com>
+ * man/xml-source/amanda.conf.5.xml: add note about first character of a
+ tapetype string must be alphabet
+
+2006-02-10 John Franks <jrfranks@zmanda.com>
+ * server-src/taper.c: Call error() if an invalid string is read
+ by syncpipe_getstr().
+
+2006-02-09 John Franks <jrfranks@zmanda.com>
+ * 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 <ian@zmanda.com>
+ * 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 <ktill@zmanda.com>
+ * restore-src/restore.c: fix comment formatting on version 1.2.1
+
+2006-02-06 Kevin Till <ktill@zmanda.com>
+ * 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 <ian@zmanda.com>
+ * restore-src/amidxtaped.c: Properly handle changers,
+ tape-label checking, and tape prompting in amrecover,
+ amindexd, and amidextaped. Thanks to Paul Bijnens
+ <pbijnens@users.sourceforge.net> for the patch.
+ * restore-src/restore.c: ditto.
+ * server-src/amindexd.c: ditto.
+
+2006-02-04 Paddy Sreenivasan <paddy@zmanda.com>
+ * 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 <jrfranks@zmanda.com>
+ * server-src/taper.c: Fix null string printout in CHUNKERSUCCESS log line.
+
+2006-02-03 Ian Turner <ian@zmanda.com>
+ * server-src/amadmin.c (main): Don't free conf_tapelist too
+ early. Thanks to Cédric Lucantis
+ <cedric-lucantis@users.sourceforge.net> for the patch.
+
+2006-02-02 Kevin Till <ktill@zmanda.com>
+ * man/xml-source/amanda.8.xml: fix formatting. <informaltable> problem
+ to be fixed.
+ * man/xml-source/amrecover.8.xml: add note on client-encrypted tapes.
+
+2006-02-02 Ian Turner <ian@zmanda.com>
+ * 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 <pbijnens@users.sourceforge.net> for
+ the patch. Thanks also to Mark Schaefer for suggesting this
+ change.
+
+2006-02-01 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * server-src/driver.c (dumper_result): Reset sched(dp)->attempted to 0
+ before adding it to tapeq.
+
+2006-01-27 Ian Turner <ian@zmanda.com>
+ * 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
+ <pbijnens@users.sourceforge.net> for suggesting this feature.
+
+2006-01-27 Ian Turner <ian@zmanda.com>
+ * 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 <pbijnens@users.sourceforge.net> for the
+ patch.
+
+2006-01-25 Paddy Sreenivasan <paddy@zmanda.com>
+ * common-src/amanda.h: Removed unnecessary header include files.
+
+2006-01-25 Kevin Till<ktill@zmanda.com>
+ * 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<ktill@zmanda.com>
+ * man/xml-source/amanda.conf.5.xml: fix formatting (<para> is not compatible
+ with some tag) add supported auth types.
+
+2006-01-25 Kevin Till<ktill@zmanda.com>
+ * 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 <ian@zmanda.com>
+ * man/xml-source/amanda.conf.5.xml: Put documentation of
+ split-dump options in the right place. Thanks to Paul Bijnens
+ <pbijnens@users.sourceforge.net> for the fix.
+ * man/xml-source/amanda.8.xml: ditto.
+
+2006-01-23 Ian Turner <ian@zmanda.com>
+ * server-src/taperscan.c (find_brand_new_tape_label): Start
+ brand new tape labels at 1 instead of 0. Thanks to Paul
+ Bijnens <pbijnens@users.sourceforge.net> for the fix.
+
+2006-01-18 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * server-src/disk_history.c: Fix memory leak.
+
+2006-01-15 Jean-Louis Martineau <martineau@zmanda.com>
+ * 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 <jrfranks@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <jrfranks@zmanda.com>
+ * 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 <ian@zmanda.com>
+ * 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 <ian@zmanda.com>
+ * server-src/taperscan.c: When doing taper-scan algorithm, properly
+ accept new tapes.
+
+2006-01-09 Ian Turner <ian@zmanda.com>
+ * tape-src/tapeio.c: Generate a more reasonable message when
+ reading an empty tape label on brand-new tapes.
+
+2006-01-09 Ian Turner <ian@zmanda.com>
+ * server-src/amcheck.c: Actually do what the documentation for
+ amcheck -w says; that is, overwrite labels on tapes.
+
+2006-01-06 Kevin Till<ktill@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * recover-src/extract-list.c: Remove 'U' argument for gtar extraction.
+
+2006-01-06 Jean-Louis Martineau <martineau@zmanda.com>
+ * restore-src/restore.c (flush_open_outputs): Another shutdown is
+ required.
+
+2006-01-05 John Franks <jrfranks@zmanda.com>
+ * 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 <jrfranks@zmanda.com>
+ * 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<ktill@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ * restore-src/restore.c (flush_open_outputs): Call shutdown before
+ close.
+
+2005-12-30 John Franks <jrfranks@zmanda.com>
+ * 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 <ian@zmanda.com>
+ * common-src/fileheader.c: Remove xx/UNKNOWN split-dump header
+ syntax, in favor of xx/-1.
+
+2005-12-29 John Franks <jrfranks@zmanda.com>
+ * 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<ktill@zmanda.com>
+ * 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 <ian@zmanda.com>
+ * man/xml-source/amanda.conf.5.xml: Document label_new_tapes
+ config option.
+
+2005-12-28 Ian Turner <ian@zmanda.com>
+ * 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 <ian@zmanda.com>
+ * 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 <ian@zmanda.com>
+ * 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 <ktill@zmanda.com>
+ * 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 <paddy@zmanda.com>
+ * restore-src/restore.c:
+ * server-src/amtape.c:
+ * server-src/taperscan.c : Make scan_init static function
+
+2005-12-23 John Franks <jrfranks@zmanda.com>
+ * server-src/taper.c: Reduce I/O's system call overhead by 30%
+ in main read / write loop.
+
+2005-12-23 John Franks <jrfranks@zmanda.com>
+ * 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 <martineau@zmanda.com>
+
+ * restore-src/restore.c (restore): Remova an aclose.
+
+2005-12-22 Jean-Louis Martineau <martineau@zmanda.com>
+
+ * restore-src/amidxtaped.c (cleanup): Function registered with atexit
+ to remove the log file.
+
+2005-12-20 Jean-Louis Martineau <martineau@zmanda.com>
+
+ * server-src/Makefile.am (noinst_HEADERS): Add taperscan.h.
+
+2005-12-20 John Franks <jrfranks@zmanda.com>
+
+ * 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 <martineau@zmanda.com>
+
+ * 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 <martineau@zmanda.com>
+
+ * server-src/reporter.c: Fix report of output size.
+
+2005-12-19 Ian Turner <ian@zmanda.com>
+ * server-src/taperscan.c: Check that automatic tape labels satisfy
+ the labelstr.
+
+2005-12-19 Ian Turner <ian@zmanda.com>
+ * server-src/fileheader.c: Fix broken split-dump file headers.
+
+2005-12-18 Jean-Louis Martineau <martineau@zmanda.com>
+ Patch by Paul Bijnens
+
+ * server-src/amcheck.c: Tapelist file is regular file.
+
+2005-12-17 Jean-Louis Martineau <martineau@zmanda.com>
+
+ * 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 <jrfranks@zmanda.com>
+
+ * 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 <martineau@zmanda.com>
+ With Kevin Till <ktill@zmanda.com>
+
+ * 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 <ian@zmanda.com>
+
+ * 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 <martineau@zmanda.com>
+
+ * 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 <martineau@zmanda.com>
+
+ * server-src/amstatus.pl.in: Parse chunker DONE line to set output size.
+
+2005-12-09 John Franks <jrfranks@zmanda.com>
+
+ * 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 <martineau@zmanda.com>
+
+ * 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 <martineau@zmanda.com>
+
+ * 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 <martineau@zmanda.com>
+
+ * configure.in: Set LL_FMT correctly.
+ * server-src/conffile.c: Use LL_FMT.
+
+2005-12-08 Jean-Louis Martineau <martineau@zmanda.com>
+
+ * server-src/conffile.c: Maxdumpsize is a AM64.
+ * server-src/planner.c: conf_maxdumpsize, total_size, tape_length and
+ tape_mark are am64_t.
+
+2005-12-08 Jean-Louis Martineau <martineau@zmanda.com>
+
+ * configure.in: Check for sizeof of many type. Check printf format of
+ a 64-bit integers.
+ * common-src/amanda.h: Typedef am64_t to a 64 bits signed type,i
+ set AM64_FMT to the printf format of a am64_t variable.
+ * server-src/conffile.c: New AM64 type.
+ * server-src/conffile.h(getconf_am64): Prototype.
+
+2005-12-08 Jean-Louis Martineau <martineau@zmanda.com>
+
+ * client-src/Makefile.am: Remove amqde.
+ * client-src/sendsize.c: Remove code to call amqde.
+ * client-src/amqde.c: Remove file.
+ * configure.in: Remove '--with-qde' option.
+
+2005-12-05 Jean-Louis Martineau <martineau@zmanda.com>
+
+ * server-src/amindexd.c (reply, lreply, fast_lreply): Must use
+ str_buffer_sizebuf instead of sizeof(bug).
+
+2005-12-05 Jean-Louis Martineau <martineau@zmanda.com>
+
+ * 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 <martineau@zmanda.com>
+
+ * common-src/Makefile.am (bsdsecurity_LDADD): Add ssh-security.
+
+2005-12-05 Jean-Louis Martineau <martineau@zmanda.com>
+
+ * 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 <martineau@zmanda.com>
+
+ * server-src/logfile.c (logtype_str): Add important ','.
+
+2005-12-03 Jean-Louis Martineau <martineau@zmanda.com>
+
+ * server-src/planner.c (setup_estimate): Fix wrong order for argument.
+
+2005-12-03 Jean-Louis Martineau <martineau@zmanda.com>
+
+ * server-src/driver.c (start_some_dumps): Don't test for
+ cur_idle == NOT_IDLE.
+
+2005-12-03 Jean-Louis Martineau <martineau@zmanda.com>
+
+ * 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 <martineau@zmanda.com>
+ Patch by Franz Fischer
+
+ * config/acinclude.m4i: Fix for __alpha.
+
+2005-12-02 Jean-Louis Martineau <martineau@zmanda.com>
+
+ * common-src/util.c: Debug must end with '\n'.
+
+2005-12-01 Jean-Louis Martineau <martineau@zmanda.com>
+
+ * configure.in: Amanda support x86_64-unknown-linux-gnu.
+
+2005-11-30 Jean-Louis Martineau <martineau@zmanda.com>
+
+ * 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 <martineau@zmanda.com>
+
+ * client-src/rundump.c: undef USE_RUNDUMP before define.
+
+2005-11-30 Jean-Louis Martineau <martineau@zmanda.com>
+ Patch by Franz Fischer
+
+ * client-src/amqde.c: Fix compiler warning.
+
+2005-11-30 Jean-Louis Martineau <martineau@zmanda.com>
+ Patch by Franz Fischer
+
+ * common-src/event.h: Fix compiler warning.
+ * server-src/conffile.h: Fix compiler warning.
+
+2005-11-30 Kevin Till <ktill@zmanda.com>
+
+ * 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 <martineau@zmanda.com>
+
+ * config/libtool.m4i: libtool 1.5.20
+ * config/ltmain.sh: libtool 1.5.20
+
+2005-11-29 Jean-Louis Martineau <martineau@zmanda.com>
+ 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 <paddy@zmanda.com>
+ * 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 <martineau@zmanda.com>
+ Patch by Jon H. LaBadie
+
+ * changer-src/chg-disk.sh.in: Check permission on file access.
+
+2005-11-17 Paddy Sreenivasan <paddy@zmanda.com>
+ * 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 <jrfranks@zmanda.com>
+ * 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 <paddy@zmanda.com>
+
+ * 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 <martineau@iro.umontreal.ca>
+
+ * server-src/planner.c: Fix incronly.
+
+2005-11-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
+
+ * man/Makefile.am: Set man_MANS,
+
+2005-11-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
+
+ * man/Makefile.am: Set man5_MANS and man8_MANS,
+ install-data-hook use them.
+
+2005-11-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
+ Patch by Olivier Cherrier
+
+ * man/Makefile.am (install-data-hook): Set protection correclty
+ for man5 and man8.
+
+2005-10-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
+
+ * common-src/util.c (bind_portrange): Increase port in all case.
+
+2005-10-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
+
+ * 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.
+
+